/* ============================================================
   VARIST — djvarist.com
   Crimson & Plum — late-night cinema palette
   ============================================================ */

:root {
  /* ----- Surfaces ----- */
  --bg:           #150B12;   /* page background */
  --bg-elevated:  #1F0F1B;   /* cards, forms, raised surfaces */
  --bg-deep:      #0A0509;   /* deepest sections (stats, gallery) */
  --bg-hero:      #0E0710;   /* hero / footer */

  /* ----- Text ----- */
  --text:         #F4ECDD;   /* bone — primary text */
  --text-muted:   rgba(244, 236, 221, 0.74);
  --text-faint:   rgba(244, 236, 221, 0.5);

  /* ----- Borders ----- */
  --border:        #2A1224;
  --border-strong: #3A1F33;

  /* ----- Accents ----- */
  --crimson:       #8C2120;  /* primary CTA, button bg */
  --crimson-text:  #C73B36;  /* readable crimson for text/icons on dark */
  --plum:          #6E2D72;  /* secondary accent */
  --plum-text:     #9B549E;  /* readable plum for text on dark */
  --ember:         #D0634E;  /* warm tertiary accent */

  /* ----- Legacy aliases (keep old class names working) ----- */
  --cream:    var(--text);          /* "cream" now means light bone text */
  --paper:    var(--bg-elevated);   /* "paper" now means elevated dark surface */
  --ink:      var(--bg);            /* "ink" now means deep page background */
  --ink-soft: var(--text-muted);    /* "ink-soft" now means muted light text */
  --orange:   var(--ember);
  --red:      var(--crimson-text);
  --magenta:  var(--crimson-text);  /* primary accent color */
  --gold:     var(--ember);
  --teal:     var(--plum-text);

  --max: 1180px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--ember); }

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  transition: background 250ms ease, box-shadow 250ms ease, padding 250ms ease;
}
.nav.scrolled {
  background: rgba(14, 7, 16, 0.92);
  box-shadow: 0 2px 0 rgba(208, 99, 78, 0.4);
  padding: 12px 32px;
  backdrop-filter: blur(10px);
}
.nav.scrolled .nav-brand,
.nav.scrolled .nav-links a { color: var(--text); }
.nav-brand {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 20px;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--ember);
  transition: width 200ms;
}
.nav-links a:hover::after { width: 100%; }

/* Hamburger toggle — hidden on desktop, visible on mobile via media query */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 150ms ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
  background: var(--bg-hero);
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1);
  /* Sits above the static hero-photo so the poster shows through during load
     and on mobile, where the video itself is hidden. */
  z-index: 0;
}
/* Respect users who don't want autoplay motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14, 7, 16, 0.4) 0%, rgba(14, 7, 16, 0.82) 100%),
    linear-gradient(180deg, rgba(14, 7, 16, 0.55) 0%, rgba(14, 7, 16, 0.2) 35%, rgba(14, 7, 16, 0.92) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 920px;
  /* Nudge the title down on desktop so the central subject of the
     hero video / poster reads above it. Mobile overrides this. */
  transform: translateY(170px);
}
.hero-kicker {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text);
  margin-bottom: 20px;
  /* Hidden but preserves its layout space, so the title sits as low as before. */
  visibility: hidden;
}
.hero-title {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 14vw, 200px);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--text);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text);
  opacity: 0.92;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text);
  opacity: 0.7;
  animation: bob 2.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 150ms, box-shadow 150ms, background 150ms;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--crimson);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(140, 33, 32, 0.5);
}
.btn-primary:hover {
  background: var(--ember);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(208, 99, 78, 0.5);
}
.btn-gold {
  background: var(--ember);
  color: var(--bg);
  box-shadow: 0 6px 18px rgba(208, 99, 78, 0.45);
}
.btn-gold:hover {
  background: var(--crimson);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(140, 33, 32, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ================= SHARED SECTION BITS ================= */
section { padding: 120px 32px; }
.section-header { max-width: var(--max); margin: 0 auto 60px; }
.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}
.eyebrow.gold-text { color: var(--ember); }
h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--text);
}
.accent-magenta { color: var(--crimson-text); }
.accent-gold { color: var(--ember); }
.accent-orange { color: var(--ember); }

.sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
}

.sub-header {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin: 48px 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-strong);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ================= STORY ================= */
.story { background: var(--bg); }
.story-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: center;
}
.story-photo {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story-copy p { margin-bottom: 16px; font-size: 17px; color: var(--text-muted); }
.story-copy p:first-of-type { font-size: 18px; color: var(--text); }
.known-for {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  font-family: 'Lora', serif;
  font-size: 17px;
  color: var(--ember) !important;
}

.stats {
  max-width: var(--max);
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat {
  padding: 28px 16px;
  text-align: center;
  color: var(--text);
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat:nth-child(odd) .stat-num { color: var(--ember); }
.stat:nth-child(even) .stat-num { color: var(--plum-text); }
.stat-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
}

/* ================= B SIDE (personal story) ================= */
.bside {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bside-inner {
  max-width: 720px;          /* narrower than the rest of the page */
  margin: 0 auto;
  text-align: center;
}
.bside-inner .eyebrow,
.bside-inner h2 {
  text-align: center;
}
.bside-inner h2 {
  margin-bottom: 28px;
}
.hat-divider {
  width: 240px;
  height: 28px;
  margin: 0 auto 36px;
  background-color: var(--ember);
  -webkit-mask: url('images/hats-divider.svg') no-repeat center / contain;
          mask: url('images/hats-divider.svg') no-repeat center / contain;
  opacity: 0.9;
}
.bside-body {
  text-align: left;
  font-family: 'Lora', serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-muted);
}
.bside-body p {
  margin-bottom: 18px;
}
.bside-body p:first-of-type {
  color: var(--text);
  font-size: 20px;
}
.bside-body em {
  font-style: italic;
  color: var(--text);
}
.bside-body .placeholder {
  font-style: italic;
  color: var(--ember);
  /* These bracketed prompts are TODOs — they highlight in ember so you
     can see at a glance what's still to be written. Replace each
     placeholder span with your own prose to remove the highlighting. */
}
.bside-tag {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-strong);
  text-align: center;
  font-style: italic;
  font-size: 16px;
  color: var(--text-faint);
}

/* Signature image — closes the section with a personal flourish */
.bside-signature {
  display: block;
  margin: 36px auto 0;
  max-width: 340px;
  width: 100%;
  height: auto;
  /* Slight transparency so it feels like a closer rather than a stamp */
  opacity: 0.92;
}

/* ================= SETS ================= */
.sets { background: var(--bg-elevated); }
.sets-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.set-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms, box-shadow 200ms;
}
.set-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.set-embed {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: var(--bg-deep);
}
.set-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.set-body {
  padding: 22px 24px 26px;
  position: relative;
  border-top: 4px solid var(--border-strong);
}
.set-body.orange-accent { border-top-color: var(--ember); }
.set-body.magenta-accent { border-top-color: var(--crimson); }
.set-body.gold-accent { border-top-color: var(--plum); }
.set-body.teal-accent { border-top-color: var(--plum-text); }
.set-num {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.set-body h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--text);
}
.set-body p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
}

.tgi-callout {
  max-width: var(--max);
  margin: 56px auto 0;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
}
.tgi-callout h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  margin: 6px 0 10px;
  color: var(--text);
}
.tgi-callout p { font-family: 'Lora', serif; font-style: italic; color: var(--text); opacity: 0.88; margin-bottom: 22px; }

/* ================= SELECTOR (jukebox) ================= */
.selector { background: var(--bg-deep); }

.selector-genres {
  max-width: var(--max);
  margin: 0 auto 28px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  padding: 0;
}
.selector-genres li { list-style: none; display: block; }
.selector-genre {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elevated);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  width: 100%;
  min-height: 48px;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.selector-genre:hover { border-color: var(--ember); }
.selector-genre.active {
  background: var(--ember);
  color: var(--bg);
  border-color: var(--ember);
}
.selector-genre:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

