.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-member.lead {
  grid-template-columns: 1fr;
}

.team-photo {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px;
}

.team-copy > p:last-of-type {
  color: var(--muted);
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: auto;
  padding-top: 14px;
}

.team-actions a {
  color: #5c52cc;
  font-weight: 700;
  text-decoration: none;
}

.team-actions a:hover {
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the process visible even when animation support is unavailable. */
.process-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: 6vw;
  margin-bottom: 52px;
}

.process-heading h2 {
  max-width: 760px;
}

.process-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.process > h2 {
  margin-bottom: 0;
}

.steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps li {
  opacity: 1;
  transform: none;
}

.steps h3 {
  margin-top: 30px;
}

@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .process-heading,
  .steps {
    grid-template-columns: 1fr;
  }
}
