/* =============================================================================
 * Sefton Home — 本地字体声明（tools/build_fonts.py 的产物，不要手工编辑）
 * -----------------------------------------------------------------------------
 * 字体文件在 assets/fonts/，由 tools/build_fonts.py 从 Google Fonts 取回后本地托管。
 *
 * 为什么不直接 <link> Google Fonts（四个理由，从轻到重）：
 *   1. 每个访客多两次 DNS + 两次 TLS 握手，首屏更慢
 *   2. 网络拦掉 Google 的环境（部分企业网/地区）会掉到系统字体，版式跟着变
 *   3. 与本站「零依赖、file:// 可直开」的定位冲突
 *   4. ⚠️ 也是最重的：从 Google 服务器取字体会把访客 IP + UA 传给 Google，
 *      且发生在任何同意之前 —— 德国已有判例（LG München I, 3 O 17493/20）。
 *      自托管后没有第三方收到数据，隐私政策也就不需要为它开一条披露。
 *
 * 本文件由脚本生成，改字体请改 build_fonts.py 的 FAMILIES，再重跑。
 * 版本号：随 style.css 一起走 HTML 里的 ?v=（见 site-config.js 的 meta.assetVersion）。
 *
 * font-weight 写成范围（如 400 700）是因为这两款都是**可变字体**：
 * Google 对同一字族 × 同一子集只发一个文件，各字重共用它 —— 不要为每个字重下一个。
 * ========================================================================== */

/* Fraunces · latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fraunces · latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/fraunces-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter · latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter · latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
