/* The two faces of the design system, served from here.
 *
 * STD-003.3: fonts are self-hosted, and Google Fonts is legacy with a sunset,
 * not a standing exception. Every page of this platform used to open two
 * connections to Google before it drew anything, which told them the address
 * of every journalist reading a page about protecting sources, and did it
 * before the page decided anything. It is also the last external origin this
 * platform had.
 *
 * Space Grotesk is a variable font with a 300-700 weight axis, so it is ONE
 * face and one file, declared with the range. Declaring it four times at fixed
 * weights pointing at the same file works, but it hides that fact and invites
 * someone to "fix" three of them later.
 *
 * IBM Plex Mono is not variable here: three weights, three files. Anything
 * asking for a weight that is not 400, 500 or 600 gets the nearest, which is
 * what the design system already asks for.
 *
 * Both are Latin subsets, checked to carry Spanish accents, German umlauts and
 * the eszett, and the symbols the chrome uses (· ° ′), because a missing glyph
 * is a bilingual interface breaking in public (STD-011).
 */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk.woff2') format('woff2-variations'),
       url('../fonts/spacegrotesk.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibmplexmono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibmplexmono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ibmplexmono-600.woff2') format('woff2');
}
