/* BLIS · teaser tokens — brand source: brand/07-brand-identity.md (Flash mode, night register)
   The four brand colours stay as ratified hexes; dark-stage derivatives are OKLCH in the warm family. */

:root {
  /* — colour · brand (locked) — */
  --color-paper:   #F6F1E7;                 /* Ivory Silk — type on the void */
  --color-sand:    #E8DCC8;                 /* Warm Sand — warnings/notices on dark */
  --color-ink:     #1C1917;                 /* Espresso */
  --color-accent:  #C2172C;                 /* Cherry Gloss — the patches only */
  --color-surface: #FFFFFF;                 /* functional gloss highlights */

  /* — colour · chrome (the product material, founder direction 2 Sep 2026 —
       cool greys allowed here only: chrome is the product, not a layout neutral) — */
  --chrome-hi:   #FBFBFD;
  --chrome-light:#E6E6EA;
  --chrome-mid:  #9A9AA2;
  --chrome-dark: #4F4F57;
  --chrome-deep: #35353C;

  /* — colour · night stage (derived, warm-tinted) — */
  --color-void:      oklch(14% 0.006 60);   /* the room the patch is loudest in */
  --color-void-2:    oklch(18% 0.008 60);   /* raised panels/inputs */
  --color-rule-void: oklch(48% 0.012 60);   /* input borders on void (≥3:1) */
  --color-dim:       oklch(72% 0.014 80);   /* muted copy on void (~7:1) */
  --color-focus-inv: #F6F1E7;               /* focus ring on the void */

  /* — type — */
  --font-sans:   "General Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Erode", ui-serif, Georgia, serif;   /* outlier · one role: the emotional line */

  --text-xs:   0.8rem;
  --text-sm:   0.9rem;
  --text-base: 1.0625rem;
  --text-md:   1.2rem;
  --text-tag:  clamp(1.6rem, 3.2vw + 0.7rem, 2.6rem);

  /* — space · 4pt — */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;

  /* — motion — */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 120ms;
  --dur-short: 200ms;
  --dur-long:  420ms;
  --spin-period: 22s;

  /* — shape — */
  --radius-input: 12px;
  --rule-hair: 1px;
  --page-gutter: clamp(1.25rem, 4.5vw, 2.5rem);

  /* — z — */
  --z-base: 1;
  --z-grain: 10;
}
