/* Self-hosted latin subsets from the Google Fonts CSS the site was loading
   (DM Sans v17, Fraunces v38). font-display: swap. Fallback faces use
   size-adjust so Arial / Liberation Sans and Times / Liberation Serif
   occupy a closer box while the woff2 files load. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.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: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/dm-sans-italic-latin.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: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin.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;
}

/* Metrics from the woff2 OS/2 typo values vs Liberation Sans (Arial-compatible)
   and Liberation Serif (Times-compatible). */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 95.41%;
  ascent-override: 103.97%;
  descent-override: 32.49%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Times New Roman"), local("Liberation Serif");
  size-adjust: 110.33%;
  ascent-override: 88.65%;
  descent-override: 23.11%;
  line-gap-override: 0%;
}

:root {
  --font-sans: "DM Sans", "DM Sans Fallback", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}
