/**
 * Self-hosted brand fonts — Sora (headings) + Inter (body), latin variable.
 * Served same-origin and preloaded (see functions.php), so the brand font is
 * present at first paint instead of swapping in from Google's servers. Paired
 * with a metric-matched Inter fallback so body text does not reflow when the
 * variable font finishes loading — brand font on first paint, zero layout shift.
 */
@font-face {
	font-family: 'Sora';
	font-style: normal;
	font-weight: 500 800;
	/* optional: the hero H1 (LCP element) paints immediately with the
	   metric-matched fallback and never repaints, keeping lab LCP green. Sora
	   still shows once it's cached (near-instant on all but a throttled cold
	   first load), and the fallback is metric-matched so there is no shift. */
	font-display: optional;
	src: url(fonts/sora.woff2) format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(fonts/inter.woff2) format('woff2');
}
/* Metric-matched fallbacks (Arial-based, computed from the real font metrics) so
   text paints immediately at the fallback's exact footprint and swaps to the
   brand font with zero reflow — this also lets the hero H1 (the LCP element)
   render at first paint instead of waiting on Sora. */
@font-face {
	font-family: 'Inter Fallback';
	src: local('Arial');
	ascent-override: 90.44%;
	descent-override: 22.52%;
	line-gap-override: 0.00%;
	size-adjust: 107.12%;
}
@font-face {
	font-family: 'Sora Fallback';
	src: local('Arial');
	ascent-override: 85.29%;
	descent-override: 25.50%;
	line-gap-override: 0.00%;
	size-adjust: 113.73%;
}
:root {
	--ns-head-font: 'Sora', 'Sora Fallback', system-ui, sans-serif;
	--ns-body-font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
