/* Vazirmatn 33.0.3 — only the weights this project ships.
   Add a face here after dropping the matching woff2 into fonts/webfonts/. */
@font-face {
    font-family: Vazirmatn;
    src: url("fonts/webfonts/Vazirmatn-Regular.cdc140628f11.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("fonts/webfonts/Vazirmatn-Medium.dd2193b32cbe.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("fonts/webfonts/Vazirmatn-SemiBold.9260c1927872.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("fonts/webfonts/Vazirmatn-Bold.7958481fe611.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url("fonts/webfonts/Vazirmatn-ExtraBold.a0f99309cd35.woff2") format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* The same files for a left-to-right page (`--font-sans` in landing.css).
   Vazirmatn's line box is cut for Arabic script: an ascent of 102.5% and a
   descent of 53.7%, so the baseline sits 0.24em below the middle of a line
   and Latin capitals rode 2-3px above the middle of every button, tab, badge
   and field. These keep the total, so `line-height: normal` does not move,
   but split it 118.1 / 38.1. The split that centres the capitals on paper
   (71.9%, their height) still left them up to a pixel high in Chrome, which
   puts the baseline on whole pixels; at 80% they land 0-0.5px from the
   middle across the v3 pages. Persian pages keep the original faces. A
   browser that does not know the descriptors draws the line as before. */
@font-face {
    font-family: "Vazirmatn Latin";
    src: url("fonts/webfonts/Vazirmatn-Regular.cdc140628f11.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    ascent-override: 118.1%;
    descent-override: 38.1%;
}

@font-face {
    font-family: "Vazirmatn Latin";
    src: url("fonts/webfonts/Vazirmatn-Medium.dd2193b32cbe.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    ascent-override: 118.1%;
    descent-override: 38.1%;
}

@font-face {
    font-family: "Vazirmatn Latin";
    src: url("fonts/webfonts/Vazirmatn-SemiBold.9260c1927872.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    ascent-override: 118.1%;
    descent-override: 38.1%;
}

@font-face {
    font-family: "Vazirmatn Latin";
    src: url("fonts/webfonts/Vazirmatn-Bold.7958481fe611.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    ascent-override: 118.1%;
    descent-override: 38.1%;
}

@font-face {
    font-family: "Vazirmatn Latin";
    src: url("fonts/webfonts/Vazirmatn-ExtraBold.a0f99309cd35.woff2") format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    ascent-override: 118.1%;
    descent-override: 38.1%;
}
