/* =========================================================
   After Dark IV — Digital Experience
   Mobile-first. One continuous nav-anchored page. phase.js only
   swaps small phase-aware bits (hero badge/CTA, gallery state) —
   it no longer hides/shows whole sections.
========================================================= */

:root {
  --bg: #120b09;
  --bg-header: #17100d;
  --bg-card: #1d1310;
  --bg-cream: #f1e9da;
  --bg-cream-alt: #e9dfcb;
  --gold: #c9a94a;
  --gold-soft: #e3c878;
  --burgundy: #5c1420;
  --burgundy-soft: #7a1220;
  --burgundy-bright: #8f1c2b;
  --cream: #f3e6d0;
  --muted: #b9a58a;
  --ink: #1c1310;
  --ink-muted: #6b5d4f;
  --border: rgba(201, 169, 74, 0.25);
  --border-cream: rgba(28, 19, 16, 0.12);
  --radius: 14px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.5em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand { display: flex; align-items: baseline; gap: 4px; min-width: 0; flex-shrink: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.02em; }
.brand__roman { font-family: var(--font-display); font-size: 0.7rem; color: var(--gold); position: relative; top: -0.6em; }

.main-nav { display: none; }
.nav-toggle {
  background: none; border: 1px solid var(--border); color: var(--cream);
  border-radius: 8px; padding: 7px 10px; font-size: 0.8rem; cursor: pointer; flex-shrink: 0;
}

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex; align-items: center; gap: 26px;
    position: static; background: none; padding: 0; border: none;
  }
  .nav-item { position: relative; }
  .nav-item > .nav-link {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--cream); font-weight: 600; padding: 22px 0; cursor: pointer;
  }
  .nav-item > .nav-link .chev { font-size: 0.6rem; color: var(--gold); transition: transform 0.18s ease; }
  .nav-item:hover > .nav-link .chev,
  .nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }

  /* Dropdown visibility is driven entirely by nav.js toggling .is-open
     (mouseenter/mouseleave with a short debounce, plus click and focus) —
     NOT by raw CSS :hover. A geometry-only :hover trigger is what caused
     the original flicker bug: a dropdown that's wider than its trigger
     has "dead corners" a diagonal mouse path can clip, which drops :hover
     for a frame and reopens it the next, producing exactly the rapid
     open/close flicker that was reported. A timer-based debounce has no
     geometry to get wrong — a brief dip through a dead pixel just doesn't
     last long enough to trigger the close. */
  .nav-dropdown {
    position: absolute; top: 100%; left: 50%; z-index: 1;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  }
  .nav-item.is-open > .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }
  .nav-dropdown a {
    display: block; padding: 9px 12px; border-radius: 6px;
    font-size: 0.85rem; color: var(--cream); white-space: nowrap;
  }
  .nav-dropdown a:hover { background: rgba(201,169,74,0.12); color: var(--gold-soft); }
  .nav-dropdown__sub { display: block; padding: 2px 12px 6px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}

/* Mobile nav panel */
body.nav-open .main-nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-header); padding: 10px 20px 30px; overflow-y: auto; z-index: 190;
}
@media (min-width: 760px) { body.nav-open .main-nav { position: static; } }
body.nav-open .nav-item { border-bottom: 1px solid var(--border); }
body.nav-open .nav-item > .nav-link { padding: 16px 0; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); display: flex; justify-content: space-between; align-items: center; }
body.nav-open .nav-item > .nav-link .chev { color: var(--gold); transition: transform 0.18s ease; }
body.nav-open .nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
body.nav-open .nav-dropdown { display: none; padding: 0 0 12px 14px; }
body.nav-open .nav-item.is-open .nav-dropdown { display: block; }
body.nav-open .nav-dropdown a { display: block; padding: 8px 0; color: var(--muted); font-size: 0.85rem; }
body.nav-open .nav-dropdown__sub { display: block; padding: 6px 0 2px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

.cta-button {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a0f08;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.cta-button:active { transform: scale(0.96); }
.cta-button--lg { padding: 14px 24px; font-size: 0.85rem; }
.cta-button--outline { background: none; border: 1px solid var(--gold); color: var(--gold-soft); }
#mainCta { display: none; }
@media (min-width: 480px) { #mainCta { display: inline-flex; } }

/* ---------- Hero ---------- */
/* Real event photograph as the hero backdrop, with a dark scrim layered over
   it (heavier on the left, where the title/CTA text sits, and along the
   bottom, where it meets the now-bar) so the cream/gold text and the
   transparent countdown plate both stay legible over the image. */
.hero {
  background:
    linear-gradient(100deg, rgba(10,5,4,0.72) 0%, rgba(10,5,4,0.42) 38%, rgba(10,5,4,0.22) 62%, rgba(10,5,4,0.5) 100%),
    linear-gradient(180deg, rgba(10,5,4,0.1) 0%, rgba(10,5,4,0.15) 60%, rgba(10,5,4,0.55) 100%),
    url("../media/hero/hero-photo.jpg");
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  color: var(--cream);
  text-align: left;
}
.hero__inner {
  max-width: 1040px; margin: 0 auto; padding: 44px 20px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 34px;
}
.hero__content { width: 100%; }
@media (min-width: 900px) {
  .hero__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 44px; }
  .hero__content { flex: 1; min-width: 0; max-width: 580px; }
}
.hero__sponsor { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 360px; }
.hero__sponsor-label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.hero__sponsor a { display: block; cursor: pointer; width: 100%; }
.hero__sponsor-logo {
  height: auto; width: 100%; max-width: 360px; display: block; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.55));
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none;
}

