/* Variant "main" (born as "theravada"): self-hosted fonts (woff2 from @fontsource 5.3.0, SIL OFL 1.1;
 * licences in fonts/). Cormorant Garamond 500/500i: headings, site title, quotes. Spectral
 * 400/400i/600: text. Alegreya Sans 400/500: menu, dates, captions.
 *
 * One file per face, cut for Polish: fontsource's latin and latin-ext files merged and cut to Basic
 * Latin, Latin-1, the Polish letters (ą ć ę ł ń ś ź ż) and punctuation, with fontTools (README.md,
 * "Fonts"). A Polish page needs both of fontsource's subsets, so this halves the requests. Letters
 * outside the range (a Czech ř, a Vietnamese ạ) come from the fallback font, letter by letter.
 *
 * The two faces every page needs (Spectral 400, Cormorant 500) are preloaded (inc/assets.php).
 * The "Fallback" faces are Georgia and Arial resized to the web fonts' metrics, so the text does not
 * jump when the web font arrives (values from local/tools/fonts/metrics.py). */
@font-face {
	font-family: "Yk Cormorant";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/cormorant-garamond-pl-500-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Cormorant";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/cormorant-garamond-pl-500-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Spectral";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/spectral-pl-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Spectral";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/spectral-pl-400-italic.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Spectral";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(fonts/spectral-pl-600-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Alegreya Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/alegreya-sans-pl-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Yk Alegreya Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(fonts/alegreya-sans-pl-500-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF,U+0104-0107,U+0118-0119,U+0131,U+0141-0144,U+0152-0153,U+015A-015B,U+0179-017C,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD;
}
/* Fallbacks with the web fonts' metrics. */
@font-face {
	font-family: "Yk Spectral Fallback";
	src: local("Georgia");
	size-adjust: 100.85%;
	ascent-override: 105.01%;
	descent-override: 45.91%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Yk Cormorant Fallback";
	src: local("Georgia");
	size-adjust: 89.43%;
	ascent-override: 103.32%;
	descent-override: 32.09%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Yk Alegreya Sans Fallback";
	src: local("Arial");
	size-adjust: 86.72%;
	ascent-override: 92.25%;
	descent-override: 23.06%;
	line-gap-override: 23.06%;
}
/* Tiro Devanagari Hindi (SIL OFL 1.1, fonts/OFL-tiro-devanagari-hindi.txt), cut down to the letters
 * of the greeting नमस्ते (न म स ् त े, with its shaping rules): 7 KB instead of 99 KB, and the
 * same shapes on every device. Other Devanagari text uses the system fonts in --yk-font-scripts.
 * If the front page's title changes, recut it: pyftsubset with the new letters (see README.md). */
@font-face {
	font-family: "Yk Tiro Namaste";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/tiro-devanagari-hindi-namaste-400-normal.woff2) format("woff2");
	unicode-range: U+0924, U+0928, U+092E, U+0938, U+0947, U+094D, U+200C-200D, U+25CC;
}
