.team-ring-filter { position: absolute; pointer-events: none; }
.team-ring-photo {
  position: absolute;
  top: 35.5%;
  left: 50%;
  width: var(--photo-width);
  transform: translate(var(--eye-x), var(--eye-y));
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent),
              linear-gradient(to bottom, black 76%, transparent 100%);
  mask-composite: intersect;
}
.team-ring-photo img { width: 100%; height: auto; max-width: none; }
.team-ring-photo img.is-masked {
  filter: grayscale(1);
  mask: var(--silhouette) center / 100% 100% no-repeat;
  mask-mode: luminance;
}
.team-ring-photo img.is-studio { filter: url(#ring-studio-background); }
.team-ring-photo[data-portrait="alexander"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 65%, #1a191c 78%, #18171a 100%);
  clip-path: inset(61.5% 0 0);
  mask: var(--silhouette) center / 100% 100% no-repeat;
}

.view-home .home-portrait {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1.14;
  background: radial-gradient(ellipse at 56% 30%, #b49adb, #8058b8 45%, #452373);
}
.home-portrait .team-ring-photo { top: 39%; }
.home-portrait img { display: block; }
.home-portrait > img { height: 100%; width: 100%; object-fit: cover; object-position: center 23%; }
.home-portrait .team-ring-photo {
  mask-image: linear-gradient(to right, transparent, black 7%, black 92%, transparent);
}
.home-portrait .team-ring-photo:is([data-portrait="nikita"], [data-portrait="alexander"]) { width: 98%; }
.home-portrait .team-ring-photo[data-portrait="nikita"]::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, #1a191d 22%, transparent 36%);
  clip-path: inset(74% 0 0); mask: var(--silhouette) center / 100% 100% no-repeat;
}
