/* Seam and Seal tokens. Theme: Cutting Mat and Chalk (custom OKLCH). All colour and type lives here. */
:root {
  --font-display: "Sora", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-body: "Vollkorn", "Iowan Old Style", Georgia, serif;
  --font-mono: "B612 Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* mat (page ground), sheets, ink */
  --mat: oklch(90% 0.036 160);
  --mat-line: oklch(84.5% 0.05 160);
  --mat-line-strong: oklch(78% 0.06 163);
  --mat-deep: oklch(80% 0.055 165);
  --sheet: oklch(98.7% 0.008 150);
  --sheet-2: oklch(95.4% 0.016 155);
  --sheet-3: oklch(91.5% 0.03 158);
  --ink: oklch(24% 0.042 215);
  --ink-dim: oklch(41% 0.036 215);
  --teal: oklch(40% 0.088 195);
  --teal-soft: oklch(88% 0.05 192);
  --chalk: oklch(60% 0.185 28);
  --chalk-ink: oklch(46% 0.165 28);
  --chalk-soft: oklch(93% 0.045 30);
  --night: oklch(21.5% 0.032 215);
  --night-2: oklch(29% 0.038 215);
  --night-3: oklch(38% 0.04 212);
  --night-ink: oklch(94% 0.014 160);
  --night-dim: oklch(78% 0.03 190);

  /* type scale (fluid) */
  --text-xs: 0.78rem;
  --text-sm: 0.9rem;
  --text-md: clamp(1.08rem, 1.02rem + 0.28vw, 1.2rem);
  --text-lg: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
  --text-2xl: clamp(2.05rem, 1.5rem + 2.6vw, 3.5rem);

  /* spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;

  --bar-h: 3.5rem;
  --edge: 2.75rem;
  --grid: 1.5rem;
  --hard: 2px;
}