.hero__kicker { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy-bright); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__eyebrow-title {
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 2.1rem; color: var(--gold-soft);
  margin: 0 0 12px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.75);
}
.hero__title { font-size: 3.4rem; line-height: 1.02; color: var(--cream); margin-bottom: 22px; }
.hero__title .amp { color: var(--gold-soft); font-style: italic; }

.hero__meta-line { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

.hero__actions { margin-bottom: 8px; }

.now-bar {
  background: var(--burgundy-soft);
  border-top: 1px solid rgba(201,169,74,0.3);
  padding: 26px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.now-bar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.now-bar__label { display: none; }
.now-bar__label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); }
.now-bar__text { font-family: var(--font-body); font-weight: 500; font-size: 1.84rem; line-height: 1.35; color: var(--cream); white-space: pre-wrap; }
.now-bar__time { font-size: 0.85rem; color: var(--gold-soft); font-weight: 700; }

/* ---------- Hero countdown (flip-clock plate) ---------- */
.hero__countdown { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; flex-shrink: 0; }
@media (min-width: 900px) { .hero__countdown { width: auto; } }

.countdown-plate {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 24px 22px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3), 0 0 22px rgba(255,255,255,0.18), inset 0 0 14px rgba(255,255,255,0.06);
  width: 100%;
  max-width: 360px;
}
.countdown-plate__screw {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #cfcfcf 55%, #7a7a7a 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 6px rgba(255,255,255,0.6);
}
.countdown-plate__screw--tl { top: 10px; left: 10px; }
.countdown-plate__screw--tr { top: 10px; right: 10px; }
.countdown-plate__screw--bl { bottom: 10px; left: 10px; }
.countdown-plate__screw--br { bottom: 10px; right: 10px; }

