/**
 * YWA — web font loading (all self-hosted, WOFF2)
 * ---------------------------------------------------------------------------
 * Every web font the theme uses is served from this theme, not from a third
 * party. No external request, no visitor-IP leakage to a font CDN, no runtime
 * dependency on anyone else's service. Decided 2026-07-23.
 *
 * Three families:
 *   Inter                 body + most UI — the workhorse (--type-family-sans)
 *   Hedvig Letters Serif  display / title / heading-1 (--type-family-serif)
 *   Cooper Hewitt         nav + footer chrome (--type-family-brand)
 *
 * Sources & licences:
 *   Inter  and  Hedvig Letters Serif  — SIL Open Font License; the exact WOFF2
 *     subsets Google Fonts serves, copied local (fonts.gstatic.com, v20 / v4).
 *   Cooper Hewitt — Cooper Hewitt (the museum) commissioned face, OFL;
 *     converted from the OTF in references/fonts/.
 *
 * Inter is a VARIABLE font (weight axis 100–900) — one file covers every
 * weight the design uses (400/500/600/700), so there is a single Inter file
 * per subset rather than four.
 *
 * Two subsets each: `latin` (core) and `latin-ext` (extended Latin — accented
 * characters that show up in alumni surnames). unicode-range means a browser
 * only downloads latin-ext if the page actually uses a character from it.
 *
 * font-display: swap — text renders immediately in a fallback and swaps when
 * the web font arrives, rather than sitting invisible.
 */

/* ---- Inter (variable, 100–900) ---------------------------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, 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.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Hedvig Letters Serif (static, 400) ------------------------------- */
@font-face {
	font-family: "Hedvig Letters Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/hedvig-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Hedvig Letters Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/hedvig-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Cooper Hewitt (static, 400 Book + 500 Medium) -------------------- */
@font-face {
	font-family: "Cooper Hewitt";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/cooper-hewitt-book.woff2") format("woff2");
}
@font-face {
	font-family: "Cooper Hewitt";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/cooper-hewitt-medium.woff2") format("woff2");
}
