@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

:root {
  --bg: #0A0608;
  --surface: #17101A;
  --surface-2: #1F1522;
  --text: #FAF6F0;
  --muted: #C9BFC7;
  --gold: #F5C242;
  --gold-bright: #FFD97A;
  --red: #B3121B;
  --red-bright: #FF6B6B;
  --purple: #C084FC;
  --line: rgba(245, 194, 66, 0.22);
  --space: clamp(3.5rem, 8vw, 7rem);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Righteous', 'Poppins', cursive;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: var(--gold); }
/* height:auto is load-bearing — the width/height attributes are set on every
   img to reserve space against CLS, and without this the height attribute is
   used verbatim and the image stretches. */
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1140px, 92vw); margin-inline: auto; }

/* Skip link — keyboard users land here first */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #0A0608; padding: 12px 20px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Aurora backdrop ───────────────────────────────────────── */
.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 44% at 12% 8%,  rgba(179, 18, 27, 0.50), transparent 62%),
    radial-gradient(52% 40% at 88% 14%, rgba(109, 40, 217, 0.46), transparent 60%),
    radial-gradient(60% 46% at 50% 96%, rgba(245, 194, 66, 0.20), transparent 66%);
  filter: blur(46px);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.04); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.14); }
}

main, header, footer { position: relative; z-index: 1; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 0 3.5rem;
}

.eyebrow {
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 9vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero h1 .line2 {
  display: block;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 40%, #E8A33D);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 1.4rem auto 0;
}

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem 1.6rem;
  margin: 2.2rem auto 0;
  font-weight: 500;
  color: var(--text);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { color: var(--gold); flex-shrink: 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.cta-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-top: 2.6rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.btn-primary {
  background: linear-gradient(96deg, var(--gold-bright), var(--gold));
  color: #0A0608;
  box-shadow: 0 10px 34px rgba(245, 194, 66, 0.26);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(245, 194, 66, 0.36); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(245, 194, 66, 0.10); transform: translateY(-2px); }

/* Centred explicitly — outside the hero there is no inherited text-align. */
.soon-note {
  margin: 1rem auto 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

/* ── Sections ──────────────────────────────────────────────── */
section { padding-block: var(--space); }

.section-head { text-align: center; margin-bottom: 3.2rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  text-transform: uppercase;
}
.section-head p {
  color: var(--muted);
  max-width: 56ch;
  margin: 1rem auto 0;
}

.rule {
  width: 74px; height: 3px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--purple));
  border-radius: 2px;
}

/* ── Cause ─────────────────────────────────────────────────── */
.cause {
  background: linear-gradient(180deg, transparent, rgba(23, 16, 26, 0.85), transparent);
}
/* align-items:start, not center — the photo column is far taller than the
   copy, and centring the copy against it opens a dead gap at the top. */
.cause-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
}
.cause-grid h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.cause-grid p { color: var(--muted); }
.cause-grid strong { color: var(--text); }
/* ── Photo carousel ────────────────────────────────────────── */
.shots { position: relative; }

.shots-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  /* iOS shows a scrollbar gutter otherwise */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shots-track::-webkit-scrollbar { display: none; }

.shots-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 28%;
  scroll-snap-align: center;
  background: #000;
}

.shots-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.shots-dots button {
  /* 10px visual dot, but a 44px hit area for touch */
  width: 10px; height: 10px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(245, 194, 66, 0.30);
  cursor: pointer;
  position: relative;
  transition: background 200ms ease, transform 200ms ease;
}
.shots-dots button::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px;
}
.shots-dots button[aria-current="true"] {
  background: var(--gold);
  transform: scale(1.25);
}

.impact {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 2.6rem;
}
.impact div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  text-align: center;
}
.impact strong {
  display: block;
  font-family: 'Righteous', cursive;
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1.1;
}
.impact span { font-size: 0.88rem; color: var(--muted); }

/* ── Lineup ────────────────────────────────────────────────── */
/* 200px min so all five acts land on one row at desktop width — mirroring
   the flyer's five panels — instead of breaking 4 + 1 orphan. */
.lineup-grid {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
/* Each act is one link — photo cropped from the flyer, then the details.
   Cards stretch to equal height so the five bottoms line up. */
.act {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.act:hover, .act:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}
.act::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--purple));
}

.act-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #000;
}

.act-body {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}

