/* Design tokens – "Nordic cabin": linen, sage and lingonberry. Light, cosy cards floating over the dark 3D scene. */
:root {
  /* scene (dark, behind the UI) */
  --bg: #0d1513;
  --on-scene: #f7f2e8;
  --on-scene-muted: #c9c3b6;

  /* cards & surfaces (light) */
  --surface: rgba(248, 244, 236, 0.94);
  --surface-solid: #f8f4ec;
  --surface-2: #efe8db;
  --surface-3: #e6dccb;
  --line: rgba(36, 48, 44, 0.12);
  --line-strong: rgba(36, 48, 44, 0.22);

  /* text on surfaces */
  --text: #23302b;
  --muted: #5d6a63;
  --faint: #8b948e;

  /* paper (Hank's letters) */
  --paper: #fbf6ea;
  --paper-2: #f1e6cf;
  --ink: #2b2a3a;
  --ink-muted: #625e70;

  /* accents */
  --accent: #a8324a;        /* lingonberry */
  --accent-hi: #bf4560;
  --accent-soft: rgba(168, 50, 74, 0.1);
  --accent-contrast: #ffffff;
  --sage: #6e8f7b;
  --sage-soft: rgba(110, 143, 123, 0.16);
  --honey: #e0a93b;
  --honey-soft: rgba(224, 169, 59, 0.2);
  --danger: #c0392b;
  --gold: #e0a93b;

  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;

  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --fs-lg: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --fs-xl: clamp(1.55rem, 1.35rem + 0.9vw, 2rem);
  --fs-2xl: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --fs-3xl: clamp(2.7rem, 1.9rem + 4.2vw, 5.4rem);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px;
  --shadow-card: 0 24px 60px -18px rgba(5, 12, 10, 0.55), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  --shadow-soft: 0 6px 18px -8px rgba(5, 12, 10, 0.35);
  --shadow-paper: 0 18px 40px -14px rgba(5, 12, 10, 0.5);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: 180ms; --dur-2: 360ms; --dur-3: 720ms;
}
