/* ==============================================================
   Self-hosted variable fonts — Cormorant (serif) + Geist (sans).

   Replaces the Google Fonts <link>. Reasons: no third-party
   request on the critical path (was DNS + TLS + 2 round trips
   before a single glyph), no visitor IP handed to a US CDN
   (matters for CH/EU privacy expectations), and the files are
   version-pinned so the design cannot shift under us.

   Both faces are variable — one file covers the whole weight
   axis the design uses (Cormorant 300–600, Geist 200–800).
   unicode-range keeps latin-ext from downloading unless a
   glyph actually needs it.

   NOTE ON THE TWO src ENTRIES PER FACE — they are the same file.
   format('woff2-variations') is a transitional string only Safari 10–11
   ever understood. Per CSS Fonts 4 a UA must SKIP any src whose format()
   string it does not recognise, so shipping it alone means modern Safari
   loads no font at all: the page silently falls back to San Francisco and
   Georgia, and every max-width measured in `ch` shrinks with it. Chrome is
   lenient and accepts the old string, which is why this only ever showed
   up in Safari. Listing the legacy string first and the spec-correct
   format('woff2') second satisfies both; the browser downloads whichever
   one source it accepts, never two.
   ============================================================== */

/* ---------- Cormorant · serif ---------- */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../assets/fonts/cormorant-latin-wght-normal.woff2') format('woff2-variations'),
       url('../assets/fonts/cormorant-latin-wght-normal.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: 'Cormorant';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('../assets/fonts/cormorant-latin-wght-italic.woff2') format('woff2-variations'),
       url('../assets/fonts/cormorant-latin-wght-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: 'Cormorant';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../assets/fonts/cormorant-latin-ext-wght-normal.woff2') format('woff2-variations'),
       url('../assets/fonts/cormorant-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('../assets/fonts/cormorant-latin-ext-wght-italic.woff2') format('woff2-variations'),
       url('../assets/fonts/cormorant-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Geist · sans ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/geist-latin-wght-normal.woff2') format('woff2-variations'),
       url('../assets/fonts/geist-latin-wght-normal.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: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../assets/fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations'),
       url('../assets/fonts/geist-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
