/* ── Base / Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }

/* ── Hero Background ── */
.hero {
    background: linear-gradient(135deg, #F7F0F8 0%, #FFFBF0 50%, #F7F0F8 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 194, 48, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 58, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Navbar ── */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(107, 58, 110, 0.06);
}

/* ── Mobile Nav ── */
.mobile-nav-link {
    display: block;
}

/* ── Reveal Animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Focus styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #A96D9F;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F7F0F8; }
::-webkit-scrollbar-thumb { background: #D8BDD9; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C295BC; }

/* ── Selection ── */
::selection { background: #D8BDD9; color: #3F2240; }