.selector-player {
  max-width: var(--max);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.selector-player iframe { display: block; width: 100%; border: 0; }

@media (max-width: 480px) {
  .selector-genres { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
  .selector-genre { font-size: 11px; padding: 10px 8px; min-height: 40px; }
}

/* ================= SHOWS ================= */
.shows { background: var(--bg); }
.show-list {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
}
.show-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.show-row:last-child { border-bottom: none; }
.show-row.placeholder { opacity: 0.65; }
/* `display: grid` above overrides the browser's default for [hidden],
   so make sure rows hidden via the attribute actually disappear. */
.show-row[hidden] { display: none; }
.show-date {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  text-align: left;
}
.show-date .month {
  display: block;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--ember);
}
.show-date .year {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.show-venue {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}
.show-venue .tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--bg);
  margin-left: 8px;
  vertical-align: middle;
}
.show-loc {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-muted);
}
.show-link {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson-text);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(199, 59, 54, 0.14);
  transition: background 150ms, color 150ms;
  white-space: nowrap;
}
.show-link:hover {
  background: var(--crimson);
  color: var(--text);
}
.show-row.international .show-date .month { color: var(--plum-text); }

.chip-list {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.chip-list li {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elevated);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
}

/* Brooklyn underground photo strip */
.underground-photos {
  max-width: var(--max);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.underground-photos figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
}
.underground-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.underground-photos figure:hover img { transform: scale(1.04); }

/* ================= GALLERY ================= */
.gallery { background: var(--bg-deep); color: var(--text); }
.gallery .eyebrow { color: var(--ember); }
.gallery h2 { color: var(--text); }
.gallery .sub { color: var(--text-muted); }
.gallery .sub a { color: var(--ember); border-bottom: 1px solid var(--ember); }

.epk-downloads {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.epk-card {
  display: block;
  padding: 32px 30px 28px;
  background: var(--crimson);
  color: var(--text);
  border-radius: var(--radius);
  transition: transform 200ms, box-shadow 200ms, background 200ms;
  box-shadow: 0 10px 30px rgba(140, 33, 32, 0.35);
  position: relative;
  overflow: hidden;
}
.epk-card.compact {
  background: var(--ember);
  color: var(--bg);
  box-shadow: 0 10px 30px rgba(208, 99, 78, 0.4);
}
.epk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  color: var(--text);
}
.epk-card.compact:hover { color: var(--bg); }
.epk-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
}
.epk-card.compact .epk-badge { background: rgba(14, 7, 16, 0.18); }
.epk-card h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  margin-bottom: 10px;
}
.epk-card p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 20px;
}
.epk-action {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: transform 150ms, background 150ms;
}
.epk-card.compact .epk-action { background: var(--bg); color: var(--text); }
.epk-card:hover .epk-action { transform: translateX(4px); }

.gallery-sep-label {
  max-width: var(--max);
  margin: 0 auto 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  opacity: 0.9;
}

.gallery-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  position: relative;
  cursor: zoom-in;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 7, 16, 0.85);
  color: var(--text);
  border-radius: 999px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 200ms, transform 200ms;
  pointer-events: none;
}
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 2, 6, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 80px 90px;
}
.lightbox.open { display: flex; animation: fadeIn 180ms ease; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 250ms ease;
}
.lightbox-image.visible { opacity: 1; }
.lightbox-spinner {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(244, 236, 221, 0.2);
  border-top-color: var(--ember);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: spin 900ms linear infinite;
}
.lightbox-spinner.visible { opacity: 1; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.lightbox-caption {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text);
  opacity: 0.82;
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  max-width: 680px;
}
.lightbox-download {
  margin-top: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ember);
  padding: 10px 22px;
  border-radius: 999px;
  transition: transform 150ms, background 150ms, color 150ms;
}
.lightbox-download:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(244, 236, 221, 0.1);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background 150ms, transform 150ms;
  font-family: 'Poppins', sans-serif;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--ember);
  color: var(--bg);
  transform: scale(1.06);
}
.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 30px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
  padding-bottom: 4px;
}
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ================= CONTACT ================= */
.contact { background: var(--bg); }
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--bg-elevated);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-faint);
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.contact-form select option { background: var(--bg-elevated); color: var(--text); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(208, 99, 78, 0.22);
}
.contact-form textarea { resize: vertical; min-height: 120px; font-family: 'Lato', sans-serif; }
.contact-form button { justify-self: start; margin-top: 8px; }

/* Contact primary column holds the form + success/error panes */
.contact-primary { display: block; }

