/* ══════════════════════════════════════════════════════════════════════
   DrRoto tool typography (2026-11-25)
   Geist for text, Geist Mono for numbers: the same pairing SPIDER uses.
   Self-hosted from assets/fonts/geist (SIL OFL 1.1, LICENSE-Geist.txt),
   from the official `geist` npm package v1.3.1. No Google Fonts call.

   Enqueued LAST on every dashboard / tool template (functions.php tool
   loop), so it can repoint each tool family's own font tokens. Those tokens
   are defined on :root or on the tool's root class, so this file sets them
   on the same selectors; equal specificity + later load = this wins.
   ══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --dr-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --dr-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* site + every :root-scoped tool token */
  --font: var(--dr-sans);
  --font-mono: var(--dr-mono);
  --nx-sans: var(--dr-sans);   --nx-mono: var(--dr-mono);     /* nfl-theme */
  --nfl-font: var(--dr-sans);                                /* nfl-dashboard */
  --prof-sans: var(--dr-sans); --prof-mono: var(--dr-mono);  --prof-display: var(--dr-sans); /* profiler */
  --ih-sans: var(--dr-sans);   --ih-mono: var(--dr-mono);     /* nhl / nba / cbb */
  --dsh-sans: var(--dr-sans);  --dsh-mono: var(--dr-mono);    /* mlb */
  --bt-font: var(--dr-sans);   --bt-mono: var(--dr-mono);     /* betting */
  --lu-sans: var(--dr-sans);   --lu-mono: var(--dr-mono);     /* lineups */
  --cd-sans: var(--dr-sans);   --cd-mono: var(--dr-mono);     /* cfb */
  --rk-font: var(--dr-sans);                                 /* rankings */
}
/* tokens scoped to a tool's root element */
.nap, .nopt, .mdash-sections { --n-sans: var(--dr-sans); --n-mono: var(--dr-mono); }
.nxs { --x-sans: var(--dr-sans); --x-mono: var(--dr-mono); }
.sph { --s-sans: var(--dr-sans); --s-mono: var(--dr-mono); }
.sdx { --sans: var(--dr-sans); --mono: var(--dr-mono); }

body { font-family: var(--dr-sans); }
/* numbers line up in every tool table */
table { font-variant-numeric: tabular-nums; }
