/* ==========================================================================
   FBA LIONS ATHLETICS — Design System
   First Baptist Academy of Naples
   Brand: Maroon #610C13 · Silver #D1D3D3
   ========================================================================== */

/* ---------- Fonts ---------- */
/* ROOT-ABSOLUTE, so this is the SAME file the school half loads.
   These two faces ship byte-identical in both halves, and both used to be
   referenced relatively — so moving from a school page to an athletics one
   re-downloaded Freshman and Octin from a second URL and re-rendered the type.
   One URL, one cache entry, no flash of fallback on the way in.
   Correct in athletics_only mode too, where athletics is the site root. */
@font-face {
  font-family: 'Freshman';
  src: url('/assets/fonts/freshman.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Octin Sports';
  src: url('/assets/fonts/octin-sports.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Maroon ramp.

     THE BASE IS READ OFF THE LOGO FILES, not off a brand sheet. Mark,
     22 Sep 2026: "i need all of the maroons on the website to match it needs
     to be matching the logo files."

     Sampled every *-maroon.png in assets/logos/ -- fulllion, lionhead,
     lockup, primary, seal, wordmark. All six are #610C13 across 79-88% of
     their non-white pixels. The site had #610D13, one step brighter in the
     green channel: invisible on a screen, and not the same number.

     Anything that is meant to BE the brand maroon uses --maroon or the
     rgb(97,12,19) form of it. The steps around it are shades for gradients,
     hovers and dark bands, and are not the brand colour.

     NOTE, worth settling: FBA's documented maroon is #610D13. The logo files
     say #610C13. One of the two drifted and this now follows the logos. */
  --maroon-950: #2C0508;
  --maroon-900: #3D080C;
  --maroon-800: #4E0A10;
  --maroon:     #610C13;
  --maroon-600: #7C1119;
  --maroon-500: #9B1A24;
  --maroon-400: #B93A44;

  --silver-100: #F2F3F3;
  --silver-200: #E4E5E5;
  --silver:     #D1D3D3;
  --silver-400: #B9BCBC;
  --silver-500: #83898A;

  --ink:        #14161A;
  --ink-700:    #3A3F47;
  --ink-500:    #666D78;
  --ink-400:    #8A919B;

  --paper:      #FFFFFF;
  --paper-2:    #F7F8FA;
  --paper-3:    #EDEFF3;

  --ok:      #1E7A4B;
  --ok-bg:   #E6F4EC;
  --warn:    #855400;
  --warn-bg: #FDF3E0;
  --live:    #C8102E;
  --font-display: 'Freshman', 'Arial Black', Impact, sans-serif;
  --font-sport: 'Octin Sports', 'Arial Narrow', sans-serif;
  /* The school stylesheet calls this face --font-label, and rules shared with
     it, plus the sport-page bar, ask for that name. Without the alias they fell
     back to the body face on every athletics page. */
  --font-label: var(--font-sport);
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  --r-sm: 6px;  --r: 12px;  --r-lg: 18px;  --r-xl: 26px;
  --shadow-1: 0 1px 2px rgba(18,20,24,.06), 0 2px 6px rgba(18,20,24,.05);
  --shadow-2: 0 2px 6px rgba(18,20,24,.07), 0 12px 28px rgba(18,20,24,.09);
  --shadow-3: 0 8px 20px rgba(18,20,24,.10), 0 30px 60px rgba(18,20,24,.14);

  /* Matches --wrap in fba-school-website/site/css/site.css. It was 1240 while
     the school was 1320, so the shared header bar was 40px narrower here and
     the seal and the buttons landed in different places on the two sites. It
     also governs every section width on athletics, which is the point: one
     site, one measure. */
  --wrap: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maroon-500); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--paper-3); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--maroon-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 860px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--maroon); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--r) var(--r); font-weight: 700; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.eyebrow {
  font-family: var(--font-sport); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--maroon-500); margin: 0 0 .75rem; font-weight: 400;
}
.eyebrow--light { color: var(--silver); }
.display {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: .01em; text-transform: uppercase; line-height: .95;
}
.lede { font-size: 1.15rem; color: var(--ink-700); max-width: 62ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-sport); font-size: .88rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--maroon); color: #fff;
  transition: transform .16s var(--ease), background .16s var(--ease),
              box-shadow .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
  box-shadow: var(--shadow-1);
}
.btn:hover { background: var(--maroon-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--maroon); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.btn--light { background: #fff; color: var(--maroon); }
.btn--light:hover { background: var(--silver-100); color: var(--maroon-800); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn--outline-light:hover { background: #fff; color: var(--maroon); border-color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .78rem; }
.btn--block { display: flex; width: 100%; }
.btn .ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--maroon-950);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 200px at 12% -40%, rgba(185,58,68,.42), transparent 70%);
}
.utility-bar {
  background: var(--maroon-900); color: var(--silver);
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  position: relative; z-index: 1;
}
.utility-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 34px; }
.utility-bar a { color: var(--silver); text-decoration: none; }
.utility-bar a:hover { color: #fff; }
.utility-links { display: flex; gap: 1.4rem; align-items: center; }
.utility-tag { display: inline-flex; align-items: center; gap: .5rem; }
.utility-tag .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--maroon-400);
  box-shadow: 0 0 0 0 rgba(185,58,68,.7); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(185,58,68,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(185,58,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(185,58,68,0); }
}
@media (max-width: 860px) { .utility-bar { display: none; } }

.nav-main { position: relative; z-index: 1; }
.nav-main .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; padding: .3rem 0; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 {
  font-family: var(--font-display); font-size: 1.18rem; color: #fff;
  letter-spacing: .02em; text-transform: uppercase;
}
.brand-text .b2 {
  font-family: var(--font-sport); font-size: .62rem; letter-spacing: .3em;
  color: #C6C9C9; text-transform: uppercase; margin-top: .3rem;
}
@media (max-width: 420px) { .brand-text .b1 { font-size: 1rem; } .brand img { height: 38px; } }

.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-sport); font-size: .8rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--silver-200); text-decoration: none; padding: .7rem .85rem; border-radius: 999px;
  transition: background .16s var(--ease), color .16s var(--ease);
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link:focus-visible { background: rgba(255,255,255,.10); color: #fff; }
.nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.14); }
.nav-link .caret { width: .6em; height: .6em; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-link[aria-expanded="true"] { background: rgba(255,255,255,.14); color: #fff; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(92vw, 760px); background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: 1.5rem; opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  border: 1px solid var(--paper-3);
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.mega-col h3 {
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--maroon-500); margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 2px solid var(--paper-3);
}
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-col a {
  display: flex; align-items: center; gap: .55rem; padding: .42rem .5rem; border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink-700); font-size: .93rem; font-weight: 500;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.mega-col a:hover { background: var(--paper-2); color: var(--maroon); }
.mega-col a .sx { font-size: .68rem; color: var(--ink-500); font-family: var(--font-sport); letter-spacing: .08em; margin-left: auto; }
.mega-foot {
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--paper-3);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.mega-foot p { margin: 0; font-size: .88rem; color: var(--ink-500); }
@media (max-width: 700px) { .mega-grid { grid-template-columns: 1fr; } }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .55rem;
  border-radius: var(--r-sm); color: #fff;
}
.nav-toggle:hover { background: rgba(255,255,255,.12); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed; inset: calc(var(--nav-h)) 0 0 0; background: var(--maroon-950);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 3rem;
    overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  body.nav-open .nav-list { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .6rem; border-radius: var(--r-sm); font-size: .92rem; }
  .nav-list > li + li { border-top: 1px solid rgba(255,255,255,.08); }
  .mega {
    position: static; transform: none; width: 100%; opacity: 1; visibility: visible;
    box-shadow: none; background: transparent; border: 0; padding: 0 0 1rem; display: none;
  }
  .mega[data-open="true"] { display: block; transform: none; }
  .mega-col h3 { color: var(--silver-400); border-color: rgba(255,255,255,.12); }
  .mega-col a { color: var(--silver-200); }
  .mega-col a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .mega-foot { border-color: rgba(255,255,255,.12); }
  .mega-foot p { color: var(--silver-400); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(155,26,36,.55), transparent 65%),
    radial-gradient(700px 500px at 8% 90%, rgba(61,8,12,.9), transparent 60%),
    linear-gradient(155deg, var(--maroon-900) 0%, var(--maroon-950) 55%, #1B0407 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 9px);
}
.hero-watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(620px, 52vw); opacity: .085; pointer-events: none; filter: saturate(0);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.9rem, 8.5vw, 6.2rem);
  text-transform: uppercase; letter-spacing: .01em; line-height: .92;
  margin: 0 0 1.2rem; text-shadow: 0 4px 30px rgba(0,0,0,.35); max-width: 15ch;
}
.hero h1 .accent { color: var(--silver); }
.hero p.lede { color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 2.2vw, 1.28rem); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero-verse {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16);
  max-width: 58ch; color: rgba(255,255,255,.85); font-size: .98rem; font-style: italic;
}
.hero-verse cite { display: block; font-style: normal; font-family: var(--font-sport);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #C6C9C9; margin-top: .6rem; }

/* Page hero (interior) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, var(--maroon-800), var(--maroon-950) 70%);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 9px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-transform: uppercase; margin: 0 0 .6rem; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 62ch; margin: 0; }
.page-hero .hero-watermark { width: min(380px, 40vw); opacity: .07; }

/* Breadcrumb */
.crumbs { font-family: var(--font-sport); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; color: rgba(255,255,255,.72); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin: 0 .5rem; opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--maroon-950); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.88); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; margin: 0 0 .5rem; }
.section-head p { color: var(--ink-500); max-width: 62ch; margin: 0; }
.section--dark .section-head p { color: rgba(255,255,255,.86); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Quick actions ---------- */
.quick-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem;
}
.quick-card {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem 1.3rem;
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.quick-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--maroon); transform: scaleY(0); transform-origin: top;
  transition: transform .22s var(--ease);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--silver); color: var(--ink); }
.quick-card:hover::before { transform: scaleY(1); }
.quick-card h3 { font-family: var(--font-sport); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.quick-card p { font-size: .88rem; color: var(--ink-500); margin: 0; line-height: 1.5; }
.quick-card .ext {
  font-size: .68rem; font-family: var(--font-sport); letter-spacing: .12em;
  color: var(--maroon-500); text-transform: uppercase; margin-top: auto; padding-top: .6rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.quick-card .ext svg { width: 1em; height: 1em; flex: none; }

/* ---------- Sport cards ---------- */
.season-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.season-tab {
  font-family: var(--font-sport); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .6rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--paper-3);
  background: #fff; color: var(--ink-500); cursor: pointer;
  transition: all .16s var(--ease);
}
.season-tab:hover { border-color: var(--silver); color: var(--ink); }
.season-tab[aria-selected="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ---------- Chips: the small pill link ---------- */
/* Mark, 18 Sep 2026: "less big white boxes. and more little bubble butttons."
   Same shape and type as .season-tab above, but an <a> instead of a tab
   control, so a run of links reads as one cluster rather than as nine panels.
   #main's underline rule already excludes .chip -- see the :not() list. */
.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-sport); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .62rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--paper-3); background: #fff; color: var(--ink-700);
  text-decoration: none; transition: all .16s var(--ease);
}
.chip:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.chip svg { width: .85em; height: .85em; flex: none; opacity: .7; }
.chip:hover svg { opacity: 1; }

.sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 1.1rem; }
.sport-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 190px; padding: 1.25rem; border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: #fff; isolation: isolate;
  background: linear-gradient(150deg, var(--maroon-800), var(--maroon-950));
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.sport-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .09;
  background: url('../assets/logos/lionhead-white.png') no-repeat right -18% bottom -22% / 62%;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.sport-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px 200px at 100% 0%, rgba(185,58,68,.5), transparent 70%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.sport-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); color: #fff; }
.sport-card:hover::before { opacity: .16; transform: scale(1.06) translateX(-4px); }
.sport-card:hover::after { opacity: 1; }
.sport-card .sc-season {
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: #C6C9C9; margin-bottom: auto;
}
.sport-card h3 {
  font-family: var(--font-display); font-size: 1.42rem; text-transform: uppercase;
  margin: 1rem 0 .35rem; letter-spacing: .01em;
}
.sport-card .sc-meta { font-size: .8rem; color: rgba(255,255,255,.86); margin: 0; line-height: 1.45; }
.sport-card .sc-go {
  margin-top: .85rem; font-family: var(--font-sport); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver); display: flex; align-items: center; gap: .4rem;
}
.sport-card:hover .sc-go { color: #fff; }
.sport-card .sc-go svg { width: .8em; height: .8em; transition: transform .2s var(--ease); }
.sport-card:hover .sc-go svg { transform: translateX(4px); }

/* ---------- WHAT DO YOU NEED — the lion shelf ----------------------------
   Mark, 2 Oct 2026: "i need better buttons for the what do you need section."

   These were .chip pills, and the problem was measurable rather than a matter
   of taste. The chip's fill was var(--night-3) #1B0A0F on a var(--night)
   #0A0304 page: 1.07:1. Not a faint button, no button at all, with the eye
   inventing the edge. Its border, white at .18 alpha, resolved to 1.79:1. The
   tap target was 41px against Apple's 44 and Google's 48, and on a 390px
   phone the eight pills broke into five ragged rows.

   The answer is not a louder pill. It is to stop inventing furniture for this
   section and use the language already on the same page: .sport-card sits
   directly above it, and these now share its maroon gradient, its lionhead
   watermark, its hover lift and its shadow. Keep them in step. If the sport
   card's treatment changes, change this with it, or the front page grows two
   dialects of the same idea.

   Do NOT fold this into .chip. That class is still doing its own job on this
   page -- "All 14 sports" under the hero -- and in a lighter context where a
   pill is right.

   The watermark sits at .045 rather than the sport card's .09: seven tiles in
   a tight grid repeat the lion seven times, and at the card's opacity the row
   reads as wallpaper. It comes up to .2 on hover, where it is one lion and
   not seven.                                                              */
/* SEVEN IS A HOSTILE NUMBER and auto-fit made it worse: at 1280 it packed six
   across and left Scores & Stats alone on a second row, which is precisely the
   fault the nine white panels had before them. The grid is counted rather than
   fitted, and the first tile spans two columns, so seven links fill eight
   cells and every row comes out full at both widths. Schedules earns the wide
   one: it is the most-asked link on the page.
   The span is now on a modifier class the builder adds only for an odd count,
   so adding or removing a link cannot reintroduce the orphan by hand. */
.ql-shelf {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(4, 1fr);
}
/* Only when the builder says the count is odd -- see the note beside qcount
   in build.py. An even count with this span on would orphan the last tile. */
.ql-shelf--lead > .ql-tile:first-child { grid-column: span 2; }
@media (max-width: 880px) { .ql-shelf { grid-template-columns: repeat(2, 1fr); } }
.ql-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem;
  min-height: 124px; padding: 1rem; border-radius: var(--r-lg);
  text-decoration: none; color: #fff;
  background: linear-gradient(150deg, var(--maroon-800), var(--maroon-950));
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ql-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .045;
  /* SIZED OFF THE HEIGHT, NOT THE WIDTH. The sport card can use a percentage
     of width because its cards are all one width. These are not: the first
     tile spans two columns, and at 64% of a 614px tile the lion came out
     enormous and cropped to a few diagonal slashes of mane. Keyed to height
     every tile carries the same lion at the same size whatever its width.
     112% is the value that leaves a recognisable head rather than a field of
     mane: the tile is 124px tall, so the lion lands near 139px, which is
     about what 64% of a single-column tile used to give. Raise it and you are
     back to abstract slashes. */
  background: url('../assets/logos/lionhead-white.png') no-repeat right -8% bottom -16% / auto 112%;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.ql-tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(360px 180px at 100% 0%, rgba(185,58,68,.55), transparent 70%);
  transition: opacity .25s var(--ease);
}
.ql-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); color: #fff; }
.ql-tile:hover::before { opacity: .2; transform: scale(1.06) translateX(-4px); }
.ql-tile:hover::after { opacity: 1; }
.ql-tile .ql-ico { width: 22px; height: 22px; opacity: .85; flex: none; }
.ql-tile .ql-lab {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.02rem; line-height: 1.12;
}
/* The off-site marker rides in the corner rather than after the label, so a
   two-line label like SIDELINE STORE does not wrap around it. */
.ql-tile .ql-ext { position: absolute; top: .8rem; right: .85rem; opacity: .55; }
.ql-tile .ql-ext svg { width: 15px; height: 15px; }
.ql-tile:hover .ql-ext { opacity: .9; }

