/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ── Geometric Background Shapes ── */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

.geo-circle-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: rgba(27,42,74,0.06);
  top: 25%;
  right: 5%;
  border-radius: 20px;
  transform: rotate(45deg);
  animation: float-slow 6s ease-in-out infinite reverse;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  border: 3px solid rgba(212,160,23,0.15);
  border-radius: 50%;
  bottom: 10%;
  left: 8%;
  animation: float-slow 10s ease-in-out infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(27,42,74,0.05);
  top: 40%;
  right: 15%;
  animation: float-slow 7s ease-in-out infinite reverse;
}

.geo-dots {
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(212,160,23,0.25) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  top: 60%;
  left: 3%;
  border-radius: 50%;
  animation: float-slow 9s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* ── Hero Animations ── */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Marquee ── */
.marquee-track {
  width: 200%;
}

.marquee-content {
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Product Cards ── */
.product-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.4s ease, border-color 0.4s ease;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header Scroll State ── */
#site-header.scrolled {
  background: rgba(253,246,227,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27,42,74,0.08);
}

/* ── Mobile Nav ── */
#mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-nav.open .mobile-link {
  animation: fadeUp 0.4s ease forwards;
}

#mobile-nav.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-nav.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-nav.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-nav.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-nav.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ── Menu Button ── */
.menu-line {
  transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Scroll Dot ── */
.scroll-dot {
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 0; }
  50% { top: 24px; }
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .geo-circle-1 { width: 250px; height: 250px; }
  .geo-square-1 { width: 70px; height: 70px; }
  .geo-circle-2 { width: 120px; height: 120px; }
  .geo-triangle-1 { border-left: 35px solid transparent; border-right: 35px solid transparent; border-bottom: 60px solid rgba(27,42,74,0.05); }

  .hero-content { text-align: center; }
  .hero-content h1 { font-size: 2.75rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-content > div:last-child { justify-content: center; }
  .hero-content > div:first-child { justify-content: center; }

  .about-images { margin-bottom: 2rem; }
  .story-content { order: 2 !important; }
  .story-image { order: 1 !important; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.25rem; }
  .font-serif.text-4xl { font-size: 2rem; }
  .font-serif.text-5xl { font-size: 2.25rem; }
}
