/* ==========================================================================
   Seminar Stack — "The Hub" (speculative concept study)
   The whole page runs like a subway system:
   · one main line down the page (fixed route rail, scrollspy "you are here")
   · numbered station roundels in the nav and on every section
   · Seminars + TapeStack = the gold EXPRESS stops (their margin vertical)
   · Network = the interchange: six color-coded partner lines with real logos
   ========================================================================== */

:root {
  /* backgrounds */
  --bg-page: #07080c;
  --bg-alt: #0b0e14;
  --bg-card: #10141d;
  --bg-strip: #090b10;
  --bg-light: #e9ebef;

  /* text */
  --text-primary: #eef0f4;
  --text-bright: #f4f6fa;
  --text-secondary: #c3cadb;
  --text-muted: #a9b1c2;
  --text-faint: #7b8294;
  --text-nav: #c6cddc;
  --ink: #14161c;
  --ink-soft: #3d4250;

  /* accent blues */
  --brand: #2a4a94;
  --brand-hover: #35589f;
  --accent: #8fb0f5;
  --pale: #c3d2f2;
  --pale-2: #cdd9f3;
  --ribbon: #1b2c55;
  --panel-start: #101a30;

  /* the express line (seminars vertical) */
  --gold: #f2c14e;
  --gold-deep: #c9962e;
  --gold-pale: #f5d78f;

  /* hairlines */
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-accent: rgba(143, 176, 245, 0.28);

  /* type */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, sans-serif;

  /* layout */
  --max: 1140px;
  --gutter: clamp(16px, 4.5vw, 36px);
  --section-y: clamp(64px, 9vw, 110px);
}

/* --------------------------------------------------------------- reset --- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

a:hover { color: #ffffff; }

button { font: inherit; }

::selection { background: #24407c; color: #fff; }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* fixed film-grain overlay, sits above content */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- animations --- */

@keyframes ssMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes ssPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------- shell ----- */

.page {
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 85% -120px, rgba(42, 74, 148, 0.28), transparent 62%),
    radial-gradient(900px 700px at -140px 34%, rgba(42, 74, 148, 0.12), transparent 60%),
    var(--bg-page);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section {
  padding: var(--section-y) var(--gutter);
  /* land the section's heading ~44px under the sticky header: the margin
     compensates for the section's own top padding, so every stop snaps to
     a constant 118px from the viewport top */
  scroll-margin-top: calc(118px - clamp(64px, 9vw, 110px));
}

.section--alt { background: var(--bg-alt); }

/* ------------------------------------------------------- shared type ----- */

.kicker {
  margin: 0 0 14px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.lede {
  margin: 0 0 36px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
}

/* gradient text fills */
.grad {
  color: var(--text-bright);
  background: linear-gradient(180deg, #ffffff 0%, #d3d9e3 55%, #8b93a2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad--deep {
  background: linear-gradient(180deg, #ffffff, #cad0da 55%, #79808e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* express-line gold — Seminars & TapeStack headliners */
.grad-gold {
  color: var(--gold-pale);
  background: linear-gradient(180deg, #ffffff 0%, var(--gold-pale) 52%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------- station roundels ------ */

.rr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  flex: none;
}

.rr--gold {
  background: var(--gold);
  color: #14161c;
}

/* roundel inline in a section kicker */
.rr--k {
  width: 20px;
  height: 20px;
  font-size: 11px;
  margin-right: 10px;
  vertical-align: -5px;
}

.nav .rr { margin-right: 8px; }

/* ------------------------------------------------------ concept ribbon --- */

.ribbon {
  background: var(--ribbon);
  padding: 9px clamp(16px, 4vw, 32px);
}

.ribbon p {
  margin: 0 auto;
  max-width: var(--max);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pale-2);
  line-height: 1.5;
}

.ribbon a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------ header ----- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.85);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex: none;
}

.header__logo img {
  height: 54px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  margin-left: auto;
  scrollbar-width: none;
  /* scroll affordance: content dissolves at whichever edge overflows.
     main.js drives the two vars from the scroll position. */
  --fadeL: 0px;
  --fadeR: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fadeL), #000 calc(100% - var(--fadeR)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fadeL), #000 calc(100% - var(--fadeR)), transparent 100%);
}

.nav::-webkit-scrollbar { display: none; }

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-nav);
  white-space: nowrap;
}

