/*
 * Self-hosted fonts (SIL Open Font License 1.1 — see OFL.txt in each assets/fonts folder).
 * Latin subset only. Arabic is NOT covered; see docs/DESIGN-SYSTEM.md §2.6.
 */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader/newsreader-var-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader/newsreader-var-italic-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/poppins/poppins-300-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins/poppins-400-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins/poppins-500-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins/poppins-600-latin.woff2") format("woff2");
}

/* Metric-matched fallbacks reduce layout shift while web fonts load. */
@font-face {
	font-family: "Newsreader Fallback";
	src: local("Georgia");
	size-adjust: 96%;
	ascent-override: 92%;
	descent-override: 24%;
}

@font-face {
	font-family: "Poppins Fallback";
	src: local("Arial");
	size-adjust: 112%;
	ascent-override: 93%;
	descent-override: 31%;
}
