/**
 * PIXIMIXI — typefaces, served from the theme.
 *
 * The fonts are bundled rather than linked to a CDN, for two reasons that both
 * matter here. The first is legal: a theme that fetches a font from Google on
 * every page view sends every visitor's IP address to a third party, which the
 * WordPress.org guidelines do not permit and which a European site cannot do
 * without consent. The second is practical: Google's font hosts are frequently
 * unreachable from Iran, and Iranian families are this site's primary audience.
 * A page whose Persian face silently fails to load is a page that looks broken
 * to exactly the people it was built for.
 *
 * Three faces, each with a job:
 *
 *   Baloo 2    — display. Rounded, warm, a little bouncy. Carries headings and
 *                the wordmark in Latin. Two weights only, both heavy, because
 *                it is never used for running text.
 *   Nunito     — body, Latin. Humanist, open apertures, reads well small.
 *   Vazirmatn  — Persian, for everything. A modern Persian face with real
 *                weights rather than synthesised bold, which Tahoma forces.
 *                Its Latin subset is included too, so a brand name or a figure
 *                inside a Persian sentence does not fall back mid-line.
 *
 * `unicode-range` is what keeps this cheap: an English page downloads the two
 * Latin subsets and never touches the Arabic ones, and a Persian page does the
 * reverse. `font-display: swap` means text is readable in a fallback face from
 * the first paint rather than invisible while a font arrives.
 *
 * @package PIXIMIXI
 */

/* Latin subset — used by all three families. */

/* stylelint-disable no-descending-specificity */

@font-face {
	font-family: "Baloo 2";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/baloo-2-latin-700-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Baloo 2";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/baloo-2-latin-800-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/nunito-latin-400-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Nunito";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/nunito-latin-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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/nunito-latin-600-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/nunito-latin-700-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/nunito-latin-800-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

/* Vazirmatn: Arabic script first, then its Latin companion. Declaring the
   Arabic range first means a Persian page starts its real download immediately
   rather than after a Latin subset it will barely use. */

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-400-normal.woff2") format("woff2");
	unicode-range: u+0600-06ff, u+0750-077f, u+0870-088e, u+0890-0891, u+0898-08e1,
		u+08e3-08ff, u+200c-200e, u+2010-2011, u+204f, u+2e41, u+fb50-fdff, u+fe70-feff;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-600-normal.woff2") format("woff2");
	unicode-range: u+0600-06ff, u+0750-077f, u+0870-088e, u+0890-0891, u+0898-08e1,
		u+08e3-08ff, u+200c-200e, u+2010-2011, u+204f, u+2e41, u+fb50-fdff, u+fe70-feff;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-700-normal.woff2") format("woff2");
	unicode-range: u+0600-06ff, u+0750-077f, u+0870-088e, u+0890-0891, u+0898-08e1,
		u+08e3-08ff, u+200c-200e, u+2010-2011, u+204f, u+2e41, u+fb50-fdff, u+fe70-feff;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-800-normal.woff2") format("woff2");
	unicode-range: u+0600-06ff, u+0750-077f, u+0870-088e, u+0890-0891, u+0898-08e1,
		u+08e3-08ff, u+200c-200e, u+2010-2011, u+204f, u+2e41, u+fb50-fdff, u+fe70-feff;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/vazirmatn-latin-400-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/vazirmatn-latin-600-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/vazirmatn-latin-700-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

@font-face {
	font-family: "Vazirmatn";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/vazirmatn-latin-800-normal.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+2074, u+20ac, u+2122, u+2191, u+2193, u+2212,
		u+2215, u+feff, u+fffd;
}

/* stylelint-enable no-descending-specificity */
