/* =====================================================================
   The Season We Were Champions — story styles
   Everything is scoped under .story so it can't collide with CMS styles.

   Layout concept: a 1977 scrapbook read on scroll — white paper pages
   framed in Marquette gold, sticky collages that the "camera" pans
   across, and an arena scoreboard for the two Final Four games.
   ===================================================================== */

:root {
  /* Color */
  --mu-gold:   #FFCC00;  /* Marquette gold — frames, highlights */
  --mu-navy:   #003366;  /* Marquette blue — headings, ink accents */
  --mu-sky:    #1B8FCC;  /* print-edition light blue — labels, links */
  --mu-night:  #081A30;  /* arena dark — scoreboard chapters */
  --mu-ink:    #15233A;  /* body text, navy-biased near-black */
  --mu-muted:  #56657B;  /* captions, metadata */
  --mu-paper:  #FFFFFF;  /* page */
  --mu-rule:   #DCE2EA;

  /* Type */
  --f-display: "Shrikhand", "Cooper Black", Georgia, serif;          /* 70s display, used sparingly */
  --f-head:    "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; /* clipping headlines, labels, scoreboard */
  --f-body:    "Newsreader", Georgia, "Times New Roman", serif;     /* reading text */
  --f-type:    "Courier Prime", "Courier New", Courier, monospace;  /* typewriter: the resignation letter */
  --mu-newsprint: #F1ECE0;  /* clipping paper */
  --mu-letter:    #FBF8F0;  /* letter paper */

  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1.075rem, 1.02rem + 0.25vw, 1.2rem);
  --step-1:  clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
  --step-2:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-3:  clamp(2.3rem, 1.7rem + 3vw, 4.2rem);
  --step-4:  clamp(3rem, 2rem + 5vw, 6.5rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --frame: clamp(8px, 1.2vw, 16px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

body { background: var(--mu-paper); color: var(--mu-ink); }

.story, .story * { box-sizing: border-box; }
.story [hidden] { display: none !important; }
.story {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--mu-ink);
  background: var(--mu-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.story img { display: block; max-width: 100%; height: auto; }
.story a { color: inherit; }
.story :focus-visible { outline: 3px solid var(--mu-sky); outline-offset: 3px; }
.story h1, .story h2, .story h3 { text-wrap: balance; margin: 0; }
.story [id^="scene-"], .story #intro, .story #scenes { scroll-margin-top: 60px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.eyebrow, .byline, .scene-no {
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: var(--step--1);
  margin: 0;
}

/* ---------- Prose ---------- */
.prose { max-width: 36rem; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.leadin {
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05em;
  color: var(--mu-navy);
}
.step-quote {
  margin: .4em 0 0;
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.35;
  color: var(--mu-navy);
  padding-left: .8em;
  border-left: 4px solid var(--mu-gold);
}
.step-quote--big { font-size: var(--step-2); border-left: 0; padding: 0; font-style: normal; font-weight: 500; }
.step-cite { font-family: var(--f-head); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--mu-sky); margin-top: .8em !important; }

/* =====================================================================
   HERO — print-spread echo: headline lockup left, cover collage right,
   gold frame. Stacks to headline-then-cover on phones.
   ===================================================================== */
.hero {
  background: var(--mu-gold);
  padding: var(--frame);
}
/* Masthead: wordmark + issue line, the white strip at the top of the
   gold frame, ruled off from the opener like the top of a magazine page. */
.masthead {
  background: var(--mu-paper);
  padding-block: .9rem .8rem;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .4rem;
  border-bottom: 2px solid var(--mu-navy);
}
.masthead__logo { width: clamp(9.5rem, 7rem + 8vw, 15rem); height: auto; }
.masthead__issue {
  margin: 0;
  display: flex; align-items: baseline; gap: .55em;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: clamp(.78rem, .72rem + .3vw, .95rem);
  color: var(--mu-navy); white-space: nowrap;
}
.masthead__date { font-size: 1.3em; font-weight: 700; letter-spacing: .12em; }
.masthead__sep { color: var(--mu-gold); font-weight: 700; }
/* Small phones: center the stack. */
@media (max-width: 479px) {
  .masthead { align-items: center; }
}

.hero__frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--mu-paper);
}
.hero__text {
  padding-block: clamp(2rem, 6vw, 4rem) 1.5rem;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1rem;
  container-type: inline-size;
}
.hero__text .eyebrow { color: var(--mu-sky); }
.hero__title {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(.5rem, 1.5vw, 1rem);
  margin: .25rem 0 .25rem;
}
.hero__title-lead {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .32em; margin-right: -.32em; /* keep spaced caps optically centered */
  font-size: clamp(1rem, 1rem + 1.6vw, 2.1rem); line-height: 1.1;
  font-size: clamp(.95rem, 5.6cqi, 2.1rem); /* scales with the text column so it never overflows */
  color: var(--mu-sky);
}

