/* ============================================================
   MANTENO BASKETBALL: DESIGN SETTINGS
   Every color and font on the site is defined once, here.
   ============================================================ */
:root {
  --black: #000000;         /* main background */
  --ink: #0B0A0E;           /* alternate dark sections */
  --purple: #501484;        /* Manteno Purple: fills, buttons, glows, dividers */
  --purple-lit: #B478E8;    /* lighter tint: purple TEXT on black only */
  --white: #FFFFFF;
  --gray: #B9B5C2;          /* secondary text */
  --line: rgba(255, 255, 255, 0.14);

  --font-display: "Big Shoulders Display", "Big Shoulders", "Oswald", "Arial Narrow", "DejaVu Sans Condensed", Impact, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 84px;

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* The site is dark by design, so both viewer themes use the same colors. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --black: #000000; } }
:root[data-theme="dark"] { --black: #000000; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple-lit); outline-offset: 3px; }
body.menu-open { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--solid { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn--solid:hover { background: var(--white); border-color: var(--white); color: var(--purple); }
.btn--outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--outline:hover { border-color: var(--purple-lit); background: rgba(80, 20, 132, .35); }

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,0)) no-repeat;
  box-shadow: 0 2px 0 transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav.is-stuck {
  background: rgba(0, 0, 0, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 0 var(--purple);
}
.nav__bar {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  transition: height .25s ease;
}
.nav.is-stuck .nav__bar { height: 66px; }
.nav__logo { flex: none; display: block; }
.nav__logo img { height: 60px; width: auto; transition: height .25s ease; }
.nav.is-stuck .nav__logo img { height: 46px; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 13px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--white);
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 3px;
  background: var(--purple-lit); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover::after, .nav__group.is-open > .nav__link::after { transform: scaleX(1); }
.nav__caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }

.nav__group { position: relative; }
.nav__dropdown {
  position: absolute; top: 100%; right: 0; min-width: 220px;
  background: var(--black); border: 1px solid var(--line); border-top: 3px solid var(--purple);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__group.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown a {
  display: block; padding: 11px 20px;
  font-weight: 600; font-size: .95rem; color: var(--gray);
}
.nav__dropdown a:hover { color: var(--white); background: rgba(80, 20, 132, .4); }

.nav__cta { min-height: 44px; padding: 0 22px; font-size: 1.1rem; flex: none; }
.nav__toggle { display: none; width: 44px; height: 44px; flex: none; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 3px; background: var(--white); }
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 29px; right: 17px; }

@media (max-width: 1080px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__bar { gap: 12px; }
  .nav__cta { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 1rem; }
  .nav__toggle { display: block; }
  .nav__logo img { height: 46px; }
  .nav.is-stuck .nav__bar { height: 60px; }
  .nav.is-stuck .nav__logo img { height: 40px; }
}
@media (max-width: 350px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }

/* ---------- Full-screen mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(80, 20, 132, .75), rgba(80, 20, 132, 0) 62%),
    var(--black);
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px);
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 56px; flex: none; }
.menu__top img { height: 46px; width: auto; }
.menu__close { width: 44px; height: 44px; position: relative; }
.menu__close::before, .menu__close::after { content: ""; position: absolute; left: 8px; right: 8px; top: 21px; height: 3px; background: var(--white); }
.menu__close::before { transform: rotate(45deg); }
.menu__close::after { transform: rotate(-45deg); }
.menu__main { margin: 22px 0 0; padding: 0; list-style: none; }
.menu__main a {
  display: block; padding: 5px 0;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 12vw, 3.4rem);
  line-height: 1.02; text-transform: uppercase; letter-spacing: 0.01em;
}
.menu__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.menu__groups h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .07em; text-transform: uppercase; color: var(--purple-lit); }
.menu__groups ul { margin: 0; padding: 0; list-style: none; }
.menu__groups a { display: block; padding: 8px 0; font-weight: 600; color: var(--gray); }
.menu .btn { margin-top: auto; }
.menu__spacer { height: 28px; flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 92vh;
  min-height: clamp(580px, 92svh, 1020px);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(84px, 11vw, 150px);
  background: var(--black);
}
.hero__layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* 1. Photo. Empty until a hero photo is supplied. */
.hero__photo { background: var(--black) center / cover no-repeat; transform-origin: 70% 40%; }

/* 2. Arena light: purple spill from the upper right, fading to black on the left. */
.hero__light {
  background:
    radial-gradient(46% 52% at 80% 2%, rgba(150, 84, 224, .62), rgba(150, 84, 224, 0) 70%),
    radial-gradient(105% 125% at 84% -6%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .58) 48%, rgba(80, 20, 132, 0) 80%),
    radial-gradient(52% 46% at 66% 100%, rgba(80, 20, 132, .8), rgba(80, 20, 132, 0) 72%);
}
.hero__beams { overflow: hidden; }
.hero__beams i {
  position: absolute; top: -30%; height: 170%; width: 15vw; min-width: 120px;
  background: linear-gradient(to bottom, rgba(196, 150, 240, .46), rgba(180, 120, 232, 0) 80%);
  filter: blur(22px); transform: rotate(19deg); transform-origin: top center;
  animation: beam 16s ease-in-out infinite alternate;
}
.hero__beams i:nth-child(1) { right: 34%; opacity: .55; }
.hero__beams i:nth-child(2) { right: 17%; opacity: .9; animation-duration: 21s; animation-delay: -6s; }
.hero__beams i:nth-child(3) { right: 1%; opacity: .6; animation-duration: 18s; animation-delay: -11s; }
@keyframes beam { from { transform: rotate(16deg) translateX(-14px); } to { transform: rotate(22deg) translateX(18px); } }

/* 3. Court lines on the floor. Stands in for the photo; removed once a photo is added. */
.hero__court { display: flex; align-items: flex-end; justify-content: flex-end; }
.hero__court svg {
  flex: none; width: min(1500px, 135vw); height: auto;
  margin: 0 -20vw -1% 0;
  transform: perspective(1100px) rotateX(57deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
          mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  fill: none; stroke: var(--purple-lit); stroke-width: 5; opacity: .8;
}
.hero--has-photo .hero__court { display: none; }

/* 4. Shade so white type always reads, plus fine grain. */
.hero__shade {
  background:
    linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.42) 44%, rgba(0,0,0,0) 74%),
    linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 30%);
}
.hero__grain, .grain {
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; }
.hero__season {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(10px, 1.6vw, 20px);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-lit);
}
.hero__season::before { content: ""; width: clamp(34px, 5vw, 70px); height: 4px; background: var(--purple-lit); flex: none; }
.hero__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4.3rem, 20vw, 14rem);
  line-height: .83; letter-spacing: -0.005em; text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.hero__title span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.4vw, 46px); }

/* Angled exit into the next section, with a purple edge. */
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 6vw, 96px); display: block; }
.hero__edge polygon { fill: var(--ink); }
.hero__edge line { stroke: var(--purple); stroke-width: 6; vector-effect: non-scaling-stroke; }

/* One entrance on page load. Nothing else on the page animates on its own. */
.rise { opacity: 0; transform: translateY(34px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.rise--1 { animation-delay: .10s; } .rise--2 { animation-delay: .20s; } .rise--3 { animation-delay: .30s; } .rise--4 { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero { padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 150px; padding: 0 18px; }
  .hero__court svg { width: 210vw; margin-right: -60vw; opacity: .6; }
  .hero__shade { background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.25) 58%, rgba(0,0,0,0) 82%); }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .hero__beams i { animation: none; }
  * { transition-duration: .01ms !important; }
}


/* ============================================================
   SEASON STATUS BAR
   ============================================================ */
.season { background: var(--ink); padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.season__inner { max-width: 1500px; margin: 0 auto; }
.statusbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 0; padding: clamp(18px, 3vw, 40px) 0 clamp(22px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
}
.statusbar__item { margin: 0; padding: 0 clamp(8px, 2.2vw, 36px); border-left: 1px solid var(--line); min-width: 0; }
.statusbar__item:first-child { border-left: 0; padding-left: 0; }
.statusbar__label {
  display: block; font-weight: 600; font-size: clamp(.62rem, 1.05vw, .82rem);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); white-space: nowrap;
}
.statusbar__label .short { display: none; }
.statusbar__value {
  display: block; margin-top: 4px;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 5.6vw, 4.6rem);
  line-height: .95; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.statusbar__value.is-win { color: var(--purple-lit); }
