/* ============================================================
   Локальные шрифты проекта. Google Fonts НЕ используется (152-ФЗ / 242-ФЗ).
   Файлы .woff2 лежат рядом с этим файлом, в той же папке fonts/.
   Подключение в HTML:  <link rel="stylesheet" href="fonts/fonts.css">

   Семейства:
   - Inter              — основной текст (sans-serif)
   - Cormorant Garamond — заголовки на части сайтов (serif)
   - Fraunces           — ПСЕВДОНИМ: физически грузит Playfair Display.
                          Сделано, чтобы не править font-family во всех стилях.
                          В CSS сайтов имя 'Fraunces' остаётся как было.
   ============================================================ */

/* ---------- Inter ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('inter-v20-cyrillic_latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('inter-v20-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('inter-v20-cyrillic_latin-600.woff2') format('woff2');
}

/* ---------- Cormorant Garamond ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('cormorant-garamond-v21-cyrillic_latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('cormorant-garamond-v21-cyrillic_latin-300italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('cormorant-garamond-v21-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('cormorant-garamond-v21-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('cormorant-garamond-v21-cyrillic_latin-600.woff2') format('woff2');
}
/* Курсив для весов 400/500/600 не скачивался — браузер синтезирует наклон.
   Для веса 300 есть настоящий курсив (300 italic). */

/* ---------- Fraunces (псевдоним → Playfair Display) ----------
   Playfair Display имеет начертания 400/500/600/700 + курсивы 500.
   В стилях сайтов Fraunces чаще всего идёт с font-weight:300 —
   ниже диапазоны веса подобраны так, чтобы любой запрос попал в файл. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 450;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 451 549;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 550 650;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 651 900;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 549;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 550 900;
  font-display: swap;
  src: url('playfair-display-v40-cyrillic_latin-500italic.woff2') format('woff2');
}
