/* subset from Vazirmatn (OFL 1.1, rastikerdar/vazirmatn) via pyftsubset — WS2 PoC 2026-06-14 */
/* RTL (Persian). NOT YET ACTIVATED — FONT_CSS_LOCALES in locale-fonts.ts unchanged (activation = owner trigger) */
/* arabic */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/files/vazirmatn/vazirmatn-arabic-400.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
/* latin */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/files/vazirmatn/vazirmatn-latin-400.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;
}
/* arabic */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/files/vazirmatn/vazirmatn-arabic-700.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
/* latin */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/files/vazirmatn/vazirmatn-latin-700.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;
}

/* Bind 'Vazirmatn' to fa content. The global stack (styles/globals.css
 * --font-body/--font-display) does NOT list this script's font, so the @font-face
 * above is downloaded but never applied (tofu / system fallback). Re-declaring the
 * font CSS variables under :lang(fa) binds it. fa.css loads only on /fa
 * pages (localeFontHref), so this scope is isolated. */
:lang(fa) {
  --font-display: "Vazirmatn", "Noto Sans Arabic", "Lexend", system-ui, sans-serif;
  --font-body: "Vazirmatn", "Noto Sans Arabic", "Nunito", system-ui, sans-serif;
}
