/*
 * Self-hosted fonts — ZONT73 Theme
 * Manrope (display), IBM Plex Sans (body), JetBrains Mono (mono)
 * font-display: swap — не блокирует рендер
 *
 * Как загрузить файлы (выполнить в папке темы):
 *   npm install @fontsource/manrope @fontsource/ibm-plex-sans @fontsource/jetbrains-mono
 *   node -e "
 *     const fs=require('fs'), path=require('path');
 *     ['manrope','ibm-plex-sans','jetbrains-mono'].forEach(name => {
 *       const dir = 'node_modules/@fontsource/'+name+'/files/';
 *       fs.readdirSync(dir).filter(f=>f.endsWith('.woff2')).forEach(f=>
 *         fs.copyFileSync(dir+f, 'assets/fonts/'+f));
 *     });
 *   "
 *   rm -rf node_modules package*.json
 */

/* ── Manrope — display headings ─────────────────────────────────── */
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-cyrillic-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('manrope-latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ── IBM Plex Sans — body text ───────────────────────────────────── */
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-cyrillic-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-cyrillic-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-cyrillic-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-cyrillic-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('ibm-plex-sans-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── JetBrains Mono — mono (цены, коды) ─────────────────────────── */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('jetbrains-mono-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
