/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Blob Animation ── */
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.1); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.05); }
}
.animate-blob { animation: blob 7s ease-in-out infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* ── Reveal Animations (progressive enhancement) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Navbar Scroll State ── */
.navbar-scrolled #navbar {
    box-shadow: 0 1px 12px rgba(45, 45, 58, 0.08);
}

/* ── Mobile Menu ── */
.mobile-menu-open #mobileMenu {
    opacity: 1;
    pointer-events: all;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF8F4; }
::-webkit-scrollbar-thumb { background: #D1D1DA; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A1A1B5; }

/* ── Selection ── */
::selection { background: #FFCAD7; color: #1E1E28; }
</style>
