/* ── Base & Utilities ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Scroll Reveal (progressive enhancement — content visible without JS) ── */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Header scroll state ── */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
}

/* ── Hero Blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blob-float 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 160, 23, 0.25);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(65, 108, 175, 0.3);
    bottom: -50px;
    right: 10%;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(212, 160, 23, 0.15);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Mobile menu ── */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #b3c3df;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8da6cf;
}

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
}

/* ── Print ── */
@media print {
    #site-header, #mobile-toggle, #mobile-menu { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}
