/* fp-font-fallback.css — CLS polish: metric-matched serif fallback
   Headings use Lora (loaded with font-display:optional). During the brief
   load window the browser shows Georgia; if Lora then paints, mismatched
   metrics can cause a small layout shift. This defines a Georgia-based
   fallback whose ascent/descent/width are overridden to match Lora exactly,
   so the swap (when it happens) is dimensionally seamless => ~0 font CLS.
   Metrics measured from the Lora WOFF2 (Google Fonts API).
   Deploy: v67 · June 2026 · purely metric overrides, no visual change. */

@font-face {
  font-family: "Lora Fallback";
  src: local("Georgia");
  ascent-override: 100.6%;
  descent-override: 27.4%;
  line-gap-override: 0%;
  size-adjust: 103.85%;
}

/* Insert the metric-matched fallback into the serif stack, just after Lora.
   Mirrors the base --fp-serif chain so non-heading consumers are unaffected. */
:root {
  --fp-serif: "Lora", "Lora Fallback", ui-serif, Georgia, Cambria,
    "Times New Roman", Times, serif;
}
