/* ==========================================================================
   fonts.css — 本地字体声明（零 CDN，全部本地托管）
   --------------------------------------------------------------------------
   体系：
     思源宋体 Noto Serif SC   → 标题（衬线，中文标题的高级感来源）  轴 400-900
     思源黑体 Noto Sans SC    → 中文正文 / UI                       轴 300-700
     Barlow / Barlow Condensed → 西文与数字（几何无衬线，ABB 调性）
   --------------------------------------------------------------------------
   混排原理：字体栈把拉丁字体排在前，中文字形自动回落到思源。
     标题栈  'Noto Serif SC'（含拉丁衬线）→ 中西文同族，天然协调
     正文栈  'Barlow' 优先吃拉丁 → 中文回落 'Noto Sans SC'
   两个思源均为可变字体，单文件覆盖全部字重，避免多份固定字重切片。
   ========================================================================== */

/* ---------- 思源宋体：标题（可变，400-900） ----------
   ⚠️ 维护约定：凡是重跑 tools/build-fonts.py 重建子集，必须把下面两个
   ?f= 版本号手动 +1（如 f=1 → f=2），否则浏览器/CDN 会继续用旧字体缓存，
   新补的字（如「肴」）不生效。 */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./NotoSerifSC-VF.woff2?f=2') format('woff2');
}

/* ---------- 思源黑体：中文正文（可变，300-700） ---------- */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('./NotoSansSC-VF.woff2?f=2') format('woff2');
}

/* ---------- Barlow：西文与数字 ---------- */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('./Barlow-400.woff2') format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('./Barlow-500.woff2') format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('./Barlow-600.woff2') format('woff2');}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('./Barlow-700.woff2') format('woff2');}

/* ---------- Barlow Condensed：大数字（窄体，数据见证专用） ---------- */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('./BarlowCondensed-500.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('./BarlowCondensed-600.woff2') format('woff2');}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('./BarlowCondensed-700.woff2') format('woff2');}
