/* Preserve sharp original pixels; the new alpha matte only cleans the outline. */
:is(.department-portraits,.department-photos) .team-cutout[data-cutout-src] {
  -webkit-mask-image:var(--rail-cutout);mask-image:var(--rail-cutout);
  -webkit-mask-size:contain;mask-size:contain;
  -webkit-mask-position:center bottom;mask-position:center bottom;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  transform:scale(.92);transform-origin:center bottom;
}
.horizontal-viewport .department-portraits {
  background:radial-gradient(ellipse at 50% 60%,rgb(108 211 234 / 20%),rgb(108 211 234 / 8%) 40%,transparent 72%);
  border-radius:0;
}
.department-portraits .team-cutout:only-of-type {
  width:74%;margin-inline:auto;z-index:1;
}
/* A quiet backlight and wider framing for the existing founders' cutout. */
body[data-page$="our-people/"] .founder-picture {
  background:radial-gradient(ellipse at 50% 65%,rgb(77 190 230 / 20%),rgb(77 190 230 / 7%) 42%,transparent 72%);
}
body[data-page$="our-people/"] .founder-picture img {
  transform:scale(.84);transform-origin:center bottom;
  --portrait-brightness:1.04;--portrait-contrast:1.03;--portrait-saturation:.94;
}
body[data-page$="our-people/"] .founder-picture img[src*="/people-color/"] {
  filter:grayscale(1) brightness(1.04) contrast(1.03) saturate(.94);
}
body[data-page$="our-people/"] .founders:is(:hover,:has(:focus-visible)) .founder-picture img[src*="/people-color/"] {
  filter:grayscale(0) brightness(1.04) contrast(1.03) saturate(.94);
}

/* Keep the department copy after removing both confirmed former staff photos. */
.horizontal-viewport .department.department-text-only {grid-template-columns:1fr;}
.department.department-text-only .department-info {width:100%;max-width:850px;margin-inline:auto;align-self:center;}
.department.department-text-only h2 {max-width:850px;}
.department.department-text-only p {max-width:720px;}

.department-photos:not(:has(img)) {display:none;}
.department-photos .team-cutout:only-of-type {margin-inline:auto;}
