/*
 * Local font stack for PCB Mastery.
 *
 * - Pinar        -> headings (Bold / Black weights)
 * - Yekan Bakh   -> body text (Regular / SemiBold / Bold / Black)
 * - Vazirmatn    -> fallback when the primary face lacks a glyph
 *
 * Files live in static/fonts/ and are served as woff2 (font-display:
 * swap keeps text visible while they load).
 */

/* --- Vazirmatn (self-hosted fallback, variable 100–900) --- */
@font-face {
    font-family: 'Vazirmatn';
    src: url("../fonts/Vazirmatn-Variable.5d5cbf4df9a6.woff2") format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* --- Pinar (headings) --- */
@font-face {
    font-family: 'Pinar';
    src: url("../fonts/Pinar-DS2-Bold.679b50c5ae3b.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pinar';
    src: url("../fonts/Pinar-DS1-FD-Black.58c168693ac6.woff2") format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --- Yekan Bakh (body) --- */
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url("../fonts/YekanBakhFaNum-Regular.2fda39d153bc.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url("../fonts/YekanBakhFaNum-SemiBold.36c3861a8ae3.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url("../fonts/YekanBakhFaNum-Bold.578f1bed1f6b.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url("../fonts/YekanBakhFaNum-Black.08bdbb758bc7.woff2") format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
