/* =========================================================
   CHUZO 站点 · 共享设计基座
   ---------------------------------------------------------
   从 index / works / case 的内联 <style> 抽出的「可共享、无冲突」部分：
     · 通用字体 @font-face（暗色站点统一：Big Shoulders + Geist）
     · 通用 reset / 可访问性（焦点环）/ 工具类
   说明：
     · 本文件位于 assets/ 下，字体路径相对本文件，故写成 fonts/...
     · 各页的 :root（含页面专属 token / 浅色海报页 qr 的独立配色）
       仍保留在各页 <style> 内，页面 :root 会覆盖本文件的同名变量。
     · 页面专属字体（毛笔行草、Noto Serif SC 子集等）仍在各页内联声明。
   ========================================================= */

/* ---------- 通用字体（Big Shoulders + Geist） ---------- */
@font-face{font-family:'Big Shoulders Display';src:url(fonts/BigShouldersDisplay-900.woff2) format('woff2');font-weight:900;font-display:swap}
@font-face{font-family:'Big Shoulders Display';src:url(fonts/BigShouldersDisplay-800.woff2) format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'Big Shoulders Display';src:url(fonts/BigShouldersDisplay-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Big Shoulders Text';src:url(fonts/BigShouldersText-900.woff2) format('woff2');font-weight:900;font-display:swap}
@font-face{font-family:'Geist';src:url(fonts/Geist-300.woff2) format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:'Geist';src:url(fonts/Geist-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Geist';src:url(fonts/Geist-500.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Geist';src:url(fonts/Geist-600.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Geist';src:url(fonts/Geist-700.woff2) format('woff2');font-weight:700;font-display:swap}

/* ---------- 通用 reset ---------- */
*,*::before,*::after{box-sizing:border-box}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,li,figure{margin:0;padding:0;list-style:none}
::selection{background:var(--orange);color:#fff}

/* ---------- 键盘可达性：统一焦点环（仅键盘聚焦显示） ---------- */
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px}
:focus:not(:focus-visible){outline:none}

/* ---------- 通用工具类（文本动效拆分单元 / 字体栈快捷类） ---------- */
.bsd{font-family:var(--bsd);font-weight:900;text-transform:uppercase;letter-spacing:-.01em;line-height:1}
.w{display:inline-block;white-space:nowrap;margin-right:.24em}
.ch{display:inline-block;will-change:transform,opacity,filter}
.tm-u{display:inline-block;white-space:pre;will-change:transform,opacity,filter;transform-origin:50% 100%}
