/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  min-height: min(600px, 100vh);
  min-height: min(600px, 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* Push content to bottom */
  padding-bottom: clamp(120px, 18vh, 220px);
  /* Leave space for scroll arrow */
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  transform: scale(1.05);
  /* Account for parallax margin */
}

/* Multi-layer: dark base + warm amber glow at bottom centre */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 85%, rgba(180, 120, 40, 0.28) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(16, 32, 24, 0.20) 0%,
      rgba(16, 32, 24, 0.42) 50%,
      rgba(10, 18, 14, 0.72) 100%);
}

/* ===== FAIRY SPARKS ===== */
.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-spark {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 70%);
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 110, 1) 0%, rgba(255, 185, 65, 0.5) 55%, transparent 75%);
  box-shadow: 0 0 calc(var(--s, 4px) * 2.5) rgba(255, 205, 80, 0.7);
  animation: sparkFloat var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
  opacity: 0;
}

@keyframes sparkFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.3);
  }

  12% {
    opacity: var(--opacity, 0.75);
    transform: translateY(-8px) scale(1);
  }

  75% {
    opacity: calc(var(--opacity, 0.75) * 0.45);
  }

  100% {
    opacity: 0;
    transform: translateY(-110px) scale(0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spark {
    animation: none;
    opacity: 0 !important;
  }
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  margin-top: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* High compact layout */
  padding: 0 20px;
  max-width: 780px;
}

/* Staggered entrance on page load */
.hero-date-wrap {
  animation: heroUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both;
}

.hero-names {
  animation: heroUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero-place {
  animation: heroUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}

.hero-countdown {
  animation: heroUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

.scroll-cta {
  animation: heroUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.90s both;
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@media (prefers-reduced-motion: reduce) {

  .hero-date-wrap,
  .hero-names,
  .hero-place,
  .hero-countdown,
  .scroll-cta {
    animation: none;
  }
}

/* ===== HERO DATE BADGE ===== */
.hero-date-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-date-rule {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
  flex-shrink: 0;
  opacity: 0.8;
}

.hero-date-rule:last-child {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 0 24px rgba(201, 179, 126, 0.65), 0 0 60px rgba(201, 179, 126, 0.25);
  white-space: nowrap;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(42px, 9.5vw, 92px);
  font-weight: 400;
  line-height: 1.0;
  color: #fff;
  text-shadow:
    0 4px 34px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(190, 150, 55, 0.25),
    0 0 120px rgba(190, 150, 55, 0.15);
  margin: 0;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-names .name-line {
  display: block;
  line-height: 1.05;
}

.hero-names .amp {
  font-style: normal;
  font-size: 0.4em;
  color: var(--gold-soft);
  line-height: 1.1;
  /* Tighter names wrap */
  filter: drop-shadow(0 0 14px rgba(201, 179, 126, 0.6));
  letter-spacing: 0.16em;
}

.hero-place {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  letter-spacing: 0.05em;
  padding: 7px 18px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 179, 126, 0.24);
  border-top-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-countdown {
  margin-top: 4px;
  /* Pressed closer to location badge */
  position: relative;
  z-index: 5;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 36px);
  position: relative;
  padding: 12px 0;
}

/* Minimalist border framing */
.countdown-grid::before,
.countdown-grid::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: 0.3;
}

.countdown-grid::before {
  top: 0;
}

.countdown-grid::after {
  bottom: 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.countdown-item span {
  font-family: var(--font-sans);
  font-size: clamp(38px, 8vw, 60px);
  font-weight: 300;
  /* Subtle, clean, modern sans numbers */
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.countdown-item small {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Vertical Divider */
.countdown-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-soft), transparent);
  opacity: 0.45;
}

@media (max-width: 520px) {
  .countdown-grid {
    gap: 12px;
  }

  .countdown-sep {
    height: 36px;
  }
}

/* ===== SCROLL CTA ===== */
.scroll-cta {
  position: absolute;
  left: 50%;
  bottom: 32px;
  bottom: max(32px, calc(18px + env(safe-area-inset-bottom)));
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.60);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.scroll-cta:hover {
  color: rgba(255, 255, 255, 0.92);
}

.scroll-cta-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-cta-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  animation: scrollBounce 2.2s 1.8s ease-in-out infinite;
}

.scroll-cta-arrow i {
  font-size: 11px;
  line-height: 1;
}

.scroll-cta-arrow i:first-child {
  opacity: 0.38;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cta-arrow {
    animation: none;
  }
}
