/* ====================================================================
   Local font face declarations — replaces fonts.googleapis.com so the
   site works in-country. The actual .woff2 files live in vendor/fonts/.

   Estedad is the Persian face. The files here are subset to Latin,
   Arabic/Persian and punctuation and carry their full OpenType layout
   tables, which matters: the readouts depend on `tnum` for column
   alignment, and Persian needs the joining features (init/medi/fina/
   isol/rlig) plus ZWNJ to shape at all.
   ==================================================================== */

/* ── Estedad (Persian primary face) ─────────────────────────────── */
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Estedad';
    src: url('../fonts/Estedad-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── JetBrains Mono (for code / metrics) ────────────────────────── */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-400.subset.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-700.subset.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-800.subset.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
