/* ==========================================================================
   The 2026 RxBenefits C.M. Newton Classic
   cmnewtonclassic.com — single stylesheet

   Single-mode dark. No light/dark toggle, no prefers-color-scheme branch.
   White sections are a section treatment (.inverse), not a theme.
   Border radius is 0 everywhere. No shadows. No decorative gradients.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

/* Focus ring: 2px white, 2px offset, square. Never removed. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 0;
}
.inverse :focus-visible { outline-color: var(--ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: #0C0C0C; padding: 14px 20px;
  font-family: var(--font-body); font-weight: var(--weight-ui); font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* --- Colour: site --- */
  --page:          #0C0C0C;
  --surface:       #17171A;
  --text:          #FFFFFF;
  --text-secondary:#9A9AA0;
  --text-body:     #EDEDEE;
  --hairline:      #2E2E32;
  --ink:           #111111;

  /* Accent. Overridden per-page by .theme-legacy-builder. */
  --accent:        #9E1B32;          /* Tide crimson */
  --accent-hover:  #C02240;
  --accent-text:   #FFFFFF;          /* label colour on a filled accent button */
  --wash-rgb:      158, 27, 50;      /* the radial wash, as rgb triplet */

  /* --- Colour: inverse (white-ground) sections --- */
  --inv-bg:        #FFFFFF;
  --inv-text:      #111111;
  --inv-secondary: #5A5A60;
  --inv-body:      #3A3A3E;
  --inv-hairline:  #D9D9DD;

  --focus:         #FFFFFF;

  /* --- Type ---
     Every face comes from the one Adobe Fonts kit (kzy3wgo):
       liquor-store  — display, replaces PF Venue Black
       zuume         — condensed utility, replaces PF Venue Condensed
       bio-sans      — body / UI, replaces Archivo
     No Google Fonts request; the kit is the only webfont load. */
  --font-display:   "liquor-store", "Arial Black", sans-serif;
  --font-condensed: "zuume", "Arial Narrow", sans-serif;
  --font-body:      "bio-sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Data/numerals role. Nothing on these two pages uses it yet, so IBM Plex Mono
     is not requested — add the Google Fonts <link> back when it is. */
  --font-mono:      "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* liquor-store ships a single weight; never synthesise a bolder one. */
  --display-weight: 400;

  /* Buttons, nav links and the hero meta line. The handoff specified Archivo 600;
     bio-sans has a real 600, so this matches the comps with no synthesis. */
  --weight-ui: 600;

  /* Fluid type — anchored to the two artboards, 390px and 1440px. */
  --fs-mascot:     clamp(74px, calc(40.57px + 8.571vw), 164px);
  --fs-h2:         clamp(34px, calc(19.89px + 3.619vw), 72px);
  --fs-h2-sm:      clamp(30px, calc(20.34px + 2.476vw), 56px);
  --fs-h2-lb:      clamp(32px, calc(20.11px + 3.048vw), 64px);
  --fs-h3:         clamp(28px, calc(23.54px + 1.143vw), 40px);
  --fs-card-title: clamp(26px, calc(22.29px + 0.952vw), 36px);
  --fs-coach:      clamp(40px, calc(34.06px + 1.524vw), 56px);
  --fs-stat:       clamp(38px, calc(32.80px + 1.333vw), 52px);
  --fs-vs-lg:      clamp(28px, calc(22.06px + 1.524vw), 44px);
  --fs-body:       clamp(16px, calc(15.63px + 0.095vw), 17px);
  --fs-small:      clamp(13px, calc(12.63px + 0.095vw), 14px);
  --fs-label:      clamp(11px, calc(10.63px + 0.095vw), 12px);
  --fs-button:     15px;

  --lh-mascot: .86;
  --lh-display: .92;

  /* --- Space (8px grid) --- */
  --gutter:  clamp(20px, calc(3.63px + 4.19vw), 64px);
  --section: clamp(64px, calc(52.2px + 3.05vw), 96px);
  --pad-card: clamp(16px, calc(10.06px + 1.52vw), 32px);

  --content-max: 1312px;   /* 1440 canvas − 2 × 64 gutters */
}

