/*
Theme Name:   Wildhorse Records Child
Theme URI:    https://wildhorserecords.example.com
Description:  Divi 5 child theme for Wildhorse Records. Faith. Family. Country. Purpose. Brand tokens, fonts, and homepage layout tuned for the Wildhorse identity.
Author:       Wildhorse Records
Author URI:   https://wildhorserecords.example.com
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  wildhorse-records
Tags:         child-theme, divi, music, artist-development
*/

/* ==========================================================================
   Wildhorse Records — Brand Tokens
   Edit these variables to retune the brand across the whole site.
   ========================================================================== */
:root {
    --wh-gold:            #B8935A;
    --wh-gold-deep:       #9A7845;
    --wh-gold-soft:       #D9BE93;
    --wh-charcoal:        #2A2A2A;
    --wh-charcoal-soft:   #3F3F3F;
    --wh-ink:             #1A1A1A;
    --wh-paper:           #FAF7F2;
    --wh-white:           #FFFFFF;
    --wh-rule:            rgba(42, 42, 42, 0.12);

    --wh-font-display:    "Roboto Slab", "Georgia", serif;
    --wh-font-body:       "Inter", "Helvetica Neue", Arial, sans-serif;

    --wh-container:       1200px;
    --wh-radius:          6px;
    --wh-shadow-card:     0 10px 30px rgba(26, 26, 26, 0.08);
}

/* Body + typography baseline ------------------------------------------------ */
body,
body.et_pb_pagebuilder_layout {
    font-family: var(--wh-font-body);
    color: var(--wh-charcoal-soft);
    background: var(--wh-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3,
.et_pb_module h4, .et_pb_module h5, .et_pb_module h6 {
    font-family: var(--wh-font-display);
    color: var(--wh-charcoal);
    font-weight: 900;
    letter-spacing: 0.01em;
}

a { color: var(--wh-gold-deep); }
a:hover { color: var(--wh-charcoal); }

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */
.wh-hero {
    position: relative;
    padding: 0;
    background: var(--wh-white);
    overflow: hidden;
}

.wh-hero__inner {
    max-width: var(--wh-container);
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.wh-hero__copy .wh-eyebrow {
    display: inline-block;
    color: var(--wh-gold);
    font-family: var(--wh-font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.wh-hero__copy h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.wh-hero__copy p.lede {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--wh-charcoal-soft);
    max-width: 42ch;
    margin: 0 0 1.75rem;
}

.wh-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 720px;
    margin-left: auto;
}

/* CTA button ---------------------------------------------------------------- */
.wh-btn,
.et_pb_button.wh-btn {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    background: var(--wh-gold);
    color: var(--wh-white) !important;
    font-family: var(--wh-font-body);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--wh-radius);
    border: 2px solid var(--wh-gold);
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.wh-btn:hover,
.et_pb_button.wh-btn:hover {
    background: transparent;
    color: var(--wh-gold-deep) !important;
    border-color: var(--wh-gold-deep);
}

/* ==========================================================================
   Mission strip — FAITH. FAMILY. COUNTRY. PURPOSE.
   ========================================================================== */
.wh-mission {
    background: var(--wh-paper);
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--wh-rule);
    border-bottom: 1px solid var(--wh-rule);
}

.wh-mission__inner {
    max-width: var(--wh-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.wh-mission__icon {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.wh-mission h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    text-transform: uppercase;
    margin: 0 0 0.35rem;
    line-height: 1.15;
}

.wh-mission p {
    margin: 0;
    color: var(--wh-charcoal-soft);
    font-size: 1.1rem;
}

/* ==========================================================================
   Services — three-column card row
   ========================================================================== */
.wh-services {
    padding: 4rem 1.5rem;
    background: var(--wh-white);
}

.wh-services__inner {
    max-width: var(--wh-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.wh-card {
    background: var(--wh-white);
    border: 1px solid var(--wh-rule);
    border-radius: var(--wh-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.wh-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wh-shadow-card);
    border-color: var(--wh-gold-soft);
}

.wh-card__icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    display: block;
}

.wh-card__icon img,
.wh-card__icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wh-card h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.wh-card p {
    color: var(--wh-charcoal-soft);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .wh-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wh-hero__image img { margin: 0 auto; }
    .wh-hero__copy p.lede { margin-left: auto; margin-right: auto; }

    .wh-services__inner { grid-template-columns: 1fr; }

    .wh-mission__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .wh-mission__icon { margin: 0 auto; }
}
