/* Dr. MCB · Court 2026.10 palette. Owner-approved 2026-09-25 (BRAND.md, Brand Sheet).
 * Contrast figures are measured WCAG 2.1 ratios — read them, never estimate.
 * Each colour has one job: Night Alt is the field, never the page · Night is the Curiosities ground, and on DR MCB pages text on Acid and Azure Light · Purple says whose world · Azure says what to do · Acid says what is live now · White is the page. */
:root{
  /* The field (business only) — Night Alt: side menu or header, stage, sign-off and footer, at most one panel. Never the page, never clinical. On a DR MCB page Night is text only; Curiosities' own surfaces are Night (2026-10-15). */
  --night:#0D0A14;                /* the Curiosities ground (owner, 2026-10-15): newsletter, Beehiiv, covers · White 19.61 · Acid 17.44 · Azure Light 6.20 · on DR MCB pages text only, not a business field since 2026-10-11 · on Acid 17.44 (the signal chip) · on Azure Light 6.20 (hover) · the released Night covers keep it */
  --night-alt:#1A1030;            /* the business field (owner, 2026-10-11) · White 18.09 · On Night 12.58 · On Night 2 10.74 · On Night 3 7.05 · Azure Light 5.72 · Acid 16.09 · Azure (focus ring, door block) 3.76 · ghost keyline 5.23 · Purple 2.26 (fails the 3:1 edge without the Periwinkle keyline) */
  --field:var(--night-alt);       /* the business field role (owner, 2026-10-11): paint every business field with var(--field), never a palette name */

  /* Identity */
  --purple:#67389C;               /* wordmark on White, scoreboard numerals, business labels, clinical band + spark · White on Purple 8.01 · Purple on White 8.01 */
  --purple-deep:#442567;          /* hover on a Purple fill; legacy Full Voltage purple */

  /* Action — every button, link rule and keyline on light grounds; one field per business page */
  --azure:#2E6BE6;                /* on White 4.81 · primary button 4.8 · Night on Azure 4.00 */
  --azure-deep:#2458C4;           /* small text on light where 4.81 is too tight · on White 6.43 */
  --azure-bright:#4B82F0;         /* legacy fill on dark · on Night 5.28 */
  --azure-light:#5B8CFF;          /* Azure's voice on the field: links, arrows, third signature line · on Night Alt 5.72 · Night text on it 6.20 (hover) · never on light */

  /* Live signal — the field (Night Alt) or Purple only. Never on White or Azure, never clinical. */
  --acid:#E4FF3F;                 /* on Night Alt 16.09 · Night text on it 17.44 (the signal chip) · on Purple 7.12 · on White 1.12 (never) */

  /* Two jobs: the supplied-cut colour (the Reverse wordmark spark on Azure), and the 2px keyline round a Purple block on the field, such as the sign-up block (owner, 2026-10-11). Purple meets Night Alt at 2.26, under the 3:1 a block edge needs · the keyline 9.55 on Night Alt, 4.23 on Purple. Never type, never area. */
  --periwinkle:#AEB9F7;

  /* Light grounds */
  --white:#FFFFFF;                /* the page, both registers; cards on Ice */
  --ice:#EEF0FB;                  /* clinical alternate section · the clinical gateway on a business page · crisis strip */

  /* Ink — body on light, court lines, clinical display */
  --ink:#1A1424;                  /* on White 18.2 · on Ice 16.2 */
  --ink-2:#3E3850;                /* secondary · on White 11.0 */
  --ink-3:#5C5670;                /* muted · on White 7.0 */
  --text:var(--ink); --text-2:var(--ink-2); --text-3:var(--ink-3); /* aliases kept for older components */

  /* Text on the field (Night Alt) */
  --on-night:#D6D6E4;             /* 12.58 (13.64 on Night) */
  --on-night-2:#C6C6D8;           /* 10.74 (11.65 on Night) */
  --on-night-3:#9AA0C2;           /* labels, credentials, bylines · 7.05 (7.64 on Night) */

  /* Text on Purple / Azure fills */
  --on-purple:rgba(255,255,255,.78);

  /* Rules — never type */
  --rule-light:#E1E5F2;           /* clinical rows, card edges */
  --rule-dark:rgba(255,255,255,.14);
  --rule-dark-strong:rgba(255,255,255,.2);
  --keyline-ghost:rgba(255,255,255,.5);

  /* Overlays — the only two gradients left in the system */
  --stage-fade:linear-gradient(180deg,rgba(26,16,48,.35) 0%,rgba(26,16,48,0) 22%,rgba(26,16,48,0) 55%,rgba(26,16,48,.7) 82%,#1A1030 100%); /* @kind color */ /* the stage photo, fading to the field (Night Alt) words block */
  --seam-fade-field:linear-gradient(90deg,#1A1030 0%,rgba(26,16,48,0) 22%); /* @kind color */ /* split panel seam on the field (Night Alt) */
  --seam-fade-night:var(--seam-fade-field); /* @kind color */ /* alias kept for older components */
  --seam-fade-purple:linear-gradient(90deg,#67389C 0%,rgba(103,56,156,0) 22%); /* @kind color */ /* split panel seam on Purple */

  /* Retired in Court 2026.10: --glow-hero --glow-corner --glow-foot --glow-azure --glow-azure-hero --glow-duo --glow-acid --photo-protect,
     Lavender Ground (#F4F2F8) and Lavender Info (#EDE7F6) as grounds, Daylight, Periwinkle as area.
     Banned, permanently: teal, amber, parchment, burgundy, wine, oxblood. Dark red is reserved for genuine safety alerts. */
}
