/*
 * Staff initials avatars + neutralised-slot wash for migrated sites (nembedemand-native).
 *
 * Some sources have no per-person portrait (e.g. only a single group photo, which the brain uses
 * once in the hero and neutralises the duplicate staff slots → `data-img-dup`). Those slots would
 * otherwise render as bare grey boxes. `avatars.js` fills empty STAFF slots with the person's
 * initials (read from the adjacent `data-field="staff.N.name"`); everything here is the styling.
 * Render-time + token-aware (var(--primary)/--base/--ink) ⇒ improves every site without re-migrating.
 */

/* A duplicate-neutralised slot ([data-img-dup]) never receives a photo — give it a soft brand wash
 * instead of bare grey so non-staff slots (e.g. a two-person portrait) still read as intentional. */
[data-img-dup] {
  background-image: none;
  background-color: color-mix(in srgb, var(--primary, #465669) 12%, var(--base, #fff));
}

/* Initials avatar injected by avatars.js into an empty staff slot. */
[data-nb-avatar] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-image: none;
  background-color: color-mix(in srgb, var(--primary, #465669) 14%, var(--base, #fff));
}
[data-nb-avatar] > .nb-avatar__ini {
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing: .05em;
  line-height: 1;
  font-family: inherit;
  color: color-mix(in srgb, var(--primary, #465669) 66%, var(--ink, #1f2733));
  opacity: .92;
}
