/* ============================================================
   BBC Design System — Self-Hosted Fonts
   All @font-face declarations point to local font files.
   Replaces the Google Fonts CDN link in every HTML file.
   ============================================================ */

/* ===== LEAGUE SPARTAN (display) ===== */
/* Variable would be ideal but Google only ships static .ttf for League Spartan,
   so we use the woff2 chunks downloaded from Google's CDN. */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-1.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-2.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-3.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-4.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-5.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-6.woff2') format('woff2');
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-7.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-8.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-9.woff2') format('woff2');
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-10.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-11.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-12.woff2') format('woff2');
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-13.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-14.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-15.woff2') format('woff2');
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('League_Spartan/LeagueSpartan-16.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-17.woff2') format('woff2'),
       url('League_Spartan/LeagueSpartan-18.woff2') format('woff2');
}


/* ===== DM SANS (body) — variable font for full weight range ===== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
}


/* ===== CORMORANT GARAMOND (elegant serif) — variable font ===== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf') format('truetype-variations');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('Cormorant_Garamond/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype-variations');
}


/* ===== CAVEAT (handwritten script) — variable font ===== */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('Caveat/Caveat-VariableFont_wght.ttf') format('truetype-variations');
}


/* ===== DM MONO (mono) ===== */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('DM_Mono/DMMono-1.woff2') format('woff2'),
       url('DM_Mono/DMMono-2.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('DM_Mono/DMMono-3.woff2') format('woff2'),
       url('DM_Mono/DMMono-4.woff2') format('woff2');
}
