/* SPDX-FileCopyrightText: 2026 CV-BO
 * SPDX-License-Identifier: MIT
 *
 * Self-hosted @font-face rules for the two site fonts (SIL OFL 1.1):
 * Libre Baskerville (headings, --font-heading) and Source Sans 3 (body,
 * --font-body). The woff2 files are vendored from the @fontsource npm
 * packages at build time (astro.config.mjs → copyVendorToPublic, the
 * same pattern as MapLibre) into the gitignored public/fonts/, so no
 * third-party font CDN is requested at page load. The OFL license texts
 * are served alongside at /fonts/ofl-libre-baskerville.txt and
 * /fonts/ofl-source-sans-3.txt (OFL clause 2: the license must
 * accompany the font).
 *
 * No unicode-range: the woff2 files are already subsetted to latin /
 * latin-ext, and current Fontsource ships no range metadata. woff2
 * only, no legacy .woff fallback (all current browsers support woff2).
 */

/* Libre Baskerville */
@font-face {
	font-family: 'Libre Baskerville';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/fonts/libre-baskerville-latin-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Libre Baskerville';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/fonts/libre-baskerville-latin-ext-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Libre Baskerville';
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url('/fonts/libre-baskerville-latin-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Libre Baskerville';
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url('/fonts/libre-baskerville-latin-ext-700.woff2') format('woff2');
}

/* Source Sans 3 */
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/fonts/source-sans-3-latin-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url('/fonts/source-sans-3-latin-ext-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url('/fonts/source-sans-3-latin-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url('/fonts/source-sans-3-latin-ext-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url('/fonts/source-sans-3-latin-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url('/fonts/source-sans-3-latin-ext-700.woff2') format('woff2');
}
