.team-chapter {
  padding: 145px 7vw 155px;
  background: #0a211c;
  color: #f4f7f5;
}

.team-heading {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5vw;
  align-items: end;
  max-width: 1380px;
  margin: 0 auto 75px;
}

.team-heading .eyebrow {
  grid-column: 1 / -1;
  color: #83c9ba;
}

.team-heading h2 {
  margin: 0;
  font: 500 clamp(48px, 5.8vw, 88px)/1 Manrope, sans-serif;
  letter-spacing: -4px;
}

.team-heading h2 em {
  color: #9ccfc3;
  font-weight: 400;
}

.team-heading > p {
  max-width: 500px;
  margin: 0 0 7px auto;
  color: #8fa8a1;
  font-size: 17px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1500px;
  margin: auto;
}

.team-member { min-width: 0; }

.team-portrait {
  position: relative;
  aspect-ratio: .78;
  overflow: hidden;
  background: #102a34;
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .5s;
}

.team-member:first-child .team-portrait img {
  object-position: 18% center;
}

.team-member:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.team-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(117, 195, 213, .2), transparent 36%),
    linear-gradient(145deg, #123449, #103b35);
}

.team-placeholder::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.team-placeholder strong {
  color: rgba(255,255,255,.16);
  font: 500 clamp(110px, 12vw, 190px)/1 Manrope, sans-serif;
}

.team-placeholder small {
  position: absolute;
  bottom: 25px;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #7fa79d;
}

.team-meta {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 22px 2px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.team-meta > span {
  color: #6ea99d;
  font-size: 8px;
  padding-top: 6px;
}

.team-meta h3 {
  margin: 0 0 5px;
  font: 500 22px Manrope, sans-serif;
  letter-spacing: -.7px;
}

.team-meta p {
  margin: 0;
  color: #819790;
  font-size: 12px;
}

.depth-motion-ready .team-heading,
.depth-motion-ready .team-member {
  opacity: 0;
  transform: translateY(36px);
}

.depth-in-view .team-heading {
  animation: team-rise .9s cubic-bezier(.16,1,.3,1) forwards;
}

.depth-in-view .team-member {
  animation: team-rise .85s cubic-bezier(.16,1,.3,1) forwards;
}

.depth-in-view .team-member:nth-child(1) { animation-delay: .15s; }
.depth-in-view .team-member:nth-child(2) { animation-delay: .27s; }
.depth-in-view .team-member:nth-child(3) { animation-delay: .39s; }
.depth-in-view .team-member:nth-child(4) { animation-delay: .51s; }

@keyframes team-rise { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 55px 18px; }
}

@media (max-width: 650px) {
  .team-chapter { padding: 100px 24px; }
  .team-heading { grid-template-columns: 1fr; margin-bottom: 55px; }
  .team-heading .eyebrow { grid-column: auto; }
  .team-heading h2 { letter-spacing: -3px; }
  .team-heading > p { margin: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .depth-motion-ready .team-heading,
  .depth-motion-ready .team-member {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
