/* Persian type, self-hosted as WOFF2 (no Google Fonts round trip from Iran).
   Vazirmatn: all running text, menus and UI, one variable file for every weight.
   Estedad Bold: headlines, category names and card titles (via --display).
     Only the Bold cut is shipped and it answers every weight, so the
     old "font-weight: 400" display rules still render bold, never fake-bold.
   IranNastaliq: poems, short quotes and special art pieces only (via --nastaliq).
   A browser downloads a face only when a page actually uses it. */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Estedad Display";
  src: url("../fonts/Estedad-Bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IranNastaliq";
  src: url("../fonts/IranNastaliq.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Nastaliq is tall and leans down to the left: it needs a big line height and
   a larger size than naskh to read as the same weight on the page. */
.nastaliq, .poem {
  font-family: "IranNastaliq", "Vazirmatn", serif;
  font-weight: 400;
  font-size: 1.45em;
  line-height: 2.5;
  letter-spacing: 0;
  word-spacing: 0.05em;
}
.poem { white-space: pre-line; text-align: center; }
