body {
  background-color: var(--color-bg);
}

.section--soft {
  background-color: var(--color-bg-soft);
}

.section--cta {
  background: radial-gradient(circle at top left, rgba(255, 59, 127, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(60, 124, 255, 0.12), transparent 55%),
    #ffffff;
}

.team-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.team-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.team-hero__title {
  margin-bottom: var(--space-3);
}

.team-hero__lead {
  font-size: var(--fs-lg);
  max-width: 36rem;
}

.team-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.team-hero__media {
  display: flex;
  justify-content: center;
}

.team-hero__image-wrapper {
  position: relative;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.team-hero__pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-intro__grid {
  gap: var(--space-8);
  align-items: flex-start;
}

.team-intro__highlights {
  display: grid;
  gap: var(--space-4);
}

.team-intro__card {
  height: 100%;
}

.team-values__container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.team-values__list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.team-values__item h3 {
  margin-bottom: var(--space-2);
}

.team-values__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.team-values__image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.team-roles__header {
  max-width: 44rem;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.team-roles__card {
  height: 100%;
}

.team-gallery__header {
  max-width: 44rem;
  margin: 0 auto var(--space-6);
  text-align: center;
}

.team-gallery__grid {
  margin-top: var(--space-4);
}

.team-gallery__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-8);
}

.team-gallery__text {
  max-width: 34rem;
}

.team-gallery__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.team-cta__container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.team-cta__text {
  max-width: 40rem;
}

.team-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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

  .team-hero__media {
    order: -1;
  }

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

@media (max-width: 767.98px) {
  .team-hero {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .team-gallery__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-cta__container {
    flex-direction: column;
    align-items: flex-start;
  }
}
