/*
  Self-hosted fonts — gary.design (Kirby)

  In the Astro build these came from @fontsource npm packages. Kirby has no build step,
  so the .woff2 files are vendored into /assets/fonts and declared by hand here.
  Family names deliberately match the Astro originals so tokens.css ports untouched.

  Latin subset only — the Vietnamese/latin-ext subsets were dropped (unused, saves ~40KB).
  font-display: swap keeps text visible during load rather than blocking on the webfont.
*/

/* Display face — headings, wordmark. 700 only in practice; no italic exists. */
@font-face {
  font-family: "Space Grotesk Variable";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

/* Body face — has a TRUE italic axis, so font-synthesis stays off in global.css. */
@font-face {
  font-family: "Atkinson Hyperlegible Next Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Atkinson Hyperlegible Next Variable";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations");
}

/* Zilla Slab — used for exactly one glyph: the BaconWorks "B" in the footer,
   matching garybacon.com. Static 700. */
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zilla-slab-latin-700-normal.woff2") format("woff2");
}
