/* Self-hosted Archivo and IBM Plex Sans. Every face carries the full Latin-1
   range, including all Faroese letters: á ð í ó ú ý æ ø Á Ð Í Ó Ú Ý Æ Ø.
   Local files also work offline on the quay.

   Sources: @fontsource packages (cdn.jsdelivr.net/npm/@fontsource/archivo and
   /@fontsource/ibm-plex-sans), both SIL OFL 1.1.

   Loading strategy:
   - Archivo 900 + IBM Plex Sans 400: preloaded via BaseLayout, in the critical
     path (display heading and body copy).
   - Archivo 800 + IBM Plex Sans 600/700: loaded when used, with font-display
     swap.

   Display type is Archivo 900, headings Archivo 800. Body is IBM Plex Sans 400;
   600 carries labels and 700 carries times, prices and emphasis. No other
   weights are loaded. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("Archivo-800.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("Archivo-900.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("IBMPlexSans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("IBMPlexSans-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("IBMPlexSans-700.woff2") format("woff2");
}

/* Match the first-paint fallbacks to the real faces so narrow header copy does
   not wrap to two lines and then collapse when the webfont arrives. Both faces
   share the bundled Liberation Sans subset; metric overrides keep its line box
   and average width in step with each family. Percentages come from the fonts'
   avg advance width and hhea metrics. */
@font-face {
  font-family: "Archivo Fallback";
  src: url("LiberationSans-Fallback.woff2") format("woff2");
  size-adjust: 111.1%;
  ascent-override: 79.03%;
  descent-override: 18.9%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Plex Fallback";
  src: url("LiberationSans-Fallback.woff2") format("woff2");
  size-adjust: 98.84%;
  ascent-override: 103.7%;
  descent-override: 27.82%;
  line-gap-override: 0%;
}
