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

.team-hero__inner {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 960px) {
  .team-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

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

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

.team-hero__fineprint {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.team-hero__visual {
  position: relative;
  max-width: 420px;
  margin-left: auto;
}

.team-hero__image-wrap {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sharp);
  border: 1px solid var(--color-border-strong);
}

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

.team-hero__badge {
  position: absolute;
  left: -10px;
  bottom: -14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(8, 13, 22, 0.96);
  border: 1px solid rgba(213, 138, 69, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.team-section {
  position: relative;
}

.team-section__grid {
  align-items: center;
  gap: var(--space-10);
}

.team-section__grid--reverse {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 960px) {
  .team-section__grid--reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.team-section__visual {
  position: relative;
}

.team-section__image-ratio {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.team-section__image-ratio--wide::before {
  padding-bottom: 56.25%;
}

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

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

.team-roles {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .team-roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

.team-section__meta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.team-section__header {
  max-width: 44rem;
  margin-bottom: var(--space-8);
}

.team-process {
  max-width: 52rem;
}

.team-process__cta {
  margin-top: var(--space-8);
}

.team-expertise__list {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.team-expertise__list p {
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
}

.team-section__label-stack {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}

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

  .team-hero__actions,
  .team-cta__actions {
    width: 100%;
  }

  .team-hero__actions .btn,
  .team-cta__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.team-cta__card {
  overflow: hidden;
}

.team-cta__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .team-cta__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

ul {
  list-style: none !important;
}