.hero__title-lead { white-space: nowrap; }
.hero__lockup {
  width: min(100%, 24rem);
  height: auto;
}
.hero__dek { margin: 0; font-size: var(--step-1); line-height: 1.4; max-width: 30rem; text-wrap: pretty; }
.byline { color: var(--mu-muted); max-width: 30rem; }
.hero__cue {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none; color: var(--mu-navy);
  border-bottom: 3px solid var(--mu-gold); padding-bottom: 2px; margin-top: .25rem;
  min-height: 44px; display: inline-flex; align-items: center; /* touch target */
}
.hero__media {
  margin: 0;
  padding-block: .5rem clamp(1.5rem, 5vw, 3rem);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: grid; place-items: center;
}
.hero__media img { width: min(100%, 30rem); height: auto; }

@media (min-width: 900px), (min-width: 640px) and (orientation: landscape) {
  .hero__frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100svh - 2 * var(--frame) - 6.5rem); /* leave room for the masthead */
    align-items: center;
  }
  .hero__text { padding-block: 3rem; padding-left: max(2.5rem, var(--gutter)); padding-right: 1.5rem; }
  .hero__lockup { width: min(100%, 32rem, calc((100svh - 22rem) * 1.077)); min-width: 16rem; }
  .hero__media { padding: 2rem max(2.5rem, var(--gutter-r)) 2rem 1rem; }
  .hero__media img { width: auto; max-width: 100%; max-height: calc(100svh - 2 * var(--frame) - 10.5rem); }
  .masthead { padding-left: max(2.5rem, var(--gutter)); padding-right: max(2.5rem, var(--gutter-r)); }
}
@media (orientation: landscape) and (max-height: 560px) {
  .masthead { padding-block: .5rem; gap: .2rem; }
  .masthead__logo { width: 8.5rem; }
  .hero__text { gap: .6rem; padding-block: 1.5rem; }
  .hero__lockup { width: min(100%, calc((100svh - 13rem) * 1.077)); min-width: 9rem; }
  .hero__dek { font-size: var(--step-0); }
}

/* =====================================================================
   INTRO
   ===================================================================== */
.intro {
  padding-block: clamp(4rem, 10vw, 8rem);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(2.5rem, 6vw, 4.5rem);
}
.intro__hook { text-align: center; }
.intro__q {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: var(--step-3); line-height: .95; color: var(--mu-navy); margin: 0;
}
.intro__a {
  font-family: var(--f-display); font-size: calc(var(--step-4) * 1.25); line-height: 1;
  color: var(--mu-gold); -webkit-text-stroke: 2px var(--mu-navy); text-shadow: 6px 6px 0 var(--mu-navy);
  margin: .15em 0 0; transform: rotate(-4deg);
}
.prose--intro { font-size: var(--step-1); line-height: 1.55; }
.prose--intro p:first-child::first-letter {
  float: left; font-family: var(--f-display); color: var(--mu-navy);
  font-size: 3.4em; line-height: .8; padding: .08em .08em 0 0;
}

