/* Field Book: what the staff site, the parent site, the FAQ and the sign-in screen have in common.
   The fonts, the tokens, the type and the band, and nothing a page owns. It holds no data, so it may
   live in static/, which is public. A new colour goes here (docs/staff_site.md § The look).
   House style from banquet/ (banquet/README.md § House style: copying a green is a judgement call).
   --band is the track logo's own field colour, so the wordmark dissolves into it: never move it. */
@font-face{font-family:'Source Sans 3';src:url(../fonts/source-sans-3-latin.woff2) format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url(../fonts/source-sans-3-latin-italic.woff2) format('woff2');font-style:italic;font-weight:300 700;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url(../fonts/source-serif-4-latin.woff2) format('woff2');font-weight:400 700;font-display:swap}
/* The wordmark's own letters only, so it costs almost nothing on two bars of signal. A new word
   in it means re-subsetting (docs/parent_site.md § The look). */
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/cormorant-garamond-wordmark.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url(../fonts/cormorant-garamond-wordmark-italic.woff2) format('woff2');font-style:italic;font-weight:400;font-display:swap}
:root{
  --band:#325513;--forest:#22380c;--ink:#1d2a12;--ink-soft:#57604a;--ink-faint:#6a715a;
  --gold:#a8842a;--gold-text:#7f6418;--gold-pale:#e7cf85;--gold-soft:#f7f1df;--rule:#cdb97c;--rule-soft:#e0d6b0;
  --paper:#fbfaf5;--card:#fff;--sheet:#f4f1e6;--sheet-hover:#e9e4d2;--line:#d9d4c2;--control:#a9a38d;--sage-soft:#eef1e6;
  --warn:#8a1c1c;--warn-soft:#fbeaea;--blue:#1c3d6e;--blue-soft:#d6e4f7;--amber:#7a4a20;--amber-soft:#f8dcc0;--rust:#c05621;
  --link:#325513;--accent-text:#22380c;--on-band:#fff;--on-forest:#fff;--on-ink:#fff;
  --shadow-hint:#0003;--shadow-sheet:rgba(0,0,0,.45);
  --to-night-display:inline-flex;--to-day-display:none;
  /* The same in both looks: what sits on a colour that does not change at night. */
  --fixed-ink:#1d2a12;--fixed-white:#fff;--fixed-black:#000;--on-band-line:rgba(255,255,255,.6);
  --font-body:'Source Sans 3',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --font-head:'Source Serif 4',Georgia,"Times New Roman",serif;
  --font-wordmark:'Cormorant Garamond',Georgia,"Times New Roman",serif;
  --band-height:72px;
  --wordmark-size:clamp(1.45rem,7.8vw,1.85rem);
  color-scheme:light;
}
/* Night: Forest, the team green after dark (Matt, 2026-11-11). The same names redefined twice, identically:
   for a staff phone in dark mode before anyone has chosen (staff pages carry data-look-auto), and for the
   switch's choice (data-theme, from the st_rita_look cookie). No other selector names a look, and no colour
   literal appears outside these blocks (tests/test_look_contract.py). Screen only, so a printout is Day.
   A --fixed- token is the same in both looks and is never redefined here. */
