/**
 * Fonts — self-hosted, latin subset, variable where available.
 *
 * Nothing loads from Google Fonts at runtime: a third-party font request is a
 * render-block on a slow connection and a privacy question under GDPR. The
 * files were downloaded once and are served from this theme.
 *
 * Archivo and Newsreader are variable fonts, so one file covers every weight we
 * use — three static cuts would have been three downloads of identical bytes.
 * The `font-weight: 400 600` range tells the browser this single file answers
 * any weight in that span.
 *
 * Total: 108 KB for the whole type system.
 *
 * Licence: SIL Open Font License 1.1 for all three families. Self-hosting is
 * expressly permitted; the licence travels with the files.
 *
 * font-display: swap paints text immediately in the fallback and swaps when the
 * webfont arrives, so a slow font never delays LCP.
 */

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/Newsreader-Variable.woff2") format("woff2-variations"),
	     url("../fonts/Newsreader-Variable.woff2") format("woff2");
	font-weight: 400 500;
	font-style: normal;
	font-display: swap;
	/* Latin only — the school publishes in English medium. */
	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: "Archivo";
	src: url("../fonts/Archivo-Variable.woff2") format("woff2-variations"),
	     url("../fonts/Archivo-Variable.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
	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: "IBM Plex Mono";
	src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	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;
}
