/* Full Voltage 2026.9 — implementation tokens (CANONICAL, promoted 2026-09-15)
 *
 * GENERATED from ../Design-System/tokens/{colors,typography,space}.css by
 * ../_build/build_tokens_from_design_system.mjs — do not hand-edit; re-run the script.
 * The --brand- prefix is the vocabulary dr-mcb-website and tools-src were written against; the
 * names after it are the design system's own, plus the carried-forward aliases at the end.
 * Contrast ratios are computed, never typed: see tokens.json → contrastRules. Read them. */

:root {
  /* ── Colour — Design-System/tokens/colors.css ────────────────── */

  /* Stage (business surfaces only) */
  --brand-night: #0D0A14;                      /* page ground · White on Night 19.61 · Night ink on Acid 17.44 */
  --brand-night-alt: #1A1030;                  /* alternate dark section */

  /* Identity */
  --brand-purple: #442567;                     /* display on light · on White 12.31 · on Daylight 11.30 */
  --brand-purple-deep: #32184F;                /* supporting dark ground (quote slides, evidence cards on dark) */

  /* Action */
  --brand-azure: #2E6BE6;                      /* button fill · on White 4.81 · on Night 4.07 (fills and ≥24px type only) */
  --brand-azure-deep: #2458C4;                 /* small text on light grounds · on White 6.43 */
  --brand-azure-bright: #4B82F0;               /* fills on dark · on Night 5.37 · on Night Alt 4.95 */
  --brand-azure-light: #5B8CFF;                /* links, arrows, accent display line on Night · 6.20 · never on light grounds (3.16 on White) */

  /* Live signal — one appearance per view, never clinical */
  --brand-acid: #E4FF3F;                       /* on Night 17.44 · on Purple 10.94 · on White 1.12 (never) */

  /* Emphasis (Purple and Night grounds only — print, slides, clinical diagram panels) */
  --brand-periwinkle: #AEB9F7;                 /* on Purple 6.50 · NEVER on White (1.89) or Lavender Ground (1.71) */
  --brand-periwinkle-ink: #1E2A6B;

  /* Light grounds */
  --brand-white: #FFFFFF;
  --brand-daylight: #F2F5FF;                   /* evidence pages */
  --brand-ice: #EEF0FB;                        /* evidence cards, alternate light section */
  --brand-lavender-ground: #F4F2F8;            /* clinical page ground · the light section on a Night page */
  --brand-lavender-info: #EDE7F6;              /* clinical information surface */

  /* Text on White / Daylight */
  --brand-text: #23283A;                       /* 14.62 */
  --brand-text-2: #555C72;                     /* 6.65 */
  --brand-text-3: #63697B;                     /* 5.47 */

  /* Text on Lavender Ground */
  --brand-ink: #1A1424;
  --brand-ink-2: #3E3850;                      /* on Lavender Ground 10.02 */
  --brand-ink-3: #5C5670;                      /* on Lavender Ground 6.26 */

  /* Text on Night */
  --brand-on-night: #D6D6E4;                   /* on Night 13.64 */
  --brand-on-night-2: #C6C6D8;                 /* on Night 11.65 */
  --brand-on-night-3: #9AA0C2;                 /* labels, numerals · on Night 7.64 */

  /* Text on Purple / Ink fills */
  --brand-on-purple: rgba(255,255,255,.78);
  --brand-on-ink: rgba(255,255,255,.72);

  /* Rules — never type */
  --brand-rule-light: #E1E5F2;
  --brand-rule-lavender: #D9D3E6;
  --brand-rule-dark: rgba(255,255,255,.14);
  --brand-rule-dark-strong: rgba(255,255,255,.18);
  --brand-keyline-ghost: rgba(255,255,255,.5);
  --brand-glow-hero: radial-gradient(ellipse 34% 38% at 72% 40%,rgba(103,56,156,.95),transparent 70%),radial-gradient(ellipse 72% 78% at 72% 40%,rgba(68,37,103,.78),transparent 72%);
  --brand-glow-corner: radial-gradient(ellipse 30% 42% at 90% 10%,rgba(103,56,156,.92),transparent 70%),radial-gradient(ellipse 66% 86% at 90% 10%,rgba(68,37,103,.72),transparent 72%);
  --brand-glow-foot: radial-gradient(ellipse 38% 30% at 50% 100%,rgba(103,56,156,.9),transparent 70%),radial-gradient(ellipse 78% 62% at 50% 100%,rgba(68,37,103,.7),transparent 72%);
  --brand-glow-azure: radial-gradient(ellipse 34% 30% at 76% 62%,rgba(91,140,255,.7),transparent 70%),radial-gradient(ellipse 78% 64% at 76% 62%,rgba(46,107,230,.42),transparent 72%);
  --brand-glow-azure-hero: radial-gradient(ellipse 34% 38% at 72% 40%,rgba(91,140,255,.62),transparent 70%),radial-gradient(ellipse 74% 80% at 72% 40%,rgba(36,91,196,.5),transparent 72%);
  --brand-glow-duo: radial-gradient(ellipse 30% 34% at 80% 24%,rgba(91,140,255,.55),transparent 70%),radial-gradient(ellipse 60% 70% at 40% 70%,rgba(103,56,156,.8),transparent 72%);

  /* Acid glow — the one accent field. Small, low, never behind text, once per page at most. */
  --brand-glow-acid: radial-gradient(ellipse 22% 26% at 84% 26%,rgba(228,255,63,.3),transparent 66%),radial-gradient(ellipse 60% 66% at 84% 26%,rgba(228,255,63,.08),transparent 70%);
  --brand-photo-protect: linear-gradient(180deg,rgba(13,10,20,.1) 0%,rgba(13,10,20,.35) 45%,rgba(13,10,20,.92) 100%);

  /* ── Type — Design-System/tokens/typography.css ──────────────── */

  /* Archivo carries the voice. Space Mono carries the proof (numerals, credentials, dates, sources) and is never a paragraph. */
  --brand-font-display: "Archivo",Arial,sans-serif;
  --brand-font-mono: "Space Mono","Courier New",monospace; /* one weight only — 700 */
  --brand-font-wordmark: "Commuter Sans","Archivo",Arial,sans-serif; /* the wordmark face — 800 only */
  --brand-font-accent: "Commuter Sans","Archivo",Arial,sans-serif; /* occasional accent — 800 only */
  --brand-weight-accent: 800;

  /* Weights — one display weight */
  --brand-weight-body: 400;
  --brand-weight-display: 700;                 /* display, headlines, subheads, labels, links, buttons */
  --brand-weight-highlight: 800;               /* highlight blocks and clinical web headings only */

  /* Display scale — sentence case, tight tracking, sub-1 leading */
  --brand-display-1: clamp(56px,7.8vw,112px);  /* hero, signature */
  --brand-display-2: clamp(40px,5vw,64px);     /* section headline */
  --brand-display-3: clamp(28px,3.4vw,44px);   /* card / feature headline */
  --brand-display-4: clamp(24px,2.5vw,32px);   /* article headline */
  --brand-display-tracking: -.055em;
  --brand-display-leading: .88;
  --brand-headline-tracking: -.035em;
  --brand-headline-leading: 1.02;

  /* Body */
  --brand-body: 17px;
  --brand-body-large: 20px;
  --brand-body-small: 15px;
  --brand-body-leading: 1.5;
  --brand-measure: 68ch;

  /* Label · Archivo 700 15px sentence case */
  --brand-label: 15px;

  /* Text link · Archivo 700 16px with a 2px rule */
  --brand-link: 16px;

  /* Mono · 15px plain for list numerals; 11–13px uppercase tracked for sources, credentials, chrome */
  --brand-mono: 15px;
  --brand-mono-small: 11px;
  --brand-mono-tracking-caps: .13em;

  /* ── Space, rules and motion — Design-System/tokens/space.css ── */

  /* Density is a standard: more real content per screen, never smaller type or tighter leading. Square geometry, no radii, no shadows. */
  --brand-page-pad: clamp(20px,4vw,56px);
  --brand-section-y: clamp(56px,7vw,96px);
  --brand-section-y-tight: clamp(32px,4vw,56px);
  --brand-gap: clamp(20px,3vw,40px);
  --brand-gap-large: clamp(32px,4vw,56px);
  --brand-content-max: 1280px;
  --brand-tap-min: 44px;
  --brand-radius: 0;

  /* Rules and edges */
  --brand-hairline-light: 1px solid var(--brand-rule-light);
  --brand-hairline-lavender: 1px solid var(--brand-rule-lavender);
  --brand-hairline-dark: 1px solid var(--brand-rule-dark);
  --brand-hairline-dark-strong: 1px solid var(--brand-rule-dark-strong);
  --brand-link-rule-dark: 2px solid var(--brand-azure-light);
  --brand-link-rule-light: 2px solid var(--brand-azure-deep);
  --brand-card-rule: 2px solid var(--brand-purple); /* top rule on clinical cards */
  --brand-ghost-rule: 2px solid var(--brand-keyline-ghost);
  --brand-keyline: 3px solid var(--brand-azure); /* above an evidence heading */
  --brand-signal-bar: 4px solid var(--brand-acid); /* progress bar, one per view */
  --brand-evidence-edge: 13px solid var(--brand-azure); /* left edge of an evidence block */

  /* Motion — one move per shot */
  --brand-ease: cubic-bezier(.2,.7,.3,1);
  --brand-duration: 600ms;                     /* entrance */
  --brand-duration-fast: 180ms;                /* state */
  --brand-rise: 18px;

  /* ── Carried-forward names ──────────────────────────────────────────── */
  /* Consumers written against Full Voltage 2026.6 read these. Each is an alias of a
   * system token above; move to the system's own name when you next touch the consumer. */
  --brand-text-secondary: var(--brand-text-2);
  --brand-text-muted: var(--brand-text-3);
  --brand-border: var(--brand-rule-light);
  --brand-border-dark: var(--brand-rule-dark);
  --brand-clinical-lavender: var(--brand-lavender-info);
  --brand-glow-purple: var(--brand-glow-hero);
  --brand-font-primary: var(--brand-font-display);
  --brand-font-utility: var(--brand-font-mono);
  --brand-body-line: var(--brand-body-leading);
  --brand-rule: var(--brand-hairline-light);
  --brand-signal: var(--brand-signal-bar);
}
