/* The Clean Space Guide: design tokens. Theme: custom Enamel and Tile (OKLCH).
   Every colour, font and size used by style.css comes from this block. */
:root {
  /* paper and bands */
  --color-paper: oklch(98.4% 0.006 95);        /* porcelain page */
  --color-paper-2: oklch(95.6% 0.012 95);      /* soft card */
  --color-tile: oklch(92% 0.034 225);          /* mid-tone tile band */
  --color-tile-2: oklch(86.5% 0.05 228);       /* deeper tile */
  --color-navy: oklch(27% 0.062 255);          /* enamel navy pane */
  --color-navy-2: oklch(35% 0.07 254);         /* raised navy */
  --color-navy-line: oklch(46% 0.07 252);      /* hairline on navy */
  /* ink */
  --color-ink: oklch(24% 0.038 255);
  --color-ink-dim: oklch(42% 0.03 255);
  --color-on-navy: oklch(97% 0.008 95);
  --color-on-navy-dim: oklch(84% 0.025 240);
  /* accent */
  --color-accent: oklch(46% 0.15 248);         /* cerulean on paper */
  --color-accent-2: oklch(38% 0.14 250);       /* pressed */
  --color-accent-bright: oklch(80% 0.12 232);  /* cerulean on navy */
  --color-accent-wash: oklch(94% 0.03 235);
  --color-line: oklch(83% 0.022 240);
  --color-focus: oklch(62% 0.18 248);
  /* svg fills */
  --svg-soil: oklch(62% 0.045 70);
  --svg-soil-dim: oklch(78% 0.04 75);
  --svg-glass: oklch(88% 0.05 225);
  --svg-water: oklch(72% 0.11 232);
  --svg-foam: oklch(96% 0.02 220);
  --svg-metal: oklch(70% 0.02 250);

  /* type */
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --text-xs: 0.78rem;
  --text-s: 0.9rem;
  --text-m: 1.0625rem;
  --text-l: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 4vw, 4.6rem);
  --leading-tight: 1.1;
  --leading-body: 1.62;

  /* space and shape */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --space-3xl: 8rem;
  --radius-s: 4px;
  --radius-m: 10px;
  --border-w: 3px;
  --page-max: 80rem;
  --nav-h: 3.5rem;
  --pane-w: 22rem;
  --measure: 40rem;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 260ms;
  --z-nav: 50;
  --z-menu: 49;
}