@media screen and (prefers-color-scheme:dark){:root[data-look-auto]:not([data-theme]){
  --forest:#3d6a1e;--ink:#ece9d8;--ink-soft:#c3c6ae;--ink-faint:#a6ab92;
  --gold:#d8b04a;--gold-text:#d8b04a;--gold-pale:#6b5a26;--gold-soft:#2a2410;--rule:#5e5126;--rule-soft:#453d1d;
  --paper:#111a0c;--card:#18240f;--sheet:#0b1207;--sheet-hover:#22331a;--line:#31452a;--control:#6d8160;--sage-soft:#1c2a14;
  --warn:#ffb4a8;--warn-soft:#4a1a14;--blue:#9cc3ff;--blue-soft:#1a2d48;--amber:#ffb877;--amber-soft:#3d2a14;
  --link:#a9d07c;--accent-text:#b9dc8f;--on-ink:#111a0c;
  --shadow-hint:#0008;--shadow-sheet:rgba(0,0,0,.7);
  --to-night-display:none;--to-day-display:inline-flex;
  color-scheme:dark;
}}
@media screen{:root[data-theme="night"]{
  --forest:#3d6a1e;--ink:#ece9d8;--ink-soft:#c3c6ae;--ink-faint:#a6ab92;
  --gold:#d8b04a;--gold-text:#d8b04a;--gold-pale:#6b5a26;--gold-soft:#2a2410;--rule:#5e5126;--rule-soft:#453d1d;
  --paper:#111a0c;--card:#18240f;--sheet:#0b1207;--sheet-hover:#22331a;--line:#31452a;--control:#6d8160;--sage-soft:#1c2a14;
  --warn:#ffb4a8;--warn-soft:#4a1a14;--blue:#9cc3ff;--blue-soft:#1a2d48;--amber:#ffb877;--amber-soft:#3d2a14;
  --link:#a9d07c;--accent-text:#b9dc8f;--on-ink:#111a0c;
  --shadow-hint:#0008;--shadow-sheet:rgba(0,0,0,.7);
  --to-night-display:none;--to-day-display:inline-flex;
  color-scheme:dark;
}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:16.5px/1.45 var(--font-body);font-variant-numeric:lining-nums tabular-nums}
a{color:var(--link);text-underline-offset:2px}
h1,h2,h3,h4{font-family:var(--font-head);text-wrap:balance}
h1{font-weight:700;font-size:clamp(2.3rem,1.9rem + 2vw,3.5rem);line-height:1.05;letter-spacing:-.018em;margin:4px 0 16px}
main>h1::after{content:"";display:block;height:1px;background:var(--rule);margin-top:16px}
h2{font-weight:700;font-size:1.5rem;line-height:1.15;letter-spacing:-.008em;margin:28px 0 10px}
h3{font-weight:600;font-size:1.15rem;line-height:1.25;margin:18px 0 6px}
h4{font-weight:600;font-size:1.02rem;margin:12px 0 4px}
small{font-size:.86em}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* The band: the wordmark on the green, a gold rule beneath. Both lines start where the page's own
   text starts, at every width. Real text, sized so the name just fills a phone's gutters. Clipped
   so the wider fallback serif, in the moment before the font arrives, cannot push the page sideways. */
.site-band{position:relative;z-index:20;display:flex;align-items:center;min-height:var(--band-height);background:var(--band);border-bottom:3px solid var(--gold)}
.home{display:block;width:max-content;max-width:100%;overflow:hidden;color:var(--on-band);text-decoration:none;font-variant-numeric:normal}
.home:focus-visible{outline-offset:-3px}
.home-name{display:block;font:600 var(--wordmark-size)/1.1 var(--font-wordmark);text-transform:uppercase;white-space:nowrap}
.home-motto{display:block;font:italic 400 calc(var(--wordmark-size)*.7)/1.15 var(--font-wordmark);white-space:nowrap}

/* The Day/Night switch, at the band's right on every page that has one. The palette shows exactly one
   of its two buttons. Where it sits, the wordmark gives up just enough room on a phone. */
.site-band .wrap{position:relative}
.look-switch{position:absolute;top:50%;transform:translateY(-50%);right:16px;margin:0}
.look-switch button{display:var(--to-night-display);align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--on-band-line);border-radius:50%;background:transparent;color:var(--on-band);cursor:pointer}
.look-switch .to-day{display:var(--to-day-display)}
.look-switch button:hover{background:var(--forest)}
.look-switch button.look-failed{border:2px solid var(--gold)}
.look-switch svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.site-band:has(.look-switch) .home{max-width:calc(100% - 52px)}
@media (max-width:600px){.site-band:has(.look-switch){--wordmark-size:clamp(1.2rem,6.3vw,1.85rem)}}