/* Reveal: content is visible at rest; JS adds a small stamp-in when it enters. */
.js [data-reveal].is-in { animation: stamp .55s var(--ease) both; }
@keyframes stamp { from { transform: scale(1.25) rotate(-8deg); } to { transform: scale(1) rotate(-4deg); } }
.js .pullquote[data-reveal].is-in { animation: rise .7s var(--ease) both; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* =====================================================================
   SCENES HEADING + INDEX
   ===================================================================== */
.scenes-head { background: var(--mu-gold); padding: var(--frame); }
.scenes-head__inner {
  background: var(--mu-navy); color: var(--mu-paper);
  padding-block: clamp(3rem, 8vw, 6rem);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); justify-items: center;
}
.scenes-head__title {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: var(--step-1); line-height: 1.1;
}
.scenes-head__num {
  font-family: var(--f-display); font-size: clamp(7rem, 4rem + 18vw, 15rem); line-height: .9;
  color: var(--mu-gold); letter-spacing: 0; text-shadow: 6px 6px 0 var(--mu-sky);
}
.scene-index {
  list-style: none; margin: 0; padding: 0; width: 100%; max-width: 56rem;
  display: grid; grid-template-columns: minmax(0, 1fr);
  column-gap: 3rem;
  border-top: 1px solid rgb(255 255 255 / .25); padding-top: 1rem;
}
/* Two columns read down (1–5, 6–10); every entry is one line at the same height. */
@media (min-width: 640px) {
  .scene-index { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
}
.scene-index li { border-bottom: 1px solid rgb(255 255 255 / .12); }
.scene-index a {
  display: flex; gap: .75rem; align-items: baseline; text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: var(--step-1); text-transform: uppercase; letter-spacing: .03em;
  line-height: 1.2; padding: .55rem 0; color: var(--mu-paper);
}
@media (min-width: 640px) {
  .scene-index a { white-space: nowrap; font-size: clamp(1.15rem, .9rem + 1vw, 1.6rem); }
}
@media (max-width: 639px) {
  .scene-index a { font-size: 1.15rem; }
}
.scene-index a:hover { color: var(--mu-gold); }
.scene-index__n { color: var(--mu-gold); font-variant-numeric: tabular-nums; min-width: 1.6em; }

/* =====================================================================
   SCENE RAIL — fixed progress nav while inside the scenes
   ===================================================================== */
.rail {
  position: fixed; z-index: 30;
  left: 0; right: 0; top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  background: var(--mu-navy); color: var(--mu-paper);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px;
  transform: translateY(-110%); transition: transform .35s var(--ease);
  font-family: var(--f-head);
}
.rail.is-on { transform: none; }
.rail__now { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rail__now-n { color: var(--mu-gold); margin-right: .35em; }
.rail__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; flex: none; }
.rail__list a {
  display: grid; place-items: center; width: 22px; height: 22px; font-size: .78rem; font-weight: 700;
  text-decoration: none; color: rgb(255 255 255 / .6); border-radius: 2px;
  font-variant-numeric: tabular-nums;
}
.rail__list a.is-done { color: var(--mu-paper); }
.rail__list a.is-current { background: var(--mu-gold); color: var(--mu-navy); }
@media (max-width: 599px) {
  .rail__list a { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .3); }
  .rail__list a span[aria-hidden] { display: none; }
  .rail__list a.is-done { background: rgb(255 255 255 / .7); }
}
@media (min-width: 1100px) {
  .rail {
    top: 50%; right: auto; left: max(14px, env(safe-area-inset-left, 0px)); padding: 10px 8px; min-height: 0;
    transform: translate(-140%, -50%); flex-direction: column; border-radius: 4px; background: var(--mu-navy);
  }
  .rail.is-on { transform: translate(0, -50%); }
  .rail__now { display: none; }
  .rail__list { flex-direction: column; gap: 4px; }
  .rail__list a { width: 28px; height: 28px; font-size: .9rem; }
}

/* =====================================================================
   CHAPTERS — shared
   ===================================================================== */
