/* Fuentes autoalojadas.
   Antes estaban embebidas en base64 dentro de este archivo (207 KB de CSS
   bloqueante con font-display: block, lo que dejaba el texto invisible hasta
   terminar de descargarlo todo).
   Ahora apuntan a los .woff2 de /fonts, que ya estaban en el repo sin usarse.
   font-display: swap muestra el texto con la tipografía del sistema y la
   cambia al cargar, en vez de dejar la pantalla en blanco. */

/* --- Sora (títulos) --- */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/sora-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/sora-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/sora-800.woff2') format('woff2');
}

/* --- Outfit (texto) --- */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}

/* --- JetBrains Mono (bloque de código) --- */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/jetbrains-400.woff2') format('woff2');
}
