.nav__submenu a.is-active {
  color: var(--teal);
}

.team-page {
  background: #fff;
  color: #26384c;
}

.team-intro {
  width: var(--content-width);
  margin: 62px auto 82px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1fr);
  gap: 68px;
  align-items: stretch;
}

.team-intro__copy {
  padding: 38px 0 20px;
  animation: teamIn .72s ease both;
}

.team-intro__copy span,
.team-section-title span,
.team-culture span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #e9f8fa;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.team-intro h2,
.team-section-title h2,
.team-culture h2 {
  margin: 0;
  color: #26384c;
  font-size: 36px;
  line-height: 1.22;
  font-weight: 800;
}

.team-intro p,
.team-card p,
.team-culture p {
  color: #69798a;
  font-size: 15px;
  line-height: 1.72;
}

.team-intro__copy p {
  margin: 24px 0 26px;
}

.team-intro__copy a {
  display: inline-block;
  color: var(--teal);
  font-size: 15px;
  font-weight: 800;
  transition: color .25s ease, transform .25s ease;
}

.team-intro__copy a:hover {
  color: #007f8f;
  transform: translateX(5px);
}

.team-intro__image {
  min-height: 380px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(27, 47, 63, .14);
  animation: teamImageIn .78s .1s ease both;
}

.team-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .35s ease, transform .8s ease;
}

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

.team-expertise {
  width: var(--content-width);
  margin: 0 auto 82px;
}

.team-section-title {
  max-width: 680px;
  margin-bottom: 34px;
}

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

.team-card {
  min-height: 250px;
  padding: 28px 22px 26px;
  border-radius: 8px;
  background: #f5fbfc;
  box-shadow: 0 15px 34px rgba(27, 47, 63, .09);
  animation: teamIn .72s ease both;
  transition: background-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.team-card:nth-child(2) {
  animation-delay: 70ms;
}

.team-card:nth-child(3) {
  animation-delay: 140ms;
}

.team-card:nth-child(4) {
  animation-delay: 210ms;
}

.team-card:hover {
  background: #fff;
  box-shadow: 0 24px 48px rgba(27, 47, 63, .14);
  transform: translateY(-5px);
}

.team-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 24px;
  transition: filter .28s ease, transform .28s ease;
}

.team-card:hover img {
  filter: drop-shadow(0 10px 16px rgba(0, 152, 168, .18));
  transform: translateY(-2px) scale(1.06);
}

.team-card h3 {
  margin: 0 0 14px;
  color: #26384c;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 800;
}

.team-card p {
  margin: 0;
  font-size: 13px;
}

.team-culture {
  width: var(--content-width);
  min-height: 170px;
  margin: 0 auto 74px;
  padding: 36px 42px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(222, 247, 250, .96) 0%, rgba(222, 247, 250, .82) 58%, rgba(222, 247, 250, .38) 100%),
    url("../images/optimized/v52_7-blueprint.webp");
  background-size: cover;
  background-position: center right;
  box-shadow: 0 18px 50px rgba(25, 55, 72, .1);
  animation: teamIn .72s .16s ease both;
}

.team-culture span {
  background: rgba(255, 255, 255, .68);
}

.team-culture h2 {
  font-size: 30px;
}

.team-culture p {
  margin: 0;
}

@keyframes teamIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes teamImageIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-intro__copy,
  .team-intro__image,
  .team-card,
  .team-culture {
    animation: none;
  }

  .team-intro__copy a,
  .team-intro__image img,
  .team-card,
  .team-card img {
    transition: none;
  }
}

@media (max-width: 980px) {
  .team-intro,
  .team-expertise,
  .team-culture {
    width: calc(100% - 48px);
  }

  .team-intro,
  .team-culture {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .team-intro__image {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .team-intro,
  .team-expertise,
  .team-culture {
    width: calc(100% - 36px);
  }

  .team-intro {
    margin-top: 40px;
    margin-bottom: 58px;
  }

  .team-intro h2,
  .team-section-title h2 {
    font-size: 27px;
  }

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

  .team-culture {
    padding: 30px 24px;
  }

  .team-culture h2 {
    font-size: 25px;
  }
}
