/* Hallmark · genre: playful · macrostructure: Catalogue · theme: Hum
 * pre-emit critique: P5 H4 E5 S4 R5 V5 */
:root {
  /* paper + ink */
  --color-paper: oklch(97% 0.012 95);
  --color-paper-2: oklch(94% 0.016 95);
  --color-paper-3: oklch(91% 0.020 95);
  --color-ink: oklch(20% 0.012 250);
  --color-ink-soft: color-mix(in oklch, var(--color-ink) 88%, transparent);
  --color-ink-muted: color-mix(in oklch, var(--color-ink) 64%, transparent);
  --color-rule: oklch(88% 0.014 95);
  --color-rule-strong: oklch(78% 0.016 95);

  /* accents — pear primary, cyan secondary, coral pop */
  --color-accent: oklch(86% 0.18 95);
  --color-accent-deep: oklch(78% 0.16 95);
  --color-accent-2: oklch(66% 0.18 235);
  --color-accent-3: oklch(68% 0.24 18);
  --color-record: oklch(45% 0.18 18);
  --color-mint: oklch(80% 0.16 150);
  --color-lavender: oklch(74% 0.16 305);

  /* link + focus */
  --color-link: oklch(48% 0.15 235);
  --color-focus: oklch(45% 0.15 235);

  /* card tints — 9% at rest, 16% on hover */
  --tint-pear: oklch(86% 0.18 95 / 0.09);
  --tint-pear-strong: oklch(86% 0.18 95 / 0.16);
  --tint-cyan: oklch(66% 0.18 235 / 0.09);
  --tint-cyan-strong: oklch(66% 0.18 235 / 0.16);
  --tint-coral: oklch(68% 0.24 18 / 0.09);
  --tint-coral-strong: oklch(68% 0.24 18 / 0.16);
  --tint-mint: oklch(80% 0.16 150 / 0.09);
  --tint-mint-strong: oklch(80% 0.16 150 / 0.16);
  --tint-lavender: oklch(74% 0.16 305 / 0.09);
  --tint-lavender-strong: oklch(74% 0.16 305 / 0.16);

  /* button system */
  --btn-face: var(--color-accent);
  --btn-ink: var(--color-ink);
  --btn-edge: var(--color-accent-deep);
  --btn-cast: oklch(76% 0.2 95 / 0.45);
  --btn-line: var(--color-accent-deep);
  --shadow-btn-cast: oklch(76% 0.2 95 / 0.45);
  --shadow-btn-cast-cyan: oklch(60% 0.16 235 / 0.35);
  --shadow-btn-cast-coral: oklch(62% 0.2 18 / 0.35);
  --shadow-btn-cast-mint: oklch(72% 0.14 150 / 0.35);
  --shadow-btn-cast-lavender: oklch(68% 0.14 305 / 0.35);

  /* fonts */
  --font-display: "Plus Jakarta Sans", ui-rounded, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-rounded, system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* 4pt spacing scale */
  --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;

  /* type scale — major third */
  --text-xs: 0.6875rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.9531rem;
  --text-2xl: 2.4414rem;
  --text-3xl: 3.0518rem;
  --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);

  /* radius — Hum is the rounded theme */
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-input: 12px;

  /* easings + durations */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --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;

  /* shadows */
  --shadow-card: 0 12px 32px -16px oklch(20% 0.012 250 / 0.16);
  --shadow-card-hover: 0 18px 40px -18px oklch(20% 0.012 250 / 0.22);
  --shadow-nav: 0 8px 28px -18px oklch(20% 0.012 250 / 0.35);

  /* layout */
  --page-max: 72rem;
  --page-gutter: clamp(1rem, 4vw, 1.75rem);
  --section-gap: clamp(3.5rem, 8vw, 6rem);
  --shell: var(--page-max);

  /* z — six named levels */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
}