.statusbar__value.is-loss { color: var(--gray); }
@media (max-width: 560px) {
  .statusbar { display: flex; justify-content: space-between; }
  .statusbar__item { padding: 0 0 0 clamp(8px, 2.6vw, 14px); }
  .statusbar__value { font-size: clamp(1.45rem, 7.6vw, 2.1rem); }
  .statusbar__label .long { display: none; }
  .statusbar__label .short { display: inline; }
}

/* ============================================================
   NEXT GAME / LAST GAME
   ============================================================ */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(28px, 4vw, 56px); }
.game { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 3vw, 40px); min-width: 0; }
.game__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.game__label { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.game__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.game__tags li { padding: 5px 10px; font-weight: 700; font-size: .72rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; border: 1px solid rgba(255,255,255,.4); }
.game__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: clamp(22px, 3vw, 34px); }
.game__actions .btn { flex: 1 1 150px; min-height: 48px; padding: 0 18px; font-size: 1.1rem; }

/* Team mark: the Manteno logo, an opponent logo, or initials when no logo file exists yet. */
.mark { flex: none; display: grid; place-items: center; width: var(--mark, 96px); height: var(--mark, 96px); }
.mark img { width: 100%; height: 100%; object-fit: contain; }
.mark--initials {
  border: 2px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.06);
  font-family: var(--font-display); font-weight: 900; font-size: calc(var(--mark, 96px) * .34); letter-spacing: 0.03em; color: var(--white);
}

/* Upcoming game: lit in purple. */
.game--next {
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(80, 20, 132, .95), rgba(80, 20, 132, .28) 58%, rgba(80, 20, 132, 0) 82%),
    var(--black);
  border: 1px solid rgba(180, 120, 232, .4); border-top: 4px solid var(--purple-lit);
}
.game--next .game__label { color: var(--white); }
.matchup { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); --mark: clamp(76px, 9vw, 124px); }
.matchup__vs { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-lit); }
.game__opponent { margin: clamp(16px, 2vw, 24px) 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: .92; text-transform: uppercase; overflow-wrap: break-word; }
.game__when { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.game__where { margin: 4px 0 0; color: var(--gray); font-size: 1rem; }
.game__where strong { color: var(--white); font-weight: 600; }

/* Finished game: a dark scoreboard. */
.game--last { background: var(--black); border: 1px solid var(--line); border-top: 4px solid rgba(255,255,255,.28); }
.game--last .game__label { color: var(--gray); }
.game--last .game__tags li { background: var(--white); border-color: var(--white); color: var(--black); }
.scoreline { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: clamp(8px, 1vw, 12px) 0; border-bottom: 1px solid var(--line); --mark: clamp(46px, 5vw, 64px); color: var(--gray); }
.scoreline:first-of-type { border-top: 1px solid var(--line); }
.scoreline__team { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; overflow-wrap: break-word; }
.scoreline__pts { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 6.4vw, 5.4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.scoreline.is-winner { color: var(--white); }
.result { display: flex; align-items: center; gap: 16px; margin-top: clamp(16px, 2vw, 24px); }
.result__mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; font-family: var(--font-display); font-weight: 900; font-size: 2.3rem; line-height: 1; }
.result__mark--w { background: var(--purple); color: var(--white); }
.result__mark--l { border: 2px solid rgba(255,255,255,.4); color: var(--gray); }
.result__text { margin: 0; color: var(--gray); line-height: 1.35; }
.result__text strong span { white-space: nowrap; }
.result__text strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.game__empty { margin: 0; color: var(--gray); max-width: 38ch; }

@media (max-width: 860px) { .games { grid-template-columns: 1fr; } }
@media (max-width: 380px) {
  .scoreline { --mark: 38px; gap: 10px; }
  .scoreline__team { font-size: 1.25rem; }
  .scoreline__pts { font-size: 2.8rem; }
  .game { padding: 20px 18px; }
}

.preview-note { margin: 22px 0 0; font-size: .85rem; color: var(--gray); }


/* ============================================================
   SECTION HEADINGS (shared by every homepage section from here down)
   ============================================================ */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 20px; margin-bottom: clamp(24px, 3.4vw, 48px); }
.section-head h2 {
  margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: .86; text-transform: uppercase; letter-spacing: 0.005em;
}
.section-head h2::after { content: ""; display: block; width: clamp(56px, 7vw, 104px); height: 6px; margin-top: clamp(12px, 1.4vw, 18px); background: var(--purple); }
.section-head__link {
  flex: none; padding-bottom: 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--white); border-bottom: 3px solid var(--purple-lit);
  transition: color .2s ease;
}
.section-head__link:hover { color: var(--purple-lit); }

/* ============================================================
   FEATURED STORY + LATEST NEWS
   ============================================================ */
.news { background: var(--black); padding: clamp(64px, 8vw, 120px) 0; }
.news__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Story image. Shows the photo when there is one; otherwise a purple graphic with the story type. */
.shot {
  position: relative; display: block; overflow: hidden; container-type: inline-size;
  background:
    radial-gradient(95% 125% at 88% -5%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .4) 52%, rgba(80, 20, 132, 0) 86%),
    var(--ink);
}
.shot__word {
  position: absolute; left: 3cqw; bottom: -1.5cqw; white-space: nowrap;
  font-family: var(--font-display); font-weight: 900; font-size: 5rem; font-size: 23cqw; line-height: .8; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: max(1.5px, .4cqw) rgba(255, 255, 255, .42);
}
.shot__logo { position: absolute; top: 5cqw; left: 5cqw; width: 15cqw; min-width: 44px; height: auto; }
.shot img.shot__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); pointer-events: none; }
a:hover > .shot img.shot__photo, a.shot:hover img.shot__photo { transform: scale(1.04); }

.story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-weight: 600; font-size: .8rem; letter-spacing: 0.11em; text-transform: uppercase; line-height: 1.2; }
.story__type { color: var(--purple-lit); }
.story__date { color: var(--gray); }

/* Featured story: photo runs off the left edge of the screen, angled on the right. */
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(36px, 5vw, 72px); }
.feature .shot { min-height: clamp(340px, 38vw, 580px); height: 100%; clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%); }
.feature__body { padding-right: var(--gutter); max-width: 620px; }
.feature__title { margin: 14px 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 4.8vw, 4.5rem); line-height: .9; text-transform: uppercase; overflow-wrap: break-word; }
.feature__title a { transition: color .2s ease; }
.feature__title a:hover { color: var(--purple-lit); }
.feature__summary { margin: clamp(14px, 1.6vw, 22px) 0 0; color: var(--gray); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 46ch; }
.feature .btn { margin-top: clamp(20px, 2.4vw, 32px); }

/* Smaller stories. */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.story a { display: block; }
.story .shot { aspect-ratio: 16 / 9; }
.story__body { padding-top: 16px; border-top: 4px solid var(--purple); }
.story__title { margin: 10px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; transition: color .2s ease; overflow-wrap: break-word; }
.story a:hover .story__title { color: var(--purple-lit); }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .feature .shot { min-height: 0; height: auto; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .feature__body { padding: 0 var(--gutter); max-width: none; }
  /* Phones: compact rows with a small image, not three tall cards. */
  .stories { grid-template-columns: 1fr; gap: 0; }
  .story a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
  .story:last-child a { border-bottom: 1px solid var(--line); }
  .story .shot { aspect-ratio: 1 / 1; }
  .story .shot__logo { display: none; }
  .story__body { padding-top: 0; border-top: 0; }
  .story__title { font-size: 1.45rem; margin-top: 6px; }
}


/* ============================================================
   ANGLED SECTION DIVIDER (purple edge between two backgrounds)
   ============================================================ */
.slant { position: absolute; left: 0; top: 0; width: 100%; height: clamp(30px, 5vw, 84px); transform: translateY(-99%); display: block; pointer-events: none; }
.slant polygon { fill: var(--ink); }
.slant line { stroke: var(--purple); stroke-width: 6; vector-effect: non-scaling-stroke; }

/* ============================================================
   TEAM LEADERS
   ============================================================ */
.leaders { position: relative; background: var(--ink); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); margin-top: clamp(30px, 5vw, 84px); }
.leaders__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.leaders__row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px);
  max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); list-style: none;
}
.leader {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4.4; padding: clamp(16px, 1.6vw, 24px);
  background:
    radial-gradient(120% 78% at 82% 0%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .34) 56%, rgba(80, 20, 132, 0) 88%),
    var(--black);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
