/* ─── Design tokens — Your Mind Retreat ──────────────────────────────────────
   Colours: only the Customizer-backed variables (printed by
   wps_inline_styles()) and color-mix() derivations of them. The literal
   values directly under :root are the fallback for before that inline
   <style> prints — they equal the seeded defaults.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Base colours (Customizer) */
  --primary-color: #a63d2f;
  --secondary-color: #d9822b;
  --text-color: #2b2a33;
  --text-muted: #5e5a55;
  --bg-light: #efe5d5;
  --bg-color: #f4ede1;
  --surface-color: #fbf7f0;
  --border-color: #e2d6c3;
  --positive-color: #3e5641;
  --negative-color: #b23b2e;

  /* Stamp inks (Customizer) */
  --ink-green: #3e5641;
  --ink-teal: #1f6b6b;
  --ink-indigo: #3b3f8c;
  --ink-ocean: #1f4e8c;

  /* Fonts (Customizer, printed by wps_inline_styles()) */
  --title-font: 'Cormorant Garamond', Georgia, serif;
  --text-font: 'Manrope', system-ui, sans-serif;
  --hand-font: 'Caveat', cursive;

  /* ─── Derived ─── */
  --ink: var(--text-color);
  --muted: var(--text-muted);
  --paper: var(--bg-color);
  --paper-alt: var(--bg-light);
  --card: var(--surface-color);
  --card-white: color-mix(in srgb, var(--surface-color) 45%, white);   /* polaroids, fields */
  --line: var(--border-color);
  --line-strong: color-mix(in srgb, var(--border-color) 88%, var(--text-color));  /* pill borders */
  --line-dash: color-mix(in srgb, var(--border-color) 94%, var(--text-color));    /* journal rules */
  --ruled: color-mix(in srgb, var(--border-color) 45%, var(--surface-color));     /* ruled paper lines */

  --red: var(--primary-color);
  --red-dark: color-mix(in srgb, var(--primary-color) 78%, black);
  --saffron: var(--secondary-color);
  --saffron-dark: color-mix(in srgb, var(--secondary-color) 70%, black);
  --saffron-hover: color-mix(in srgb, var(--secondary-color) 90%, black);
  --saffron-light: color-mix(in srgb, var(--secondary-color) 50%, white);
  --tape: color-mix(in srgb, var(--secondary-color) 30%, transparent);

  --deep: var(--ink-green);
  --on-deep: var(--bg-color);
  --on-deep-muted: color-mix(in srgb, var(--ink-green) 18%, var(--bg-color));
  --on-dark-muted: color-mix(in srgb, var(--bg-color) 75%, var(--text-color));
  --dark-line: color-mix(in srgb, var(--text-color) 85%, white);

  --shadow-soft: 0 6px 20px color-mix(in srgb, var(--text-color) 6%, transparent);
  --shadow-photo: 0 1px 2px color-mix(in srgb, var(--text-color) 12%, transparent), 0 8px 24px color-mix(in srgb, var(--text-color) 8%, transparent);
  --shadow-lift: 0 20px 60px color-mix(in srgb, var(--text-color) 8%, transparent);

  /* Shape */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Spacing rhythm */
  --section-pad: 64px;
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 56px;

  /* Motion */
  --hover-duration: 0.25s;
  --timing: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 992px) {
  :root {
    --section-pad: 88px;
  }
}
