/* ─────────────────────────────────────────────────────────────
   SONARIS — tokens
   The single source of truth. No class selectors in this file.
   ───────────────────────────────────────────────────────────── */

:root {
  color-scheme: light;

  /* ── surface ─────────────────────────────────────────────── */
  --paper: #fdfdfc;      /* page, default light surface          */
  --wash: #f5f4f0;       /* recessed block, image plate          */
  --hair: #e4e3dd;       /* 1px rule, default divider            */
  --hair-2: #efeee9;     /* 1px rule, inside a panel             */

  /* ── ink ─────────────────────────────────────────────────── */
  --ink: #121212;        /* body text, solid fills               */
  --ink-2: #45453f;      /* secondary text                       */
  --ink-3: #6f6f68;      /* tertiary text / small labels (4.97)  */
  --ink-4: #8c8c84;      /* decorative only, never text          */

  /* ── screen (dark panel, not a theme) ────────────────────── */
  --dark: #0c1712;
  --dark-2: #101d17;
  --dark-3: #16281f;
  --mint: #a2ffc0;       /* the only accent, only on dark        */
  --mint-dim: #6d9f80;   /* labels on dark (5.10 on --dark-3)    */
  --mint-line: #35553f;  /* hairlines inside a dark panel        */

  /* ── state ───────────────────────────────────────────────── */
  --field-line: #86867f; /* input border, 3.60 on paper, 3.33 on wash */
  --field-line-dark: #6d9f80; /* input border on dark, 5.10      */
  --focus: #121212;      /* focus ring on light                  */
  --focus-dark: #a2ffc0; /* focus ring on dark                   */
  --danger: #a4262c;     /* error text, 6.9:1 on paper           */
  --danger-dim: #ff9a9a; /* error text on dark                   */
  --ok: #2f6b45;
  --warn: #8a5a00;       /* amber for "degraded", 4.6:1 on paper */
  --ok-dim: #a2ffc0;

  /* ── ramps (read by motion.js) ───────────────────────────── */
  --ramp-bars: " ▁▂▃▄▅▆▇█";
  --ramp-dots: " .:-=+*#%@";
  --ramp-fill: "·░▒▓█";

  /* ── type ────────────────────────────────────────────────── */
  --mono: "Basis33", "SFMono-Regular", "Cascadia Mono", "JetBrains Mono",
    "IBM Plex Mono", "DejaVu Sans Mono", Consolas, "Liberation Mono", Menlo,
    monospace;

  --fs-10: 10px;  /* uppercase labels only, with tracking        */
  --fs-11: 11px;  /* floor for running text                      */
  --fs-12: 12px;
  --fs-13: 13px;  /* body                                        */
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-44: 44px;

  --lh-tight: 1.1;
  --lh-body: 1.6;
  --lh-loose: 1.75;

  --track-label: 0.18em;
  --track-word: 0.3em;

  /* ── space ───────────────────────────────────────────────── */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;

  /* ── layout ──────────────────────────────────────────────── */
  --w-page: 1320px;
  --w-text: 66ch;
  --w-narrow: 46ch;
  --gutter: 40px;

  /* ── layers ──────────────────────────────────────────────── */
  --z-base: 0;
  --z-sticky: 40;
  --z-overlay: 80;
  --z-toast: 120;

  /* ── geometry ────────────────────────────────────────────── */
  --radius: 0;           /* there is no other value              */
  --hairline: 1px;
}

/* One breakpoint pair for every page. Use these in media queries:
   @media (max-width: 1100px)  — tablet
   @media (max-width: 720px)   — phone                                   */
