.project-page {
  overflow: clip;
}

.project-page h1,
.project-page h2,
.project-page h3 {
  text-wrap: balance;
}

.project-page p {
  text-wrap: pretty;
}

.project-eyebrow {
  margin: 0 0 1rem;
  color: var(--brass-dark);
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.project-hero {
  min-height: min(50rem, 86vh);
  color: var(--ivory-50);
  background: var(--wine-950);
}

.project-hero__copy {
  display: flex;
  min-height: min(50rem, 86vh);
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4rem, 9vw, 8rem);
  padding-inline: clamp(1.5rem, 5vw, 6rem);
}

.project-hero__copy .project-eyebrow {
  color: var(--brass-light);
}

.project-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ivory-50);
  font-size: clamp(3.1rem, 7.6vw, 7.25rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.045em;
}

.project-hero__tagline {
  max-width: 24ch;
  margin: 2rem 0 0;
  color: var(--brass-light);
  font-size: clamp(1.25rem, 2.5vw, 2.15rem);
  line-height: 1.2;
}

.project-hero__lead {
  max-width: 38rem;
  margin: 2rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-hero__visual {
  position: relative;
  min-height: min(50rem, 86vh);
  border-left: 1px solid var(--brass);
}

.project-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  background: var(--ivory-50);
}

.project-section--tint {
  background: var(--ivory-100);
}

.project-section--wine {
  color: var(--ivory-50);
  background: var(--wine-950);
}

.project-section__number {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--brass-dark);
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.project-section__heading {
  max-width: 19ch;
  margin: 0;
  color: var(--wine-800);
  font-size: clamp(2.35rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.025em;
}

.project-section__heading--wide {
  max-width: 24ch;
}

.project-section__lead {
  max-width: 50rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.8;
}

.editorial-copy {
  font-size: 1.05rem;
  line-height: 1.85;
}

.editorial-copy p:last-child {
  margin-bottom: 0;
}

.editorial-image {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.editorial-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-quote {
  margin: 2.25rem 0 0;
  padding: 1.5rem 0 0 2rem;
  color: var(--brass-dark);
  border-top: 1px solid var(--brass);
  border-left: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  line-height: 1.35;
}

.project-quote i {
  margin-right: .75rem;
  font-size: 1.1rem;
}

.audience-item {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.audience-item:last-child {
  border-bottom: 1px solid var(--line);
}

.audience-item h3 {
  margin-bottom: .6rem;
  color: var(--wine-800);
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  font-weight: 600;
}

.audience-item p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.project-goal {
  height: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--ivory-100);
  border: 1px solid var(--brass);
}

.project-goal h3 {
  margin-bottom: 1.5rem;
  color: var(--wine-800);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.project-goal p {
  color: var(--ink-muted);
  line-height: 1.8;
}

.direction-card {
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.7rem);
  background: var(--ivory-50);
  border: 1px solid var(--line);
}

.direction-card__icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  color: var(--wine-800);
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-size: 1.2rem;
}

.direction-card h3 {
  margin: 1.5rem 0 1rem;
  color: var(--wine-800);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
}

.direction-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.process-image {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.process-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-list {
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 0 0 2rem 4.5rem;
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  content: counter(process);
  color: var(--brass-dark);
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-weight: 700;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 3rem;
  bottom: 0;
  left: 1.5rem;
  width: 1px;
  content: "";
  background: var(--line);
}

.process-step h3 {
  margin: 0 0 .55rem;
  color: var(--wine-800);
  font-size: 1.35rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.result-heading {
  max-width: 22ch;
  margin-bottom: 3.25rem;
  color: var(--brass-light)!important;
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
}

.result-item {
  height: 100%;
  padding: 0 clamp(1rem, 2.4vw, 2rem);
  border-left: 1px solid var(--brass-line);
}

.result-item i {
  color: var(--brass-light);
  font-size: 1.35rem;
}

.result-item h3 {
  margin: 1rem 0 .8rem;
  color: var(--brass-light);
  font-size: 1.35rem;
  font-weight: 500;
}

.result-item p {
  margin: 0;
  line-height: 1.7;
}

.project-cta {
  padding: clamp(2.5rem, 5vw, 5rem);
  background: var(--ivory-100);
  border: 1px solid var(--brass);
}

.project-cta h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--wine-800);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.project-cta p {
  max-width: 58rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.project-cta .btn {
  min-height: 3.25rem;
  padding-inline: 1.5rem;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-back-link {
  color: var(--wine-800);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .project-hero,
  .project-hero__copy,
  .project-hero__visual {
    min-height: auto;
  }

  .project-hero__visual {
    min-height: 32rem;
    border-top: 1px solid var(--brass);
    border-left: 0;
  }

  .editorial-image,
  .process-image {
    min-height: 28rem;
  }

  .result-item {
    padding-block: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .project-hero__visual,
  .editorial-image,
  .process-image {
    min-height: 23rem;
  }

  .project-section__number {
    width: 2.15rem;
    height: 2.15rem;
  }

  .project-quote {
    padding-left: 0;
  }

  .project-cta {
    padding: 2rem 1.25rem;
  }

  .project-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