/* Legacy Builder page override — campaign colours from the Legacy CU mark.
   Gold carries every filled button on dark ground, with #0C0C0C labels;
   navy fill is never allowed on #0C0C0C (1.44:1). */
.theme-legacy-builder {
  --accent:       #E79700;   /* gold */
  --accent-hover: #FFB227;
  --accent-text:  #0C0C0C;
  --wash-rgb:     0, 45, 95; /* navy */
}
/* On white ground the page's filled buttons may use navy with white text. */
.theme-legacy-builder .inverse,
.inverse.theme-legacy-builder {
  --accent:      #002D5F;
  --accent-hover:#01418A;
  --accent-text: #FFFFFF;
}

/* --------------------------------------------------------------------------
   3. Type primitives
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  line-height: var(--lh-display);
  letter-spacing: .01em;
}

.eyebrow {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: var(--fs-label);
  line-height: 1.2;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.eyebrow--tight { letter-spacing: .24em; }
.inverse .eyebrow { color: var(--inv-secondary); }

.lede   { font-size: var(--fs-body); line-height: 1.55; color: var(--text-body); }
.small  { font-size: var(--fs-small); color: var(--text-secondary); }
.inverse .lede  { color: var(--inv-body); }
.inverse .small { color: var(--inv-secondary); }

.mono { font-family: var(--font-mono); font-weight: 500; }

/* Marker rule — 4px accent, 64px wide (96px in heroes), above an eyebrow. */
.marker {
  width: 64px; height: 4px;
  background: var(--accent);
  margin-bottom: 20px;
}
.marker--hero { width: 96px; }
@media (max-width: 700px) {
  .marker { width: 56px; }
  .marker--hero { width: 56px; }
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section) var(--gutter);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.section--surface { background: var(--surface); }
.section--flush   { padding-left: 0; padding-right: 0; }

.inverse {
  background: var(--inv-bg);
  color: var(--inv-text);
  border-bottom: 0;
}

.wrap { position: relative; max-width: var(--content-max); margin-inline: auto; }

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, calc(8.9px + 5.9vw), 64px);
  align-items: start;
}
.split--center { align-items: center; }

/* Anchor targets clear the 88px sticky bar. */
[id] { scroll-margin-top: 104px; }

/* --------------------------------------------------------------------------
   5. Wash + grain (dark sections only — white sections get neither)
   -------------------------------------------------------------------------- */

[data-wash] > .wash,
[data-wash] > .grain {
  position: absolute; inset: 0; pointer-events: none;
}
.wash {
  background: radial-gradient(
    var(--wash-size, 60% 90%) at var(--wash-at, 0% 100%),
    rgba(var(--wash-rgb), var(--wash-alpha, .4)) 0%,
    rgba(var(--wash-rgb), 0) 64%);
}
.grain {
  opacity: .16;
  mix-blend-mode: overlay;
  background-size: 160px 160px;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Photo scrim — required wherever live text sits over a photo. */
.photo-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05) brightness(.52);
}
.scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(12,12,12,.85) 0%, rgba(12,12,12,.35) 34%, rgba(12,12,12,.92) 100%);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 18px 34px;
  font-family: var(--font-body);
  font-weight: var(--weight-ui);
  font-size: var(--fs-button);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  transition: background-color .14s linear, color .14s linear, border-color .14s linear;
}

.btn--primary { background: var(--accent); color: var(--accent-text); }
.btn--primary:hover { background: var(--accent-hover); }

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  padding: 16px 32px;
}
.btn--secondary:hover { background: var(--text); color: var(--page); }
.inverse .btn--secondary { color: var(--inv-text); border-color: var(--inv-text); }
.inverse .btn--secondary:hover { background: var(--inv-text); color: var(--inv-bg); }

