.team-block {
  border-top: 1px solid var(--line);
  margin-top: 108px;
  padding-top: 82px;
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 48px;
}

.team-heading h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
}

.team-heading h3 em {
  color: var(--gold-dark);
  font-weight: 400;
}

.team-intro {
  max-width: 510px;
  color: var(--muted);
  font-family: var(--serif);
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(210px, .86fr) minmax(0, 1.14fr);
  min-height: 520px;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}

.team-photo-wrap {
  min-height: 100%;
  background: #d9d4ca;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% center;
  filter: saturate(.82) contrast(.96);
  transition: transform .8s cubic-bezier(.2, .65, .2, 1), filter .5s;
}

.team-card:hover .team-photo {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.team-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 3.4vw, 52px);
}

.team-role {
  color: var(--gold-dark);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
}

.team-card:nth-child(2) .team-role {
  color: var(--petal-blue);
}

.team-copy h4 {
  font-family: var(--serif);
  letter-spacing: -.035em;
  margin: 0 0 28px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.05;
}

.team-lines {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.team-lines span {
  display: block;
  margin-top: 8px;
}

.team-lines span:first-child {
  margin-top: 0;
}

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

  .team-photo-wrap,
  .team-photo {
    min-height: 430px;
  }
}

@media (max-width: 900px) {
  .team-block {
    margin-top: 92px;
    padding-top: 68px;
  }

  .team-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-grid {
    gap: 18px;
  }
}

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

  .team-card {
    min-height: 0;
  }

  .team-photo-wrap,
  .team-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .team-copy {
    padding: 32px 26px 36px;
  }
}

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