/*
 * Spacing & tonal hierarchy, v1.
 * 8-point-led spacing scale. Use semantic --flow-* values for editorial layout;
 * --space-* are primitives for smaller structures. Do not use these to size
 * research figures, charts, logos, timeline markers or custom illustrations.
 * The six type roles stay in type-scale.css.
 */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --flow-section: var(--space-7);
  --flow-group: var(--space-5);
  --flow-item: var(--space-4);
  --flow-detail: var(--space-2);

  /* hierarchy is mostly contrast, not additional font sizes */
  --tone-display: #0b1f3a;
  --tone-heading: rgba(11, 31, 58, 0.92);
  --tone-body: rgba(31, 44, 62, 0.87);
  --tone-secondary: rgba(46, 62, 82, 0.78);
  --tone-meta: rgba(57, 75, 98, 0.80);
  --tone-label: rgba(42, 62, 87, 0.74);
  --rule-soft: rgba(11, 31, 58, 0.085);
  --rule-standard: rgba(11, 31, 58, 0.14);
}

@media (max-width: 640px) {
  :root {
    --flow-section: var(--space-6);
    --flow-group: var(--space-4);
    --flow-item: var(--space-3);
  }
}