.nav a:hover { color: #ffffff; }

/* --------------------------------------------------- route rail (spy) ---- */
/* the main line, pinned to the left edge on wide screens                    */

.rail {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}

@media (min-width: 1320px) {
  .rail { display: flex; }
}

/* per-segment connectors: solid revenue track, dashed staff track */
.rail__stop::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 19px;
  background: rgba(143, 176, 245, 0.28);
}

.rail__stop--terminal::before { display: none; }

.rail__stop--staff::before {
  width: 0;
  background: none;
  border-left: 2px dashed rgba(139, 147, 162, 0.55);
}

/* the train: a bright pin that rides the line to whichever station is live */
.rail__train {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px 2px rgba(143, 176, 245, 0.8);
  transition: top 0.6s cubic-bezier(0.3, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.rail__stop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 15px;
}

.rail__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-page);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.rail__stop--gold .rail__dot { border-color: var(--gold); }

.rail__stop:hover .rail__dot { background: rgba(143, 176, 245, 0.45); }
.rail__stop--gold:hover .rail__dot { background: rgba(242, 193, 78, 0.45); }

.rail__stop.is-active .rail__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(143, 176, 245, 0.22);
  transform: scale(1.15);
}

.rail__stop--gold.is-active .rail__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.22);
}

.rail__stop--terminal {
  width: 28px;
  height: 28px;
}

.rail__stop--terminal img {
  width: 26px;
  height: auto;
  display: block;
  position: relative;
}

.rail__name {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 9px;
  background: rgba(7, 8, 12, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-nav);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.rail__stop:hover .rail__name,
.rail__stop:focus-visible .rail__name { opacity: 1; }

/* -------------------------------------------------------- chips/tags ----- */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-nav);
}

.chip--tight {
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(143, 176, 245, 0.45);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--brand);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ----------------------------------------------------------- buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border: 1px solid rgba(143, 176, 245, 0.4);
}

