
:root {
  --bg-1: #121212;
  --bg-2: #1a1a1a;
  --panel: rgba(255, 255, 255, 0.022);
  --panel-2: rgba(255, 255, 255, 0.045);
  --border: #2c2c2c;
  --border-soft: rgba(255, 255, 255, 0.05);
  --text: #e9edf1;
  --text-2: #d1d5da;
  --text-3: #9ca3af;
  --text-4: #6b737f;
  --accent: #01FF86;
  --accent-soft: rgba(1, 255, 134, 0.10);
  --blue: #1C83F6;
  --gold: #F5C451;
  --red: #EF4444;
  --logo-word: #ffffff;
  /* One depth token, reused wherever a card needs to lift off the page ground
     rather than just sit on it as a flat outline. Offset + blur only, never a
     hard block shadow. */
  --shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.65);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/*
 * Page ground. This used to be a gradient on body with a FIXED ATTACHMENT,
 * which paints only the first viewport in a full-page render or print —
 * everything below it fell back to white with light-grey text on top — and is
 * long-broken on iOS Safari besides. The ground now lives on the root element,
 * sized to the whole document, over a solid #121212 that can never fail:
 * scrolls correctly, captures correctly, prints correctly, and there is no
 * viewport boundary for a seam to appear at. #121212 → #1a1a1a is 8/255, so a
 * document-length ramp reads the same as the viewport-length one it replaces,
 * and the hero photo's fade (which resolves to #121212) still meets the ground
 * within 2/255 wherever it sits. min-height keeps the ramp honest on a page
 * shorter than the viewport.
 */
html {
  scroll-behavior: smooth;
  min-height: 100%;
  background: var(--bg-1) linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%) no-repeat;
}
body {
  color: var(--text);
  font-family: "rigid-square", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #454545; }
a { color: var(--accent); text-decoration: none; }
.logo-word { fill: var(--logo-word); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* --- landing: the fixed arena photo the page scrolls over --- */
/*
 * The pano rides a position:fixed layer BEHIND the document (z -2), never the
 * fixed-attachment CSS property — that one paints only the first viewport in a
 * full-page render and is long-broken on iOS Safari. Its own gradient is a
 * permanent vignette so type has a floor of contrast at any scroll position.
 * .bg-scrim above it (z -1) starts transparent and is deepened by the inline
 * scroll handler, so the further the reader scrolls the more the page ground
 * takes over from the photograph. Both layers exist only when hero-bg.jpg was
 * actually written; without it the landing keeps the root gradient ground.
 */
.bg-photo {
  position: fixed; inset: 0; z-index: -2;
  background-color: var(--bg-1);
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}
.bg-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(18, 18, 18, 0.62) 0%,
    rgba(18, 18, 18, 0.30) 38%,
    rgba(18, 18, 18, 0.44) 70%,
    rgba(18, 18, 18, 0.66) 100%);
}
.bg-scrim {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--bg-1); opacity: 0;
}

/* --- landing hero --- */
.hero {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px 0 84px;
}
/* Flex column + margin:auto would shrink-wrap and centre the wraps. */
.hero .wrap { width: 100%; }
.hero-photo { position: relative; min-height: clamp(540px, 86vh, 920px); }
/*
 * Hero legibility layer: FIXED and full-viewport, like the photo it shades, so
 * the two never slide against each other (a document-scrolling ramp over a
 * fixed photo produced a visible band crawling across the image). The scroll
 * handler fades it out over the first ~0.8 viewport of scroll, handing the
 * contrast job to .bg-scrim, which fades in.
 */
.hero-fade {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(18, 18, 18, 0.30) 0%,
    rgba(18, 18, 18, 0.02) 32%,
    rgba(18, 18, 18, 0.06) 48%,
    rgba(18, 18, 18, 0.58) 100%);
}
.hero .logo { display: block; }
.hero-photo .logo { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.8)); }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 68px); font-weight: 300;
  letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance;
}
.hero h1 span { display: block; }
.hero-photo h1, .hero-photo .hero-sub {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.7);
}
.hero-sub {
  margin-top: 18px; max-width: 52ch;
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(15px, 1.9vw, 18px); line-height: 1.6; color: var(--text-2);
}
@media (max-width: 640px) {
  .hero-photo { min-height: clamp(420px, 72vh, 640px); }
  .hero { padding: 28px 0 56px; }
}
.kicker {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-4);
}
.kicker a { color: var(--text-3); transition: color 120ms ease; }
.kicker a:hover { color: var(--accent); }

