:root {
  --section-compact: clamp(56px, 6vw, 84px);
  --section-tight: clamp(44px, 5vw, 68px);
  --muted-text: color-mix(in srgb, var(--ink) 72%, var(--paper-light));
  --field-border: color-mix(in srgb, var(--ink) 62%, var(--paper-light));
  --error: color-mix(in srgb, var(--ember) 62%, var(--ink));
}

body { overflow-x: clip; }

.site-header {
  padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

h2 { font-size: clamp(40px, 4.5vw, 64px); }

.structure-choice,
.use-paths,
.decision-map,
.journal-preview,
.closing,
.content-section,
.editorial-head,
.quote-layout,
.journal-article {
  padding-top: var(--section-compact);
  padding-bottom: var(--section-compact);
}

.structure-choice > header {
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(30px, 3vw, 38px);
}

.structure-choice { padding-top: var(--section-tight); padding-bottom: var(--section-tight); }
.structure-paths { gap: clamp(18px, 2.4vw, 34px); }
.structure-paths img { aspect-ratio: 2 / 1; }
.structure-paths article > div { padding: clamp(22px, 2.5vw, 30px); }
.structure-paths h3 { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 12px; }
.structure-paths p { margin-bottom: 18px; }

.use-paths,
.decision-map,
.content-section,
.quote-layout { gap: clamp(36px, 5vw, 72px); }

.use-list > a {
  min-height: 104px;
  padding-block: 16px;
  transition: background-color 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .use-list > a:hover { transform: translateX(8px); }
}

.use-list > a:hover,
.use-list > a:focus-visible { padding-inline: 0; }

.decision-map dl > div { padding-block: 22px; }

.craft-copy { padding: var(--section-tight) var(--pad); }

.journal-preview { gap: clamp(24px, 3vw, 42px); }
.journal-preview article img { aspect-ratio: 4 / 3; }

.closing { padding-top: var(--section-tight); padding-bottom: var(--section-tight); }

.product-hero {
  height: auto;
  min-height: min(760px, calc(100svh - 70px));
}

.product-photo { min-height: 0; overflow: hidden; }
.product-photo img { height: 100%; object-fit: cover; }
.pattern-panel { min-width: 0; padding: clamp(42px, 5vw, 64px) var(--pad); }
.product-hero h1 { font-size: clamp(46px, 4.3vw, 64px); line-height: 1; margin-bottom: 22px; }
.lede { margin-block: 0; line-height: 1.5; }
.specs { margin: 18px 0; }
.specs div { padding-block: 8px; }

.content-section { min-height: 0; }
.option-list article { padding-block: 16px; }

.editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  align-items: end;
  gap: clamp(40px, 7vw, 112px);
  max-width: none;
  padding-top: var(--section-tight);
  padding-bottom: var(--section-tight);
}
.editorial-head h1 { max-width: 12ch; margin: 0; font-size: clamp(52px, 7vw, 84px); }
.editorial-head > p:last-child { max-width: 50ch; margin: 0 0 .3em; }

.process { min-height: 0; }
.process figure { max-height: none; min-height: 0; }
.process figure img { height: auto; object-fit: contain; }
.process figcaption { padding: 12px var(--pad); color: var(--muted-text); font-size: 14px; line-height: 1.4; }
.process > div { padding: 24px var(--pad); }
.process article { padding-block: 18px; }
.process article h2 { font-size: 30px; }

.gallery { padding-bottom: var(--section-compact); gap: 14px; }
.gallery img { height: clamp(260px, 26vw, 360px); }

.journal-grid { padding-bottom: var(--section-compact); gap: clamp(28px, 4vw, 58px); }
.journal-grid img { aspect-ratio: 16 / 10; }
.journal-grid h2 { font-size: clamp(34px, 3.4vw, 48px); }

