/* CP-UI-FONT-CONSOLIDATIE-001 — CENTRALE LETTERTYPE-BRON.
   Dit bestand is de ENIGE plek waar het lettertype van het portaal wordt
   bepaald. Alle templates en losse CSS verwijzen naar de variabelen hieronder
   (--font-body / --font-heading / --font-mono); nergens anders staat nog een
   hardcoded font-family. Een toekomstige fontwijziging gebeurt dus uitsluitend
   hier.

   - body/UI  = Inter (double-story kleine g). De metric-gematchte fallback
     'Inter Fallback' (Arial) is ÓÓK double-story, dus er kan geen g-flip
     optreden op een cold-start; Arial staat expliciet als extra vangnet.
   - koppen   = Playfair Display (met metric-gematchte Georgia-fallback).
   - mono/cijfers = IBM Plex Mono (met metric-gematchte Consolas-fallback).

   Self-hosted webfonts met metric-gematchte fallbacks. 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: 'Inter', 'Inter Fallback', Arial, 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:'Playfair Display';font-style:italic;font-weight:400;font-display:swap;src:url('/static/fonts/playfair-display-400-italic.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');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/static/fonts/ibm-plex-mono-500.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%;}
