.team-section {
  --team-scale: clamp(0.4167, calc(100vw / 1920px), 1);
  --team-height: 1210px;
  position: relative;
  z-index: 1;
  height: calc(var(--team-height) * var(--team-scale));
  overflow: visible;
  background: #ffffff;
}

@media (min-width: 1920px) {
  .team-section {
    --team-scale: 1;
  }
}

.team-section__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: var(--team-height);
  margin-left: -960px;
  padding: 160px 260px 0;
  transform: scale(var(--team-scale));
  transform-origin: top center;
}

.team-section__intro {
  width: 837px;
  margin: 0 auto;
  text-align: center;
}

.team-section__eyebrow {
  margin: 0;
  color: rgba(1, 3, 0, 0.7);
  font-family: "stolzlregular", sans-serif;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-section__title {
  margin: 40px 0 0;
  color: #010300;
  font-family: "stolzlregular", sans-serif;
  font-size: 70px;
  font-weight: normal;
  line-height: 100px;
}

.team-section__lead {
  margin: 8px 0 0;
  color: #49443e;
  font-family: "stolzlbook", sans-serif;
  font-size: 18px;
  line-height: 30px;
}

.team-carousel {
  position: relative;
  margin-top: 59px;
}

.team-carousel__cards {
  overflow: hidden;
  width: 1399px;
  margin: 0 auto;
  padding: 4px 0 35px 0;
  margin-bottom: -35px;
}

.team-carousel__track {
  display: flex;
  gap: 13px;
  margin-top: -4px;
  transition: transform 0.5s ease;
}


.team-card {
  position: relative;
  width: 340px;
  height: 673px;
  flex: 0 0 340px;
  margin: 0;
  padding: 4px 4px 0;
  border-radius: 12px;
  box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.04);
}

.team-card__photo {
  width: 100%;
  display: block;
  height: 484px;
  border-radius: 12px 12px 0 0;
  object-fit: cover;
  object-position: top center;
}

.team-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 296px;
  flex-direction: column;
  padding: 20px;
  border-radius: 0 0 12px 12px;
  background: #ffffff;
  box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.04);
}

.team-card:hover {
  border-right: 0.5px solid var(--orange, #F44903);
  border-bottom: 0.5px solid var(--orange, #F44903);
  border-left: 0.5px solid var(--orange, #F44903);
  box-shadow: 0 10px 10px 1px rgba(0, 0, 0, 0.07);
}

.team-card__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__name,
.team-card__role,
.team-card__text,
.team-card__stats,
.team-card__stat dt,
.team-card__stat dd {
  margin: 0;
  font-weight: normal;
}

.team-card__name {
  color: #010300;
  font-family: "stolzlmedium", sans-serif;
  font-size: 20px;
  line-height: 28px;
}

.team-card__role {
  color: #7c5f3c;
  font-family: "stolzlregular", sans-serif;
  font-size: 14px;
  line-height: 25px;
  text-transform: uppercase;
}
.team-card__text {
  margin-top: 20px;
  color: #49443e;
  font-family: "stolzlbook", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.team-card__stats {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  height: 70px;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 10px;
  background: #faf5f2;
}

.team-card__stat {
  display: flex;
  width: 74px;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.team-card__stat + .team-card__stat {
  padding-left: 14px;
  border-left: 1px solid rgba(73, 68, 62, 0.12);
}

.team-card__stat dt {
  color: #f44903;
  font-family: "stolzlbook", sans-serif;
  font-size: 22px;
  line-height: 24px;
}

.team-card__stat dd {
  color: #4f4f4f;
  font-family: "stolzlbook", sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.team-carousel__arrow {
  position: absolute;
  top: 341px;
  z-index: 2;
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.team-carousel__arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.team-carousel__arrow--prev {
  left: -26px;
  border: 1px solid #eeeeee;
  background: #ffffff;
  color: rgba(1, 3, 0, 0.45);
}

.team-carousel__arrow--prev::before {
  transform: translateX(2px) rotate(225deg);
}

.team-carousel__arrow--next {
  right: -26px;
  border: 0;
  background: #f44903;
  color: #ffffff;
}

.team-carousel__arrow--next::before {
  transform: translateX(-2px) rotate(45deg);
}
