/* Pandang web fonts: self-hosted, Latin subset, woff2.
   Ultra (Apache License 2.0) and Lexend (SIL Open Font License 1.1); licence texts beside them: /fonts/Ultra-Apache-2.0.txt, /fonts/Lexend-OFL-1.1.txt
   and in the repository's licenses/fonts/.
   The "fallback" faces are local system fonts resized to the web fonts' metrics (size-adjust, ascent/descent
   overrides measured with fontTools), so text does not move when the web font arrives (no layout shift).
   Use:  font-family: var(--font-display)  /  var(--font-body)  from /tokens.css. */

@font-face {
  font-family: "Ultra";
  src: url("/fonts/ultra-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/fonts/lexend-latin-var.woff2") format("woff2-variations"),
       url("/fonts/lexend-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Ultra metrics on Georgia Bold (measured: size-adjust 118.42 %) */
@font-face {
  font-family: "Ultra Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia");
  font-weight: 400;
  size-adjust: 118.42%;
  ascent-override: 85.19%;
  descent-override: 23.13%;
  line-gap-override: 0%;
}

/* Lexend metrics on Arial (measured: size-adjust 108.37 %) */
@font-face {
  font-family: "Lexend Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto");
  size-adjust: 108.37%;
  ascent-override: 92.27%;
  descent-override: 23.07%;
  line-gap-override: 0%;
}
