/*
 * BCA Self-hosted Roboto — replaces Google Fonts CDN
 *
 * Phase 5a-revised v2: kept the @font-face declarations and the
 * Roboto Fallback metric overrides as a safety net, but removed
 * the global `body *` font-family override since data showed it
 * wasn't actually fixing CLS (the real culprit was image
 * dimensions, not font swap).
 *
 * Mercury still controls font-family per-element. The Roboto
 * Fallback metric overrides only kick in for elements that
 * explicitly include 'Roboto Fallback' in their font-family stack
 * — which currently means none, but the declaration is harmless
 * to keep around in case we want to opt specific elements in later.
 *
 * Source: Google Fonts, licensed under Apache License 2.0
 */

/* Light 300 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('fonts/roboto-v51-latin-300.woff2') format('woff2');
}

/* Regular 400 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/roboto-v51-latin-regular.woff2') format('woff2');
}

/* Bold 700 */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/roboto-v51-latin-700.woff2') format('woff2');
}


/*
 * Roboto Fallback — Arial with metric overrides matching
 * Roboto's exact metrics. Currently unused (no element references
 * it in font-family) but kept for reference / future use.
 */
@font-face {
	font-family: 'Roboto Fallback';
	src: local('Arial');
	ascent-override: 92.7734%;
	descent-override: 24.4141%;
	line-gap-override: 0%;
	size-adjust: 100.06%;
}