/* ==========================================================================
   Gemial Digital v2 — Self-hosted variable fonts
   --------------------------------------------------------------------------
   Trio A, approved 2026-08-13. See REDESIGN-PLAN.md section 4.

   Archivo         display    SIL Open Font License 1.1
   Instrument Sans body       SIL Open Font License 1.1
   Martian Mono    mono       SIL Open Font License 1.1
   Licence texts are in assets/fonts/.

   @font-face declarations only. Declaring a face applies it to nothing and
   costs zero bytes until something actually renders in it, which is what lets
   this sheet load site-wide alongside the frozen v1 fonts.css without
   changing a single legacy page.

   PAYLOAD — 98.3KB for three faces, against v1's 111KB for three.

     archivo-var.woff2          53.6KB   wght 400-700, wdth 100-125
     instrument-sans-var.woff2  28.8KB   wght 400-700
     martian-mono-var.woff2     15.9KB   wght 400-700, width pinned

   Generated by tools/subset-fonts.mjs from the Google Fonts latin subsets.
   The AXES are clamped; the character set is not touched. Every codepoint in
   the source file survives (231 / 209 / 225), so there is no way for real copy
   to hit a .notdef box. See REDESIGN-PLAN.md section 4.

   DECLARING font-stretch MATTERS. Archivo's width axis is the reason it was
   chosen, and a CSS `font-stretch: 112%` only reaches the wdth axis if the
   range is declared here. Omit the descriptor and every headline silently
   renders at normal width.

   format("woff2") rather than v1's format("woff2-variations"). The latter was
   only ever needed for Safari 10-11, and an unrecognised format string makes a
   browser skip the src entirely — so today it narrows support rather than
   widening it. Plain woff2 loads variable fonts everywhere that matters.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	font-stretch: 100% 125%;
	src: url("../../fonts/archivo-var.woff2") format("woff2");
	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;
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("../../fonts/instrument-sans-var.woff2") format("woff2");
	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;
}

/* No font-stretch descriptor: the wdth axis is pinned at the family's own
   112.5 default, so the face renders as designed and CSS never needs to ask. */
@font-face {
	font-family: "Martian Mono";
	font-style: normal;
	font-display: swap;
	font-weight: 400 700;
	src: url("../../fonts/martian-mono-var.woff2") format("woff2");
	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;
}
