
/*/* ==========================================================================
   PALETTE A: "WARM SAGE & ESPRESSO" + TYPOGRAPHY VARIABLES
   ========================================================================== */
:root {
    /* Palette A Colors */
    --bg-cream: #FAF8F5; /* Primary warm alabaster background */
    --bg-oat: #F2ECE4; /* Secondary soft oat section background */
    --bg-card: #FFFFFF; /* Crisp card surface */

    --text-espresso: #231F1E; /* Primary deep roast charcoal */
    --text-muted: #5C5552; /* Warm body slate/brown */
    --text-light: #F7F4EF; /* Light text on dark backgrounds */

    --accent-sage: #4A6B5D; /* Primary Heritage Sage (Buttons, Top Bar) */
    --accent-sage-dark: #385448; /* Hover state for Sage */
    --accent-sage-tint: #E6EFEA; /* Subtle sage badge/pill background */

    --accent-terra: #C86D51; /* Secondary Warm Terracotta / Cinnamon */
    --accent-terra-dark: #B0583D;
    --border-warm: #E2D9CE; /* Hairline warm border */
    /* Default Font Pairing 1: "The Elevated Thistle" */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: var(--font-body); /* Fixes sections calling --font-sans */
    /* Layout & Transitions */
    --container-max: 1220px;
    --transition-smooth: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alternate Font Pairing 2: "Artisanal Bakery" (Toggled via JS) */
body.font-artisanal {
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: var(--font-body);
}

/* ==========================================================================
   BASE RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-espresso);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

    /* Override Bootstrap's default blue links */
    body a {
        color: inherit;
        text-decoration: none;
        transition: var(--transition-smooth);
    }

        body a:hover {
            text-decoration: none;
        }

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-sage);
    color: #FFFFFF;
}

    .btn-primary:hover {
        background-color: var(--accent-sage-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(74, 107, 93, 0.22);
    }

.btn-outline {
    background-color: transparent;
    color: var(--text-espresso);
    border-color: var(--accent-sage);
}

    .btn-outline:hover {
        background-color: var(--accent-sage);
        color: #FFFFFF;
    }

.btn-terracotta {
    background-color: var(--accent-terra);
    color: #FFFFFF;
}

    .btn-terracotta:hover {
        background-color: var(--accent-terra-dark);
        transform: translateY(-1px);
    }

.btn-full {
    width: 100%;
}

/* ==========================================================================
   1. TOP UTILITY BAR (Thistle Farms Inspiration)
   ========================================================================== */
.utility-bar {
    background-color: var(--accent-sage);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 0;
    position: relative;
    z-index: 1001;
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.utility-divider {
    margin: 0 10px;
    opacity: 0.4;
}

.utility-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.utility-link.highlight {
    font-weight: 700;
    color: #FFE5D9;
}

/* ==========================================================================
   2. MAIN NAVBAR (Stacked Classic at Top -> Sleek Single-Line Sticky)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-warm);
    transition: var(--transition-smooth);
    padding: 22px 0 18px;
}

/* Default Top State: Stacked Centered Like Thistle Farms */
.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: var(--transition-smooth);
}

/* Brand Logo Styling */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-badge {
    border: 1.5px solid var(--text-espresso);
    border-radius: 50% / 18%;
    padding: 4px 22px 6px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    transition: var(--transition-smooth);
}

.logo-the {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-sage);
    margin-bottom: 1px;
}

.logo-paddock {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-espresso);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--text-muted);
    margin-top: 7px;
    transition: var(--transition-smooth);
}

/* Navigation Links */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    width: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-espresso);
    padding: 6px 0;
    position: relative;
}

    /* Sleek Center-Out Hover Underline */
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--accent-terra);
        transition: var(--transition-smooth);
        transform: translateX(-50%);
    }

    .nav-link:hover {
        color: var(--accent-sage);
    }

        .nav-link:hover::after {
            width: 100%;
        }

.nav-cta .btn {
    padding: 9px 20px;
    font-size: 0.74rem;
}

/* ==========================================================================
   SCROLLED STATE (Compresses into Sleek Single-Line Bar)
   ========================================================================== */
.site-header.is-scrolled {
    padding: 10px 0;
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(35, 31, 30, 0.06);
}

    .site-header.is-scrolled .header-inner {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }

    .site-header.is-scrolled .logo-sub {
        display: none; /* Tucks away sub-tagline on scroll for ultra-clean bar */
    }

    .site-header.is-scrolled .logo-badge {
        padding: 3px 16px 5px;
        border-color: var(--accent-sage);
    }

    .site-header.is-scrolled .logo-paddock {
        font-size: 1.5rem;
    }

    .site-header.is-scrolled .main-nav {
        width: auto;
        gap: 28px;
    }

