.feature-page {
  background: var(--ground);
}

.feature-hero {
  padding-block: clamp(58px, 8vw, 108px);
}

.feature-hero-grid {
  position: relative;
  display: grid;
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.feature-hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 26px;
  color: #faf4f2;
  font-size: clamp(3.2rem, 2rem + 5vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.048em;
}

.feature-hero-copy h1 em {
  color: var(--wine-light);
  font-weight: 500;
}

.feature-hero-copy .lead {
  max-width: 52ch;
}

.feature-hero-figure {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #795063;
  border-radius: 20px;
  background: rgb(255 255 255 / 0.045);
  box-shadow: 0 30px 70px rgb(20 3 10 / 0.25);
}

.feature-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
  background: var(--paper);
  object-fit: contain;
  object-position: top center;
}

.feature-hero-figure figcaption,
.content-item figcaption,
.project-step figcaption {
  margin-top: 12px;
  color: #c9afb8;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.feature-section {
  background: var(--ground);
}

.feature-section:nth-of-type(even) {
  background: var(--paper);
}

.feature-heading {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.feature-heading h2 {
  margin-bottom: 24px;
}

.feature-heading > p:last-child:not(.eyebrow) {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.content-list {
  display: grid;
  gap: clamp(55px, 8vw, 96px);
}

.content-item {
  display: grid;
  gap: 30px;
  align-items: center;
}

.content-item figure,
.project-step figure {
  min-width: 0;
  margin: 0;
}

.content-item figure {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ground-2);
  box-shadow: 0 22px 50px -38px rgb(37 12 23 / 0.5);
}

.content-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  border-radius: 10px;
  object-fit: contain;
}

.content-item figcaption,
.project-step figcaption {
  color: var(--ink-2);
  text-align: left;
}

.content-number {
  color: var(--wine);
  font: 650 0.75rem/1 var(--font-display);
  letter-spacing: 0.08em;
}

.content-item h3 {
  margin: 13px 0 16px;
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
}

.content-item p,
.project-step-copy > p {
  color: var(--ink-2);
}

.feature-method {
  background: var(--forest) !important;
  color: #eef0e7;
}

.feature-method .section-lead {
  color: #aab8ab;
}

.feature-method .method-notes {
  margin: 0 0 clamp(52px, 8vw, 82px);
}

.feature-method .method-notes > div {
  border-color: #35473a;
}

.feature-method .method-notes span,
.feature-method .method-notes h3 {
  color: #eef0e7;
}

.feature-method .method-notes p {
  color: #aab8ab;
}

.feature-method .data-bento {
  margin-top: 34px;
}

.feature-split {
  display: grid;
  gap: 34px;
  align-items: start;
}

.feature-split > div > p {
  max-width: 62ch;
  color: var(--ink-2);
}

.feature-callout {
  padding: 25px;
  border-left: 3px solid var(--wine);
  border-radius: 0 14px 14px 0;
  background: var(--ground-2);
}

.feature-callout strong {
  display: block;
  margin-bottom: 8px;
  font: 650 1.35rem/1.25 var(--font-display);
}

.feature-callout p {
  margin: 0;
  color: var(--ink-2);
}

.format-grid,
.feature-formula-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-card,
.feature-formula-list li {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.format-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--wine);
  font: 650 2rem/1 var(--font-display);
}

.format-card h3,
.feature-formula-list h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.format-card p,
.feature-formula-list p {
  margin: 0;
  color: var(--ink-2);
}

.feature-formula-note {
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.feature-invite {
  background: var(--wine-dark) !important;
  color: #f8eee9;
}

.feature-invite .wrap {
  display: grid;
  gap: 28px;
  align-items: center;
}

.feature-invite h2 {
  max-width: 16ch;
  margin-bottom: 20px;
}

.feature-invite p {
  max-width: 54ch;
  color: #dec9ce;
}

.feature-invite .btn {
  justify-self: start;
}

.next-feature {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--forest);
  color: #eef0e7;
}

.next-feature .wrap {
  display: grid;
  gap: 24px;
  align-items: center;
}

.next-feature h2 {
  max-width: 17ch;
  margin-bottom: 16px;
}

.next-feature p {
  max-width: 52ch;
  color: #b7c3b5;
}

.next-feature .btn {
  justify-self: start;
  border-color: #71806e;
  color: #eef0e7;
}

.project-steps {
  display: grid;
  gap: clamp(64px, 9vw, 110px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-step {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.project-step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font: 650 1rem/1 var(--font-display);
}

.project-step h3 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.8rem);
}

.project-step figure {
  overflow: hidden;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ground-2);
  box-shadow: 0 24px 55px -40px rgb(37 12 23 / 0.55);
}

.project-step img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--paper);
  object-fit: contain;
}

.signature-box {
  max-width: 900px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.signature-box h2 {
  margin-bottom: 24px;
}

.signature-box p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.1rem;
}

@media (min-width: 700px) {
  .format-grid,
  .feature-formula-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-invite .wrap,
  .next-feature .wrap {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .feature-invite .btn,
  .next-feature .btn {
    justify-self: end;
  }
}

@media (min-width: 960px) {
  .feature-hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .feature-page-report .feature-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

  .content-item {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: clamp(45px, 7vw, 88px);
  }

  .content-item:nth-child(even) figure {
    order: 2;
  }

  .feature-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(48px, 8vw, 100px);
  }

  .project-step {
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(42px, 6vw, 76px);
  }

  .project-step-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .project-step figure {
    grid-column: 2;
    grid-row: 1;
  }

  .project-step:nth-child(even) {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  }

  .project-step:nth-child(even) .project-step-copy {
    grid-column: 2;
  }

  .project-step:nth-child(even) figure {
    grid-column: 1;
  }
}

@media (max-width: 699px) {
  .feature-hero-figure img {
    max-height: 560px;
  }

  .content-item img {
    max-height: 440px;
  }
}

@media (max-width: 520px) {
  .feature-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .feature-hero .actions .btn,
  .feature-invite .btn,
  .next-feature .btn {
    width: 100%;
  }

  .feature-method .data-card {
    min-height: 480px;
  }
}
