/* Final project-section refinement. Intentionally scoped below the existing hero. */
.project-stage {
  padding-top: clamp(84px, 7vw, 118px);
}

.project-heading {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: end;
  margin: 0 0 clamp(54px, 6vw, 92px);
  padding-bottom: clamp(38px, 4vw, 60px);
  border-bottom: 1px solid currentColor;
}

.project-heading .post-label {
  margin-bottom: clamp(30px, 3vw, 48px);
}

.project-heading h2,
.theseus-header h2 {
  max-width: 12ch;
  font-size: clamp(48px, 5.2vw, 82px);
  line-height: .96;
}

.project-heading > p {
  max-width: 31ch;
  padding-bottom: 4px;
  font-size: clamp(15px, 1.15vw, 18px);
}

.hope-stage {
  padding-top: clamp(84px, 7vw, 118px);
}

.hope-interface,
.service-browser,
.theseus-grid {
  position: relative;
  z-index: 1;
}

.theseus-header {
  grid-template-columns: 72px minmax(260px, 5fr) minmax(220px, 3fr) auto;
  gap: clamp(24px, 3vw, 54px);
  align-items: end;
  min-height: 180px;
  padding-bottom: 38px;
}

.theseus-header h2 {
  max-width: none;
  white-space: nowrap;
  letter-spacing: -.055em;
}

.theseus-header > p:not(.post-label) {
  padding-bottom: 4px;
}

.jenna-opening {
  aspect-ratio: 1.67;
  max-height: 760px;
  margin-top: 0;
  background: #d8d1c8;
}

.jenna-opening img,
.service-browser > .interface-window img {
  top: 0;
}

.service-browser > .interface-window {
  aspect-ratio: 1.55;
}

@media (max-width: 1100px) {
  .project-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-heading > p {
    max-width: 48ch;
  }

  .theseus-header {
    grid-template-columns: 60px 1fr auto;
    min-height: 0;
  }

  .theseus-header h2 {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .project-stage {
    padding-top: 72px;
  }

  .project-heading {
    display: block;
    margin-bottom: 40px;
    padding-bottom: 36px;
  }

  .project-heading h2,
  .theseus-header h2 {
    max-width: none;
    font-size: clamp(42px, 13vw, 60px);
    line-height: .98;
  }

  .project-heading > p {
    margin-top: 30px;
  }

  .theseus-header {
    min-height: 0;
    padding-bottom: 30px;
  }

  .jenna-opening {
    aspect-ratio: 1.18;
  }

  .service-browser > .interface-window {
    aspect-ratio: 1.05;
  }
}