.btn--primary:hover { background: var(--brand-hover); color: #ffffff; }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover { border-color: var(--accent); color: #ffffff; }

/* the seminar library CTA rides the express line */
.btn--library:hover {
  border-color: var(--gold);
  color: var(--gold-pale);
}

.btn--white {
  min-height: 48px;
  background: #ffffff;
  color: var(--bg-alt);
  border: none;
}

.btn--white:hover { background: #d9e2f5; }

.btn--sm {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

/* -------------------------------------------------------------- hero ----- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) clamp(16px, 4.5vw, 36px) clamp(48px, 6vw, 80px);
  scroll-margin-top: 90px;
  overflow: hidden;
}

/* oversized brand watermark */
.hero::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -60px;
  width: 480px;
  height: 480px;
  background: url("https://images.squarespace-cdn.com/content/v1/67c4ba8e37b6d77725e6ade8/8001c953-7389-458b-ac8a-45964cd68816/White+on+Clear+Background.png?format=1500w") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__kicker {
  margin: 0 0 18px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.hero__sub {
  margin: 0 0 20px;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(143, 176, 245, 0.35);
  border-radius: 3px;
  background: rgba(36, 64, 124, 0.18);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pale);
  margin-bottom: 28px;
}

.hero__pill:hover { border-color: var(--accent); color: #ffffff; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__figure {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------------------------- marquees ---- */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.marquee--brand {
  border-top: 1px solid var(--line-soft);
  padding: 13px 0;
  background: var(--bg-strip);
}

.marquee--sponsors {
  padding: 11px 0;
  background: var(--bg-alt);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ssMarquee 30s linear infinite;
}

.marquee--sponsors .marquee__track {
  animation: ssMarquee 56s linear infinite reverse;
}

.marquee__text {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238, 240, 244, 0.85);
  white-space: nowrap;
  padding-right: 28px;
}

.marquee__half {
  display: flex;
  align-items: center;
  flex: none;
}

.sponsor {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-right: 38px;
  flex: none;
}

/* real logo files, full color. Every file carries different baked-in
   padding, so each chip is a measured crop window: the wrapper is sized to
   the mark's visible bounds (inline, from build-time measurements) and the
   scaled img is negative-margined inside it — every mark lands at the same
   true visual height, width free. */
.sponsor__logo {
  display: block;
  overflow: hidden;
  flex: none;
}

.sponsor__logo img {
  display: block;
  width: auto;
  max-width: none;
}

.sponsor__diamond {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(143, 176, 245, 0.75);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.sponsor__mono {
  transform: rotate(-45deg);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.sponsor__name {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ----------------------------------------------------------- mission ----- */

.mission__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}

.mission h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.mission__body {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 58ch;
}

.mission__stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.mission__stat-num {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 1;
}

.mission__stat p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 36ch;
}

.mission__link {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* -------------------------------------------------------- next event ----- */

.next__badges {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.next__panel {
  border: 1px solid var(--line-accent);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--panel-start) 0%, var(--bg-alt) 60%);
  padding: clamp(26px, 4.5vw, 52px);
  box-shadow: 0 30px 80px -40px rgba(42, 74, 148, 0.55);
}

.next__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}

.next h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.next__date {
  margin: 0 0 20px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pale);
}

.next__copy {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 56ch;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  max-width: 460px;
}

.countdown__cell {
  border: 1px solid rgba(143, 176, 245, 0.3);
  border-radius: 3px;
  background: rgba(7, 8, 12, 0.55);
  padding: 14px 6px;
  text-align: center;
}

.countdown__cell { perspective: 320px; }

.countdown__num {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1;
  color: var(--text-bright);
  font-variant-numeric: tabular-nums;
}

/* split-flap tick on change, departure-board style */
@keyframes ssFlap {
  0%   { transform: rotateX(-88deg); opacity: 0.15; }
  100% { transform: rotateX(0); opacity: 1; }
}

.countdown__num.tick {
  animation: ssFlap 0.32s cubic-bezier(0.3, 0.8, 0.4, 1);
  transform-origin: 50% 0;
}

.countdown__label {
  margin: 7px 0 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.next__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.next__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.next__actions .btn--primary { padding: 0 26px; }

/* --------------------------------------------------------------- xpo ----- */

.xpo h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.xpo__date {
  margin: 0 0 8px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pale);
}

.xpo__quote {
  margin: 0 0 14px;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 40ch;
}

.xpo__intro {
  margin: 0 0 40px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
}

.xpo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.zones__label {
  margin: 0 0 4px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.zone {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 16px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.zone__rail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid rgba(143, 176, 245, 0.25);
}

.zone__tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}

.zone__body { min-width: 0; }

.zone__what {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.zone__attr {
  margin: 7px 0 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.zone__time {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--pale);
  white-space: nowrap;
  padding-top: 5px;
}

/* the seminars zone rides the express line */
.zone--seminars {
  background: linear-gradient(90deg, rgba(242, 193, 78, 0.06), transparent 70%);
}

.zone--seminars .zone__rail { border-right-color: rgba(242, 193, 78, 0.5); }
.zone--seminars .zone__tag { color: var(--gold); }
.zone--seminars .zone__time { color: var(--gold-pale); }

.zones__end { border-top: 1px solid var(--line); }

.xpo__media {
  display: grid;
  gap: 20px;
}

.poster {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-card);
  padding: 14px;
}

.poster img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  display: block;
}

.poster figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.framed {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.framed img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ------------------------------------------- seminars (express stop) ----- */

.seminars {
  background:
    radial-gradient(900px 480px at 10% -80px, rgba(242, 193, 78, 0.09), transparent 62%),
    radial-gradient(700px 420px at 105% 110%, rgba(242, 193, 78, 0.05), transparent 60%);
}

.seminars .kicker { color: var(--gold); }

.seminars h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.seminars__lede { max-width: 60ch; }

.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* trading cards: click/tap to flip (rotateY), back carries the stats */
.instructor {
  position: relative;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  perspective: 1300px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.instructor:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 193, 78, 0.5);
  border-top-color: var(--gold);
  box-shadow: 0 26px 52px -30px rgba(242, 193, 78, 0.3);
}

.instructor__inner {
  position: relative;
  flex: 1;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.25, 0.7, 0.3, 1);
}

.instructor.is-flipped .instructor__inner { transform: rotateY(180deg); }