/* Jersey number as the background graphic until a player photo is added. */
.leader__art {
  position: absolute; z-index: -3; top: 15cqw; right: 4cqw;
  font-family: var(--font-display); font-weight: 900; font-size: 6rem; font-size: 64cqw; line-height: .8;
  color: transparent; -webkit-text-stroke: max(1.5px, .9cqw) rgba(255, 255, 255, .3);
}
.leader__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.leader::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.96) 8%, rgba(0,0,0,.72) 34%, rgba(0,0,0,0) 66%); }
.leader::after { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; width: 100%; background: var(--purple-lit); transform: scaleX(.22); transform-origin: left; transition: transform .3s ease; }
.leader:hover::after, .leader:focus-visible::after { transform: scaleX(1); }
.leader:hover .leader__photo { transform: scale(1.04); }
.leader__cat {
  position: absolute; top: 0; left: 0; padding: 9px 14px 8px;
  background: var(--purple); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
}
.leader__stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 5.4vw, 5.2rem); line-height: .85; font-variant-numeric: tabular-nums; }
.leader__unit { font-size: .3em; font-weight: 800; letter-spacing: 0.08em; color: var(--purple-lit); }
.leader__first { display: block; margin-top: 12px; font-weight: 600; font-size: .82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.leader__last { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }

/* Phones and tablets: one swipeable row with the next card peeking in. */
@media (max-width: 1100px) {
  .leaders__row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(210px, 62vw, 270px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px;
  }
  .leaders__row::-webkit-scrollbar { display: none; }
  .leader-item { scroll-snap-align: start; }
  .leader__stat { font-size: 4.2rem; }
  .leader__last { font-size: 1.8rem; }
}


/* ============================================================
   MEET THE PANTHERS (player cards)
   The same card is reused on the Roster page.
   ============================================================ */
.players { background: var(--black); padding: clamp(64px, 8vw, 120px) 0; container-type: inline-size; }
.players__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.players__tools { flex: none; display: flex; align-items: center; gap: 10px; }
.players__tools .section-head__link { margin-left: 12px; }
.arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.45); transition: background-color .2s ease, border-color .2s ease, opacity .2s ease; }
.arrow::before { content: ""; width: 11px; height: 11px; border-right: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: translateX(-2px) rotate(-45deg); }
.arrow--prev::before { transform: translateX(2px) rotate(135deg); }
.arrow:hover:not(:disabled) { border-color: var(--purple-lit); background: rgba(80, 20, 132, .4); }
.arrow:disabled { opacity: .3; cursor: default; }

/* One row that scrolls sideways and runs off the right edge of the screen. */
.players__row {
  --edge: max(var(--gutter), calc((100cqw - 1500px) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 64vw, 300px); gap: clamp(12px, 1.4vw, 22px);
  margin: 0; padding: 0 var(--edge) 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--edge);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.players__row::-webkit-scrollbar { display: none; }
.players__row > li { scroll-snap-align: start; }

.player {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4.3;
  background:
    radial-gradient(115% 72% at 18% 0%, rgba(80, 20, 132, .95), rgba(80, 20, 132, .3) 58%, rgba(80, 20, 132, 0) 90%),
    var(--ink);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.player__art {
  position: absolute; z-index: -3; top: 12cqw; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 900; font-size: 7rem; font-size: 74cqw; line-height: .8;
  color: transparent; -webkit-text-stroke: max(1.5px, .8cqw) rgba(255, 255, 255, .3);
}
.player__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.player::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.95) 6%, rgba(0,0,0,.6) 30%, rgba(0,0,0,0) 58%); }
.player:hover .player__photo { transform: scale(1.04); }
.player__info { display: flex; align-items: flex-end; gap: clamp(10px, 4.5cqw, 14px); padding: clamp(14px, 6cqw, 20px); }
.player__num {
  flex: none; min-width: clamp(46px, 20cqw, 62px); height: clamp(46px, 20cqw, 62px); padding: 0 8px; display: grid; place-items: center;
  background: var(--purple); font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 13cqw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.player__name { min-width: 0; }
.player__first { display: block; font-weight: 600; font-size: .82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.player__last { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 10.5cqw, 1.95rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }
.player__meta { display: flex; gap: 10px; margin-top: 6px; font-weight: 600; font-size: .8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-lit); line-height: 1.2; }
.player__meta span + span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.35); }

/* Extra details slide up when a mouse is over the card. Touch screens skip this and go straight to the profile. */
.player__more { display: none; }
@media (hover: hover) {
  .player__more { display: grid; grid-template-rows: 0fr; background: var(--purple); transition: grid-template-rows .28s ease; }
  .player__more-in { display: block; overflow: hidden; min-height: 0; }
  .player:hover .player__more, .player:focus-visible .player__more { grid-template-rows: 1fr; }
}
.player__stats { display: flex; justify-content: space-between; gap: 8px; padding: 12px clamp(14px, 6cqw, 20px); }
.player__stats > span { display: block; min-width: 0; }
.player__stat-label { display: block; font-weight: 600; font-size: .66rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.player__stat-value { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .players__tools .arrow { display: none; }
  .players__tools .section-head__link { margin-left: 0; }
}


/* ============================================================
   OUR IDENTITY (the program's standards as a wall of type)
   ============================================================ */
.slant--rise polygon, .slant--rise line { transform: scaleX(-1); transform-origin: 50% 50%; }
.identity { position: relative; isolation: isolate; background: var(--ink); margin-top: clamp(30px, 5vw, 84px); padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 9vw, 136px); }
.identity__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.identity__bg > div { position: absolute; inset: 0; }
/* Photo. Empty until a practice or game photo is supplied. */
.identity__photo { background: center / cover no-repeat; }
.identity__light {
  background:
    radial-gradient(85% 110% at 100% 100%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .42) 50%, rgba(80, 20, 132, 0) 82%),
    radial-gradient(45% 60% at 0% 12%, rgba(80, 20, 132, .45), rgba(80, 20, 132, 0) 75%);
}
/* Faint floorboard lines so the wall is not flat before a photo is added. */
.identity__boards { background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, rgba(255,255,255,0) 1px 96px); -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%); }
.identity .grain { opacity: .06; }
.identity__shade { background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }

.identity__inner {
  max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); column-gap: clamp(32px, 6vw, 110px); align-items: center;
}
.identity__intro { grid-column: 1; grid-row: 1; align-self: end; }
.identity__intro .section-head { margin-bottom: clamp(16px, 2vw, 26px); }
.identity__text { margin: 0; max-width: 34ch; color: var(--gray); font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.identity__cta { grid-column: 1; grid-row: 2; align-self: start; margin-top: clamp(22px, 2.6vw, 36px); }
.wall { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; list-style: none; min-width: 0; overflow: hidden; }
.wall li {
  display: block; white-space: nowrap;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 6vw, 5rem);   /* replaced by the fit script below */
  line-height: .86; text-transform: uppercase; letter-spacing: 0;
}
.wall li span { display: inline-block; }
.wall li:nth-child(even) { color: transparent; -webkit-text-stroke: max(1px, .02em) var(--white); }

@media (max-width: 900px) {
  .identity__inner { display: block; }
  .wall { margin-top: 30px; }
  .identity__cta { margin-top: 30px; }
}


/* ============================================================
   MANTENO BASKETBALL MEDIA
   ============================================================ */
.media { background: var(--black); padding: clamp(64px, 8vw, 120px) 0; }
.media__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.media .section-head { margin-bottom: clamp(18px, 2.4vw, 30px); }

/* Category buttons. */
.filters { display: flex; gap: clamp(4px, 1vw, 14px); margin: 0 calc(-1 * var(--gutter)) clamp(20px, 2.6vw, 34px); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; position: relative; height: 44px; padding: 0 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
  color: var(--gray); transition: color .2s ease;
}
.filter:first-child { padding-left: 0; }
.filter::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; background: var(--purple-lit); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.filter:first-child::after { left: 0; }
.filter:hover { color: var(--white); }
.filter[aria-pressed="true"] { color: var(--white); }
.filter[aria-pressed="true"]::after { transform: scaleX(1); }

