/* Generated by scripts/sync-catalog.mjs — do not edit.
 * The catalogue's own OFL faces, in both scripts, split by unicode-range so one family name
 * renders Latin and Persian with the face each language deserves. */

@font-face {
  font-family: "Catalog Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-latin-wght-normal.woff2") format("woff2-variations");
  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: "Catalog Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "Catalog Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lalezar-latin-400-normal.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: "Catalog Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lalezar-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "Catalog Editorial";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/readex-pro-latin-wght-normal.woff2") format("woff2-variations");
  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: "Catalog Editorial";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/readex-pro-arabic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  /* Persian never resolves to a missing glyph: each stack ends in a face that covers U+06xx. */
  --font-sans: "Catalog Sans", "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Catalog Display", "Archivo Black", "Catalog Sans", system-ui, sans-serif;
  --font-editorial: "Catalog Editorial", "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, "Catalog Sans", monospace;

  /* Editorial Persian is not the display Persian: Nastaliq-free Readex keeps long headlines
   * readable, while Lalezar is reserved for the sections that are supposed to shout. */
  --leading-fa: 1.75;
}

[lang="fa"] {
  --leading-body: var(--leading-fa);
  letter-spacing: 0;
}
