/* Hallmark · tokens · theme: Hum
 * paper band: light (L 97%, cream pulled toward pear ~95°)
 * display style: rounded-sans (Plus Jakarta Sans)
 * accent hue: multi (pear H95 · cyan H235 · coral H18)
 */

: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-2:      oklch(42% 0.014 250);
  --color-rule:       oklch(86% 0.014 95);

  /* ── Accents. Each owns its own surface; never blended. ──── */
  --color-accent:        oklch(86% 0.18 95);    /* pear — primary action, the character mark */
  --color-accent-deep:   oklch(76% 0.20 95);    /* pear button edge */
  --color-accent-wash:   oklch(96% 0.06 95);    /* pear section band */
  --color-accent-2:      oklch(66% 0.18 235);   /* cyan — surfaces, tints */
  --color-link:          oklch(50% 0.16 235);   /* cyan deep enough to carry text (~5.5:1 on paper) */
  --color-accent-2-wash: oklch(95% 0.035 235);  /* cyan section band */
  --color-accent-3:      oklch(68% 0.24 18);    /* coral — one high-energy moment per page */
  --color-accent-3-deep: oklch(47% 0.19 18);    /* coral dark enough to carry 12px text */
  --color-warning-wash:   oklch(68% 0.24 18 / 0.10);
  --color-accent-ink:     var(--color-ink);
  --color-accent-glow:    oklch(76% 0.20 95 / 0.40);
  --color-highlight:      oklch(86% 0.18 95 / 0.55);
  --color-accent-ring:    oklch(86% 0.18 95 / 0.28);
  --color-mint:          oklch(80% 0.16 150);
  --color-lavender:      oklch(74% 0.16 305);
  --color-focus:         oklch(45% 0.18 235);

  /* ── Type ────────────────────────────────────────────────── */
  /* Rounded humanist, per Hum — Figtree rather than the theme's named Plus Jakarta Sans,
     which the app already uses and which now reads as an AI default. */
  --font-display: "Figtree", ui-rounded, system-ui, sans-serif;
  --font-body:    "Figtree", ui-rounded, system-ui, sans-serif;
  --font-label:   "JetBrains Mono", ui-monospace, monospace;

  --text-display: clamp(2.6rem, 6vw + 0.5rem, 5.25rem);
  --text-3xl:     clamp(2rem, 3.5vw + 0.5rem, 3.25rem);
  --text-2xl:     clamp(1.5rem, 1.6vw + 1rem, 2rem);
  --text-xl:      1.375rem;
  --text-lg:      1.125rem;
  --text-md:      1rem;
  --text-sm:      0.875rem;
  --text-xs:      0.75rem;

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

  --page-max:    72rem;
  --page-gutter: clamp(1.25rem, 5vw, 4rem);
  --rail-w:      3.25rem;

  /* ── Shape ───────────────────────────────────────────────── */
  --radius-card:  20px;
  --radius-input: 12px;
  --radius-pill:  999px;
  --rule-hair:    1px;

  /* ── 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-snap:   cubic-bezier(0.22, 1, 0.36, 1);  /* reveals, card lift, counter arrival */
  --ease-press:  cubic-bezier(0.2, 0.7, 0.3, 1);  /* the button press */

  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  /* ── Elevation (contact + ambient, varied by level) ──────── */
  --shadow-lift:  0 2px 4px -2px oklch(20% 0.012 250 / 0.10), 0 14px 34px -18px oklch(20% 0.012 250 / 0.22);
  --shadow-flat:  0 1px 2px -1px oklch(20% 0.012 250 / 0.08);
  --shadow-button: 0 4px 0 0 var(--color-accent-deep), 0 6px 12px -3px var(--color-accent-glow);

  /* ── Z ───────────────────────────────────────────────────── */
  --z-base:   1;
  --z-raised: 10;
  --z-sticky: 200;
}