/* One large tile with two beside it. */
.media__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(12px, 1.4vw, 22px); }
.media__grid .tile:first-child { grid-row: 1 / span 2; }
.media__grid[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.media__grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media__grid[data-count="1"] .tile:first-child, .media__grid[data-count="2"] .tile:first-child { grid-row: auto; }
.media__grid[data-count="1"] .tile { aspect-ratio: 21 / 9; }

.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; aspect-ratio: 16 / 9; min-width: 0; }
.media__grid:not([data-count="1"]):not([data-count="2"]) .tile:first-child { aspect-ratio: auto; min-height: 100%; }
.tile .shot { position: absolute; inset: 0; z-index: -2; }
.tile .shot__word { bottom: auto; top: 2cqw; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.35) 42%, rgba(0,0,0,0) 68%); }
.tile__body { padding: clamp(14px, 1.6vw, 26px); }
.tile__title { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }
.media__grid[data-count="3"] .tile:first-child .tile__title, .media__grid[data-count="1"] .tile__title { font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: .95; }
.tile__play {
  position: absolute; left: 50%; top: 44%; width: clamp(54px, 5vw, 76px); aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; background: var(--purple); transition: background-color .2s ease;
}
.tile__play::before { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); margin-left: 4px; transition: border-color .2s ease; }
.media__grid[data-count="3"] .tile:first-child .tile__play, .media__grid[data-count="1"] .tile__play { width: clamp(64px, 7vw, 104px); }
.tile:hover .tile__play, .tile:focus-visible .tile__play { background: var(--white); }
.tile:hover .tile__play::before, .tile:focus-visible .tile__play::before { border-left-color: var(--purple); }
.tile:hover .shot__photo { transform: scale(1.04); }

@media (max-width: 860px) {
  .media__grid, .media__grid[data-count="2"] { grid-template-columns: minmax(0, 1fr); }
  .media__grid .tile:first-child { grid-row: auto; }
  .media__grid .tile, .media__grid:not([data-count="1"]):not([data-count="2"]) .tile:first-child, .media__grid[data-count="1"] .tile { aspect-ratio: 16 / 9; min-height: 0; }
}


/* ============================================================
   THE HISTORY OF MANTENO BASKETBALL
   ============================================================ */
.history { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding: clamp(64px, 8vw, 120px) 0; }
.history::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 0% 0%, rgba(80, 20, 132, .6), rgba(80, 20, 132, 0) 75%); }
.history__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.history__cols { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(36px, 6vw, 110px); align-items: start; }

/* Championship banners, like the ones hanging in the gym. One per title in the history data. */
.banners { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.banner {
  flex: 0 1 200px; min-width: 132px; aspect-ratio: 3 / 4.4;
  display: flex; flex-direction: column; align-items: center; padding: clamp(16px, 2vw, 24px) 10px 0; text-align: center;
  background: var(--purple); border-top: 6px solid var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
}
.banner__label { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.25rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.05; max-width: 100%; }
.banner__year { margin-top: clamp(8px, 1vw, 14px); font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: .9; font-variant-numeric: tabular-nums; }
.banner__record { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.6vw, 1.5rem); letter-spacing: 0.04em; color: rgba(255, 255, 255, .82); }

.finals { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); margin: clamp(24px, 3vw, 40px) 0 0; }
.finals__count { flex: none; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 5.4vw, 4.8rem); line-height: .85; color: var(--purple-lit); font-variant-numeric: tabular-nums; }
.finals__label { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.6vw, 1.5rem); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.05; }
.finals__years { display: block; margin-top: 6px; color: var(--gray); font-size: .95rem; line-height: 1.45; }
.history__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.2vw, 44px); }

/* Record holders: the leader of each chosen list, worked out from the records data. */
.holders__title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; color: var(--gray); }
.holders { margin: 0; padding: 0; list-style: none; border-top: 4px solid var(--purple); }
.holder { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 20px; padding: clamp(13px, 1.5vw, 19px) 0; border-bottom: 1px solid var(--line); }
.holder__label { grid-column: 1 / -1; margin-bottom: 5px; font-weight: 600; font-size: .78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); line-height: 1.2; }
.holder__who { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }
.holder__years { display: inline-block; margin-left: 10px; font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: 0.08em; color: var(--gray); white-space: nowrap; }
.holder__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.3rem, 3.8vw, 3.5rem); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.holder:first-child .holder__who { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.holder:first-child .holder__value { font-size: clamp(3.4rem, 6.2vw, 5.6rem); }

@media (max-width: 900px) {
  .history__cols { grid-template-columns: minmax(0, 1fr); }
  .banner { flex-basis: 150px; }
}

/* ============================================================
   FOLLOW THE PANTHERS (social links)
   ============================================================ */
.follow { position: relative; isolation: isolate; overflow: hidden; background: var(--black); padding: clamp(64px, 8vw, 120px) 0; }
.follow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 100%, rgba(80, 20, 132, .85), rgba(80, 20, 132, .25) 55%, rgba(80, 20, 132, 0) 85%); }
.follow__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin: 0; padding: 0; list-style: none; }
.social {
  display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 84px; padding: 0 clamp(16px, 1.8vw, 26px);
  border: 2px solid rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .45);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  transition: background-color .2s ease, border-color .2s ease;
}
.social:hover { background: var(--purple); border-color: var(--purple-lit); }
.social svg { flex: none; width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 560px) { .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } .social { min-height: 64px; padding: 0 12px; font-size: clamp(.95rem, 4.6vw, 1.15rem); letter-spacing: 0.04em; gap: 10px; min-width: 0; } .social svg { width: 24px; height: 24px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); border-top: 4px solid var(--purple); padding: clamp(44px, 5vw, 72px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__inner { max-width: calc(1500px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.footer__logo img { width: 132px; height: auto; }
.footer__address { margin: 20px 0 0; font-style: normal; color: var(--gray); line-height: 1.6; }
.footer__address strong { display: block; color: var(--white); font-weight: 600; }
.footer__address a { text-decoration: underline; text-underline-offset: 3px; }
.footer__title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; color: var(--purple-lit); }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-block; padding: 6px 0; color: var(--gray); font-weight: 500; transition: color .2s ease; }
.footer__links a:hover { color: var(--white); }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__social a { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line); color: var(--white); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease; }
.footer__social a:hover { background: var(--purple); border-color: var(--purple-lit); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__base { margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); color: var(--gray); font-size: .85rem; }
.footer__base p { margin: 0; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ============================================================
   NOTICE (only shown if the sheet cannot be reached and nothing is saved)
   ============================================================ */
.notice { background: var(--ink); padding: clamp(48px, 7vw, 96px) var(--gutter); text-align: center; }
.notice p { margin: 0 auto; max-width: 44ch; color: var(--gray); font-size: 1.1rem; }
.notice strong { display: block; margin-bottom: 8px; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }

/* ============================================================
   SHEET CHECK (appears when the address ends in ?check)
   ============================================================ */
.check { position: fixed; inset: 0; z-index: 100; overflow: auto; background: rgba(0, 0, 0, .94); padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--gutter) 40px; }
.check__inner { max-width: 860px; margin: 0 auto; }
.check h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.check p, .check li { color: var(--gray); }
.check h3 { margin: 22px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.check li { overflow-wrap: anywhere; }
.check table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.check th, .check td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.check th { color: var(--purple-lit); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: .75rem; }
.check ul { margin: 0 0 22px; padding-left: 20px; }


/* ============================================================
   CURRENT PAGE IN THE MENU
   ============================================================ */
.nav__link[aria-current="page"]::after, .nav__group.is-current > .nav__link::after { transform: scaleX(1); }
.nav__dropdown a[aria-current="page"] { color: var(--white); }
.menu a[aria-current="page"] { color: var(--purple-lit); }

/* ============================================================
   PAGE HEADER (top of every page except the homepage)
   ============================================================ */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); padding: calc(var(--nav-h) + clamp(34px, 6vw, 84px)) var(--gutter) clamp(72px, 10vw, 150px); }
.page-hero__light {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 80% at 82% 0%, rgba(150, 84, 224, .5), rgba(150, 84, 224, 0) 70%),
    radial-gradient(100% 150% at 86% -10%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .46) 48%, rgba(80, 20, 132, 0) 80%);
}
.page-hero .grain { position: absolute; inset: 0; z-index: -1; }
.page-hero__inner { max-width: 1500px; margin: 0 auto; }
.page-hero__title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.8rem, 13vw, 9.5rem); line-height: .84; text-transform: uppercase; letter-spacing: -0.005em; }

/* ============================================================
   SCHEDULE PAGE
   ============================================================ */
