:root {
  --desktop-scale: min(1, calc(100vw / 1793px));
}

.join-our-team {
  margin-block: 18.75rem;
}
.join-our-team__content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3.75rem;
}
.join-our-team__text {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: start;
  column-gap: 2.5rem;
}
.join-our-team__title {
  display: contents;
  color: #E4E4E4;
}
.join-our-team__title-word {
  grid-column: 1;
  grid-row: 1;
}
.join-our-team__title-rest {
  grid-column: 1/-1;
  grid-row: 2;
  white-space: nowrap;
}
.join-our-team__desc {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin: 0;
  max-width: 19.375rem;
  font-stretch: 75%;
  color: #774453;
  font-size: 2rem;
  font-weight: 746;
  line-height: 2.25rem;
  letter-spacing: 1.28px;
  text-transform: uppercase;
}
.join-our-team__actions {
  flex: 1;
  max-width: 34.6875rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.join-our-team__action {
  min-height: 8.75rem;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  border-radius: 4px;
  padding: 1.25rem 0.625rem 0.625rem 1rem;
  font-size: 2rem;
  font-weight: 746;
  line-height: 2.25rem;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  text-decoration: none;
}
.join-our-team__action--positions {
  background: #F79FDA;
  color: #401320;
}
.join-our-team__action--positions .join-our-team__action-icon {
  background: #401320;
  color: #F79FDA;
}
.join-our-team__action--positions .join-our-team__action-icon svg {
  transform: rotate(-45deg) translate(0, 0);
}
@media (any-hover: hover) {
  .join-our-team__action--positions:hover .join-our-team__action-icon svg {
    transform: rotate(-45deg) translate(6px, 2px);
  }
}
.join-our-team__action--career {
  background: #401320;
  color: #F79FDA;
}
.join-our-team__action--career .join-our-team__action-icon {
  background: #F79FDA;
  color: #401320;
}
@media (any-hover: hover) {
  .join-our-team__action--career:hover .join-our-team__action-icon svg {
    transform: translateX(6px);
  }
}
.join-our-team__action-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  flex-shrink: 0;
  align-self: end;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
  overflow: hidden;
}
.join-our-team__action-icon svg {
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .join-our-team {
    margin-block: 80px 0;
  }
  .join-our-team__text {
    display: block;
  }
  .join-our-team__title {
    display: block;
  }
  .join-our-team__title-rest {
    white-space: normal;
  }
  .join-our-team__desc {
    max-width: 100%;
    margin-top: 40px;
    font-size: 32px;
    line-height: 36px;
  }
  .join-our-team__actions {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .join-our-team__action {
    flex: 1 1 calc(50% - 20px);
    min-width: 260px;
    min-height: 140px;
    border-radius: 4px;
    padding: 20px 10px 10px 16px;
    font-size: 32px;
    line-height: 36px;
  }
  .join-our-team__action-icon {
    width: 52px;
    height: 52px;
  }
}
.team-card {
  width: 100%;
  aspect-ratio: 270/349;
  perspective: 1600px;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.team-card:focus-visible {
  outline: 2px solid #9EC7C9;
  outline-offset: 4px;
}
.team-card__inner {
  position: relative;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}
@media (any-hover: hover) {
  .team-card:hover .team-card__inner {
    transform: rotateY(180deg);
  }
  .team-card:hover .team-card__avatar {
    opacity: 0;
  }
}
@media (hover: none) {
  .team-card:active .team-card__inner {
    transform: rotateY(180deg);
  }
  .team-card:active .team-card__avatar {
    opacity: 0;
  }
}
.team-card:focus-within .team-card__inner {
  transform: rotateY(180deg);
}
.team-card:focus-within .team-card__avatar {
  opacity: 0;
}
.team-card__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.team-card__face--front {
  padding: 0.5rem;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
}
.team-card__face--back {
  padding: 1.25rem;
  transform: rotateY(180deg) translateZ(0);
  display: flex;
  flex-direction: column;
  background: var(--team-card-back, #9EC7C9);
  color: var(--team-card-text, #050505);
}
.team-card__avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.45s ease-out;
}
.team-card__meta {
  flex: 1;
  padding: 0.625rem;
  border-radius: inherit;
  background: rgba(79, 79, 79, 0.1);
  backdrop-filter: blur(7px);
}
.team-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.75rem;
}
.team-card__role {
  color: #E4E4E4;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375rem;
}
.team-card__face--back .team-card__name {
  color: var(--team-card-text, #050505);
}
.team-card__face--back .team-card__role {
  color: var(--team-card-role, #4f4f4f);
}
.team-card__bio {
  overflow-y: auto;
  margin-top: 1.875rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  scrollbar-width: none;
}
.team-card__bio::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1024px) {
  .team-card__face--front {
    padding: 4px;
  }
  .team-card__face--back {
    padding: 6px;
  }
  .team-card__meta {
    padding-block: 5px;
  }
  .team-card__name {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
  }
  .team-card__role {
    font-size: 16px;
    line-height: 22px;
  }
  .team-card__bio {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.3;
  }
  .team-card:hover .team-card__inner, .team-card:active .team-card__inner, .team-card:focus-within .team-card__inner {
    transform: none;
  }
  .team-card:hover .team-card__avatar, .team-card:active .team-card__avatar, .team-card:focus-within .team-card__avatar {
    opacity: 1;
  }
}
.team-card-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  -webkit-tap-highlight-color: transparent;
}
.team-card-modal.is-open {
  display: block;
}
.team-card-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  border: none;
  padding: 0;
  cursor: pointer;
  touch-action: none;
}
.team-card-modal__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  max-width: 320px;
  max-height: calc(100% - 48px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 6px;
  background: var(--team-card-back, #9EC7C9);
  color: var(--team-card-text, #050505);
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.team-card-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--team-card-text, #050505);
  cursor: pointer;
}
.team-card-modal__close svg {
  width: 100%;
  height: 100%;
}
.team-card-modal__name {
  margin: 0 0 4px;
  padding-right: 40px;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}
.team-card-modal__role {
  color: var(--team-card-role, #4f4f4f);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}
.team-card-modal__bio {
  overflow-y: auto;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  max-height: 13.05em;
  scrollbar-width: none;
}
.team-card-modal__bio::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1025px) {
  .team-card-modal {
    display: none !important;
  }
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.team-list .team-card {
  flex: 0 1 calc(25% - 15px);
  min-width: 12.5rem;
  max-width: 16.875rem;
}

@media (max-width: 1024px) {
  .team-list {
    gap: 12px;
  }
  .team-list .team-card {
    flex-basis: calc(50% - 6px);
    min-width: 140px;
    max-width: none;
  }
}
.team-hero {
  margin-block: 11.25rem 8.75rem;
}
.team-hero .h2 {
  color: #E4E4E4;
  text-align: center;
}
.team-hero__subtitle {
  margin: 3.125rem auto 0;
  max-width: 35rem;
  text-align: center;
}
.team-hero .work-dropout {
  margin-block: 5rem 8.75rem;
}

@media (max-width: 1024px) {
  .team-hero {
    margin-block: 150px 50px;
  }
  .team-hero__subtitle {
    margin-top: 120px;
    max-width: 100%;
  }
  .team-hero .work-dropout {
    margin-block: 55px;
  }
}
.team-block {
  margin-top: 5rem;
  margin-inline: auto;
  max-width: 1280px;
  scroll-margin-top: 2.5rem;
}
.team-block .h4 {
  color: #9EC7C9;
  text-align: center;
  margin-bottom: 5.625rem;
}

.team-block + .team-block {
  margin-top: 5.625rem;
}

@media (max-width: 1024px) {
  .team-block {
    margin-top: 55px;
    scroll-margin-top: 40px;
  }
  .team-block .h4 {
    margin-bottom: 55px;
  }
  .team-block + .team-block {
    margin-top: 55px;
  }
}
.work-dropout__wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
}
.work-dropout__dropdown {
  position: relative;
  width: 30%;
  max-width: 25.8125rem;
}
.work-dropout__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-top: 1px solid #4f4f4f;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.work-dropout__toggle[aria-expanded=true] .work-dropout__toggle-icon {
  transform: rotate(180deg);
}
.work-dropout__toggle[aria-expanded=true] {
  border-top: 1px solid #ffffff;
}
.work-dropout__toggle-label {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.work-dropout__toggle-icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.work-dropout__menu {
  background-color: #050505;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 10;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.work-dropout__menu[hidden] {
  display: none !important;
}
.work-dropout__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.work-dropout__option {
  padding: 0.8125rem 1.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
}
.work-dropout__option span {
  width: 1rem;
  height: 1rem;
  border-radius: 93px;
  padding: 0;
  border: 1px solid #919191;
  position: relative;
}
.work-dropout__option.is-active span {
  background-color: #ffffff;
  border-color: #ffffff;
}
.work-dropout__option.is-active span::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #919191;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .work-dropout__wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .work-dropout__dropdown {
    width: 100%;
    max-width: none;
  }
  .work-dropout__toggle {
    padding: 10px 14px;
  }
  .work-dropout__menu {
    top: calc(100% + 8px);
    border-radius: 4px;
  }
  .work-dropout__option {
    padding: 13px 30px;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
  }
  .work-dropout__option span {
    width: 16px;
    height: 16px;
    border-radius: 93px;
    border-width: 1px;
  }
  .work-dropout__option span::after {
    width: 8px;
    height: 8px;
  }
}
/*# sourceMappingURL=team.css.map */