/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Hero Geometric Shapes ── */
.shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}
.shape-circle-1 {
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, #F59E0B 0%, transparent 70%);
    top: -80px; right: -100px;
}
.shape-circle-2 {
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, #db8fd4 0%, transparent 70%);
    bottom: 10%; left: -60px;
}
.shape-circle-3 {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: #F59E0B;
    top: 30%; right: 15%;
    opacity: 0.08;
}
.shape-rect-1 {
    width: 200px; height: 200px;
    background: #F59E0B;
    top: 60%; left: 8%;
    transform: rotate(45deg);
    opacity: 0.07;
    border-radius: 20px;
}
.shape-rect-2 {
    width: 120px; height: 120px;
    background: #db8fd4;
    top: 15%; left: 20%;
    transform: rotate(20deg);
    opacity: 0.09;
    border-radius: 16px;
}
.shape-triangle-1 {
    width: 0; height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #F59E0B;
    bottom: 25%; right: 8%;
    opacity: 0.06;
}
.shape-triangle-2 {
    width: 0; height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 121px solid #db8fd4;
    top: 40%; left: 5%;
    opacity: 0.07;
    transform: rotate(-15deg);
}
.shape-ring-1 {
    width: 200px; height: 200px;
    border: 20px solid #F59E0B;
    border-radius: 50%;
    bottom: 5%; right: 25%;
    opacity: 0.08;
}

/* ── Scroll Reveal ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ── */
#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Header Scroll State ── */
#site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(123,45,142,0.08);
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