.schedule { background: var(--ink); padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.schedule__inner { max-width: 1500px; margin: 0 auto; }
.schedule .filters { margin-top: clamp(20px, 2.6vw, 34px); margin-bottom: 0; }
.schedule__empty { margin: clamp(28px, 4vw, 52px) 0 0; color: var(--gray); font-size: 1.1rem; }
.month { margin: clamp(30px, 4vw, 56px) 0 0; padding-bottom: 12px; border-bottom: 4px solid var(--purple); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: var(--purple-lit); }
.sched { margin: 0; padding: 0; list-style: none; }

/* One game. Finished games show the result; upcoming games show the time. */
.sg {
  position: relative; display: grid; grid-template-columns: 108px minmax(0, 1.5fr) minmax(0, 1fr) minmax(190px, auto);
  align-items: center; column-gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(14px, 1.6vw, 22px) clamp(8px, 1.2vw, 18px); border-bottom: 1px solid var(--line);
}
.sg__anchor { position: absolute; top: -110px; }
.sg { scroll-margin-top: 100px; }
.sg__dow { display: block; font-weight: 600; font-size: .78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.sg__day { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.2vw, 2.1rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.sg__opp { display: flex; align-items: center; gap: 14px; min-width: 0; --mark: 56px; }
.sg__vs { flex: none; width: 26px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-lit); }
.sg__who { min-width: 0; }
.sg__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }
.sg__mascot { color: var(--gray); }
.sg .game__tags { justify-content: flex-start; gap: 6px; margin-top: 8px; }
.sg .game__tags li { padding: 4px 8px; font-size: .66rem; border-color: rgba(255, 255, 255, .3); color: var(--gray); }
.sg__where { color: var(--gray); font-size: .98rem; line-height: 1.4; min-width: 0; }
.sg__note { display: block; font-size: .86rem; }
.sg__res { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }
.sg .result__mark { width: 44px; height: 44px; font-size: 1.8rem; }
.sg__score { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: .95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg__after { display: block; margin-top: 3px; font-weight: 600; font-size: .74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.sg__time { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.sg__flag { display: inline-block; margin-bottom: 6px; padding: 5px 9px; background: var(--white); color: var(--black); font-weight: 700; font-size: .68rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.sg--final .sg__day { color: var(--gray); }
.sg--loss .sg__score { color: var(--gray); }
.sg--next { background: linear-gradient(90deg, rgba(80, 20, 132, .85), rgba(80, 20, 132, .16) 75%); border-bottom-color: var(--purple-lit); box-shadow: 0 -1px 0 var(--purple-lit); }
.sg--next .sg__dow, .sg--next .sg__where, .sg--next .game__tags li { color: var(--white); }

@media (max-width: 860px) {
  /* Phones: date on the left; opponent, result and location stacked on the right. */
  .sg { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "date opp" "date res" "date where"; align-items: start; column-gap: 12px; row-gap: 8px; padding: 14px 10px; margin: 0 -10px; }
  .sg__date { grid-area: date; } .sg__opp { grid-area: opp; --mark: 40px; gap: 10px; } .sg__where { grid-area: where; } .sg__res { grid-area: res; justify-content: flex-start; text-align: left; gap: 10px; }
  .sg__res > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .sg__dow { font-size: .68rem; } .sg__day { font-size: 1.35rem; white-space: normal; }
  .sg__vs { width: auto; font-size: .95rem; }
  .sg__name { font-size: 1.45rem; }
  .sg .result__mark { width: 34px; height: 34px; font-size: 1.4rem; }
  .sg__score { font-size: 1.6rem; } .sg__time { font-size: 1.3rem; }
  .sg__after { margin-top: 0; }
  .sg__flag { margin-bottom: 0; align-self: center; }
  .sg__where { font-size: .9rem; }
}

/* ============================================================
   ROSTER PAGE
   ============================================================ */
.roster { background: var(--ink); padding: clamp(8px, 2vw, 28px) var(--gutter) clamp(64px, 8vw, 120px); }
.roster__inner { max-width: 1500px; margin: 0 auto; }
.roster__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-bottom: 12px; border-bottom: 4px solid var(--purple); }
.roster__count { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: var(--purple-lit); }
.roster__bar .filters { margin: 0; padding: 0; }
.roster__bar .filter:first-child { padding-left: 12px; }
.roster__bar .filter:first-child::after { left: 12px; }
.roster__empty { margin: clamp(28px, 4vw, 52px) 0 0; color: var(--gray); font-size: 1.1rem; }

/* Card view: four across on a computer, three on a tablet, two on a phone. */
.roster__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); margin: clamp(20px, 2.6vw, 34px) 0 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .roster__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .roster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* On a narrow card the jersey number sits above the name, so long last names fit. */
@container (max-width: 215px) {
  .player__info { flex-direction: column; align-items: flex-start; gap: 8px; }
  .player__num { min-width: 44px; height: 44px; font-size: 1.8rem; }
  .player__last { font-size: 1.3rem; }
}

/* List view: a plain roster table. */
.roster__table-wrap { margin-top: clamp(20px, 2.6vw, 34px); overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; }
.rtable th { padding: 10px 12px; text-align: left; font-weight: 600; font-size: .74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); border-bottom: 1px solid var(--line); white-space: nowrap; }
.rtable td { padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--gray); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rtable tbody th { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: inherit; letter-spacing: 0; text-transform: none; white-space: normal; }
.rtable .num { text-align: right; }
.rtable__no { width: 1%; font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--white); }
.rtable__name a { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; color: var(--white); white-space: normal; transition: color .2s ease; }
.rtable__name a:hover { color: var(--purple-lit); }
.rtable__first { color: var(--gray); }
.rtable tbody tr:hover td { background: rgba(80, 20, 132, .22); }
@media (max-width: 640px) {
  .rtable th, .rtable td, .rtable tbody th { padding-left: 7px; padding-right: 7px; }
  .rtable .wide { display: none; }            /* phones: keep number, name, position, class, height and points */
  .rtable__name a { font-size: 1.25rem; }
  .rtable__no { font-size: 1.4rem; }
}

/* ============================================================
   PLAYER PROFILE PAGE
   ============================================================ */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); min-height: clamp(460px, 62vw, 760px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 30px) var(--gutter) clamp(84px, 11vw, 160px); }
.phero__light {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(46% 70% at 78% 8%, rgba(150, 84, 224, .55), rgba(150, 84, 224, 0) 70%),
    radial-gradient(100% 130% at 84% -6%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .5) 48%, rgba(80, 20, 132, 0) 80%);
}
/* Jersey number as the background graphic. A player photo, when there is one, sits over it on the right. */
.phero__art {
  position: absolute; z-index: -2; right: 2vw; top: 50%; transform: translateY(-46%);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(16rem, 46vw, 44rem); line-height: .8;
  color: transparent; -webkit-text-stroke: max(2px, .28vw) rgba(255, 255, 255, .26);
}
.phero__photo {
  position: absolute; z-index: -2; top: 0; right: 0; width: min(58%, 900px); height: 100%; object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%);
}
.phero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,.86), rgba(0,0,0,.3) 52%, rgba(0,0,0,0) 80%), linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0) 40%); }
.phero .grain { position: absolute; inset: 0; z-index: -1; }
.phero__inner { width: 100%; max-width: 1500px; margin: 0 auto; }
.phero__back { display: inline-block; margin-bottom: clamp(18px, 3vw, 40px); padding-bottom: 3px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 3px solid var(--purple-lit); transition: color .2s ease; }
.phero__back:hover { color: var(--purple-lit); }
.phero__id { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); }
.phero__num { display: grid; place-items: center; min-width: clamp(60px, 7vw, 96px); height: clamp(60px, 7vw, 96px); padding: 0 12px; background: var(--purple); font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.phero__first { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 3.2rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; color: var(--purple-lit); }
.phero__last { margin: clamp(6px, 1vw, 12px) 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 14vw, 11.5rem); line-height: .84; text-transform: uppercase; letter-spacing: -0.005em; overflow-wrap: break-word; text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
.phero__meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin: clamp(16px, 2vw, 26px) 0 0; padding: 0; list-style: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.7rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.phero__meta li + li { margin-left: 16px; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .4); }
.phero__actions { margin-top: clamp(20px, 2.6vw, 34px); }
.phero__actions .btn { min-height: 46px; padding: 0 22px; font-size: 1.1rem; }