.countdown-plate__row { display: flex; align-items: stretch; justify-content: center; gap: 7px; }
.countdown-unit {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  padding: 14px 8px 10px;
  min-width: 56px;
  flex: 1;
  text-align: center;
  position: relative;
  box-shadow: 0 0 14px rgba(255,255,255,0.1);
}
.countdown-unit::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%;
  height: 1px; background: rgba(255,255,255,0.35);
}
.countdown-unit__num {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.85rem; line-height: 1; color: #ffffff;
  text-shadow: 0 0 8px rgba(255,255,255,0.85), 0 0 18px rgba(255,255,255,0.5), 0 0 34px rgba(255,255,255,0.25);
  font-variant-numeric: tabular-nums;
}
.countdown-unit__label {
  display: block; margin-top: 8px;
  font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78);
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.countdown-sep {
  align-self: center; font-family: var(--font-display); font-size: 1.3rem;
  color: #ffffff; padding-bottom: 16px;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}
.countdown-plate__sub {
  text-align: center; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  text-shadow: 0 0 8px rgba(255,255,255,0.35);
}
@media (min-width: 480px) {
  .countdown-unit__num { font-size: 2.2rem; }
  .countdown-unit { min-width: 64px; padding: 16px 10px 12px; }
}

.hero__jump-row { max-width: 960px; margin: 0 auto; padding: 14px 20px 30px; text-align: right; background: var(--bg); }
.hero__jump-row a { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.hero__jump-row a:hover { color: var(--gold-soft); }

/* ---------- Section shell ---------- */
.section { max-width: 960px; margin: 0 auto; padding: 56px 20px; }
.section--dark { background: var(--bg); color: var(--cream); }
.section--dark + .section--dark { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-kicker { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; color: var(--burgundy-soft); font-weight: 700; margin-bottom: 10px; }
.section--dark .section-kicker { color: var(--gold); }
.section-title { font-size: 2.4rem; margin-bottom: 0; color: var(--ink); }
.section--dark .section-title { color: var(--cream); }
.section-title--flourish { display: flex; align-items: baseline; gap: 14px; }
.section-title--flourish .roman { font-size: 1.6rem; color: var(--gold); }
.section-sub { color: var(--ink-muted); max-width: 640px; margin: 12px 0 0; }
.section--dark .section-sub { color: var(--muted); }
/* ---------- Marquee (Program intro line) ---------- */
.marquee {
  overflow: hidden;
  margin: 12px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.marquee__item {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #000;
  white-space: nowrap;
  padding-right: 56px;
}
@media (min-width: 640px) { .marquee__item { font-size: 1.4rem; } }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
.chip {
  border: 1px solid var(--border-cream); border-radius: 999px; padding: 8px 16px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
  white-space: nowrap; background: var(--bg-cream-alt);
}
.chip--dark { background: var(--bg-card); border-color: var(--border); color: var(--muted); }
.chip--btn { cursor: pointer; border: 1px solid var(--ink); color: var(--ink); background: none; font-weight: 600; }

/* ---------- Accordion (shared: program chapters, models categories, leaderboard) ---------- */
.accordion { display: grid; gap: 12px; }
.accordion--2col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .accordion--2col { grid-template-columns: 1fr 1fr; } }

.acc-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; grid-column: 1 / -1;
}
.acc-item.is-open { grid-column: 1 / -1; }
.acc-item__head {
  width: 100%; background: none; border: none; color: inherit; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px; cursor: pointer; font: inherit;
}
.acc-item.is-open .acc-item__head { background: linear-gradient(135deg, rgba(122,18,32,0.55), rgba(122,18,32,0.15)); }
.acc-item__time { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); display: block; margin-bottom: 4px; }
.acc-item__title { font-family: var(--font-display); font-size: 1.05rem; color: var(--cream); margin: 0; }
.acc-item__subtitle { font-size: 0.74rem; letter-spacing: 0.04em; color: var(--gold-soft); margin-top: 5px; font-weight: 600; }
.acc-item__num { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); min-width: 34px; }
.acc-item__chev { color: var(--gold); transition: transform 0.18s ease; flex-shrink: 0; }
.acc-item.is-open .acc-item__chev { transform: rotate(180deg); }
.acc-item__body { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.acc-item.is-open .acc-item__body { max-height: 800px; }
.acc-item__body-inner { padding: 4px 20px 18px; }

.acc-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.acc-row:first-child { border-top: none; }
.acc-row__time { color: var(--gold-soft); font-weight: 700; font-size: 0.85rem; min-width: 66px; }
.acc-row__body { flex: 1; }
.acc-row__title { font-weight: 700; color: var(--cream); }
.acc-row__note { color: var(--muted); font-size: 0.82rem; }

.model-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 0.9rem; }
.model-row:first-child { border-top: none; }
.model-row__name { font-weight: 700; color: var(--cream); }
.model-row__look { color: var(--muted); text-align: right; }
.model-empty { color: var(--muted); font-style: italic; font-size: 0.85rem; padding: 8px 0; }

/* Light (on-cream) accordion variant, used for the leaderboard's "See all standings" */
.acc-item--light { background: #fff; border-color: var(--border-cream); }
.acc-item--light .acc-item__head:hover { background: var(--bg-cream-alt); }
.acc-item--light .acc-item.is-open .acc-item__head { background: var(--bg-cream-alt); }
.acc-item--light .acc-item__title { color: var(--ink); }
.acc-item--light .acc-item__chev { color: var(--burgundy-soft); }
.standing-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border-cream); font-size: 0.92rem; }
.standing-row:first-child { border-top: none; }
.standing-row__name { font-weight: 700; color: var(--ink); }
.standing-row__score { color: var(--burgundy-soft); font-weight: 700; }

