/* Hallmark · shape: Map / Diagram · genre: playful · theme: Piste (by request, the site's theme) · job: try · draw: be426c
 * hero: Banner, with the row of schools and the pitch under the head inside the first screen · nav: slab with a full-screen mod menu, swapped from edge-aligned so the site shares one nav · footer: index columns, swapped from colophon block so the site shares one footer · imagery: the schools diagram on the canvas pitch (js/schools.js) and one in-game capture from the owner's footage at the close · signature: one pitch that plays each school without the ball and with it · piste: night-piste ground, mint signal, indigo field, gold tags
 * axes: dark/display-condensed/warm · posture: full-palette · brand: QH7 (spec 2026-11-09) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: E, the sheets are closed tabs, so a visitor meets one school at a time */
/* Hallmark · finish-review: subagent · 8 findings · 7 resolved 1 answered (the load order counts down on purpose: the owner asked for the mod manager's priority numbers, as on the gameplay page, and the lede now names them) · gap: none */
/* Hallmark · dismissed 58 · five of the six school sheets are closed tabs, so they count toward the page total without being on screen; the busiest window is the pitch's foot above the open sheet, at about 90 words */
@import url("./tokens.css");
@import url("./base.css");
@import url("./site.css");
@import url("./pitch.css");

/* The hero is the board itself: the head on the left, the line and the download on the right, then the row of schools and the pitch, all in the first screen */
.banner { padding-block: var(--space-2xl) var(--space-xl); align-items: end; row-gap: var(--space-lg); }
.banner h1 { grid-column: 1 / span 7; font-size: clamp(3rem, 5.2vw + 0.5rem, 6.25rem); max-width: 16ch; }
.banner__side { grid-column: 8 / span 5; display: grid; gap: var(--space-md); }
.banner .lead { color: var(--color-ink); max-width: 48ch; }
.banner .note { color: var(--color-ink-2); }

/* The schools board: the school names as one ruled row of tabs, the pitch across the page, the school's sheet under it */
.board__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-bar) solid var(--color-rule-bar); }
.board__tabs button {
  min-height: 64px; padding: var(--space-sm) var(--space-xs) var(--space-md) 0; border: 0; border-bottom: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); white-space: nowrap; text-align: left;
  font: 800 var(--text-xl)/1 var(--font-display); text-transform: uppercase; cursor: pointer; transition: color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.board__tabs button + button { margin-left: 0; }
.board__tabs button:hover { background: transparent; color: var(--color-ink); }
.board__tabs button[aria-selected="true"] { color: var(--color-ink); border-color: var(--color-rule); box-shadow: inset 0 calc(-1 * var(--space-2xs)) 0 var(--color-accent); }
.board__tabs button:active { background: transparent; color: var(--color-accent); }
.board__pitch { margin-top: var(--space-lg); }
/* From a high seat the whole pitch is a wide picture, held to the screen's height so the hero ends inside it; on a phone it is drawn from straight above, in pitch.css's taller frame */
@media (min-width: 40rem) { .board__pitch .pitch__stage { aspect-ratio: 21 / 9; max-height: 46svh; } }
/* Under the pitch, one row: the phase, what the team is doing in it, and the pause */
.board__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-md); }
.board__bar .seg button { padding: 0 var(--space-sm); font-size: var(--text-sm); }
.board__now { margin: 0; font-size: var(--text-lead); line-height: 1.3; color: var(--color-ink); }
.board__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-xl); margin-top: var(--space-sm); }
.board__foot .pitch__key, .board__foot .caption { margin: 0; }
.pitch__key .k-area { border-radius: 0; background: color-mix(in oklab, var(--color-field) 60%, var(--color-paper-2)); box-shadow: inset 0 0 0 1px var(--color-accent); }
/* All the schools on one row once each name has room for one line */
@media (min-width: 80rem) { .board__tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* A school's sheet, on its own screen under the board: the idea on the left, how to set a team up for it on the right */
.sheets { padding-block-start: var(--section-gap-s); }
.sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule-bar); }
.sheet__idea { grid-column: 1 / span 5; display: grid; gap: var(--space-md); align-content: start; }
.sheet__idea h3 { font-size: var(--text-display-s); }
.sheet__idea p { font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }
.sheet__set { grid-column: 7 / span 6; display: grid; gap: var(--space-md); align-content: start; }
.sheet__hint { font-weight: 500; color: var(--color-ink-2); }
.sheet__facts { margin: 0; }
.sheet__facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.sheet__facts > div:first-child { padding-top: 0; }
.sheet__facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.sheet__facts dd { margin: 0; color: var(--color-ink); }
.sheet__facts samp { font: inherit; }

/* What a school decides and what the strength keeps: one statement on the field */
.statement { display: grid; gap: var(--space-lg); }
.statement h2 { font-size: var(--text-display); max-width: 22ch; }
/* One sentence a line where the line has room for it */
@media (min-width: 60rem) { .statement h2 { max-width: none; } .statement h2 span { display: block; } }
.statement .lead { max-width: 56ch; }

/* Load order: rows numbered like the mod manager's priority, the lower mod wins */
.parts { grid-column: 1 / -1; margin: var(--space-2xl) 0 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-rule-bar); }
.parts li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.parts li::before { content: attr(data-priority); font: 800 var(--text-display-s)/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.parts h3 { font-size: var(--text-2xl); }
.parts h3 a { text-decoration-thickness: 2px; }
.parts p { color: var(--color-ink-2); }
.parts code { color: var(--color-ink); overflow-wrap: anywhere; }

.load__note { grid-column: 1 / -1; margin-top: var(--space-lg); }

/* Close: the download beside one last picture, on the field */
.close { align-items: center; row-gap: var(--space-2xl); }
.close__text { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.close__shot { grid-column: 7 / span 6; }

/* Without script every school's sheet shows in order, each under its own rule */
html:not(.js) .sheet + .sheet { margin-top: var(--space-3xl); }

@media (max-width: 60rem) {
  .board__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .board__now { grid-column: 1 / -1; grid-row: 2; min-height: 2.6em; }
  .banner h1, .banner__side, .sheet__idea, .sheet__set, .close__text, .close__shot { grid-column: 1 / -1; }
  .parts li { grid-template-columns: auto minmax(0, 1fr); row-gap: var(--space-xs); }
  .parts li > :not(h3) { grid-column: 2; }
}
@media (max-width: 40rem) {
  .banner { padding-block: var(--space-xl) var(--space-lg); }
  .board__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__tabs button { min-height: 52px; font-size: var(--text-lg); }
  .sheet__facts > div { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xs); }
}
@media (prefers-reduced-motion: reduce) { .board__tabs button { transition: none; } }