.btn--lg { padding: 20px 38px; }
.btn--sm { padding: 15px 24px; font-size: 14px; }
.btn--sm.btn--secondary { padding: 13px 22px; }

/* No transform, no scale on :active. */
.btn:active { transform: none; }

/* Play triangle inside a button. */
.btn .tri {
  width: 0; height: 0;
  border-left: 11px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

@media (max-width: 700px) {
  .btn { width: 100%; }
  .btn--inline { width: auto; }
}

/* --------------------------------------------------------------------------
   7a. Announcement banner — static, single line, above the nav
   -------------------------------------------------------------------------- */

/* Crimson on both pages: this promotes the game and the on-sale, not the Legacy
   Builder campaign, so it deliberately does NOT follow the page accent. Swap the
   two values below for var(--accent) / var(--accent-text) if it should. */
.ticker {
  background: #9E1B32;
  color: #FFFFFF;          /* 7.9:1 on the crimson */
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding: 9px var(--gutter);
}
.ticker__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 14px;
  max-width: var(--content-max);
  margin-inline: auto;
}
.ticker__logo { height: 20px; width: auto; flex: 0 0 auto; }

.ticker__team,
.ticker__vs,
.ticker__cta {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__vs { letter-spacing: .22em; opacity: .72; }
.ticker__cta { letter-spacing: .2em; }

/* The one intentional exception to the system's zero-radius rule — requested
   directly for this separator. Do not "fix" it back to a square. */
.ticker__dot {
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin: 0 6px;
  background: currentColor;
  border-radius: 50%;
}

@media (max-width: 860px) {
  .ticker__inner { gap: 0 10px; }
  .ticker__team, .ticker__vs, .ticker__cta { font-size: 11px; letter-spacing: .12em; }
  .ticker__logo { height: 16px; }
  .ticker__dot { margin: 0 4px; }
}
/* Narrow phones: let the line wrap rather than hiding the team names. `display:none`
   would drop them from the accessibility tree too, not just from view. */
@media (max-width: 560px) {
  .ticker { padding-block: 7px; }
  /* The line wraps here and the dot strands at the end of row one. It is an empty
     decorative <i>, so hiding it costs nothing in the accessibility tree. */
  .ticker__dot { display: none; }
  .ticker__inner { gap: 2px 8px; }
  .ticker__logo { height: 15px; }
  .ticker__team, .ticker__vs, .ticker__cta { font-size: 10px; letter-spacing: .1em; }
}

/* --------------------------------------------------------------------------
   7. Sticky nav
   -------------------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(12, 12, 12, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.nav__left { display: flex; align-items: center; gap: 48px; min-width: 0; }
.nav__lockup { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.nav__badge-img { height: 56px; width: auto; }
.nav__lockup-rule {
  width: 1px; height: 34px;
  background: rgba(255, 255, 255, .28);
  flex: 0 0 auto;
}
/* Title-sponsor mark, one-colour white, generated from the full-colour art. */
.nav__rx { height: 19px; width: auto; }

.nav__links { display: flex; gap: 30px; }
@media (max-width: 1360px) { .nav__links { gap: 20px; } }
.nav__link {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-body);
  font-weight: var(--weight-ui);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-bottom: 4px solid transparent;
}
/* Active page: label stays white, 4px accent underline. Never colour the label. */
.nav__link[aria-current="page"] { border-bottom-color: var(--accent); }

.nav__toggle { display: none; }
.nav__cta .nav__cta-short { display: none; }

