/* ============================================================
   About Us — page styles
   Desktop geometry measured at a 1440px viewport against
   _source/spec/about-us-ref-1440.png (inner pages keep the
   transparent fixed header, as on the live site).
   ============================================================ */

/* ---------- intro ---------- */

.about-hero {
  height: 749px;
  overflow: hidden;
  background: var(--gray-soft);
}

.about-hero__inner {
  padding-top: 55px;
}

.about-hero__title {
  margin: 0 0 0 8px;
  font-size: 120px;
  line-height: 120px;
  letter-spacing: 0;
}

.about-hero__subtitle {
  margin: 0 0 0 10px;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 0.1em;
}

.about-hero__body {
  width: 954px;
  margin: 58px 0 0 10px;
}

.about-hero__body p {
  margin: 0 0 27.2px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: normal;
}

.about-hero__body p:last-child {
  margin-bottom: 0;
}

/* ---------- our lab ---------- */

.about-lab {
  position: relative;
  height: 566px;
  overflow: hidden;
  background: var(--white);
}

.about-lab__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 29px;
  width: 1250px;
  max-width: calc(100% - 48px);
  height: 100%;
  margin: 0 auto;
  padding-top: 37px;
}

.about-lab__media {
  position: relative;
  flex: 0 1 620px;
  width: 620px;
  max-width: 100%;
  height: auto;
  margin: 22px 0 0;
}

.about-lab__frame {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 620 / 411;
}

.about-lab__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* sparks badge sits behind the lab image and peeks out to its left */
.about-lab__badge {
  position: absolute;
  top: 283px;
  left: -91px;
  z-index: 0;
  width: 141px;
  height: 140px;
}

.about-lab__content {
  position: relative;
  flex: 0 0 444px;
  width: 444px;
}

.about-lab__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 115px;
  line-height: 115px;
  letter-spacing: 0;
  color: var(--text);
}

.about-lab__subtitle {
  margin: 1px 0 0 15px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.about-lab__text {
  width: 424px;
  margin: 40px 0 0 8px;
}

.about-lab__text p {
  margin: 0 0 27.2px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: normal;
}

.about-lab__text p:last-child {
  margin-bottom: 0;
}

.about-lab__action {
  margin: 54px 0 0 8px;
}

.about-lab__btn {
  width: 148px;
  height: 40px;
  padding: 0;
  font-size: 15px;
  letter-spacing: 0.1em;
}

/* ---------- the team ---------- */

.about-team {
  height: 1428px;
  overflow: hidden;
  background: var(--gray-soft);
}

.about-team__inner {
  padding-top: 36px;
}

.about-team__title {
  margin: 0 0 0 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 115px;
  line-height: 115px;
  letter-spacing: 0;
  color: var(--text);
}

.about-team__subtitle {
  margin: 0 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.team-list {
  margin: 112px 0 0 18px;
}

.team-member {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 26px;
  align-items: start;
}

.team-member:nth-child(2) {
  margin-top: 99px;
}

.team-member:nth-child(3) {
  margin-top: 116px;
}

.team-member__photo {
  width: 240px;
  height: auto;
}

.team-member__body {
  min-width: 0;
}

.team-member__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text);
}

.team-member__name--mark {
  margin-top: 11px;
}

.team-member__name--prince {
  font-size: 26px;
  line-height: 26px;
}

/* the live site renders these white on near-white; made readable here */
.team-member__bio {
  margin: 20px 0 0;
  max-width: 677px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 15.6px;
  letter-spacing: normal;
  color: var(--text);
}

.team-member__bio--prince {
  line-height: 14.4px;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .about-hero {
    height: auto;
    overflow: visible;
    padding: 40px 0 48px;
  }

  .about-hero__inner {
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-hero__title {
    margin-left: 0;
    font-size: clamp(42px, 9vw, 84px);
    line-height: 1;
    letter-spacing: 0;
  }

  .about-hero__subtitle {
    margin-left: 0;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.06em;
  }

  .about-hero__body {
    width: auto;
    margin: 28px 0 0;
  }

  .about-hero__body p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .about-lab {
    height: auto;
    padding: 40px 0 56px;
    overflow: visible;
  }

  .about-lab__inner {
    flex-direction: column;
    gap: 26px;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0 24px;
  }

  .about-lab__media {
    flex: 0 0 auto;
    margin-top: 0;
    width: 100%;
    max-width: 620px;
  }

  .about-lab__badge {
    display: none;
  }

  .about-lab__content {
    flex: 0 0 auto;
    width: auto;
  }

  .about-lab__title {
    font-size: clamp(44px, 10vw, 84px);
    line-height: 1;
  }

  .about-lab__subtitle {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .about-lab__text {
    width: auto;
    margin: 20px 0 0;
  }

  .about-lab__text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .about-lab__action {
    margin: 24px 0 0;
  }

  .about-team {
    height: auto;
    padding: 32px 0 56px;
    overflow: visible;
  }

  .about-team__inner {
    padding-top: 0;
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-team__title {
    margin-left: 0;
    font-size: clamp(44px, 10vw, 84px);
    line-height: 1;
  }

  .about-team__subtitle {
    margin-left: 0;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .team-list {
    margin: 36px 0 0;
  }

  .team-member {
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 20px;
  }

  .team-member:nth-child(2),
  .team-member:nth-child(3) {
    margin-top: 36px;
  }

  .team-member__photo {
    width: 120px;
  }

  .team-member__name {
    font-size: 20px;
    line-height: 1.2;
  }

  .team-member__name--mark {
    margin-top: 0;
  }

  .team-member__name--prince {
    font-size: 20px;
    line-height: 1.2;
  }

  .team-member__bio {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .team-member {
    grid-template-columns: 1fr;
  }

  .team-member__photo {
    width: 140px;
  }

  .team-member__body {
    margin-top: 14px;
  }
}
