/* Team headshots — centered portrait crops, no rotation */
.team-headshot-wrap {
  overflow: hidden;
  background: #f3eef7;
}

.team-headshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--headshot-position, center 20%);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.team-headshot--toby {
  --headshot-position: center 18%;
}

.team-headshot--andrew {
  --headshot-position: center 14%;
}

.team-headshot--mark {
  --headshot-position: center 16%;
}

.team-headshot--jim {
  --headshot-position: center 20%;
}

.group:hover .team-headshot {
  transform: scale(1.03);
}

.team-headshot-wrap--avatar {
  border-radius: 999px;
}

.team-headshot-wrap--avatar .team-headshot--andrew {
  --headshot-position: center 12%;
}

@media (prefers-reduced-motion: reduce) {
  .team-headshot {
    transition: none;
  }

  .group:hover .team-headshot {
    transform: none;
  }
}
