/* Hallmark · tokens for SHIYU LAB (shiyudo) · theme: custom "laboratory" (light / grotesk-sans / cool) */
:root {
  /* paper / ink — cold, clinical */
  --color-paper: oklch(97.5% 0.002 240);
  --color-paper-2: oklch(95% 0.004 240);
  --color-paper-3: oklch(92% 0.006 240);
  --color-ink: oklch(23% 0.012 255);
  --color-ink-2: oklch(23% 0.012 255 / 0.72);
  --color-ink-3: oklch(23% 0.012 255 / 0.5);
  --color-line: oklch(23% 0.012 255 / 0.14);
  --color-line-strong: oklch(23% 0.012 255 / 0.35);
  --grid-line: oklch(23% 0.012 255 / 0.035);

  /* single cold accent + status colors */
  --color-accent: oklch(52% 0.13 235);       /* steel blue */
  --color-accent-deep: oklch(42% 0.12 235);
  --color-accent-tint: oklch(52% 0.13 235 / 0.08);
  --color-ok: oklch(50% 0.12 155);
  --color-warn: oklch(55% 0.18 25);
  --color-focus: oklch(52% 0.13 235);

  /* instrument readout (dark panel) */
  --color-readout: oklch(22% 0.015 250);
  --color-readout-text: oklch(84% 0.04 235);

  /* type */
  --font-display: "Space Grotesk", "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-label: "IBM Plex Mono", ui-monospace, monospace;

  --text-xs: 0.72rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-md: 1.15rem;
  --text-lg: 1.4rem;
  --text-xl: 1.8rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.3rem);
  --text-display-s: clamp(2rem, 1.4rem + 3vw, 3.2rem);
  --text-display: clamp(2.3rem, 1.5rem + 4vw, 4.2rem);

  /* space — 4pt scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;
  --space-3xl: 112px;

  /* shell */
  --page-max: 1120px;
  --page-gutter: clamp(16px, 4vw, 32px);
  --shell: var(--page-max);

  /* radii — tight, technical */
  --radius-card: 6px;
  --radius-input: 4px;
  --radius-pill: 6px;

  /* motion — calm, precise */
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-mid: 200ms;
  --dur-slow: 500ms;
}
