/* ── Base ── */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ── Navbar scroll state ── */
#nav.scrolled {
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(61, 139, 61, 0.1);
}

/* ── Stat cards ── */
.stat-card {
    animation: float 6s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -2s; }
.stat-card:nth-child(3) { animation-delay: -4s; }

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

/* ── Menu cards ── */
.menu-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.menu-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.menu-card:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .stat-card { animation: none; }
    .menu-card { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
