/* ============================================================
   本地字体声明（自托管，不依赖 fonts.googleapis.com）
   用途：替代原 index.html 中的 Google Fonts 外链
   路径：assets/css/fonts.css
   字体：assets/fonts/*.woff2
   ============================================================ */

/* Space Grotesk —— 拉丁字母（可变字体，400–700） */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var.woff2') format('woff2');
}

/* JetBrains Mono —— 拉丁字母（可变字体，400–500） */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-var.woff2') format('woff2');
}

/* Instrument Serif —— 正体 */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
}

/* Instrument Serif —— 斜体（首页标题的“看得懂”用的就是这个） */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-400.woff2') format('woff2');
}
