/* fonts.css — self-hosted font loading for both skins.
   THE .woff2 FILES ARE NOT IN THIS FOLDER — binary assets can't be produced by the design tool.
   Run ./fetch-fonts.sh (curl + awk) to download all six into ./fonts/, then copy that folder
   to /assets/fonts/ in the repo. Paths below are relative to this stylesheet.
   All four families are SIL OFL; the script pulls Google Fonts' latin-subset variable builds.
   Load ONLY the skin's two families per site — do not ship all four.

   In <head>, before this stylesheet, preload the two files used above the fold:
     <link rel="preload" href="/assets/fonts/space-grotesk-latin.woff2" as="font" type="font/woff2" crossorigin>
     <link rel="preload" href="/assets/fonts/piazzolla-latin-italic.woff2" as="font" type="font/woff2" crossorigin>
   Every face uses font-display: swap so text paints in the fallback immediately; the fallback
   stacks in the skins are metric-neutral enough that layout shift is minor. */

/* ---- ASG: Space Grotesk (variable, 300–700) ---- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ---- ASG: Piazzolla (variable, italic only — accents) ---- */
@font-face {
  font-family: 'Piazzolla';
  src: url('fonts/piazzolla-latin-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 'Piazzolla';
  src: url('fonts/piazzolla-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---- GB: EB Garamond (variable 400–800 + italic) ---- */
@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/eb-garamond-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('fonts/eb-garamond-latin-italic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
/* ---- GB: Public Sans (variable 100–900) ---- */
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/public-sans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