.profile { background: var(--ink); padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.profile__inner { max-width: 1500px; margin: 0 auto; }
.profile .month:first-child { margin-top: clamp(8px, 2vw, 28px); }
.profile__note { margin: 18px 0 0; color: var(--gray); }
.bio { margin: clamp(16px, 2vw, 26px) 0 0; max-width: 68ch; color: var(--gray); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.bio p { margin: 0 0 1em; }

/* Stat tiles: season highs and season totals. */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 1px; margin: clamp(16px, 2vw, 26px) 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.tile-stat { background: var(--ink); padding: clamp(14px, 1.6vw, 22px); min-width: 0; }
.tile-stat__label { display: block; font-weight: 600; font-size: .74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.tile-stat__value { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: .9; font-variant-numeric: tabular-nums; }
.tile-stat__sub { display: block; margin-top: 8px; color: var(--gray); font-size: .86rem; line-height: 1.3; }
.tiles--highs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--highs .tile-stat__value { font-size: clamp(3rem, 5.4vw, 4.8rem); color: var(--purple-lit); }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles--highs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Shooting: a bar for each percentage. */
.shooting { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); margin: clamp(18px, 2.2vw, 30px) 0 0; }
.shot-bar__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.shot-bar__label { font-weight: 600; font-size: .78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.shot-bar__made { color: var(--gray); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shot-bar__pct { display: block; margin: 4px 0 10px; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 3.8vw, 3.4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.shot-bar__track { height: 10px; background: rgba(255, 255, 255, .12); }
.shot-bar__fill { display: block; height: 100%; background: var(--purple-lit); }
@media (max-width: 720px) { .shooting { grid-template-columns: minmax(0, 1fr); } }

/* Game log (uses the roster table styles). */
.glog td:first-child { color: var(--gray); }
.glog__opp { color: var(--white); font-weight: 600; white-space: normal; }
.glog__res b { color: var(--purple-lit); font-weight: 700; }
.glog__res.is-loss b { color: var(--gray); }
.glog .pts { color: var(--white); font-weight: 700; }
.glog .is-high { color: var(--purple-lit); font-weight: 700; }

/* Previous / next player. */
.pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: clamp(40px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--line); }
.pager a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; transition: color .2s ease; }
.pager a:hover { color: var(--purple-lit); }
.pager small { display: block; margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: 0.12em; color: var(--gray); }
.pager__next { text-align: right; }
.pager .btn { font-size: 1.05rem; min-height: 46px; padding: 0 20px; }

@media (max-width: 720px) {
  .phero { min-height: 0; padding-bottom: 96px; }
  .phero__photo { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(to top, transparent, #000 45%); mask-image: linear-gradient(to top, transparent, #000 45%); }
  .phero__art { right: -6vw; top: 34%; font-size: 74vw; }
  .pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pager .btn { grid-column: 1 / -1; grid-row: 2; }
}

/* ============================================================
   STATS PAGE
   ============================================================ */
.stats { background: var(--ink); padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.stats__inner { max-width: 1500px; margin: 0 auto; }
.stats__note { margin: 16px 0 0; max-width: 90ch; color: var(--gray); font-size: .88rem; line-height: 1.5; }
.stats__empty { margin: clamp(28px, 4vw, 52px) 0 0; color: var(--gray); font-size: 1.1rem; }

/* Leaderboards: the top three in each category, with the leader shown large. */
.boards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); margin: clamp(18px, 2.2vw, 30px) 0 0; padding: 0; list-style: none; }
.board {
  height: 100%; padding: clamp(16px, 1.6vw, 24px); background: var(--black);
  background-image: radial-gradient(120% 70% at 85% 0%, rgba(80, 20, 132, .8), rgba(80, 20, 132, 0) 80%);
  border-top: 4px solid var(--purple-lit);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.board__label { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.board__top { display: block; margin-top: 14px; }
.board__value { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 4.6vw, 4.4rem); line-height: .85; font-variant-numeric: tabular-nums; }
.board__name { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; overflow-wrap: break-word; transition: color .2s ease; }
.board__name small { font-size: .62em; color: var(--purple-lit); letter-spacing: 0.06em; }
a.board__top:hover .board__name { color: var(--purple-lit); }
.board__rest { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.board__rest li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: .95rem; }
.board__rest li:last-child { border-bottom: 0; padding-bottom: 0; }
.board__rank { flex: none; width: 1.1em; font-weight: 700; color: var(--purple-lit); }
.board__rest a { flex: 1; min-width: 0; color: var(--white); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board__rest a:hover { color: var(--purple-lit); }
.board__rest b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--white); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  /* Phones: one swipeable row with the next board peeking in. */
  .boards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .boards::-webkit-scrollbar { display: none; }
  .boards > li { scroll-snap-align: start; }
}

/* Player table: tap a view, tap a column heading to sort. The name column stays put when the table scrolls sideways. */
.stats .filters { margin-top: clamp(16px, 2vw, 24px); margin-bottom: 0; }
.stable-wrap { margin-top: 10px; overflow-x: auto; }
.stable { width: 100%; border-collapse: separate; border-spacing: 0; }
.stable th, .stable td { padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stable thead th { padding: 0; text-align: right; vertical-align: bottom; }
.stable thead th:first-child { text-align: left; }
.stable__sort { display: inline-flex; align-items: center; gap: 6px; width: 100%; justify-content: flex-end; padding: 10px 12px; font-weight: 600; font-size: .74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); white-space: nowrap; transition: color .2s ease; }
.stable thead th:first-child .stable__sort { justify-content: flex-start; }
.stable__sort:hover { color: var(--white); }
.stable__sort::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid transparent; }
th[aria-sort="descending"] .stable__sort { color: var(--white); }
th[aria-sort="descending"] .stable__sort::after { border-top-color: var(--white); }
th[aria-sort="ascending"] .stable__sort { color: var(--white); }
th[aria-sort="ascending"] .stable__sort::after { border-top: 0; border-bottom: 6px solid var(--white); }
.stable td { text-align: right; color: var(--gray); }
.stable tbody th, .stable tfoot th { position: sticky; left: 0; z-index: 1; background: var(--ink); text-align: left; font-weight: inherit; }
.stable__player { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; color: var(--white); transition: color .2s ease; }
.stable__player small { min-width: 1.6em; font-size: .78em; font-weight: 900; color: var(--purple-lit); }
.stable__player .first { color: var(--gray); }
a.stable__player:hover { color: var(--purple-lit); }
.stable td.is-sorted { color: var(--white); font-weight: 700; background: rgba(80, 20, 132, .2); }
.stable td.is-best { color: var(--purple-lit); font-weight: 700; }
.stable tbody tr:hover td, .stable tbody tr:hover th { background-color: rgba(80, 20, 132, .28); }
.stable tfoot th, .stable tfoot td { border-top: 4px solid var(--purple); border-bottom: 0; color: var(--white); font-weight: 700; }
@media (max-width: 640px) {
  .stable th, .stable td { padding: 11px 9px; }
  .stable__sort { padding: 10px 9px; }
  .stable__player { font-size: 1.2rem; gap: 7px; }
  .stable__player .first { display: none; }       /* phones: number and last name only */
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.newspage { background: var(--ink); padding: clamp(8px, 2vw, 28px) 0 clamp(64px, 8vw, 120px); }
.newspage .filters { margin-bottom: clamp(20px, 2.6vw, 34px); padding-bottom: 8px; border-bottom: 4px solid var(--purple); }
.newspage .filters .filter::after { bottom: 0; }
.stories--wrap { row-gap: clamp(28px, 3.6vw, 52px); }
.newspage__more { margin-top: clamp(28px, 4vw, 52px); text-align: center; }
.newspage__empty { margin: clamp(20px, 3vw, 40px) 0 0; color: var(--gray); font-size: 1.1rem; }
@media (max-width: 860px) { .stories--wrap { row-gap: 0; } }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.ahero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); min-height: clamp(420px, 52vw, 720px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 30px) var(--gutter) clamp(84px, 11vw, 160px); container-type: inline-size; }
.ahero__light { position: absolute; inset: 0; z-index: -3; background: radial-gradient(46% 70% at 80% 6%, rgba(150, 84, 224, .5), rgba(150, 84, 224, 0) 70%), radial-gradient(100% 130% at 84% -6%, rgba(80, 20, 132, 1), rgba(80, 20, 132, .5) 48%, rgba(80, 20, 132, 0) 80%); }
.ahero__word { position: absolute; z-index: -3; right: 2cqw; top: 46%; transform: translateY(-50%); white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: 26cqw; line-height: .8; text-transform: uppercase; color: transparent; -webkit-text-stroke: max(2px, .28cqw) rgba(255, 255, 255, .22); }
.ahero__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ahero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.94) 4%, rgba(0,0,0,.6) 46%, rgba(0,0,0,.25) 100%), linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,0) 70%); }
.ahero--plain .ahero__shade { background: linear-gradient(to right, rgba(0,0,0,.82), rgba(0,0,0,.2) 60%, rgba(0,0,0,0) 85%); }
.ahero .grain { position: absolute; inset: 0; z-index: -1; }
.ahero__inner { width: 100%; max-width: 1500px; margin: 0 auto; }
.ahero__title { margin: 14px 0 0; max-width: 20ch; font-family: var(--font-display); font-weight: 900; font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .88; text-transform: uppercase; overflow-wrap: break-word; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.ahero__byline { margin: clamp(14px, 1.8vw, 22px) 0 0; color: var(--gray); font-weight: 600; font-size: .9rem; letter-spacing: 0.06em; }

.article { background: var(--ink); padding: clamp(20px, 3vw, 44px) var(--gutter) clamp(64px, 8vw, 120px); }
.article__inner { max-width: 1500px; margin: 0 auto; }
.article__text { max-width: 68ch; }
.article__lead { margin: 0 0 1.2em; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.45; color: var(--white); }
.article__body p { margin: 0 0 1.15em; color: #D7D3DE; font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.7; }
.article__body a { color: var(--purple-lit); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article__video { position: relative; max-width: 960px; margin: clamp(8px, 1.4vw, 18px) 0 clamp(24px, 3vw, 40px); aspect-ratio: 16 / 9; background: var(--black); border: 1px solid var(--line); }
.article__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(8px, 1.2vw, 16px); max-width: 1100px; margin: clamp(20px, 3vw, 40px) 0 0; padding: 0; list-style: none; }
.article__photos a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--black); }
.article__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article__photos a:hover img { transform: scale(1.04); }
.article__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.article__actions .btn { min-height: 46px; padding: 0 22px; font-size: 1.1rem; }
.article .month { margin-bottom: clamp(18px, 2.2vw, 30px); }