@media (max-width: 1150px) {
  .nav { height: 72px; }
  .nav__badge-img { height: 48px; }
  .nav__lockup { gap: 12px; }
  .nav__rx { height: 16px; }
  .nav__lockup-rule { height: 28px; }
  .nav__left { gap: 20px; }
  .nav__links { display: none; }
  .nav__cta { padding: 15px 18px; width: auto; }
  .nav__cta .nav__cta-long  { display: none; }
  .nav__cta .nav__cta-short { display: inline; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: 0 0 48px;
    border: 0;
  }
  /* Scoped to the icon span: a bare `.nav__toggle span` also matched the
     visually-hidden "Menu" label and gave it bars of its own. */
  .nav__toggle-icon,
  .nav__toggle-icon::before,
  .nav__toggle-icon::after {
    display: block; width: 22px; height: 2px; background: #fff; content: "";
  }
  .nav__toggle-icon { position: relative; }
  .nav__toggle-icon::before { position: absolute; top: -7px; left: 0; }
  .nav__toggle-icon::after  { position: absolute; top: 7px;  left: 0; }
}

.nav__right { display: flex; align-items: center; gap: 12px; }

/* Small phones: the lockup, Tickets and the menu button all have to coexist,
   so the lockup tightens rather than dropping the title sponsor. */
@media (max-width: 560px) {
  .nav__left { gap: 12px; }
  .nav__lockup { gap: 9px; }
  .nav__badge-img { height: 42px; }
  .nav__rx { height: 13px; }
  .nav__lockup-rule { height: 24px; }
  .nav__cta { padding: 14px 13px; font-size: 13px; letter-spacing: .03em; }
  .nav__right { gap: 4px; }
}

/* Full-screen mobile menu panel */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--page);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) var(--gutter);
}
.menu[hidden] { display: none; }
.menu__bar {
  height: 72px; flex: 0 0 72px;
  display: flex; align-items: center; justify-content: space-between;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--hairline);
}
.menu__bar img { height: 48px; width: auto; }
.menu__close {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  font-size: 22px; line-height: 1;
}
.menu__links { display: flex; flex-direction: column; margin-top: 16px; }
.menu__links a {
  display: flex; align-items: center;
  min-height: 48px;
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: var(--weight-ui); font-size: 22px;
  letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}
.menu__links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -4px 0 var(--accent); }
.menu__cta { margin-top: 32px; }

body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video,
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) var(--section);
  max-width: calc(var(--content-max) + 2 * 64px);
  margin-inline: auto;
}
.hero__meta {
  margin-top: 28px;
  font-family: var(--font-body);
  font-weight: var(--weight-ui);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: .02em;
  color: #fff;
}

.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 8px;
}
.matchup__side { display: block; }
.matchup__side--away { text-align: right; }
.matchup__team { display: flex; align-items: center; gap: 18px; }
.matchup__side--away .matchup__team { justify-content: flex-end; }
.matchup__team img { height: 64px; width: auto; }
.matchup__team .eyebrow {
  font-size: 15px; letter-spacing: .34em; color: var(--text-body);
}
.matchup__word {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--fs-mascot);
  line-height: var(--lh-mascot);
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-top: 8px;
}
.matchup__vs {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px;
  border-top: 2px solid var(--accent);
}

@media (max-width: 900px) {
  .hero { min-height: 660px; }
  .hero .scrim {
    background: linear-gradient(180deg,
      rgba(12,12,12,.85) 0%, rgba(12,12,12,.62) 34%, rgba(12,12,12,.94) 100%);
  }
  .hero__inner { padding-top: 96px; }
  .hero__meta { font-size: 15px; }
  .matchup { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
  .matchup__side--away { text-align: left; }
  .matchup__side--away .matchup__team { justify-content: flex-start; flex-direction: row-reverse; }
  .matchup__team img { height: 48px; }
  .matchup__vs { font-size: 20px; }
}

/* --------------------------------------------------------------------------
   9. Coaches
   -------------------------------------------------------------------------- */

.section__head--center { position: relative; text-align: center; margin-bottom: 56px; }
.section__head--center .marker { display: inline-block; margin-inline: auto; }
.section__head--center .lede { max-width: 720px; margin: 20px auto 0; }
.section__head--center .display { margin-top: 14px; }

.section__head--row {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section__head--row .lede { max-width: 420px; }

.coaches {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 40px;
}
.coach {
  border: 1px solid var(--hairline);
  background: var(--surface);
  display: flex; flex-direction: column;
}
.coach__photo { height: 420px; overflow: hidden; }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; }
.coach__body { padding: var(--pad-card); }
.coach__org { display: flex; align-items: center; gap: 14px; }
.coach__org img { height: 32px; width: auto; }
.coach__org .eyebrow { letter-spacing: .34em; }
.coach__name { font-size: var(--fs-coach); margin-top: 14px; }
.coach__facts {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 16px; color: var(--text-body);
}
.coaches__vs {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
}
.coaches__vs i { width: 1px; flex: 1; background: var(--hairline); font-style: normal; }
.coaches__vs b {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--fs-vs-lg);
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .coaches { grid-template-columns: 1fr; gap: 24px; }
  .coaches__vs { flex-direction: row; gap: 20px; }
  .coaches__vs i { width: auto; height: 1px; }
  .coach__photo { height: 240px; }
}

