/* Self-hosted Inter + Space Grotesk (SIL Open Font License).
   Latin variable files from Fontsource 5.2.8 — no Google CSS/CDN.

   Metric-matched fallbacks use local Arial (Liberation Sans on Linux)
   with size-adjust / ascent / descent so the first paint occupies the
   same line box as the real face. That keeps Inter's neo-grotesk
   proportions (and Space Grotesk's headline width) instead of a
   generic system sans at the wrong x-height. font-display: swap so
   text stays visible while the woff2 arrives. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/inter-latin-wght-normal.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: "Inter Fallback";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 104.71%;
  ascent-override: 92.52%;
  descent-override: 23.04%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/space-grotesk-latin-wght-normal.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: "Space Grotesk Fallback";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 102.58%;
  ascent-override: 95.92%;
  descent-override: 28.47%;
  line-gap-override: 0%;
}
