/* ====================================================================
   Local font face declarations — replaces fonts.googleapis.com so the
   site works in-country. The actual .woff2 files live in vendor/fonts/
   and are downloaded by vendor/download-deps.ps1.
   ==================================================================== */

/* ── Vazirmatn (Persian primary face) ───────────────────────────── */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Dana is an alternative Persian face used by index.html.
   We currently alias Dana → Vazirmatn glyphs so the page works without
   shipping Dana woff2 files. Drop Dana-*.woff2 into vendor/fonts/ and
   add them back as the first src if you want the real Dana glyphs. */
@font-face {
    font-family: 'Dana';
    src: url('../fonts/Vazirmatn-400.woff2') format('woff2');
    font-weight: 300 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dana';
    src: url('../fonts/Vazirmatn-700.woff2') format('woff2');
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dana';
    src: url('../fonts/Vazirmatn-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.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