.journal-article header { margin-bottom: 40px; }
.journal-article figure { margin-bottom: 44px; }
.journal-article figure img { max-height: 560px; object-fit: contain; object-position: center top; }
.journal-article > h2 { margin-top: 44px; }
.journal-article .article-meta {
  margin: 0 0 14px;
  color: var(--bark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.journal-article > ul,
.journal-article > aside {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.journal-article .article-summary {
  padding: 22px 24px;
  border-left: 4px solid var(--bark);
  background: var(--paper);
  font-size: 18px;
}
.article-checklist { padding-left: 1.25em; }
.article-checklist li { margin-block: 8px; padding-left: 5px; }
.article-table { max-width: 680px; margin: 30px auto; overflow-x: auto; }
.article-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-table caption { text-align: left; margin-bottom: 12px; color: var(--muted-text); }
.article-table th, .article-table td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--rule); }
.article-table th { background: var(--paper); }
.article-table td:first-child { width: 32%; }
.article-cta {
  margin-top: 54px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--ink);
  color: var(--paper-light);
}
.article-cta h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 48px); }
.article-cta p { max-width: 52ch; }
.article-cta .button { margin-top: 10px; background: var(--paper-light); color: var(--ink); }
.article-sources { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--rule); }
.article-sources h2 { margin-bottom: 14px; font: 700 18px/1.3 var(--body); }
.article-sources ul { padding-left: 1.2em; }
.article-sources li { margin-block: 7px; }
.article-sources p { color: var(--muted-text); font-size: 14px; }

.quote-layout h1 { font-size: clamp(48px, 5.5vw, 72px); }
.quote-layout form { padding: clamp(24px, 3vw, 38px); }
.steps { color: var(--muted-text); margin-bottom: 24px; }
legend { font-size: 32px; margin-bottom: 22px; }
label { margin-bottom: 14px; }
input,
select,
textarea { border-color: var(--field-border); }
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] { border-color: var(--error); outline: 2px solid color-mix(in srgb, var(--error) 25%, transparent); }
.field-error { min-height: 20px; color: var(--error); font-size: 14px; font-weight: 500; line-height: 1.35; }
.field-error:empty { min-height: 0; }
.consent-error { display: block; margin: -10px 0 16px 30px; }

.legal a { display: inline-flex; align-items: center; min-height: 44px; }

footer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 32px;
  padding-right: max(var(--pad), env(safe-area-inset-right));
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  padding-left: max(var(--pad), env(safe-area-inset-left));
  gap: clamp(32px, 5vw, 80px);
}

