/* ============================================================
   Локальные шрифты (self-hosted, вместо Google Fonts).
   Подключается и в _layout.html (платформа), и в base.html (публичные страницы).
   ============================================================ */

/* --- Stem (фирменный шрифт интерфейсов Пикассо, STYLEGUIDE 4.0.6) ---
   ВАЖНО: в этом комплекте начертание «Regular» плотное. Обычный текст = вес 400
   (SemiLight). Вес 600+ (Medium/Bold) — только у заголовков, названий карточек
   и активных элементов. Запасной — Golos Text, затем системный. */
@font-face { font-family: 'Stem'; src: url('../fonts/stem/Stem-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Stem'; src: url('../fonts/stem/Stem-SemiLight.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Stem'; src: url('../fonts/stem/Stem-Regular.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Stem'; src: url('../fonts/stem/Stem-Medium.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Stem'; src: url('../fonts/stem/Stem-Bold.woff2') format('woff2'); font-weight: 700 800; font-style: normal; font-display: swap; }

/* --- Inter (устаревший основной; заменен на Stem, оставлен как запасной) --- */
@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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Geist (заголовки/акценты публичных страниц) --- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
}

/* --- Geist Mono (моноширинный) --- */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
}

/* --- Caveat (рукописный акцент) --- */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat-latin.woff2') format('woff2');
}

/* --- Kalam (рукописный, статические начертания) --- */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kalam-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/kalam-700.woff2') format('woff2');
}