/* ==========================================================================
   MOBILE HAMBURGER & SLIDE-OUT DRAWER
   ========================================================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

    .hamburger .bar {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px auto;
        background-color: var(--text-espresso);
        transition: var(--transition-smooth);
    }

    .hamburger.is-active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background-color: var(--bg-cream);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(35, 31, 30, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 88px 32px 36px;
}

    .mobile-drawer.is-open {
        right: 0;
    }

.drawer-eyebrow {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--accent-sage);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-warm);
    padding-bottom: 12px;
}

.mobile-nav-list li {
    margin-bottom: 16px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-espresso);
    display: block;
}

    .mobile-link:hover {
        color: var(--accent-terra);
        padding-left: 6px;
    }

.drawer-cta {
    margin: 28px 0;
}

.drawer-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-warm);
    padding-top: 20px;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(35, 31, 30, 0.45);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .drawer-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }



/* ==========================================================================
   5. SLEEK 4-COLUMN FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--text-espresso);
    color: var(--text-light);
    padding: 76px 0 32px;
    border-top: 4px solid var(--accent-sage);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1.25fr;
    gap: 44px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(242, 236, 228, 0.12);
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 18px;
}

    .footer-logo .logo-the {
        color: var(--accent-terra);
    }

    .footer-logo .logo-paddock {
        color: #FFFFFF;
        font-size: 2rem;
        line-height: 1;
    }

    .footer-logo .logo-sub {
        color: rgba(247, 244, 239, 0.6);
        margin-top: 6px;
    }

.footer-mission {
    font-size: 0.9rem;
    color: rgba(247, 244, 239, 0.78);
    margin-bottom: 22px;
    line-height: 1.65;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(247, 244, 239, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

    .social-icon:hover {
        background-color: var(--accent-sage);
        border-color: var(--accent-sage);
        transform: translateY(-2px);
    }

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-terra);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    font-size: 0.92rem;
    color: rgba(247, 244, 239, 0.82);
}

    .footer-links a:hover {
        color: #FFFFFF;
        padding-left: 5px;
    }

    .footer-links a.accent-link {
        color: #A8C7B8;
        font-weight: 600;
    }

.footer-address {
    font-style: normal;
    font-size: 0.92rem;
    color: rgba(247, 244, 239, 0.85);
    margin-bottom: 18px;
    line-height: 1.5;
}

.footer-hours {
    font-size: 0.86rem;
    border-top: 1px solid rgba(247, 244, 239, 0.12);
    padding-top: 14px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: rgba(247, 244, 239, 0.82);
}

    .hours-row.closed {
        color: rgba(247, 244, 239, 0.45);
    }

/* Footer Column 4 Card */
.footer-cta-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(247, 244, 239, 0.14);
    padding: 26px 24px;
    border-radius: 4px;
}

.box-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #A8C7B8;
    display: block;
    margin-bottom: 6px;
}

.footer-cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.footer-cta-box p {
    font-size: 0.86rem;
    color: rgba(247, 244, 239, 0.75);
    margin-bottom: 18px;
    line-height: 1.55;
}

/* Bottom Bar & Hidden/Discreet Admin Link */
.footer-bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: rgba(247, 244, 239, 0.5);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-bottom-links a:hover {
        color: rgba(247, 244, 239, 0.9);
    }

.admin-discreet-link {
    opacity: 0.45;
    font-size: 0.75rem;
}

    .admin-discreet-link:hover {
        opacity: 1;
    }

/* ==========================================================================
   6. FLOATING FONT SWITCHER (For Live CodePen Comparison)
   ========================================================================== */
.proto-switcher {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9999;
    background: #231F1E;
    color: #FAF8F5;
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.proto-btn {
    background: rgba(255,255,255,0.1);
    color: #FAF8F5;
    border: none;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .proto-btn.active {
        background: var(--accent-sage);
        color: #FFFFFF;
    }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 960px) {
    .utility-inner {
        justify-content: center;
        text-align: center;
    }

    .utility-right {
        display: none;
    }

    /* Mobile Header: Always Sleek Single Row (Logo Left + Hamburger Right) */
    .site-header {
        padding: 12px 0;
    }

    .header-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .logo-sub {
        display: none;
    }

    .logo-badge {
        padding: 3px 16px 5px;
    }

    .logo-paddock {
        font-size: 1.55rem;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-card {
        padding: 36px 24px;
        margin: 0 12px;
    }

    .story-split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        height: 340px;
    }

    .hero-card-container {
        margin-top: -100px;
    }
}

/* ==========================================================================
   UNIFORM EYEBROW SYSTEM (Dark/Light & Orangish Terracotta)
   ========================================================================== */

/* Regular Eyebrows (Orangish Terracotta for Light Backgrounds) */
.section-eyebrow,
.eyebrow,
.hero-card .eyebrow,
.filmstrip-eyebrow,
.news-date,
.drawer-eyebrow {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--accent-terra, #C86D51) !important;
    margin-bottom: 14px !important;
    display: inline-block !important;
}

/* Light / Gold Eyebrows (For Dark Backgrounds like Pillars, Venue, & Footer Box) */
.section-eyebrow-light,
.eyebrow-light,
.pillars-band-section .eyebrow-light,
.footer-cta-box .box-eyebrow,
.venue-dark-section .light-eyebrow {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif) !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #E2B897 !important; /* Warm gold/latte accent for legibility on dark backgrounds */
    margin-bottom: 12px !important;
    display: inline-block !important;
}
