/* =========================================================================
   English-locale font aliasing — load ONLY when app()->getLocale() === 'en'.

   The UI's font stacks name three faces (`yekanbakh`, `dana`, `Poppins`)
   across ~35 stylesheets and views. Rather than rewrite every one of those
   stacks, this sheet re-points those family NAMES at Inter for English.

   Why, rather than leaving them alone:
     • `yekanbakh` / `dana` are Persian faces — their Latin coverage is a
       fallback afterthought, so English set in them looks wrong.
     • `Poppins` is a geometric display face: wide, single-storey `a`, and
       proportional figures that stop financial columns from lining up.
     • Inter is drawn for screen UI and carries real tabular numerals, which
       is what a balance / drawdown table needs.

   ⚠️ Each weight is declared EXPLICITLY rather than as one `font-weight:
   100 900` range. The originals declare discrete weights, and a range does
   not reliably beat an exact descriptor in Chrome's font matching — measured:
   a range alias lost at 4 of 4 sampled weights. Same-weight descriptors make
   the cascade's last-declaration-wins rule decide it, deterministically.
   All 27 rules point at ONE file, so it is a single download.

   The icon font declares `font-family: 'iconsax' !important` and is untouched.
   Persian pages never load this file.
   ========================================================================= */

/* ----------------------------- yekanbakh ------------------------------- */
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 100; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 200; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 300; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 400; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 500; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 600; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 700; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 800; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'yekanbakh'; font-style: normal; font-display: swap; font-weight: 900; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }

/* -------------------------------- dana --------------------------------- */
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 100; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 200; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 300; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 400; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 500; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 600; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 700; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 800; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'dana'; font-style: normal; font-display: swap; font-weight: 900; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }

/* ------------------------------- Poppins ------------------------------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 100; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 200; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 300; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 400; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 500; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 600; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 700; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 800; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-display: swap; font-weight: 900; src: url('./inter-latin-wght-normal.woff2') format('woff2-variations'); }

/* `dana` marks the numeric runs (prices, balances, account numbers). In English
   those become Inter with tabular figures so digits line up column to column. */
html[lang="en"] [dir="ltr"],
html[lang="en"] .tabular-nums {
    font-variant-numeric: tabular-nums lining-nums;
}
