/* Self-hosted webfonts (Phase 10 — resolves open decision Q2).
 *
 * Deliberately NOT loaded from the Google Fonts CDN: docs/architecture.md
 * §8 requires self-hosting to avoid the third-party round-trip and the
 * GDPR exposure of leaking visitor IPs to Google.
 *
 * Latin: Plus Jakarta Sans (design system spec, SIL OFL) — variable
 * weight 400–800, so one file covers every weight we use.
 * Arabic: Tajawal (client-approved, SIL OFL) — Plus Jakarta Sans has no
 * Arabic glyphs, so Arabic needs its own family. Static weights.
 *
 * font-display: swap keeps text visible during load rather than
 * blanking it (FOIT).
 *
 * This file sits OUTSIDE @layer: @font-face is not a styling rule and
 * gains nothing from layering, and keeping it unlayered avoids any
 * ambiguity about descriptor resolution.
 */

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
		U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
		U+A720-A7FF;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../../fonts/tajawal-400-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
		U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
		U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../../fonts/tajawal-500-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
		U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
		U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "Tajawal";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../../fonts/tajawal-700-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
		U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
		U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* Ranade (English / LTR interface).
 *
 * Self-hosted static WOFF2 (Indian Type Foundry, obtained via
 * font.download as WOFF and converted to WOFF2 -- confirm the licence
 * covers web embedding before deploying). The supplied family has no
 * variable font, so one file per weight the theme actually uses: 300,
 * 400, 500, 700, plus 400 italic (consultancy-ops and pre-opening).
 *
 * WEIGHT 600 -> MEDIUM. The theme uses weight 600 in many places and
 * Ranade has no 600 cut. Bold (700) looked too heavy, so the Medium
 * face is declared as `font-weight: 500 600`: a range descriptor makes
 * one file answer both weights, and 600 renders as Medium exactly, not
 * by nearest-weight guesswork. Thin and the other italics were supplied
 * but are unused, so they are not shipped. Latin only; Arabic pages
 * never request these files because they resolve to Tajawal (see
 * base/typography.css).
 */
@font-face {
	font-family: "Ranade";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../../fonts/ranade-300.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Ranade";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../../fonts/ranade-400.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Ranade";
	font-style: normal;
	font-weight: 500 600;
	font-display: swap;
	src: url("../../fonts/ranade-500.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Ranade";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../../fonts/ranade-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Ranade";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../../fonts/ranade-400-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
		U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
