[data-next-page] main,
[data-next-index] {
  --next-wash: #edf1e8;
  --next-rule: #cdd9cc;
  --next-heading: #21402f;
}

@media (min-width: 981px) {
  body[data-next-page] header.site .mainnav { gap: 22px; font-size: 14px; }
  body[data-next-page] header.site .hdr-cta { gap: 11px; }
  body[data-next-page] header.site .hdr-cta :is(.phone, .btn) { flex-shrink: 0; white-space: nowrap; }
  body[data-next-page] header.site .hdr-cta .phone { font-size: 13px; }
}
@media (min-width: 981px) and (max-width: 1150px) {
  body[data-next-page] header.site .row { gap: 12px; }
  body[data-next-page] header.site .hdr-cta .phone { display: none; }
}

.next-hero.phero {
  padding: 24px 0 clamp(36px, 6vw, 76px);
  background: var(--next-wash);
}
.next-hero .crumbs { margin: 0 0 22px; }
.next-hero-grid { display: grid; gap: clamp(24px, 5vw, 76px); align-items: center; }
.next-hero-grid.has-visual { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
.next-intro { max-width: 760px; min-width: 0; }
.next-hero .next-eyebrow {
  display: inline-block;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid var(--next-rule);
  border-radius: 999px;
  color: var(--next-heading);
  font-size: 13px;
  font-weight: 750;
}
.next-hero.phero h1 {
  max-width: 19ch;
  margin: 12px 0 14px;
  color: var(--next-heading);
  font: 550 clamp(35px, 5.2vw, 70px)/1.03 var(--display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.next-hero .next-lede,
[data-next-index] .next-lede {
  max-width: 57ch;
  margin: 0;
  color: var(--graphite);
  font: 450 clamp(17px, 1.6vw, 21px)/1.5 var(--sans);
}
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.next-actions .btn { min-height: 48px; text-align: center; }
.next-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 25px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--next-rule);
}
.next-facts dt { color: var(--next-heading); font-size: 16px; font-weight: 750; }
.next-facts dd { margin: 3px 0 0; color: var(--graphite); font-size: 14px; }
.next-photo {
  width: min(100%, 430px);
  justify-self: center;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--next-rule);
  border-radius: 5px 22px 5px 22px;
  background: var(--surface);
  box-shadow: 0 16px 32px -24px rgba(33, 64, 47, .4);
}
.next-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 3px 15px 3px 15px;
  background: #fbfaf6;
}
.next-photo figcaption { margin: 8px 4px 1px; color: var(--graphite); font: 600 13px/1.45 var(--sans); }
.next-monogram {
  display: grid;
  width: min(100%, 350px);
  min-height: 180px;
  aspect-ratio: 1.65;
  align-items: center;
  justify-items: center;
  justify-self: center;
  border: 1px solid var(--next-rule);
  border-radius: 5px 32px 5px 32px;
  background: #dce8db;
  color: var(--next-heading);
  font: 520 clamp(38px, 6vw, 79px)/1 var(--display);
  letter-spacing: -.065em;
}

.next-section { padding: clamp(32px, 6vw, 70px) 0; }
.next-section h2 {
  max-width: 30ch;
  margin: 0 0 20px;
  color: var(--next-heading);
  font: 550 clamp(29px, 3.5vw, 49px)/1.11 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.next-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 244px), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.next-card-grid li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 2.6vw, 26px);
  border: 1px solid var(--next-rule);
  border-radius: 18px 5px 18px 5px;
  background: var(--surface);
}
.next-card-grid h3 { margin: 0; color: var(--next-heading); font: 600 22px/1.18 var(--display); }
.next-card-grid p { margin: 9px 0 0; color: var(--graphite); font: 450 16px/1.56 var(--sans); }
.next-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--next-heading);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.next-card-grid .next-text-link { align-self: flex-start; margin-top: auto; padding-top: 8px; }
.next-text-link:hover { color: var(--pine-500); }
.next-details { padding-top: 0; }
.next-detail-list { max-width: 76ch; margin: 0; padding: 0; list-style: none; }
.next-detail-list li { padding-block: 14px; border-top: 1px solid var(--next-rule); }
.next-detail-list h3 { margin: 0 0 6px; color: var(--next-heading); font: 600 22px/1.2 var(--display); }
.next-detail-list p { margin: 0; color: var(--graphite); }
.next-hero :is(a, button):focus-visible,
.next-section :is(a, summary):focus-visible,
[data-next-index] a:focus-visible { outline: 3px solid #37674d; outline-offset: 4px; }
.next-faq { background: var(--next-wash); }
.next-questions { width: min(100%, 790px); border-top: 1px solid var(--next-rule); }
.next-questions details { border-bottom: 1px solid var(--next-rule); }
.next-questions summary { min-height: 48px; padding: 13px 18px 13px 0; cursor: pointer; font-weight: 750; }
.next-questions p { max-width: 70ch; margin: 0; padding: 0 0 16px 18px; color: var(--graphite); }
.next-close .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--next-rule);
  border-radius: 18px;
  background: var(--next-wash);
}
.next-close h2 { margin-bottom: 6px; font-size: clamp(26px, 3vw, 38px); }
.next-close p, .next-close .next-actions { margin: 0; }
[data-next-page] :is(#guide-library, #plan-your-order, #material-options, #founder-profiles) { scroll-margin-top: 106px; }
.next-material { background: var(--next-wash); }
.next-hero .next-byline { margin: 14px 0 0; color: var(--graphite); font-size: 14px; }
.next-byline time { display: block; }
.next-material p { max-width: 68ch; margin: 0 0 14px; color: var(--graphite); }
.next-material .wrap > h3 { margin: 24px 0 8px; font: 600 24px/1.2 var(--display); color: var(--next-heading); }
.next-fabric-grid { margin-block: 20px; }
.next-fabric-grid dl { margin: 10px 0 0; }
.next-fabric-grid dt { margin-top: 12px; color: var(--next-heading); font-weight: 750; }
.next-fabric-grid dd { margin: 2px 0 0; color: var(--graphite); }

[data-next-index] main { max-width: 1080px; padding-block: clamp(24px, 6vw, 72px); }
[data-next-index] h1 { margin: 14px 0; color: var(--next-heading); font-size: clamp(34px, 6vw, 63px); }
[data-next-index] main > p { max-width: 74ch; }
.next-index-list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 38px; }
.next-index-list li { min-width: 0; padding-left: 4px; }
.next-index-list a {
  display: block;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--next-rule);
  border-radius: 15px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}
.next-index-list a:hover { border-color: var(--pine-500); }
.next-index-list h2 { margin: 0 0 8px; color: var(--next-heading); font-size: 22px; }
.next-index-list p { margin: 0; }

@media (max-width: 720px) {
  .next-hero.phero { padding: 16px 0 32px; }
  .next-hero-grid.has-visual { grid-template-columns: minmax(0, 1fr); }
  .next-hero .crumbs { margin-bottom: 12px; }
  .next-hero .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .next-hero.phero h1 { font-size: clamp(33px, 7vw, 47px); }
  .next-photo { justify-self: start; max-width: 350px; }
  .next-photo img { aspect-ratio: 16 / 10; }
  .next-monogram { min-height: 120px; width: min(100%, 220px); justify-self: start; }
  .next-close .wrap { width: calc(100% - 36px); }
  .next-index-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .next-hero .next-actions { gap: 8px; }
  .next-hero .next-actions .btn { padding-inline: 12px; }
  .next-facts { gap: 12px; }
}
