/*
 * Self-hosted variable fonts for the v2 design system (SIL OFL, see fonts/OFL-*.txt).
 * Loaded unconditionally; browsers only download a face once a rendered element
 * actually uses its family, so no binary is fetched until a v2 surface renders.
 */

/* Fraunces — editorial display face */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/fraunces-latin-ext-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter — UI + body face */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
	unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* CLS-minimizing local fallbacks (metric-adjusted). Used by the v2 token stacks. */
@font-face {
	font-family: 'Inter-fallback';
	src: local('Arial');
	size-adjust: 107.12%;
	ascent-override: 90.49%;
	descent-override: 22.56%;
	line-gap-override: 0%;
}
@font-face {
	font-family: 'Fraunces-fallback';
	src: local('Georgia');
	size-adjust: 98.5%;
	ascent-override: 97%;
	descent-override: 25%;
	line-gap-override: 0%;
}
