/* The game's own type (#316): Barlow and Barlow Condensed, by The Barlow Project Authors, SIL Open Font License 1.1 (CREDITS.md; the licence is src/fonts/Barlow-OFL.txt).
   One rule to each face of HUD.type.faces (src/data/hud.js) and no other: tests/type.test.mjs holds the two to each other. Each file is the game's own copy under src/fonts/
   and is fetched from nowhere else; a path here is from this stylesheet. The stacks that lead with these families are HUD.tokens font-display and font-text, which hud.js sets
   on <html>; what follows the family in a stack is what the machine has, for the moment before a file has come and for a file that fails.
   `font-display: swap` (HUD.type.arrival): words are never invisible while a file comes; they stand in the machine's own face first.
   `font-synthesis: style` (HUD.type.synthesis), on <html> where every stack is inherited from: no browser fattens a face that is not there or makes small capitals; a slant it may make (no italic is shipped).
   Not here: the two lines the page types before the styles have come (index.html's loading line, .boot h1 in base.css) are set in the machine's faces, since no file is there yet. */

@font-face {
  font-family: "Barlow";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/Barlow-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/Barlow-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/Barlow-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/BarlowCondensed-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../../fonts/BarlowCondensed-ExtraBold.woff2") format("woff2");
}

html { font-synthesis: style; }
