/* THE TYPEFACES, AND ONLY THE TYPEFACES.
 *
 * These two rules used to live at the top of css/studio.css, which was fine
 * while every route linked that file. The landing page does not — studio.css
 * is the DOCUMENT stylesheet, all masthead and grid and panels, and `/` is a
 * canvas with a wordmark on it — so it had no @font-face at all and asked for
 * families that are not in this repository. It rendered in whatever the
 * visitor's system happened to offer, which is a different page on every
 * machine and was never noticed because a fallback stack always renders
 * SOMETHING.
 *
 * Split out rather than duplicated: two copies of an asset path diverge the
 * first time either is touched, and the divergence is invisible.
 *
 * The families themselves are named in css/tokens.css, because a typeface is
 * an identity choice; what is here is where the bytes are, which is not.
 *
 * font-display: swap — the typeface arrives when it arrives and nothing waits
 * for it. Deliberately NOT preloaded: a preload needs `crossorigin` even
 * same-origin, and without it the preload is a second download rather than a
 * warm cache.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-var.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../assets/fonts/jetbrains-mono-latin-var.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;
}
