/* adia:semantic/color — scrim role aliases.
   --a-scrim-* role names mapping onto the static --md-sys-color-neutral-
   scrim-* ladder in material-static.css. Imported by the semantics.css
   barrel.
   (0.7.9: the legacy STATUS COMPAT block that overrode --a-danger /
   --a-success to -strong was removed — status families now resolve to their
   base tier deliberately. The base tokens are defined upstream in core.css,
   so removing the override is non-breaking.)

   Re-sourced 2026-07-14 (Material Phase 5): matched by ALPHA VALUE, not
   name position — the old `--a-neutral-N-shade-scrim` ramp (scrims.css,
   still computed) ran 10/20/30/40/50/60/70% for steps 0-6; the static
   ladder runs 5/10/20/30/40/50/60% for weakest..strongest. Every alpha
   below has an exact match except the old 70% "heaviest veil", which has
   no static equivalent — strongest (60%) is the closest available and is
   used as-is (a visibly lighter heaviest-veil than before; flagged, not
   silently made up). Also note: the static scrim is a fixed neutral-500
   mid-tone overlay (`light-dark(X, X)`, same both schemes) rather than
   the old near-black shade-primitive overlay — both are non-adaptive
   "always this color" scrims, but the static one reads lighter/greyer
   than the old near-black veil. */

:root, theme-ui, [theme], theme-provider {
  /* ══════════════════════════════════════════════════════════════
     SCRIMS — Role aliases onto the static 7-step scrim ladder.
     Per-family semantic tiers (weak / default / strong / peak) live
     in surfaces.css.
     ══════════════════════════════════════════════════════════════ */

  --a-scrim-weak:    var(--md-sys-color-neutral-scrim-weak);      /* 20% — hover wash */
  --a-scrim-toast:   var(--md-sys-color-neutral-scrim);           /* 30% — toast veil */
  --a-scrim-default: var(--md-sys-color-neutral-scrim-strong);    /* 40% — generic overlay */
  --a-scrim-dialog:  var(--md-sys-color-neutral-scrim-stronger);  /* 50% — modal backdrop */
  --a-scrim-strong:  var(--md-sys-color-neutral-scrim-strongest); /* 60% (was 70%) — heaviest veil */
}
