/*
 * Self-hosted faces for Titan One + Space Mono (latin woff2).
 *
 * Linked from index.html (not the JS bundle) so @font-face discovery and the
 * matching <link rel="preload"> start before React boots. font-display:
 * optional avoids a late swap (the hard-refresh FOUT/CLS), and the local
 * "Fallback" faces use size-adjust / ascent / descent overrides so the
 * system stand-in occupies the same box if the web font misses the short
 * optional window. Metrics from @capsizecss/metrics.
 *
 * Licenses: public/fonts/OFL-TitanOne.txt, public/fonts/OFL-SpaceMono.txt
 */

@font-face {
  font-family: 'Titan One Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override: 79.49%;
  descent-override: 14.34%;
  line-gap-override: 0%;
  size-adjust: 122.03%;
}

@font-face {
  font-family: 'Space Mono Fallback';
  src: local('Courier New'), local('Courier');
  ascent-override: 109.82%;
  descent-override: 35.40%;
  line-gap-override: 0%;
  size-adjust: 101.98%;
}

@font-face {
  font-family: 'Titan One';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/fonts/titan-one-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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/fonts/space-mono-400-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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/fonts/space-mono-700-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;
}
