/**
 * Self-hosted webfonts (Latin subset, woff2). Served from the theme for same-origin
 * caching and to avoid third-party font CSS blocking or late swaps from fonts.googleapis.com.
 *
 * `font-display: optional` avoids a visible swap from system fonts after first paint (no
 * late CLS). Critical files are also `<link rel="preload">` from functions.php so they
 * usually paint with webfonts on first navigation. On very slow first loads, text may
 * stay on the system stack for that navigation only.
 *
 * Font file `?ver=` matches the **parent** theme Version header in style.css
 * (stamped by bump-theme-version.mjs). Preload URLs use that same parent Version,
 * never parent.child — child releases must not change font URLs.
 *
 * Families: Inter, Montserrat, IBM Plex Mono (SIL Open Font License 1.1).
 * Files sourced from Fontsource (https://fontsource.org/) @fontsource/* npm packages.
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300;
	font-display: optional;
	src: url("fonts/inter-latin-300-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src: url("fonts/inter-latin-400-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 500;
	font-display: optional;
	src: url("fonts/inter-latin-500-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 600;
	font-display: optional;
	src: url("fonts/inter-latin-600-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src: url("fonts/montserrat-latin-400-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 500;
	font-display: optional;
	src: url("fonts/montserrat-latin-500-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 600;
	font-display: optional;
	src: url("fonts/montserrat-latin-600-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 400;
	font-display: optional;
	src: url("fonts/ibm-plex-mono-latin-400-normal.woff2?ver=1.2") format("woff2");
}

@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: optional;
	src: url("fonts/ibm-plex-mono-latin-500-normal.woff2?ver=1.2") format("woff2");
}
