/* TGK tokens. Accent = the green of the TGK logo (#7FC349 on the old site). */
:root {
  /* Night: deep slate built on the TGK logo grey #404853 (CGP, the "GK" of the logo).
     Background is the same hue, deeper; cards step up towards the logo grey; hairlines ARE the logo grey. */
  --color-brand-grey: #404853;
  --color-paper: #262b32;
  --color-paper-2: #2e343c;
  --color-paper-3: #373e47;
  --color-ink: #f3f2ee;
  --color-ink-2: #b8bfc8;
  --color-rule: #404853;

  /* Day: cool off-white in the same slate family */
  --color-day: #f3f4f5;
  --color-day-2: #e8ebee;
  --color-day-3: #dde1e6;
  --color-day-ink: #262b32;
  --color-day-ink-2: #4e5764;
  --color-day-rule: #cdd3da;

  /* One accent. Arc colours exist only as light from the weld. */
  --color-accent: oklch(75% 0.17 135);
  --color-accent-deep: oklch(46% 0.13 138);
  --color-accent-ink: oklch(20% 0.03 140);
  --color-focus: oklch(78% 0.20 135);
  --color-arc-hot: oklch(97% 0.05 95);
  --color-arc: oklch(82% 0.16 70);
  --color-ember: oklch(64% 0.20 40);
  --color-error: oklch(58% 0.19 28);
  --color-scrim: rgb(38 43 50 / 0.88);

  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 0.5vw + 1.05rem, 1.3125rem);
  --text-xl: clamp(1.375rem, 1vw + 1.2rem, 1.75rem);
  --text-2xl: clamp(1.75rem, 2.4vw + 1.2rem, 3rem);
  --text-3xl: clamp(2.1rem, 4vw + 1.2rem, 4.5rem);
  --text-display: clamp(2.05rem, 8.4vw + 0.3rem, 6.75rem);
  --text-display-s: clamp(2rem, 6.4vw + 0.5rem, 5rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: clamp(5rem, 9vw, 9rem);

  --gutter: clamp(1rem, 4vw, 4rem);
  --seam-room: clamp(1.5rem, 3vw, 3.5rem);
  --measure: 62ch;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --z-seam: 2;
  --z-content: 3;
  --z-sparks: 8;
  --z-nav: 10;
}
