/*
 * Self-hosted typefaces. No third-party font request on any page view, which
 * matters because fonts.googleapis.com is unreliable from Iran.
 *
 *   Vazirmatn        SIL OFL 1.1  — Persian/Arabic, variable 100–900
 *   Inter            SIL OFL 1.1  — Latin + Cyrillic body/UI, variable
 *   Playfair Display SIL OFL 1.1  — Latin + Cyrillic display headings, variable
 *
 * Each face is split by unicode-range, so a Persian visitor never downloads
 * the Cyrillic subset and a Russian visitor never downloads Vazirmatn's
 * Arabic tables.
 */

/* ---------- Vazirmatn: Persian + Arabic ---------- */
@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;
  unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+2010-2011,U+204F,U+2E41,U+FBB2-FBC1;
}
/* Latin fallback inside Persian text (numbers, brand names) */
@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;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}

/* ---------- Inter: Latin + Cyrillic body and UI ---------- */
@font-face{
  font-family:"Inter Variable";
  src:url("../fonts/Inter-Latin.woff2") format("woff2-variations");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  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:"Inter Variable";
  src:url("../fonts/Inter-Cyrillic.woff2") format("woff2-variations");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* ---------- Playfair Display: editorial headings (Latin + Cyrillic) ---------- */
@font-face{
  font-family:"Playfair Display Variable";
  src:url("../fonts/PlayfairDisplay-Latin.woff2") format("woff2-variations");
  font-weight:400 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Playfair Display Variable";
  src:url("../fonts/PlayfairDisplay-Cyrillic.woff2") format("woff2-variations");
  font-weight:400 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
