/* 烽火虎门 · 设计令牌(色板 / 字体 / 间距)
   色值来自 烽火虎门资料/project/风格指南_炮台线描绘本(A 石青线描,已锁,不改色值)。
   新模块一律用这里的变量,不要在别处写死颜色。 */

/* 字体:用展示网站剪好的子集(10_展示网站/fonts;build_media.py 也扫描本站用到的字),不直接加载 20MB 的原始字库 */
@font-face { font-family: "Noto Serif SC"; src: url("../../fonts/NotoSerifSC.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../../fonts/NotoSansSC.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../../fonts/SourceSans3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Alimama ShuHeiTi"; src: url("../../fonts/AlimamaShuHeiTi.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Douyin Sans"; src: url("../../fonts/DouyinSans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../../fonts/PinyonScript.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* 色板:每色有角色 */
  --ink: #1A1F24;        /* 墨线:正文、轮廓 */
  --stone: #2F4A5C;      /* 石青:主色、炮台、按钮 */
  --sea: #5B7A8C;        /* 海水灰:水道、次要文字 */
  --mist: #8FA3AD;       /* 雾灰:分隔、留白辅 */
  --lime: #F2EDE4;       /* 石灰白:纸底 */
  --gold: #C4A574;       /* 哑金褐:木、强调底纹 */
  --seal: #B33A2E;       /* 印朱红:点题,只做小面积 */
  --paper: #E8D9C4;      /* 宣纸米:浅底卡片 */
  --sea-text: #3E5A6B;   /* 海水灰的文字版:石灰白上 6.2:1、宣纸米上 5.3:1(--sea 只做线和面) */
  --gold-text: #D4B98C;  /* 哑金的文字版:石青底上 4.9:1 */

  --ink-soft: rgba(26, 31, 36, .68);
  --rule: rgba(26, 31, 36, .16);
  --sea-tint: rgba(91, 122, 140, .14);

  /* 字体 */
  --font-display: "Alimama ShuHeiTi", "Noto Sans SC", sans-serif;     /* 大标题 */
  --font-title: "Douyin Sans", "Noto Sans SC", "PingFang SC", sans-serif; /* 小标题、按钮、图上注记 */
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Source Sans 3", "Noto Sans SC", sans-serif;
  --font-num: "Alimama ShuHeiTi", "Source Sans 3", sans-serif;
  --font-quote: "Noto Serif SC", "Songti SC", serif;                   /* 史料引文 */
  --font-script: "Pinyon Script", cursive;                              /* 英文手写点缀 */

  /* 间距与尺寸 */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 2px;          /* 线描风:几乎直角 */
  --line: 1px solid var(--ink);
  --ease: cubic-bezier(.22, .7, .2, 1);
}
