/* ─────────────────────────────────────────────────────────────
   Self-hosted fonts — Inter (Latin + Cyrillic) + Noto Sans Georgian
   Replaces Google Fonts CDN to:
   • Cut ~150-200ms FCP (no DNS+TLS to fonts.googleapis.com)
   • Privacy — Google logs IPs on font requests
   • RU access — fonts.googleapis.com is unreliable on some Russian ISPs
   • Offline-first SW caching of static .woff2 (already cacheable, fixed URLs)

   Each @font-face uses font-display: swap so text shows immediately
   in fallback while font loads.

   unicode-range is split so the browser only fetches the Cyrillic
   subset when CYR chars appear (latin-only visitors save ~7KB/weight).
   ───────────────────────────────────────────────────────────── */

/* ── Inter — Cyrillic subset (U+0400-04FF + extras) ─────────── */
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-cyrillic-500.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-cyrillic-800.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ── Inter — Latin subset (default; covers EN, TR, common diacritics) */
@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-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+2074, 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: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500.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: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-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+2074, 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: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700.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: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin-800.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;
}

/* ── Noto Sans Georgian (only fetched when KA chars appear) ─── */
@font-face{
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/noto-georgian-400.woff2') format('woff2');
  unicode-range: U+10A0-10FF, U+2D00-2D2F;
}
@font-face{
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/noto-georgian-500.woff2') format('woff2');
  unicode-range: U+10A0-10FF, U+2D00-2D2F;
}
@font-face{
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/noto-georgian-700.woff2') format('woff2');
  unicode-range: U+10A0-10FF, U+2D00-2D2F;
}