.chapter { position: relative; }
.tone-paper { background: var(--mu-paper); }
.tone-white { background: #FFFFFF; }
.tone-arena { background: var(--mu-night); color: var(--mu-paper); }

.scene-no { color: var(--mu-sky); }
.scene-title {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: var(--step-3); line-height: .92; letter-spacing: .005em; color: var(--mu-navy);
  margin: .1em 0 .45em;
}
.scene-title--xl { font-size: var(--step-4); }

/* ---------- Sticky chapters (image stage + steps) ---------- */
.chapter--sticky { display: grid; grid-template-columns: minmax(0, 1fr); }
.stage {
  grid-area: 1 / 1;
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  z-index: 0;
}
.stage__media {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .8s var(--ease);
}
.stage__media.is-active { opacity: 1; }
.no-js .stage__media:not(:first-child) { display: none; }
.stage__frame {
  aspect-ratio: var(--ar);
  width: min(94%, calc((100svh - 3rem) * var(--ar)));
  max-width: 100%;
}
.stage__frame img {
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: 0 0;
  transform:
    translate(calc(50% - var(--z, 1) * var(--fx, 50) * 1%), calc(50% - var(--z, 1) * var(--fy, 50) * 1%))
    scale(var(--z, 1));
  transition: transform 1.3s var(--ease);
  will-change: transform;
}
.stage__caption {
  position: absolute; left: var(--gutter); right: var(--gutter-r); bottom: max(12px, env(safe-area-inset-bottom, 0px));
  font-family: var(--f-body); font-style: italic; font-size: var(--step--1); line-height: 1.4;
  color: var(--mu-muted); max-width: 40rem;
  transition: opacity .5s;
}
.js .chapter.is-zoomed .stage__caption { opacity: 0; }

.steps { grid-area: 1 / 1; position: relative; z-index: 2; padding-block: 60vh 50vh; pointer-events: none; }
.step { min-height: 90vh; display: flex; align-items: center; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.step:last-child { min-height: 70vh; }
.step__card {
  pointer-events: auto;
  width: 100%; max-width: 34rem;
  background: rgb(255 255 255 / .96);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 0 var(--mu-rule), 0 12px 32px -14px rgb(8 26 48 / .35);
  border-top: 6px solid var(--mu-gold);
  transition: opacity .4s;
}
/* Dim inactive cards only where text and image sit side by side (below). */

/* Phones: image pinned near the top, text cards ride in from below it. */
@media (max-width: 639px), (max-width: 899px) and (orientation: portrait) {
  .stage__media { place-items: start center; padding-top: calc(56px + env(safe-area-inset-top, 0px)); }
  .stage__frame { width: min(100%, calc((100svh - 40vh) * var(--ar))); }
  /* Extra height = a clear look at each new image/panel before its card arrives. */
  .step { min-height: 120vh; align-items: flex-end; justify-content: center; padding-bottom: 6vh; }
  .stage__caption { display: none; }
  .stage__media.is-active .stage__caption { display: block; position: static; padding: .75rem var(--gutter-r) 0 var(--gutter); }
}

@media (min-width: 900px), (min-width: 640px) and (orientation: landscape) {
  .chapter--sticky { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .stage { grid-area: 1 / 2; }
  .steps { grid-area: 1 / 1; padding-block: 45vh 45vh; }
  .step { padding-left: max(3rem, var(--gutter)); padding-right: 2rem; justify-content: flex-end; }
  .step__card { box-shadow: none; border-top: 0; border-left: 6px solid var(--mu-gold); padding: .25rem 0 .25rem 1.75rem; background: transparent; }
  .js .step:not(.is-active) .step__card { opacity: .3; }
  .stage__frame { width: min(92%, calc((100svh - 4rem) * var(--ar))); }
  .stage__caption { left: 1.5rem; right: 1.5rem; }
}
@media (min-width: 1100px) {
  .step { padding-left: max(6rem, var(--gutter)); }
}

/* Game result chip (scenes 4, 5) */
.result {
  display: inline-flex; align-items: baseline; gap: .5em; margin: 0 0 1rem;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: var(--step--1);
  padding: .2rem .65rem; background: var(--mu-navy); color: var(--mu-paper);
}
.result { white-space: nowrap; }
.result b { font-weight: 800; }
.result span { font-size: 1.25em; font-weight: 700; font-variant-numeric: tabular-nums; }
.result--w b { color: var(--mu-gold); }
.result--l b { color: #FF8A7A; }


/* =====================================================================
   STAGE PANELS — designed moments between images (scenes 3, 4, 6, 7)
   Each panel is complete at rest; animations only play when the panel
   becomes the active layer, and are switched off for reduced motion.
   ===================================================================== */
.stage__media--panel {
  container-type: size;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
.panel {
  width: min(100%, 44rem);
  display: flex; flex-direction: column; gap: .9rem;
}
.panel__label {
  margin: 0;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  font-size: var(--step--1); color: var(--mu-sky);
}
.step__note {
  margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--mu-rule);
  font-style: italic; font-size: var(--step--1); line-height: 1.45; color: var(--mu-muted);
}

/* -- Letter (No. 3) -- */
.letter {
  background: var(--mu-letter); color: #1B1B1B;
  font-family: var(--f-type); line-height: 1.55;
  font-size: clamp(.95rem, min(4.2cqi, 4.4cqh), 1.55rem);
  padding: clamp(1.25rem, 5cqi, 2.5rem) clamp(1.25rem, 6cqi, 2.75rem);
  box-shadow: 0 0 0 1px #E4DCCB, 0 22px 40px -22px rgb(8 26 48 / .5);
  transform: rotate(-1.2deg);
}
.letter p { margin: 0 0 1em; }
.letter__ink { transition: background-size .8s var(--ease); background: linear-gradient(transparent 58%, rgb(255 204 0 / .75) 58%) no-repeat 0 0 / 0% 100%; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.stage__media[data-hl="2"] .letter__line[data-line="2"] .letter__ink { background-size: 100% 100%; }
.letter__close { margin-top: 1.4em !important; }
.letter__sign { font-family: var(--f-body); font-style: italic; font-size: 1.35em; color: var(--mu-navy); margin: 0 !important; }
.letter.is-typing .letter__ch { animation: key .01s linear both; animation-delay: calc(.35s + var(--c) * 38ms); }
@keyframes key { from { opacity: 0; } to { opacity: 1; } }

/* -- Clippings (No. 4) -- */
.panel--clippings { display: grid; width: min(100%, 38rem); }
.clip {
  grid-area: 1 / 1;
  background: var(--mu-newsprint); color: #1D1D1D;
  padding: clamp(1rem, 4.5cqi, 1.75rem);
  border-top: 5px double #1D1D1D;
  box-shadow: 0 18px 36px -20px rgb(8 26 48 / .55);
  transition: transform .7s var(--ease), opacity .5s, filter .5s;
}
.clip[data-clip="1"] { transform: rotate(-2deg) translate(-3%, -4%); z-index: 2; }
.clip[data-clip="2"] { transform: rotate(2.5deg) translate(4%, 8%); z-index: 1; opacity: .55; filter: grayscale(1); }
.stage__media[data-hl="2"] .clip[data-clip="1"] { z-index: 1; opacity: .55; filter: grayscale(1); transform: rotate(-3deg) translate(-5%, -8%); }
.stage__media[data-hl="2"] .clip[data-clip="2"] { z-index: 2; opacity: 1; filter: none; transform: rotate(1.5deg) translate(2%, 4%); }
.clip__kicker { margin: 0; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #555; }
.clip__head {
  margin: .25rem 0 .1rem; font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, min(8cqi, 7cqh), 2.8rem); line-height: .95; letter-spacing: .005em; text-wrap: balance;
}
.clip__sub { margin: 0 0 .7rem; font-family: var(--f-body); font-style: italic; font-size: 1.05rem; }
.clip__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid #1D1D1D; font-family: var(--f-body); font-size: clamp(.9rem, min(3.6cqi, 3.4cqh), 1.1rem); }
.clip__lines li { padding: .35rem 0; border-bottom: 1px solid rgb(0 0 0 / .18); font-variant-numeric: tabular-nums; }

/* -- Tickets (No. 6) -- */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.35rem, 1.4cqh, .6rem); }
.ticket {
  --notch: 9px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: clamp(.45rem, 1.8cqh, .8rem) 1.1rem;
  background: var(--mu-gold); color: var(--mu-navy);
  border-radius: 4px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  font-family: var(--f-head);
}
.ticket__no {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 2px dashed var(--mu-navy); font-weight: 800; font-variant-numeric: tabular-nums;
}
.ticket__body { display: flex; flex-direction: column; min-width: 0; }
.ticket__opp { font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, min(4.6cqi, 4cqh), 1.45rem); line-height: 1; }
.ticket__city { font-size: .85rem; letter-spacing: .04em; opacity: .8; }
.ticket__note { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; line-height: 1.15; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket:last-child { background: var(--mu-navy); color: var(--mu-paper); }
.ticket:last-child .ticket__no { border-color: var(--mu-gold); color: var(--mu-gold); }
/* Narrow stages: note drops under the opponent instead of crowding it. */
@container (max-width: 520px) {
  .ticket { grid-template-columns: auto minmax(0, 1fr); row-gap: .1rem; }
  .ticket__note { grid-column: 2; text-align: left; max-width: none; font-size: .72rem; }
  .ticket__no { grid-row: span 2; }
}
.stage__media.is-active .ticket { animation: punch .5s var(--ease) both; animation-delay: calc(.2s + var(--i) * .32s); }
@keyframes punch { from { transform: translateX(-14px); opacity: .25; } to { transform: none; opacity: 1; } }

/* -- Rant (No. 7) -- */
.panel--rant {
  width: min(100%, 44rem);
  background: var(--mu-gold); color: var(--mu-navy);
  padding: clamp(1.25rem, 6cqi, 2.75rem);
}
.panel--rant .result { align-self: flex-start; margin: 0; }
.rant { margin: 0; display: flex; flex-direction: column; }
.rant__line {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, min(8cqi, 8cqh), 3.4rem); line-height: .98;
}
.rant__line:last-child { font-family: var(--f-display); text-transform: none; font-weight: 400; margin-top: .3em; font-size: clamp(1.4rem, min(7cqi, 7cqh), 3rem); }
.rant__cite { margin: 0; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: var(--step--1); }
.stage__media.is-active .rant__line { animation: rise-in .55s var(--ease) both; animation-delay: calc(.2s + var(--i) * .5s); }
@keyframes rise-in { from { opacity: .12; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

/* Panels on phones: sit in the top part of the screen, above the cards. */
@media (max-width: 639px), (max-width: 899px) and (orientation: portrait) {
  .stage__media--panel { height: 62svh; inset: 0 0 auto; }
  .panel { max-height: 100%; gap: .6rem; }
  .ticket__city { display: none; }
}

/* ---------- Text chapter (scene 2) ---------- */
.chapter--text {
  padding-block: clamp(5rem, 12vw, 9rem);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  border-top: var(--frame) solid var(--mu-gold);
}
.chapter--text__inner { max-width: 60rem; margin: 0 auto; display: grid; gap: 2rem; }
.chapter--text .prose { justify-self: center; width: 100%; }
.text-head { text-align: center; }
.text-head .scene-title { margin-bottom: 0; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; }
.stat dd { margin: 0; font-family: var(--f-display); font-size: var(--step-3); line-height: 1; color: var(--mu-gold); -webkit-text-stroke: 1.5px var(--mu-navy); text-shadow: 4px 4px 0 var(--mu-navy); font-variant-numeric: tabular-nums; }
.stat dt { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: var(--step--1); color: var(--mu-muted); margin-top: .6rem; }
.pullquote { margin: 1rem 0; padding: clamp(1.5rem, 4vw, 3rem); background: var(--mu-navy); color: var(--mu-paper); position: relative; }
.pullquote { max-width: 46rem; justify-self: center; }
.pullquote::before {
  content: "“"; position: absolute; top: -.2em; left: .15em;
  font-family: var(--f-display); font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: var(--mu-gold);
}
.pullquote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.4; font-weight: 500; position: relative; }
.pullquote figcaption { margin-top: 1rem; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--mu-gold); }

/* Lede paragraph with an artifact photo beside it (No. 2 jersey). */
.text-lede { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; justify-items: center; }
.text-figure { margin: 0; width: min(100%, 20rem); }
.text-figure img { width: 100%; height: auto; box-shadow: 0 18px 36px -22px rgb(8 26 48 / .45); }
.text-figure figcaption { margin-top: .9rem; font-style: italic; font-size: var(--step--1); line-height: 1.45; color: var(--mu-muted); }
@media (min-width: 900px) {
  .text-lede { grid-template-columns: minmax(0, 36rem) minmax(0, 20rem); gap: 3.5rem; justify-content: center; align-items: start; }
}

/* Caption-only step (e.g. identifying a front page). */
.step-caption { font-style: italic; color: var(--mu-muted); font-size: var(--step-0); }

/* ---------- Scoreboard chapters (scenes 8, 9) ---------- */
/* A step can swap the board for a photo (Dean Smith in No. 9). */
.stage__photo {
  position: absolute; inset: 0; margin: 0; z-index: 2;
  display: grid; place-items: center;
  padding: 1.5rem var(--gutter-r) 1.5rem var(--gutter);
  opacity: 0; transition: opacity .7s var(--ease);
  pointer-events: none;
}
.stage__photo.is-active { opacity: 1; }
.stage__photo img {
  width: auto; max-width: 100%; max-height: calc(100svh - 5rem);
  border: 6px solid var(--mu-paper); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8);
  transform: rotate(-1.5deg);
}
.board { transition: opacity .6s var(--ease); }
.chapter--board.has-photo .board { opacity: 0; }
.no-js .stage__photo { display: none; }
.chapter--board .stage { display: grid; place-items: center; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.stage__backdrop { position: absolute; inset: 0; }
.stage__backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.1); }
.stage__backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 26 48 / .55), rgb(8 26 48 / .9)); }