.instructor__front {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.instructor img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.instructor__glyph {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
}

/* the card back — stat block, express-line framed */
.instructor__back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, var(--panel-start), var(--bg-alt) 72%);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}

.instructor__back-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(242, 193, 78, 0.35);
  padding-bottom: 10px;
}

.instructor__back-head p {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-primary);
}

.instructor__stats { display: grid; gap: 0; }

.instructor__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 0;
}

.instructor__row span:first-child {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  flex: none;
  padding-top: 2px;
}

.instructor__row span:last-child {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: right;
}

.instructor__quote {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text-secondary);
}

.instructor__slot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pale);
}

.instructor__slot-k {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
}

.instructor__back-foot {
  margin: auto 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 9px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.instructor__meta { padding: 18px 18px 20px; }

.instructor__name {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.instructor__creds {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.aside-quote {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  background: var(--bg-alt);
  padding: 20px 24px;
  max-width: 720px;
}

.aside-quote__line {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text-primary);
}

.aside-quote__note {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ------------------------------------------ tapestack (express stop) ----- */

.tapestack {
  background:
    radial-gradient(800px 440px at 92% -60px, rgba(242, 193, 78, 0.07), transparent 60%),
    var(--bg-alt);
}

.tapestack__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tapestack__head .kicker { margin: 0; color: var(--gold); }

.chip-solid-sm {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--gold);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #14161c;
}

.tapestack h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.tapestack__p1 {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 64ch;
}

.tapestack__p2 {
  margin: 0 0 36px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 64ch;
}

/* featured live slot */
.live {
  position: relative;
  border: 1px solid rgba(143, 176, 245, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
}

.live img {
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.live__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.1) 20%, rgba(7, 8, 12, 0.9) 100%);
}

.live__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.live__badge-on {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--brand);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: ssPulse 1.6s ease-in-out infinite;
}

.live__badge-off {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  background: rgba(7, 8, 12, 0.55);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

.live__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(143, 176, 245, 0.55);
  border-radius: 3px;
  background: rgba(7, 8, 12, 0.55);
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.live__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.live__title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

.live__sub {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

/* replay shelf */
.shelf__label {
  margin: 0 0 4px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 18px;
  margin: 16px 0 28px;
}

.tape {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-page);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.tape:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 176, 245, 0.5);
}

.tape__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tape__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tape__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tape__play span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(7, 8, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tape__play i {
  display: block;
  width: 0;
  height: 0;
  border-left: 13px solid #ffffff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.tape__meta {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tape__title {
  margin: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--text-primary);
}

.tape__tag {
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* checkout + heroes */
.tapestack__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.checkout {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-page);
  padding: clamp(20px, 3vw, 28px);
}

.checkout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout__title {
  margin: 0;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.checkout__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding: 12px 0;
}

.checkout__row--lead span { font-size: 15.5px; color: var(--text-primary); }
.checkout__row--lead span:last-child { font-weight: 600; }

.checkout__row--sub span { font-size: 14.5px; color: var(--text-muted); }

.checkout__row--give {
  padding: 12px 0 14px;
}

.checkout__row--give span {
  font-size: 14.5px;
  color: var(--pale);
  font-weight: 600;
}

.checkout__split {
  display: flex;
  height: 8px;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}

.checkout__split span:first-child { width: 80%; background: #39466a; }
.checkout__split span:last-child { width: 20%; background: var(--accent); }

.checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.heroes {
  border: 1px solid rgba(143, 176, 245, 0.35);
  border-radius: 4px;
  background: linear-gradient(160deg, var(--panel-start), var(--bg-page) 70%);
  padding: clamp(20px, 3vw, 28px);
}

.heroes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.heroes__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(7, 8, 12, 0.6);
  color: #ffffff;
  border: 1px solid rgba(143, 176, 245, 0.5);
}

.heroes__title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-bright);
}

.heroes__sub {
  margin: 0 0 14px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pale);
}

.heroes__copy {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.heroes__foot {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

/* ----------------------------------------- network (the interchange) ----- */

.network {
  background-image: radial-gradient(rgba(143, 176, 245, 0.07) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

/* the lines serving this station */
.network__roundels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.network__roundels .lr { width: 24px; height: 24px; font-size: 10.5px; }

/* line roundel — colored per partner line via --lc */
.lr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lc, var(--accent));
  color: #07080c;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1;
  flex: none;
}

.network__map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  align-items: start;
}

.tline {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(11, 14, 20, 0.85);
  padding: 18px 20px;
}

.tline__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tline__label {
  margin: 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lc, var(--accent));
}

