/* Galok type foundation · 2026-10
   Production version of /lab/shared/lab.css (design review, PR #97).
   Four voices, each with one job:
     --g-sans    Inter (self-hosted, OFL)  display + interface
     --g-serif   Gambetta                  long-form reading
     --g-mono    system mono               12px labels only
     --g-song    Source Han Serif TC       classical Chinese
     --g-seal    seal-script subset        marks only (视 框 察, city seals)
   Import this file before a section stylesheet; it defines tokens and faces, no layout. */

@font-face{font-family:"Galok Sans";src:url("/assets/fonts/inter-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Sans";src:url("/assets/fonts/inter-var-italic.woff2") format("woff2");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"Galok Serif";src:url("/assets/fonts/gambetta-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Serif";src:url("/assets/fonts/gambetta-400i.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Galok Serif";src:url("/assets/fonts/gambetta-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Serif";src:url("/assets/fonts/gambetta-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Display Serif";src:url("/assets/fonts/bagnard.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Seal";src:url("/assets/fonts/galok-glyph-display.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Galok Song";src:url("/assets/fonts/source-han-serif-tc-reading.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}

:root{
  --g-sans:"Galok Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"PingFang TC","Noto Sans CJK TC",sans-serif;
  --g-serif:"Galok Serif",Georgia,"Songti TC","Noto Serif CJK TC",serif;
  --g-display-serif:"Galok Display Serif","Galok Serif",Georgia,serif;
  --g-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;
  --g-song:"Galok Song","Songti TC","Noto Serif CJK TC","Source Han Serif TC",serif;
  --g-seal:"Galok Seal","STKaiti",serif;

  /* scale: 1.25 below the body, 1.333 above it; labels never under 12px */
  --gt-t-label:12px;
  --gt-t-small:14px;
  --g-t-ui:16px;
  --gt-t-body:20px;
  --gt-t-lede:24px;
  --gt-t-h3:28px;
  --gt-t-h2:clamp(30px,3.4vw,44px);
  --gt-t-display:clamp(52px,8.4vw,128px);
  --g-measure:31.5em; /* ~66 characters of Galok Serif */

  /* colour: ink, paper, rule — one signal per section, with a 4.5:1 text twin */
  --gt-ink:#0e100f;
  --gt-ink-2:#2f3532;
  --gt-muted:#5b625e;
  --gt-rule:#d8dbd6;
  --g-paper:#f5f5f1;
}