footer > div { gap: 2px; min-width: 0; }
footer > div:nth-child(2),
footer > div:nth-child(3) { width: 100%; justify-self: start; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
footer strong { margin-bottom: 6px; }
footer p { margin: 6px 0 0; line-height: 1.45; }
footer a { overflow-wrap: anywhere; }
footer a:not(.brand) { min-height: 32px; }

@media (max-width: 900px) {
  .editorial-head { grid-template-columns: 1fr; gap: 24px; }

  .product-hero { height: auto; min-height: 0; }
  .product-photo { height: clamp(220px, 29vh, 250px); min-height: 0; }
  .pattern-panel { padding: 32px var(--pad); }
  .product-hero h1 { font-size: clamp(38px, 7.5vw, 46px); margin-bottom: 14px; }
  .product-hero .lede { font-size: 16px; line-height: 1.42; }
  .product-hero .specs { margin-block: 12px; }
  .product-hero .specs div { padding-block: 5px; }

  .process figure { height: auto; }
  .process > div { padding: 16px var(--pad); }
  .process article { padding-block: 15px; }
  .process article h2 { font-size: 26px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img { grid-column: auto !important; width: 100%; height: auto; aspect-ratio: 1; }

  footer { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); gap: 24px 40px; }
  footer > div:nth-child(2),
  footer > div:nth-child(3) { width: auto; justify-self: start; }
  footer a:not(.brand) { min-height: 38px; }
}

@media (max-width: 680px) {
  .structure-choice,
  .use-paths,
  .decision-map,
  .journal-preview,
  .closing,
  .content-section,
  .editorial-head,
  .quote-layout,
  .journal-article {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .structure-choice > header { gap: 18px; margin-bottom: 26px; }
  .structure-paths { gap: 16px; }
  .structure-paths article { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 196px; }
  .structure-paths article > a:first-child { height: 100%; }
  .structure-paths img { width: 100%; height: 100%; aspect-ratio: auto; object-position: center; }
  .structure-paths article > div { padding: 18px; }
  .structure-paths h3 { margin-bottom: 8px; font-size: 30px; }
  .structure-paths p { margin-bottom: 8px; font-size: 14px; line-height: 1.42; }
  .structure-paths .text-link { font-size: 14px; }

  .use-paths,
  .decision-map,
  .content-section,
  .quote-layout { gap: 28px; }
  .use-list > a { grid-template-columns: 1fr; gap: 5px; min-height: 0; padding-block: 15px; }
  .use-list span { font-size: 18px; }
  .use-list p { font-size: 15px; line-height: 1.45; }
  .use-list strong { grid-column: auto; margin-top: 3px; font-size: 13px; }
  .decision-map dl > div { gap: 7px; padding-block: 16px; }

  .craft-copy { padding: 48px 20px; }
  .craft-band figure { height: 300px; }

  .journal-preview,
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .journal-preview > div:first-child { grid-column: 1 / -1; }
  .journal-preview article img { aspect-ratio: 4 / 3; }
  .journal-preview h3 { font-size: 20px; line-height: 1.12; }
  .journal-preview article > p:not(.folio),
  .journal-grid article > p:last-child { font-size: 14px; line-height: 1.45; }
  .journal-preview .folio { margin-bottom: 4px; }
  .journal-grid { padding-inline: 20px; padding-bottom: 48px; }
  .journal-grid h2 { font-size: 24px; line-height: 1.08; }

  .editorial-head h1 { font-size: clamp(46px, 13vw, 60px); }
  .editorial-head { gap: 18px; }
  .process figure { height: auto; }
  .process > div { padding-block: 10px; }
  .process article { grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; padding-block: 11px; }
  .process article h2 { font-size: 24px; }
  .process article p { font-size: 14px; line-height: 1.36; }

  .gallery { padding-inline: 20px; padding-bottom: 48px; gap: 12px; }

  .journal-article header { margin-bottom: 30px; }
  .journal-article h1 { font-size: clamp(44px, 12vw, 58px); }
  .journal-article figure { margin-bottom: 32px; }
  .journal-article figure img { max-height: 340px; }
  .journal-article > h2 { margin-top: 34px; }

  .quote-layout { gap: 22px; padding-top: 40px; padding-bottom: 40px; }
  .quote-layout h1 { font-size: 44px; margin-bottom: 14px; }
  .quote-layout > div > p { margin-bottom: 0; font-size: 15px; line-height: 1.45; }
  .quote-layout form { padding: 20px; }
  .quote-layout .steps { margin-bottom: 18px; }
  .quote-layout legend { font-size: 28px; margin-bottom: 16px; }
  .quote-layout label { margin-bottom: 10px; }

  .content-section { padding-top: 40px; padding-bottom: 40px; }
  .content-section h2 { margin-bottom: 4px; }
  .option-list article { padding-block: 12px; }
  .option-list h3 { font-size: 28px; }
  .option-list p { margin-block: 4px 0; }

  footer {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    padding: 22px 20px max(22px, env(safe-area-inset-bottom));
    gap: 14px 22px;
  }
  footer > .footer-intro {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }
  .footer-intro p { margin: 0; max-width: 30ch; font-size: 13px; line-height: 1.35; }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 8px;
    width: 100%;
  }
  footer strong { margin-bottom: 2px; }
  footer a:not(.brand) { min-height: 36px; font-size: 15px; }
}

@media (pointer: coarse) {
  footer a:not(.brand) { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .use-list > a { transition: none; }
}