@media (max-width: 560px) {
  .ql-shelf { gap: .65rem; }
  .ql-tile { min-height: 108px; padding: .85rem; }
  .ql-tile .ql-lab { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ql-tile, .ql-tile::before, .ql-tile::after { transition: none; }
  .ql-tile:hover { transform: none; }
}

/* ---------- Rosters index, grouped by season ------------------------------
   Mark, 2 Oct 2026: "there need to be roster pages for winter and spring. but
   we dont have them yet."

   A sport with no roster yet still gets a card, because leaving it off the
   page is indistinguishable from the school not having the sport. It is the
   same card, turned down: no gradient, a plain dark surface and a visible
   border, so it reads as a real link that is not ready rather than as a
   disabled control. It still goes somewhere useful, the sport page, which has
   the schedule and the coaches.

   .65 on the heading, not lower. Anything quieter and the sport's own name
   stops being readable, which defeats the point of listing it. Measured on
   --night-2: white at .65 is 8.4:1, comfortably past AA.                   */
.rx-season + .rx-season { margin-top: 2.4rem; }
.rx-head {
  display: flex; align-items: baseline; gap: .9rem;
  margin: 0 0 .9rem; padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.rx-head h2 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.3rem; margin: 0; color: #fff;
}
.rx-head span {
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-left: auto;
}
.sport-card--soon {
  background: var(--night-3);
  border: 1px solid rgba(255,255,255,.16);
}
.sport-card--soon::before { opacity: .035; }
.sport-card--soon h3 { color: rgba(255,255,255,.65); }
.sport-card--soon .sc-season,
.sport-card--soon .sc-go { color: rgba(255,255,255,.5); }
.sport-card--soon:hover {
  border-color: rgba(255,255,255,.34);
  transform: translateY(-3px);
}
.sport-card--soon:hover h3,
.sport-card--soon:hover .sc-go { color: #fff; }
.sport-card--soon:hover::before { opacity: .09; }
.sport-card--soon::after { display: none; }

/* ---------- Cards / panels ---------- */
.card {
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-1);
}
.card--flush { padding: 0; overflow: hidden; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
/* A card with the panel taken away -- hairline, padding and type only. For a
   run of cards that would otherwise read as a wall of filled boxes. */
.card--ghost { background: transparent; box-shadow: none; }

.panel-dark {
  background: linear-gradient(150deg, var(--maroon-800), var(--maroon-950));
  color: #fff; border-radius: var(--r-xl); padding: clamp(1.75rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.panel-dark::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background: url('../assets/logos/lionhead-white.png') no-repeat right -8% center / 34%;
}
.panel-dark > * { position: relative; z-index: 1; }
.panel-dark h2, .panel-dark h3 { color: #fff; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.pillar {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 1.35rem; position: relative; overflow: hidden;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.pillar:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); border-color: rgba(255,255,255,.25); }
.pillar .num {
  font-family: var(--font-display); font-size: 2.1rem; color: rgba(255,255,255,.46);
  position: absolute; top: .4rem; right: .8rem; line-height: 1;
}
.pillar h3 { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; margin: 0 0 .3rem; }
.pillar .ref { font-family: var(--font-sport); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #C6C9C9; display: block; margin-bottom: .6rem; }
.pillar p { font-size: .875rem; color: rgba(255,255,255,.86); margin: 0; line-height: 1.55; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem 1rem; background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r); }
.stat .v { font-family: var(--font-display); font-size: 2.3rem; color: var(--maroon); line-height: 1; display: block; }
.stat .l { font-family: var(--font-sport); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-500); margin-top: .5rem; display: block; }
.section--dark .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--dark .stat .v { color: #fff; }
.section--dark .stat .l { color: #C6C9C9; }

/* ---------- Schedule ---------- */
.sched-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  padding: 1rem 1.2rem; background: var(--paper-2); border: 1px solid var(--paper-3);
  border-radius: var(--r); margin-bottom: 1.25rem;
}
.sched-field { display: flex; align-items: center; gap: .5rem; }
.sched-toolbar label { font-family: var(--font-sport); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); white-space: nowrap; }
.sched-toolbar select, .sched-toolbar input[type="search"] {
  padding: .55rem .8rem; border: 1.5px solid var(--paper-3); border-radius: var(--r-sm);
  background: #fff; font-size: .92rem; min-width: 150px;
}
.sched-toolbar select:focus, .sched-toolbar input:focus { border-color: var(--maroon-400); outline: none; }
.sched-toolbar .spacer { margin-left: auto; }
.sched-toolbar input[type="search"] { min-width: 210px; }
@media (max-width: 780px) {
  .sched-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .sched-field { flex-direction: column; align-items: stretch; gap: .3rem; }
  .sched-toolbar select, .sched-toolbar input[type="search"] { min-width: 0; width: 100%; }
  .sched-toolbar .spacer { display: none; }
  .sched-toolbar > .sched-field--wide, .sched-toolbar > .btn { grid-column: 1 / -1; }
}

.sched-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sched-table thead th {
  font-family: var(--font-sport); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-500); text-align: left; padding: .7rem .9rem; border-bottom: 2px solid var(--paper-3); white-space: nowrap;
}
.sched-table tbody td { padding: .95rem .9rem; border-bottom: 1px solid var(--paper-3); vertical-align: middle; }
.sched-table tbody tr { transition: background .14s var(--ease); }
.sched-table tbody tr:hover { background: var(--paper-2); }
.sched-table tbody tr.is-past { color: var(--ink-400); }

/* Result column — the score and the MaxPreps box score sit together. */
.res-cell { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
/* The score is a link to MaxPreps (18 Nov 2026). Looks like the tag it wraps;
   the underline on hover and focus is what says it can be clicked. */
.res-link { text-decoration: none; border-radius: 999px; }
.res-link:hover .tag, .res-link:focus-visible .tag { text-decoration: underline; text-underline-offset: 2px; }
.mp-link {
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--maroon); border: 1px solid var(--paper-3); border-radius: 999px;
  padding: .18rem .5rem; transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.mp-link:hover { background: var(--paper-2); border-color: var(--silver); }

.sched-table tbody tr.is-past .opp { font-weight: 500; }
.sched-table tbody tr.is-next { background: linear-gradient(90deg, rgba(97,12,19,.06), transparent 60%); }
.sched-table tbody tr.is-next td:first-child { box-shadow: inset 3px 0 0 var(--maroon); }
.sched-table .dt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sched-table .dt strong { display: block; font-size: 1rem; }
.sched-table .dt span { font-size: .78rem; color: var(--ink-500); }
.sched-table .opp { font-weight: 600; }
.sched-table .opp small { display: block; font-weight: 400; color: var(--ink-500); font-size: .78rem; }
.sched-table .actions { text-align: right; white-space: nowrap; }

.tag {
  display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-sport);
  font-size: .62rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; background: var(--paper-3); color: var(--ink-700); white-space: nowrap;
}
.tag--home { background: var(--maroon); color: #fff; }
.tag--away { background: var(--paper-3); color: var(--ink-700); }
.tag--neutral { background: var(--silver-200); color: var(--ink-700); }
.tag--win { background: var(--ok-bg); color: var(--ok); }
.tag--loss { background: #FBE9EA; color: #A31621; }
.tag--tbd { background: var(--warn-bg); color: var(--warn); }
.tag--level { background: transparent; border: 1px solid var(--paper-3); color: var(--ink-500); }

/* Cancelled, postponed and moved games.
   Written in the admin and folded in by load_schedule(). Until 8 Oct 2026
   these existed in overrides/schedule.json and were rendered nowhere, so a
   cancelled game looked exactly like a game that was on.
   The chip carries the message; the row is dimmed and its date and venue
   struck through, but the chip itself is never struck -- the one thing on the
   row that must stay readable is the word CANCELLED. Brass is accent only, so
   these reuse the loss and warning tokens already on the page. */
.tag--status    { font-weight: 700; }
.tag--cancelled { background: #FBE9EA; color: #A31621; }
.tag--postponed,
.tag--moved     { background: var(--warn-bg); color: var(--warn); }
.sched-table tbody tr.is-cancelled .dt,
.sched-table tbody tr.is-cancelled .loc {
  color: var(--ink-400);
  text-decoration: line-through;
}
.sched-table tbody tr.is-cancelled .opp { color: var(--ink-400); }

.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--paper-3); color: var(--ink-500); cursor: pointer;
  transition: all .16s var(--ease); text-decoration: none;
}
.icon-btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.icon-btn svg { width: 16px; height: 16px; }

/* Venue name that opens its address.
   ---------------------------------------------------------------------------
   The Location column used to be dead text: the name of a school and nothing a
   parent could do with it. It is now the control, so it has to look like one
   without turning a table column into a row of buttons -- a link's weight, a
   pin to say what happens, and the underline only on hover.
   --------------------------------------------------------------------------- */
.venue {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 0; background: none; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  border-bottom: 1px solid transparent;
  transition: color .14s var(--ease), border-color .14s var(--ease);
}
/* Hover colour comes from the surface, not from a fixed maroon.
   The schedules page draws this table on white, where maroon reads at 13:1.
   A sport page draws the SAME table on near-black -- and maroon on near-black
   is 1.5:1, i.e. the venue name disappears at the moment you point at it. The
   stylesheet already publishes --link-ink-hover per surface for exactly this;
   use it rather than adding a second rule that has to be kept in step. */
.venue:hover { color: var(--link-ink-hover, var(--maroon)); border-bottom-color: currentColor; }
.venue:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
.venue svg { width: 13px; height: 13px; flex: none; color: var(--ink-400); }
.venue:hover svg { color: currentColor; }
/* --ink-500, not --ink-400: this is running text, and --ink-400 on white is
   3.2:1 -- under the 4.5:1 that body copy has to clear. */
.venue-tba { color: var(--ink-500); }

/* Inside the compact card's Where line it sits mid-sentence, so it must not
   pick up the block behaviour it has in a table cell. */
.venue--inline { display: inline; }
.venue--inline svg { display: inline-block; vertical-align: -2px; margin-left: .25rem; }

/* Borrows .fee-dialog wholesale — same panel, same backdrop, same close. */
.venue-dialog { width: min(460px, calc(100vw - 2rem)); }
.venue-dialog h2 { margin-bottom: .5rem; }
.venue-dialog__addr {
  margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.55; color: var(--body-ink);
}
.venue-dialog__acts { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.venue-dialog__acts form { margin: 0; }
.venue-dialog__acts .btn svg { width: 16px; height: 16px; }


/* Compact upcoming list — schedules.html on "All sports".
   ---------------------------------------------------------------------------
   The table above is right for one team's season: five columns of the same
   shape, read down. It is wrong for fourteen programmes at once, where the
   question is "what is on this week" and the answer is buried in three screens
   of scrolling. So the all-sports page groups by day and closes each fixture
   down to its time, its sport, and home or away — and opens on a tap.

   Sport pages never see any of this. See wantCompact() in js/site.js.
   --------------------------------------------------------------------------- */
.sched-compact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }

.cday { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; }
.cday[hidden] { display: none; }
.cday__h {
  margin: 0 0 .15rem; display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap;
  font-family: var(--font-sport); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--maroon);
  padding-bottom: .4rem; border-bottom: 2px solid var(--paper-3);
}
/* "Tomorrow" leads; the date it stands for follows, quieter. */
.cday__h em { font-style: normal; color: var(--ink-500); letter-spacing: .1em; }

.cgame {
  border: 1px solid var(--paper-3); border-radius: var(--r); background: #fff;
  transition: border-color .16s var(--ease);
}
.cgame[hidden] { display: none; }
.cgame:hover { border-color: var(--silver); }
.cgame[open] { border-color: var(--maroon-400, var(--silver)); }

.cgame__s {
  display: flex; align-items: center; gap: .55rem .8rem; flex-wrap: wrap;
  padding: .68rem .85rem; cursor: pointer;
  /* Both spellings — Safari still wants the pseudo-element. */
  list-style: none;
}
.cgame__s::-webkit-details-marker { display: none; }
.cgame__s:hover { background: var(--paper-2); border-radius: calc(var(--r) - 1px); }
.cgame__s:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }

.cgame__time {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem;
  color: var(--ink-700);
}
.cgame__sport { font-weight: 600; font-size: .95rem; }
.cgame__meta { display: inline-flex; align-items: center; gap: .35rem; flex-wrap: wrap; margin-left: auto; }
.cgame__chev {
  width: 16px; height: 16px; flex: none; color: var(--ink-400);
  transition: transform .18s var(--ease);
}
.cgame[open] .cgame__chev { transform: rotate(180deg); }

.cgame__d { padding: 0 .95rem 1rem; }
.cgame__opp { margin: .1rem 0 .7rem; font-weight: 600; font-size: 1.02rem; }
.cgame__dl { margin: 0; display: grid; gap: .38rem; font-size: .9rem; }
.cgame__dl > div { display: flex; gap: .7rem; align-items: baseline; }
.cgame__dl dt {
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-500); min-width: 64px; flex: none;
}
.cgame__dl dd { margin: 0; }
.cgame__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cgame__acts .btn svg { width: 15px; height: 15px; }

@media (max-width: 560px) {
  /* Home/Away stops being a right-hand column and becomes the second line —
     at this width pushing it right just squeezes the sport name. */
  .cgame__meta { margin-left: 0; }
  .cgame__chev { margin-left: auto; }
  .cgame__dl > div { display: grid; gap: .05rem; }
  .cgame__dl dt { min-width: 0; }
  .cgame__acts .btn { flex: 1 1 auto; justify-content: center; }
}


/* The filter toolbar, on a phone.
   Five selects, a search box and three buttons is most of a screen, and it sat
   between arrival and the first fixture. Almost nobody filters -- they came to
   see what is on. Desktop is untouched: the button is hidden and the toolbar is
   always open, because horizontal space there is free. */
.sched-filters-toggle { display: none; }

@media (max-width: 640px) {
  .sched-filters-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-sport); font-size: .72rem; letter-spacing: .12em;
    text-transform: uppercase; cursor: pointer;
    padding: .6rem .9rem; margin-bottom: 1rem;
    border: 1px solid var(--edge, var(--paper-3)); border-radius: 999px;
    background: var(--night-3, var(--paper-2)); color: inherit;
  }
  .sched-filters-toggle svg { width: 15px; height: 15px; }
  .sched-toolbar[hidden] { display: none; }
}


/* ==========================================================================
   ROSTERS AND PLAYER PAGES
   --------------------------------------------------------------------------
   The card is built around the jersey number standing where the photograph
   will go, so the day the photos land nothing has to be re-laid-out -- the
   number moves behind the picture and the grid is unchanged.
   ========================================================================== */
.pl-toolbar {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.pl-toolbar .spacer { margin-left: auto; }
.pl-count {
  font-family: var(--font-sport); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; margin: 0 0 1rem;
}
/* THE ROSTER IS NOT A GRID OF CARDS.
   23 Sep 2026, once the cut-outs went in. Mark: "move the number off of them
   and put it in the info at bottom instead.. also have the player over top of
   the black background like it is floating 3d on the page. dont make it look
   like a card."

   So: no panel, no border, no radius, nothing behind him. The cut-out stands
   on the page and a drop-shadow does the floating -- drop-shadow and not
   box-shadow, because box-shadow would trace the rectangle of the img and give
   the card back. It follows his actual silhouette instead.

   The jersey number moved into the line with his name, where it reads as a
   number rather than as a watermark across his chest. .pl-card also came out
   of the light-surfaces list further down this file; without that it kept its
   white panel no matter what is written here. */
.pl-grid {
  display: grid; gap: 1.8rem 1rem;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
}
.pl-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: none; border: 0; border-radius: 0; overflow: visible;
  transition: transform .22s var(--ease);
}
.pl-media { position: relative; display: block; aspect-ratio: 4/5; background: none; }
.pl-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  display: block;
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.55)) drop-shadow(0 2px 5px rgba(0,0,0,.45));
  transition: filter .22s var(--ease);
}
.pl-card:hover { transform: translateY(-5px); }
.pl-card:hover .pl-media img {
  filter: drop-shadow(0 26px 32px rgba(0,0,0,.62)) drop-shadow(0 3px 7px rgba(0,0,0,.5));
}
.pl-body { display: grid; gap: .2rem; padding: .85rem .15rem 0; }
.pl-name { font-weight: 700; font-size: .98rem; line-height: 1.25; color: #fff; }
/* METALLIC SILVER, NOT GOLD.
   Mark, 23 Sep 2026: "dont have the numbers be gold have them be metalic
   silver." Brass was the academic accent and it did not belong on a jersey
   number. A flat #D1D3D3 reads as grey text, so the sheen is a gradient
   clipped to the glyphs: highlight, brand silver, then the dark step, running
   across the number the way light runs across metal. The solid colour is
   declared first and stays the answer anywhere background-clip: text is not
   honoured -- worst case it is brand silver, never invisible. */
.pl-num {
  font-family: var(--font-display); font-size: 1.02rem; line-height: 1;
  color: var(--silver); margin-right: .45rem;
  font-variant-numeric: tabular-nums;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .pl-num, .pl-hero__num {
    background-image: linear-gradient(160deg,
      var(--silver-100) 0%, #FFFFFF 18%, var(--silver) 46%,
      var(--silver-500) 68%, var(--silver-200) 92%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.pl-meta { font-size: .8rem; color: rgba(255,255,255,.62); }
.pl-meas { font-size: .78rem; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.45); }

/* A TEAM WITH NO PHOTOGRAPHS IS A LIST OF NAMES.
   Mark, 24 Sep 2026: "middle school football and volleyball doesnt have
   pictures so dont have picture cards just names." Thirty-four identical
   silhouettes is not a roster, it is a report that something is missing. The
   names are the content. roster_build.py picks this layout only when not one
   player on the team has a photograph placed, so a squad goes back to the grid
   by itself the day the pictures arrive. */
.pl-list { display: grid; border-top: 1px solid rgba(255,255,255,.10); }
.pl-row {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: .9rem; align-items: baseline; padding: .78rem .25rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
  text-decoration: none; transition: background-color .15s var(--ease);
}
.pl-row:hover { background: rgba(255,255,255,.045); }
.pl-row__num {
  font-family: var(--font-display); font-size: 1.02rem; line-height: 1;
  color: var(--silver); font-variant-numeric: tabular-nums; text-align: right;
}
.pl-row__name { font-weight: 700; font-size: 1rem; color: #fff; }
.pl-row__meta { font-size: .82rem; color: rgba(255,255,255,.58); text-align: right; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .pl-row__num {
    background-image: linear-gradient(160deg,
      var(--silver-100) 0%, #FFFFFF 18%, var(--silver) 46%,
      var(--silver-500) 68%, var(--silver-200) 92%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
@media (max-width: 620px) {
  .pl-row { grid-template-columns: 2.2rem minmax(0, 1fr); row-gap: .15rem; }
  .pl-row__meta { grid-column: 2; text-align: left; }
}
.pl-staff {
  margin: 2rem 0 0; display: flex; gap: 1.6rem; flex-wrap: wrap;
  padding-top: 1.2rem; border-top: 1px solid var(--edge, var(--paper-3));
}
.pl-staff > div { display: grid; gap: .1rem; }
.pl-staff dt {
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
}
.pl-staff dd { margin: 0; font-weight: 600; }

/* ---- one player ---- */
.pl-hero { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
.pl-hero__media { position: relative; aspect-ratio: 4/5; background: none; }
.pl-hero__media img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  display: block;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.55)) drop-shadow(0 3px 7px rgba(0,0,0,.45));
}
/* His number reads in front of his name, not across his face. Same move as
   the roster card above. */
.pl-hero__num {
  font-family: var(--font-display); color: var(--silver);
  margin-right: .5rem; font-variant-numeric: tabular-nums;
}
.pl-hero__body h1 { margin: .2rem 0 .3rem; }
.pl-hero__pos {
  font-family: var(--font-sport); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 1.3rem;
}
.pl-facts {
  margin: 0 0 1.5rem; display: grid; gap: .1rem .9rem;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}
.pl-facts > div { padding: .55rem 0; border-top: 1px solid var(--edge, var(--paper-3)); }
.pl-facts dt {
  font-family: var(--font-sport); font-size: .62rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: .15rem;
}
.pl-facts dd { margin: 0; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.pl-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.pl-prevnext-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.pl-prevnext {
  flex: 1 1 220px; display: grid; gap: .15rem; text-decoration: none;
  padding: .8rem 1rem; border: 1px solid var(--edge, var(--paper-3)); border-radius: var(--r);
  transition: border-color .16s var(--ease);
}
.pl-prevnext:hover { border-color: rgba(255,255,255,.3); }
.pl-prevnext--next { text-align: right; }
.pl-prevnext span {
  font-family: var(--font-sport); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
}
.pl-prevnext strong { font-size: .95rem; }

@media (max-width: 640px) {
  .pl-hero { grid-template-columns: 1fr; gap: 1.1rem; }
  .pl-hero__media { max-width: 190px; }
  .pl-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .8rem; }
  .pl-toolbar .spacer { display: none; }
}

/* ==========================================================================
   HEROES, ON A PHONE
   --------------------------------------------------------------------------
   Measured 20 Aug 2026: the athletics home hero was 848px on a 390x844 screen.
   The entire first screen was a photograph and a headline, with no content
   edge visible at the bottom at all.

   That last part is the real cost. A section boundary landing exactly at the
   fold reads as the end of the page -- the "false floor" effect -- and
   suppresses scrolling. A partially visible next section does the opposite: it
   is the strongest scroll cue there is. So the target here is not a number, it
   is getting the top of "Coming this week" to peek above the bottom edge.

   Phones only. Above 640px vertical space is cheap and the hero can breathe --
   nothing about the desktop design changes. Type sizes are untouched: this
   trims padding and the gaps between blocks, not the design.
   ========================================================================== */
@media (max-width: 640px) {
  .hero-inner { padding: 2.4rem 0 2rem; }
  .hero h1 { margin-bottom: .75rem; }
  /* Four full-width buttons stacked one per line was 360px of the hero on its
     own -- nearly half the screen for four words each. Two up: same buttons,
     same order, half the height. */
  .hero-actions { margin-top: 1.3rem; gap: .5rem; }
  .hero-actions .btn { flex: 1 1 calc(50% - .5rem); justify-content: center; padding-inline: .7rem; }
  .hero-verse { margin-top: 1.5rem; padding-top: 1.1rem; font-size: .9rem; }
  .hero-verse cite { margin-top: .4rem; }

  /* Interior pages, including all 14 sport pages. */
  .page-hero { padding: 2rem 0 1.7rem; }
  .page-hero h1 { margin-bottom: .45rem; }
  .crumbs { margin-bottom: .7rem; }
}

/* Mobile schedule cards */
@media (max-width: 780px) {
  .sched-table thead { display: none; }
  .sched-table, .sched-table tbody, .sched-table tr, .sched-table td { display: block; width: 100%; }
  .sched-table tbody tr {
    border: 1px solid var(--paper-3); border-radius: var(--r); margin-bottom: .8rem;
    padding: .9rem 1rem; position: relative;
  }
  .sched-table tbody td { border: 0; padding: .18rem 0; }
  .sched-table tbody tr.is-next td:first-child { box-shadow: none; }
  .sched-table tbody tr.is-next { border-color: var(--maroon); border-width: 2px; }
  .sched-table .actions { text-align: left; padding-top: .7rem !important; }
  .sched-table .dt strong { font-size: 1.05rem; }
}

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem; border: 2px dashed var(--paper-3);
  border-radius: var(--r-lg); color: var(--ink-500); background: var(--paper-2);
}
.empty-state svg { width: 42px; height: 42px; color: var(--ink-400); margin: 0 auto 1rem; }
.empty-state h3 { font-family: var(--font-sport); text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--ink-700); }

/* Next-up strip */
.nextup { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.nextup-card {
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r);
  padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem;
  border-top: 3px solid var(--maroon); text-decoration: none; color: inherit;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.nextup-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: inherit; }
.nextup-card .nd { font-family: var(--font-sport); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--maroon-500); }
.nextup-card .ns { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; }
.nextup-card .no { font-size: .9rem; color: var(--ink-700); }
.nextup-card .nl { font-size: .8rem; color: var(--ink-500); }

/* ---------- Calendar subscribe modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(20,17,15,.6); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 1.25rem; z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s;
}
.modal-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--r-xl); width: min(100%, 520px);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-3);
  transform: translateY(14px) scale(.98); transition: transform .22s var(--ease);
}
.modal-backdrop[data-open="true"] .modal { transform: none; }
.modal-head {
  padding: 1.5rem 1.6rem 1.1rem; border-bottom: 1px solid var(--paper-3);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.modal-head h2 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; margin: 0 0 .25rem; }
.modal-head p { margin: 0; font-size: .9rem; color: var(--ink-500); }
.modal-close {
  background: none; border: 0; cursor: pointer; padding: .4rem; border-radius: 50%;
  color: var(--ink-500); flex: none;
}
.modal-close:hover { background: var(--paper-2); color: var(--ink); }
.modal-body { padding: 1.4rem 1.6rem 1.7rem; }
.cal-option {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1rem; border-radius: var(--r);
  border: 1.5px solid var(--paper-3); text-decoration: none; color: var(--ink); margin-bottom: .7rem;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .16s var(--ease);
}
.cal-option:hover { border-color: var(--maroon); background: var(--paper-2); color: var(--ink); transform: translateX(3px); }
.cal-option .co-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--maroon); flex: none; }
.cal-option .co-ic svg { width: 20px; height: 20px; }
.cal-option strong { display: block; font-size: .96rem; }
.cal-option span { display: block; font-size: .8rem; color: var(--ink-500); }
.cal-note {
  margin-top: 1.1rem; padding: .9rem 1rem; background: var(--paper-2); border-radius: var(--r);
  font-size: .84rem; color: var(--ink-500); border-left: 3px solid var(--silver);
}
.copy-row { display: flex; gap: .5rem; margin-top: .8rem; }
.copy-row input {
  flex: 1; padding: .6rem .8rem; border: 1.5px solid var(--paper-3); border-radius: var(--r-sm);
  font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper-2);
}

/* ---------- Handbook ---------- */
.hb-layout { display: grid; grid-template-columns: 268px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 980px) { .hb-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
/* A grid item's min-width is auto, so a long contents entry could push the
   single column wider than the screen — the handbook's table of contents was
   560px inside a 390px phone, which scrolled the whole page sideways. This
   lets the column be as narrow as the screen and the text wrap instead. */
.hb-layout > * { min-width: 0; }
.hb-toc a { overflow-wrap: anywhere; }
.hb-toc {
  position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto; padding-right: .5rem;
}
@media (max-width: 980px) {
  .hb-toc { position: static; max-height: none; border: 1px solid var(--paper-3); border-radius: var(--r); padding: 1rem; background: var(--paper-2); }
}
/* A grid item defaults to min-width:auto, which lets its widest child push the
   column wider than the track. On a phone that made the handbook's contents
   panel 560px inside a 350px column and put a horizontal scrollbar on the whole
   page. Pre-existing; found by sweeping every athletics page at 390px. */
.hb-layout > * { min-width: 0; }
.hb-toc a { overflow-wrap: anywhere; }
.hb-toc h2 { font-family: var(--font-sport); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon-500); margin-bottom: .8rem; }
.hb-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: hb; }
.hb-toc li { counter-increment: hb; }
.hb-toc a {
  display: block; padding: .45rem .6rem .45rem 2.1rem; font-size: .89rem; color: var(--ink-700);
  text-decoration: none; border-radius: var(--r-sm); border-left: 2px solid transparent; position: relative;
  transition: background .14s var(--ease), color .14s var(--ease), border-color .14s var(--ease);
}
.hb-toc a::before {
  content: counter(hb, decimal-leading-zero); position: absolute; left: .55rem;
  font-family: var(--font-sport); font-size: .68rem; color: var(--ink-500); top: .58rem;
}
.hb-toc a:hover { background: var(--paper-2); color: var(--maroon); }
.hb-toc a.is-active { background: var(--paper-2); color: var(--maroon); border-left-color: var(--maroon); font-weight: 600; }
.hb-toc a.is-active::before { color: var(--maroon); }

.hb-search { position: relative; margin-bottom: 1rem; }
.hb-search input {
  width: 100%; padding: .7rem .9rem .7rem 2.3rem; border: 1.5px solid var(--paper-3);
  border-radius: var(--r-sm); font-size: .9rem; background: #fff;
}
.hb-search input:focus { border-color: var(--maroon-400); outline: none; }
.hb-search svg { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-400); }

