/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Geometric Hero Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}
.geo-circle-1 {
    width: 420px; height: 420px;
    border-radius: 50%;
    background: #fde68a;
    top: -80px; left: -120px;
    animation: float-slow 14s ease-in-out infinite;
}
.geo-circle-2 {
    width: 260px; height: 260px;
    border-radius: 50%;
    background: #fbbf24;
    bottom: 12%; right: -40px;
    animation: float-slow 10s ease-in-out infinite reverse;
}
.geo-circle-3 {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: #fcd34d;
    top: 25%; right: 12%;
    animation: float-mid 8s ease-in-out infinite;
}
.geo-triangle {
    width: 0; height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid #fde68a;
    top: 18%; left: 8%;
    opacity: 0.10;
    animation: spin-slow 20s linear infinite;
    transform-origin: center;
}
.geo-square {
    width: 100px; height: 100px;
    background: #fbbf24;
    border-radius: 16px;
    bottom: 22%; left: 15%;
    opacity: 0.10;
    animation: spin-slow 16s linear infinite;
    transform-origin: center;
}
.geo-ring {
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 24px solid #fcd34d;
    top: 60%; right: 8%;
    opacity: 0.08;
    animation: float-mid 11s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.04); }
}
@keyframes float-mid {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        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);
    }
}
/* Fallback: always visible if JS disabled or reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
    background: rgba(254, 252, 247, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

/* ── Utility ── */
@media (max-width: 639px) {
    html { scroll-padding-top: 72px; }
}
