/* Hallmark · macrostructure: Catalogue (11) · tone: playful-alive · anchor hue: multi (pear 95 / cyan 235 / coral 18)
 * genre: playful · theme: Hum — cream paper · rounded-sans · multi-accent · push-button feedback
 * rebuild: ShinkaCore v4 — full re-skin; differs from v3 (studied-DNA dark) on paper band, display style, accent hue
 * nav: N5 floating pill · footer: Ft5 statement · seam language: dashed rules
 */

:root {
  color-scheme: dark;

  /* palette — Hum at night: same accent family, dark canvas */
  --color-paper: oklch(15% 0.012 260);           /* near-black canvas, cool tilt — never pure black */
  --color-paper-2: oklch(19% 0.012 260);
  --color-paper-3: oklch(24% 0.014 260);
  --color-ink: oklch(93% 0.012 95);              /* warm off-white */
  --color-ink-2: oklch(72% 0.012 260);
  --color-surface: oklch(19% 0.012 260);         /* card face — elevated paper */
  --color-scrim: oklch(10% 0.01 260 / 0.82);
  --color-accent: oklch(86% 0.18 95);            /* pear — primary action + character */
  --color-accent-deep: oklch(70% 0.17 95);       /* push-button colour edge */
  --color-accent-2: oklch(72% 0.16 235);         /* sky-cyan — links, hover tints */
  --color-accent-2-deep: oklch(60% 0.16 235);
  --color-accent-3: oklch(70% 0.22 18);          /* coral — the one pop moment */
  --color-mint: oklch(80% 0.16 150);             /* sparing — success, worlds */
  --color-lavender: oklch(74% 0.16 305);         /* sparing — textures */
  --color-focus: var(--color-accent-2);

  /* type — rounded humanist + mono labels, no serif anywhere */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --text-display: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  --text-heading: 1.0625rem;
  --text-body: 1rem;
  --text-body-sm: 0.875rem;
  --text-label: 0.6875rem;

  /* spacing — 4pt scale */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 28px;
  --space-2xl: 36px;
  --space-3xl: 56px;

  /* radius — the rounded theme: no square corners anywhere */
  --radius-input: 12px;
  --radius-card: 20px;
  --radius-pill: 999px;

  /* shadows — layered contact + ambient, per elevation */
  --shadow-card: 0 12px 32px -16px oklch(0% 0 0 / 0.5);
  --shadow-card-hover: 0 18px 40px -18px oklch(0% 0 0 / 0.65);
  --shadow-pill: 0 8px 24px -12px oklch(0% 0 0 / 0.6);
  --shadow-tile: 0 24px 48px -20px oklch(0% 0 0 / 0.65);

  /* motion — spring for play, snap for counters */
  --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-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;

  /* layout */
  --gutter: clamp(16px, 1rem + 1vw, 32px);
  --content-max: 1240px;
  --sidebar-w: 236px;
  --nav-h: 64px;
  --hit: 44px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-micro: 1ms;
    --dur-short: 1ms;
    --dur-long: 1ms;
  }
}
