/* =====================================================================
   DIRECTION C · "INSTRUMENT"   →  revamp3.mesaquantum.com
   Provenance: the merge the team actually approved on 2026-08-26 —
   Rushi's toolkit puts the pattern-led devices (dots, contour) INSIDE
   structure-led layouts. This direction reads the company as a
   measurement instrument: precise, monochrome-leaning, data as texture.
   Character: near-black ground, hairline rules, contour used as readout.
   Primary motif: CONTOUR as data; DOTS as the sensing lattice over it.
   ===================================================================== */
:root {
  --ds-bg:            var(--mqn-ink-900);
  --ds-bg-alt:        var(--mqn-ink-800);
  --ds-surface:       var(--mqn-ink-800);
  --ds-surface-alt:   var(--mqn-n-900);
  --ds-surface-deep:  #050309;

  --ds-ink:           var(--mqn-n-25);
  --ds-ink-muted:     var(--mqn-n-400);
  /* n-600 lands at 2.4:1 on this ground, and every mono channel label on the
     site uses this role at 12-13px. "Machine accessibility outranks visual
     polish" cuts the same way for human readers, so this is pulled up to
     roughly 5:1 while staying clearly quieter than --ds-ink-muted. */
  --ds-ink-faint:     color-mix(in srgb, var(--mqn-n-400) 85%, var(--mqn-ink-900));
  --ds-ink-inverse:   var(--mqn-ink-900);

  /* ── THE FLAGGED DEPARTURE, DECIDED ──────────────────────────────────────
     The theme shipped `--ds-accent: var(--mqn-signal)` — a measurement green —
     with a comment noting that a frame-by-frame review of Rushi's deck found NO
     secondary accent colour anywhere: the presented system is monochrome purple
     plus white/black, and any second hue is a departure to be argued.

     Decision for this build: FALL BACK TO PURPLE. Three reasons, in order.

     1. `--ds-accent` is a general UI accent here — it fills the primary button,
        the focus ring, card hover and link hover. The system's own usage rule
        for `--mqn-signal` is "state only: live, measured, out of tolerance;
        never a decorative accent" (design-guidelines §5). Wiring the signal hue
        to a general accent breaks that rule on its first use.
     2. Near-black ground + mint accent is the exact palette signature of a
        developer-tool dark theme, which is the named failure mode for this
        direction (§7: "fails if it reads as a developer-tool dark theme").
        The green pushes toward the failure rather than away from it.
     3. Three builds exist to compare direction, not hue. Keeping C monochrome
        means C differs from A and B on ground, radius, rule weight, display
        weight and motif — the axes actually under test — and not on colour.

     `--mqn-signal` is deliberately left unassigned. If the team wants the
     measurement hue tested it should be tested as a STATE token on one readout,
     which is a cheap separate experiment, not as the site's accent.
     Purple-400 (not the v1 500) because 400 clears 4.5:1 against this ground
     for text and hairlines; 500 does not.  ───────────────────────────────── */
  --ds-accent:        var(--mqn-purple-400);
  --ds-accent-hover:  var(--mqn-purple-300);
  --ds-on-accent:     var(--mqn-ink-900);
  --ds-accent-quiet:  color-mix(in srgb, var(--mqn-purple-400) 14%, transparent);
  --ds-accent-brand:  var(--mqn-purple-400);

  --ds-line:          color-mix(in srgb, var(--mqn-n-0) 10%, transparent);
  --ds-line-strong:   color-mix(in srgb, var(--mqn-n-0) 26%, transparent);
  --ds-focus:         var(--mqn-purple-300);

  --ds-header-bg:     color-mix(in srgb, var(--mqn-ink-900) 86%, transparent);
  --ds-footer-bg:     #050309;

  --ds-radius-role:   0px;                    /* no radius at all: instrument, not app */
  /* Density is part of this direction's argument. Lockheed caps at 1600px and
     reads like a broadsheet; the system default is 1280. 1400 is the widest
     this type scale holds a comfortable measure at. (design-guidelines §5.) */
  --ds-container:     1400px;
  --ds-display-weight: 500;                   /* lighter display weight, more air */
  --ds-tracking-display: -0.02em;
  /* Denser than the system default: Lockheed reads mature partly because it is
     tightly set, and airiness on a near-black ground reads as an empty page
     rather than as restraint. */
  --ds-section-y:     clamp(3.25rem, 2.1rem + 3.6vw, 6rem);
  --ds-rule-weight:   1px;

  --ds-logo-filter:   brightness(0) invert(1);

  --ds-motif-primary: contour;
  --ds-motif-secondary: dots;
  --ds-motif-opacity: 0.22;
}