.board {
  position: relative; width: min(100%, 34rem);
  background: #050B14; color: var(--mu-paper);
  border: 3px solid var(--mu-gold);
  box-shadow: 0 0 0 6px #050B14, 0 30px 60px -20px rgb(0 0 0 / .7);
  padding: 1.1rem 1.25rem 1rem;
  font-family: var(--f-head);
  text-align: center;
}
.board__event { margin: 0 0 .9rem; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .16em; color: var(--mu-gold); font-weight: 600; }
.board__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; }
.board__team { display: flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 0; }
.board__abbr { font-size: var(--step-1); font-weight: 800; letter-spacing: .08em; }
.board__name { font-size: var(--step--1); color: rgb(255 255 255 / .6); text-transform: uppercase; letter-spacing: .06em; }
.board__score {
  font-size: clamp(3.5rem, 2.5rem + 6vw, 6rem); line-height: 1; font-weight: 700;
  color: #FFB000; text-shadow: 0 0 18px rgb(255 176 0 / .55);
  font-variant-numeric: tabular-nums; min-width: 2ch;
  background: #0E1726; padding: .05em .15em; border-radius: 3px;
}
.board__team--home .board__score { color: var(--mu-gold); }
.board__mid { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.board__clock {
  font-size: var(--step-2); font-weight: 700; color: #FF5A3C; text-shadow: 0 0 12px rgb(255 90 60 / .55);
  font-variant-numeric: tabular-nums; background: #0E1726; padding: 0 .3em; border-radius: 3px;
}
.board__period { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .14em; color: rgb(255 255 255 / .75); font-weight: 600; }
.board__status {
  margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid rgb(255 255 255 / .15);
  font-size: var(--step-1); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--mu-paper);
}
.flip { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: rotateX(90deg); filter: brightness(2); } 100% { transform: none; } }

