/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Scroll Reveal ── */
.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);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ── Eyebrow ── */
.section-eyebrow {
  letter-spacing: 0.2em;
}

/* ── Hero Animations ── */
.hero-eyebrow {
  animation: fadeDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero-title {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.hero-sub {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}
.hero-cta {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}
.hero-stats {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Floating Orbs ── */
.hero-orb {
  animation: float 8s ease-in-out infinite;
}
.orb-2 { animation-delay: -3s; animation-duration: 10s; }
.orb-3 { animation-delay: -5s; animation-duration: 12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%        { transform: translate(18px, -22px) scale(1.04); }
  66%        { transform: translate(-12px, 14px) scale(0.97); }
}

/* ── Navbar scroll state ── */
.nav-scrolled {
  background: rgba(59, 10, 18, 0.92) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Service Card Hover ── */
.service-card {
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-4px);
}

/* ── Mobile Menu ── */
#mobileMenu {
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  transition: color 0.2s;
}
.mobile-link:hover {
  color: #b92d4a;
}

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