/* --- sticky team-page bar --- */
.sitenav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(18, 18, 18, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.sitenav .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.sitenav a, .sitenav span {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); white-space: nowrap;
}
.sitenav a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 9px; border-radius: 7px; border: 1px solid transparent;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}
.sitenav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.sitenav a:focus-visible {
  outline: none; color: var(--accent);
  background: var(--accent-soft); border-color: rgba(1, 255, 134, 0.28);
}
.sitenav .nav-side { margin-left: auto; display: flex; gap: 4px; align-items: center; min-width: 0; }
.sitenav .nav-side a { overflow: hidden; text-overflow: ellipsis; max-width: 22ch; display: inline-block; }
.sitenav .logo { flex: none; opacity: 0.9; }

/* --- sections --- */
.section { padding: 46px 0; border-bottom: 1px solid var(--border); }
.section h2 {
  font-size: 23px; font-weight: 300; letter-spacing: -0.015em; margin-bottom: 8px;
}
.section .sub {
  color: var(--text-4); font-size: 11.5px; margin-bottom: 24px;
  letter-spacing: 0.05em; line-height: 1.65; max-width: 62ch;
}
.section h2 + .sub { margin-top: 2px; }
/*
 * .sub used to be shared with .team-hero .sub. Split apart so this section
 * treatment can move freely: the hero wash is out of scope for this pass, so
 * its .sub keeps the exact declarations it always had, just stated on its own.
 */
.team-hero .sub {
  color: var(--text-4); font-size: 11.5px; margin-bottom: 22px;
  letter-spacing: 0.05em; line-height: 1.6;
}
/*
 * Body-copy face: the kit's second family (rigid-square stays the display and
 * heading voice everywhere, unchanged). Confined to running text and data
 * values from the first act down — the hero and masthead keep the type they
 * shipped with.
 */
