.team-hero {
  position: relative;
}

.team-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: var(--space-40);
  align-items: center;
}

.team-hero__content p {
  max-width: 40rem;
}

.team-hero__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-24);
}

.team-hero__stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: var(--line-height-tight);
}

.team-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

.team-hero__media {
  justify-self: center;
}

.team-hero__image-figure {
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-hero__image {
  width: 100%;
  height: auto;
}

.team-section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-bottom: var(--space-32);
}



.team-grid-cards {
  align-items: stretch;
}

.team-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.team-card__quote {
  font-size: var(--font-size-sm);
}

.team-culture__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: var(--space-40);
  align-items: center;
}

.team-culture__image-figure {
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-culture__image {
  width: 100%;
  height: auto;
}

.team-culture__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

.team-testimonials__cta {
  margin-top: var(--space-40);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: center;
}

.team-bts__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 3fr);
  gap: var(--space-40);
  align-items: center;
}

.team-bts__image-figure {
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-bts__image {
  width: 100%;
  height: auto;
}

.team-bts__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

@media (max-width: 1024px) {
  .team-hero__layout,
  .team-culture__layout,
  .team-bts__layout {
    grid-template-columns: 1fr;
  }

  .team-hero__media,
  .team-culture__image-figure,
  .team-bts__image-figure {
    margin: 0 auto;
  }
}

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

  .team-hero__cta,
  .team-culture__cta,
  .team-bts__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .team-testimonials__cta {
    flex-direction: column;
    align-items: stretch;
  }
}
