/* RD Psychology design tokens. Brand v2 (First Person, Edition 1.0), 16 Nov 2026.
   Palette from brand-v2/brand-guidelines.pdf p9: plum ink, mulberry, rose clay, warm paper, body charcoal.
   Contrast pairs (WCAG): plum on paper 11.1:1, white on mulberry 9.7:1, charcoal on white 15.4:1.
   Rose clay is for quote rules and accents only, never essential text. */
:root{
  --plum-ink: #482536;
  --mulberry: #702E43;
  --rose-clay: #D8A08E;
  --warm-paper: #F4EAE0;
  --body-charcoal: #272427;

  --neutral-0: #FFFFFF;
  --neutral-50: #FBF7F3;
  --neutral-100: #F4EAE0;
  --neutral-200: #E8DCD3;
  --neutral-300: #D6C7BC;
  --neutral-400: #A8979D;
  --neutral-500: #8A7A80;
  --neutral-600: #5C5157;
  --neutral-700: #43383D;
  --neutral-800: #322A2E;
  --neutral-900: #272427;
  --color-bg: #FFFFFF;
  --color-surface: #FBF7F3;
  --color-surface-sunken: #F4EAE0;
  --color-border: #E3D5CA;
  --color-border-strong: #8A7A80;
  --color-rule: #D9C9BE;
  --color-text-muted: #5C5157;
  --color-text-inverse: #FFFFFF;
  --color-surface-inverse: #482536;
  --color-success: #2F5E3F;
  --color-success-bg: #EEF4EF;
  --color-warning: #7A4A12;
  --color-warning-bg: #FBF3E6;
  --color-error: #9E2A2B;
  --color-error-bg: #FBEDEC;
  --color-info: #3C4F66;
  --color-info-bg: #EEF2F6;

  --font-heading: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 120px;
  /* Heading-to-body and eyebrow-to-heading gaps (Pete, 17 Nov 2026). One value per level; same on mobile. */
  --space-eyebrow: var(--space-5);
  --space-heading-h1: var(--space-5);
  --space-heading-h2: var(--space-5);
  --space-heading-h3: var(--space-5);
  --gutter: 24px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-xl: 2px;
  --radius-pill: 2px;
  --shadow-sm: none;
  --shadow-md: 0 1px 3px rgba(39,36,39,.12);
  --shadow-lg: 0 8px 28px rgba(39,36,39,.16);
  --measure: 68ch;
  --container: 1200px;
  --duration: 150ms;
  --ease: ease;

  /* Public page type, guide p11: heading 48/52 px, body 18/27 px */
  --text-h1-size: 3rem;
  --text-h1-size-mobile: 2.25rem;
  --text-h1-line-height: 3.25rem;
  --text-h1-weight: 400;
  --text-h1-tracking: 0;
  --text-h2-size: 2.5rem;
  --text-h2-size-mobile: 2rem;
  --text-h2-line-height: 1.15;
  --text-h2-weight: 400;
  --text-h2-tracking: 0;
  --text-h3-size: 2rem;
  --text-h3-size-mobile: 1.75rem;
  --text-h3-line-height: 1.2;
  --text-h3-weight: 400;
  --text-h3-tracking: 0;
  --text-h4-size: 1.625rem;
  --text-h4-size-mobile: 1.5rem;
  --text-h4-line-height: 1.25;
  --text-h4-weight: 400;
  --text-h4-tracking: 0;
  --text-h5-size: 1.375rem;
  --text-h5-size-mobile: 1.25rem;
  --text-h5-line-height: 1.3;
  --text-h5-weight: 400;
  --text-h5-tracking: 0;
  --text-h6-size: 1rem;
  --text-h6-size-mobile: 1rem;
  --text-h6-line-height: 1.4;
  --text-h6-weight: 600;
  --text-h6-tracking: 0;
  --text-body-l-size: 1.1875rem;
  --text-body-l-size-mobile: 1.125rem;
  --text-body-l-line-height: 1.5;
  --text-body-l-weight: 400;
  --text-body-l-tracking: 0;
  --text-body-size: 1.125rem;
  --text-body-size-mobile: 1.0625rem;
  --text-body-line-height: 1.5;
  --text-body-weight: 400;
  --text-body-tracking: 0;
  --text-small-size: 0.9375rem;
  --text-small-size-mobile: 0.9375rem;
  --text-small-line-height: 1.5;
  --text-small-weight: 400;
  --text-small-tracking: 0;
  --text-label-size: 1rem;
  --text-label-size-mobile: 1rem;
  --text-label-line-height: 1.5;
  --text-label-weight: 600;
  --text-label-tracking: 0;

  --color-primary: #702E43;
  --color-secondary: #482536;
  --color-accent: #D8A08E;
  --color-tint: #F4EAE0;
  --color-text: #272427;
  --color-heading: #482536;
  --color-text-brand: #702E43;
  --color-link: #702E43;
  --color-link-hover: #482536;
  --color-action: #702E43;
  --color-action-hover: #482536;
  --color-on-action: #FFFFFF;
  --color-text-secondary-brand: #482536;
  --color-accent-text: #702E43;
  --color-surface-brand: #F4EAE0;
  --color-surface-brand-strong: #E8DCD3;
  --color-surface-accent: #FBF7F3;
  --color-focus-ring: #702E43;
  --primary-50: #FBF7F3;
  --primary-100: #F4EAE0;
  --primary-200: #E8DCD3;
  --primary-300: #D8A08E;
  --primary-400: #A86A78;
  --primary-500: #702E43;
  --primary-600: #702E43;
  --primary-700: #5A2435;
  --primary-800: #482536;
  --primary-900: #351A27;
  --color-logo-1: #702E43;
  --color-logo-2: #D8A08E;
  --logo-stacked: url("/assets/brand/rd-logo-stacked-mulberry-clay.svg");
  --logo-mark: url("/assets/brand/rd-mark-mulberry-clay.svg");
}
@media (max-width: 720px){:root{
  --text-h1-size: var(--text-h1-size-mobile);
  --text-h1-line-height: 2.5rem;
  --text-h2-size: var(--text-h2-size-mobile);
  --text-h3-size: var(--text-h3-size-mobile);
  --text-h4-size: var(--text-h4-size-mobile);
  --text-h5-size: var(--text-h5-size-mobile);
  --text-h6-size: var(--text-h6-size-mobile);
  --text-body-l-size: var(--text-body-l-size-mobile);
  --text-body-size: var(--text-body-size-mobile);
  --text-small-size: var(--text-small-size-mobile);
  --text-label-size: var(--text-label-size-mobile);
}}
