/*
 * Self-hosted fonts (brief §06: no external CDN). All OFL-1.1, license beside each file.
 * Latin faces are declared before Arabic ones: for overlapping ranges (ZWNJ) the last
 * declared face wins, so Persian text never falls back to the Latin file mid-word.
 *
 * Commercial options from the brief (Kalameh, Morabba, Peyda, Ravi, Dana) can be added
 * here later if the jeweler buys a web licence — then switch --font-display / --font-text.
 */

/* Estedad — variable 100–900, body text, menus, numbers */
@font-face {
  font-family: "Estedad";
  src: url("../fonts/estedad/estedad-latin-wght-normal.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+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: "Estedad";
  src: url("../fonts/estedad/estedad-arabic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Parastoo — variable 400–700, headings (the jeweler's choice) */
@font-face {
  font-family: "Parastoo";
  src: url("../fonts/parastoo/parastoo-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  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: "Parastoo";
  src: url("../fonts/parastoo/parastoo-arabic-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Gulzar — Nastaliq, only for the single calligraphic moment (scene 9 title) */
@font-face {
  font-family: "Gulzar";
  src: url("../fonts/gulzar/gulzar-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Metric-matched fallback so text does not jump when Estedad arrives (brief §06).
   Measured: Segoe UI sets Persian text within 0.1% of Estedad's width, hence 100%. */
@font-face {
  font-family: "Estedad Fallback";
  src: local("Segoe UI"), local("SegoeUI"), local("Noto Sans Arabic"), local("Roboto"), local("Arial");
  size-adjust: 100%;
}
