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

/* ─── Navbar ─── */
#navbar {
  background: rgba(253, 246, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

/* ─── Mobile Menu ─── */
#mobile-menu.show .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu.show .bar:nth-child(2) {
  opacity: 0;
}
#mobile-menu.show .bar:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
  width: 1.25rem;
}
.mobile-link { transition: color 0.2s; }
.mobile-link:hover { color: #d4a017; }

/* ─── Geometric Shapes ─── */
.geo-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}
.geo-circle-1 {
  width: 500px; height: 500px;
  background: #d4a017;
  border-radius: 50%;
  top: -150px; right: -100px;
}
.geo-circle-2 {
  width: 200px; height: 200px;
  background: #c0573e;
  border-radius: 50%;
  bottom: 10%; left: 5%;
  opacity: 0.06;
}
.geo-square-1 {
  width: 120px; height: 120px;
  background: #e6b422;
  top: 20%; right: 15%;
  transform: rotate(45deg);
  opacity: 0.07;
}
.geo-triangle-1 {
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #d4a017;
  top: 60%; left: 2%;
  opacity: 0.06;
}
.geo-ring-1 {
  width: 160px; height: 160px;
  border: 20px solid #e6b422;
  border-radius: 50%;
  bottom: 5%; right: 20%;
  opacity: 0.05;
}
.geo-diamond {
  width: 200px; height: 200px;
  background: #d4a017;
  transform: rotate(45deg);
  bottom: -60px; left: -60px;
  opacity: 0.06;
}
.geo-circle-3 {
  width: 300px; height: 300px;
  background: #c0573e;
  border-radius: 50%;
  top: -80px; right: -80px;
  opacity: 0.05;
}
.geo-circle-4 {
  width: 400px; height: 400px;
  background: #d4a017;
  border-radius: 50%;
  bottom: -200px; left: -100px;
  opacity: 0.05;
}
.geo-square-2 {
  width: 100px; height: 100px;
  background: #e6b422;
  top: 10%; right: 5%;
  transform: rotate(30deg);
  opacity: 0.06;
}
.geo-circle-5 {
  width: 350px; height: 350px;
  background: #0a1628;
  border-radius: 50%;
  top: -120px; right: -80px;
  opacity: 0.08;
}
.geo-triangle-2 {
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #0a1628;
  bottom: -30px; left: 10%;
  opacity: 0.07;
}

/* ─── Marquee ─── */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 25s linear infinite;
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
