/* Self-hosted fonts — eliminates external dependency, enables strict CSP.
 *
 * Inter and Manrope are VARIABLE fonts: one file covers every weight, so a
 * single @font-face with a weight range is declared instead of one rule per
 * weight. The old setup pointed six different URLs at the same bytes, which
 * made the browser download the same 47 KB file five times over.
 *
 * font-display: optional is deliberate. `swap` renders a fallback first and
 * swaps the webfont in later, and that swap reflows every heading on the page
 * — the single largest source of Cumulative Layout Shift on this site.
 * With `optional` the browser uses the webfont only if it is already available
 * at first paint (the <link rel="preload"> in each page head makes that the
 * common case) and otherwise keeps the metric-compatible fallback for the
 * whole page view. Either way the layout never jumps.
 */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../assets/fonts/ibmplexmono-normal-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../assets/fonts/ibmplexmono-normal-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("../assets/fonts/inter-variable.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: "Manrope";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("../assets/fonts/manrope-variable.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;
}
