/**
 * Vazirmatn — Persian webfont, SIL OFL 1.1 licensed
 * Project: https://github.com/rastikerdar/vazirmatn
 *
 * Loads the variable font (single file, all weights) with @font-face,
 * plus static-weight fallbacks for browsers without variable font support.
 *
 * font-display: swap → text shows immediately in fallback font, swaps in
 * Vazirmatn when loaded. Critical for RTL Persian first-paint.
 */

/* === Variable font (modern browsers — single file 111KB, all weights) === */
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('Vazirmatn[wght].woff2') format('woff2-variations'),
	     url('Vazirmatn[wght].woff2') format('woff2');
}

/* === Static weight fallbacks === */
@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('Vazirmatn-Light.woff2') format('woff2');
}

@font-face {
	font-family: 'Vazirmatn';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('Vazirmatn-Regular.woff2') format('woff2');
}

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

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

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

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