/* Overpass — the open cut of FHWA Highway Gothic, self-hosted.
 *
 * Previously pulled from Google Fonts, which was the only off-server request the
 * site still made: a third-party DNS lookup and TLS handshake sitting in front of
 * first paint, on a site whose entire map stack — tiles, glyph atlases, boundaries,
 * MapLibre itself — was already served from this box. This closes that gap.
 *
 * One variable file per family rather than the eight pinned @font-face blocks
 * Google's API emits (all of which point at this same file anyway). Declaring the
 * weight axis as a range lets the browser instance any weight the CSS asks for,
 * including the 800/900 the guide-sign headings use.
 *
 * Latin subset here; the Cyrillic that Forecast Russia needs is declared at the foot of
 * this file, as PT Sans / PT Mono / EB Garamond Italic faces under the same family names
 * (unicode-range keeps them out of the way of Latin), so no rule anywhere else has to
 * name a second font.
 */
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 100 900;          /* variable wght axis */
  font-display: swap;
  src: url('/assets/fonts/Overpass-var.woff2') format('woff2-variations'),
       url('/assets/fonts/Overpass-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Overpass Mono';
  font-style: normal;
  font-weight: 300 700;          /* mono tops out at 700 */
  font-display: swap;
  src: url('/assets/fonts/OverpassMono-var.woff2') format('woff2-variations'),
       url('/assets/fonts/OverpassMono-var.woff2') format('woff2');
}

/* EB Garamond Italic — the atlas voice for the hero map's water names,
 * self-hosted the same way. The open revival of Garamont's own cut (SIL OFL):
 * not an imitation of an atlas face, but the face the atlas faces imitate. */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/EBGaramond-Italic-var.woff2') format('woff2-variations'),
       url('/assets/fonts/EBGaramond-Italic-var.woff2') format('woff2');
}

/* ── Cyrillic ──────────────────────────────────────────────────────────────
 * Overpass has no Cyrillic. PT Sans — the face the Russian Federation had drawn
 * for public use, and an honest humanist match for Highway Gothic at sign sizes —
 * stands in under the same family name, light-to-medium weights on the regular cut and
 * semibold-to-black on the bold one. Declared after the Latin faces so that, character
 * by character, Cyrillic takes these and Latin never does. */
@font-face {
  font-family: 'Overpass'; font-style: normal; font-weight: 100 599; font-display: swap;
  src: url('/assets/fonts/PTSans-400-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Overpass'; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url('/assets/fonts/PTSans-700-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Overpass Mono'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/PTMono-400-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/EBGaramond-Italic-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