/* ============================================================
   MEDIA PAGE
   ============================================================ */
.mediapage { background: var(--ink); padding: clamp(8px, 2vw, 28px) var(--gutter) clamp(64px, 8vw, 120px); }
.mediapage__inner { max-width: 1500px; margin: 0 auto; }
.mediapage .filters { margin-bottom: clamp(20px, 2.6vw, 34px); padding-bottom: 8px; border-bottom: 4px solid var(--purple); }
.mediapage .filters .filter::after { bottom: 0; }
/* Three across, with the newest item double size. Two across on a tablet, one on a phone. */
.media-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.media-list--lead .tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.media-list--lead .tile:first-child .tile__title { font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: .95; }
.media-list--lead .tile:first-child .tile__play { width: clamp(64px, 7vw, 104px); }
@media (max-width: 1000px) { .media-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .media-list { grid-template-columns: minmax(0, 1fr); }
  .media-list--lead .tile:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
}

/* ============================================================
   POP-UP VIEWER (videos, photos and graphics over the page)
   ============================================================ */
.viewer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; overflow: auto; background: rgba(0, 0, 0, .94); padding: calc(env(safe-area-inset-top, 0px) + 64px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px); }
.viewer__inner { position: relative; width: min(100%, 1180px); }
.viewer__close { position: absolute; right: -6px; top: -54px; }
.viewer__video { position: relative; aspect-ratio: 16 / 9; background: var(--black); border: 1px solid var(--line); }
.viewer__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer__image { display: block; max-width: 100%; max-height: 78vh; margin: 0 auto; }
.viewer__title { margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.05; }

/* ============================================================
   COACHES PAGE
   Staff photos share the player cards' purple light and clipped corner,
   but the corner is on the other side, there is no jersey number, and the role sits in a white label.
   ============================================================ */
.coachpage { background: var(--ink); padding: clamp(12px, 2.4vw, 36px) var(--gutter) clamp(64px, 8vw, 120px); }
.coachpage__inner { max-width: 1500px; margin: 0 auto; }
.coachpage__empty { margin: clamp(20px, 3vw, 40px) 0 0; color: var(--gray); font-size: 1.1rem; }
.staffphoto {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; aspect-ratio: 4 / 5;
  background: radial-gradient(115% 72% at 82% 0%, rgba(80, 20, 132, .95), rgba(80, 20, 132, .3) 58%, rgba(80, 20, 132, 0) 90%), var(--black);
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  border-bottom: 5px solid var(--white);
}
.staffphoto__art { position: absolute; z-index: -2; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: 5rem; font-size: 46cqw; line-height: .8; color: transparent; -webkit-text-stroke: max(1.5px, .7cqw) rgba(255, 255, 255, .3); }
.staffphoto img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.staffphoto__role { position: absolute; right: 0; top: 0; max-width: calc(100% - 44px); padding: 8px 12px 7px; background: var(--white); color: var(--black); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.05; text-align: right; }

/* The head coach, shown large at the top. */
.headcoach { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 5vw, 88px); align-items: center; }
.headcoach .staffphoto { max-width: 520px; width: 100%; }
.headcoach__role { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; color: var(--purple-lit); }
.headcoach__name { margin: 10px 0 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .86; text-transform: uppercase; overflow-wrap: break-word; }
.headcoach__bio { margin-top: clamp(16px, 2vw, 28px); max-width: 64ch; color: #D7D3DE; font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.7; }
.headcoach__bio p { margin: 0 0 1em; }

/* Everyone else. */
.staff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px) clamp(12px, 1.6vw, 26px); margin: clamp(20px, 2.6vw, 34px) 0 0; padding: 0; list-style: none; }
.coach__body { padding-top: 14px; }
.coach__first { display: block; font-weight: 600; font-size: .82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); line-height: 1.2; }
.coach__last { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; overflow-wrap: break-word; }
.coach__bio { margin: 10px 0 0; color: var(--gray); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.coach.is-open .coach__bio { display: block; }
.coach__more { margin-top: 8px; padding-bottom: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--white); border-bottom: 3px solid var(--purple-lit); transition: color .2s ease; }
.coach__more:hover { color: var(--purple-lit); }
@media (max-width: 1100px) { .staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .headcoach { grid-template-columns: minmax(0, 1fr); }
  .headcoach .staffphoto { max-width: 360px; }
  .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staffphoto__role { font-size: .9rem; padding: 6px 9px 5px; }
}

/* ============================================================
   RECORD BOOK PAGE
   ============================================================ */
.recordpage { background: var(--ink); padding: clamp(8px, 2vw, 28px) var(--gutter) clamp(64px, 8vw, 120px); }
.recordpage__inner { max-width: 1500px; margin: 0 auto; }
.recordpage .filters { margin-bottom: 0; padding-bottom: 8px; border-bottom: 4px solid var(--purple); }
.recordpage .filters .filter::after { bottom: 0; }
.recordpage__empty { margin: clamp(20px, 3vw, 40px) 0 0; color: var(--gray); font-size: 1.1rem; }

/* Overview: the holder of every record, one row per stat. */
.rmatrix { margin-top: clamp(4px, 1vw, 12px); }
.rmatrix__head, .rmatrix__row { display: grid; grid-template-columns: minmax(150px, .7fr) repeat(var(--scopes, 3), minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); align-items: start; }
.rmatrix__head span { padding: 14px 0 10px; font-weight: 600; font-size: .78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); }
.rmatrix__row { padding: clamp(14px, 1.6vw, 22px) 0; border-top: 1px solid var(--line); }
.rmatrix__name { margin: 0; }
.rmatrix__name button { text-align: left; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; color: var(--white); transition: color .2s ease; }
.rmatrix__name button:hover { color: var(--purple-lit); }
.rcell { display: block; min-width: 0; text-align: left; }
.rcell__scope { display: none; font-weight: 600; font-size: .74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); }
.rcell__value { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: .9; font-variant-numeric: tabular-nums; color: var(--white); transition: color .2s ease; }
.rcell__who { display: block; margin-top: 6px; font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--white); }
.rcell__who small { margin-left: 6px; font-weight: 500; font-size: .85em; color: var(--gray); white-space: nowrap; }
button.rcell:hover .rcell__value { color: var(--purple-lit); }
@media (max-width: 760px) {
  .rmatrix__head { display: none; }
  .rmatrix__row { display: block; }
  .rmatrix__name { margin-bottom: 8px; }
  .rcell { display: grid; grid-template-columns: 62px 112px minmax(0, 1fr); align-items: baseline; column-gap: 10px; width: 100%; padding: 7px 0; }
  .rcell__scope { display: block; }
  .rcell__value { font-size: 1.7rem; }
  .rcell__who { margin-top: 0; }
  .rcell--none { display: none; }
}

/* One stat: a ranked list for each of career, season and game. */
.rlists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 3vw, 56px); align-items: start; margin-top: clamp(16px, 2vw, 26px); }
.rlist { min-width: 0; }
.rlist__scope { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.rlist__scope small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--gray); }
.rlist__top {
  margin-top: 12px; padding: clamp(16px, 1.6vw, 22px); background: var(--black);
  background-image: radial-gradient(120% 80% at 85% 0%, rgba(80, 20, 132, .85), rgba(80, 20, 132, 0) 80%);
  border-top: 4px solid var(--purple-lit);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.rlist__value { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 4.6vw, 4.4rem); line-height: .85; font-variant-numeric: tabular-nums; }