/* stations along a vertical colored rail */
.tline__stations {
  position: relative;
}

.tline__stations::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--lc, var(--accent));
  opacity: 0.55;
}

.station {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.station__marker {
  flex: none;
  width: 22px;
  display: flex;
  justify-content: center;
}

.station__marker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 2px solid var(--lc, var(--accent));
}

.station__logo {
  flex: none;
  display: block;
  overflow: hidden;
  margin-left: auto;
}

.station__logo img {
  display: block;
  width: auto;
  max-width: none;
}

.station__name {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-nav);
  transition: color 0.18s ease;
}

.station:hover .station__name { color: #ffffff; }

.network__foot {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------ impact ----- */

.impact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.impact__lede { max-width: 56ch; margin-bottom: 24px; }

.beneficiaries { display: grid; gap: 0; }

.beneficiary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 13px 2px;
}

.beneficiary__id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.beneficiary__logo {
  flex: none;
  display: block;
  overflow: hidden;
}

.beneficiary__logo img {
  display: block;
  width: auto;
  max-width: none;
}

.beneficiary__name {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.beneficiary__tag {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.impact__foot {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.impact__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  align-self: stretch;
  min-height: 320px;
}

.impact__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------------------------------- back of house (light) */

.ops {
  background: var(--bg-light);
}

.ops .kicker { color: var(--brand); }

.ops h2 { color: var(--ink); }

.ops__lede {
  margin: 0 0 36px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

.ops__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
}

.opscard {
  background: #ffffff;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opscard__num {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #8b93a2;
}

.opscard__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.opscard__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}

.opscard__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ------------------------------------------------------------ ledger ----- */

.ledger__lede { max-width: 60ch; }

.ledger__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.ledcard {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-alt);
  padding: 22px;
}

.ledcard__key {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(143, 176, 245, 0.5);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.ledcard__head {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-primary);
}

.ledcard__items { display: grid; gap: 0; }

.ledcard__items p {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.verify {
  border: 1px solid rgba(143, 176, 245, 0.3);
  border-radius: 4px;
  background: var(--bg-alt);
  padding: 22px 24px;
  max-width: 820px;
}

.verify__title {
  margin: 0 0 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pale);
}

.verify p:not(.verify__title) {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.verify p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ footer ----- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4.5vw, 36px) 40px;
  background: var(--bg-page);
}

.footer__hash {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

/* line-map recap: the whole route, one strip */
.footer__route {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 6px;
  padding: 10px 0;
  width: fit-content;
  max-width: 100%;
}

.footer__route a {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
}

/* segment connectors between stops; dashed into the staff zone */
.footer__route a::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: rgba(143, 176, 245, 0.3);
}

.footer__route a:first-child::before { display: none; }

.footer__route a.route--staff::before {
  height: 0;
  background: none;
  border-top: 2px dashed rgba(139, 147, 162, 0.55);
}

.footer__route .rr { width: 19px; height: 19px; font-size: 10.5px; }

/* ---- */

.footer__id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0 30px;
}

.footer__id img {
  height: 58px;
  width: auto;
  display: block;
}

