/*
 * Self-hosted webfonts — replaces the fonts.googleapis.com / fonts.gstatic.com
 * stylesheets that used to load on every page (2026-08-11).
 *
 * WHY: an IP address is personal data, and a dynamically embedded Google font
 * transmits every visitor's to a US provider on page load. That is the fact
 * pattern of LG München I, 3 O 17493/20 — and it sat directly under a privacy
 * policy promising no third-party tracking, on a site whose pitch to European
 * buyers is exactly that. See docs/DATA-RESIDENCY-FACTS.md §5.2.
 *
 * The files in ../fonts/ are the same woff2 files Google serves, fetched from
 * the CSS2 API on 2026-08-11 (Quicksand v37, Handlee v20, Instrument Serif v5).
 * All three are SIL Open Font License 1.1 — self-hosting is permitted; selling
 * the fonts alone is not, which we obviously do not do.
 *
 * Quicksand is a VARIABLE font: one file covers 300–700, so the four static
 * weights the old link requested are now a single request per subset.
 *
 * unicode-range is kept from Google's own CSS so a browser downloads the
 * latin-ext file only when the page actually contains those characters.
 * Norwegian (æ ø å) and German (ä ö ü ß) both live in latin — the language
 * pages cost no extra download. Vietnamese was dropped: nothing on the site
 * needs it, and it was a third file per page load.
 *
 * TO UPDATE: refetch from the CSS2 API with a modern browser User-Agent (an
 * old UA yields ttf/woff instead of woff2) and replace both the files and the
 * URLs below. Do NOT re-point these at Google.
 */

/* ── Quicksand — body and headings, variable 300–700 ──────────────────────── */
@font-face {
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/quicksand-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: 'Quicksand';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/quicksand-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;
}

/* ── Handlee — the handwritten accent face ────────────────────────────────── */
@font-face {
	font-family: 'Handlee';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/handlee-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;
}

/* ── Instrument Serif — display face for .bnf-band headings only ──────────── */
@font-face {
	font-family: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/instrumentserif-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: 'Instrument Serif';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/instrumentserif-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;
}