.rlist__name { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1.9vw, 1.8rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
.rlist__name small { margin-left: 8px; font-size: .62em; letter-spacing: 0.06em; color: var(--purple-lit); white-space: nowrap; }
.rlist__detail { display: block; margin-top: 6px; color: var(--gray); font-size: .88rem; }
.rlist__rows { margin: 0; padding: 0; list-style: none; }
.rlist__rows li { display: grid; grid-template-columns: 2.1em minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rlist__rank { font-weight: 700; color: var(--purple-lit); font-variant-numeric: tabular-nums; }
.rlist__who { font-weight: 600; color: var(--white); line-height: 1.3; }
.rlist__who small { margin-left: 8px; font-weight: 500; font-size: .85em; color: var(--gray); white-space: nowrap; }
.rlist__num { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rlist__num small { display: block; margin-top: 3px; font-family: var(--font-body); font-weight: 500; font-size: .76rem; color: var(--gray); }
.rlist__more { margin-top: 12px; padding-bottom: 2px; font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--white); border-bottom: 3px solid var(--purple-lit); transition: color .2s ease; }
.rlist__more:hover { color: var(--purple-lit); }
.recordpage .banners { margin-top: clamp(16px, 2vw, 26px); }
.recordpage .rlists--team { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 760px) { .recordpage .rlists--team { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   PROGRAM HISTORY PAGE
   ============================================================ */
.historypage { background: var(--ink); padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.historypage__inner { max-width: 1500px; margin: 0 auto; }
.historypage__empty { margin: clamp(28px, 4vw, 52px) 0 0; color: var(--gray); font-size: 1.1rem; }
.historypage__note { margin: clamp(24px, 3vw, 40px) 0 0; max-width: 80ch; color: var(--gray); font-size: .88rem; line-height: 1.5; }
.statusbar--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .statusbar--4 .statusbar__label { white-space: normal; } }
.seasons { margin: 0; padding: 0; list-style: none; }
/* One season: the year, the record, and anything else on file for it. */
.hs { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(170px, .5fr) minmax(0, 1.6fr); align-items: center; column-gap: clamp(16px, 2.4vw, 40px); padding: clamp(14px, 1.6vw, 22px) clamp(8px, 1.2vw, 18px); border-bottom: 1px solid var(--line); }
.hs__season { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.3rem); letter-spacing: 0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs__record { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3vw, 2.8rem); line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs__record small { margin-left: 10px; font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: 0.06em; color: var(--gray); }
.hs__record--none { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--gray); }
.hs__info { min-width: 0; color: var(--gray); font-size: .98rem; line-height: 1.45; }
.hs .game__tags { justify-content: flex-start; gap: 6px; }
.hs .game__tags li { padding: 5px 9px; font-size: .68rem; border-color: rgba(255, 255, 255, .3); color: var(--gray); }
.hs .game__tags li.is-title { background: var(--white); border-color: var(--white); color: var(--black); }
.hs__line { display: block; margin-top: 6px; }
.hs__line b { color: var(--white); font-weight: 600; }
.hs--title { background: linear-gradient(90deg, rgba(80, 20, 132, .85), rgba(80, 20, 132, .16) 75%); border-bottom-color: var(--purple-lit); box-shadow: 0 -1px 0 var(--purple-lit); }
.hs--title .hs__info, .hs--title .hs__record small { color: var(--white); }
.hs--live .hs__season::after { content: "Current season"; display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-lit); }
.hs a { text-decoration: underline; text-underline-offset: 3px; color: var(--white); }
@media (max-width: 760px) {
  .hs { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; padding: 14px 10px; margin: 0 -10px; }
  .hs__info { grid-column: 1 / -1; }
  .hs__record { text-align: right; }
}

/* ============================================================
   OUR IDENTITY PAGE
   One wide band for each standard: the words very large, then whatever the sheet has for it.
   ============================================================ */
.page-hero__lead { margin: clamp(14px, 2vw, 24px) 0 0; max-width: 44ch; color: var(--gray); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; }
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding: clamp(48px, 7vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.band:nth-child(even) { background: var(--black); }
.band__light { position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 110% at 100% 100%, rgba(80, 20, 132, .9), rgba(80, 20, 132, .3) 50%, rgba(80, 20, 132, 0) 80%); }
.band:nth-child(even) .band__light { background: radial-gradient(60% 110% at 0% 0%, rgba(80, 20, 132, .9), rgba(80, 20, 132, .3) 50%, rgba(80, 20, 132, 0) 80%); }
.band__photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.band--photo .band__light { opacity: .7; }
.band--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.55) 60%, rgba(0,0,0,.3)); }
.band__inner { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 5vw, 96px); align-items: end; }
.band__title { grid-column: 1 / -1; margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 11.5vw, 10rem); line-height: .84; text-transform: uppercase; letter-spacing: -0.005em; overflow-wrap: break-word; }
.band:nth-child(even) .band__title { color: transparent; -webkit-text-stroke: max(1.5px, .018em) var(--white); }
.band__text { margin-top: clamp(18px, 2.4vw, 34px); max-width: 56ch; }
.band__text p { margin: 0 0 .9em; color: #D7D3DE; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; }
.band__text .band__quote { margin: clamp(14px, 1.8vw, 24px) 0 0; color: var(--white); padding-left: 18px; border-left: 5px solid var(--purple-lit); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.band__stat { margin-top: clamp(18px, 2.4vw, 34px); text-align: right; }
.band__stat b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(3.6rem, 8vw, 7rem); line-height: .85; color: var(--purple-lit); font-variant-numeric: tabular-nums; }
.band__stat span { display: block; margin-top: 8px; font-weight: 600; font-size: .8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.identity-end { background: var(--black); border-top: 4px solid var(--purple); padding: clamp(40px, 6vw, 80px) var(--gutter); }
.identity-end div { max-width: 1500px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; }
.identitypage__empty { background: var(--ink); margin: 0; padding: clamp(40px, 6vw, 80px) var(--gutter); color: var(--gray); font-size: 1.1rem; }
@media (max-width: 760px) {
  .band__inner { grid-template-columns: minmax(0, 1fr); }
  .band__stat { text-align: left; }
}

/* ============================================================
   PROGRAM INFO PAGE
   ============================================================ */
.infopage { background: var(--ink); padding: clamp(12px, 2.4vw, 36px) var(--gutter) clamp(64px, 8vw, 120px); }
.infopage__inner { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: clamp(28px, 5vw, 88px); align-items: start; }
.infopage__empty { margin: clamp(20px, 3vw, 40px) 0 0; color: var(--gray); font-size: 1.1rem; grid-column: 1 / -1; }
/* The list of sections: beside the page on a computer, a swipeable row on a phone. */
.infonav { position: sticky; top: 96px; margin-top: clamp(30px, 4vw, 56px); border-top: 4px solid var(--purple); }
.infonav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; color: var(--gray); transition: color .2s ease; }
.infonav a:hover { color: var(--white); }
.info { scroll-margin-top: 90px; max-width: 980px; }
.info__item { margin-top: clamp(18px, 2.2vw, 28px); }
.info__item h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.05; }
.prose { max-width: 68ch; color: #D7D3DE; font-size: clamp(1.02rem, 1.2vw, 1.14rem); line-height: 1.7; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--purple-lit); }
.prose a { color: var(--purple-lit); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.info__item .btn { margin-top: 4px; min-height: 46px; padding: 0 22px; font-size: 1.1rem; }
/* A section with several headed entries (such as the program's levels) becomes a set of panels. */
.info__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 22px); margin-top: clamp(18px, 2.2vw, 28px); }
.info__grid .info__item { margin: 0; padding: clamp(16px, 1.8vw, 24px); background: var(--black); background-image: radial-gradient(120% 70% at 85% 0%, rgba(80, 20, 132, .7), rgba(80, 20, 132, 0) 80%); border-top: 4px solid var(--purple-lit); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.info__grid .prose { font-size: 1rem; line-height: 1.6; }
/* Questions open and close. */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { margin-top: clamp(10px, 1.4vw, 18px); border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .4); font-family: var(--font-body); font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--white); }
.faq[open] summary::after { content: "\2212"; background: var(--purple); border-color: var(--purple-lit); }
.faq .prose { padding: 0 0 12px; }
@media (max-width: 900px) {
  .infopage__inner { display: block; }
  .infonav { position: static; display: flex; gap: 4px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; border-top: 0; border-bottom: 4px solid var(--purple); overflow-x: auto; scrollbar-width: none; }
  .infonav::-webkit-scrollbar { display: none; }
  .infonav a { flex: none; padding: 10px 12px; border-bottom: 0; white-space: nowrap; }
  .infonav a:first-child { padding-left: 0; }
}
