.team-page {
  background: radial-gradient(circle at top left, rgba(255, 138, 51, 0.18), transparent 55%), #060608;
}

.team-hero__grid {
  align-items: center;
  gap: var(--space-8);
}

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

.team-hero__lead {
  font-size: var(--font-size-lg);
  color: var(--color-text);
}

.team-hero__sub {
  max-width: 32rem;
}

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

.team-hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.team-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero__image-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.team-section-header {
  max-width: 40rem;
  margin-bottom: var(--space-6);
}

.team-roles-grid {
  gap: var(--space-6);
}

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

.team-role__figure {
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.team-role__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-atmosphere__grid {
  align-items: center;
  gap: var(--space-8);
}

.team-atmosphere__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.team-atmosphere__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-atmosphere__disclaimer {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.team-trust__inner {
  max-width: 56rem;
  margin-inline: auto;
}

.team-trust__grid {
  margin-top: var(--space-6);
  gap: var(--space-6);
}

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

.team-trust__item h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2);
}

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

.team-next__inner {
  text-align: center;
}

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

.team-next__inner p {
  max-width: 32rem;
  margin-inline: auto;
}

.team-next__actions {
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 992px) {
  .team-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .team-hero__image,
  .team-atmosphere__visual {
    order: -1;
  }

  .team-hero__image-caption {
    font-size: var(--font-size-xs);
  }

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

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