/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    color: #1e293b;
    background-color: #fafaf9;
    -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.nav-text { color: #115e59; transition: color 0.3s; }
.nav-sub { color: #64748b; }
#navbar.scrolled .nav-text { color: #115e59; }
#navbar.scrolled .nav-sub { color: #64748b; }

/* ── Mobile menu ── */
.mobile-link { font-family: 'Cormorant Garamond', serif; }
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }

/* ── 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 {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-3px);
}

/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ── Focus ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection { background: #ccfbf1; color: #134e4a; }
</style>
