/* Self-hosted webfonts (same-origin) — replaces the cross-origin Google Fonts
   request that caused a flash of unstyled TEXT (FOUT) on every navigation:
   the page painted in fallback fonts (Times New Roman / Arial / Consolas)
   then swapped to the real faces once fonts.gstatic.com responded.

   Same move already made for HTMX (vendored locally) — see templates/studio/
   base.html. Files are variable woff2 from Fontsource (SIL OFL), subset latin.
   Family names match the stacks in tokens.css so no font-family change is
   needed; these @font-face rules just satisfy the existing names.

   URLs are relative to this stylesheet's location; WhiteNoise's
   ManifestStaticFilesStorage rewrites them to the fingerprinted paths on
   collectstatic. */

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

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900; /* variable weight axis (opsz handled by font-optical-sizing: auto) */
  font-display: swap;
  src: url("fonts/Fraunces.9a1814381455.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800; /* variable weight axis */
  font-display: swap;
  src: url("fonts/JetBrainsMono.b058178d7f30.woff2") format("woff2");
}
