/* 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");
}

/* ---- Second Ink faces (Phase 2 redesign). Variable woff2 from
   Fontsource (SIL OFL), latin subset, same self-hosting rationale
   as the faces above. ---- */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800; /* variable weight axis */
  font-display: swap;
  src: url("fonts/BricolageGrotesque.ada540c0e24a.woff2") format("woff2");
}

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

@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 300 700; /* variable weight axis */
  font-display: swap;
  src: url("fonts/SplineSansMono.21113a44ca20.woff2") format("woff2");
}
