/* Hallmark tokens · theme: Hum · genre: playful · paper light / rounded-sans / multi-accent */

:root {
  /* Paper + ink (Hum calibration — cream, never pure white; ink never pure black) */
  --color-paper: oklch(97% 0.012 95);
  --color-paper-2: oklch(94% 0.016 95);
  --color-paper-3: oklch(91% 0.02 95);
  --color-ink: oklch(20% 0.012 250);
  --color-ink-2: oklch(34% 0.01 250);
  --color-muted: oklch(48% 0.009 95);
  --color-rule: oklch(84% 0.012 95);
  --color-rule-soft: oklch(88% 0.01 95);

  /* Hum multi-accent — each owns its own surface, never blended */
  --color-accent: oklch(86% 0.18 95);
  --color-accent-deep: oklch(62% 0.14 95);
  --color-accent-2: oklch(66% 0.18 235);
  --color-accent-2-deep: oklch(48% 0.14 240);
  --color-accent-3: oklch(68% 0.24 18);
  --color-accent-3-deep: oklch(50% 0.18 20);
  --color-mint: oklch(80% 0.16 150);
  --color-mint-deep: oklch(52% 0.12 155);
  --color-lavender: oklch(74% 0.16 305);
  --color-lavender-deep: oklch(50% 0.13 305);

  /* Button edge + cast shadows — named so no mid-render values exist */
  --color-btn-cast-pear: oklch(76% 0.2 95 / 0.45);
  --color-btn-cast-cyan: oklch(66% 0.18 235 / 0.35);
  --color-btn-edge-ink: oklch(12% 0.01 250);
  --color-btn-cast-ink: oklch(20% 0.012 250 / 0.3);

  /* Tints — low-opacity washes, one accent per surface */
  --color-btn-cast-pear: oklch(76% 0.2 95 / 0.45);
  --color-btn-cast-cyan: oklch(66% 0.18 235 / 0.35);
  --color-btn-edge-ink: oklch(12% 0.01 250);
  --color-btn-cast-ink: oklch(20% 0.012 250 / 0.3);
  --color-tint-pear: oklch(95% 0.03 95);
  --color-tint-cyan: oklch(94% 0.025 235);
  --color-tint-coral: oklch(94% 0.03 20);
  --color-tint-mint: oklch(94% 0.025 150);
  --color-focus: oklch(55% 0.16 240);

  /* Type */
  --font-display: "Plus Jakarta Sans", "Geist", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Geist", system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, monospace;

  /* Type scale — major third */
  --text-xs: 0.64rem;
  --text-sm: 0.8rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-4xl: 3.8147rem;
  --text-display-s: clamp(2rem, 3.4vw + 1rem, 3.4rem);
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);

  /* Space — 4pt */
  --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;

  /* Shape — Hum is the rounded theme, no square corners */
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;
  --rule-hair: 1px;

  /* Shell — one width model, every section obeys it */
  --page-max: 72rem;
  --page-gutter: clamp(1rem, 4vw, 1.5rem);
  --section-gap: var(--space-2xl);

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

  /* Depth — layered contact + ambient, varied by elevation */
  --shadow-card: 0 12px 32px -16px oklch(20% 0.012 250 / 0.12);
  --shadow-card-hover: 0 18px 44px -16px oklch(20% 0.012 250 / 0.18);
  --shadow-neu: 8px 8px 20px oklch(20% 0.012 250 / 0.1), -8px -8px 20px oklch(97% 0.012 95 / 0.9);
  --shadow-neu-inset: inset 4px 4px 10px oklch(20% 0.012 250 / 0.08), inset -4px -4px 10px oklch(97% 0.012 95 / 0.9);

  /* Z scale */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}
