/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

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

/* ── Hero Gradient ───────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #111a0a 0%,
        #1a2e12 20%,
        #213315 40%,
        #2d4a1e 55%,
        #1a2e12 70%,
        #111a0a 100%
    );
}

/* ── Section Label ───────────────────────────────────── */
.section-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #74a14a;
    font-weight: 500;
}

/* ── Divider Line ────────────────────────────────────── */
.divider-line {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #c5dbb0 20%,
        #c5dbb0 80%,
        transparent
    );
}

/* ── Scroll Reveal (progressive enhancement) ─────────── */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-card {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal-card {
        opacity: 0;
        transform: translateY(40px);
    }
}

/* ── Hero Animations ─────────────────────────────────── */
.hero-subtitle {
    animation: fadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.hero-headline {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero-desc {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}

.hero-cta {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}

.hero-scroll-arrow {
    animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.3s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar ──────────────────────────────────────────── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(62, 97, 38, 0.08);
}

/* ── Mobile Menu ─────────────────────────────────────── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ── Subtle hover underlines on nav links ────────────── */
nav a:not(.hero-btn-primary):not(.hero-btn-secondary):not([class*="px-"]):not([class*="inline"]) {
    position: relative;
}

nav a:not(.hero-btn-primary):not(.hero-btn-secondary):not([class*="px-"]):not([class*="inline"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #74a14a;
    transition: width 0.3s ease;
}

nav a:not(.hero-btn-primary):not(.hero-btn-secondary):not([class*="px-"]):not([class*="inline"]):hover::after {
    width: 100%;
}

/* ── Card hover ──────────────────────────────────────── */
.reveal-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-card:hover {
    transform: translateY(-4px);
}