.hb-section { scroll-margin-top: calc(var(--nav-h) + 24px); padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--paper-3); }
.hb-section:last-child { border-bottom: 0; }
.hb-section > h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); text-transform: uppercase;
  margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 3px solid var(--maroon); display: inline-block;
}
.hb-section h3 { font-size: 1.1rem; margin-top: 1.8rem; color: var(--maroon-800); }
.hb-section h4 { font-size: .98rem; margin-top: 1.2rem; color: var(--ink-700); }
.hb-section ul, .hb-section ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.hb-section li { margin-bottom: .45rem; }
.hb-section [hidden] { display: none; }

.callout {
  border-radius: var(--r); padding: 1.1rem 1.3rem; margin: 1.4rem 0;
  background: var(--paper-2); border-left: 4px solid var(--maroon);
}
.callout h4 { margin: 0 0 .5rem; font-family: var(--font-sport); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-bg); border-left-color: var(--warn); }
.callout--warn h4 { color: var(--warn); }
.callout--ok { background: var(--ok-bg); border-left-color: var(--ok); }
.callout--ok h4 { color: var(--ok); }

.scripture {
  font-style: italic; color: var(--ink-700); border-left: 3px solid var(--silver);
  padding: .3rem 0 .3rem 1.1rem; margin: 1.2rem 0; font-size: 1.02rem;
}
.scripture cite { display: block; font-style: normal; font-family: var(--font-sport); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-500); margin-top: .5rem; }

.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1.2rem 0; }
.data-table caption { text-align: left; font-family: var(--font-sport); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); padding-bottom: .6rem; }
.data-table th, .data-table td { padding: .75rem .85rem; border: 1px solid var(--paper-3); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--maroon); color: #fff; font-family: var(--font-sport); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; border-color: var(--maroon-600); font-weight: 400; }
.data-table tbody tr:nth-child(even) { background: var(--paper-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2rem 0; }
.table-scroll .data-table { margin: 0; min-width: 560px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-size: 1.3rem; color: #fff; background: var(--maroon);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
}
.step h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.step p { margin: 0; font-size: .92rem; color: var(--ink-500); }
.step p + p { margin-top: .5rem; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }
.staff-card {
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .35rem; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.staff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.staff-card .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(145deg, var(--maroon), var(--maroon-900));
  color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .5rem;
}
.staff-card h3 { font-size: 1.08rem; margin: 0; }
.staff-card .role { font-family: var(--font-sport); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon-500); }
.staff-card .owns { font-size: .84rem; color: var(--ink-500); margin: .5rem 0 0; }
.staff-card a.mail { font-size: .87rem; margin-top: .7rem; word-break: break-all; }

/* ---------- Project / gallery ---------- */
.proj-list { display: grid; gap: 1.5rem; }
.proj {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--paper-3); border-radius: var(--r-xl); background: #fff;
}
.proj:nth-child(even) .proj-media { order: 2; }
@media (max-width: 820px) { .proj { grid-template-columns: 1fr; } .proj:nth-child(even) .proj-media { order: 0; } }
.proj-media { position: relative; min-height: 260px; background: linear-gradient(145deg, var(--maroon-800), var(--maroon-950)); display: grid; place-items: center; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; }
.proj-media .ph {
  text-align: center; color: rgba(255,255,255,.82); padding: 2rem;
  font-family: var(--font-sport); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.proj-media .ph svg { width: 44px; height: 44px; margin: 0 auto .8rem; opacity: .5; }
.proj-body { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.proj-body h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-transform: uppercase; margin-bottom: .5rem; }
.proj-status {
  display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 999px; margin-bottom: .85rem;
}
.ps-planning { background: var(--warn-bg); color: var(--warn); }
.ps-funding { background: #EEF1FB; color: #29418F; }
.ps-progress { background: var(--ok-bg); color: var(--ok); }
.ps-vision { background: var(--paper-3); color: var(--ink-700); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); border: 1px solid var(--paper-3); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: .7rem .85rem; font-size: .82rem; color: var(--ink-500); }
.gallery .slot {
  aspect-ratio: 4/3; display: grid; place-items: center; text-align: center; padding: 1rem;
  color: var(--ink-500); font-family: var(--font-sport); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 10px, var(--paper-3) 10px 20px);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--paper-3); }
.faq details { border-bottom: 1px solid var(--paper-3); }
.faq summary {
  cursor: pointer; padding: 1.15rem .5rem; font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-display); font-size: 1.4rem; color: var(--maroon);
  transition: transform .2s var(--ease); flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--maroon); }
.faq .faq-body { padding: 0 .5rem 1.3rem; color: var(--ink-700); font-size: .95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-950); color: #C6C9C9; padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 68px; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; max-width: 34ch; }
.site-footer h3 {
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #C6C9C9; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .8rem;
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--silver); transition: all .16s var(--ease);
}
.social a:hover { background: #fff; color: var(--maroon); }
.social svg { width: 17px; height: 17px; }

/* ---------- Config banner ---------- */
.setup-banner {
  background: var(--warn-bg); border-bottom: 1px solid #F0DDB4; color: var(--warn);
  font-size: .85rem; padding: .7rem 0;
}
.setup-banner .wrap { display: flex; gap: .8rem; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; }
.setup-banner strong { font-family: var(--font-sport); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.setup-banner button { background: none; border: 0; cursor: pointer; color: inherit; text-decoration: underline; font-size: .8rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hb-toc, .btn, .icon-btn, .setup-banner, .modal-backdrop { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hb-section { page-break-inside: avoid; border: 0; }
  a { text-decoration: none; color: #000; }
}

/* Live-from-sheet freshness indicator */
[data-sched-updated].is-live { color: var(--ok) !important; font-weight: 600; }
[data-sched-updated].is-live::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); margin-right: .45rem; vertical-align: middle;
  animation: pulse-ok 2.4s infinite;
}
@keyframes pulse-ok {
  0%   { box-shadow: 0 0 0 0 rgba(30,122,75,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(30,122,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,122,75,0); }
}

/* Per-team subscribe rows (live Google Calendars) */
.cal-team {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem .95rem; border: 1.5px solid var(--paper-3); border-radius: var(--r);
  margin-bottom: .55rem; flex-wrap: wrap;
}
.cal-team:hover { border-color: var(--silver); background: var(--paper-2); }
.cal-team strong { font-size: .96rem; }
.cal-team-links { display: flex; gap: .35rem; flex-wrap: wrap; }
.cal-team-links .btn { padding: .4em .8em; font-size: .68rem; }
@media (max-width: 520px) { .cal-team { flex-direction: column; align-items: stretch; } }

/* ---------- Coach cards ---------- */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.1rem; margin-bottom: 3rem; }
.coach-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: 1.4rem; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.coach-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.coach-photo {
  width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--paper-2); border: 3px solid var(--paper-3);
}
.coach-photo--initials {
  display: grid; place-items: center;
  background: var(--paper-2); border: 2px solid var(--maroon);
  box-shadow: inset 0 0 0 3px #fff;
  color: var(--maroon); font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em;
}
.coach-body { min-width: 0; }
.coach-card h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.coach-role {
  font-family: var(--font-sport); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--maroon-500); margin: 0 0 .6rem;
}
.coach-bio { font-size: .92rem; color: var(--ink-700); margin: 0 0 .7rem; line-height: 1.55; }
/* An address breaks only when it truly cannot fit, never letter by letter. */
.coach-mail { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; max-width: 100%; overflow-wrap: anywhere; }
.coach-mail svg { width: 1em; height: 1em; flex: none; }
@media (max-width: 460px) { .coach-card { flex-direction: column; } }

/* Assistant coaches — a compact roster rather than more cards. Football carries
   thirteen staff; thirteen identical cards is a wall, this is a squad list. */
.coach-staff {
  background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem; margin-bottom: 3rem;
}
.cs-head {
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--maroon-500); margin: 0 0 .9rem;
}
.cs-group + .cs-group { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 2px solid var(--paper-3); }
.cs-unit {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .95rem; letter-spacing: .03em; color: var(--ink); margin: 0 0 .6rem;
}
.cs-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: .1rem 2.4rem;
}
.cs-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid var(--paper-3);
}
.cs-name { font-weight: 600; font-size: .95rem; }
.cs-role {
  font-size: .78rem; color: var(--ink-500); text-align: right; flex: none;
  max-width: 55%;
}
@media (max-width: 460px) {
  .cs-list li { flex-direction: column; gap: .1rem; }
  .cs-role { text-align: left; max-width: none; }
}

/* ==========================================================================
   PHOTOGRAPHY  —  hero imagery layered under the maroon gradient
   Added Aug 2026. Photos come from config.PHOTOS via the CDN pipeline.
   ========================================================================== */
.hero--photo, .page-hero--photo { position: relative; isolation: isolate; }

.hero--photo .hero-photo,
.page-hero--photo .hero-photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 32%;
}
/* Same pseudo-element as .hero::after, which carries opacity:.07 — reset it
   here or the scrim renders at 7% and the headline drops off a bright photo. */
.hero--photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 1;
  background:
    linear-gradient(180deg, rgba(30,4,6,.80) 0%, rgba(30,4,6,.58) 42%, rgba(30,4,6,.92) 100%),
    linear-gradient(96deg, rgba(30,4,6,.92) 0%, rgba(30,4,6,.62) 68%, rgba(30,4,6,.55) 100%);
}
/* NOTE: this is the SAME pseudo-element as .page-hero::after above, which
   carries `opacity:.06` for its diagonal hatch. Without resetting opacity here
   the whole scrim renders at 6% and the headline sits unreadable on any
   daylight photo. Do not remove the `opacity: 1`. */
.page-hero--photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 1;
  background:
    linear-gradient(100deg, rgba(30,4,6,.92) 0%, rgba(30,4,6,.80) 46%, rgba(30,4,6,.52) 78%, rgba(30,4,6,.38) 100%),
    linear-gradient(180deg, rgba(30,4,6,.34) 0%, rgba(30,4,6,.22) 45%, rgba(30,4,6,.58) 100%);
}
.hero--photo .hero-watermark,
.page-hero--photo .hero-watermark { z-index: -1; opacity: .10; }
.hero--photo h1, .page-hero--photo h1 { text-shadow: 0 2px 26px rgba(0,0,0,.4); }

/* Projects gallery — real photos instead of empty slots */
.proj-media img { width: 100%; height: 100%; object-fit: cover; }

/* Staff headshots */
.avatar--photo {
  object-fit: cover; object-position: center 20%;
  border-radius: 50%; display: block;
}

.page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: rgba(255,255,255,.82); }
.page-hero--photo p, .hero--photo .lede { color: rgba(255,255,255,.92); }

/* ==========================================================================
   TICKETING (GoFan) + TEAM PHOTO GALLERIES
   Added Aug 2026.
   ========================================================================== */

/* ---------- Utility-bar ticket link ---------- */
.utility-tickets {
  font-weight: 700;
  color: #fff !important;
  position: relative;
  padding-left: 1.1rem;
}
.utility-tickets::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--live, #C8102E);
  box-shadow: 0 0 0 0 rgba(200,16,46,.65);
  animation: tk-pulse 2.4s ease-out infinite;
}
@keyframes tk-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
@media (prefers-reduced-motion: reduce) { .utility-tickets::before { animation: none; } }

