/* Same font files as /bfcm-labweek, loaded so the text never moves.
   font-display: swap paints the metric-matched local fallbacks while a font
   loads, so line breaks and heights stay the same after the fonts arrive.
   index.html preloads both files so they are usually ready at first paint. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/bfcm-labweek/vendor/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

/* Bold text falls back to Arial Bold, not to a bold that browsers
   synthesise from Arial, each to a different width. At 101.7% it is as wide
   as Inter Bold, so centred and right-aligned bold text stays put when Inter
   arrives; the overrides keep Inter's ascent and descent. */
@font-face {
  font-family: "Inter Fallback";
  font-weight: 600 800;
  src: local("Arial Bold"), local("Arial-BoldMT");
  ascent-override: 95.25%;
  descent-override: 23.81%;
  line-gap-override: 0%;
  size-adjust: 101.7%;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/bfcm-labweek/vendor/jetbrains-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Courier New");
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
  size-adjust: 100%;
}
