/**
 * S+W Fonts — selbst gehostete Meta Pro (FF Meta Pro), lizenziert.
 * Quelle: `s+w_website Rohdaten/meta-pro/*.TTF`, als WOFF2 konvertiert.
 * Genutzte Schnitte lt. PDF-Fontanalyse: Light, Book, Medium, Bold, Black.
 *
 * Die WOFF2 sind auf latin + latin-ext gesubsettet (703 → 393 Zeichen je
 * Schnitt, 341 KB → 99 KB gesamt). Weggefallen sind u. a. 136 kyrillische
 * Glyphen und ein Mathematik-Block — auf einer deutschen Seite nie im
 * Zugriff. Die ungesubsetteten Originale liegen in `fonts/original/`.
 * Neu subsetten: siehe scheuUndWeber.md §2.
 *
 * Book (400) und Bold (700) werden zusätzlich per <link rel="preload">
 * vorgeladen (functions.php) — ohne das entdeckt der Browser sie erst,
 * nachdem er diese Datei geparst hat.
 */

@font-face {
	font-family: 'Meta Pro';
	src: url('../fonts/sw-meta-pro-light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Meta Pro';
	src: url('../fonts/sw-meta-pro-book.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Meta Pro';
	src: url('../fonts/sw-meta-pro-medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Meta Pro';
	src: url('../fonts/sw-meta-pro-bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Meta Pro';
	src: url('../fonts/sw-meta-pro-black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/**
 * Metrisch angeglichener Ersatz für die Zeit vor dem Font-Swap.
 *
 * Mit `font-display: swap` rendert der erste Frame in der Systemschrift und
 * springt anschließend auf Meta Pro um. Ohne Angleichung ist das ein sichtbarer
 * Ruck: Helvetica/Arial sind bei gleicher Punktgröße rund 10 % breiter
 * (mittlere Vorschubbreite 0,5777 em gegen 0,5250 em) und haben andere
 * vertikale Metriken — jede Zeile bricht anders um, jeder Block wird anders
 * hoch.
 *
 * Die Werte sind aus den Schriftdateien gerechnet, nicht geschätzt:
 *   size-adjust      0,5250 / 0,5777          = 90,9 %
 *   ascent-override  (994/1000) / 0,909       = 109,4 %
 *   descent-override (290/1000) / 0,909       = 31,9 %
 * Ergebnis: Der Ersatz belegt praktisch denselben Raum, der Wechsel auf
 * Meta Pro verschiebt kein Layout mehr.
 */
@font-face {
	font-family: 'Meta Pro Fallback';
	src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
	font-weight: 300 900;
	font-style: normal;
	size-adjust: 90.9%;
	ascent-override: 109.4%;
	descent-override: 31.9%;
	line-gap-override: 0%;
}
