/*
 * Vazirmatn, self-hosted.
 *
 * Never from fonts.googleapis.com — that host is slow or unreachable from
 * inside Iran, so a webfont link there is a render-blocking request to a server
 * that may not answer, for exactly the audience this site is for.
 *
 * Variable weight, so one file covers 400/500/700 rather than three. Split by
 * script: the Arabic subset carries Persian and is what almost every visitor
 * needs, while the Latin subset carries digits and the technical terms that
 * stay in Latin (VOID, QR, Micro Text). unicode-range lets the browser skip
 * whichever it does not need.
 *
 * SIL Open Font License 1.1 — see LICENSE-Vazirmatn.txt in assets/fonts/.
 */

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  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-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  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;
}