/* ---------- Full ticketing band ---------- */
.tickets-band {
  background:
    radial-gradient(900px 420px at 88% 10%, rgba(209,211,211,.14), transparent 62%),
    linear-gradient(135deg, var(--maroon-900, #3D080C), var(--maroon-950, #2C0508) 72%);
  color: rgba(255,255,255,.86);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.tk-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(1.75rem, 5vw, 4rem); align-items: center;
}
.tickets-band h2 {
  color: #fff; font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.05; margin: 0 0 .8rem;
}
.tickets-band p { color: rgba(255,255,255,.82); margin: 0 0 .8rem; max-width: 62ch; }
.tk-thanks { color: rgba(255,255,255,.72) !important; font-size: .95rem; }
.tk-thanks strong { color: var(--silver, #D1D3D3); }
.tk-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }

.tk-qr {
  display: grid; justify-items: center; gap: .6rem;
  background: #fff; padding: 1rem 1rem .85rem; border-radius: 18px;
  text-decoration: none; box-shadow: 0 18px 40px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.tk-qr:hover { transform: translateY(-3px); }
.tk-qr img { width: 150px; height: 150px; display: block; }
.tk-qr span {
  font-family: var(--font-sport); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--maroon, #610C13);
}
@media (max-width: 780px) {
  .tk-inner { grid-template-columns: 1fr; }
  .tk-qr { justify-self: start; }
}

/* ---------- Inline cashless note ---------- */
.tk-note {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .95rem 1.15rem; margin-bottom: 2rem;
  background: var(--paper-2, #F7F8FA);
  border: 1px solid var(--paper-3, #EDEFF3);
  border-left: 4px solid var(--maroon, #610C13);
  border-radius: 0 12px 12px 0;
}
.tk-note svg { width: 21px; height: 21px; flex: none; color: var(--maroon); margin-top: .15rem; }
.tk-note p { margin: 0; font-size: .93rem; }

/* ---------- Tickets page ---------- */
.tk-page {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(1.75rem, 5vw, 3.5rem); align-items: start;
}
@media (max-width: 820px) { .tk-page { grid-template-columns: 1fr; } }
.tk-steps { counter-reset: tk; list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.tk-steps li {
  counter-increment: tk; position: relative; padding-left: 3.2rem;
  font-size: .98rem; color: var(--ink-700, #3B3532);
}
.tk-steps li::before {
  content: counter(tk); position: absolute; left: 0; top: -.1rem;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon, #610C13); color: #fff;
  font-family: var(--font-display); font-size: 1.05rem;
}
.tk-qr-card {
  background: #fff; border: 1px solid var(--paper-3, #EDEFF3); border-radius: 20px;
  padding: 1.4rem; text-align: center; box-shadow: var(--shadow-1);
}
.tk-qr-card img { width: 230px; height: 230px; margin: 0 auto .9rem; display: block; }
.tk-qr-card p { margin: 0 0 .2rem; }

/* ---------- Gallery cards ---------- */
.gal-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gal-grid--home { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.gal-card {
  display: block; position: relative; isolation: isolate;
  border-radius: 16px; overflow: hidden; text-decoration: none;
  background: var(--maroon-950, #2C0508); aspect-ratio: 4/5;
  transition: transform .28s var(--ease, ease), box-shadow .28s var(--ease, ease);
}
.gal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3, 0 20px 46px rgba(0,0,0,.28)); }
.gal-media { position: absolute; inset: 0; z-index: -2; display: block; }
.gal-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  transition: transform .6s var(--ease, ease);
}
.gal-card:hover .gal-media img { transform: scale(1.06); }
.gal-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,4,6,.06) 32%, rgba(30,4,6,.62) 68%, rgba(30,4,6,.94) 100%);
}
.gal-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.05rem 1.05rem; display: grid; gap: .15rem;
}
.gal-season {
  font-family: var(--font-sport); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--silver, #D1D3D3);
}
.gal-title {
  font-family: var(--font-display); text-transform: uppercase; color: #fff;
  font-size: 1.1rem; line-height: 1.1; text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
/* A guest photographer's name, on the card itself. Quieter than the title it
   sits under -- it is an attribution, not a heading. */
.gal-by {
  font-size: .74rem; color: rgba(255,255,255,.78); margin-top: .2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.gal-go {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.82);
}
.gal-go svg { width: 13px; height: 13px; }
.gal-card:hover .gal-go { color: #fff; }

.photo-credit { font-size: .87rem; color: var(--ink-500, #6A625E); margin-top: 1.5rem; }

/* ==========================================================================
   SPORT PAGES — hero tags, season stats, feature band
   ========================================================================== */
.hero-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.hero-tags .tag {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: var(--font-sport); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .34rem .8rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-tags .tag--season { background: rgba(209,211,211,.22); border-color: rgba(209,211,211,.5); }

.sport-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: 1.6rem; max-width: 640px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; overflow: hidden;
}
.sport-stats .ss {
  background: rgba(30,4,6,.42); backdrop-filter: blur(6px);
  padding: .85rem .7rem; text-align: center; display: grid; gap: .2rem;
}
.sport-stats .v {
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.sport-stats .l {
  font-family: var(--font-sport); font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1.3;
}
@media (max-width: 620px) {
  .sport-stats { grid-template-columns: repeat(2, 1fr); }
  .sport-stats .v { font-size: 1.3rem; }
}

/* ---------- Full-bleed team feature band ---------- */
.sport-feature {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0; color: #fff;
}
.sport-feature > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.sport-feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(30,4,6,.94) 0%, rgba(30,4,6,.78) 55%, rgba(30,4,6,.55) 100%),
    linear-gradient(180deg, rgba(30,4,6,.25), rgba(30,4,6,.55));
}
.sf-inner { max-width: 62ch; }
.sport-feature h2 {
  color: #fff; font-size: clamp(1.6rem, 4vw, 2.7rem); line-height: 1.05;
  margin: 0 0 .8rem; text-shadow: 0 2px 22px rgba(0,0,0,.4);
}
.sport-feature p { color: rgba(255,255,255,.86); margin: 0; }
.sport-feature p a:not(.btn) { color: var(--silver, #D1D3D3); }
.sport-feature .btn--light { color: var(--maroon); }
.sport-feature .btn--outline-light { color: #fff; }
.sport-feature .btn--outline-light:hover { color: var(--maroon); }
.sf-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }


/* ---------- Season photo mosaic on sport pages ----------
   Six frames on a 6-column grid: one hero tile at 4x2, two stacked beside it,
   three across the bottom. Collapses to a 2-up grid on phones with the lead
   frame still full width, so the strongest photo always reads first. */
.sport-shots { background: var(--paper-2); }

/* Row height is set explicitly rather than with per-tile aspect-ratio: a tile
   that spans two rows and one that spans one must agree on geometry, and
   aspect-ratio on the tiles leaves holes in the grid wherever they disagree. */
.ss-mosaic {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(115px, 14.5vw, 215px);
  /* A set that mixes portrait and landscape frames leaves gaps beside the
     tall tiles; dense packing lets the short ones drop into them. */
  grid-auto-flow: row dense;
}
.ss-tile {
  margin: 0; overflow: hidden; border-radius: 3px;
  background: var(--ink-100, #E8E2DC);
  grid-column: span 2;
}
.ss-tile:first-child { grid-column: span 4; grid-row: span 2; }

/* Shaped tiles. Media day is shot vertical (4:5), and a landscape tile crops a
   standing player to a band across the chest — so those frames ask for a tall
   tile and get trimmed at the sides instead, where there is only backdrop.
   --wide is a full-bleed band, used to lead with one action frame above them.
   These come after :first-child so they win on equal specificity. */
/* :first-child outranks a single class, so a tall lead is named outright --
   otherwise a portrait lead is cropped to a band across the middle. */
.ss-tile--tall, .ss-tile--tall:first-child { grid-column: span 2; grid-row: span 3; }
.ss-tile--wide, .ss-tile--wide:first-child { grid-column: span 6; grid-row: span 3; }
/* The action frames are shot vertical too, so a wide band takes a slice out of
   the middle. Bias it upward — that is where the helmets and the ball are. */
.ss-tile--wide img { object-position: 50% 34%; }
.ss-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), filter .35s ease;
}
.ss-tile:hover img { transform: scale(1.045); filter: saturate(1.06); }

@media (max-width: 980px) {
  .ss-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(120px, 21vw, 200px);
  }
  .ss-tile:first-child { grid-column: span 4; grid-row: span 2; }
  .ss-tile--tall, .ss-tile--tall:first-child { grid-column: span 2; grid-row: span 3; }
  .ss-tile--wide, .ss-tile--wide:first-child { grid-column: span 4; grid-row: span 3; }
}
@media (max-width: 640px) {
  .ss-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(112px, 30vw, 165px);
  }
  .ss-tile { grid-column: span 1; }
  .ss-tile:first-child { grid-column: span 2; grid-row: span 2; }
  .ss-tile--tall, .ss-tile--tall:first-child { grid-column: span 1; grid-row: span 2; }
  .ss-tile--wide, .ss-tile--wide:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-tile img, .ss-tile:hover img { transition: none; transform: none; }
}

/* ==========================================================================
   SCHOOL HEADER ON THE ATHLETICS SITE
   The athletics site sits inside fbalions.org, so it carries the school's own
   bar. The maroon athletics nav becomes a sub-bar beneath it.
   All classes are `sch-` prefixed to avoid touching the athletics header CSS.
   ========================================================================== */
:root {
  --sch-ink: #14161A;
  --sch-ink-700: #3A3F47;
  --sch-ink-400: #8A919B;
  --sch-line: #E2E5EA;
  --sch-paper2: #F7F8FA;
  --sch-brass: #6E5321;
  --sch-brass-400: #C9A462;
  --sch-serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sch-body: 'Inter', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Thin utility strip ---------- */
.sch-util {
  /* #210507 is the SCHOOL stylesheet's --maroon-950, hard-coded on purpose.
     This bar is the school's, appearing on athletics pages, so it has to match
     fbalions.org exactly. The athletics --maroon-950 is a slightly warmer
     #2C0508 and is used by fifteen other rules here — the footer, every dark
     section, every gradient — so the variable cannot be changed to suit one bar.
     Keep this in step with .utilbar in fba-school-website/site/css/site.css. */
  background: #210507;
  color: rgba(255,255,255,.78);
  font-family: var(--sch-body); font-size: .8rem; letter-spacing: 0; text-transform: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sch-util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.sch-util a { color: rgba(255,255,255,.78); text-decoration: none; }
.sch-util a:hover { color: #fff; }
.sch-util-left { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.sch-util-right { display: flex; align-items: center; gap: 1.1rem; }
.sch-util-right a { display: inline-flex; align-items: center; gap: .35rem; }
.sch-util-right svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .sch-util { display: none; } }

/* ---------- White school bar ---------- */
.sch-nav {
  /* Opaque, not rgba(255,255,255,.95). The school's .site-header is 92% white
     over a white page, so it renders pure #fff. Here the page underneath is the
     night theme's near-black, so the same trick rendered #F2F2F2 — a grey bar
     against the school's white one, which is what made the two headers look
     like different sites even after every measurement matched. */
  background: #fff;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--sch-line);
  font-family: var(--sch-body);
  position: relative; z-index: 3;
}
/* 74px and .85rem are the school's --nav-h and .nav gap. The two headers are
   built by two different generators into two different stylesheets, and they
   had drifted: 66px against 74px, and a dozen smaller gaps. Anything changed
   here has a twin in fba-school-website/site/css/site.css — change both. */
.sch-nav .wrap { display: flex; align-items: center; gap: .6rem; min-height: 74px; }

.sch-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.sch-brand img { height: 46px; width: auto; }
.sch-brand > span { display: grid; line-height: 1.05; }
.sch-brand .sb1 {
  font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .015em;
  text-transform: uppercase; color: var(--maroon);
}
.sch-brand .sb2 {
  font-family: var(--font-sport); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: #6C625C;
}
@media (max-width: 520px) { .sch-brand .sb2 { display: none; } }

/* EIGHT top-level items, since Fine Arts came out of Student Life on the school
   site and this bar mirrors it. Measured before: the row was already 17px over
   with seven, and "Fine Arts" needs another 84. The gap and .sch-link padding
   below are tightened to pay for it, rather than raising the 1300px breakpoint
   and handing every 1366 laptop a menu button.
   Measured after: 26px free from 1301 up, no horizontal overflow at 1600 /
   1440 / 1366 / 1320 / 1301, hamburger from 1300 down. DO NOT add a ninth
   without measuring again. */
.sch-links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.sch-item { position: relative; }
.sch-link {
  display: inline-flex; align-items: center; gap: .26rem;
  padding: .65rem .4rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600; color: var(--sch-ink-700);
  text-decoration: none; white-space: nowrap; text-transform: none; letter-spacing: 0;
  font-family: var(--sch-body);
  transition: color .16s ease, background-color .16s ease;
}
.sch-link:hover, .sch-item.is-open > .sch-link { color: var(--maroon); background: #FBF2F2; }
.sch-caret { width: 12px; height: 12px; opacity: .55; transition: transform .2s ease; }
.sch-item.is-open .sch-caret { transform: rotate(180deg); opacity: 1; }

.sch-drop {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px; padding: .5rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--sch-line); border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26,21,18,.09), 0 36px 72px rgba(26,21,18,.16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 20;
}
.sch-drop::before { content: ''; position: absolute; left: -12px; right: -12px; top: -18px; height: 20px; }
.sch-item:hover > .sch-drop,
.sch-item:focus-within > .sch-drop,
.sch-item.is-open > .sch-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.sch-drop li { margin: 0; }
.sch-drop a {
  display: block; padding: .5rem .75rem; border-radius: 8px;
  font-size: .89rem; font-weight: 500; color: var(--sch-ink-700);
  text-decoration: none; text-transform: none; letter-spacing: 0;
  font-family: var(--sch-body);
}
.sch-drop a:hover { background: #FBF2F2; color: var(--maroon); }

/* Sports mega inside the school bar */
.sch-item--mega { position: static; }
.sch-drop--mega { width: min(720px, calc(100vw - 3rem)); padding: 0; overflow: hidden; }
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.2rem 1.2rem 1rem; }
.sm-col { padding-right: 1rem; }
.sm-col + .sm-col { border-left: 1px solid var(--sch-line); padding-left: 1rem; }
.sm-col h3 {
  font-family: var(--font-sport); font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sch-brass); margin: 0 0 .6rem;
}
.sm-col ul { list-style: none; margin: 0; padding: 0; }
.sm-col li { margin: 0; }
.sm-col a { display: block; padding: .35rem .5rem; border-radius: 8px; text-decoration: none; }
.sm-col a:hover { background: #FBF2F2; }
.sm-col a strong {
  display: block; font-family: var(--sch-body); font-size: .88rem; font-weight: 650;
  color: var(--sch-ink-700); text-transform: none; letter-spacing: 0; line-height: 1.25;
}
.sm-col a:hover strong { color: var(--maroon); }
.sm-col a span { font-family: var(--sch-body); font-size: .72rem; color: var(--sch-ink-400); text-transform: none; letter-spacing: 0; }
.sm-col a em { font-style: normal; color: var(--sch-brass); }
.sm-col a em::before { content: '· '; color: var(--sch-ink-400); }

.sm-foot { background: var(--sch-paper2); border-top: 1px solid var(--sch-line); padding: .9rem 1.2rem 1.1rem; }
.sm-foot-title {
  font-family: var(--font-sport); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sch-ink-400); margin: 0 0 .5rem;
}
.sm-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; }
.sm-links a {
  display: flex; align-items: center; gap: .4rem; padding: .4rem .5rem; border-radius: 8px;
  font-family: var(--sch-body); font-size: .82rem; font-weight: 600;
  color: var(--sch-ink-700); text-decoration: none; text-transform: none; letter-spacing: 0;
}
.sm-links a:hover { background: #fff; color: var(--maroon); }
.sm-links svg { width: 15px; height: 15px; color: var(--sch-brass); flex: none; }

.sch-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
/* Schedule a Tour / Apply Now are the SCHOOL's buttons riding along on the
   school bar. The athletics .btn is a sport button — Octin Sports, uppercase,
   .1em tracking — which made this pair 59px wider than the same two buttons on
   fbalions.org and read as a different site. These override back to the school's
   .btn / .btn--sm. Keep in step with fba-school-website/site/css/site.css. */
.sch-cta .btn {
  font-family: var(--sch-body); font-size: .86rem; font-weight: 600;
  letter-spacing: normal; text-transform: none;
  padding: .55rem .9rem; gap: .6rem; border-width: 1.5px;
}
@media (max-width: 1280px) { .sch-links { display: none; } }   /* = the school's */
@media (max-width: 640px) { .sch-tour { display: none; } }

.sch-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1.5px solid var(--sch-line); border-radius: 8px;
  background: #fff; color: var(--maroon); cursor: pointer;
}
.sch-toggle svg { width: 21px; height: 21px; }
@media (max-width: 1280px) { .sch-toggle { display: inline-flex; } }

/* ---------- Drawer ---------- */
.sch-drawer {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(26,21,18,.45); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.sch-drawer.is-open { opacity: 1; visibility: visible; }
.sch-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 90vw);
  background: #fff; padding: 1.1rem 1.1rem 3rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.16,1,.3,1);
  font-family: var(--sch-body);
}
.sch-drawer.is-open .sch-drawer-panel { transform: translateX(0); }
.sch-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.sch-close {
  width: 42px; height: 42px; border: 1.5px solid var(--sch-line); border-radius: 8px;
  background: #fff; color: var(--maroon); cursor: pointer; display: grid; place-items: center;
}
.sch-close svg { width: 20px; height: 20px; }
.sch-acc {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .8rem .2rem; background: none; border: 0; border-bottom: 1px solid var(--sch-line);
  font-family: var(--sch-body); font-size: 1rem; font-weight: 650; color: var(--sch-ink);
  text-align: left; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.sch-acc svg { width: 15px; height: 15px; opacity: .5; transition: transform .2s ease; }
.sch-acc[aria-expanded="true"] { color: var(--maroon); }
.sch-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.sch-acc-panel { display: none; padding: .25rem 0 .6rem .2rem; }
.sch-acc-panel.is-open { display: block; }
.sch-acc-panel a {
  display: block; padding: .45rem .55rem; border-radius: 8px;
  font-size: .9rem; color: var(--sch-ink-700); text-decoration: none;
  text-transform: none; letter-spacing: 0; font-family: var(--sch-body);
}
.sch-acc-panel a:hover { background: #FBF2F2; color: var(--maroon); }
.sch-flat {
  display: block; padding: .8rem .2rem; border-bottom: 1px solid var(--sch-line);
  font-size: 1rem; font-weight: 650; color: var(--sch-ink); text-decoration: none;
  text-transform: none; letter-spacing: 0; font-family: var(--sch-body);
}
.sch-acc-head {
  font-family: var(--font-sport); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sch-ink-400); margin: 1.4rem 0 .2rem .2rem;
}
.sch-drawer-cta { display: grid; gap: .5rem; margin-top: 1.4rem; }

/* ==========================================================================
   ATHLETICS IDENTITY STRIP
   The athletics nav bar was removed — every item was already in the school
   bar's Athletics mega menu. What is left is a section marker plus the three
   actions a family actually arrives wanting. Not sticky; the school bar is.
   ========================================================================== */
.ath-strip {
  background: linear-gradient(90deg, var(--maroon-950), var(--maroon-900) 55%, var(--maroon-800));
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative; z-index: 2;
}
.ath-strip .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 44px;
}
.ath-mark {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: .84rem; letter-spacing: .04em; color: var(--silver);
}
.ath-mark img { height: 26px; width: auto; }
.ath-mark strong { color: #fff; font-weight: 400; }
.ath-mark:hover strong, .ath-mark:hover { color: #fff; }

.ath-strip-actions { display: flex; align-items: center; gap: .3rem; }
.ath-strip-actions a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .7rem; border-radius: 999px;
  font-family: var(--font-sport); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--silver); text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.ath-strip-actions a:hover { background: rgba(255,255,255,.12); color: #fff; }
.ath-strip-actions svg { width: 15px; height: 15px; }
.ath-strip-actions a:first-child { color: #fff; }
.ath-strip-actions a:first-child svg { color: var(--maroon-400); }

.ath-strip-actions a { white-space: nowrap; }
@media (max-width: 760px) {
  .ath-strip .wrap { min-height: 42px; gap: .5rem; }
  .ath-mark span { display: none; }
  .ath-strip-actions a { padding: .35rem .5rem; font-size: .62rem; letter-spacing: .08em; gap: .3rem; }
  .ath-strip-actions svg { width: 14px; height: 14px; }
}
/* Two actions is plenty on a phone — schedules is in the menu */
@media (max-width: 560px) {
  .ath-strip-actions a:last-child { display: none; }
}

/* Keep the school brand on one line on small screens */
.sch-brand .sb1 { white-space: nowrap; }
/* 520px and every number below is the school's own phone block — see the
   @media (max-width: 520px) rule next to .brand in
   fba-school-website/site/css/site.css. This used to break at 560px with a
   34px seal and a .68rem name against the school's 38px and .78rem, so the two
   headers matched on a laptop and diverged on a phone, which is where most
   families see them. Change both together. */
@media (max-width: 520px) {
  .sch-brand { gap: .55rem; }
  .sch-brand img { height: 38px; }
  .sch-brand .sb1 { font-size: .78rem; white-space: normal; max-width: 8.5em; line-height: 1.15; }
  .sch-cta { gap: .4rem; }
  .sch-cta .btn { padding: .5rem .85rem; font-size: .82rem; }
  .sch-toggle { width: 38px; height: 38px; }
  .sch-nav .wrap { gap: .6rem; }
}

/* The school bar is the only sticky element now */
.sch-nav { position: sticky; top: 0; }

/* Mega menu: 12 quick links read better in three rows of four */
.sm-links { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .sm-links { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   NIGHT THEME  —  added Aug 2026 at Mark's request ("darker feel, black
   background with the faded FBA lion, and don't like all the white").

   HOW THIS WORKS, so it can be maintained or undone:

   The design system above is light-first. Rather than rewrite it, this block
   flips the *page* to near-black and leaves every card, table and callout as
   a light surface sitting on top. That keeps schedules and the handbook as
   readable as they were, and means nothing above this comment had to change.

   Variation comes from #main > section:nth-of-type(), which cycles four
   treatments — plain black, faded lion, grey action photo, maroon glow — so
   a long page has rhythm instead of one flat black. The photo comes from
   --page-photo, set per page on <body> by layout.head().

   TO REVERT: delete this block. Nothing else depends on it.
   ========================================================================== */

:root {
  --night:   #0A0304;   /* page base — reads black, carries a maroon undertone */
  --night-2: #12060A;   /* alternate band */
  --night-3: #1B0A0F;   /* raised dark surface (chips, wells) */
  --edge:    rgba(255,255,255,.11);
  --on-night:      rgba(255,255,255,.90);
  --on-night-dim:  rgba(255,255,255,.72);
}

/* --------------------------------------------------------------------------
   The night overrides that used to run from here down to the SPORT PAGES
   block are gone. Mark, 4 Nov 2026: "i want the athletics pages to be
   brighter and less dark ... more like the school's pages but with same bold
   font. i am getting too much black and maroon."

   The token definitions above are kept on purpose: the sport pages and the
   coach band are dark BY DESIGN, not by theme, and they consume them.

   Everything the night block used to override now falls back to the
   light-first design system at the top of this file, which was never
   removed. The handful of places that need to go brighter still are in the
   BRIGHT block at the end of this file.
   -------------------------------------------------------------------- */

/* ==========================================================================
   SPORT PAGES — EDITORIAL LAYOUT  (added Aug 2026, at Mark's request:
   "i dont love how a lot of the writing is in those white bubbles")

   Scoped to <html class="sport-page">, set by build.py for the 14 sport pages
   only. The rest of the athletics site keeps its light cards.

   The idea: no containers at all. Grouping comes from a thin maroon rule, the
   display face, and space. The schedule keeps a dark scrim because it sits
   over the section's lion watermark and would otherwise lose contrast.

   NOTE ON THE TOKENS BELOW — the night theme registers .card, .coach-card,
   .sched-table and friends as LIGHT surfaces, which hands their contents dark
   ink. On these pages they are dark, so each must hand the dark-surface tokens
   back. Setting colour by selector instead does not work: `#main td` outranks
   `.sched-table tbody td`, and always will.
   ========================================================================== */

.sport-page .card,
.sport-page .coach-card,
.sport-page .coach-staff,
.sport-page .tk-note,
.sport-page .callout,
.sport-page .empty-state,
.sport-page .sched-table,
.sport-page .sched-toolbar,
.sport-page [data-schedule-mount] {
  --head-ink: #fff;
  --body-ink: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.60);
  --eyebrow-ink: var(--silver-400);
  --link-ink: var(--silver);
  --link-ink-hover: #fff;
  --ghost-ink: #fff;
  --ghost-edge: rgba(255,255,255,.34);
  /* The schedule rows are generated at runtime with inline
     style="color:var(--ink-400)". Inline styles beat every selector, but they
     resolve a token — so retarget the token and the inline colours follow. */
  --ink-400: rgba(255,255,255,.58);
  --ink-500: rgba(255,255,255,.58);
  --ink-700: rgba(255,255,255,.88);
  color: rgba(255,255,255,.92);
}

/* ---------- Strip the containers ---------- */
.sport-page .card,
.sport-page .coach-card,
.sport-page .coach-staff,
.sport-page .tk-note,
.sport-page .callout,
.sport-page .empty-state {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.sport-page .card:hover,
.sport-page .coach-card:hover { transform: none; box-shadow: none; }

/* ---------- Put structure back with rules and space ---------- */
.sport-page .cards-2 { gap: clamp(2rem, 5vw, 4rem); }
.sport-page .cards-2 > .card {
  border-top: 2px solid var(--maroon-500);
  padding-top: 1.3rem;
}
.sport-page .card[style*="border-left"] {
  border-left: 3px solid var(--maroon-500) !important;
  padding-left: 1.2rem;
}
.sport-page .tk-note {
  border-left: 3px solid var(--maroon-500);
  padding: .2rem 0 .2rem 1.1rem;
  margin-bottom: 2.4rem;
}
.sport-page .tk-note svg { color: var(--maroon-400); }
.sport-page .callout {
  border-left: 3px solid var(--maroon-500);
  padding: .2rem 0 .2rem 1.1rem;
}
.sport-page .empty-state { border: 1px dashed rgba(255,255,255,.22); padding: 3rem 1.5rem; }

/* ---------- Coaches read as a masthead ---------- */
.sport-page .coach-grid { gap: clamp(1.5rem, 4vw, 3rem); }
.sport-page .coach-card { align-items: center; gap: 1rem; }
.sport-page .coach-card h3 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.5rem; letter-spacing: .01em; margin-bottom: .2rem;
}
.sport-page .coach-photo--initials {
  width: 70px; height: 70px; font-size: 1.15rem;
  background: rgba(255,255,255,.06); border: 2px solid var(--maroon-500);
  box-shadow: none; color: #fff;
}
.sport-page .coach-staff {
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.sport-page .cs-list li { border-bottom: 1px solid rgba(255,255,255,.10); }
.sport-page .cs-name, .sport-page .cs-unit { color: #fff; }
.sport-page .cs-role { color: rgba(255,255,255,.55); }
.sport-page .cs-group + .cs-group { border-top: 2px solid rgba(255,255,255,.14); }
.sport-page .cs-head { color: var(--silver-400); }

/* ---------- Level chips ---------- */
.sport-page .tag {
  background: transparent; border: 1px solid rgba(255,255,255,.26);
  color: rgba(255,255,255,.80);
}

/* ---------- Schedule: broadcast-style ---------- */
.sport-page .sched-table,
.sport-page .sched-scroll {
  /* Not fully transparent: the section's lion watermark shows straight through
     an unfilled table and takes the rows below AA. Painted on whichever of the
     two is the outer box -- the scroller when there is one, the table when
     there is not. */
  background: rgba(8,2,3,.74); border-radius: 10px; backdrop-filter: blur(3px);
  /* The sticky header inside .sched-scroll. FULLY opaque, unlike the .74 of
     the box around it: any alpha at all and the row sliding underneath reads
     straight through the column labels. Matched by eye to .74 black over the
     page, so it does not read as a lighter bar. */
  --sched-head-bg: #0B0405;
}
.sport-page .sched-table thead th {
  color: rgba(255,255,255,.50); border-bottom: 1px solid rgba(255,255,255,.20);
}
.sport-page .sched-table tbody td { border-bottom: 1px solid rgba(255,255,255,.09); }
.sport-page .sched-table tbody tr:hover { background: rgba(255,255,255,.045); }
.sport-page .sched-table tbody tr.is-next {
  background: linear-gradient(90deg, rgba(155,26,36,.30), transparent 62%);
}
.sport-page .sched-table .opp, .sport-page .sched-table .dt strong { color: #fff; }
.sport-page .sched-toolbar {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}

/* icon() emits <svg class="ic"> with no intrinsic size, and the global reset
   makes every svg display:block. With no rule of its own an inline icon
   stretched to fill its container - the external-link arrow rendered a
   thousand pixels tall the first time it was used inline. Every existing rule is
   more specific than this, so nothing that already works changes. */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; flex: none; }



/* ==========================================================================
   COACH BAND
   A coach cut out of his media day frame, standing on a black field with the
   headline running behind him. The words pass behind his body and reappear
   through the gaps between his forearms and his sides — which is the whole
   effect, so the headline has to sit at forearm height, not across his chest,
   and it has to be wider than he is.
   Everything is real text; the image carries no words at all.
   ========================================================================== */
.coach-band {
  position: relative;
  background: #000;
  padding: clamp(2rem, 4.5vw, 3.4rem) 0 0;
  overflow: hidden;
  color: #fff;
  --head-ink: #fff;
  --body-ink: rgba(255, 255, 255, .88);
  --muted: rgba(255, 255, 255, .58);
  --eyebrow-ink: var(--silver-400, #B9BCBC);
}

/* A maroon pool under his feet, so he is standing in something rather than
   floating on a flat rectangle. */
.coach-band::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -30%;
  width: min(820px, 115%); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(122, 16, 24, .5) 0%,
                              rgba(122, 16, 24, .14) 44%, transparent 68%);
  pointer-events: none;
}

.cb-stage { position: relative; display: grid; justify-items: center; text-align: center; }
.cb-eyebrow { position: relative; z-index: 3; margin-bottom: .2rem; }

/* The cutout sets the height; the headline is positioned against it, so the
   two stay locked together at every width. */
.cb-art {
  position: relative;
  display: flex; justify-content: center;
  width: 100%;
}

.cb-cut {
  position: relative;
  z-index: 2;                 /* above the headline — this is the whole trick */
  display: block; width: auto;
  height: clamp(280px, 40vw, 540px);
  /* Offset down and to the right, fairly tight, so where it crosses the
     headline it reads as a shadow he is casting onto the letters rather than
     a soft grey haze sitting over them. */
  filter: drop-shadow(22px 26px 14px rgba(0, 0, 0, .95));
  /* The frame cuts him off mid-thigh. Fade the last of it into the black so it
     reads as a deliberate vignette rather than a photo with its legs chopped. */
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 86%, transparent 99%);
}

/* 64% down his body puts it across the forearms, just above where his hands
   go behind his back. Measured: this face sets about 12.2x the font size
   wide, and the wrap tops out at 1240px, so 7.4vw keeps it on one line. */
.cb-word {
  position: absolute;
  top: 64%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin: 0;
  width: max-content; max-width: 100vw;
  font-size: min(6rem, 7.4vw);
  line-height: .9; letter-spacing: .005em;
  white-space: nowrap;
  color: #fff;
}

/* Who he is, straight under the cutout. The display face for the name so it
   carries some of the headline's weight, the narrow sport face for the title. */
.cb-name {
  position: relative; z-index: 3;
  margin: 1.1rem 0 0;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem); letter-spacing: .02em;
  line-height: 1.15; color: #fff;
}
.cb-title {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-sport); text-transform: uppercase;
  font-size: .68rem; letter-spacing: .22em;
  color: var(--silver-400, #B9BCBC);
}

.cb-copy {
  position: relative; z-index: 3;
  max-width: 46ch; margin: .9rem auto .2rem;
  font-size: .98rem; color: var(--body-ink);
}
.cb-actions { position: relative; z-index: 3; padding-bottom: clamp(2rem, 5vw, 3.2rem); }

/* On the sport page the band is just the picture, the words and who he is. */
.coach-band--compact .cb-name { padding-bottom: clamp(2rem, 5vw, 3.2rem); }

/* Narrow phones: the headline no longer fits on one line, so let it wrap and
   sit a little higher, where his arms are still wide enough to cross it. */
/* Phones. Centred, he sits square in the middle of the headline and eats the
   words that matter. Push him to the right and set the lines flush left, so
   each one starts fully readable and only its tail disappears behind him —
   the depth survives and the sentence still reads. */
@media (max-width: 640px) {
  .cb-art { justify-content: flex-end; padding-right: 2%; }
  .cb-cut { height: clamp(250px, 62vw, 340px); }
  .cb-word {
    left: 0; right: auto;
    transform: translateY(-50%);
    text-align: left;
    white-space: normal;
    width: 100%; max-width: 100%;
    font-size: clamp(2rem, 10.5vw, 3.2rem);
    top: 56%;
  }
  .cb-copy, .cb-actions { text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .cb-cut { will-change: auto; }
}


/* ==========================================================================
   GALLERY THUMBNAILS AND THE LIGHTBOX
   Every mosaic tile is a button that opens the full frame. The tile still has
   to look exactly like a picture, so the button chrome is stripped back to
   nothing and only the focus ring survives.
   ========================================================================== */
.ss-open {
  display: block; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: none;
  cursor: zoom-in; position: relative; overflow: hidden;
  color: #fff;
}
.ss-open:focus-visible {
  outline: 3px solid var(--maroon-300, #C46A72);
  outline-offset: -3px;
}

/* The expand cue. Hidden until hover or keyboard focus, and never shown on
   touch, where hovering is not a thing and the icon would just sit there. */
.ss-zoom {
  position: absolute; right: .45rem; bottom: .45rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 3, 4, .72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
  opacity: 0; transform: translateY(.3rem) scale(.9);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.ss-zoom .ic { width: .95rem; height: .95rem; }
@media (hover: hover) {
  .ss-open:hover .ss-zoom { opacity: 1; transform: none; }
}
.ss-open:focus-visible .ss-zoom { opacity: 1; transform: none; }

/* Dense grid: past eight frames the feature layout runs to a very long column,
   so switch to even thumbnails that tile at any count and any width. */
.ss-mosaic--dense {
  grid-template-columns: repeat(auto-fill, minmax(clamp(128px, 15vw, 200px), 1fr));
  grid-auto-rows: auto;
}
.ss-mosaic--dense .ss-tile,
.ss-mosaic--dense .ss-tile:first-child,
.ss-mosaic--dense .ss-tile--tall,
.ss-mosaic--dense .ss-tile--wide {
  grid-column: auto; grid-row: auto;
  aspect-ratio: 4 / 5;              /* the shape the photographs are shot in */
}

/* ---------- the viewer ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: clamp(.75rem, 3vw, 2.5rem);
  opacity: 0; transition: opacity .2s ease;
}
.lightbox[data-open="true"] { opacity: 1; }
.lightbox[hidden] { display: none; }
body.lb-open { overflow: hidden; }

.lb-backdrop { position: absolute; inset: 0; background: rgba(6, 2, 3, .93); cursor: zoom-out; }

.lb-figure {
  position: relative; z-index: 1;
  margin: 0; display: grid; justify-items: center; gap: .7rem;
  max-width: min(1100px, 100%); max-height: 100%;
}
.lb-img {
  display: block; max-width: 100%;
  max-height: calc(100vh - clamp(7rem, 16vh, 10rem));
  width: auto; height: auto;
  border-radius: 3px; background: #12060A;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  transform: scale(.97); transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.lightbox[data-open="true"] .lb-img { transform: none; }

.lb-cap {
  color: rgba(255, 255, 255, .82); font-size: .88rem; text-align: center;
  max-width: 62ch; text-wrap: balance;
}
.lb-count {
  display: block; margin-top: .25rem;
  font-family: var(--font-sport); font-size: .68rem; letter-spacing: .22em;
  color: rgba(255, 255, 255, .55);
}

.lb-btn {
  position: absolute; z-index: 2;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(18, 6, 10, .8); color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.lb-btn:hover { background: var(--maroon, #7A1018); border-color: rgba(255,255,255,.55); }
.lb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-btn .ic { width: 1.25rem; height: 1.25rem; }
.lb-close { top: clamp(.6rem, 2vw, 1.4rem); right: clamp(.6rem, 2vw, 1.4rem); }
.lb-prev  { left: clamp(.4rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lb-next  { right: clamp(.4rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.lb-btn[hidden] { display: none; }

@media (max-width: 560px) {
  .lb-prev { left: .3rem; } .lb-next { right: .3rem; }
  .lb-btn { width: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-img, .ss-zoom { transition: none; }
  .lb-img { transform: none; }
}


/* ==========================================================================
   COACH PORTRAITS
   Cut-out headshots on black, the same treatment as the band. A coach whose
   photo has not been cut out yet gets an initials tile, so the page is
   publishable before the photography is finished.
   ========================================================================== */
.coach-grid {
  display: grid; gap: clamp(1rem, 2.4vw, 1.8rem);
  grid-template-columns: repeat(auto-fill, minmax(clamp(170px, 20vw, 240px), 1fr));
}

/* The rule above is sized for portraits. The same class also holds the
   side-by-side contact cards (photo or initials, then name, role and email),
   and at 170-240px those squeezed the text into a 79px column: one word, or
   five letters of an email, per line (Mark, 18 Nov 2026). Contact cards keep
   a 300px minimum, or the full width when the screen is narrower than that. */
.coach-grid:has(> .coach-card) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.coach-portrait { margin: 0; text-align: center; }

.cp-art {
  position: relative;
  display: grid; place-items: end center;
  aspect-ratio: 3 / 4;
  margin-bottom: .8rem;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 108%, rgba(122, 16, 24, .5) 0%, transparent 62%),
    linear-gradient(180deg, #14060A 0%, #000 100%);
  box-shadow: inset 0 0 0 1px var(--edge, rgba(255, 255, 255, .1));
}
.cp-cut {
  display: block; width: auto; height: 100%;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .8));
}
.cp-initials {
  align-self: center;
  font-family: var(--font-display); font-size: 2.2rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .34);
}
.coach-portrait--noshot .cp-art { place-items: center; }

.cp-name {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: .02em; margin: 0 0 .18rem;
}
.cp-role {
  font-family: var(--font-sport); text-transform: uppercase;
  font-size: .64rem; letter-spacing: .18em;
  color: var(--muted); margin: 0;
}
.cp-bio { font-size: .88rem; margin: .6rem 0 0; }
.cp-mail { display: inline-block; margin-top: .5rem; font-size: .82rem; }
.cp-mail .ic { vertical-align: -.15em; margin-right: .2em; }


/* ==========================================================================
   GAME RECAP  —  the pop-up behind a score
   The panel is registered in the light-surface list above; it lives outside
   #main, which is exactly the case that block exists to cover.
   ========================================================================== */
.rc-open {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--edge, rgba(255,255,255,.28));
  background: transparent;
  color: inherit;
  font-family: var(--font-label, inherit);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .16rem .45rem;
  border-radius: 3px;
  margin-left: .35rem;
  white-space: nowrap;
}
.rc-open:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.rc-modal {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 4, 6, .68);
  backdrop-filter: blur(3px);
}
.rc-modal[hidden] { display: none; }
body.rc-open-lock { overflow: hidden; }

.rc-panel {
  position: relative;
  width: min(46rem, 100%);
  max-height: 84vh;
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.rc-close {
  position: absolute;
  top: .6rem;
  right: .7rem;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-500, #6b6b6b);
}
.rc-close:hover { color: var(--maroon, #670001); }

.rc-kicker {
  font-family: var(--font-label, inherit);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--maroon-500, #8a2a2f);
  margin: 0 0 .35rem;
}
.rc-score {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 .2rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem;
}
.rc-v {
  font-family: var(--font-label, inherit);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .18rem .45rem;
  border-radius: 3px;
}
.rc-v--w { background: var(--green-50, #e6f5ec); color: var(--green, #1d7a3d); }
.rc-v--l { background: var(--maroon-50, #f7ecec); color: var(--maroon-600, #7a1f24); }
.rc-v--t { background: #eee; color: #555; }

.rc-note { margin: .2rem 0 0; font-size: .92rem; }

.rc-potg {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--maroon);
  background: var(--paper-2, #f6f2ec);
  border-radius: 0 6px 6px 0;
}
.rc-potg__label {
  font-family: var(--font-label, inherit);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 .1rem;
  color: var(--maroon);
}
.rc-potg__name { margin: 0; font-weight: 700; font-size: 1.05rem; }
.rc-potg__note { margin: .15rem 0 0; font-size: .92rem; }

.rc-body { margin-top: 1.1rem; }
.rc-body p { margin: 0 0 .8rem; }
.rc-body p:last-child { margin-bottom: 0; }

/* SPORT CARD TYPE — white, and it has to be stated with !important.
   The cards sit on a dark maroon gradient. `.sport-card { color:#fff }` at the
   top of this file was being beaten for the h3 and the meta line by a more
   specific heading rule elsewhere in the stylesheet, so every sport name
   rendered near-black on maroon — unreadable, and it survived a first fix that
   only matched specificity rather than exceeding it.
   Verified in a browser: h3 and .sc-meta compute to rgb(255,255,255), while
   .sc-season and .sc-go keep their silver, which is intended. */
.sport-card,
.sport-card h3,
.sport-card .sc-meta { color: #fff !important; }

/* ------------------------------------------------------- the fee dialog
   What the participation fee goes towards. A native <dialog>, so Esc, focus
   handling and the backdrop come from the browser rather than from us.

   It sits inside the dark panel section, so it declares its own light tokens:
   the athletics stylesheet carries text colour on inherited custom properties,
   and anything light inside a dark section inherits white text and vanishes.
   Same reason .news-item declares them. */
.fee-dialog, .venue-dialog {
  --head-ink: #14110F; --body-ink: #3B3532;
  width: min(680px, calc(100vw - 2rem));
  max-height: min(82vh, 780px);
  max-height: min(82dvh, 780px);
  padding: 2rem 2.1rem 1.8rem;
  border: 0; border-radius: 18px;
  background: #fff; color: var(--body-ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  overflow: auto;
  /* Centre on the SCREEN, not somewhere in the document.
     Mark, 22 Aug 2026, from an iPhone: "when you are scrolled far down on the
     schedule and you click directions it doesn't scroll you back up ... it just
     says like a greyed out screen and makes you go searching."
     The browser centres a modal <dialog> in the viewport by itself; declaring
     position:relative opted out of that, so the panel was laid out against the
     document and landed off-screen (measured 284px above the top of the screen
     at 8000px down a schedule). The close button in the corner is positioned
     against this box either way -- fixed is a containing block too. */
  position: fixed;
  inset: 0;
  margin: auto;
}
.fee-dialog::backdrop { background: rgba(20, 17, 15, .62); backdrop-filter: blur(2px); }
.fee-dialog h2 {
  margin: .3rem 0 .8rem; color: var(--head-ink);
  font-family: var(--font-display, inherit); text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.15;
}
.fee-dialog .eyebrow { color: var(--maroon, #610C13); }
.fee-dialog__lede { margin: 0 0 1.3rem; font-size: 1rem; line-height: 1.6; color: var(--body-ink); }
.fee-dialog__foot {
  margin: 1.3rem 0 0; padding-top: 1rem; font-size: .9rem;
  border-top: 1px solid var(--paper-3, #EFEBE9); color: var(--body-ink);
}
.fee-dialog__foot a { color: var(--maroon, #610C13); font-weight: 700; }
.fee-dialog__x { position: absolute; top: .5rem; right: .7rem; margin: 0; }
.fee-dialog__x button {
  border: 0; background: none; cursor: pointer; line-height: 1;
  font-size: 1.7rem; color: var(--ink-400, #8B817B); padding: .2rem .4rem;
}
.fee-dialog__x button:hover { color: var(--head-ink); }

.fee-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.fee-list li {
  display: grid; gap: .15rem;
  padding: .85rem 0; border-top: 1px solid var(--paper-3, #EFEBE9);
}
.fee-list li:first-child { border-top: 0; padding-top: 0; }
.fee-list strong { color: var(--head-ink); font-size: 1rem; }
.fee-list span { font-size: .92rem; line-height: 1.55; color: var(--body-ink); }
@media (max-width: 620px) { .fee-dialog { padding: 1.5rem 1.3rem 1.3rem; border-radius: 14px; } }

/* ---------------------------------------------------------------------------
   .sched-scroll — the schedule box on a sport page
   ---------------------------------------------------------------------------
   Mark, 6 Sep 2026: the schedule scrolls inside itself so that the coaches and
   the roster are not a whole season further down the page. About five games
   tall on a desktop.

   It has to sit OUTSIDE [data-schedule-mount]: renderSchedule() in site.js
   assigns that element's innerHTML, so a wrapper placed inside it survives
   exactly until the first filter change.

   .sched-table already paints itself white with a radius and clips its own
   corners, so this only supplies the height, the scroll and the sticky header.
--------------------------------------------------------------------------- */
.sched-scroll {
  /* Five rows and the header. A schedule row is ~83px, not the ~52px a bare
     table row suggests: each carries a date over a time, an opponent over a
     level, and a chip row. */
  max-height: 455px;
  overflow-y: auto;
  overflow-x: hidden;
  /* auto, not contain: at the top or bottom of the list the wheel and swipe
     pass on to the page, so nobody gets stuck inside the box (Mark, 8 Nov). */
  overscroll-behavior: auto;
  border-radius: var(--r);
  /* Focusable, so the box can be reached and scrolled from the keyboard.
     Without this a keyboard user can tab to the rows but never scroll to
     them. */
  scrollbar-width: thin;
}
.sched-scroll:focus-visible { outline: 2px solid var(--maroon-400); outline-offset: 2px; }

/* position:sticky resolves against the nearest SCROLLING ancestor, and both
   `overflow: hidden` and `backdrop-filter` make an element one. .sched-table
   sets overflow:hidden everywhere and backdrop-filter on a sport page, so the
   header stuck itself to the table -- a box that never scrolls -- and slid out
   of view with the first row. The scroller has to own the clipping, the
   rounding and the blur; the table inside it owns none of them. */
.sched-scroll .sched-table {
  overflow: visible;
  border-radius: 0;
  backdrop-filter: none;
  background: transparent;
}

/* The header row stays put while the season moves under it — otherwise five
   rows in you are reading four unlabelled columns. --paper, because that is
   what .sched-table paints itself; a transparent sticky header lets the rows
   scroll through the words. */
.sched-scroll .sched-table thead th {
  position: sticky; top: 0; z-index: 2;
  /* The fill has to match whatever the table paints itself, or the rows scroll
     through the header. It is white on the light pages and a near-opaque black
     on a sport page, so it comes from a token the surface sets rather than
     from a literal here. */
  background: var(--sched-head-bg, var(--paper));
}

/* Below 780px the table drops its header and becomes a stack of cards, each
   roughly three times the height of a row. Five cards would be taller than the
   phone holding them, so the box is capped against the viewport instead of a
   fixed pixel height. */
@media (max-width: 780px) {
  .sched-scroll { max-height: 62vh; }
}

/* ===========================================================================
   THE TEAM PAGE  (football first — see TEAM_PAGE_V2 in config.py)

   Mark, 15 Sep 2026: "re think how the team pages are built so that It feels
   like you can get info right there on roster and coaches and scores."

   Two pieces. The bar answers how we are doing, when the next one is and where
   we rank, before anything scrolls. The tabs put the season, the results, the
   roster and the staff one tap apart instead of one screen apart.
   =========================================================================== */
.teambar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r, 14px);
  overflow: hidden;
}
.sport-page .teambar { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }

.tb-cell {
  display: flex; flex-direction: column; gap: .18rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
}
.sport-page .tb-cell { background: #0B0405; }

.tb-label {
  font-family: var(--font-label, inherit);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.tb-val {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink, inherit);
}
.sport-page .tb-val { color: #fff; }
/* The next opponent and the ranking are words, not a scoreline, so they take
   the display face at reading size rather than at scoreboard size. */
.tb-val--next, .tb-val--rank { font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.2; }
.tb-sub { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.tb-rank-n { color: var(--maroon); }
.sport-page .tb-rank-n { color: var(--maroon-400); }
.tb-cell--rank a { text-decoration: none; }

/* Last five, oldest first. Letters as well as colour: a run of green dots
   tells a colour-blind parent nothing at all. */
.tb-form { display: inline-flex; gap: 3px; }
.tb-dot {
  width: 15px; height: 15px; border-radius: 4px;
  font: 600 9px/15px var(--font-body, sans-serif); font-style: normal;
  text-align: center; color: #fff;
}
.tb-dot--w { background: var(--ok); }
.tb-dot--l { background: #A31621; }
.tb-dot--t { background: var(--ink-400, #8A919B); }

/* ---- tabs ---- */
.tabbar {
  display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.6rem;
}
.tabbar::-webkit-scrollbar { display: none; }
.sport-page .tabbar { border-bottom-color: rgba(255,255,255,.14); }

.tabbtn {
  flex: 1 0 auto;
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: .95rem 1.25rem; margin-bottom: -1px;
  font-family: var(--font-label, inherit);
  /* Mark, 25 Sep 2026: "make the Schedule/Results/Roster/Coaches headers
     bigger." Was .8rem, which read as a caption rather than as the page's
     own navigation. Letter-spacing comes in as the size goes up -- .16em is
     right for small caps and starts to fall apart at this size -- and the
     bar already scrolls sideways on a phone, so the extra width costs
     nothing there. */
  font-size: 1.02rem; letter-spacing: .1em; font-weight: 600;
  text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
@media (max-width: 560px) { .tabbtn { font-size: .94rem; padding: .85rem 1rem; } }

/* NO BRASS IN ATHLETICS. Mark, 25 Sep 2026: "get rid of the brass and make
   it a maroon."

   Brass was not a slip. It was standing in for maroon on the dark sport
   pages, because #610C13 against the #0A0304 ground measures 1.53:1 and
   simply is not there -- the same way a silhouette rim at 17% was not there
   on 24 Sep. So the answer is a maroon that survives the black, not the
   darkest one in the ramp:

       brass      #A9813C   5.73:1
       maroon     #610C13   1.53:1   <- invisible
       maroon-600 #7C1119   1.90:1
       maroon-500 #9B1A24   2.50:1
       maroon-400 #B93A44   3.65:1   <- used here, clears the 3:1 floor

   Light surfaces keep plain --maroon; they never had the problem. */
.tabbtn:hover { color: var(--ink, inherit); }
.sport-page .tabbtn:hover { color: #fff; }
.tabbtn[aria-selected="true"] { color: var(--maroon); border-bottom-color: var(--maroon); }
.sport-page .tabbtn[aria-selected="true"] { color: #fff; border-bottom-color: var(--maroon-400); }
.tabpanel[hidden] { display: none; }

/* ---- results ---- */
.res-list { border: 1px solid var(--line); border-radius: var(--r, 14px); overflow: hidden; }
.sport-page .res-list { border-color: rgba(255,255,255,.14); }
.res-row {
  display: grid; grid-template-columns: 9.5rem 1fr auto;
  gap: .9rem; align-items: center;
  padding: .85rem 1.1rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.sport-page .res-row { background: #0B0405; border-top-color: rgba(255,255,255,.1); }
.res-row:first-child { border-top: 0; }
.res-when { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.res-who strong { display: block; font-size: .95rem; }
.sport-page .res-who strong { color: #fff; }
.res-who span { font-size: .78rem; color: var(--muted); }
.res-score { display: flex; align-items: center; gap: .55rem; }
.res-num {
  font-family: var(--font-display, inherit); font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.sport-page .res-num { color: #fff; }

@media (max-width: 640px) {
  .res-row { grid-template-columns: 1fr auto; }
  .res-when { grid-column: 1 / -1; }
}

/* ---- stats: team leaders, and a season line on a player page ---- */
.ldr-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r, 14px); overflow: hidden;
}
.sport-page .ldr-grid { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.ldr {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .9rem 1.05rem; background: var(--paper); text-decoration: none;
  transition: background .16s ease;
}
.sport-page .ldr { background: #0B0405; }
.ldr:hover { background: var(--paper-2, #F7F8FA); }
.sport-page .ldr:hover { background: #160A0C; }
.ldr-stat {
  font-family: var(--font-label, inherit);
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.ldr-name { font-size: .9rem; font-weight: 600; }
.sport-page .ldr-name { color: #fff; }
.ldr-val {
  font-family: var(--font-display, inherit); font-size: 1.35rem; line-height: 1.1;
  font-variant-numeric: tabular-nums; color: var(--maroon);
}
.sport-page .ldr-val { color: var(--maroon-400); }

.st-line + .st-line { margin-top: 1.2rem; }
.st-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r, 14px); overflow: hidden;
}
.sport-page .st-grid { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.st-cell {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .85rem .6rem; background: var(--paper); text-align: center;
}
.sport-page .st-cell { background: #0B0405; }
.st-v {
  font-family: var(--font-display, inherit); font-size: 1.5rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sport-page .st-v { color: #fff; }
.st-k {
  font-family: var(--font-label, inherit);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}


/* THE MIXED SPORTS WALL on the athletics home.
   Mark, 23 Oct 2026: the page needed photographs back after the shelf came
   off. A mosaic rather than a row: the lead frame spans two columns and two
   rows so the wall has a focal point, the media-day frames are portrait and
   get tall tiles, and everything else is landscape. Twelve tiles fill whole
   rows at every width this grid resolves to. */
.gallerywall { background: var(--maroon-950, #140305); color: #fff;
  padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.gw-grid { display: grid; gap: .55rem;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 11rem; }
.gw-tile { position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg, 10px); text-decoration: none; color: #fff;
  border: 1px solid rgba(255,255,255,.12); background: #1d0507;
  grid-row: span 1; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.gw-tile--lead { grid-column: span 2; grid-row: span 2; }
.gw-tile img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease); }
.gw-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,3,5,0) 45%, rgba(20,3,5,.88) 100%); }
.gw-tile span { position: absolute; left: .7rem; right: .7rem; bottom: .55rem; z-index: 1;
  font-size: .78rem; line-height: 1.3; font-weight: 600; }
/* The sport on its own line above the gallery's name: "Stoneybrook" does not
   say golf on its own, and the gallery names are what the galleries are
   actually called. */
.gw-tile span em { display: block; font-style: normal; font-family: var(--font-sport);
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: .12rem; }
.gw-tile:hover, .gw-tile:focus-visible { transform: translateY(-3px);
  border-color: rgba(255,255,255,.5); color: #fff; }
.gw-tile:hover img { transform: scale(1.05); }
.gw-credit { margin: 1.1rem 0 0; font-size: .74rem; letter-spacing: .04em;
  color: rgba(255,255,255,.55); }
.gw-credit a { color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .gw-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gw-tile, .gw-tile img { transition: none; }
  .gw-tile:hover { transform: none; }
  .gw-tile:hover img { transform: none; }
}

/* ==========================================================================
   BRIGHT  (4 Nov 2026)

   Mark asked for brighter, less black and less maroon, closer to the school
   pages, with the athletic display face kept. He also asked for the sports to
   be shown as a list of links beside a big photograph of an athlete competing,
   instead of a grid of coloured boxes.

   So maroon is spent in three places only: the identity strip, type that is
   meant to be the brand (headings, eyebrows, numerals) and buttons. No maroon
   page grounds, no maroon heroes, no dark feature bands.

   Photography carries the weight the colour used to.
   ========================================================================== */

/* ---------- Hero ----------
   A hero with a photograph keeps the photograph and keeps white type over it,
   with a softer scrim than before so the picture reads as a picture. A hero
   with no photograph is paper with ink on it, not a maroon slab. */
.page-hero {
  background: var(--paper-2);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-3);
}
.page-hero::after { opacity: .025; }
.page-hero h1 { color: var(--maroon); }
.page-hero p { color: var(--ink-700); }
.page-hero .crumbs { color: var(--ink-500); }
.page-hero .crumbs a { color: var(--ink-500); }
.page-hero .crumbs a:hover { color: var(--maroon); }
.page-hero .hero-watermark { opacity: .05; filter: invert(1) brightness(.3); }

.page-hero--photo { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo p { color: rgba(255,255,255,.94); }
.page-hero--photo .crumbs,
.page-hero--photo .crumbs a { color: rgba(255,255,255,.85); }
.page-hero--photo .crumbs a:hover { color: #fff; }
.page-hero--photo .hero-watermark { opacity: .10; filter: none; }
/* Lighter than the old scrim: enough to hold type, not enough to kill the
   photograph. The weight sits at the bottom, where the words are. */
.page-hero--photo .hero-photo { opacity: 1; }
.page-hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,6,7,.34) 0%, rgba(10,6,7,.26) 26%, rgba(10,6,7,.62) 62%, rgba(10,6,7,.82) 100%);
}

/* ---------- Feature band ----------
   Was a maroon slab. Now paper, with the 5 Pillars as white cards. */
.section--dark { background: var(--paper-2); color: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--ink); }
.section--dark p, .section--dark .section-head p { color: var(--ink-500); }
.section--dark .eyebrow, .eyebrow--light { color: var(--maroon); }
.section--dark .stat { background: #fff; border-color: var(--paper-3); }
.section--dark .stat .v { color: var(--maroon); }
.section--dark .stat .l { color: var(--ink-500); }
.section--dark .btn--light {
  background: var(--maroon); color: #fff; border-color: var(--maroon);
}
.section--dark .btn--light:hover { background: var(--maroon-600); border-color: var(--maroon-600); }

.pillar {
  background: #fff; border: 1px solid var(--paper-3);
  box-shadow: 0 1px 2px rgba(20,22,26,.04);
}
.pillar:hover { background: #fff; border-color: var(--silver); transform: translateY(-3px); }
.pillar .num { color: var(--silver); }
.pillar h3 { color: var(--maroon); }
.pillar .ref { color: var(--ink-500); }
.pillar p { color: var(--ink-700); }
/* Mark, 7 Nov 2026: "when this is shrunk it has the numbers cover the words".
   The number was pinned in the top corner on top of the card, so a long title
   (DISCIPLESHIP, FELLOWSHIP) ran underneath it once the cards got narrow. It
   now sits in the flow on its own line above the title: it can never cover a
   word at any width. A title still too long for its card breaks rather than
   spilling out of it. */
.pillar .num { position: static; display: block; margin: 0 0 .45rem; }
.pillar h3 { overflow-wrap: anywhere; }

/* ---------- Sport picker ----------
   Mark, 4 Nov 2026: "instead of boxes with sports. list sports in clicks and
   have a big picture of our athlete competeing."

   One large photograph, the sports as plain rows beside it. Pointing at a row
   swaps the photograph; the rows are ordinary links, so this works with the
   script off and on a phone, where the picture sits above the list. */
.sportpick { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.sportpick__shot {
  position: relative; border-radius: var(--r-lg, 14px); overflow: hidden;
  background: var(--paper-3); min-height: 440px;
}
.sportpick__shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .32s var(--ease);
}
.sportpick__shot img.is-on { opacity: 1; }
.sportpick__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem 1.5rem;
  background: linear-gradient(180deg, rgba(10,6,7,0), rgba(10,6,7,.78));
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 2rem); color: #fff; letter-spacing: .01em;
}
.sportpick__season { font-family: var(--font-sport); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-500); margin: 1.6rem 0 .5rem; }
.sportpick__season:first-child { margin-top: 0; }
.sportpick__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .72rem 0; border-bottom: 1px solid var(--paper-3); text-decoration: none;
  transition: border-color .16s var(--ease), padding .16s var(--ease);
}
.sportpick__row:last-child { border-bottom: 0; }
.sportpick__name {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink);
  transition: color .16s var(--ease);
}
.sportpick__meta { font-family: var(--font-sport); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-500); text-align: right; flex: none; }
.sportpick__row:hover,
.sportpick__row:focus-visible { border-color: var(--maroon); outline: none; }
.sportpick__row:hover .sportpick__name,
.sportpick__row:focus-visible .sportpick__name { color: var(--maroon); }
.sportpick__row.is-on .sportpick__name { color: var(--maroon); }

@media (max-width: 880px) {
  .sportpick { grid-template-columns: 1fr; }
  .sportpick__shot { min-height: 260px; }
}

/* THE PHOTO STAYS IN VIEW  (Mark, 7 Nov 2026: "i want to make sure that you
   continue to see the photo as you scroll down the page").
   The frame pins just under the sticky school bar while the list scrolls.
   --pick-top is that bar's height, set by the picker script. Desktop: the
   frame fills the screen beside the list. Phone: a 260px band on top of the
   list, the same size the crops were set for, with the list sliding under. */
/* Room under the last sport (Mark, 7 Nov 2026: "give a little space on
   bottom because i dont want the flag football pictuer to start to get cut
   off"). A pinned frame lets go when its container ends, so without this the
   photo starts sliding away while Flag Football is still the one shown. On
   the LIST, not .sportpick: sticky stops at the parent's content edge, so
   padding on .sportpick itself changes nothing. */
/* Enough for a full scroll of room after Flag Football becomes the one shown
   (phone) or reaches the bottom of the screen (desktop). */
.sportpick__list { padding-bottom: 11rem; }
@media (min-width: 881px) {
  .sportpick { align-items: start; }
  .sportpick__shot {
    position: sticky; top: calc(var(--pick-top, 80px) + 16px);
    height: calc(100vh - var(--pick-top, 80px) - 32px);
    min-height: 440px; max-height: 900px;
  }
}
@media (max-width: 880px) {
  .sportpick__shot {
    position: sticky; top: var(--pick-top, 75px); z-index: 5;
    height: min(260px, 36vh); min-height: 200px;
    box-shadow: 0 10px 18px -12px rgba(10,6,7,.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sportpick__shot img { transition: none; }
  .sportpick__row:hover { transform: none; }
}

/* ==========================================================================
   SPORT PAGES KEEP THE NIGHT  (4 Nov 2026)

   The night theme came off the rest of the athletics site today. The 14 sport
   pages are dark BY DESIGN -- the editorial layout Mark asked for in August,
   plus the coach band, both of which need a dark field -- and their rules
   assume a dark ground they never set themselves.

   So the night block is reproduced here, scoped to <html class="sport-page">.
   Nothing about those pages changes. This is scaffolding, not a decision:
   Mark asked on 4 Nov for the sport pages to be redesigned ("i want different
   editorial layout i want to have it look more polished and right now it is
   hard to navigate"). When that lands, this block goes.
   ========================================================================== */
  .sport-page body { background: var(--night); color: var(--on-night); }

/* ---------- Surface tokens ----------
   Two surfaces exist now: the black page, and the light cards floating on it.
   Text colour is carried by inherited custom properties rather than by
   selectors, because a selector like `#main > section h3` will always
   out-specify `.card h3` — the card can never win that fight, and every
   heading inside every card turns white. Tokens sidestep specificity: the
   nearest surface sets the value, everything inside inherits it.

   The light-surface list below was extracted from the declarations in the
   design system above, not written from memory — six panels were missed on the
   first pass that way, including one that rendered white-on-white.

   ADDING A NEW LIGHT PANEL? Add its class to the second block. Nothing else. */
  html.sport-page {
  --head-ink:       #fff;
  --body-ink:       var(--on-night);
  --muted:          var(--on-night-dim);
  --eyebrow-ink:    var(--silver-400);
  --link-ink:       var(--silver);
  --link-ink-hover: #fff;
  --ghost-ink:      #fff;
  --ghost-edge:     rgba(255,255,255,.38);
}
.card, .callout, .callout--ok, .callout--warn, .cal-note, .cal-option,
.cal-team, .coach-card, .data-table, .empty-state, .gallery figure,
.mega, .modal, .proj, .ps-planning, .ps-progress,
.ps-vision, .sched-table, .season-tab, .setup-banner,
.staff-card, .step, .tag, .tk-note, .tk-qr, .tk-qr-card, .coach-staff,
.sch-drawer-panel, .sch-drop, .sch-toggle, .btn--light,
[data-schedule-mount], .sport-card, .news-item, .fba-tick__card, .rc-panel,
.cgame,
/* The e-sign pages, 2 Sep 2026. A form control is a light surface like any
   other card here, and a white pill inheriting the page's white text is
   invisible -- you only find out because families stop finishing the form. */
  .sport-page .sign-fact, .sport-page .opt, .sport-page .pad-box, .sport-page .sign-done {
  /* The rules that CONSUME these tokens are scoped to #main, so a light panel
     living outside it — the calendar modal, the nav drawer, the mega menu —
     got the tokens but never had a colour applied, and inherited the body's
     white. Setting colour here as well covers both cases. */
  color: var(--ink);
  --head-ink:       var(--ink);
  --body-ink:       var(--ink);
  --muted:          var(--ink-500);
  --eyebrow-ink:    var(--maroon-500);
  --link-ink:       var(--maroon);
  --link-ink-hover: var(--maroon-500);
  --ghost-ink:      var(--maroon);
  --ghost-edge:     currentColor;
}


/* Exceptions the extracted list cannot express on its own. */

/* .hb-toc is only a light panel below 980px; above that it is transparent and
   sits straight on the black. */
@media (max-width: 980px) {
  .hb-toc {
    --head-ink: var(--ink); --body-ink: var(--ink); --muted: var(--ink-500);
    --eyebrow-ink: var(--maroon-500);
    --link-ink: var(--maroon); --link-ink-hover: var(--maroon-500);
  }
}

/* .stat is a white tile normally, but the base stylesheet turns it translucent
   inside a dark band — so it has to hand the dark tokens back. */
  .sport-page .stat, .sport-page .section--dark .stat, .sport-page .panel-dark .stat {
  --head-ink: #fff; --body-ink: var(--on-night); --muted: var(--on-night-dim);
  --eyebrow-ink: var(--silver-400);
  --link-ink: var(--silver); --link-ink-hover: #fff;
}

/* Mark, 18 Sep 2026: "less big white boxes." Three surfaces come off the
   light-surface list above and become part of the night instead of paper laid
   on top of it. Each has to hand the dark tokens back, exactly as .stat does.

   .nextup-card  the four fixtures at the top of the landing page, and the same
                 strip on every sport page.
   .card--ghost  an opt-in variant, so a .card elsewhere is untouched.
   .quick-card   no page uses it any more -- the landing page was the only one,
                 and it now uses .chip. Kept, dressed for the night, so the
                 class is not a trap if anyone reaches for it again. */
  .sport-page .nextup-card, .sport-page .card--ghost, .sport-page .quick-card {
  --head-ink: #fff; --body-ink: var(--on-night); --muted: var(--on-night-dim);
  --eyebrow-ink: var(--silver-400);
  --link-ink: var(--silver); --link-ink-hover: #fff;
  --ghost-ink: #fff; --ghost-edge: rgba(255,255,255,.38);
  color: var(--on-night);
}
  .sport-page .nextup-card, .sport-page .quick-card {
  background: var(--night-3); border-color: rgba(255,255,255,.10); box-shadow: none;
}
  .sport-page .nextup-card { border-top-color: var(--maroon-500); }
  .sport-page .nextup-card:hover, .sport-page .quick-card:hover {
  background: #231016; border-color: rgba(255,255,255,.28);
  box-shadow: none; color: var(--on-night);
}
  .sport-page .nextup-card .nd { color: var(--silver-400); }
  .sport-page .nextup-card .ns { color: #fff; }
  .sport-page .nextup-card .no { color: rgba(255,255,255,.90); }
  .sport-page .nextup-card .nl { color: var(--on-night-dim); }
  .sport-page .card--ghost { background: transparent; border-color: rgba(255,255,255,.16); box-shadow: none; }

/* The chip is a night surface too -- white pills would be the boxes again, at
   pill size. */
  .sport-page .chip {
  background: var(--night-3); border-color: rgba(255,255,255,.18);
  color: var(--on-night);
}
  .sport-page .chip:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* Table headers are maroon-filled; they keep white type regardless of surface. */
  .sport-page #main .data-table thead th { color: #fff; }

/* Panels outside #main need the same heading/muted/link treatment that #main
   gets, or they fall back to the body's night colours on a white surface. */
  .sport-page .modal, .sport-page .sch-drawer-panel, .sport-page .sch-drop, .sport-page .mega {
  --page-ink: var(--ink);
}
.modal h2, .modal h3, .modal h4,
.sch-drawer-panel h2, .sch-drawer-panel h3,
  .sport-page .sch-drop h2, .sport-page .sch-drop h3, .sport-page .mega h2, .sport-page .mega h3 { color: var(--head-ink); }
.modal p, .modal li, .modal span, .modal strong,
.sch-drawer-panel p, .sch-drawer-panel li, .sch-drawer-panel span,
.sch-drop p, .sch-drop li, .sch-drop span,
  .sport-page .mega p, .sport-page .mega li, .sport-page .mega span { color: inherit; }
  .sport-page .modal .cal-option strong, .sport-page .cal-team strong { color: var(--ink); }
.modal .cal-option span span, .cal-team span,
  .sport-page .modal-head p, .sport-page .cal-note { color: var(--muted); }
.modal a:not(.btn), .sch-drawer-panel a:not(.btn), .sch-drop a:not(.btn),
  .sport-page .mega a:not(.btn) { color: var(--link-ink); }
  .sport-page .cal-option, .sport-page .cal-team { color: var(--ink); }

/* Each .tag variant paints its own colour on its own background. The blanket
   `color: var(--ink)` the light-surface block above applies would flatten them
   all to dark ink — putting near-black on the maroon HOME chip at 1.4:1, on
   every schedule row on the site. Restore them. */
  .sport-page .tag--home { color: #fff; }
  .sport-page .tag--away, .sport-page .tag--neutral { color: var(--ink-700); }
  .sport-page .tag--win { color: var(--ok); }
  .sport-page .tag--loss { color: #A31621; }
  .sport-page .tag--tbd { color: var(--warn); }
  .sport-page .tag--level { color: var(--ink-500); }
  .sport-page .tag--cancelled { color: #A31621; }
  .sport-page .tag--postponed, .sport-page .tag--moved { color: var(--warn); }

/* Secondary text in the school-header mega menu was --sch-ink-400 on white:
   3.8:1, under the 4.5:1 floor for text this small. */
  .sport-page .sm-col a span, .sport-page .sm-foot-title, .sport-page .sm-col a em::before { color: var(--sch-ink-500, #6A625E); }

/* ---------- Section bases ---------- */
/* Keep these at equal specificity, in source order. An earlier version used
   `#main > section` here, which out-specified .section--alt and quietly killed
   every alternate band. */
  .sport-page .section { background: transparent; }
  .sport-page .section--alt { background: var(--night-2); }
  .sport-page .section--dark { background: var(--night-2); }
  .sport-page .sport-shots { background: var(--night-2); }

/* Every section becomes a paint surface for the treatments below. */
  .sport-page #main > section { position: relative; isolation: isolate; }
#main > section > .wrap,
  .sport-page #main > section > .wrap-narrow { position: relative; z-index: 1; }

/* ---------- The four treatments ---------- */
/* 1 - faded FBA lion, as on the cover */
  .sport-page #main > section:nth-of-type(4n+1)::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* Capped: sized purely as a % of the section, a tall section turns the mark
     into a mural running behind the text. It should read as a watermark at any
     section height. */
  background: url('../assets/logos/fulllion-white.png') no-repeat
              right -4% center / auto clamp(200px, 105%, 540px);
  opacity: .05;
}
/* 2 - plain black; the page breathes here */

/* 3 - grey action photo, ghosted back into the black */
  .sport-page #main > section:nth-of-type(4n+3)::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--page-photo);
  background-size: cover; background-position: center 34%;
  opacity: .13;
}
  .sport-page #main > section:nth-of-type(4n+3)::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--night) 0%, rgba(10,3,4,.55) 30%,
                              rgba(10,3,4,.55) 70%, var(--night) 100%);
}
/* 4 - maroon glow */
  .sport-page #main > section:nth-of-type(4n)::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(155,26,36,.22), transparent 68%),
    radial-gradient(700px 380px at 5% 100%, rgba(97,12,19,.30), transparent 65%);
}
/* Pages one folder deep reach the logo one level further up. */
.d1 #main > section:nth-of-type(4n+1)::before,
  .sport-page .d2 #main > section:nth-of-type(4n+1)::before {
  background-image: url('../../assets/logos/fulllion-white.png');
}

/* ---------- Type, driven entirely by the tokens above ---------- */
  .sport-page #main h2, .sport-page #main h3, .sport-page #main h4, .sport-page #main h5 { color: var(--head-ink); }
#main p, #main li, #main dt, #main dd, #main td, #main th,
  .sport-page #main summary, .sport-page #main blockquote, .sport-page #main figcaption, .sport-page #main label { color: var(--body-ink); }
#main .section-head p, #main .lede, #main cite, #main small,
  .sport-page #main .coach-role { color: var(--muted); }
  .sport-page #main .eyebrow { color: var(--eyebrow-ink); }
  .sport-page #main .eyebrow--light { color: var(--silver); }
  .sport-page #main strong, .sport-page #main b { color: inherit; }

/* A card that is itself an <a> keeps the ink its own surface declares. */
  .sport-page #main a:not(.btn):not(.chip):not(.gal-card):not(.sport-card):not(.quick-card):not(.nextup-card):not(.cal-option):not(.doc-item) {
  color: var(--link-ink);
}
  .sport-page #main a:not(.btn):not(.chip):not(.gal-card):not(.sport-card):not(.quick-card):not(.nextup-card):not(.cal-option):not(.doc-item):hover {
  color: var(--link-ink-hover);
}
/* .gal-card is a DARK card - maroon over a photo - so it keeps white text. */
  .sport-page .cal-option, .sport-page .doc-item, .sport-page .sport-card { color: var(--ink); }
.gal-card, .gal-card .gal-season, .gal-card .gal-title, .gal-card .gal-go,
  .sport-page .gal-card .gal-by { color: #fff; }

/* Ghost buttons follow their surface too. */
  .sport-page #main .btn--ghost { color: var(--ghost-ink); border-color: var(--ghost-edge); }
  .sport-page #main .btn--ghost:hover { color: var(--night); background: #fff; border-color: #fff; }
.card .btn--ghost:hover, .callout .btn--ghost:hover, .tk-note .btn--ghost:hover,
  .sport-page .coach-card .btn--ghost:hover { color: #fff; background: var(--maroon); border-color: var(--maroon); }

  .sport-page hr { border-top-color: var(--edge); }

/* ---------- Light surfaces stay light ---------- */
/* Tables have transparent cells, so they need a surface of their own or the
   dark text lands on black. */
  .sport-page .sched-table, .sport-page .data-table {
  background: var(--paper); border-radius: var(--r);
  overflow: hidden; color: var(--ink);
}
  .sport-page .sched-table thead th, .sport-page .data-table caption { color: var(--ink-500); }
  .sport-page .data-table caption { background: transparent; color: var(--on-night-dim); padding: 0 0 .6rem; }
  .sport-page [data-schedule-mount] { color: var(--ink); }
  .sport-page [data-schedule-mount] h3, .sport-page [data-schedule-mount] h4 { color: var(--ink); }

/* The compact list floats white cards on the black page, so the day headings
   BETWEEN those cards belong to the page, not to the cards. Left alone they
   inherit the light-surface tokens from the mount and put maroon on near-black
   -- 1.1:1, which is invisible, not merely poor.

   Handing the tokens back rather than setting a colour, because .cday__h is a
   <p> and "#main p" out-specifies any plain class. Same move as .stat above. */
  .sport-page .cday {
  --head-ink: #fff; --body-ink: #fff; --muted: var(--on-night-dim);
}
  .sport-page .cday__h { border-bottom-color: var(--edge); }
  .sport-page .cday__h em { color: var(--on-night-dim); }
  .sport-page .cgame { border-color: var(--edge); }
  .sport-page .cgame:hover { border-color: rgba(255,255,255,.28); }

/* The schedule toolbar sits on black — give it a dark well. */
  .sport-page .sched-toolbar {
  background: var(--night-3); border: 1px solid var(--edge); border-radius: var(--r);
}
  .sport-page .sched-toolbar label { color: var(--on-night-dim); }
  .sport-page .sched-toolbar select, .sport-page .sched-toolbar input[type="search"] {
  background: #FFF; color: var(--ink); border-color: var(--edge);
}

/* ---------- Stat strip and chips on black ---------- */
  .sport-page .stat { background: rgba(255,255,255,.055); border-color: var(--edge); }
  .sport-page .stat .v { color: #fff; }
  .sport-page .stat .l { color: var(--on-night-dim); }

/* ---------- Mosaic sits better with a hairline on black ---------- */
  .sport-page .ss-tile { background: var(--night-3); box-shadow: 0 0 0 1px var(--edge); }

/* ---------- Footer already dark; seam it into the page ---------- */
  .sport-page .site-footer { border-top: 1px solid var(--edge); }

@media (max-width: 700px) {
  /* The lion is mostly hidden behind content at phone widths — pull it back
     so it reads as texture rather than a stray shape behind the words. */
  .sport-page #main > section:nth-of-type(4n+1)::before { background-size: auto 78%; opacity: .05; }
  .sport-page #main > section:nth-of-type(4n+3)::before { opacity: .10; }
}


/* ---------- Home hero ----------
   The athletics home hero was a maroon radial slab with a photograph laid
   over it. Mark, 4 Nov 2026: brighter, and more pictures. So the photograph
   is the hero now and the colour underneath it only shows while it loads.
   The scrim is weighted at the bottom, where the headline and the buttons
   are, instead of washing the whole frame. */
.hero--photo {
  background: var(--ink);
}
.hero--photo::after { opacity: .03; }
.hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,6,7,.30) 0%, rgba(10,6,7,.22) 24%,
                              rgba(10,6,7,.58) 60%, rgba(10,6,7,.84) 100%);
}
.hero--photo .hero-watermark { opacity: .07; }
.hero--photo h1 .accent { color: var(--silver-200, #E4E5E5); }

/* The picker sits on the home page too, where it follows a photographic hero.
   A little more air above it so the two pictures do not collide. */
#sports .sportpick { margin-top: .5rem; }

/* The eyebrow is the one place a small maroon mark does real work on a page
   this bright: it labels the section without another heading weight. Scoped
   to sections, so the eyebrows sitting on hero photographs stay white. */
.section .eyebrow, .gallerywall .eyebrow--light { color: var(--maroon); }
.section--dark .eyebrow { color: var(--maroon); }

/* ---------- Gallery wall ----------
   "This season, in pictures" was a maroon-950 band, which on a page this
   bright read as the one remaining slab of the old theme. The pictures are
   the point; the ground around them should get out of their way. */
.gallerywall { background: var(--paper-2); color: var(--ink); }
.gallerywall h2 { color: var(--ink) !important; }
.gallerywall .eyebrow--light { color: var(--maroon); }
.gw-tile { border-color: var(--paper-3); background: var(--paper-3); }
.gw-credit { color: var(--ink-500); }
.gw-credit a { color: var(--ink-700); }
.gallerywall .btn--outline-light {
  color: var(--maroon); border-color: var(--maroon); background: transparent;
}
.gallerywall .btn--outline-light:hover { background: var(--maroon); color: #fff; }


/* ==========================================================================
   SPORT PAGES, BRIGHT EDITORIAL  (4 Nov 2026)

   Mark: "i want different editorial layout i want to have it look more
   polished and right now it is hard to navigate."

   <html class="sport-ed">, set by page_sport() for the 14 sport pages. The
   old class, .sport-page, still belongs to the 196 athlete pages, which have
   not been redesigned yet, so every .sport-page rule above stays until they
   are. Nothing in this block reaches them, and nothing above reaches these.

   The page is the light design system the rest of athletics uses. Grouping
   comes from the display face, an eyebrow in maroon, a hairline and space.
   Two bands are dark on purpose, and both are photographs: the coach band
   and the gallery band.
   ========================================================================== */

/* ---------- Hero: the photograph carries it, scrim weighted at the foot ---- */
.sport-ed .page-hero--photo {
  min-height: clamp(380px, 56vh, 560px);
  display: flex; align-items: flex-end;
  padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: clamp(2rem, 5vw, 3rem);
}
.sport-ed .page-hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,6,7,.18) 0%, rgba(10,6,7,.12) 30%,
                              rgba(10,6,7,.62) 68%, rgba(10,6,7,.88) 100%);
}
.sport-ed .page-hero--photo > .wrap { flex: 0 1 auto; }
.sport-ed .page-hero--photo h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: .92; }
.sport-ed .page-hero--photo p { color: rgba(255,255,255,.92); }
.sport-ed .page-hero--photo .crumbs, .sport-ed .page-hero--photo .crumbs a { color: rgba(255,255,255,.82); }

/* ---------- The jump bar ---------- */
.sp-jump {
  position: sticky; top: var(--sp-dock, 75px); z-index: 80;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--paper-3);
  box-shadow: 0 6px 18px -14px rgba(20,22,26,.35);
}
.sp-jump__in { display: flex; align-items: center; gap: 1rem; min-height: 54px; }
.sp-jump__links {
  display: flex; gap: clamp(.9rem, 2.4vw, 1.9rem); flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
}
.sp-jump__links::-webkit-scrollbar { display: none; }
.sp-jump__links a {
  flex: 0 0 auto; position: relative;
  font-family: var(--font-label, inherit); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-700);
  padding: 1.15rem 0 1.05rem; white-space: nowrap;
}
.sp-jump__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--maroon); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.sp-jump__links a:hover { color: var(--maroon); }
.sp-jump__links a[aria-current] { color: var(--maroon); }
.sp-jump__links a[aria-current]::after, .sp-jump__links a:hover::after { transform: scaleX(1); }

/* ---------- Every other sport, one tap away ---------- */
.sp-switch { position: relative; flex: 0 0 auto; }
.sp-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-label, inherit); font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; background: var(--maroon);
  border-radius: 999px; padding: .62rem 1rem .58rem;
}
.sp-switch summary::-webkit-details-marker { display: none; }
.sp-switch summary:hover { background: var(--maroon-600); }
.sp-switch summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.sp-switch[open] .sp-switch__chev svg { transform: rotate(180deg); }
.sp-switch__chev svg { display: block; transition: transform .2s ease; }
.sp-switch__menu {
  position: absolute; right: 0; top: calc(100% + .6rem); z-index: 5;
  display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: .4rem 1.6rem;
  background: #fff; border: 1px solid var(--paper-3); border-radius: 12px;
  box-shadow: 0 24px 48px -20px rgba(20,22,26,.35);
  padding: 1.2rem 1.4rem 1.1rem; width: max-content; max-width: calc(100vw - 32px);
}
.sp-switch__col p {
  margin: 0 0 .45rem; font-family: var(--font-label, inherit); font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--maroon);
  border-bottom: 1px solid var(--paper-3); padding-bottom: .4rem;
}
.sp-switch__col a {
  display: block; padding: .34rem 0; text-decoration: none; color: var(--ink);
  font-family: var(--font-display, inherit); text-transform: uppercase; font-size: 1rem;
}
.sp-switch__col a:hover { color: var(--maroon); }
.sp-switch__col a[aria-current="page"] { color: var(--maroon); }
.sp-switch__col a[aria-current="page"]::before { content: '\25B8\00a0'; }

/* ---------- Sections ---------- */
.sp-main { background: var(--paper); color: var(--ink); }
.sp-sec { padding-block: clamp(2.6rem, 6vw, 4.6rem); background: var(--paper); }
.sp-sec--alt { background: var(--paper-2); }
.sp-sec--glance { padding-block: clamp(1.4rem, 3vw, 2.2rem); border-bottom: 1px solid var(--paper-3); }
.sp-sec, .sp-anchor { scroll-margin-top: calc(var(--sp-dock, 75px) + 62px); }
.sp-anchor { display: block; height: 0; }
.sp-sec .eyebrow { color: var(--maroon); }

.sp-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap;
  padding-bottom: 1.1rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--paper-3);
}
.sp-head .eyebrow { margin-bottom: .35rem; }
.sp-h {
  font-family: var(--font-display, inherit); text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: .95; margin: 0; color: var(--ink);
}
.sp-sub { margin: .45rem 0 0; font-size: .82rem; color: var(--ink-500); }
.sp-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.sp-toolbar { margin: 0; padding: .55rem .8rem; }

/* The tickets note and the next-up cards sit between the head and the table. */
.sport-ed .nextup { margin-bottom: 1.2rem; }
.sport-ed .tk-note { margin-bottom: 1.2rem; }

/* ---------- For families ---------- */
.sp-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.5rem); margin-bottom: 2rem;
}
.sp-tile {
  display: flex; flex-direction: column; gap: .2rem;
  background: #fff; border: 1px solid var(--paper-3); border-top: 3px solid var(--maroon);
  border-radius: 6px; padding: 1.3rem 1.3rem 1.25rem;
}
.sp-tile h3 {
  font-family: var(--font-display, inherit); text-transform: uppercase;
  font-size: 1.35rem; margin: 0 0 .35rem; color: var(--ink);
}
.sp-tile p { font-size: .93rem; color: var(--ink-700); margin: 0 0 .8rem; }
.sp-tile .eyebrow { margin: 0 0 .3rem; }
.sp-tile .sp-actions { margin-top: auto; }
.sp-levels { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }

/* The coach band is dark by design and stays that way here: it is the one
   portrait moment on the page. The gallery band below it is a photograph. */
.sport-ed .coach-band { scroll-margin-top: calc(var(--sp-dock, 75px) + 62px); }

@media (max-width: 720px) {
  .sp-jump__in { gap: .6rem; }
  .sp-switch summary { padding: .55rem .75rem .52rem; }
  .sp-switch__lbl { font-size: .66rem; }
  .sp-switch__menu { grid-template-columns: 1fr 1fr; width: min(calc(100vw - 32px), 360px); }
  .sp-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-jump__links a::after, .sp-switch__chev svg { transition: none; }
}

/* ---------- The roster on a light page ----------
   The roster was drawn for the night: white names, silver numbers, cut-outs
   floating on black. On paper the cut-outs stand on a soft grey floor, the
   shadow is lighter so it reads as contact rather than a smudge, the name is
   ink and the number is maroon, which is what a jersey number is. */
.sport-ed .pl-media {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 62%, var(--silver-200) 100%);
  border-radius: 6px; overflow: hidden;
}
.sport-ed .pl-media img {
  filter: drop-shadow(0 10px 12px rgba(20,22,26,.20)) drop-shadow(0 2px 3px rgba(20,22,26,.18));
}
.sport-ed .pl-card:hover .pl-media img {
  filter: drop-shadow(0 16px 18px rgba(20,22,26,.26)) drop-shadow(0 3px 5px rgba(20,22,26,.2));
}
.sport-ed .pl-name, .sport-ed .pl-row__name { color: var(--ink); }
.sport-ed .pl-meta, .sport-ed .pl-row__meta { color: var(--ink-500); }
.sport-ed .pl-meas { color: var(--ink-400); }
.sport-ed .pl-num, .sport-ed .pl-row__num {
  background: none; -webkit-text-fill-color: currentColor; color: var(--maroon);
}
.sport-ed .pl-list { border-top-color: var(--paper-3); }
.sport-ed .pl-row { border-bottom-color: var(--paper-3); }
.sport-ed .pl-row:hover { background: var(--paper-2); }
.sport-ed .pl-count { color: var(--ink-500); }
.sport-ed .pl-staff dt { color: var(--ink-500); }
.sport-ed .pl-staff dd { color: var(--ink); }
/* The "no photograph yet" silhouette is solid black, drawn for the night. On
   paper it is a hole in the roster, so it goes to a quiet grey stand-in. */
.sport-ed .pl-media img[src*="placeholder"] { opacity: .13; filter: none; }

/* BLACK PLATES BEHIND THE CUT-OUTS.
   Mark, 5 Nov 2026: "i want the player cards to have black backgrounds so
   that the cut outs look better." Every player card, on the sport pages and
   the roster pages, and the portrait on an athlete's own page, sits on a
   black plate. The no-photo silhouette is drawn in black, so on the plate it
   is turned light and kept quiet.

   Same day, Mark: a soft maroon glow behind them "like it does on the head
   coach", so dark hair does not get lost in the black, without the sharp
   contrast that makes a cut-out's hair edge look wrong. So the glow sits
   behind the head and shoulders and fades out wide and slow: the hair lands
   on a mid-tone maroon, never on pure black and never on anything light. A
   second, dimmer pool at the floor matches the coach band. The shadow is
   kept small and soft so it does not draw a dark outline round the hair. */
.pl-media, .sport-ed .pl-media, .pl-hero__media {
  background:
    radial-gradient(ellipse 85% 60% at 50% 34%, rgba(140, 22, 32, .62) 0%,
                    rgba(122, 16, 24, .30) 42%, rgba(97, 13, 19, 0) 78%),
    radial-gradient(ellipse 90% 40% at 50% 108%, rgba(122, 16, 24, .45) 0%, transparent 70%),
    linear-gradient(180deg, #14060A 0%, #070203 60%, #000 100%);
  border-radius: 6px; overflow: hidden;
}
.pl-media img, .sport-ed .pl-media img, .pl-hero__media img {
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
.pl-card:hover .pl-media img, .sport-ed .pl-card:hover .pl-media img {
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.55));
}
.pl-media img[src*="placeholder"], .sport-ed .pl-media img[src*="placeholder"],
.pl-hero__media img[src*="placeholder"] { filter: invert(1); opacity: .12; }

/* Apply Now is in the drawer on a phone; in the bar it ran over the wordmark.
   Same rule as the school stylesheet, 4 Nov 2026. */
@media (max-width: 640px) { .sch-cta .btn--apply { display: none; } }

/* The jump bar scrolls sideways on a phone. A fade at the edge says so. */
@media (max-width: 900px) {
  .sp-jump__links {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    padding-right: 20px;
  }
}

/* Review fixes, 4 Nov 2026 (@webdesign). */
/* The school bar's dropdowns must paint over the jump bar once scrolled. */
.sport-ed .sch-nav { z-index: 95; }
/* Coaches and Photos are groups of bands; the id sits on the group so the
   jump bar can light them up and the jump lands below the docked bars. */
.sp-group { display: block; scroll-margin-top: calc(var(--sp-dock, 75px) + 62px); }
/* A short screen can still reach the bottom of the sport list. */
.sp-switch__menu { max-height: calc(100dvh - var(--sp-dock, 75px) - 80px); overflow: auto; }
/* Keyboard focus shows as the same underline the current section gets. */
.sp-jump__links a:focus-visible { outline: none; color: var(--maroon); }
.sp-jump__links a:focus-visible::after { transform: scaleX(1); }
/* On a phone the next game should be on the first screen. */
@media (max-width: 640px) {
  .sport-ed .page-hero--photo { min-height: 260px; padding-top: 3rem; }
}

/* vs. Lake Placid cover (Mark's in-game pick, 7 Nov 2026). The photo is
   5:4 and most slots that show it are wide, so a centred crop cuts the
   quarterback's helmet and the ball off the top. Keep the top in frame
   everywhere the cover appears: home wall, photos.html, the football band. */
img[src*="football-vs-lake-placid-game"] { object-position: 50% 12%; }
/* The page banners are far wider still, and their own rule outranks the one
   above, so they get the top edge outright. */
.page-hero--photo .hero-photo[src*="football-vs-lake-placid-game"],
.hero--photo .hero-photo[src*="football-vs-lake-placid-game"] { object-position: 50% 4%; }

/* The one big button: "Start with Admissions" on the Overview page (Mark,
   7 Nov 2026: "make it the only button options and make it bold"). */
.btn--bold {
  font-size: clamp(1rem, 2.2vw, 1.25rem); padding: 1.05em 2.1em;
  box-shadow: 0 10px 24px -12px rgba(97,13,19,.6);
}
.btn--bold:hover { transform: translateY(-2px); }
@media (max-width: 520px) { .btn--bold { width: 100%; } }

/* ==========================================================================
   OVERVIEW: A WELCOME FROM THE DIRECTOR, AND BODY. MIND. SPIRIT.
   Mark, 7 Nov 2026: the Overview is read by families choosing a school, so it
   "needs to wow them and be very readable and educational".
   ========================================================================== */
.director {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.director-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--r-lg, 14px); box-shadow: 0 18px 40px -22px rgba(10,6,7,.55);
}
.director-body { max-width: 62ch; }
.director-body p { font-size: 1.05rem; line-height: 1.7; color: var(--ink-700); }
.director-lede {
  font-family: "Newsreader", Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  line-height: 1.4 !important; color: var(--ink) !important;
  border-left: 4px solid var(--maroon); padding-left: 1.1rem; margin: .4rem 0 1.2rem;
}
.director-sign { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .15rem; }
.director-sign strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; color: var(--maroon); letter-spacing: .01em; }
.director-sign span { font-family: var(--font-sport); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); }
@media (max-width: 720px) {
  .director { grid-template-columns: 1fr; }
  .director-photo { max-width: 260px; }
}

.whole { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.whole-col {
  background: #fff; border: 1px solid var(--paper-3); border-top: 4px solid var(--maroon);
  border-radius: var(--r, 10px); padding: 1.4rem 1.4rem 1.2rem;
}
.whole-col h3 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--maroon);
  font-size: 1.6rem; margin: 0 0 .8rem;
}
.whole-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.whole-col li { position: relative; padding-left: 1.1rem; color: var(--ink-700); line-height: 1.45; }
.whole-col li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem;
  background: var(--maroon); border-radius: 2px;
}

/* The letter (replaced the pull quotes, 7 Nov 2026): "Families," is the
   salutation, not a pull quote, so no rule beside it and a quieter size. */
.director-letter .director-lede { border-left: 0; padding-left: 0; margin-bottom: .6rem; font-size: clamp(1.25rem, 2vw, 1.5rem) !important; }
.director { align-items: start; }
@media (min-width: 721px) { .director-photo { position: sticky; top: calc(var(--pick-top, 80px) + 24px); } }

/* Luke 2:52 (7 Nov 2026): four columns, and the verse set as the lead line. */
.whole--four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.whole-verse {
  font-family: "Newsreader", Georgia, serif; font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.45; color: var(--ink); max-width: 38ch; margin: .2rem 0 .8rem;
}
.whole-col h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.whole-note { font-size: .9rem; line-height: 1.5; color: var(--ink-500); margin: -.35rem 0 .8rem; font-style: italic; }

/* COACH LIST: name and team, no photos (Mark, 7 Nov 2026). The cut-out
   portraits come back when every coach has one. */
.cl { display: grid; gap: 2.2rem; }
.cl-sport { scroll-margin-top: calc(var(--pick-top, 80px) + 16px); }
.cl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 3px solid var(--maroon); padding-bottom: .45rem; margin-bottom: .2rem; }
.cl-head h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0; }
.cl-head h2 a { color: var(--ink); text-decoration: none; }
.cl-head h2 a:hover { color: var(--maroon); }
.cl-head span { font-family: var(--font-sport); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 2rem; }
.cl-row { display: flex; flex-direction: column; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--paper-3); }
.cl-name { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.cl-row--head .cl-name { color: var(--maroon); }
.cl-team { font-size: .88rem; color: var(--ink-500); }
.cl-mail { font-size: .88rem; color: var(--maroon); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; margin-top: .1rem; }
.cl-level { margin-top: 1rem; }
.cl-level h3 { font-family: var(--font-sport); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); margin: 0 0 .1rem; }

/* ATHLETIC STAFF CARDS (7 Nov 2026): big portrait, name over its foot, duties
   as a list. Maroon, white, black, silver only. */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.sp-card { background: #fff; border: 1px solid var(--paper-3); border-radius: var(--r-lg, 14px);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(20,22,26,.04);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(10,6,7,.45); }
.sp-media { position: relative; aspect-ratio: 4 / 5; background: var(--maroon); overflow: hidden; }
.sp-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.sp-initials { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5rem); color: rgba(255,255,255,.9);
  background: radial-gradient(120% 90% at 50% 30%, #7a1a22 0%, var(--maroon) 55%, #2a0508 100%); }
.sp-id { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.1rem .95rem;
  background: linear-gradient(180deg, rgba(10,6,7,0), rgba(10,6,7,.82)); color: #fff; }
.sp-id h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; margin: 0; color: #fff; line-height: 1.05; }
.sp-id span { display: block; margin-top: .3rem; font-family: var(--font-sport); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.sp-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.sp-label { font-family: var(--font-sport); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 .45rem; }
.sp-duties { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .35rem; }
.sp-duties li { position: relative; padding-left: .95rem; color: var(--ink-700); font-size: .92rem; line-height: 1.4; }
.sp-duties li::before { content: ""; position: absolute; left: 0; top: .5em; width: .38rem; height: .38rem; background: var(--maroon); border-radius: 2px; }
.sp-mail { margin-top: auto; font-size: .88rem; color: var(--maroon); word-break: break-all; }

/* ==========================================================================
   Night leftovers on the white pages (Mark, 10 Nov 2026: "when we switched to
   a white background the writing got lost").
   A handful of parts still carried white or silver ink drawn for the old black
   page. A page-by-page contrast scan of every template found these:
     - the maroon header row of every .data-table (forms, calendar, handbook):
       "#main th" handed it dark ink, 1.35:1 on maroon
     - the roster pages and the roster index: white names on white
   The sport pages had the roster fix already (.sport-ed, above). These rules
   give the same ink to the pages that are not sport pages. A player's own
   page keeps its dark header, so its silver number is left alone.
   ========================================================================== */
#main .data-table thead th { color: #fff; }

.pl-name, .pl-row__name { color: var(--ink); }
.pl-meta, .pl-row__meta { color: var(--ink-500); }
.pl-meas { color: var(--ink-500); }
.pl-num, .pl-row__num {
  background: none; -webkit-text-fill-color: currentColor; color: var(--maroon);
}
.pl-list { border-top-color: var(--paper-3); }
.pl-row { border-bottom-color: var(--paper-3); }
.pl-row:hover { background: var(--paper-2); }
.pl-count { color: var(--ink-500); }

.rx-head { border-bottom-color: var(--paper-3); }
.rx-head h2 { color: var(--ink); }
.rx-head span { color: var(--ink-500); }
