/* ============================================================
   Casa Lopez — assets/css/fonts.css
   Fuentes auto-alojadas (self-hosted), subconjunto Latin únicamente.
   Siempre cargado (ver inc/enqueue.php).

   FAMILIAS INCLUIDAS:
     Lato (sans-serif, body text):
       - Light 300   → lato-light.woff2   (static)
       - Regular 400 → lato-regular.woff2 (static)
       - Bold 700    → lato-bold.woff2    (static)

     Playfair Display (serif, headings):
       - Normal 400–900 → playfair-normal.woff2 (variable)
       - Italic  400–500 → playfair-italic.woff2 (variable)
       Nota: variable fonts — un único archivo cubre todo el rango de pesos.

   ⚠️ PESOS QUE NO EXISTEN. Un font-weight fuera de rango no falla: el navegador
   lo recorta al más cercano y sigue, así que el CSS dice una cosa y la pantalla
   muestra otra. Medido en el navegador el 2026-08-11, declarando el archivo con
   un rango abierto (1–1000) para ver el eje real:
     · Playfair 100, 200, 300, 350 y 400 → los cinco 3359.2px. El eje ARRANCA en
       400: no hay Playfair liviana. El sitio tenía font-weight:300 en 66 lugares.
     · Playfair 800 y 900 sí ensanchan (3518.2 y 3557.4), o sea que el archivo
       llega a 900 aunque el @font-face de abajo declare 400 700. Si alguna vez
       hace falta un peso más, ampliar ese rango.
     · Playfair ITÁLICA llega hasta 500: en itálica, 700 dibuja 500.
     · Lato sólo tiene 300/400/700 acá. 500 dibuja 400 y 600 dibuja 700.
   Antes de escribir un peso, mirá esta lista.

   PERFORMANCE:
     - font-display: swap — evita FOIT (Flash Of Invisible Text).
     - unicode-range Latin restringido — reduce el peso de las fuentes.
     - Los archivos .woff2 deben estar en assets/fonts/.

   CÓMO MODIFICAR:
     - Agregar un peso: subir el archivo .woff2 a assets/fonts/ y añadir un
       @font-face con el font-weight correspondiente.
     - Cambiar de familia: actualizar la referencia --font-serif / --font-sans en
       main.css y en editor.css además de aquí.
     - "Generated from Google Fonts v40 / v25 — do not edit URLs" — las URLs
       son rutas relativas a assets/fonts/; sí se pueden editar si se renombran archivos.

   BREAKPOINTS: ninguno.
   ============================================================ */

/* ── Lato Light 300 ── */
@font-face {
	font-family: 'Lato';
	font-style:  normal;
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/lato-light.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;
}

/* ── Lato Regular 400 ── */
@font-face {
	font-family: 'Lato';
	font-style:  normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/lato-regular.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;
}

/* ── Lato Bold 700 ── */
@font-face {
	font-family: 'Lato';
	font-style:  normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/lato-bold.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;
}

/* ── Playfair Display Normal 400–700 (variable) ── */
@font-face {
	font-family: 'Playfair Display';
	font-style:  normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/playfair-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Playfair Display Italic 400–500 (variable) ── */
@font-face {
	font-family: 'Playfair Display';
	font-style:  italic;
	font-weight: 400 500;
	font-display: swap;
	src: url('../fonts/playfair-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
