/*
Self-hosted Peyda (licensed from fontiran.com). Single variable file
covers the full weight range (fvar axis: wght 100–1000), so only one
@font-face + one network request is needed.

woff2 first (~94KB vs the TTF's ~249KB — over 60% smaller, and every
browser that still matters supports it), woff as a fallback for the
handful of older browsers without woff2, ttf last for anything with
neither. Browsers stop at the first format() they support, so listing
smallest-first costs nothing on modern browsers and only matters for the
ones that need the fallback anyway.

This font also ships more than just weight: dlig (the ی/ر/ن ligatures +
ریال/تومان symbols), swsh (کشیده alternates for ک/گ), ss01 (alternate ی/ئ/ي
forms), ss02 (Latin digits → Persian), ss03 (Arabic-indic digits →
Persian) — confirmed via its GSUB table. None are enabled here: this
theme already converts digits to Persian glyphs at the PHP/JS level
everywhere (new_ubit_persian_digits() etc.), so ss02/ss03 would have
nothing left to do in practice, and dlig/swsh/ss01 are visual choices for
whoever's calling it, not something to flip on globally without being
asked. Turn one on with font-feature-settings, e.g.
`font-feature-settings: 'ss01' 1;` scoped to whatever selector wants it.
*/

@font-face {
	font-family: 'Peyda';
	src: url('../fonts/PeydaWebVF.woff2') format('woff2-variations'),
		url('../fonts/PeydaWebVF.woff2') format('woff2'),
		url('../fonts/PeydaWebVF.woff') format('woff'),
		url('../fonts/PeydaVF.ttf') format('truetype');
	font-weight: 100 950;
	font-style: normal;
	font-display: swap;
}
