/* Hallmark · tokens for XHULLY Interactive / VIP Is an Idiot (brand colours and type taken from the game) */

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: dark light;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  /* dark is the default: it matches the game's menu and office computer */
  --color-paper: oklch(15.5% 0.018 30);
  --color-paper-2: oklch(20% 0.022 30);
  --color-paper-3: oklch(25% 0.026 30);
  --color-ink: oklch(94% 0.025 85);
  --color-ink-2: oklch(82% 0.025 80);
  --color-muted: oklch(68% 0.022 70);
  --color-rule: oklch(34% 0.03 40);
  --color-accent: oklch(66% 0.215 36);
  --color-accent-text: oklch(72% 0.19 38);
  --color-accent-ink: oklch(15.5% 0.018 30);
  --color-focus: oklch(78% 0.17 60);

  --text-xs: 0.8rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.25rem;
  --text-lg: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --text-xl: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  --text-num: clamp(3.4rem, 2rem + 6vw, 6.5rem);
  --text-title: clamp(5rem, 3rem + 10vw, 9.5rem);
  --text-slab: clamp(1.7rem, 1rem + 2.6vw, 3.2rem);
  --text-mast: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
  --text-soon: clamp(4rem, 2rem + 13vw, 11rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: clamp(5rem, 10vw, 9rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --page: 82rem;

  --border: 2px;
  --rule-hair: 1px;
  --rule-thick: 6px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 160ms;
  --dur-long: 700ms;
  --dur-sweep: 900ms;

  --z-raise: 1;
  --z-skip: 20;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-paper: oklch(95.5% 0.022 85);
    --color-paper-2: oklch(91% 0.03 82);
    --color-paper-3: oklch(86% 0.035 80);
    --color-ink: oklch(18% 0.02 40);
    --color-ink-2: oklch(32% 0.02 45);
    --color-muted: oklch(44% 0.02 50);
    --color-rule: oklch(76% 0.03 75);
    --color-accent: oklch(66% 0.215 36);
    --color-accent-text: oklch(50% 0.2 36);
    --color-accent-ink: oklch(18% 0.02 40);
    --color-focus: oklch(50% 0.2 36);
  }
}
