/* =====================================================================
   CV · fonts.css — fuentes autoalojadas (sin Google Fonts en tiempo real)

   Archivos en ../fonts/ (subconjunto "latin" de Google Fonts, OFL 1.1;
   licencias en ../fonts/OFL-*.txt):
     inter-latin-var.woff2          Inter (variable 100–900)       48 KB
     space-grotesk-latin-var.woff2  Space Grotesk (variable 300–700) 22 KB
     space-mono-400-latin.woff2     Space Mono Regular              17 KB
     space-mono-700-latin.woff2     Space Mono Bold                 17 KB

   Respaldos con métricas ajustadas ("… Fallback"): Arial / Courier New
   (o sus clones Liberation) escalados con size-adjust para que el texto
   ocupe casi lo mismo antes y después de que llegue la fuente web. Así
   el cambio de fuente (font-display: swap) apenas mueve el diseño (CLS).
   Valores medidos con Playwright: ancho de un párrafo ES/EN/FR en la
   fuente web ÷ ancho en el respaldo; ascent/descent = métricas hhea de
   la fuente ÷ size-adjust.
   ===================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-var.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: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-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: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-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;
}

/* ---------- Respaldos con métricas ajustadas ---------- */
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 100 550;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"), local("Roboto");
  size-adjust: 107.3%;
  ascent-override: 90.3%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  font-weight: 551 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"), local("Roboto Bold");
  size-adjust: 101.2%;
  ascent-override: 95.7%;
  descent-override: 23.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Space Grotesk Fallback';
  font-weight: 100 600;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"), local("Roboto");
  size-adjust: 110.1%;
  ascent-override: 89.4%;
  descent-override: 26.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Space Grotesk Fallback';
  font-weight: 601 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold"), local("Roboto Bold");
  size-adjust: 101.8%;
  ascent-override: 96.7%;
  descent-override: 28.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Space Mono Fallback';
  font-weight: 100 550;
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"), local("Menlo"), local("Consolas");
  size-adjust: 102%;
  ascent-override: 109.8%;
  descent-override: 35.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Space Mono Fallback';
  font-weight: 551 900;
  src: local("Courier New Bold"), local("CourierNewPS-BoldMT"), local("Liberation Mono Bold"), local("Menlo Bold"), local("Consolas Bold");
  size-adjust: 102%;
  ascent-override: 109.8%;
  descent-override: 35.4%;
  line-gap-override: 0%;
}