.footer__id p {
  margin: 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer__legal {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 76ch;
}

/* -------------------------------------------- staff zone (stops 7 & 8) --- */
/* Back of house + Ledger are non-revenue stops: hollow dashed roundels,
   dashed track, striped boundary, muted accents. For the team, not the demo. */

.rr--staff {
  background: transparent;
  border: 1.5px dashed rgba(139, 147, 162, 0.75);
  color: #8b93a2;
}

.nav a.nav--staff { color: #969db0; }
.nav a.nav--staff:hover { color: #ffffff; }

.rail__stop--staff .rail__dot {
  border-color: #8b93a2;
  border-style: dashed;
}

.rail__stop--staff:hover .rail__dot { background: rgba(139, 147, 162, 0.4); }

.rail__stop--staff.is-active .rail__dot {
  background: #8b93a2;
  box-shadow: 0 0 0 4px rgba(139, 147, 162, 0.25);
}

.staff-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 3px 9px;
  border: 1px dashed rgba(139, 147, 162, 0.6);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b93a2;
  vertical-align: 2px;
}

.staff-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 16px;
  background: repeating-linear-gradient(135deg, rgba(139, 147, 162, 0.2) 0 10px, transparent 10px 24px);
  border-top: 1px solid var(--line-soft);
}

.staff-divider__chip {
  background: var(--bg-page);
  border: 1px dashed rgba(139, 147, 162, 0.7);
  border-radius: 3px;
  padding: 6px 14px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* muted accents inside the staff zone */
.ops .kicker { color: #5c6270; }

.opscard__tag {
  border-color: #8b93a2;
  color: #6a7180;
}

.ledger .kicker { color: #8b93a2; }

.ledcard__key {
  border-color: rgba(139, 147, 162, 0.5);
  color: var(--text-muted);
}

.verify { border-color: rgba(139, 147, 162, 0.4); }

.verify__title { color: #b4bac6; }

/* ----------------------------------------------- tapes that play here --- */

/* compact playable row, placed where a tape is contextually relevant */
.minitape {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: 20px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.minitape:hover {
  border-color: rgba(143, 176, 245, 0.5);
  transform: translateY(-2px);
}

.minitape__thumb {
  position: relative;
  flex: none;
  width: 104px;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
}

.minitape__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.minitape__thumb i {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 12px solid #ffffff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  filter: drop-shadow(0 0 6px rgba(7, 8, 12, 0.9));
}

.minitape__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.minitape__k {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.minitape__t {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--text-primary);
}

/* tiny tape chip inside an XPO zone row */
.zone__tape {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  min-height: 32px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid rgba(143, 176, 245, 0.45);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.zone__tape:hover { border-color: var(--accent); color: #ffffff; }

.zone__tape i {
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

/* the theater: in-page player, nothing leaves the platform */
.theater {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
}

.theater[hidden] { display: none; }

.theater__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 12, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theater__panel {
  position: relative;
  width: min(960px, 100%);
}

.theater__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 2px 10px;
}

.theater__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(242, 193, 78, 0.6);
  border-radius: 3px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.theater__title {
  margin: 0;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theater__close {
  flex: none;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.theater__close:hover { border-color: var(--accent); color: #ffffff; }

.theater__frame {
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.theater__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.theater__foot {
  margin: 10px 2px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

html.theater-open { overflow: hidden; }

/* ------------------------------------------------------- mobile tuning --- */

@media (max-width: 640px) {
  .header__inner { min-height: 60px; gap: 12px; }
  .header__logo img { height: 38px; }
  .footer__id img { height: 46px; }
  .hero::before { width: 320px; height: 320px; top: -40px; left: -50px; }
  .sponsor__logo { transform: scale(0.76); transform-origin: left center; }
  .station__logo { transform: scale(0.85); transform-origin: right center; }
  .beneficiary__logo { transform: scale(0.85); transform-origin: left center; }
  .zone { gap: 12px; }
  .live__foot { align-items: stretch; flex-direction: column; }
  .live__foot .btn { align-self: flex-start; }
}

/* ------------------------------------------------- preview flag states --- */

/* showMarquee = false */
html[data-marquee="off"] .marquee { display: none; }

/* liveNow: default false -> show the "next live" badge, hide "LIVE NOW" */
.live__badge-on { display: none; }
html[data-live="on"] .live__badge-on { display: inline-flex; }
html[data-live="on"] .live__badge-off { display: none; }

.live__title--on,
.live__sub--on { display: none; }
html[data-live="on"] .live__title--off,
html[data-live="on"] .live__sub--off { display: none; }
html[data-live="on"] .live__title--on { display: block; }
html[data-live="on"] .live__sub--on { display: block; }

/* heroesVerified: default false -> locked */
.heroes__badge--verified,
.heroes__copy--verified { display: none; }
html[data-heroes="verified"] .heroes__badge--locked,
html[data-heroes="verified"] .heroes__copy--locked { display: none; }
html[data-heroes="verified"] .heroes__badge--verified {
  display: inline-flex;
  background: var(--brand);
}
html[data-heroes="verified"] .heroes__copy--verified { display: block; }
