/*
 * Saiga, Kuutti's typeface (docs/decisions.md, 18 and 28). A page links this
 * file only when the build has Saiga's files (hasSaiga in src/lib/saiga.ts):
 * they are never in the repository, and without them the page stays in
 * Inter. Every face here is a file of SAIGA_FILES, and a test holds the two
 * together.
 */

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

@font-face {
  font-family: Saiga;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/saiga/Saiga-Italic.woff2") format("woff2");
}

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

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

/*
 * What the site draws in Saiga reads this (src/styles/global.css): Saiga
 * first, then the site's own stack, Inter and then the system's.
 */
:root {
  --display: Saiga, var(--font);
}