.act .num {
  font-family: 'Righteous', cursive;
  font-size: 1.5rem;
  color: rgba(245, 194, 66, 0.34);
  line-height: 1;
}
.act-name {
  font-family: 'Righteous', cursive;
  font-size: 1.14rem;
  line-height: 1.18;
  margin: 0.42rem 0 0.35rem;
}
.act .role { color: var(--gold); font-size: 0.88rem; font-weight: 500; }
.act .city {
  color: var(--muted); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.45rem;
}

/* Pushed to the bottom so it sits on the same line across uneven cards. */
.act-link {
  margin-top: auto;
  padding-top: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}
.act:hover .act-link { color: var(--gold-bright); }

/* ── Schedule ──────────────────────────────────────────────── */
.schedule { max-width: 720px; margin-inline: auto; }
.slot {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(245, 194, 66, 0.14);
  align-items: baseline;
}
.slot:last-child { border-bottom: none; }
.slot time {
  font-family: 'Righteous', cursive;
  color: var(--gold);
  font-size: 1.05rem;
}
.slot h3 { font-size: 1.05rem; font-family: 'Poppins'; font-weight: 600; }
.slot p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.slot.finale h3 { color: var(--gold-bright); }

/* ── Tickets ───────────────────────────────────────────────── */
.tiers {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  position: relative;
}
.tier.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 194, 66, 0.10), var(--surface));
}
.tier .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0A0608;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.32rem 0.9rem; border-radius: 999px;
  white-space: nowrap;
}
.tier .price {
  font-family: 'Righteous', cursive;
  font-size: 3.2rem; color: var(--gold); line-height: 1;
}
.tier h3 {
  font-family: 'Poppins'; font-weight: 600;
  font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin: 0.7rem 0 0.6rem;
}
.tier p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ── Venue ─────────────────────────────────────────────────── */
.venue-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: start;
}
.venue-card h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.venue-card p { color: var(--muted); margin: 0.3rem 0; }
.venue-card .btn { margin-top: 1.4rem; }

/* The flyer is a 1294x2000 poster — at full column width it makes the venue
   card several screens tall, so cap the height and let it centre itself. */
.poster img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: auto;
  max-height: 600px;
  margin-inline: auto;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
  text-align: center;
}
footer .fine {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 62ch;
  margin: 1.2rem auto 0;
  line-height: 1.6;
}
footer .brand {
  font-family: 'Righteous', cursive;
  font-size: 1.2rem;
  color: var(--gold);
  text-transform: uppercase;
}

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* The JS already refuses to auto-advance here; this stops the dots from
     smooth-scrolling the track too. Swiping still works. */
  .shots-track { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 560px) {
  .slot { grid-template-columns: 76px 1fr; gap: 1rem; }
  .hero-meta { flex-direction: column; align-items: center; gap: 0.5rem; }

  /* One act per row means a 4:5 photo at full width — ~429px tall on a
     375px screen, and 3189px for the five of them. Two columns keeps the
     portrait crop but cuts the section to about a third of that. */
  .lineup-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .act-body { padding: 0.9rem 0.85rem 1rem; }
  .act .num { font-size: 1.2rem; }
  .act-name { font-size: 0.97rem; }
  .act .role { font-size: 0.8rem; }
  .act .city { font-size: 0.72rem; letter-spacing: 0.09em; }
  .act-link { font-size: 0.76rem; padding-top: 0.7rem; }

  /* Wider crop on small screens so the carousel stays a glance, not a scroll. */
  .shots-track img { aspect-ratio: 16 / 12; }
}

/* ══════════════════════════════════════════════════════════════
   Fullscreen video hero + page fade-in
   ══════════════════════════════════════════════════════════════ */

.hero-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0;
  transition: opacity 1200ms ease;
}
html.ready .hero-video { opacity: 1; }

/* Darkens the footage enough for headline text to clear AA, and hands
   off to solid --bg at the bottom so `main` meets it without a seam. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,8,0.62) 0%, rgba(10,6,8,0.48) 38%, rgba(10,6,8,0.86) 82%, var(--bg) 100%),
    radial-gradient(78% 62% at 50% 45%, transparent 20%, rgba(10,6,8,0.55) 100%);
}

/* The aurora tints the footage in brand colour rather than covering it. */
.aurora { opacity: 0.5; }

.page {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 900ms ease 120ms;
}
html.ready .page { opacity: 1; }

/* Hero sits on the video; everything after it is opaque and scrolls over. */
.hero { background: transparent; }
main, footer { background: var(--bg); }

/* Reduced motion: hold a still frame instead of looping footage. */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-media {
    background: url('assets/hero-poster.jpg') center 32% / cover no-repeat;
  }
  .page, .hero-video { opacity: 1; transition: none; }
}
