/* Selbst gehostete Schriften für öffentliche Galerien.
 *
 * Ersetzt die frühere Einbindung über fonts.googleapis.com. Auf einer
 * Kundendomain ist ein Fremd-CDN sowohl ein Datenschutz- als auch ein
 * Ladezeit-Thema: Jeder Besucher träte sonst eine Verbindung zu Google auf,
 * ohne je zugestimmt zu haben.
 *
 * Es sind **Variable Fonts** — eine Datei deckt den gesamten Gewichtsbereich
 * ab. Deshalb `font-weight: 100 900` statt einer Datei je Schnitt: Google
 * lieferte für jeden angefragten Schnitt dieselbe Datei aus, was ohne diese
 * Zusammenfassung 519 KB statt 168 KB bedeutet hätte.
 *
 * `font-display: swap` — der Text ist sofort lesbar und wird nachträglich
 * umgestellt. Bei einer Bildergalerie ist ein kurzer Schriftwechsel deutlich
 * erträglicher als unsichtbarer Text.
 *
 * Der Browser lädt nur, was ein Theme tatsächlich verwendet: Eine Galerie mit
 * Playfair + Inter holt zwei Dateien, nicht vier.
 */

@font-face {
	font-family: 'Inter';
	src: url('/static/fonts/inter.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DM Sans';
	src: url('/static/fonts/dm-sans.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Playfair Display';
	src: url('/static/fonts/playfair-display.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Cormorant Garamond';
	src: url('/static/fonts/cormorant-garamond.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
