/*
 * Self-hosted fonts. No CDN.
 *
 * Yekan Bakh  — Persian, all roles. Sarir Mode's licensed face (Pro+ v3.1),
 *               copied from the Sarir theme on Sarir's instruction,
 *               2026-09-27. LICENSED, NOT OPEN: it may be self-hosted, never
 *               redistributed — this repository stays private.
 *               The LATIN-DIGIT variable file only. The FaNum file renders
 *               every digit as Persian, which would turn the product code
 *               S-10002 into S-۱۰۰۰۲; Persian numerals are produced in PHP by
 *               shayna_num(), for quantities only.
 * Poppins     — English UI and body. Static 300/400/500, Latin. SIL OFL.
 * Cormorant   — English display headings. Variable, wght 300–700. SIL OFL.
 *
 * WARNING, carried from Sarir: Yekan Bakh's DEFAULT instance is wght 100 /
 * wdth 62.5 — Thin Extra Condensed. Both ranges must be declared below and
 * font-stretch pinned to 100% in main.css, or every Persian page silently
 * renders as a condensed hairline. tests/stage1-shell.mjs measures it.
 */

@font-face {
  font-family: "Yekan Bakh";
  src: url("../fonts/YekanBakh-VF.woff2") format("woff2");
  font-weight: 100 950;
  font-stretch: 62.5% 150%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-300-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-VF-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
