*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* NAV */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* MOBILE MENU */
.mobile-link { transition: opacity 0.3s ease; }
.mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.menu-line.open-top { top: 50% !important; transform: translateY(-50%) rotate(45deg); }
.menu-line.open-bottom { top: 50% !important; transform: translateY(-50%) rotate(-45deg); }

/* HERO STATS */
.hero-stat {
    opacity: 0;
    transform: translateY(20px);
    animation: statIn 0.6s ease forwards;
}
.hero-stat:nth-child(1) { animation-delay: 0.3s; }
.hero-stat:nth-child(2) { animation-delay: 0.45s; }
.hero-stat:nth-child(3) { animation-delay: 0.6s; }
.hero-stat:nth-child(4) { animation-delay: 0.75s; }

@keyframes statIn {
    to { opacity: 1; transform: translateY(0); }
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF8F5; }
::-webkit-scrollbar-thumb { background: #1A6043; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #144C35; }

/* SELECTION */
::selection { background: rgba(26, 96, 67, 0.2); color: #0B2A1F; }