/* --------------------------------------------------------------------------
   10. Bama in Birmingham (inverse)
   -------------------------------------------------------------------------- */

.figure-fill { position: relative; height: 440px; overflow: hidden; }
.figure-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .figure-fill { height: 220px; }
}

/* --------------------------------------------------------------------------
   11. Gallery
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery li { height: 280px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.gallery__progress { display: none; }

@media (max-width: 700px) {
  /* Horizontal swipe carousel with scroll-snap. */
  .gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Break the page gutter so frames run to the screen edge. */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li {
    flex: 0 0 260px;
    height: 200px;
    scroll-snap-align: start;
  }
  .gallery__progress {
    display: grid;
    grid-auto-flow: column;
    gap: 6px;
    margin-top: 16px;
  }
  .gallery__progress span {
    height: 3px;
    background: var(--hairline);
    transition: background-color .15s linear;
  }
  .gallery__progress span[data-active] { background: var(--accent); }
}

/* --------------------------------------------------------------------------
   12. Over the Years
   -------------------------------------------------------------------------- */

.opponents {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.opponents li { display: flex; align-items: center; justify-content: center; height: 88px; }
/* Opponent marks run full colour — no filter. */
.opponents img { max-height: 76px; max-width: 80%; width: auto; object-fit: contain; }

@media (max-width: 900px) {
  .opponents { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .opponents li { height: 64px; }
  .opponents img { max-height: 56px; }
}

/* --------------------------------------------------------------------------
   13. Relive the Action
   -------------------------------------------------------------------------- */

.films { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.film { border: 1px solid var(--hairline); }
.film__trigger {
  display: block; width: 100%; text-align: left;
  border: 0; padding: 0; background: none;
}
.film__poster { display: block; position: relative; height: 340px; overflow: hidden; }
.film__poster img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.4) brightness(.6);
  transition: filter .15s linear;
}
.film__trigger:hover .film__poster img { filter: grayscale(0) brightness(.72); }
.film__cue {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.film__play {
  width: 64px; height: 64px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.film__play i {
  width: 0; height: 0; margin-left: 5px; font-style: normal;
  border-left: 20px solid var(--accent-text);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.film__meta {
  font-family: var(--font-body);
  font-weight: var(--weight-ui); font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
}
.film__body { display: block; padding: 24px; }
.film__title { display: block; font-size: var(--fs-card-title); line-height: 1; }
.film__sub { display: block; font-size: 15px; color: var(--text-secondary); margin-top: 8px; }

@media (max-width: 900px) {
  .films { grid-template-columns: 1fr; }
  .film__poster { height: 200px; }
  .film__play { width: 56px; height: 56px; }
}

/* Vimeo lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: flex; align-items: center; justify-content: center;
  padding: var(--gutter);
  background: rgba(12, 12, 12, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--hairline);
}
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute; top: -56px; right: 0;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  font-size: 22px; line-height: 1; color: #fff;
}

/* --------------------------------------------------------------------------
   14. C.M. Newton spotlight
   -------------------------------------------------------------------------- */

.spotlight { position: relative; min-height: 540px; display: flex; overflow: hidden; }
.spotlight__inner { align-items: center; }
.spotlight > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 70%;
  filter: grayscale(1) brightness(.34);
}
.spotlight__scrim { position: absolute; inset: 0; background: rgba(12, 12, 12, .58); }
.spotlight__inner {
  position: relative;
  width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(32px, 4.4vw, 64px);
  padding: var(--section) var(--gutter);
  max-width: calc(var(--content-max) + 2 * 64px);
  margin-inline: auto;
}
.spotlight .eyebrow { color: #fff; }

/* Archival C.M. Newton portrait — the source frame is portrait-orientation, so it
   is sized by height and left-aligned rather than cropped into a landscape box. */
.spotlight__portrait { justify-self: start; }
.spotlight__portrait img {
  height: clamp(240px, 30vw, 440px);
  width: auto;
  border: 1px solid rgba(255, 255, 255, .22);
}
.spotlight__copy { max-width: 540px; margin-top: 20px; }
.spotlight__copy .lede + .lede { margin-top: 16px; }
/* The opening line is the standfirst for the three that follow. */
.spotlight__copy .lede:first-child { color: #fff; font-size: calc(var(--fs-body) + 2px); }
@media (max-width: 900px) {
  .spotlight__inner { grid-template-columns: 1fr; }
  /* Size the archival print by width once it is the full column. A percentage
     would be circular here — the figure is a fit-content grid item. */
  .spotlight__portrait img { width: 280px; max-width: 100%; height: auto; }
}

/* --------------------------------------------------------------------------
   15. Legacy Builder teaser (inverse)
   -------------------------------------------------------------------------- */

.lb-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 0;
  border-bottom: 0;
}
.lb-teaser__body { padding: var(--section) var(--gutter); }
.lb-teaser__mark { align-self: flex-start; height: 148px; width: auto; }
.lb-teaser__support { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.lb-teaser__support img { height: 32px; width: auto; }
.lb-teaser__photo { position: relative; min-height: 480px; overflow: hidden; }
.lb-teaser__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .lb-teaser { grid-template-columns: 1fr; }
  .lb-teaser__photo { min-height: 240px; order: -1; }
  .lb-teaser__mark { height: 96px; }
}

/* --------------------------------------------------------------------------
   16. Partner
   -------------------------------------------------------------------------- */

.partner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(32px, 4.4vw, 64px);
  flex-wrap: wrap;
}
.partner .lede { max-width: 640px; }
.partner__actions { display: flex; flex-direction: column; gap: 12px; flex: 0 0 auto; }
@media (max-width: 700px) { .partner__actions { width: 100%; } .partner__actions .btn { width: 100%; } }

/* --------------------------------------------------------------------------
   17. Sponsor wall (inverse)
   -------------------------------------------------------------------------- */

.tier { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--inv-hairline); }
.tier:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tier .eyebrow { display: block; text-align: center; }
.tier__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 28px auto 0;
}
.tier__grid--single { grid-template-columns: 1fr; max-width: none; }
.sponsor { display: block; text-decoration: none; color: inherit; }
.sponsor__plate {
  display: flex; align-items: center; justify-content: center;
  height: var(--plate, 100px);
  padding: 8px;
}
.sponsor__plate img { max-height: var(--mark, 80px); max-width: 80%; width: auto; object-fit: contain; }
.sponsor__caption { display: block; text-align: center; margin-top: 10px; }
.sponsor:hover .sponsor__plate img { opacity: .78; }

@media (max-width: 700px) {
  .tier__grid { gap: 24px; }
  .sponsor__plate { height: calc(var(--plate, 100px) * .72); }
  .sponsor__plate img { max-height: calc(var(--mark, 80px) * .72); }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: var(--section) var(--gutter);
  background: var(--page);
  border-top: 1px solid var(--hairline);
}
.footer__inner { max-width: var(--content-max); margin-inline: auto; }

.signup {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
  padding-bottom: 48px; margin-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.signup__title { font-size: var(--fs-h3); line-height: 1; }
.signup__sub { font-size: 16px; color: var(--text-secondary); margin-top: 10px; }
.signup__cta { flex: 0 0 auto; height: 64px; padding-block: 0; }

.footer__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__badge { height: 96px; width: auto; }
.footer__cols .eyebrow { display: block; letter-spacing: .24em; margin-bottom: 16px; }
.footer__list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__note { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-top: 20px; }

.social { display: flex; gap: 12px; }
.social a {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  color: #fff;
}
.social a:hover { background: #fff; color: var(--page); }
.social svg { width: 24px; height: 24px; fill: currentColor; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--text-secondary);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .signup { flex-direction: column; align-items: stretch; gap: 24px; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19. Legacy Builder page
   -------------------------------------------------------------------------- */

.lb-hero { min-height: 560px; }
.lb-hero .photo-bg { filter: grayscale(.4) brightness(.46); }
.lb-hero .scrim {
  background: linear-gradient(180deg,
    rgba(12,12,12,.8) 0%, rgba(12,12,12,.4) 40%, rgba(12,12,12,.94) 100%);
}
.lb-hero__mark { align-self: flex-start; height: 200px; width: auto; margin-top: 20px; }
.lb-hero__support { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
/* The Legacy CU mark is navy and gold — it cannot sit on black. */
.lb-hero__plate { background: #fff; padding: 10px 18px; display: flex; align-items: center; }
.lb-hero__plate img { height: 34px; width: auto; }

@media (max-width: 900px) {
  .lb-hero { min-height: 460px; }
  .lb-hero__mark { height: 120px; }
}

.lb-intro .lede { font-size: clamp(16px, calc(15.26px + .19vw), 18px); line-height: 1.6; color: var(--inv-text); }
.lb-intro .lede + .lede { margin-top: 20px; }
.lb-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--inv-hairline);
}
.lb-stats dt {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--fs-stat);
  line-height: 1;
}
.lb-stats dd { margin: 6px 0 0; font-size: 14px; color: var(--inv-secondary); }

.lb-halftime { padding: 0 0 var(--section); background: var(--page); border-bottom: 0; }
.lb-halftime__photo { height: clamp(260px, 43vw, 620px); overflow: hidden; }
.lb-halftime__photo img { width: 100%; height: 100%; object-fit: cover; }
.lb-halftime figcaption {
  padding: 20px var(--gutter) 0;
  max-width: calc(var(--content-max) + 2 * 64px);
  margin-inline: auto;
  font-size: 15px; color: var(--text-secondary);
}

/* Equal-height cards across both rows, not just within a row — the descriptions
   vary in length and the spec calls for one even 2x2 block. */
.lb-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
            grid-auto-rows: 1fr; }
.lb-card {
  border: 1px solid var(--hairline);
  background: var(--page);
  display: flex; flex-direction: column;
}
/* Nonprofit marks are full colour and need a white plate. */
.lb-card__plate {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 16px;
}
.lb-card__plate img { max-height: 120px; max-width: 70%; width: auto; object-fit: contain; }
.lb-card__body { padding: var(--pad-card); flex: 1; display: flex; flex-direction: column; }
.lb-card__name { font-size: var(--fs-card-title); line-height: 1; }
.lb-card__desc { font-size: 16px; line-height: 1.55; color: var(--text-body); margin-top: 14px; flex: 1; }
.lb-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.lb-card__actions .btn { width: auto; }

@media (max-width: 900px) {
  /* One column: nothing to align against, so let each card size to its content. */
  .lb-cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .lb-card__plate { height: 120px; }
  .lb-card__plate img { max-height: 84px; }
}
@media (max-width: 700px) {
  .lb-card__actions { flex-direction: column; }
  .lb-card__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   20. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
