/* ==================================================================
   tipografia.css — Las letras de Pixelia. Se carga ANTES que cualquier
   otra hoja. Unico sitio donde se declara una fuente.

   Texto:     Public Sans (variable, todos los pesos en un archivo).
   Titulares: Instrument Serif. Serif de DISPLAY: peso 400 y tamanos
              grandes. No tiene negrita: nunca pedirle bold.
   Cifras y codigos: la monoespaciada del sistema.
   Rutas relativas: funciona igual en la raiz o en una subcarpeta.
   ================================================================== */

@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-Variable.ttf') format('truetype-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  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: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  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;
}

:root {
  --px-texto:   'Public Sans', system-ui, 'Segoe UI', Arial, sans-serif;
  --px-titular: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --px-mono:    ui-monospace, 'Cascadia Mono', Consolas, 'Courier New', monospace;
}

button, input, select, textarea { font-family: inherit; }
