/* Hallmark design tokens · The Public Office */
:root {
  --color-paper: oklch(97% 0.012 95);
  --color-paper-2: oklch(93% 0.028 95);
  --color-paper-3: oklch(89% 0.042 95);
  --color-paper-blue: oklch(91% 0.055 222);
  --color-paper-red: oklch(92% 0.040 25);
  --color-ink: oklch(20% 0.014 250);
  --color-ink-soft: oklch(37% 0.018 250);
  --color-rule: oklch(72% 0.018 250);
  --color-rule-strong: oklch(27% 0.016 250);
  --color-accent: oklch(86% 0.18 95);
  --color-accent-deep: oklch(66% 0.16 83);
  --color-accent-ink: oklch(20% 0.014 250);
  --color-accent-2: oklch(68% 0.17 225);
  --color-accent-2-deep: oklch(49% 0.15 230);
  --color-accent-3: oklch(57% 0.22 25);
  --color-accent-3-deep: oklch(43% 0.18 25);
  --color-mint: oklch(81% 0.13 156);
  --color-success: oklch(47% 0.14 155);
  --color-error: oklch(52% 0.19 25);
  --color-focus: oklch(43% 0.18 260);
  --color-shadow: oklch(20% 0.014 250 / 0.18);
  --color-shadow-soft: oklch(20% 0.014 250 / 0.10);
  --color-district-sky: oklch(80% 0.11 228);
  --color-district-haze: oklch(92% 0.035 91);
  --color-district-sign: oklch(22% 0.052 159 / 0.94);
  --color-district-navy: oklch(28% 0.072 248 / 0.94);
  --color-district-sign-ink: oklch(92% 0.13 91);
  --color-district-glass: oklch(84% 0.07 225 / 0.22);
  --color-district-seam: oklch(23% 0.025 250 / 0.72);

  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  --font-label: "Plus Jakarta Sans", "Trebuchet MS", sans-serif;
  --font-outlier: "JetBrains Mono", "Lucida Console", monospace;

  --space-3xs: 0.125rem;
  --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;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.953rem;
  --text-2xl: 2.441rem;
  --text-3xl: 3.052rem;
  --text-4xl: 3.815rem;
  --text-display: clamp(3rem, 7vw, 5.25rem);
  --text-display-small: clamp(2.35rem, 5vw, 4rem);

  --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);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  --rule-hair: 1px;
  --rule-medium: 2px;
  --rule-heavy: 4px;
  --radius-input: 0.75rem;
  --radius-card: 1.25rem;
  --radius-pill: 999px;

  --page-max: 90rem;
  --page-gutter: clamp(1rem, 4vw, 4rem);
  --room-max: 75rem;
  --sprite-street-width: 4.5rem;
  --sprite-street-height: 15.25rem;
  --clerk-sheet-w: 1808;
  --clerk-sheet-h: 870;
  --clerk-frames: 6;
  --sprite-room-height: 27rem;
  --sprite-room-width: calc(var(--sprite-room-height) * var(--clerk-sheet-w) / var(--clerk-sheet-h) / var(--clerk-frames));
  --sprite-room-atlas-width: calc(var(--sprite-room-height) * var(--clerk-sheet-w) / var(--clerk-sheet-h));
  --district-panel-height: calc(100vh - 2rem);
  --district-ground-height: clamp(5.5rem, 10vh, 6.5rem);
  --district-player-height: clamp(20rem, 42vh, 36rem);
  --district-player-width: calc(var(--district-player-height) * 0.40);
  --district-npc-height: calc(var(--district-player-height) * 0.72);
  --district-npc-width: calc(var(--district-npc-height) * var(--clerk-sheet-w) / var(--clerk-sheet-h) / var(--clerk-frames));
  --district-actor-height: var(--district-npc-height);
  --district-actor-width: var(--district-npc-width);
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}
