/*
 * Vazirmatn — self-hosted font face declarations
 * Files live in: assets/fonts/vazirmatn/
 *   - Vazirmatn-Regular.woff2
 *   - Vazirmatn-Medium.woff2
 *   - Vazirmatn-SemiBold.woff2  (also accepts Vazirmatn-Semibold.woff2)
 *   - Vazirmatn-Bold.woff2
 *   - Vazirmatn-ExtraBold.woff2 (falls back to Bold if missing)
 *
 * Linux servers are case-sensitive, so each weight that historically had
 * mixed casing lists BOTH variants in the `src:` stack. The browser tries
 * them in order and stops on the first 200; the second URL is only
 * fetched if the first 404s.
 *
 * Using font-display: swap so text paints immediately in the fallback
 * stack (system Arabic UI font), then swaps once Vazirmatn is ready.
 */

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/vazirmatn/Vazirmatn-SemiBold.woff2") format("woff2"),
         url("../fonts/vazirmatn/Vazirmatn-Semibold.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/vazirmatn/Vazirmatn-ExtraBold.woff2") format("woff2"),
         url("../fonts/vazirmatn/Vazirmatn-Extrabold.woff2") format("woff2"),
         url("../fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
}
