/* ============================================================
   SELF-HOSTED FONTS — Clearing Master
   Space Grotesk (display) · Inter (body) · IBM Plex Mono (labels)

   Why self-hosted: the site previously pulled fonts from
   fonts.googleapis.com at runtime. Windows boxen with a
   captive/offline-blocked Google connection (or a corporate
   proxy that strips remote CSS) silently fell back to Segoe UI,
   which rendered the "Clearing Master" lockup in the wrong
   typeface. Hosting the woff2 files in /resources/fonts makes
   the render deterministic on every OS — Linux, Android, iOS,
   Windows, macOS — because the exact same binary travels with
   the site.

   Files are latin-subset variable fonts (or static instances
   for Plex Mono) in woff2, served from this origin.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700; /* variable font: one file covers all weights */
  font-display: swap;
  src: url("../resources/fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900; /* variable font */
  font-display: swap;
  src: url("../resources/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900; /* variable font */
  font-display: swap;
  src: url("../resources/fonts/inter-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../resources/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../resources/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../resources/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}
