/*
 * Farhang2 — licensed webfont, local files only, WOFF2 only. Ported
 * verbatim (same 9 weights, same weight mapping, same no-WOFF-fallback
 * rationale, same rejection of the supplied variable font) from the
 * approved prototype: design-exploration/site-foundation/concept-1-broken-grid/fonts/farhang2.css
 *
 * Source: official Farhang2 static webfont kit (fontiran.com). See
 * assets/fonts/farhang2/LICENSE.txt — the unfilled license *template*
 * only, copied verbatim from the supplied kit, exactly as the license
 * itself instructs. The 6-digit purchase/license code is deliberately
 * never written into that file nor committed here.
 *
 * All 9 supplied static weights, each pinned to its exact numeric weight
 * (confirmed via OS/2.usWeightClass, not guessed): Thin 100, ExtraLight
 * 200, Light 300, Regular 400, Medium 500, DemiBold 600, Bold 700,
 * ExtraBold 800, Black 900. Every file's cmap covers Persian digits,
 * Arabic script, and basic Latin, so one file per weight serves Persian,
 * Arabic, and Latin text alike — no separate Latin fallback face.
 */

@font-face {
	font-family: 'Farhang2';
	src: url( '../fonts/farhang2/woff2/Farhang2-Thin.woff2' ) format( 'woff2' );
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Farhang2';
	src: url( '../fonts/farhang2/woff2/Farhang2-ExtraLight.woff2' ) format( 'woff2' );
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Farhang2';
	src: url( '../fonts/farhang2/woff2/Farhang2-Light.woff2' ) format( 'woff2' );
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* Regular — the body/base weight, and the only file preloaded (see the
   <link rel="preload"> fehrest_setup() adds to wp_head). */
@font-face {
	font-family: 'Farhang2';
	src: url( '../fonts/farhang2/woff2/Farhang2-Regular.woff2' ) format( 'woff2' );
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

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

@font-face {
	font-family: 'Farhang2';
	src: url( '../fonts/farhang2/woff2/Farhang2-DemiBold.woff2' ) format( 'woff2' );
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

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

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

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

/*
 * Applied site-wide (the approved prototype scoped this to `.c1` only
 * because it had to share a page with two unselected concepts; production
 * has no such constraint — Broken Editorial Grid is the whole theme now).
 * Farhang2 first for both scripts, since every weight file covers Persian,
 * Arabic, and Latin; system-ui/sans-serif is the fallback chain only.
 *
 * font-synthesis: none disables synthetic bold/italic — with all 9 real
 * weights registered and no italic supplied, the browser must never fake
 * either rather than silently standing in for the real, absent thing.
 */
body {
	font-family: 'Farhang2', Tahoma, 'Geeza Pro', 'Noto Naskh Arabic',
		system-ui, sans-serif;
	font-synthesis: none;
}
