/* ==========================================================================
   Self-hosted webfonts.

   These were loaded from fonts.googleapis.com, which cost a stylesheet on a
   third-party origin (render-blocking, plus DNS + TLS to two more hosts)
   before any text could paint. Serving them from our own origin removes
   those round trips entirely and lets the files be preloaded.

   Latin only — the site is English, and the Latin-Extended/Cyrillic/Greek
   subsets Google served were never used.

   Manrope ships as a variable font, so one 24KB file covers 400–700 rather
   than four separate weights.
   ========================================================================== */

@font-face {
	font-family: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/instrument-serif-400-latin.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;
	/* Metric overrides for the Georgia fallback. Without these the swap from
	   fallback to webfont reflows the headings and costs layout shift. */
	size-adjust: 103%;
	ascent-override: 92%;
	descent-override: 24%;
	line-gap-override: 0%;
}

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 700; /* variable: one file, whole range */
	font-display: swap;
	src: url('../fonts/manrope-var-latin.woff2') format('woff2-variations'),
		url('../fonts/manrope-var-latin.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;
	/* Tuned against the Arial/system-ui fallback so body copy keeps its line
	   count across the swap. */
	size-adjust: 100%;
	ascent-override: 104%;
	descent-override: 28%;
	line-gap-override: 0%;
}
