/* ── Base ── */
html { scroll-behavior: smooth; }
body { font-family: 'Quicksand', system-ui, sans-serif; }

/* ── Mobile menu animation ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
#mobile-menu.open {
    max-height: 400px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* ── Scroll reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Nav scroll state ── */
#nav.scrolled {
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.1);
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF8F0; }
::-webkit-scrollbar-thumb { background: #059669; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #047857; }

/* ── Focus visible ── */
a:focus-visible, button:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
    border-radius: 0.5rem;
}
</style>
