/* ============================================================================
   ru-fonts.css — AStudyo Russian type stack (combo 10 from font-lab.html)
   ----------------------------------------------------------------------------
   Linked on every page AFTER the page's own <style> so it wins the cascade for
   RU. It activates ONLY under html[data-lang="ru"] — the attribute the footer
   language toggle (lang-bridge.js) sets. English is never touched: none of the
   --font-* variables here apply unless data-lang="ru".

   New combo (per font-lab.html):
     display / logo .............. RussianRail G Pro   (--font-display)
     labels / buttons (mono) ..... Arturito Slab       (--font-mono)
     headings (h1–h3) ............ RussianRail G Pro   (--font-h)
     body / paragraphs ........... RussianRail G Pro   (--font-p1)
     stats / numbers ............. Arturito Slab       (--font-p2)
     eyebrows / badges ........... RussianRail G Pro   (--font-p3)

   The Latin-pinned elements (wordmark, domain, copyright, code input, untouched
   section/social names) keep their own explicit font-family rules in each page,
   so they are NOT re-fonted here — no new Russian fonts get assigned to them.
   ========================================================================== */

/* ── Self-hosted brand faces (Cyrillic-capable). Keep the files in /fonts/. ── */
@font-face {
  font-family: 'RussianRail G Pro';
  src: url('/fonts/RussianRail_G_Pro_Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Arturito Slab';
  src: url('/fonts/arturito.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'G8';
  src: url('/fonts/G8.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'G8';
  src: url('/fonts/G8_Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Combo 10: applied only in Russian ──
   Pages that only define --font-display / --font-mono (andrey, 404, srvc, sdll,
   smtrt) still get the right faces, because their headings/body read from
   --font-display anyway; we also set the h/p1/p2/p3 vars so any element that
   uses them picks up combo 10 too. */
html[data-lang="ru"] {
  --font-display: 'RussianRail G Pro', sans-serif;
  --font-mono:    'Arturito Slab', 'RussianRail G Pro', sans-serif;
  --font-h:       'RussianRail G Pro', sans-serif;
  --font-p1:      'RussianRail G Pro', sans-serif;
  --font-p2:      'Arturito Slab', 'RussianRail G Pro', sans-serif;
  --font-p3:      'RussianRail G Pro', sans-serif;
}