/* ---------- Two-up info cards (venue / hours) ---------- */
.info-grid { display: grid; gap: 2px; grid-template-columns: 1fr; border: 1px solid var(--border-cream); border-radius: 10px; overflow: hidden; margin-top: 24px; background: var(--border-cream); }
@media (min-width: 560px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--bg-cream-alt); padding: 22px; }
.info-card__label { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--burgundy-soft); font-weight: 700; margin-bottom: 8px; }
.info-card__value { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.info-card__link { display: inline-block; margin-top: 8px; font-size: 0.78rem; color: var(--burgundy-soft); font-weight: 600; text-decoration: underline; }

/* ---------- Banner (vote / tickets / follow CTA) ---------- */
.banner {
  background: var(--burgundy-soft); color: var(--cream);
  border-radius: 10px; padding: 22px 24px; margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.banner__kicker { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.banner__title { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }
.banner__link { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--gold-soft); white-space: nowrap; }

/* ---------- Featured performer card ---------- */
.featured-card {
  background: linear-gradient(135deg, rgba(122,18,32,0.9), rgba(28,15,12,0.9));
  border: 1px solid var(--border); border-radius: 12px;
  padding: 26px; display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.featured-card__avatar {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #1a0f08;
}
.featured-card__label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.featured-card__name { font-family: var(--font-display); font-size: 1.6rem; color: var(--cream); margin: 0 0 4px; }
.featured-card__sub { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.featured-card__sub a { text-decoration: underline; }

/* ---------- Leaderboard top-3 ---------- */
.podium { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .podium { grid-template-columns: repeat(3, 1fr); } }
.podium-card { border-radius: 10px; padding: 22px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.podium-card--1 { background: var(--burgundy-soft); color: var(--cream); }
.podium-card--other { background: var(--ink); color: var(--cream); }
.podium-card__rank { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-soft); }
.podium-card__score-wrap { display: flex; flex-direction: column; align-items: flex-end; }
.podium-card__score { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-soft); text-align: right; }
.podium-card__score-label { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 600; }
.podium-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.podium-card__name { font-weight: 700; font-size: 1.05rem; }
.podium-empty { grid-column: 1 / -1; color: var(--ink-muted); font-style: italic; font-size: 0.88rem; padding: 4px 2px 0; }

/* ---------- Gallery cards ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-card {
  aspect-ratio: 3/4; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(122,18,32,0.85), rgba(20,11,9,0.95));
  border: 1px solid var(--border); padding: 14px; display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
}
.gallery-card::after {
  content: ""; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px;
  border-radius: 50%; border: 1px solid rgba(201,169,74,0.25);
}
.gallery-card__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); position: relative; z-index: 1; }
.gallery-card__play {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold-soft); z-index: 1;
}
.gallery-card__foot { position: relative; z-index: 1; }
.gallery-card__type { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.gallery-card__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--cream); }
.gallery-card__thumb { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 0; opacity: 0.85; }

/* ---------- FAQ / tickets ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0 0; border: 1px solid var(--border-cream); border-radius: 10px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-cream); }
.data-table th { color: var(--burgundy-soft); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.68rem; background: var(--bg-cream-alt); }
.data-table tr:last-child td { border-bottom: none; }

.faq { margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--border-cream); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { color: var(--ink-muted); margin: 8px 0 0; font-size: 0.9rem; }

/* ---------- Live updates ---------- */
.live-updates { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.live-updates li { background: var(--bg-card); border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; }
.live-updates li time { display: block; color: var(--gold-soft); font-size: 0.7rem; margin-bottom: 2px; }
.live-updates__empty { color: var(--muted); font-style: italic; border-left-color: var(--border) !important; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 400; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-height: 80vh; border-radius: 8px; }
.lightbox__caption { color: var(--muted); margin-top: 12px; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--cream); font-size: 2rem; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--muted); text-align: center; padding: 40px 20px 52px; }
.site-footer__brand { font-family: var(--font-display); color: var(--cream); font-size: 1.3rem; margin-bottom: 8px; }
.site-footer__meta { font-size: 0.85rem; margin-bottom: 18px; }
.site-footer__social { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer__social a { text-decoration: underline; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer__copy { font-size: 0.75rem; color: var(--muted); }

/* ---------- Dev phase preview switcher ---------- */
.phase-preview {
  position: fixed; bottom: 12px; right: 12px;
  background: var(--bg-card); border: 1px solid var(--gold);
  border-radius: 10px; padding: 8px; display: flex; gap: 6px; align-items: center;
  font-size: 0.7rem; z-index: 500;
}
.phase-preview button { background: transparent; border: 1px solid var(--border); color: var(--cream); border-radius: 6px; padding: 4px 8px; font-size: 0.7rem; cursor: pointer; }
.phase-preview button.is-active { background: var(--gold); color: #1a0f08; border-color: var(--gold); }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero__title { font-size: 4.6rem; }
  .hero__eyebrow-title { font-size: 2.6rem; }
  .section-title { font-size: 3rem; }
}
