/*
 * FUENTES DE ÉPOCA — self-hosted, subset latin
 * ================================================
 * Las 11 familias que usa design-system/ (ver DESIGN-SYSTEM.md §2.3 y
 * §5.2 «La matriz de carácter»), servidas desde /public/fonts/epoca/ en vez
 * de Google Fonts en caliente. Motivo: la política de cookies de la
 * plataforma no declara la petición a fonts.googleapis.com/fonts.gstatic.com
 * (deuda anotada en DESIGN-SYSTEM.md §2.3 y §7.3.1) — mismo precedente que
 * FUEGO (raw/Becama Consulting/Formaciones/Curso-Claude-Code/Ejemplos/fuego/).
 *
 * QUIÉN LA ENLAZA: por ahora SOLO las vistas espejo del rediseño por épocas
 * (las que cargan design-system/componentes/*.css). Las vistas actuales de
 * la plataforma (`views/`, `public/becama.css`, `partials/header.ejs`) NO SE
 * TOCAN — siguen tirando de Google Fonts a propósito hasta que llegue su
 * poda (ver `09-plan-migracion.md`). No enlaces este fichero desde una vista
 * viva sin haber migrado esa vista al sistema c-*.
 *
 * QUÉ PESOS TRAE Y POR QUÉ: no es el catálogo aspiracional del <link> de
 * Google que cita DESIGN-SYSTEM.md §2.3 (ese incluye 900 en Cinzel/Cinzel
 * Decorative/Bodoni Moda, 300 en Spectral/Oswald, e itálicas que hoy nadie
 * pinta). Los cortes de aquí salen de auditar font-family + font-weight +
 * font-style de verdad en `componentes/base.css`, `componentes/epoca-*.css`
 * y `componentes/extra/c-*.css` — línea a línea, resolviendo también los
 * var(--e-peso-display) / var(--e-peso-fuerte) contra la matriz de carácter
 * de cada época. Si añades un componente que use un peso/estilo que no está
 * aquí, falta traerlo (y auditar de nuevo, no adivinar).
 *
 * Variables (Archivo, Cinzel, EB Garamond, Inter Tight, JetBrains Mono,
 * Libre Franklin, Oswald): un solo fichero .woff2 con eje `wght`, declarado
 * con font-weight EN RANGO — el navegador interpola cualquier peso intermedio
 * sin coste extra de descarga. Bodoni Moda es variable en el eje ÓPTICO
 * (`opsz` 6→96): se sirve el corte completo de ese eje, no un tamaño fijo,
 * porque `extra/c-precio.css` pone `font-optical-sizing: auto` a propósito
 * (si aquí hubiera un corte estático, esa declaración no haría nada).
 * Anton, Cinzel Decorative y Spectral se sirven de Google como cortes
 * estáticos por peso — así que aquí también, un @font-face por corte.
 *
 * Subset: LATIN (el rango que Google llama «latin», U+0000-00FF + puntuación
 * y símbolos habituales) — cubre español completo (ñ, á-ü, ¿¡, €) sin bajar
 * cirílico/griego/vietnamita que nadie necesita en esta plataforma.
 *
 * Licencia: las 11 familias son SIL Open Font License 1.1 — ver
 * public/fonts/epoca/LICENCIAS.txt.
 */

/* ===== ÉPOCA 1 · CUEVA — Anton (display) + Archivo (cuerpo) + JetBrains Mono ===== */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/epoca/anton-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: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/archivo-400-700-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;
}

/* ===== ÉPOCA 2 · PIEDRA — Cinzel (display) + Cinzel Decorative (apoyo) + Spectral (cuerpo) ===== */
/* mono de la época 2 = ui-monospace del sistema: no necesita webfont */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/cinzel-400-700-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: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/epoca/cinzel-decorative-700-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: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/epoca/spectral-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: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/epoca/spectral-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: 'Spectral';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/epoca/spectral-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: 'Spectral';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/epoca/spectral-700-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 {
  /* usada en .c-campo__ayuda (E2) y .c-campo__ayuda placeholder-equivalentes:
     itálica real, no la falsa oblicua */
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/epoca/spectral-400-italic-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;
}

/* ===== ÉPOCA 3 · PAPEL — EB Garamond (display + cuerpo + mono, las tres) ===== */

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/eb-garamond-400-700-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 {
  /* itálica REAL — c-campo__input::placeholder, c-campo__ayuda, c-visor__titulo (peso 500) */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/epoca/eb-garamond-400-500-italic-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;
}

/* ===== ÉPOCA 4 · HIERRO — Bodoni Moda (display) + Libre Franklin (cuerpo) + Oswald (etiqueta) ===== */

@font-face {
  /* variable en el eje ÓPTICO (opsz 6→96): extra/c-precio.css pone
     font-optical-sizing:auto sobre c-precio__cifra a propósito — sin este
     eje esa declaración no tendría ningún efecto */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/epoca/bodoni-moda-700-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: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/libre-franklin-400-700-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 {
  /* --e4-etiqueta (rótulos condensados) y también --av-condensada de c-aviso */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/epoca/oswald-400-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;
}

/* ===== ÉPOCA 5 · CABINA (+ :root de emergencia de base.css) — Inter Tight (display+cuerpo) ===== */

@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/inter-tight-400-700-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;
}

/* ===== TRANSVERSAL — JetBrains Mono (mono de E1, E4, E5) ===== */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/epoca/jetbrains-mono-400-700-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;
}