.chapter--board .step__card { background: rgb(8 26 48 / .94); color: var(--mu-paper); box-shadow: 0 12px 32px -10px rgb(0 0 0 / .6); }
.chapter--board .scene-title { color: var(--mu-gold); }
.chapter--board .scene-no { color: #7CC4EC; }
.chapter--board .leadin { color: var(--mu-gold); }
@media (max-width: 639px), (max-width: 899px) and (orientation: portrait) {
  .chapter--board .stage { align-items: start; padding-top: calc(56px + env(safe-area-inset-top, 0px)); }
  .stage__photo { place-items: start center; padding-top: calc(60px + env(safe-area-inset-top, 0px)); }
  .stage__photo img { max-height: 58svh; }
}
@media (min-width: 900px), (min-width: 640px) and (orientation: landscape) {
  .chapter--board .step__card { background: transparent; box-shadow: none; }
}

/* ---------- Short landscape screens (phones turned sideways) ---------- */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 1099px) {
  .chapter--sticky { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .step { padding-left: max(1.25rem, var(--gutter)); padding-right: 1rem; }
  .scene-title { font-size: clamp(1.6rem, 1rem + 2.6vw, 2.4rem); }
  .chapter--board .stage { padding-top: 52px; }
  .board { padding: .6rem .8rem .7rem; box-shadow: 0 0 0 4px #050B14; }
  .board__event { margin-bottom: .4rem; font-size: .72rem; }
  .board__score { font-size: clamp(2.2rem, 1.5rem + 3.5vw, 3.2rem); }
  .board__clock { font-size: 1.3rem; }
  .board__name { display: none; }
  .board__status { margin-top: .5rem; padding-top: .45rem; font-size: 1rem; }
  .stage__media--panel { padding-top: 52px; }
  .ticket__city { display: none; }
  .ticket { padding-block: .3rem; }
  .ticket__opp { font-size: 1rem; }
}

/* =====================================================================
   CODA + EXTRAS
   ===================================================================== */
.coda { background: var(--mu-gold); padding: var(--frame); }
.coda__inner {
  background: var(--mu-paper);
  padding-block: clamp(4rem, 10vw, 7rem);
  padding-left: var(--gutter); padding-right: var(--gutter-r);
  display: grid; justify-items: center; gap: 2rem; text-align: center;
}
.coda__heading { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: var(--step-0); color: var(--mu-sky); }
.coda__quote { margin: 0; max-width: 44rem; }
.coda__quote blockquote { margin: 0; font-size: var(--step-2); line-height: 1.35; color: var(--mu-navy); }
.coda__quote figcaption { margin-top: 1.5rem; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--mu-sky); }

.extras { padding-block: clamp(3rem, 8vw, 5rem); padding-left: var(--gutter); padding-right: var(--gutter-r); }
.extras__inner { max-width: 60rem; margin: 0 auto; display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.cta {
  display: grid; gap: .6rem; text-decoration: none; padding: 1.75rem;
  background: var(--mu-sky); color: var(--mu-paper); border-radius: 999px 999px 999px 999px / 60% 60% 60% 60%;
  text-align: center; transition: transform .2s var(--ease), background .2s;
}
.cta:hover { transform: rotate(-1.5deg) scale(1.02); background: var(--mu-navy); }
.cta__heading { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: var(--step-2); line-height: 1; }
.cta__text { font-size: var(--step-0); }
.cta__link { font-family: var(--f-head); font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
.bios { font-size: .95rem; color: var(--mu-muted); line-height: 1.55; }
.bios p { margin: 0 0 .9em; }
.bios__heading { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); color: var(--mu-ink); margin-bottom: .8rem; }
.credits { font-style: italic; border-top: 1px solid var(--mu-rule); padding-top: .9em; }

/* =====================================================================
   Reduced motion: images still change and crop to each detail,
   but instantly — no pans, zooms, fades or stamps.
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .story *, .story *::before, .story *::after { animation: none !important; transition: none !important; }
}
