/**
 * ═══════════════════════════════════════════════════════════════════════════
 * BRAND FONTS — @font-face (Propshaft-served, fingerprinted)
 * ═══════════════════════════════════════════════════════════════════════════
 *
 * @purpose
 *   ЕДИНАЯ точка @font-face для брендовых шрифтов (Onest, Manrope, JetBrains Mono).
 *   Подключается во ВСЕ layouts ОДНИМ link'ом через shared/_app_head_meta
 *   (`stylesheet_link_tag "brand-fonts"`), НЕ через @import в Tailwind-бандл.
 *
 * @why-standalone (incident 2026-06-02, архитектурный разбор)
 *   @font-face, попавший в Tailwind/Lightning-бандл (tokens/index.css → tailwind.css),
 *   ТЕРЯЕТ резолв пути: Lightning нормализует url() в `../font-files/X`, а Propshaft
 *   ВНУТРИ собранного бандла url() НЕ переписывает → шрифт указывает на
 *   несуществующий недигестированный файл → 404 (Onest/Manrope не грузились).
 *
 *   Здесь файл обрабатывает САМ Propshaft (как отдельный asset, не Tailwind):
 *   `url("/assets/font-files/Onest-Variable-Latin-cb40ef30.woff2")` → переписывается в
 *   `/assets/font-files/Onest-Variable-Latin-<hash>.woff2` (digested, с cache-busting).
 *   Бинарники — app/assets/stylesheets/font-files/ (logical path `font-files/X`).
 *
 *   ⚠️ НЕ добавлять @import этого файла в tailwind/bullet/kub манифесты — иначе
 *   снова попадёт в бандл и сломается. Только через stylesheet_link_tag.
 *
 * @families
 *   - 'Onest'         — display / headings / wordmark (cyrillic-first).
 *   - 'Manrope'       — body / UI text.
 *   - 'JetBrains Mono'— mono (welcome/manifesto-редизайн).
 *
 * @license  SIL OFL 1.1 — app/assets/fonts/bullet/LICENSE-*.txt
 * @ssot-mirror  токены font-family — tokens/_brand_fonts.css (:root --mm-font-*)
 *               + app/lib/monkey_machine/brand.rb
 */

/* ═══════════════════════════════════════════════════════════════════════ */
/* ONEST — display + wordmark                                              */
/* ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/font-files/Onest-Variable-1775670b.woff2") format('woff2');
  unicode-range: 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("/assets/font-files/Onest-Variable-Latin-cb40ef30.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;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* MANROPE — body + UI text                                                */
/* ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/font-files/Manrope-Variable-676bb72e.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/font-files/Manrope-Variable-CyrillicExt-110ce14d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/font-files/Manrope-Variable-Latin-757d91ba.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/font-files/Manrope-Variable-LatinExt-9b71bd72.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* JETBRAINS MONO — mono (welcome/manifesto)                               */
/* ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/font-files/JetBrainsMono-Variable-6362fe2a.woff2") format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/font-files/JetBrainsMono-Variable-Latin-7c88d0cc.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;
}
