/* =====================================================================
   fonts.css — self-hosted brand webfonts (replaces the Google Fonts <link>).
   Onest = display (H1/H2/H3, eyebrows, buttons, header+footer chrome),
   Inter = body (paragraphs, lists, tables, meta). Both SIL OFL → self-host OK.

   Source: gstatic css2 (Chrome UA). Onest + Inter are served as VARIABLE
   woff2 — ONE file per family+subset covers the whole 100–900 weight axis,
   so 4 files cover every weight the theme uses (Onest 500/600/700/800,
   Inter 400/500/600). No render-blocking external request, no gstatic
   preconnect. font-display:swap = text paints immediately in the fallback.

   url()s are RELATIVE to this file (assets/fonts.css → assets/fonts/*.woff2)
   so fonts load SAME-ORIGIN as fonts.css on whatever host serves the theme
   (staging→staging, prod→prod). Absolute rosperevozki.ru urls pulled the
   fonts cross-origin from prod (where the theme isn't deployed yet) →
   404/CORS on staging + a wasted preload.
   ===================================================================== */

/* ---- Onest (display) ---- */
@font-face{
  font-family:'Onest';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face{
  font-family:'Onest';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('fonts/onest-latin.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;
}

/* ---- Inter (body) ---- */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('fonts/inter-cyrillic.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:100 900;
  font-display:swap;
  src:url('fonts/inter-latin.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;
}

/* ---- Source Sans Pro (DESKTOP header chrome only — prod's real header font) ----
   Prod's header computes `SourceSansPro`; Inter rendered ~46–81px wider per row,
   collapsing the logo→nav margin-right:auto gap to 0 (wordmark touched the nav).
   These are prod's OWN woff2 files (identical glyph advances → identical gap),
   pyftsubset'd to Cyrillic+Latin with kerning kept (~33KB each, SIL OFL).
   Static weights — only the ones the header bar uses: 600 (phone) / 700 (nav+CTA);
   400 covers the burger drawer (display:none until opened → not fetched on load).
   ONLY referenced inside chrome.css @media(min-width:1250px), so mobile never
   fetches these. font-display:swap; NOT preloaded (LCP = featured image). */
@font-face{
  font-family:'SourceSansPro';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/sourcesanspro-400.woff2') format('woff2');
}
@font-face{
  font-family:'SourceSansPro';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/sourcesanspro-600.woff2') format('woff2');
}
@font-face{
  font-family:'SourceSansPro';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/sourcesanspro-700.woff2') format('woff2');
}
