/* ============================================================
   FOLI BIO — SHARED CSS
   Design tokens, nav, footer, and utility classes
   used across all 8 pages.
   ============================================================ */
:root {
    --cream: #FAF8F4;
    --cream-2: #F5F0E8;
    --cream-3: #EDE8DC;
    --parchment: #E8E0D0;
    --forest: #1B4332;
    --forest-2: #2D6A4F;
    --forest-3: #40916C;
    --forest-lt: #52B788;
    --forest-pale: #D8F3DC;
    --amber: #D97706;
    --amber-2: #F59E0B;
    --amber-lt: #FEF3C7;
    --terra: #B45309;
    --terra-lt: #FED7AA;
    --ink: #1A1A18;
    --ink2: #3D3D38;
    --ink3: #6B6B63;
    --ink4: #9B9B90;
    --r: 10px;
    --r-lg: 18px;
    --r-xl: 26px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   PREMIUM NAV — light background, larger, more premium
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 76px;
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.99);
    box-shadow: 0 1px 24px rgba(27, 67, 50, 0.07);
}

/* Dark nav variant (hero pages that start dark) */
.nav.nav-dark {
    background: rgba(26, 26, 24, 0.92);
    border-bottom-color: rgba(255,255,255,0.07);
}

.nav.nav-dark.scrolled {
    background: rgba(26, 26, 24, 0.99);
}

/* Logo */
.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 57px;
    width: auto;
}

.nav-logo-fallback {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest);
    letter-spacing: -0.02em;
}

.nav.nav-dark .nav-logo-fallback {
    color: #fff;
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.nav-links a {
    position: relative;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink3);
    padding: 0.56rem 1.08rem;
    border-radius: 14px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: var(--forest);
    background: var(--forest-pale);
}

.nav-links a.active {
    color: var(--forest);
    font-weight: 800;
    background: var(--forest-pale);
    border-radius: 14px;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--forest);
}

.nav.nav-dark .nav-links a {
    color: rgba(255,255,255,0.6);
}

.nav.nav-dark .nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav.nav-dark .nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.10);
}

.nav.nav-dark .nav-links a.active::after {
    background: var(--forest-lt);
}

/* CTA button */
.nav-cta {
    background: var(--forest) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0.52rem 1.35rem !important;
    border-radius: 100px !important;
    letter-spacing: 0 !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
    background: var(--forest-2) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.nav.nav-dark .nav-cta {
    background: var(--amber) !important;
}

.nav.nav-dark .nav-cta:hover {
    background: var(--terra) !important;
}

/* Hamburger — hidden by default */
.nav-burger {
    display: none !important;
}

/* Mobile drawer */
.nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(250,248,244,0.99);
    flex-direction: column;
    padding: 5.5rem 2rem 2.5rem;
    gap: 0.25rem;
}

.nav-drawer.open {
    display: flex;
}

.nav-drawer a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink2);
    padding: 0.85rem 1rem;
    border-radius: var(--r);
    transition: background 0.2s, color 0.2s;
}

.nav-drawer a:hover {
    background: var(--cream-2);
    color: var(--forest);
}

.nav-drawer a.active {
    color: var(--forest);
    font-weight: 800;
    background: var(--forest-pale);
}

.nav-drawer .drawer-cta {
    background: var(--forest);
    color: #fff !important;
    text-align: center;
    border-radius: 100px;
    margin-top: 0.75rem;
    padding: 0.9rem 1rem !important;
}

.nav-drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--ink3);
    font-size: 1.4rem;
    line-height: 1;
}

.nav-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 198;
    background: rgba(26,26,24,0.35);
    backdrop-filter: blur(4px);
}

.nav-drawer-overlay.open {
    display: block;
}

/* Mobile burger button */
.nav-mobile-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    gap: 5px;
}

.nav-mobile-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink2);
    border-radius: 2px;
    transition: all 0.25s;
}

.nav.nav-dark .nav-mobile-burger span {
    background: #fff;
}

/* ============================================================
   RESPONSIVE NAV BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
    .nav {
        padding: 0 1.75rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.48rem 0.75rem;
    }

    .nav-cta {
        padding: 0.5rem 1.1rem !important;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-burger {
        display: flex;
    }

    .nav {
        padding: 0 1.5rem;
    }
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.section-label .lbar {
    display: inline-block;
    width: 20px;
    height: 1.5px;
}

.section-h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.028em;
    margin-bottom: 1rem;
}

.section-copy {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink3);
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.btn-forest {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--forest);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2.1rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-forest:hover {
    background: var(--forest-2);
    transform: translateY(-2px);
}

.btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--amber);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2.1rem;
    border-radius: 100px;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-amber:hover {
    background: var(--terra);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--forest);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2.1rem;
    border-radius: 100px;
    border: 1.5px solid var(--forest);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--forest);
    color: #fff;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2.1rem;
    border-radius: 100px;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* ============================================================
   SHARED FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink);
    padding: 4.5rem 2.5rem 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
    max-width: 1380px;
    width: calc(100% - 5rem);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(300px, 1.25fr) repeat(3, minmax(150px, 0.9fr));
    gap: clamp(2rem, 4vw, 4.5rem);
    margin-bottom: 3.5rem;
    align-items: start;
}

.footer-brand {
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.52);
    padding: 0.28rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.32);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.65);
}

@media (max-width: 960px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 3.5rem 1.5rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
