/* =============================================================
   Self-hosted font faces — Satoshi + JetBrains Mono.

   These were previously pulled from api.fontshare.com and
   fonts.googleapis.com via @import inside reset.css. That made font
   loading render-blocking behind a third-party origin: nothing painted
   until fontshare answered, and fontshare is intermittently slow to
   connect. Serving the woff2 files from our own origin removes that
   dependency entirely.

   Load this BEFORE reset.css (reset.css sets font-family on body).

   Weights are limited to what the site actually uses. Satoshi has no
   600 — the 36 `font-weight: 600` rules in landing/program/sherlock
   resolve to 700 via CSS font matching, same as they did before.

   To add a weight: grab the woff2 from
   https://api.fontshare.com/v2/css?f[]=satoshi@<weights>
   drop it in ds/fonts/, and add a block here.
   ============================================================= */

/* ── Satoshi (static weights: 300, 400, 500, 700) ──────────── */
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── JetBrains Mono (single variable file, 100–800) ─────────
   Google served byte-identical files for 400/500/700 because this is a
   variable font. One file covers the whole range. Latin subset only —
   the site is English; this matches the unicode-range Google itself
   served for the latin subset. */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-variable.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                 U+FFFD;
}
