/* ═══════════════════════════════════════════════════════════════════════
   RMexpertise — Design tokens
   Generated from RMexpertise Brand Guidelines v2.0 · November 2026
   Sections 05 (colour), 07 (typography), 08 (layout), 09 (web UI), 10 (icons)
   Do not edit values here by hand — they are transcribed from the guide.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── 05 · COLOUR ────────────────────────────────────────────────────── */
  --rm-signal:        #3191EB;  /* Display only. The logo's flag, large moments, data accents. NOT text. */
  --rm-deep:          #2478C8;  /* Text & UI. Links, filled buttons, focus rings, the logo's deep colourway at small sizes. */
  --rm-charcoal:      #1A1D18;  /* Primary ink. All body text and dark surfaces. */
  --rm-cream:         #F4EFE6;  /* Ground. The default page. */
  --rm-sand:          #EDE7DB;  /* Permitted neighbour of cream. */
  --rm-paper:         #FAFAF6;  /* Permitted neighbour of cream. */
  --rm-white:         #FFFFFF;

  /* Website only · added in v1.1 — the one light section on rmexpertise.co.za. Screen only.
     Deep Blue text measures 4.1:1 on it (large sizes only): small links go Charcoal. */
  --rm-surface-light: #F2F2F6;
  --rm-surface-light-hover: #E7E7EE;

  /* Charcoal surface steps — tints of the primary ink, not new colours */
  --rm-charcoal-2:    #252823;  /* lightest ink tint holding Signal at 4.5:1 */
  --rm-charcoal-3:    #353830;

  /* Ink on cream */
  --rm-ink:           #1A1D18;
  --rm-ink-70:        rgba(26,29,24,0.70);
  --rm-ink-55:        rgba(26,29,24,0.55);
  --rm-ink-40:        rgba(26,29,24,0.40);
  --rm-ink-20:        rgba(26,29,24,0.20);
  --rm-ink-10:        rgba(26,29,24,0.10);

  /* Ink on charcoal */
  --rm-on-dark:       rgba(255,255,255,0.90);
  --rm-on-dark-65:    rgba(255,255,255,0.65);
  --rm-on-dark-45:    rgba(255,255,255,0.52);  /* 4.5:1 floor on charcoal for 11px labels */
  --rm-on-dark-25:    rgba(255,255,255,0.25);
  --rm-on-dark-12:    rgba(255,255,255,0.12);

  /* Data ramp — Signal to Deep, the only permitted multi-series ramp */
  --rm-data-1:        #3191EB;
  --rm-data-2:        #2478C8;
  --rm-data-3:        #6BAFF1;
  --rm-data-4:        #1B5A97;

  /* ── 07 · TYPOGRAPHY ────────────────────────────────────────────────── */
  --rm-font:          'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --rm-mono:          'IBM Plex Mono', 'Courier New', monospace;

  --rm-display-size:  64px;  --rm-display-weight: 300; --rm-display-track: -2.4px; --rm-display-leading: 1.02;
  --rm-h1-size:       44px;  --rm-h1-weight:      300; --rm-h1-track:      -1.6px; --rm-h1-leading:      1.05;
  --rm-h2-size:       32px;  --rm-h2-weight:      300; --rm-h2-track:      -1.1px; --rm-h2-leading:      1.12;
  --rm-h3-size:       22px;  --rm-h3-weight:      600; --rm-h3-track:      -0.5px; --rm-h3-leading:      1.20;
  --rm-lead-size:     18px;  --rm-lead-weight:    300; --rm-lead-track:    -0.2px; --rm-lead-leading:    1.60;
  --rm-body-size:     16px;  --rm-body-weight:    300; --rm-body-track:       0;   --rm-body-leading:    1.65;
  --rm-small-size:    14px;  --rm-small-weight:   300; --rm-small-track:      0;   --rm-small-leading:   1.60;
  --rm-label-size:    11px;  --rm-label-weight:   500; --rm-label-track:   0.22em;

  --rm-measure:       72ch;  /* body measure stays between 60 and 80 characters */

  /* ── 08 · LAYOUT ────────────────────────────────────────────────────── */
  --rm-max:           1280px;
  --rm-columns:       12;
  --rm-gutter:        24px;
  --rm-margin:        64px;
  --rm-margin-mobile: 24px;

  --rm-bp-sm:         768px;
  --rm-bp-md:         1024px;
  --rm-bp-lg:         1440px;

  /* 4px spacing base — steps 1 to 4 are component internals only */
  --rm-space-1:       4px;
  --rm-space-2:       8px;
  --rm-space-3:       12px;
  --rm-space-4:       16px;
  --rm-space-5:       24px;
  --rm-space-6:       32px;
  --rm-space-7:       48px;
  --rm-space-8:       64px;
  --rm-space-9:       96px;
  --rm-space-10:      128px;

  --rm-section:       96px;  /* desktop section break */
  --rm-section-mobile:48px;

  /* Radius — 3px controls, 4px ceiling, two exceptions. The r in the logo has no curves. */
  --rm-radius:        3px;
  --rm-radius-max:    4px;
  --rm-radius-tile:   21.5%; /* exception 1: app-icon squircle */
  --rm-radius-card:   16px;  /* exception 2 (v1.1): venture cards in the website's portfolio */

  /* ── 09 · WEB UI ────────────────────────────────────────────────────── */
  --rm-control-h:     44px;
  --rm-control-pad:   24px;
  --rm-field-h:       48px;
  --rm-card-pad:      32px;
  --rm-focus-width:   2px;
  --rm-focus-offset:  2px;
  --rm-focus-colour:  #2478C8;

  /* ── 10 · ICONOGRAPHY ───────────────────────────────────────────────── */
  --rm-icon-grid:     24px;
  --rm-icon-stroke:   2px;
  --rm-icon-stroke-sm:1.5px; /* at 16px */
}
