/* ============================================================
   hero.css — Movement On The Mountain Music Festival
   Tokens: --clr-overlay, --clr-bg, --clr-heading,
   --clr-text-muted, --clr-fire, --clr-gold, --clr-border,
   --font-display, --font-body, --text-hero, --text-base,
   --text-xs, --text-lg, --space-2, --space-3, --space-4,
   --space-6, --space-8, --space-16, --space-24, --space-32,
   --radius-md, --ease-base, --ease-fast
   ============================================================ */

/* ── Hero Base ─────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--clr-bg);
  /* Mobile static bg set in responsive.css */
}

/* ── Video Background ──────────────────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* ── Photo Background (non-video sub-page heroes) ──────────── */
.hero--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Overlay ───────────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-image: linear-gradient(
    to bottom,
    rgba(13, 26, 18, 0.30) 0%,
    rgba(13, 26, 18, 0.65) 50%,
    rgba(13, 26, 18, 0.88) 100%
  );
}

/* ── Hero Content ──────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-24) var(--space-6);
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  gap: var(--space-6);
}

/* ── Hero Eyebrow (small label above title) ─────────────────── */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-fire);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: var(--clr-fire);
  opacity: 0.6;
}

/* ── Hero Title ─────────────────────────────────────────────── */
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  color: var(--clr-heading);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.hero-title span {
  color: var(--clr-gold);
}

/* Fire glow variant */
.hero-title--glow {
  text-shadow:
    0 0 40px rgba(232, 160, 32, 0.3),
    0 2px 20px rgba(0, 0, 0, 0.6);
}

/* ── Hero Subtitle ──────────────────────────────────────────── */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  max-width: none;
}

/* ── Hero Gold Divider ──────────────────────────────────────── */
.hero-divider {
  width: 60px;
  height: 2px;
  background-color: var(--clr-gold);
  border: none;
  margin: 0;
  opacity: 0.7;
}

/* ── Hero CTA Row ───────────────────────────────────────────── */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── Hero Countdown Wrapper ─────────────────────────────────── */
.hero-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.hero-countdown-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ── Hero Scroll Cue ────────────────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--clr-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Sub-page Hero (shorter; no video) ─────────────────────── */
.hero--sub {
  min-height: 40svh;
  max-height: 480px;
}

.hero--sub .hero-content {
  padding: var(--space-16) var(--space-6);
}

.hero--sub .hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
}
