/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Hero Pattern ── */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(245,240,232,0.3) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ── Section Label ── */
.section-label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #97B396;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #F5F0E8;
    color: #2C4A3E;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #F5F0E8;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(245,240,232,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: #F5F0E8;
    background: rgba(245,240,232,0.08);
}

/* ── Navbar ── */
.nav-link { cursor: pointer; }
#navbar.scrolled {
    background: rgba(12, 21, 15, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(245,240,232,0.06);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-400 { transition-delay: 0.4s; }

/* ── Hero Stagger ── */
.hero-tag    { animation: fadeUp 0.8s 0.2s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-title  { animation: fadeUp 0.8s 0.4s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-sub    { animation: fadeUp 0.8s 0.6s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-cta    { animation: fadeUp 0.8s 0.8s both cubic-bezier(0.16, 1, 0.3, 1); }

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

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}
.mobile-link {
    transition: opacity 0.2s ease;
}

/* ── Menu List Hover ── */
#menu ul li {
    transition: transform 0.2s ease;
}
#menu ul li:hover {
    transform: translateX(4px);
}

/* ── Form Focus ── */
input:focus, textarea:focus {
    outline: none;
}

/* ── Smooth Scroll Offset ── */
section[id] {
    scroll-margin-top: 80px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
