/*
 * Self-hosted variable fonts (RGPD: cero requests a fonts.googleapis.com).
 *
 * - Inter:           UI / body  (variable 100-900)
 * - Fraunces:        Headings + display serif (variable 300-600 normal e italic)
 * - JetBrains Mono:  Detalles técnicos (números, fechas, coordenadas, eyebrow technical)
 *
 * Subset: latin (U+0000-00FF + signos editoriales + €, ™, etc.)
 * Source Serif 4 conservado como fallback secundario en pre-render.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2-variations'),
         url('../fonts/inter-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: 'Fraunces';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/fraunces-latin.woff2') format('woff2-variations'),
         url('../fonts/fraunces-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: 'Fraunces';
    font-style: italic;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/fraunces-latin-italic.woff2') format('woff2-variations'),
         url('../fonts/fraunces-latin-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;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2-variations'),
         url('../fonts/jetbrains-mono-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;
}

/* Source Serif 4 conservada como fallback temporal — la quitaremos cuando
   estemos seguros de que ningún pattern legacy la referencia. */
@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/source-serif-4-latin.woff2') format('woff2-variations'),
         url('../fonts/source-serif-4-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;
}
