/* EC-STARTSCHERM-001 — lettertypebron van EC.
 *
 * Overgenomen uit CPC: C:\Projects\client-portal\app\static\css\fonts.css
 * (alleen gelezen; CPC is niet gewijzigd). Aangepast ten opzichte van het
 * origineel: de twee @font-face-regels die EC niet gebruikt (Playfair cursief,
 * IBM Plex Mono 500) zijn weggelaten en Questrial is toegevoegd uit dezelfde
 * CPC-fontmap. De woff2-bestanden staan byte-identiek onder /static/fonts/
 * — zie docs/LAYOUT.md.
 *
 * EC-UI-001: de lopende tekst van EC is Questrial, de koppen blijven Playfair
 * Display. Questrial heeft in CPC geen metric-gematchte fallback-regel; die
 * wordt hier niet verzonnen (CLAUDE.md regel 2) — de fallback is een gewone
 * lijst.
 *
 * Dit is de ENIGE plek waar het lettertype van EC wordt bepaald; de layout
 * verwijst alleen naar --font-body / --font-heading / --font-mono.
 *
 * Self-hosted, geen CDN en geen verwijzing naar de CPC-host. Elke
 * '<Family> Fallback' draagt de ascent/descent/line-gap van de webfont, zodat
 * een glyph in de fallback dezelfde baseline houdt als de geladen webface.
 */

:root {
    --font-body: 'Questrial', Arial, Helvetica, sans-serif;
    --font-heading: 'Playfair Display', 'Playfair Display Fallback', Georgia, serif;
    --font-mono: 'IBM Plex Mono', 'IBM Plex Mono Fallback', ui-monospace, Consolas, 'Courier New', monospace;
}

/* ---- actieve webfonts ---- */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:400 900;font-display:swap;src:url('/static/fonts/playfair-display-var.woff2') format('woff2');}
@font-face{font-family:'Questrial';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/questrial-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/static/fonts/inter-var.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/ibm-plex-mono-400.woff2') format('woff2');}

/* ---- metric-gematchte fallbacks ---- */
@font-face{font-family:'Playfair Display Fallback';src:local('Georgia'), local('Times New Roman');ascent-override:108.2%;descent-override:25.1%;line-gap-override:0.0%;}
@font-face{font-family:'Inter Fallback';src:local('Arial');ascent-override:96.875%;descent-override:24.121%;line-gap-override:0.0%;}
@font-face{font-family:'IBM Plex Mono Fallback';src:local('Consolas'), local('Courier New');ascent-override:102.5%;descent-override:27.5%;line-gap-override:0.0%;}
