:root {
        --nav-h: 63px; 

        --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
        --font-brand:   'Cinzel', Georgia, serif;
        --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    }

    @media (min-width: 1024px) {
        :root { --nav-h: 72px; }
    }

    html {
        scroll-behavior: smooth;
    }

    html,
    body,
    section {
        overflow-x: clip;
    }

    h1, h2, h3, h4, p {
        overflow-wrap: anywhere;
    }
    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    body {
        font-family: var(--font-body);
        font-size: 1rem;
        line-height: 1.7;
        color: #44403c;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    h3, h4, a, button {
        font-family: var(--font-body);
    }
    .hero-title,
    .section-title {
        font-family: var(--font-display);
        font-weight: 600;
        letter-spacing: -.01em;
        line-height: 1.12;
        color: #1c1917;
    }

    .hero-title    { font-size: clamp(2.75rem, 6vw + .5rem, 4.75rem); }
    .section-title { font-size: 2.25rem; }

    @media (min-width: 640px) { .section-title { font-size: 2.75rem; } }
    @media (min-width: 768px) { .section-title { font-size: 3.5rem; } }
    @media (max-width: 480px) { .section-title { font-size: 2rem; } }

    /* Small uppercase labels */
    .section-eyebrow {
        display: block;
        margin-bottom: .75rem;
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: #a16207;
    }

    @media (max-width: 480px) {
        .section-eyebrow { font-size: .7rem; }
    }

    .section-desc {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #57534e;
    }

    @media (max-width: 480px) {
        .section-desc { font-size: .95rem; }
    }

    /* Numbers (stats, counters) */
    .counter {
        font-family: var(--font-body);
        font-variant-numeric: tabular-nums;
    }
    .gradient-text {
        background: linear-gradient(90deg, #a16207 0%, #ca8a04 40%, #facc15 50%, #ca8a04 60%, #a16207 100%) 0 0 / 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shimmer 4s linear infinite;
    }

    @keyframes shimmer {
        to { background-position: 200% center; }
    }
    @keyframes heroFadeUp {
        from { opacity: 0; transform: translateY(40px); }
        to   { opacity: 1; transform: none; }
    }

    @keyframes heroScale {
        from { opacity: 0; transform: scale(1.08); }
        to   { opacity: 1; transform: none; }
    }

    .hero-text-anim > * {
        opacity: 0;
        animation: heroFadeUp 1s cubic-bezier(.22, 1, .36, 1) forwards;
    }

    .hero-text-anim > :nth-child(1) { animation-delay: .15s; }
    .hero-text-anim > :nth-child(2) { animation-delay: .30s; }
    .hero-text-anim > :nth-child(3) { animation-delay: .45s; }
    .hero-text-anim > :nth-child(4) { animation-delay: .60s; }
    .hero-img-anim {
        animation: heroScale 1.4s cubic-bezier(.22, 1, .36, 1) .2s backwards;
    }

    @keyframes floatBadge {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(-10px); }
    }

    .float-badge {
        animation: floatBadge 5s ease-in-out infinite;
    }
    [data-reveal] {
        opacity: 0;
        will-change: opacity, transform;
        transition:
            opacity   .9s cubic-bezier(.22, 1, .36, 1),
            transform .9s cubic-bezier(.22, 1, .36, 1);
    }

    [data-reveal="up"]    { transform: translateY(60px); }
    [data-reveal="left"]  { transform: translateX(-70px); }
    [data-reveal="scale"] { transform: scale(.88); }

    [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }

    @media (max-width: 640px) {
        [data-reveal="left"],
        [data-reveal="up"] {
            transform: translateY(40px);
        }

        [data-reveal].is-visible {
            transform: none;
        }
    }

    [data-stagger] > * {
        opacity: 0;
        transform: translateY(40px);
        transition:
            opacity   .8s cubic-bezier(.22, 1, .36, 1),
            transform .8s cubic-bezier(.22, 1, .36, 1);
    }

    [data-stagger].is-visible > * {
        opacity: 1;
        transform: none;
    }

    [data-stagger].is-visible > :nth-child(1) { transition-delay: .05s; }
    [data-stagger].is-visible > :nth-child(2) { transition-delay: .15s; }
    [data-stagger].is-visible > :nth-child(3) { transition-delay: .25s; }
    [data-stagger].is-visible > :nth-child(4) { transition-delay: .35s; }
    [data-stagger].is-visible > :nth-child(5) { transition-delay: .45s; }
    [data-stagger].is-visible > :nth-child(6) { transition-delay: .55s; }

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: .01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: .01ms !important;
        }

        [data-reveal],
        [data-stagger] > *,
        .hero-text-anim > * {
            opacity: 1 !important;
            transform: none !important;
        }
    }
