/* ==============================================
   DESIGN TOKENS
   All CSS custom properties live here.
   Change the theme by editing this file only.
   ============================================== */

:root {
  /* ── Colors ── */
  --sky:          #b8d9f0;  /* soft daytime sky */
  --sky-horizon:  #dff0d8;  /* lighter horizon */
  --parchment:    #f5ead0;  /* letter paper */
  --parchment-dk: #e8d5b0;  /* slightly darker parchment */
  --grass:        #7fad6e;  /* mid grass */
  --grass-dark:   #4e8040;  /* foreground grass */
  --grass-light:  #a8cc8a;  /* highlight grass */
  --tree:         #5a8a4a;  /* tree fill */
  --tree-dark:    #3d6b32;  /* tree shadow */
  --fg:           #2c1810;  /* dark brown ink (main text) */
  --fg-light:     #4a2f22;  /* slightly lighter ink */
  --muted:        #7a6a55;  /* warm muted brown */
  --accent:       #8fba6b;  /* sage green accent */
  --warm:         #e8a86e;  /* warm amber */
  --warm-light:   #f5c990;  /* lighter amber */
  --wax:          #b5341a;  /* wax seal red */
  --wax-light:    #d4502e;  /* wax seal highlight */
  --rabbit:       #c8aa88;  /* rabbit fur */
  --cloud:        #f0f8ff;  /* cloud white */
  --shadow:       rgba(44, 24, 16, 0.15);

  /* ── Typography ── */
  --font-hand: 'Dancing Script', cursive;
  --font-body: 'Lora', Georgia, serif;
  --font-ui:   system-ui, -apple-system, sans-serif;

  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-md:  1rem;
  --text-lg:  1.25rem;
  --text-xl:  1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  /* ── Spacing scale ── */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  16px;
  --sp-4:  24px;
  --sp-5:  40px;
  --sp-6:  64px;

  /* ── Border radius ── */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:  0 2px 8px var(--shadow);
  --shadow-md:  0 6px 24px var(--shadow);
  --shadow-lg:  0 16px 48px rgba(44, 24, 16, 0.2);

  /* ── Motion ── */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-gentle: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  --dur-fast:   200ms;
  --dur-med:    500ms;
  --dur-slow:   1200ms;
  --dur-xslow:  2400ms;
}

/* Respect system motion preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast:  0ms;
    --dur-med:   0ms;
    --dur-slow:  0ms;
    --dur-xslow: 0ms;
  }
}
