.wyda-team {
  --wyda-navy: #102f49;
  --wyda-navy-dark: #071725;
  --wyda-red: #f21d2f;
  --wyda-white: #ffffff;
  --wyda-card-bg: #ffffff;
  --wyda-title-color: #ffffff;
  --wyda-soft: #eef1f3;
  --wyda-text: #18212a;
  --wyda-muted: #68727c;
  --wyda-border: rgba(16, 47, 73, 0.12);
  --wyda-container: 1240px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 24px 120px;
  color: var(--wyda-text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(135deg, rgba(255,255,255,.025) 25%, transparent 25%) 0 0 / 44px 44px,
    linear-gradient(315deg, rgba(255,255,255,.02) 25%, transparent 25%) 0 0 / 44px 44px,
    var(--wyda-navy-dark);
}

.wyda-team *,
.wyda-team *::before,
.wyda-team *::after {
  box-sizing: border-box;
}

.wyda-team::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -170px;
  width: 520px;
  height: 520px;
  border: 82px solid rgba(242, 29, 47, 0.08);
  border-radius: 50%;
}

.wyda-team::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -120px;
  bottom: 85px;
  width: 460px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: rotate(-16deg);
  box-shadow:
    0 20px 0 rgba(255,255,255,.07),
    0 40px 0 rgba(255,255,255,.04);
}

.wyda-team__container {
  width: min(100%, var(--wyda-container));
  margin-inline: auto;
}

.wyda-team__heading {
  max-width: 880px;
  margin-bottom: 56px;
}

.wyda-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--wyda-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.wyda-team__eyebrow::before {
  content: "";
  width: 44px;
  height: 4px;
  background: var(--wyda-red);
  transform: skewX(-24deg);
}

.wyda-team__title {
  max-width: 760px;
  margin: 0;
  color: var(--wyda-title-color);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  line-height: .89;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.wyda-team__title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--wyda-title-color);
  text-stroke: 1px var(--wyda-title-color);
}

.wyda-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.wyda-team-info {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 30px 28px 28px;
  color: var(--wyda-white);
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), transparent 42%),
    var(--wyda-red);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.wyda-team-info::before {
  content: "";
  position: absolute;
  top: -75px;
  right: -75px;
  width: 210px;
  height: 210px;
  border: 38px solid rgba(255,255,255,.09);
  border-radius: 50%;
}

.wyda-team-info::after {
  content: "";
  position: absolute;
  left: -42px;
  bottom: 135px;
  width: 235px;
  height: 1px;
  background: rgba(255,255,255,.24);
  transform: rotate(-18deg);
  box-shadow:
    0 16px 0 rgba(255,255,255,.13),
    0 32px 0 rgba(255,255,255,.07);
}

.wyda-team-info__top,
.wyda-team-info__bottom {
  position: relative;
  z-index: 1;
}

.wyda-team-info__label {
  display: inline-block;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wyda-team-info__title {
  margin: 0 0 18px;
  font-size: clamp(29px, 2.4vw, 39px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.wyda-team-info__text {
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: 14px;
  line-height: 1.72;
}

.wyda-team-info__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.wyda-team-info__stat {
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.35);
}

.wyda-team-info__number {
  display: block;
  margin-bottom: 4px;
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}

.wyda-team-info__caption {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wyda-member {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--wyda-card-bg);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  transition: transform .35s ease, box-shadow .35s ease;
}

.wyda-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.wyda-member__media {
  position: relative;
  height: 330px;
  overflow: hidden;
  flex: 0 0 auto;
  line-height: 0;
  font-size: 0;
  background: linear-gradient(145deg, #dfe4e7, #aeb9c1);
}

.wyda-member__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(7,23,37,.42), transparent);
  pointer-events: none;
}

.wyda-member__portrait {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center top;
  transition: transform .55s ease, filter .55s ease;
  filter: grayscale(1) contrast(1.03);
}

.wyda-member:hover .wyda-member__portrait {
  transform: scale(1.045);
  filter: grayscale(0) contrast(1);
}

.wyda-member__number {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 30px;
  padding-inline: 12px;
  color: var(--wyda-white);
  background: var(--wyda-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  transform: skewX(-14deg);
}

.wyda-member__number span {
  transform: skewX(14deg);
}

.wyda-member__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px 24px 24px;
}

.wyda-member__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 62px;
  height: 5px;
  background: var(--wyda-red);
  transform: translateY(-50%) skewX(-22deg);
}

.wyda-member__name {
  margin: 0 0 7px;
  color: var(--wyda-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.wyda-member__role {
  min-height: 31px;
  margin: 0 0 15px;
  color: var(--wyda-red);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.wyda-member__bio {
  margin: 0 0 18px;
  color: var(--wyda-muted);
  font-size: 13px;
  line-height: 1.65;
}

.wyda-member__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 20px;
}

.wyda-member__skill {
  padding: 7px 9px 6px;
  border: 1px solid var(--wyda-border);
  color: var(--wyda-navy);
  background: #f7f8f9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wyda-member__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--wyda-border);
}

.wyda-member__profile {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wyda-navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.wyda-member__profile svg {
  width: 17px;
  height: 17px;
  transition: transform .25s ease;
}

.wyda-member__profile:hover svg {
  transform: translateX(4px);
}

.wyda-member__socials {
  display: flex;
  gap: 7px;
}

.wyda-member__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--wyda-border);
  color: var(--wyda-navy);
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.wyda-member__social:hover {
  color: var(--wyda-white);
  background: var(--wyda-red);
  border-color: var(--wyda-red);
}

.wyda-member__social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 1080px) {
  .wyda-team {
    padding-block: 90px;
  }

  .wyda-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wyda-team-info {
    min-height: 555px;
  }
}

@media (max-width: 640px) {
  .wyda-team {
    padding: 72px 16px 76px;
  }

  .wyda-team__heading {
    margin-bottom: 38px;
  }

  .wyda-team__title {
    font-size: clamp(38px, 14vw, 58px);
  }

  .wyda-team__grid {
    grid-template-columns: 1fr;
  }

  .wyda-team-info {
    min-height: 480px;
  }

  .wyda-member__media {
    height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wyda-member,
  .wyda-member__portrait,
  .wyda-member__profile svg {
    transition: none;
  }
}
