/* ══════════════════════════════════════════════════════════════════
   TIPOGRAFÍAS, ALOJADAS EN LA PROPIA WEB (public/fonts)
   ──────────────────────────────────────────────────────────────────
   Antes se pedían a Google Fonts: dos conexiones más a otros servidores
   antes de pintar nada y una visita que Google veía. Ahora salen del
   mismo servidor que la página, con los mismos archivos que servía
   Google (subconjuntos «latin» y «latin-ext», formato WOFF2 variable).
   Las tres familias son de licencia abierta (SIL OFL 1.1): ver
   public/fonts/LICENCIAS.txt.

   Archivo (con eje de anchura) hace de rótulo: condensada y en
   mayúsculas para los titulares, en cursiva para la palabra destacada.
   DM Sans para leer, IBM Plex Mono para etiquetas y cifras pequeñas.

   El navegador solo descarga los archivos que la página usa de verdad:
   una página legal, que solo escribe en DM Sans, se baja uno.
══════════════════════════════════════════════════════════════════ */

/* ─── Archivo ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-v25-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 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-v25-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: italic; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-italic-v25-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: italic; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-italic-v25-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── DM Sans ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/dm-sans-v17-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: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/dm-sans-v17-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans'; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url(/fonts/dm-sans-italic-v17-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: 'DM Sans'; font-style: italic; font-weight: 300 500; font-display: swap;
  src: url(/fonts/dm-sans-italic-v17-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── IBM Plex Mono ────────────────────────────────────────────── */
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-v23-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/ibm-plex-mono-400-v23-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-v23-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/ibm-plex-mono-500-v23-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ══════════════════════════════════════════════════════════════════
   TIPOGRAFÍAS DE RESERVA, AJUSTADAS DE ANCHO
   ──────────────────────────────────────────────────────────────────
   Mientras llega la tipografía de verdad, el navegador escribe con una
   del sistema. Si esa ocupa otro ancho, las líneas se parten distinto y
   al llegar la buena todo lo de debajo pega un salto: el titular del
   hero pasaba de cuatro líneas a tres, y la etiqueta de encima de una a
   dos. «size-adjust» escala la del sistema hasta que mide lo mismo.

   Los porcentajes salen de medir en Chrome los textos reales de la
   portada con Archivo y con Arial Bold (Roboto Bold mide prácticamente
   igual). Se quedan un punto por debajo de la media: una línea un poco
   más corta no mueve nada; una más larga puede partirse.

   Archivo cambia de ancho según «font-stretch», así que hay una reserva
   por tramo. Si el equipo no tiene ninguna de estas fuentes, la regla
   no hace nada y se sigue como antes ('Arial Narrow', sans-serif).
══════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Archivo reserva'; font-weight: 100 900; font-stretch: 50% 65%; size-adjust: 68%; src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'); }
@font-face { font-family: 'Archivo reserva'; font-weight: 100 900; font-stretch: 66% 70%; size-adjust: 74%; src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'); }
@font-face { font-family: 'Archivo reserva'; font-weight: 100 900; font-stretch: 71% 76%; size-adjust: 77.5%; src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'); }
@font-face { font-family: 'Archivo reserva'; font-weight: 100 900; font-stretch: 77% 85%; size-adjust: 82.5%; src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'); }
@font-face { font-family: 'Archivo reserva'; font-weight: 100 900; font-stretch: 86% 200%; size-adjust: 100%; src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'); }

/* IBM Plex Mono da 0,6 em a cada letra; Consolas (la monoespaciada de
   Windows), 0,55 em. En Android, iOS y macOS la monoespaciada del sistema
   ya mide 0,6 em: allí Consolas no existe y esta regla no se aplica. */
@font-face { font-family: 'Plex Mono reserva'; font-weight: 100 900; size-adjust: 109.1%; src: local('Consolas'); }
