/* MINDSHAFT design tokens — the borehole-log direction.
   The site is a descent: daylight paper at the surface, sand, copper, slate, basalt at the core.
   One accent (the lamp) on actions only. Type: Barlow Condensed (display) + Barlow (text). */
:root {
  /* fields, top of the shaft to the bottom */
  --paper: #e2e2dd;   --paper-ink: #17140f;  --paper-soft: #4f4a40;
  --sand: #c9aa72;    --sand-ink: #17140f;   --sand-soft: #3d3220;
  --copper: #8f5634;  --copper-ink: #f3f3f1; --copper-soft: #ead6c2;
  --slate: #2c2e30;   --slate-ink: #ecebe7;  --slate-soft: #b9b4aa;
  --basalt: #1b1c1e;  --basalt-ink: #ecebe7; --basalt-soft: #a7a298;
  --step-1: #24262a;  /* one tone up from basalt, for panels on dark */
  --step-2: #d3d3cd;  /* one tone down from paper, for panels on light */

  /* the lamp: primary actions and the live marker only */
  --lamp: #ffb000;  --lamp-hover: #ffc233;  --lamp-ink: #17140f;

  /* depth colours (badges, the log column) */
  --d1: #c9aa72; --d2: #9c5a2c; --d3: #d0472b;

  /* status */
  --ok: #1f6640;  --ok-on-dark: #8fd3a5;
  --bad: #b3361f; --bad-on-dark: #f19a86;

  /* type */
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --code: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* only inside real code / data-ui terminals. taste-skill-ignore */

  /* five sizes, nothing else */
  --s-small: 0.875rem;                                  /* 14px */
  --s-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);  /* 17–19px */
  --s-lead: clamp(1.25rem, 1rem + 1.1vw, 2.125rem);     /* 20–34px: statements, sentences */
  --s-head: clamp(2.5rem, 1.2rem + 4.6vw, 5.5rem);      /* 40–88px: section headings */
  --s-display: clamp(4rem, 1rem + 10vw, 12.5rem);       /* 64–200px: h1, the one figure */

  --margin: clamp(16px, 2.2vw, 32px);
  --rail: 0px;           /* width of the fixed depth column (set ≥1100px in survey.css) */
  --gap-section: clamp(96px, 12vw, 200px);
  --radius: 0px;         /* square corners everywhere, decided once */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
