/*
 * Self-hosted brand faces (DESIGN.md, Typography). The CSP forbids a font CDN. The Latin faces carry
 * no Arabic glyphs, so the Arabic faces are unicode-range-scoped to the Arabic blocks; the family
 * stacks in site.css (--pyr-font-*) name both, and the browser picks per glyph.
 */

/* Variable on weight and width: the display voice is set wide and heavy (font-stretch above 100%). */
@font-face {
  font-family: "Archivo";
  src: url("../lib/fonts/archivo.woff2") format("woff2-variations"), url("../lib/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../lib/fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../lib/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../lib/fonts/tajawal-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  src: url("../lib/fonts/tajawal-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../lib/fonts/noto-sans-arabic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