.section p, .board li, .tile .big, .tile .lbl, td, th, .tier-table td, .tier-table th,
.rc-table td, .rc-table th, .season-line dd, .season-line dt, .wt-basis, .wt-meta,
.wt-cls, .wt-tag, .depth li, .depth-role, .pill, .narrative li, .tier-note,
.elig-done, .elig-note, .cta p, footer, .pagenav a, .sitenav a, .sitenav span {
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* --- landing sections --- */
/*
 * The landing runs one narrow reading column (~80% of the old container) so
 * paragraph leads keep a sane measure and every card gets the reader's full
 * attention. Team pages keep the wide .wrap; these rules are body.landing-scoped.
 */
.landing .wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .landing .wrap-narrow { padding: 0 20px; } }
.landing .section { border-bottom: none; padding: 54px 0; }
.landing .section h2 {
  font-size: clamp(24px, 3vw, 28px); margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.landing .section .sub {
  font-size: 13.5px; color: var(--text-3); max-width: 64ch; margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

/* Centred lead-in for the leaderboard sections. */
.landing .sec-center h2 { text-align: center; }
.landing .sec-center > .sub { text-align: center; margin-left: auto; margin-right: auto; }

/*
 * Scroll-in: cards fade and settle into place as they enter the viewport.
 * The .reveal class is added by JS, so content is never hidden without it,
 * and the whole block is gated on reduced-motion.
 */
@media (prefers-reduced-motion: no-preference) {
  .landing .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 550ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .landing .reveal.in { opacity: 1; transform: none; }
}

/* MatScouts credit chip — the ranking's provenance, linked to the source. */
.credit {
  display: inline-flex; align-items: center; gap: 12px; margin: -8px 0 30px;
  padding: 9px 18px 9px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(14, 14, 14, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; color: var(--text-3); line-height: 1.4;
  transition: border-color 160ms ease, color 160ms ease;
}
.credit img { width: 30px; height: 30px; border-radius: 50%; display: block; }
.credit b { color: var(--text); font-weight: 600; }
.credit:hover { border-color: rgba(1, 255, 134, 0.4); color: var(--text-2); }

/* --- countdown --- */
.countdown { display: grid; gap: 18px; }
/*
 * The team card: glass over the fixed pano, washed from the left in the
 * school's own colour (--brand-wash arrives inline per card; a school with no
 * colour on file falls back to a neutral pane). Hover answers with the
 * Athletor gradient as a hairline ring — drawn by a masked pseudo-element so
 * nothing moves and no border swaps width.
 */
.rankrow {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 22px; padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(90deg, var(--brand-wash, rgba(255, 255, 255, 0.03)) 0%,
      rgba(255, 255, 255, 0) 68%),
    rgba(13, 13, 13, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.rankrow::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, #1C83F6, #06F2FF 50%, #01FF86);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 160ms ease; pointer-events: none;
}
.rankrow:hover::after, .rankrow:focus-visible::after { opacity: 0.9; }
.rankrow:focus-visible { outline: none; }
.rankrow .num {
  font-size: 34px; font-weight: 200; line-height: 1; color: var(--text-3);
  min-width: 2.2ch; text-align: right; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 160ms ease;
}
.rankrow:hover .num, .rankrow:focus-visible .num { color: var(--accent); }
.rank-main { flex: 1; min-width: 0; display: grid; gap: 7px; }
.rankrow .name { font-size: 26px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
.rank-conf {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.14em;
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.rank-conf img { height: 17px; width: auto; display: block; opacity: 0.85; }
.rank-side {
  margin-left: auto; display: grid; gap: 8px; justify-items: end; text-align: right;
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.rank-side .fin { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.03em; }
.rank-side .fin b { color: var(--text); font-weight: 600; font-size: 15px; }
.rank-side .ret { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.03em; }
.rank-side .ret b { color: var(--accent); font-weight: 600; font-size: 15px; }
@media (max-width: 780px) {
  .rankrow { flex-wrap: wrap; gap: 14px; padding: 20px 20px; }
  .rank-main { flex: 1 1 55%; }
  .rank-side { margin-left: 0; flex-basis: 100%; justify-items: start; text-align: left; gap: 4px; }
  .rankrow .name { font-size: 21px; }
  .rankrow .num { font-size: 27px; }
}
.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--border-soft);
  color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.mark img { width: 76%; height: 76%; object-fit: contain; display: block; }
.mark-lg { width: 56px; height: 56px; font-size: 17px; vertical-align: -12px; margin-right: 6px; }
/* Countdown-card mark: the logo is the card's visual anchor, so it runs big
   and loses the chip circle — the brand wash behind it is the ground. */
.mark-card { width: 62px; height: 62px; background: none; border: none; font-size: 19px; }
.mark-card img { width: 100%; height: 100%; }
/* Board-row mark: same present-or-absent discipline at list scale. */
.mark-row { width: 34px; height: 34px; font-size: 11px; }
/* The small school mark beside an individual leader's name. */
.mark-inline { width: 22px; height: 22px; font-size: 8px; background: none; border: none; }
.mark-inline img { width: 100%; height: 100%; }

/* --- leaderboards --- */
/*
 * One board at a time, full column width: the reader scrolls a stack, never
 * scans a grid. Each board is the same glass pane as the countdown cards, one
 * step smaller; each row carries the school's mark and its brand wash.
 */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 820px) { .boards { grid-template-columns: 1fr; } }
.board {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 60%),
    rgba(13, 13, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 16px;
  padding: 22px 24px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.board h3 {
  font-size: 15px; font-weight: 600; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 6px;
}
.board-desc {
  font-size: 12.5px; color: var(--text-3); line-height: 1.6; max-width: 60ch;
  margin: 0 0 14px;
}
.board ol { list-style: none; counter-reset: board; }
.board li {
  counter-increment: board;
  display: flex; align-items: center; gap: 13px;
  padding: 9px 12px; margin: 0 -12px; border-radius: 10px;
  background: linear-gradient(90deg, var(--brand-wash, transparent) 0%, transparent 62%);
  color: var(--text); font-size: 15px;
}
.board li + li { margin-top: 4px; }
.board li::before {
  content: counter(board); min-width: 18px; color: var(--text-4);
  font-size: 12px; font-variant-numeric: tabular-nums;
}
.board li .sch { color: var(--text-4); font-size: 11px; letter-spacing: 0.04em; }
.board li .v {
  margin-left: auto; color: var(--accent); font-size: 21px; font-weight: 400;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.board li .avatar { width: 40px; height: 40px; font-size: 12px; margin-right: 0; vertical-align: 0; flex: none; }
.board .b-name { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }

/* --- development spotlight --- */
.spotlight-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .spotlight-grid { grid-template-columns: 1fr; gap: 26px; } }
.dev-term { margin-top: 22px; }
.dev-term h3 {
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 7px;
}
.dev-term p, .dev-note {
  font-family: "proxima-nova", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; color: var(--text-2); line-height: 1.7; max-width: 54ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
.dev-note { margin-top: 24px; font-size: 12px; color: var(--text-3); }
.dev-list li .v { font-size: 22px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--border-soft);
  color: var(--text-4); font-size: 9.5px; font-weight: 600; margin-right: 9px;
  vertical-align: -8px;
}
.avatar.has-photo { background: none; border: none; overflow: hidden; }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* --- team page --- */
/*
 * Team hero wash. --team-ground and --team-primary arrive as inline custom
 * properties on the header; a team with no colour on file sets neither, and the
 * var() fallbacks collapse the whole thing to the page ground, which is what the
 * hero looked like before any of this.
 *
 * --team-ground is a darkened tone of the brand primary (see lib/brand.mjs), not
 * the primary itself: white type on raw Missouri gold reads at 1.53:1. The raw
 * primary appears only in the top band, where no text sits on it, so the true
 * colour still shows. The wash resolves to --bg-1 by the bottom of the header —
 * the page ground is a document-length #121212 → #1a1a1a ramp, so at the hero's
 * position the two meet within ~2/255, the same tolerance the hero photo's fade
 * already relies on.
 */
.team-hero {
  padding: 46px 0 34px;
  border-top: 3px solid var(--team-primary, var(--bg-1));
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    var(--team-ground, var(--bg-1)) 0%,
    var(--team-ground, var(--bg-1)) 12%,
    var(--bg-1) 100%
  );
}
/*
 * Hero small type. --text-4 (#6b737f) is calibrated for #121212 and fails on all
 * ten team grounds — 1.02:1 on Nebraska. --text-3 clears 4.5:1 on the darkest of
 * them. Chips likewise trade their opaque --border for an alpha rule, which an
 * opaque grey line over a coloured ground cannot do without smudging.
 */
.team-hero .kicker, .team-hero .sub, .team-hero .chip { color: var(--text-3); }
.team-hero .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.team-hero h1 {
  margin-top: 14px; font-size: clamp(30px, 4.4vw, 44px); font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.1;
}
.team-hero .sub { margin-top: 10px; margin-bottom: 0; }
.video-slot { margin: 26px 0 4px; }
.video-play {
  position: relative; display: block; width: 100%; max-width: 720px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: #000; cursor: pointer; padding: 0;
  transition: border-color 120ms ease;
}
.video-play:hover { border-color: var(--accent); }
.video-play img { width: 100%; display: block; opacity: 0.72; transition: opacity 120ms ease; }
.video-play:hover img { opacity: 0.88; }
.video-play .play-icon {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 52px; color: var(--accent);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.video-frame { width: 100%; max-width: 720px; aspect-ratio: 16/9; border: 0; border-radius: 12px; }
/*
 * Mike's own words, styled as an editorial voice: italic running prose, no
 * card, no rule. A reader has to be able to tell this hand-written take from
 * the derived .narrative sentences elsewhere on the page at a glance — one is
 * boxed and upright (an instrument reading), the other is set loose and
 * leaning (a person talking).
 */
.team-intro { margin: 28px 0 4px; max-width: 640px; }
.team-intro p { max-width: 62ch; color: var(--text-2); font-size: 16px; font-style: italic; line-height: 1.75; }
.team-intro p + p { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 15px; font-size: 10.5px; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.chip b { color: var(--text); font-weight: 400; text-transform: none; letter-spacing: 0.02em; font-size: 12.5px; }
/*
 * The preface sits on the hero's colour wash, same as .chip above it, so its
 * border and fill trade the opaque --border/--panel tokens for the same
 * white-alpha rule the hero chips already use: an opaque grey line over a
 * coloured ground smudges instead of reading as a line.
 */
.preface {
  margin: 26px 0; padding: 20px 22px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.045);
}
.preface-quote { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--text); }
.preface-body { margin: 0; font-size: 13px; color: var(--text-3); line-height: 1.6; }
.preface-known { margin: 10px 0 0; font-size: 13px; color: var(--text-2); }
/*
 * "(under review)" used to fade to 70% opacity — exactly the kind of honesty
 * marker this page must not tidy away. It now reads as a small flagged badge,
 * same visual language as the unverified/contradiction markers in the weight
 * blocks below, so a caveat looks like a caveat everywhere on the page.
 */
.chip-caveat {
  display: inline-block; margin-left: 5px; padding: 1px 7px; border-radius: 999px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); background: rgba(245, 196, 81, 0.12); border: 1px solid rgba(245, 196, 81, 0.4);
}

/* --- stat tiles --- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
.tile {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; box-shadow: var(--shadow);
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.tile:hover { background: var(--panel-2); border-color: var(--text-4); transform: translateY(-2px); }
.tile .big {
  font-size: 34px; font-weight: 200; line-height: 1; letter-spacing: -0.03em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.tile .lbl {
  margin-top: 9px; font-size: 10px; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.16em;
}
/* No .med rule: the tiles carry no comparator. Comparison lives in .tier-table.
   (No backticks in here — SITE_CSS is a template literal.) */

/* --- returning split --- */
.splitbar {
  display: flex; height: 6px; border-radius: 3px; overflow: hidden;
  margin: 16px 0 8px; background: var(--red);
}
.splitbar .ret { background: var(--accent); }
.splitbar .dep { background: var(--red); }
.legend { display: flex; gap: 18px; font-size: 10px; color: var(--text-4); margin-top: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; }
.legend .sw { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 7px; }

/* --- trajectory --- */
.traj-wrap {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px;
}
.traj-wrap svg { display: block; width: 100%; height: auto; }

/* --- tables --- */
.tablewrap {
  overflow-x: auto; background: var(--panel);
  border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px 8px;
}
table { border-collapse: collapse; width: 100%; }
th {
  padding: 12px 10px 9px; text-align: right; white-space: nowrap;
  font-size: 10px; font-weight: 600; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.13em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 9px 10px; text-align: right; font-size: 13.5px; white-space: nowrap;
  color: var(--text-2); font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--border-soft);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.022); }
th:first-child, td:first-child { text-align: left; color: var(--text-4); }
th:nth-child(2), td:nth-child(2) { text-align: left; color: var(--text); }
.tablewrap + h2 { margin-top: 34px; }
.dir {
  display: inline-block; min-width: 38px; padding: 2px 7px; border-radius: 4px;
  text-align: center; font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em;
}
.dir-in { color: var(--blue); background: rgba(28, 131, 246, 0.12); }
.dir-out { color: var(--red); background: rgba(239, 68, 68, 0.12); }

/* --- page nav + footer --- */
.pagenav { display: flex; justify-content: space-between; gap: 16px; padding: 30px 32px; max-width: 1080px; margin: 0 auto; }
.pagenav a {
  color: var(--text-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.pagenav a:hover { color: var(--text); border-color: var(--text-4); background: rgba(255, 255, 255, 0.04); }
footer {
  padding: 26px 0 46px; font-size: 11px; color: var(--text-4);
  letter-spacing: 0.05em; line-height: 1.7;
}
/* Landing footer: the wordmark alone, centred — no generated-on small print. */
.landing footer .wrap { display: flex; justify-content: center; padding-top: 26px; }
.landing footer .logo { opacity: 0.9; }

/* --- tier stat tiles: the comparison table --- */
/*
 * This is the page's one place for comparison (see the comment on statTiles):
 * every other block states a total, this one states where the total sits
 * against a real baseline. Framed as its own card, with the team's own column
 * tinted so a reader's eye lands on it first among three numbers per row.
 */
.tier-stats {
  margin: 0; background: var(--panel); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 22px 22px; box-shadow: var(--shadow);
}
.tier-stats .sub { margin-bottom: 18px; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tier-table th, .tier-table td { padding: 8px 10px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.07); }
.tier-table thead th {
  font-size: 10px; font-weight: 600; color: var(--text-4); text-transform: uppercase;
  letter-spacing: 0.1em; padding-bottom: 10px;
}
.tier-table th[scope="row"] { text-align: left; font-weight: 400; color: var(--text-3); }
.tier-table td.own {
  font-weight: 600; color: var(--text); background: var(--accent-soft);
  border-radius: 6px;
}
.tier-table tbody tr:last-child th, .tier-table tbody tr:last-child td { border-bottom: none; }
.tier-note {
  font-size: 12px; color: var(--text-3); margin: 12px 0 0; padding-top: 10px;
  line-height: 1.55; border-top: 1px solid var(--border-soft);
}
.tier-note:first-of-type { margin-top: 16px; }
.elig-done { font-size: 11px; color: var(--text-3); }
/*
 * Provenance surfaces run one step up the ramp from the rest of the small type.
 * --text-4 (#6b737f) measures 3.9:1 on #121212 — under AA — and these four are
 * exactly the marks spec section 10 protects: the hand-set glyph, the reason a
 * value was overridden, the graduated pill, and the eligibility note. A reader
 * who cannot read the provenance is reading an unmarked claim. --text-3
 * (#9ca3af) is 7.3:1 on the same ground, and is already the token used by every
 * other explanatory line on the page (.wt-basis, .tier-note, .wt-meta), so this
 * moves them into the existing small-print voice rather than inventing a colour.
 */
.elig-note { font-size: 11px; color: var(--text-3); }
.elig-low { color: var(--gold); font-size: 12px; margin-left: 3px; cursor: help; }

/*
 * --- act two: weight by weight ---
 * The tallest section by far, and the one a fan of one team actually came
 * for, so it gets the page's most distinctive layout move: the weight number
 * runs as a left rail down the page, like a program sheet, instead of sitting
 * as a small heading above each block. It collapses back above the block on
 * narrow screens, where there is no room for a rail.
 */
.wt {
  border-top: 1px solid var(--border); padding: 34px 0;
  display: grid; grid-template-columns: 84px 1fr; gap: 6px 28px; align-items: start;
}
.wt:first-of-type { border-top: none; padding-top: 8px; }
@media (max-width: 560px) {
  .wt { grid-template-columns: 1fr; gap: 10px; }
}
.wt-num {
  font-size: 52px; font-weight: 200; letter-spacing: -0.04em; line-height: 0.92;
  color: var(--text-4); font-variant-numeric: tabular-nums;
}
.wt-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 760px) { .wt-body { grid-template-columns: 1fr; } }
/* The past (2026, known) and next (2026-27, projected) halves get a quiet
   divider on wide screens — a fan should be able to tell at a glance which
   side of the block is settled history and which is a forecast. */
.wt-past { padding-right: 4px; }
@media (min-width: 761px) {
  .wt-past { border-right: 1px solid var(--border); padding-right: 26px; }
}
.wt-person { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.wt-person .avatar { width: 68px; height: 68px; font-size: 20px; flex: 0 0 68px; }
.wt-person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.wt-id h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.wt-meta { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.season-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 10px; }
.season-line dt {
  font-size: 9.5px; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.season-line dd {
  font-size: 18px; font-weight: 300; margin-top: 3px;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.wt-empty p { color: var(--text-4); font-size: 13px; font-style: italic; }
/*
 * A second entrant at the same weight. Clearly subordinate to the block's
 * primary wrestler — indented behind a rule, no avatar, no h3, a stat line at
 * two-thirds scale — but fully legible, because this is a real wrestler's real
 * season and the alternative is that he appears nowhere on the site.
 */
.wt-also { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--border); }
.wt-also-tag {
  display: block; font-size: 9.5px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.wt-also-row + .wt-also-row { margin-top: 14px; }
.wt-also-name { font-size: 14px; font-weight: 500; margin-top: 8px; }
.wt-also .wt-meta { margin-top: 2px; }
.wt-also .season-line { margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 8px; }
.wt-also .season-line dd { font-size: 14px; }
/* The next-season card is deliberately the more "designed" of the two halves:
   it is a forecast, so it earns a frame the settled past half does not need. */
.wt-next {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow);
}
.wt-open { border-style: dashed; box-shadow: none; }
.wt-open .wt-proj-name { color: var(--text-3); font-weight: 300; }
.wt-tag {
  font-size: 9.5px; color: var(--text-4);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.wt-proj-name { font-size: 19px; font-weight: 400; margin-top: 6px; }
.wt-cls { font-size: 11px; color: var(--text-4); letter-spacing: 0.04em; }
.wt-basis { font-size: 12px; color: var(--text-3); margin-top: 8px; line-height: 1.5; }
/*
 * The provenance marker for a name the database cannot place on this team, or
 * a projection that contradicts our own eligibility record. Load-bearing
 * honesty, not decoration: it carries its own drawn flag (no unicode icon)
 * so it reads as a caution mark even before the word is read.
 */
.wt-unverified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 4px;
  padding: 1px 6px 1px 5px; vertical-align: middle;
}
.wt-unverified::before {
  content: ""; width: 0; height: 0; flex: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 6px solid var(--gold);
}
.proj-stats { margin-top: 12px; }
.depth { grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.depth li {
  font-size: 12px; color: var(--text-3); background: var(--panel);
  border: 1px solid var(--border-soft); border-radius: 999px; padding: 4px 11px;
}
.depth-role { color: var(--text-4); font-size: 10.5px; }
.pill {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border-radius: 999px; padding: 2px 8px; border: 1px solid transparent;
}
.pill-back { color: var(--accent); border-color: rgba(1, 255, 134, 0.35); background: var(--accent-soft); }
.pill-graduated { color: var(--text-3); border-color: var(--border); }
.pill-appealing { color: var(--gold); border-color: rgba(245, 196, 81, 0.4); background: rgba(245, 196, 81, 0.1); }
.pill-transferred { color: var(--blue); border-color: rgba(28, 131, 246, 0.4); background: rgba(28, 131, 246, 0.1); }
.pill-why { font-size: 11px; color: var(--text-3); letter-spacing: 0; text-transform: none; font-weight: 400; }
.pill-hand { color: var(--text-3); }

/* --- recruit conversion --- */
.recruit-conversion { margin: 28px 0; }
.rc-intro, .rc-empty { font-size: 13px; opacity: 0.85; }
.rc-list { margin: 10px 0; padding-left: 18px; font-size: 13px; }
.rc-rank { opacity: 0.6; font-size: 12px; }
.rc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.rc-table th, .rc-table td { padding: 6px 10px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.07); }
.rc-table th:first-child, .rc-table td:first-child { text-align: left; }

/* --- CTA placeholders --- */
.cta { margin: 24px 0; padding: 16px 18px; border: 1px dashed rgba(255,255,255,0.18); border-radius: 6px; }
.cta h4 { margin: 0 0 6px; font-size: 14px; }
.cta p { margin: 0; font-size: 13px; opacity: 0.8; }
.cta-pending { display: inline-block; margin-top: 8px; font-size: 11px; opacity: 0.5; }

/* --- act titles: the three-act spine --- */
/*
 * Each act opens with a fading accent rule rather than a plain hairline or a
 * numbered kicker — the words "Act one/two/three" already carry the sequence,
 * so the rule is a scene-change mark, not a second label repeating them.
 */
.act { padding-top: 54px; padding-bottom: 8px; position: relative; }
.act:first-of-type { padding-top: 46px; }
.act::before {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px;
  background: linear-gradient(90deg, var(--accent) 0, rgba(1, 255, 134, 0.15) 140px, transparent 280px);
}
@media (max-width: 640px) { .act::before { left: 20px; right: 20px; } }
.act-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent);
}
.act-title {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 200; letter-spacing: -0.03em; margin-top: 10px;
}

/* --- narrative: the derived reading, distinct from hand-written editorial --- */
/*
 * .team-intro (Mike's own words, styled in the chips/preface block above) is
 * italic, unboxed, loose-set prose. This is its opposite on purpose: upright,
 * boxed, tight-set — an instrument reading, not a person talking. A reader
 * must be able to tell which is which without reading either one closely.
 */
.narrative {
  margin-top: 22px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
}
.narrative-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-4);
}
.narrative-tag::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.narrative ul { list-style: none; margin-top: 12px; }
.narrative li {
  position: relative; padding-left: 16px;
  font-size: 14px; color: var(--text-2); line-height: 1.65; max-width: 68ch;
  font-variant-numeric: tabular-nums;
}
.narrative li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1.5px; background: var(--text-4);
}
.narrative li + li { margin-top: 10px; }
