/*
 * LAS DOS FAMILIAS, SERVIDAS DESDE CASA
 * =====================================
 *
 * Antes venían de Google Fonts. Eso costaba una cascada de tres saltos antes
 * de que una sola letra apareciera en su tipografía real:
 *
 *   1. el HTML descubre <link> a fonts.googleapis.com → DNS + TLS a un origen ajeno
 *   2. llega el CSS, y sólo AHÍ aparecen las URL de los woff2 → DNS + TLS a
 *      fonts.gstatic.com, un SEGUNDO origen ajeno
 *   3. por fin se pide el woff2
 *
 * Los dos `preconnect` del <head> existían justamente para tapar los dos
 * primeros saltos. Tapar un problema no es lo mismo que no tenerlo.
 *
 * Servidos desde Workers Assets los woff2 viajan por la MISMA conexión que ya
 * está abierta para el HTML, y su URL se conoce en tiempo de compilación — con
 * lo cual se pueden `preload`ear en el <head>, que es lo que colapsa la cascada
 * a un solo salto. Con Google eso no se podía: la URL del woff2 no existe hasta
 * que su CSS ha llegado.
 *
 * De paso: ninguna IP de un visitante de Cacahoatán viaja ya a Google por el
 * mero hecho de leer una reseña.
 *
 * Los ficheros son los de Fontsource, que reempaqueta los mismos woff2 que
 * sirve Google. Cormorant Garamond y Jost están las dos bajo SIL Open Font
 * License 1.1. No se ha reoptimizado ni resubconjuntado nada: mismos bytes.
 *
 * ┌──────────────────────────────────────────────────────────────────────────┐
 * │ ESTO NO SUSTITUYE A LAS MÉTRICAS DE RESPALDO DE tokens.css.              │
 * │ Los `size-adjust` de 97 % y 92 % siguen haciendo falta: cubren la        │
 * │ ventana entre el primer pintado y la llegada del woff2. Medidos, no      │
 * │ estimados. No los deshagas.                                              │
 * └──────────────────────────────────────────────────────────────────────────┘
 *
 * Los `unicode-range` son los mismos que publica Google. El castellano
 * —áéíóúñü¿¡— cae entero dentro de `latin` (U+0000-00FF), así que una portada
 * en es-MX descarga sólo los dos ficheros `latin` y jamás pide los `latin-ext`.
 * Ésos quedan ahí para cuando entren mam e inglés.
 */

/* ── Cormorant Garamond · titulares ─────────────────────────────────────── */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fuentes/cormorant-400-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: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fuentes/cormorant-400-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: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fuentes/cormorant-600-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: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/assets/fuentes/cormorant-600-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;
}

/* ── Jost · texto corrido, marginales y navegación ──────────────────────── */

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/fuentes/jost-300-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: "Jost";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("/assets/fuentes/jost-300-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: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fuentes/jost-400-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: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/assets/fuentes/jost-400-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: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fuentes/jost-500-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: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/assets/fuentes/jost-500-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;
}

/* 137 · Cormorant Light para la parte recta de los titulares de dos registros (OFL, @fontsource/cormorant). */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fuentes/cormorant-300-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
