/*
 * Urbanist and Lato, self-hosted, latin, two weights each.
 *
 * THESE ARE THE ASSOCIATE'S FACES, NOT A DEFAULT. Question 31 is answered
 * (`docs/reponses-associe/reponses-q01-q36.txt`, lines 241 to 245: « conserver
 * (...) les typographies actuelles »). teeshoop.com serves
 * `--wd-entities-title-font: "Urbanist"` at weight 700 and
 * `--wd-header-el-font: "Urbanist"` at 600, so Urbanist is the title and
 * navigation face; `--wd-alternative-font` is Lato and is the text face here.
 * This file used to carry Inter, which nobody had chosen.
 *
 * THE BODY FACE IS THE ONE PLACE THE LIVE SITE SAYS TWO THINGS. It also serves
 * `--wd-text-font: "Work Sans"`. Lato is taken because it is one of the three
 * families the shop already loads and because a third family is bytes on every
 * page; which of the two he means is in QUESTIONS-ASSOCIE.md, and the reasoning
 * is in docs/decisions/2026-09-03-typographies-associe.md.
 *
 * SELF-HOSTED AND NOT FROM A CDN, because a French shop that fetches a font
 * from a Google server sends every visitor's IP address to a third country on
 * page load, which the CNIL has already fined a site for. It is also faster: no
 * second connection to open before the first paint. teeshoop.com currently does
 * exactly that, on every page, from `fonts.googleapis.com`; that is a finding
 * about the live site and it is written up in QUESTIONS-ASSOCIE.md.
 *
 * FOUR WEIGHTS AND NOT EIGHT. Urbanist 600 and 700 are the two the live site
 * actually sets (it loads 400 and 800 as well and paints nothing with them);
 * Lato 400 and 700 are text and its bold. No rule in this theme may ask for a
 * weight that is not here, because the browser would synthesise a fake one by
 * slanting or smearing the outline, and a faked 800 on a product title is
 * visibly worse than a real 700. `scripts/theme-fonts-check.mjs` FAILS when a
 * stylesheet asks for a family and weight this file does not declare.
 *
 * 70 764 octets for the four, measured. The latin subset only: the shop sells
 * in metropolitan France (question 35), and the `unicode-range` below is the
 * one @fontsource ships for its `latin` slice, copied rather than written, so a
 * character outside it falls back to the system stack instead of dragging in a
 * file that does not contain it either.
 *
 * `font-display: swap` so text is readable during the ~100 ms the file takes,
 * with the system stack in `--ts-font` behind it.
 *
 * Copied at install time from @fontsource/urbanist 5.3.0 and @fontsource/lato
 * 5.3.0 in node_modules. `scripts/theme-fonts-check.mjs` compares the copies
 * with the packages byte for byte and fails when they have drifted apart; the
 * licences are beside them in `fonts/LICENCES.md`.
 */

@font-face {
	font-family: 'Urbanist';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/urbanist-latin-600.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: 'Urbanist';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/urbanist-latin-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: 'Lato';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/lato-latin-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: 'Lato';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/lato-latin-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;
}
