.about-page {
  background: #000;
  color: #fdfcfc;
}

.about-main {
  display: block;
  width: 100%;
  overflow: hidden;
}

.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 480px;
  padding: 120px 0;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.about-hero__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 45%;
}

.about-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 28, 33, 0.56) 0%, rgba(0, 0, 0, 0.04) 68%),
    linear-gradient(180deg, rgba(8, 8, 8, 0) 38%, #000 100%);
  content: "";
  pointer-events: none;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--section-grid);
  max-width: var(--section-grid);
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.about-hero__title {
  width: auto;
  margin: 0;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -1.68px;
  line-height: 1;
}

.about-hero__copy {
  width: 592px;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 20px;
  font-variation-settings: "wdth" 100;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.2;
  text-wrap: balance;
}

.team-section {
  box-sizing: border-box;
  width: 100%;
  padding: 160px 0;
  background: #faf3ec;
  color: #000;
}

.team-section__content {
  width: var(--section-grid);
  max-width: var(--section-grid);
  margin-inline: auto;
}

.team-section__title {
  margin: 0 0 50px;
  color: #060606;
  font-family: "Sora", sans-serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -2.4px;
  line-height: 48px;
  text-align: center;
}

.team-filters {
  display: flex;
  width: 100%;
  height: 32px;
  margin: 0 0 50px;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.team-filter {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 88px;
  height: 32px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f3ece1;
  color: #9a938b;
  cursor: pointer;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  transition:
    background-color 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.team-filter.is-active {
  background: #000;
  color: #fff;
}

.team-filter:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.team-filter-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.team-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 48px;
  margin-inline: auto;
}

.team-card {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.team-card[hidden] {
  display: none;
}

.team-card__portrait {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 258 / 340;
  flex: none;
  overflow: hidden;
  background: #f3ece1;
}

.team-card__hover-background,
.team-card__person {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.team-card__hover-background {
  z-index: -1;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card__person {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card__person--portrait-two {
  object-position: center top;
  transform: scale(1);
  transform-origin: center top;
}

.team-card__info {
  width: 100%;
  height: auto;
  min-height: 0;
}

.team-card__name-row {
  display: flex;
  width: 100%;
  height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.team-card__name-row h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #000;
  font-family: "Sora", sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-card__name-row img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: filter 220ms ease;
}

.team-card__role,
.team-card__bio {
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.team-card__role {
  margin-top: 4px;
  color: #000;
  line-height: 20px;
}

.team-card__bio {
  margin-top: 8px;
  color: #424242;
  line-height: normal;
  text-wrap: balance;
}

.story-cta {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: 325px;
  padding: 100px 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #d8782c url("https://deckdocs.com/wp-content/uploads/kodety/assets/assets/sections/about/story-cta/background-7c0afb4473d2.png") center / cover no-repeat;
  color: #fdfcfc;
}

.story-cta__title {
  margin: 0;
  color: #fdfcfc;
  font-family: "Sora", sans-serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -2.4px;
  line-height: 57px;
  text-align: center;
  text-wrap: balance;
}

.story-cta__button.site-footer__cta.hero__cta {
  --cta-width: 188px;
  --cta-height: 44px;
  --cta-font-size: 16px;

  width: 188px;
  min-width: 188px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 20px;
  border-color: #fdfcfc;
  font-size: 16px;
  letter-spacing: -0.48px;
}

@media (hover: hover) and (pointer: fine) {
  .story-cta__button.site-footer__cta.hero__cta:hover {
    border-color: #faf3ec;
  }
}

.story-cta__button.site-footer__cta.hero__cta:focus-visible {
  border-color: #faf3ec;
}

/* The footer intro moves into view. Its CTA must remain outside the old
   desktop clipping mask throughout that entrance, including its border. */
.about-page .site-footer__top {
  overflow: visible;
}

.about-page .site-footer__cta.hero__cta {
  flex-shrink: 0;
}

.about-page .site-footer__cta .hero__cta-labels {
  height: auto;
  min-height: 1.2em;
  line-height: 1.2;
}

.about-page .site-footer__cta .hero__cta-label {
  line-height: 1.2;
}

@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-card__hover-background {
    opacity: 1;
  }

  .team-card:hover .team-card__person {
    transform: scale(1.035);
  }

  .team-card:hover .team-card__person--portrait-two {
    transform: scale(1.035);
  }

  .team-card:hover .team-card__name-row img {
    filter: brightness(0);
  }
}

@media (max-width: 1249px) {
  .about-hero__content {
    width: var(--section-grid);
    max-width: var(--section-grid);
    margin-inline: auto;
  }

  .team-section__content {
    width: var(--section-grid);
    max-width: var(--section-grid);
    margin-inline: auto;
  }

  .team-grid {
    width: 100%;
  }
}

@media (max-width: 1099px) {
  .about-hero__content {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin-inline: auto;
    gap: 16px;
  }

  .about-hero__title {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .about-hero__copy {
    width: 520px;
    font-size: 20px;
    letter-spacing: -0.4px;
    line-height: 1.1;
  }

  .team-section {
    padding: 100px 0;
  }

  .team-section__content {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin-inline: auto;
  }

  .team-section__title {
    font-size: 40px;
    letter-spacing: -2px;
    line-height: 40px;
  }

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

@media (max-width: 767px) {
  .about-hero__image {
    object-position: 52% center;
  }

  .about-hero::before {
    background:
      linear-gradient(90deg, rgba(0, 28, 33, 0.42) 0%, rgba(0, 0, 0, 0.04) 86%),
      linear-gradient(180deg, rgba(8, 8, 8, 0) 30%, #000 100%);
  }

  .about-hero__content {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    margin-inline: auto;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .about-hero__title {
    font-size: 40px;
    letter-spacing: -1.2px;
    line-height: 40px;
  }

  .about-hero__copy {
    width: 345px;
    max-width: 100%;
    font-size: 20px;
    letter-spacing: -0.4px;
    line-height: 1.2;
  }

  .team-section {
    padding: 80px 0;
  }

  .team-section__title {
    max-width: 345px;
    margin: 0 auto 24px;
    font-size: 32px;
    letter-spacing: -1.6px;
    line-height: 32px;
  }

  .team-filters {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
  }

  .team-filter {
    min-width: 88px;
    height: 32px;
    padding: 0 20px;
    font-size: 16px;
    line-height: normal;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 48px;
  }

  .team-card {
    width: 100%;
    height: auto;
    gap: 10px;
  }

  .team-card__portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 258 / 340;
    flex: none;
  }

  .team-card__info,
  .team-card__name-row {
    width: 100%;
  }

  .team-card__info {
    height: auto;
  }

  .team-card__name-row {
    height: 20px;
  }

  .team-card__name-row h3 {
    font-size: 17px;
    letter-spacing: -0.51px;
    line-height: 20px;
  }

  .team-card__name-row img {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .team-card__role {
    margin-top: 3px;
    font-size: 14px;
    line-height: 17px;
  }

  .team-card__bio {
    margin-top: 6px;
    font-size: 13px;
    line-height: 15px;
  }

  .story-cta {
    height: 256px;
    padding: 64px 24px;
    gap: 24px;
  }

  .story-cta__title {
    width: 345px;
    max-width: 100%;
    font-size: 32px;
    letter-spacing: -1.6px;
    line-height: 32px;
  }

  .story-cta__button.site-footer__cta.hero__cta {
    width: 188px;
    min-width: 188px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    font-size: 14px;
  }
}
