/* MACHINERY/IQ — self-hosted Google Fonts (latin subset).
 *
 * Replaces the runtime fetch of fonts.googleapis.com / fonts.gstatic.com.
 * Subset is latin-only (English copy); unicode-range is set so the browser
 * still skips loading the file if a page only contains characters outside
 * basic-latin + a few punctuation/symbol ranges.
 *
 * Inter Tight and JetBrains Mono are variable fonts — Google ships the same
 * .woff2 for every weight, just with different metadata. We declare a
 * single @font-face per family with a `font-weight: <min> <max>` range so
 * every weight resolves to the one file.
 *
 * Instrument Serif is single-weight (400) with a separate italic file.
 */

/* Latin unicode-range used by all faces below — kept as a CSS custom block
 * for documentation; CSS itself doesn't allow @custom-property here, so
 * the range literal is duplicated inline in each block.
 *   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('instrumentserif-400-normal-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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('instrumentserif-400-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;
}

/* Inter Tight — variable font, weights 100..900 all served from one file. */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('intertight-variable-latin.woff2') format('woff2-variations'),
       url('intertight-variable-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;
}

/* JetBrains Mono — variable font, weights 100..800 all served from one file. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrainsmono-variable-latin.woff2') format('woff2-variations'),
       url('jetbrainsmono-variable-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;
}
