/**
 * Sanad — Font definitions.
 *
 * Self-hosted Amiri Regular (SIL OFL 1.1).
 * Source: https://github.com/aliftype/amiri
 *
 * Self-hosted (not loaded from Google Fonts CDN) for two reasons:
 *   1. Privacy / GDPR — Google Fonts CDN sends the visitor's IP to Google
 *      on every request. Self-hosting eliminates that data leak.
 *   2. Performance — one fewer DNS lookup, one fewer TLS handshake, and
 *      the file is served from the same origin so the browser can cache
 *      it alongside other site assets.
 *
 * font-display: swap means: render Latin text immediately in the fallback
 * serif while Amiri loads in the background. When Amiri arrives, swap the
 * Arabic glyphs to Amiri. Avoids FOIT (flash of invisible text).
 *
 * unicode-range scopes Amiri to Arabic codepoints only. The browser will
 * not download the font file for pages that don't render any Arabic text,
 * even if this stylesheet is enqueued. That's the optimization that makes
 * "load globally on Sanad pages" cheap.
 */

@font-face {
	font-family: 'Amiri';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/amiri-regular.woff2') format('woff2');
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+25CC;
}
