/* ---------------------------------------------------------------------------
   Headline face — MEDIQA
   ---------------------------------------------------------------------------
   Self-hosted: a licensed font, not on Google Fonts, which is the only host a
   published page can fetch a stylesheet from.

   Converted from the supplied MediqaRegular-2vABe.otf with fontTools.

   size-adjust: MEDIQA has a cap height of 0.645 em where the type scale was
   tuned against 0.808, so at identical CSS sizes it would render ~20% small.
   0.808 / 0.645 = 125%. Recompute this if the face is ever swapped again.

   Width: after that adjustment the hero's first line measures 10.65 em, within
   1% of the previous face (10.53 em) — so --t-marque and the 52rem hero column
   in site.css carry over. The max is trimmed 4.9rem -> 4.8rem because 4.9
   overflowed the column by ~3px and would have broken the headline to three
   lines at the largest sizes.

   SINGLE WEIGHT (400). Display weights in site.css are pinned to 400 and
   hierarchy runs on SIZE; font-synthesis is disabled so a stray heavier weight
   fails visibly rather than rendering a fake bold.

   Full coverage of everything the site sets in the display face, including
   $, em dash, curly apostrophe, degree and middot.
   --------------------------------------------------------------------------- */

@font-face {
  font-family: "MEDIQA";
  src: url("../fonts/mediqa.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 125%;
}

/* --- Self-hosted text faces -------------------------------------------
   Served from this origin rather than fonts.googleapis.com. The Google
   stylesheet was a render-blocking request to a third-party origin, and the
   usual async workaround needs an inline onload handler, which this site's
   own CSP (script-src 'self') forbids. Self-hosting removes the block, the
   extra DNS and TLS handshakes, and the third-party dependency altogether.

   Latin subset only; the site is English. All three families are SIL OFL 1.1,
   which permits redistribution. A @font-face file is fetched only when the
   face is actually used, so declaring a fallback costs nothing until needed.
   ------------------------------------------------------------------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/geist-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/geist-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
