.home-page .home-hero .hero-copy h1 {
  max-width: 11ch;
  line-height: 1.08;
  text-wrap: balance;
}

.home-page .home-hero .hero-copy .hero-intro {
  max-width: 54ch;
  white-space: normal !important;
  text-shadow: 0 1px 6px #000, 0 0 18px #000;
}

.home-page .home-hero .hero-actions {
  flex-wrap: wrap;
}

.core-services-section .hero-service-card {
  grid-template-areas:
    "icon title"
    "description description"
    "copy copy";
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: clamp(8px, 0.7vw, 14px);
}

.core-services-section .hero-service-card > img {
  grid-area: icon;
}

.core-services-section .hero-service-card h2 {
  grid-area: title;
  align-self: center;
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.8vw, 1.875rem);
  white-space: normal;
  line-height: 1.08;
}

.core-services-section .hero-service-card > .service-description {
  grid-area: description;
  margin: 0;
  color: rgba(247, 251, 255, 0.86);
}

.core-services-section .hero-service-card > ul {
  grid-area: copy;
  margin: clamp(6px, 0.5vw, 10px) 0 0;
  padding-inline-start: 1.15em;
}

.core-services-section .hero-service-card > ul li + li {
  margin-top: 0.18em;
}

.home-page .home-hero .hero-copy p.hero-intro,
.core-services-section .hero-service-card > :is(.service-description, ul),
.partnership-copy p,
.section-page .section-heading p.page-intro:not(.eyebrow),
.team-page .clients-team-section .team-heading p.page-intro,
.contact-page .contact-copy p.page-intro:not(.eyebrow),
.portfolio-page .portfolio-hero p:not(.eyebrow),
.portfolio-page .portfolio-cta p:not(.eyebrow) {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.82rem + 0.3vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
}

.partnership-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 1rem clamp(1.75rem, 3vw, 3.5rem);
}

.partnership-copy p {
  flex: 1 1 36rem;
  max-width: 70ch;
  margin: 0;
}

.section-page main {
  padding-top: clamp(96px, 8vw, 144px);
}

.section-page .section-heading p.page-intro,
.contact-page .contact-copy p.page-intro {
  max-width: 64ch;
  margin: 0.8rem 0 0;
  color: var(--text);
}

.projects-page #projects-title,
.team-page #team-title,
.contact-page .contact-copy #contact-title,
.portfolio-page .portfolio-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  white-space: normal;
  text-wrap: balance;
}

.portfolio-page .portfolio-hero-copy > p {
  min-width: 0;
  max-width: 64ch;
  white-space: normal;
}

.portfolio-page .portfolio-cta > div {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.portfolio-page .portfolio-cta :is(h2, p:not(.eyebrow)) {
  white-space: normal;
}

.projects-page .projects-section .section-heading,
.projects-page .projects-section .project-grid,
.team-page .clients-team-section .team-heading,
.team-page .clients-team-section .team-grid {
  transform: none;
}

.projects-page .section-heading.split {
  align-items: start;
  flex-wrap: wrap;
}

.projects-page .project-card-title {
  position: absolute;
  inset: auto 0 0;
  padding: 1.3em 0.8em 0.55em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.contact-page .contact-copy p.page-intro {
  margin-block: 0 1rem;
}

.home-page .contact-copy .contact-lede-question {
  white-space: normal;
}

.contact-form-head .contact-form-title {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.65vw, 1.625rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
  white-space: normal;
  text-wrap: balance;
}

.contact-form-footer .contact-submit {
  min-width: 0;
  padding-inline: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.4vw, 1.05rem);
  white-space: normal !important;
}

@media (max-width: 980px) {
  .section-page.contact-page main {
    padding-top: clamp(48px, 11vw, 66px);
  }

  .contact-page #contact {
    transform: none !important;
    margin-bottom: var(--section-air) !important;
  }
}

@media (max-width: 700px) {
  .section-page.team-page main {
    padding-top: clamp(48px, 11vw, 66px);
  }
}

@media (max-width: 560px) {
  .portfolio-page .site-header .header-cta {
    display: none;
  }

  .home-page .home-hero .hero-stage {
    min-height: 380px !important;
  }

  .home-page .home-hero .hero-copy {
    position: relative;
    inset: auto !important;
    z-index: 4;
    height: auto;
    padding: 118px 12px 26px;
  }

  .home-page .home-hero .hero-copy :is(.hero-kicker, h1, .hero-actions) {
    position: static;
  }

  .home-page .home-hero .hero-copy h1 {
    margin: 0.35em 0;
    font-size: clamp(32px, 8.6vw, 43px);
  }

  .home-page .home-hero .hero-copy .hero-intro:not(.hero-kicker) {
    display: block !important;
    margin: 0 0 1em;
    max-width: 34ch;
    text-shadow: 0 1px 5px #000, 0 0 18px #000;
  }

  .home-page .home-hero .hero-actions {
    padding-inline-start: 0;
  }

  .home-page .home-hero .hero-actions .button {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding-inline: 0.75rem !important;
    font-size: 0.875rem !important;
    white-space: normal;
  }

  .section-page main {
    padding-top: 96px;
  }
}

@media (max-width: 360px) {
  .home-page .home-hero .hero-actions .button {
    flex-basis: 100%;
  }
}
