/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Navbar ── */
#navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* ── Hero Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-coral { background: #E86A5B; }
.blob-coral-light { background: #FFA693; opacity: 0.3; }
.blob-charcoal { background: #3A3A48; opacity: 0.6; }
.blob-1 { width: 500px; height: 500px; top: -100px; left: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; top: 40%; right: -80px; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; bottom: -50px; left: 30%; animation-delay: -5s; }

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

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

/* ── Mobile Menu Transition ── */
#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: #F7F7F8; }
::-webkit-scrollbar-thumb { background: #D1D1D8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A8A8B4; }
