/**
 * ================== FONT LOCALI — SEVEN DIXIE ==================
 * Font self-hosted (nessuna richiesta a Google): Rye, Oswald, EB Garamond.
 * Stesso identico font usato prima da Google Fonts, licenza SIL Open Font
 * License — file .woff2 nella cartella /fonts.
 *
 * Oswald e EB Garamond sono "variable font": un solo file copre tutti i
 * pesi (regular, medium, semibold, bold...), per questo font-weight è un
 * intervallo (es. 200 700) invece di un singolo file per peso.
 */

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

@font-face {
  font-family: 'Oswald';
  src: url('fonts/Oswald-Variable.woff2') format('woff2-variations'),
       url('fonts/Oswald-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond-Variable.woff2') format('woff2-variations'),
       url('fonts/EBGaramond-Variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/EBGaramond-Italic-Variable.woff2') format('woff2-variations'),
       url('fonts/EBGaramond-Italic-Variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
