/* ── Base ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scroll-reveal (progressive enhancement — visible by default) ── */
.scroll-reveal {
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ── Navbar scroll state ── */
nav.scrolled {
    background: rgba(255, 253, 252, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(161, 21, 54, 0.08), 0 4px 24px rgba(161, 21, 54, 0.06);
}

/* ── Mobile menu animation ── */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fffdfc; }
::-webkit-scrollbar-thumb { background: #f4a0b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d94068; }

/* ── Selection ── */
::selection { background: #f9cdd7; color: #6c1430; }
