/* Nebula tokens — the only place a color, size or duration is written down.
   Single light theme by decision (docs/design/visual-language.md §Light only).
   Every ratio below was computed, not estimated; re-run scripts/contrast.mjs after any change. */

:root {
  /* ── Warm ground ─────────────────────────────────────────── */
  --field:      #FFF9F3;  /* page */
  --band:       #F4ECE3;  /* section bands — controls never sit directly on it (rule-firm 2.90) */
  --surface:    #FFFFFF;  /* cards, panels */

  --ink:        #5E4A3F;  /* body — 7.95 field · 8.31 surface · 7.10 band */
  --ink-strong: #3F2F27;  /* headings — 12.20 field */
  --ink-soft:   #7D685C;  /* meta — 5.02 field · 5.24 surface */

  --rule:       #E8D6C4;  /* decorative hairlines only */
  --rule-firm:  #A3866E;  /* control borders — 3.25 field · 3.39 surface */

  --action:     #0D6E74;  /* the one loud color — white on it 6.00 · as link 5.74 */
  --action-hover: #0A5B60;
  --on-action:  #FFFFFF;
  --focus:      #2F6FB0;  /* 5.00 field */
  --danger:     #A8442F;  /* 5.69 field */

  --star-faint: #C9B6A6;  /* background starfield — decorative */

  /* ── Pink is you. Reserved for the traveler; never used for anything else. ── */
  --you-tint:   #F7D6E0;  /* ink on it 6.19 */
  --you:        #D0577F;  /* marks — 3.76 field · 3.92 surface */
  --you-deep:   #9E3459;  /* text 6.51 field · 5.07 on you-tint · white on it 6.80 (was #B23F68: 4.11 on tint) */

  /* ── Terrain: green → blue is the artisan ↔ corporate axis ──
     "Deepening" (2026-10-16, docs/design/terrain-study.html): hue widens olive → cobalt and
     lightness steps down toward the boardroom, so neighbouring teams sit 9.4–11.4 ΔE apart
     (marks) and 4.4–5.3 (tints), up from 4.0–7.3 and 1.5–3.1. Stays inside blues and greens. */
  --moss-tint:  #EAF5C2;  --moss:  #839600;  --moss-deep:  #667500;  /* bench / production — olive */
  --mint-tint:  #C2F4D4;  --mint:  #08A160;  --mint-deep:  #02814B;  /* craft specialists — green */
  --aqua-tint:  #AAEDE6;  --aqua:  #078A82;  --aqua-deep:  #03766F;  /* design & engineering — teal */
  --sky-tint:   #A7DFF9;  --sky:   #026F90;  --sky-deep:   #025C79;  /* market & culture — ocean */
  --peri-tint:  #B7CEFB;  --peri:  #264BA4;  --peri-deep:  #1A3B8B;  /* brand & corporate — cobalt */

  /* The axis, as a gradient. Used only where it carries the axis itself. */
  --terrain: linear-gradient(90deg, var(--moss) 0%, var(--mint) 25%, var(--aqua) 50%, var(--sky) 75%, var(--peri) 100%);
  --terrain-soft: linear-gradient(90deg, var(--moss-tint), var(--mint-tint), var(--aqua-tint), var(--sky-tint), var(--peri-tint));
  /* The whole nebula: terrain plus you. Travel sweep and the name mark. */
  --spectrum: linear-gradient(90deg, var(--moss), var(--mint), var(--aqua), var(--sky), var(--peri), var(--you));

  /* ── Type ───────────────────────────────────────────────── */
  --sans:    "Montserrat", "Avenir Next", system-ui, sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --t1: 12px;  --t2: 13px;  --t3: 15px;  --t4: 16px;  --t5: 19px;
  --t6: 24px;  --t7: 32px;  --t8: clamp(40px, 6.4vw, 72px);
  --lh-body: 1.6;
  --lh-tight: 1.15;

  /* ── Space & shape ──────────────────────────────────────── */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --petal: 20px;          /* Peach's leaf corner: two square, two round */
  --petal-lg: 36px;
  --pill: 999px;
  --wrap: 1180px;
  --measure: 62ch;
  --header-h: 64px;

  /* ── Motion ─────────────────────────────────────────────── */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-quick: 180ms;
  --t-travel: 520ms;
  --t-settle: 700ms;
}
