/**
 * Self-hosted fonts — Anton and Inter (SIL Open Font License; license text
 * included alongside the files in assets/fonts/). Replaces the Google Fonts
 * CDN request that previously ran from header.php.
 *
 * Subsetted to Latin + common editorial punctuation (curly quotes, en/em
 * dash, ellipsis, trademark) — the full Google Fonts builds include
 * Cyrillic, Greek, Vietnamese, etc. that this site never renders. This cut
 * total font payload from ~524KB to ~137KB with no visual change.
 *
 * unicode-range tells the browser exactly what each file covers, so if a
 * page ever renders a character outside this subset (an accented name in a
 * foreign film title, for instance), the browser falls through to the next
 * font in the --font-body/--font-display stack instead of trying to use
 * this file and rendering a missing-glyph box.
 *
 * font-display: swap so text renders immediately in a fallback font and
 * swaps in once the woff2 loads, rather than blocking on an invisible
 * fallback period.
 */

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-semibold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/inter-extrabold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF;
}

@font-face {
	font-family: 'Anton';
	src: url('../fonts/anton-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF;
}