/* Hide the form when we move into sent/error state */
.contact-primary[data-state="sent"]  .contact-form,
.contact-primary[data-state="error"] .contact-form { display: none; }

/* Success confirmation card */
.contact-success {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  background: var(--bg-elevated);
  padding: 44px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-success[hidden] { display: none; }
.contact-success .eyebrow { margin: 0; }
.contact-success h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.contact-success p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: 42ch;
}
.contact-success button { margin-top: 8px; }
.contact-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(208, 99, 78, 0.35);
  margin-bottom: 4px;
}

/* Error panel */
.contact-error {
  display: grid;
  gap: 14px;
  justify-items: start;
  background: var(--bg-elevated);
  padding: 28px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--crimson-text);
}
.contact-error[hidden] { display: none; }
.contact-error .eyebrow { color: var(--crimson-text); margin: 0; }
.contact-error p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.contact-error a { color: var(--ember); font-weight: 700; }

.contact-cards { display: grid; gap: 12px; }
.contact-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  transition: transform 150ms, box-shadow 150ms;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.contact-card strong {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.contact-card .eyebrow { color: inherit; opacity: 0.78; margin: 0; }
.contact-card.orange { background: var(--ember); color: var(--bg); }
.contact-card.magenta { background: var(--crimson); color: var(--text); }
.contact-card.gold { background: var(--plum); color: var(--text); }
.contact-card.violet { background: var(--plum-text); color: var(--text); }
.contact-card.teal { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border-strong); }
a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  color: inherit;
}
.contact-card.static { cursor: default; }

/* ================= FOOTER ================= */
.footer {
  background: var(--bg-hero);
  color: var(--text);
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.footer-tag {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--ember);
  font-size: 14px;
}
.footer-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 820px) {
  section { padding: 80px 22px; }
  .nav { padding: 14px 20px; }

  /* Show the hamburger; convert nav-links into a slide-down panel */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 18px;
    background: rgba(14, 7, 16, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 14px;
    padding: 14px 4px;
    letter-spacing: 0.14em;
    border-bottom: 1px solid rgba(244, 236, 221, 0.08);
    text-shadow: none;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; } /* drop the underline animation in the panel */

  /* Hero on mobile: photo gets the upper portion (face visible),
     text content anchored to the lower portion. Hide the video to save
     battery + data; the poster image carries the visual on phones. */
  .hero { align-items: flex-end; }
  .hero-video { display: none; }
  .hero-photo {
    /* Shift focal point up so the face occupies the visible top region */
    background-position: center 28%;
  }
  .hero-overlay {
    /* Re-weight the gradient so the bottom is darker (where the text now sits)
       and the upper half is lighter (so the face reads clearly) */
    background:
      linear-gradient(
        180deg,
        rgba(14, 7, 16, 0.20) 0%,
        rgba(14, 7, 16, 0.10) 35%,
        rgba(14, 7, 16, 0.55) 60%,
        rgba(14, 7, 16, 0.94) 100%
      );
  }
  .hero-content {
    padding: 0 22px 72px;
    transform: none;
  }
  /* Hide the kicker on mobile — it tends to wrap awkwardly at narrow widths */
  .hero-kicker { display: none; }
  /* Reduce the title slightly so it occupies less vertical real estate */
  .hero-title { font-size: clamp(64px, 16vw, 110px); }

  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-photo { aspect-ratio: 4 / 3; }

  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .sets-grid { grid-template-columns: 1fr; gap: 24px; }

  .show-row { grid-template-columns: 90px 1fr; gap: 14px; }
  .show-date .month { font-size: 18px; }

  .epk-downloads { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox { padding: 40px 16px 80px; }
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-prev:hover,
  .lightbox-next:hover { transform: scale(1.06); }
  .lightbox-close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 26px; }
  .gallery-zoom { opacity: 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 22px; }

  .footer-inner { flex-direction: column; text-align: center; }

  /* Horizontal scrolling photo strip on tablet and below */
  .underground-photos {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .underground-photos figure {
    flex: 0 0 60%;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .chip-list { gap: 8px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .chip-list li { font-size: 11px; padding: 10px 8px; min-height: 40px; }

  .underground-photos figure { flex: 0 0 80%; }
}
