/*
 * ORDINAMENTA — Font self-hosted
 * Sostituisce le richieste a fonts.googleapis.com / fonts.gstatic.com
 *
 * Questo file CSS è in stitch-output/assets/fonts/fonts.css
 * I file .woff2 sono nella stessa cartella.
 *
 * INCLUSIONE NEGLI HTML:
 *   - Pagine in root (01-splash.html, ecc.):
 *       <link rel="stylesheet" href="assets/fonts/fonts.css">
 *   - Pagine in sottocartella (legal/privacy.html, ecc.):
 *       <link rel="stylesheet" href="../assets/fonts/fonts.css">
 *
 * Vantaggi privacy:
 *   - Zero trasferimento dati verso Google (USA)
 *   - Zero richieste DNS verso fonts.googleapis.com / fonts.gstatic.com
 *   - Conforme GDPR senza necessità di base giuridica per trasferimento extra-UE
 *
 * Performance:
 *   - File .woff2 totali: ~162 KB (7 varianti)
 *   - font-display: swap → testo visibile subito col fallback, poi sostituito
 *   - unicode-range latin standard (sufficiente per italiano + simboli comuni)
 *
 * Aggiornato: 19 maggio 2026
 */

/* ============================================
   INTER — UI font (body, ui, label)
   2 varianti: 400 regular, 600 semibold
   ============================================ */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./inter-400.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: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./inter-600.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;
}

/* ============================================
   EB GARAMOND — Display font (titoli, motti)
   5 varianti: 400 regular, 600 regular, 400 italic, 500 italic, 700 italic
   ============================================ */

@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./eb-garamond-400.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: 'EB Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./eb-garamond-600.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: 'EB Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('./eb-garamond-400-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: 'EB Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('./eb-garamond-500-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: 'EB Garamond';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('./eb-garamond-700-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;
}
