/* Product page (products/<slug>/). Loads after category.css and reuses its parts:
   crumbs, mount and crop marks, label slip, form fields, tabs, sheet, plan drawing,
   process band, FAQs and format cards. */

/* ---------- Hero: gallery left, product and working quote right ---------- */
.phero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
  gap: 4rem 5.5rem;
  padding: 6.75rem var(--col) 6rem;
  background: linear-gradient(180deg, #fdfcfa, #f8f4ec 62%, var(--paper));
  isolation: isolate;
  overflow-x: clip;
}
/* Two warm glows under the grid that drift slowly: peach behind the gallery
   and a faint orange blush behind the quote panel. */
.phero::before,
.phero::after {
  content: '';
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  will-change: translate, scale, opacity;
}
.phero::before {
  left: 2%;
  top: 4%;
  width: 46%;
  height: 62%;
  background: radial-gradient(
    closest-side,
    rgba(243, 214, 184, 0.62),
    rgba(243, 214, 184, 0.22) 55%,
    rgba(243, 214, 184, 0)
  );
  animation: phero-drift-a 8s ease-in-out infinite alternate;
}
.phero::after {
  right: 0;
  top: 10%;
  width: 40%;
  height: 55%;
  background: radial-gradient(
    closest-side,
    rgba(236, 160, 100, 0.18),
    rgba(236, 160, 100, 0.06) 60%,
    rgba(236, 160, 100, 0)
  );
  animation: phero-drift-b 10s ease-in-out -3s infinite alternate;
}
@keyframes phero-drift-a {
  0% {
    translate: 0 0;
    scale: 1;
    opacity: 1;
  }
  50% {
    translate: 7% 8%;
    scale: 1.1;
    opacity: 0.8;
  }
  100% {
    translate: -5% 14%;
    scale: 0.95;
    opacity: 1;
  }
}
@keyframes phero-drift-b {
  0% {
    translate: 0 0;
    scale: 1;
    opacity: 0.8;
  }
  50% {
    translate: -10% 10%;
    scale: 1.12;
    opacity: 1;
  }
  100% {
    translate: -2% -4%;
    scale: 0.95;
    opacity: 0.85;
  }
}
/* Keep the feature strip close to the product and quote form. */
@media (min-width: 768px) {
  .phero {
    padding-bottom: calc(3.625rem + 2.5rem);
  }
}
.phero .chero__grid {
  -webkit-mask-image: radial-gradient(ellipse 45% 60% at 26% 35%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 45% 60% at 26% 35%, #000 15%, transparent 80%);
}

.gallery {
  position: sticky;
  top: 7.5rem;
}
.gallery__stage {
  margin: 0;
}
.gallery__stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.875rem;
  transition:
    opacity 0.22s,
    filter 0.3s;
}
.gallery__stage img.is-out {
  opacity: 0;
  filter: blur(0.375rem);
}
.gallery__thumbs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.thumb {
  appearance: none;
  flex: none;
  width: 6.5rem;
  padding: 0.25rem;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.3s;
}
.thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.625rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.thumb:hover img,
.thumb[aria-pressed='true'] img {
  opacity: 1;
}
.thumb[aria-pressed='true'] {
  border: 1px dashed var(--orange);
}
/* Phone swipe track (built by product.js); hidden above the phone breakpoint. */
.gallery__track,
.gallery__dots {
  display: none;
}
/* Desktop: thumbs stand in a column left of the photo, pulled out into the page
   margin so the photo keeps the full column width. The pull is capped by the
   margin that exists, leaving 0.75rem clear of the viewport edge. */
@media (min-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-left: calc(-1 * clamp(0px, (100vw - 81.25rem) / 2 - 0.75rem, 8.25rem));
  }
  .gallery__thumbs {
    order: -1;
    flex-direction: column;
    margin-top: 0;
  }
  .thumb {
    width: 7rem;
  }
  .gallery .crop {
    display: none;
  }
  .gallery__stage img {
    aspect-ratio: 9 / 8;
  }
  .gallery__facts {
    grid-column: 2;
    margin-top: -0.5rem;
  }
}
/* With the facts card under the photo the column runs tall; on short screens it
   scrolls with the page instead of sticking, so the card is never cut off. */
@media (min-width: 768px) and (max-height: 820px) {
  .gallery {
    position: relative;
    top: auto;
  }
}

.pinfo .crumbs ol {
  margin-bottom: 1.125rem;
}
.pinfo__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.375rem;
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.pinfo__title em {
  color: var(--orange);
}
.pinfo__lede {
  margin: 1.25rem 0 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.pinfo > .last-updated {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
}
.pinfo > .last-updated + .wq {
  margin-top: 1.5rem;
}

/* Under the photo: 2 x 2 by default, one row of four where the column allows. */
.label--flat {
  position: relative;
  inset: auto;
  width: auto;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  row-gap: 0.875rem;
  padding: 0.875rem 1.25rem 1rem;
  rotate: 0deg;
  box-shadow: 0 0.0625rem 0.125rem rgba(26, 23, 18, 0.08);
}
.is-loading .label--flat {
  rotate: 0deg;
  translate: 0 1rem;
}
.label--flat .label__row {
  padding: 0 0 0 1rem;
}
.label--flat .label__row:nth-child(even) {
  padding-left: 0;
  border-left: 0;
}
.label--flat dd {
  white-space: normal;
  text-wrap: balance;
}
.label--flat .label__code {
  color: #f08a45;
  font-weight: 600;
  letter-spacing: 0;
}
/* Product hero label: drifting corner glows and a warm light around the dashed
   cut line, matching the updated Rodeo template. */
@property --label-sweep {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.phero .label--flat {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(246, 241, 232, 0.045) 1px, transparent 1px) -1px -1px / 1.25rem
      1.25rem,
    linear-gradient(to bottom, rgba(246, 241, 232, 0.045) 1px, transparent 1px) -1px -1px / 1.25rem
      1.25rem,
    linear-gradient(160deg, #2c2620 0%, #1a1712 60%, #15120e 100%);
}
.phero .label--flat::before {
  content: '';
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 32% 55% at 84% 22%, rgba(194, 83, 15, 0.6), rgba(194, 83, 15, 0) 70%),
    radial-gradient(
      ellipse 28% 50% at 18% 80%,
      rgba(236, 160, 100, 0.18),
      rgba(236, 160, 100, 0) 70%
    );
  animation: label-glow 16s ease-in-out infinite alternate;
}
@keyframes label-glow {
  0% {
    translate: 0 0;
    opacity: 0.85;
  }
  50% {
    translate: -12% 6%;
    opacity: 1;
  }
  100% {
    translate: -20% -3%;
    opacity: 0.9;
  }
}
.phero .label--flat::after {
  background: conic-gradient(
      from var(--label-sweep),
      rgba(255, 170, 110, 0) 0deg,
      rgba(255, 170, 110, 0) 250deg,
      rgba(255, 170, 110, 0.85) 325deg,
      rgba(255, 222, 186, 1) 345deg,
      rgba(255, 170, 110, 0) 360deg
    )
    border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) border-box,
    linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) border-box exclude,
    linear-gradient(#000 0 0) padding-box;
  animation: label-sweep 7s linear infinite;
}
@keyframes label-sweep {
  to {
    --label-sweep: 360deg;
  }
}
/* Wide enough under the photo: one row of four, each split by a perforation. */
@media (min-width: 1100px) {
  .gallery__facts .label--flat {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.875rem 1.375rem 1.125rem;
  }
  .gallery__facts .label__head {
    margin-bottom: 0.875rem;
  }
  .gallery__facts .label__row,
  .gallery__facts .label__row:nth-child(even) {
    padding: 0 0.875rem;
    border-left: 1px dashed rgba(246, 241, 232, 0.22);
  }
  .gallery__facts .label__row:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }
  .gallery__facts .label__row:last-child {
    padding-right: 0;
  }
  .gallery__facts dd {
    font-size: 1rem;
  }
}
.gallery__facts .pinfo__small {
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}
.pinfo__small {
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* Working quote */
/* Same card as request-quote/: white, sealed with a strip of orange packing tape. */
.wq,
.wq__done {
  position: relative;
  margin-top: 2.25rem;
  padding: 2rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow:
    0 0.125rem 0.25rem rgba(60, 30, 10, 0.06),
    0 2rem 4rem -1.75rem rgba(140, 60, 15, 0.38);
  scroll-margin-top: 6rem;
}
.wq {
  padding-top: 0;
  overflow: hidden;
}
.wq__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 -2rem 1.375rem;
  padding: 1.125rem 2rem;
  background:
    radial-gradient(
      ellipse 55% 180% at 100% 0%,
      rgba(255, 190, 140, 0.35),
      rgba(255, 190, 140, 0) 70%
    ),
    linear-gradient(100deg, var(--orange-deep) 0%, var(--orange) 55%, #d4651d 100%);
  color: #fff;
}
.wq__head::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.wq__head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.625rem;
  height: 0.625rem;
  background: linear-gradient(180deg, rgba(164, 69, 10, 0.16), rgba(164, 69, 10, 0));
  pointer-events: none;
}
.wq__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
}
.wq__eta {
  margin-left: auto;
  padding: 0.3125rem 0.75rem;
  background: rgba(110, 38, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
/* A soft running sheen keeps the reply pill tied to the animated hero label. */
.phero .wq__eta {
  position: relative;
  isolation: isolate;
}
.phero .wq__eta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
      105deg,
      rgba(240, 138, 69, 0) 30%,
      rgba(240, 138, 69, 0.25) 45%,
      rgba(255, 178, 112, 0.35) 50%,
      rgba(240, 138, 69, 0.25) 55%,
      rgba(240, 138, 69, 0) 70%
    )
    no-repeat;
  background-size: 250% 100%;
  animation: eta-shimmer 5s ease-in-out infinite;
}
@keyframes eta-shimmer {
  0% {
    background-position: 130% 0;
  }
  60%,
  100% {
    background-position: -30% 0;
  }
}
.phero .wq__eta::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: inherit;
  background: conic-gradient(
      from var(--label-sweep),
      rgba(255, 255, 255, 0) 0deg,
      rgba(255, 255, 255, 0) 230deg,
      rgba(255, 236, 214, 0.8) 315deg,
      #fff 342deg,
      rgba(255, 255, 255, 0) 360deg
    )
    border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) border-box,
    linear-gradient(#000 0 0) padding-box;
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) border-box exclude,
    linear-gradient(#000 0 0) padding-box;
  animation: label-sweep 4s linear infinite;
}
.wq input:hover,
.wq select:hover,
.wq textarea:hover {
  border-color: rgba(26, 23, 18, 0.4);
}
.wq input:focus,
.wq select:focus,
.wq textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(194, 83, 15, 0.16);
}
/* The box mark: drawn in as the form arrives, then it bobs like a parcel on a belt. */
.wq__box {
  flex: none;
  width: 2rem;
  height: 2rem;
  margin-right: 0.125rem;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  animation: wq-bob 3.6s var(--ease-soft) 2.2s infinite;
}
.wq__box path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.wq__box-shell {
  animation: wq-draw 1s var(--ease-soft) 0.7s backwards;
}
.wq__box-fold {
  animation: wq-draw 0.7s var(--ease-soft) 1.4s backwards;
}
@keyframes wq-draw {
  from {
    stroke-dashoffset: 1;
  }
}
@keyframes wq-bob {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  30% {
    translate: 0 -0.1875rem;
    rotate: -6deg;
  }
  60% {
    translate: 0 0;
    rotate: 2deg;
  }
}
.wq:focus-within .wq__box {
  animation-duration: 1.8s;
}
@media (prefers-reduced-motion: reduce) {
  .wq__box,
  .wq__box path {
    animation: none;
  }
}
.wq[hidden] {
  display: none;
}
.req {
  margin-left: 0.125rem;
  color: var(--orange-deep);
}
.wq .is-bad > label,
.wq .is-bad > legend {
  color: #b3261e;
}
.wq select {
  appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231a1712' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 1rem center / 0.875rem;
}

/* Size: the unit switch sits on the label line, the three boxes below. */
.wq__size legend {
  float: left;
}
.units {
  float: right;
  display: flex;
  gap: 0.25rem;
}
.units label {
  position: relative;
}
.units input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.units span {
  display: inline-grid;
  place-items: center;
  height: 1.5rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(26, 23, 18, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.units label:hover span {
  border-color: var(--ink-strong);
}
.units input:checked + span {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #fff;
}
.units input:focus-visible + span {
  outline: 2px solid var(--ink-strong);
  outline-offset: 2px;
}
.wq__size .dims {
  clear: both;
  gap: 0.5rem;
}
.wq .dims input {
  padding: 0 0.5rem;
  text-align: center;
}
.wq .dims input::placeholder {
  font-size: 0.875rem;
}

.wq__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}
.wq__foot .btn {
  margin-left: auto;
}
.wq__terms {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.wq__terms a {
  color: var(--ink-strong);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(26, 23, 18, 0.3);
  transition: text-decoration-color 0.25s;
}
.wq__terms a:hover {
  text-decoration-color: currentColor;
}
.wq__terms input[aria-invalid='true'] + .tick__box {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.wq__error {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #b3261e;
}
.wq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.875rem 1rem;
}
.wq__done {
  margin-top: 2.25rem;
}
/* Desktop: the request fits the opening screen beside the gallery. */
@media (min-width: 768px) {
  .wq {
    margin-top: 1.25rem;
    padding: 0 1.5rem 1.5rem;
  }
  .wq__head {
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
  }
  .wq legend,
  .wq .field > label {
    margin-bottom: 0.375rem;
  }
  .wq textarea {
    min-height: 4.75rem;
  }
  .wq input[type='text'],
  .wq input[type='email'],
  .wq input[type='tel'],
  .wq input[type='number'],
  .wq select {
    min-height: 2.75rem;
  }
}

/* ---------- Product brief (Read) ---------- */
.brief-doc {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem 6rem;
  align-items: start;
  padding: 6.5rem var(--col);
}
/* The sticky column fills the screen below the nav, so the quote card rests near the
   bottom edge instead of leaving a gap under it on taller screens. */
.doc-nav {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7rem - 4rem);
  min-height: calc(100svh - 7rem - 4rem);
}
.doc-nav__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.doc-nav__title em {
  color: var(--orange-deep);
}
.toc {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.toc li:last-child a {
  border-bottom: 1px solid var(--line);
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  color: rgba(26, 23, 18, 0.35);
  transition: color 0.3s;
}
.toc a:hover,
.toc a[aria-current] {
  color: var(--ink-strong);
}
.toc a[aria-current]::before {
  color: var(--orange);
}
/* Under the contents: a small ink card (the hero facts card's band) with what a quote needs. */
.doc-cta {
  position: relative;
  margin-top: auto;
  padding: 1.375rem 1.5rem 1.5rem;
  border-radius: 1rem;
  color: #fbf7f0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(194, 83, 15, 0.42), rgba(194, 83, 15, 0) 70%),
    radial-gradient(
      ellipse 50% 60% at 0% 100%,
      rgba(236, 160, 100, 0.12),
      rgba(236, 160, 100, 0) 70%
    ),
    linear-gradient(to right, rgba(246, 241, 232, 0.045) 1px, transparent 1px) -1px -1px / 1.25rem
      1.25rem,
    linear-gradient(to bottom, rgba(246, 241, 232, 0.045) 1px, transparent 1px) -1px -1px / 1.25rem
      1.25rem,
    linear-gradient(160deg, #2c2620 0%, #1a1712 60%, #15120e 100%);
  box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(60, 30, 10, 0.45);
}
.toc {
  margin-bottom: 2rem;
}
.doc-cta::after {
  content: '';
  position: absolute;
  inset: 0.3125rem;
  border: 1px dashed rgba(240, 138, 69, 0.4);
  border-radius: 0.75rem;
  pointer-events: none;
}
.doc-cta__head {
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
}
.doc-cta__list {
  margin: 0.875rem 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.doc-cta__list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(246, 241, 232, 0.82);
}
.doc-cta__list li::before {
  content: '';
  flex: none;
  width: 0.4375rem;
  height: 0.75rem;
  margin: -0.25rem 0.25rem 0 0.125rem;
  border: solid #f08a45;
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
}
.doc-cta .doc-cta__btn {
  position: relative;
  z-index: 1;
}
.doc-cta__note {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(246, 241, 232, 0.62);
  text-wrap: pretty;
}
.doc-cta__note a {
  color: #ffe3cc;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 227, 204, 0.4);
  transition: text-decoration-color 0.25s;
}
.doc-cta__note a:hover {
  text-decoration-color: currentColor;
}

.doc {
  max-width: 64ch;
}
.takeaway {
  position: relative;
  margin-bottom: 3rem;
  padding: 1.75rem 2rem;
  background: var(--kraft);
  border-radius: 1.25rem;
}
.takeaway::after {
  content: '';
  position: absolute;
  inset: 0.4375rem;
  border: 1px dashed rgba(194, 83, 15, 0.45);
  border-radius: 0.875rem;
  pointer-events: none;
}
.takeaway h3 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-deep);
  font-family: var(--sans);
}
.takeaway p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-strong);
}
.takeaway .takeaway__contact {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.takeaway a {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.25rem;
}
.takeaway a:hover {
  text-decoration-color: currentColor;
}
.doc > h3 {
  margin: 3rem 0 0;
  scroll-margin-top: 7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.12;
  color: var(--ink-strong);
}
.doc > p {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
/* Payload's Lexical renderer wraps the document in .payload-richtext. Keep its
   headings and paragraphs on the same Rodeo template scale as the direct HTML
   headings used by the original static product page. */
.doc > .payload-richtext > :is(h2, h3, h4) {
  margin: 3rem 0 0;
  scroll-margin-top: 7rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.12;
  color: var(--ink-strong);
}
.doc > .payload-richtext > p {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}

/* ---------- Proof points ---------- */
.proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 8.5rem var(--col) 5rem;
  /* Fades in from the page paper and back out, so the section has no hard edges. */
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    var(--kraft) 16%,
    #efe4d4 60%,
    var(--kraft) 84%,
    var(--paper) 100%
  );
}
.proof > :not(.proof__bg) {
  position: relative;
  z-index: 1;
}

/* Background: a print proof sheet. Everything is pointer-transparent and decorative. */
.proof__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* A faint dot screen, like a halftone, fading out toward the edges. */
.proof__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(122, 74, 34, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(40% 50% at 25% 62%, #000 0%, transparent 70%);
  mask-image: radial-gradient(40% 50% at 25% 62%, #000 0%, transparent 70%);
}
.proof__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.proof__glow--a {
  left: calc(var(--col) - 6rem);
  top: 32%;
  width: 46rem;
  height: 34rem;
  background: radial-gradient(
    closest-side,
    rgba(236, 118, 32, 0.6),
    rgba(236, 118, 32, 0.18) 60%,
    transparent
  );
  animation: proof-breathe 9s ease-in-out infinite alternate;
}
.proof__glow--b {
  right: -8rem;
  top: 12%;
  width: 36rem;
  height: 26rem;
  background: radial-gradient(closest-side, rgba(255, 214, 160, 0.75), transparent);
}
@keyframes proof-breathe {
  to {
    opacity: 0.65;
    scale: 1.08;
  }
}

.proof__head,
.specs__head,
.related__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 1.5rem 5rem;
  margin-bottom: 3rem;
}
.proof__title,
.specs__title,
.build__title,
.kit__title,
.related__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.proof__title em,
.specs__title em,
.build__title em,
.kit__title em,
.related__title em {
  color: var(--orange-deep);
}
.proof__lede,
.specs__lede,
.build__lede {
  margin: 0;
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.proof__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 5rem;
  align-items: center;
}
.proof__photo {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  background: linear-gradient(160deg, #fffdf9, var(--paper) 55%, #f6eee2);
  border-radius: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(194, 83, 15, 0.14),
    0 2rem 4rem -1.75rem rgba(120, 60, 20, 0.45),
    0 0 6rem -0.5rem rgba(236, 118, 32, 0.5);
}
/* Dashed die-line halo offset outside the frame. */
.proof__photo::before {
  content: '';
  position: absolute;
  inset: -0.875rem;
  pointer-events: none;
  border: 1px dashed rgba(194, 83, 15, 0.45);
  border-radius: 2rem;
}
.proof__photo::after {
  content: '';
  position: absolute;
  inset: 0.75rem;
  border-radius: 1rem;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  background: radial-gradient(120% 90% at 70% 0%, rgba(255, 220, 180, 0.18), transparent 55%);
}
.proof__photo img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ink-strong);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: 0 0.25rem 0.75rem -0.125rem rgba(0, 0, 0, 0.45);
  transition:
    background-color 0.3s,
    scale 0.4s var(--ease-soft);
}
.pin::after {
  content: '';
  position: absolute;
  inset: -0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0);
  border-radius: 50%;
  transition: border-color 0.3s;
}
.pin {
  z-index: 1;
}
.pin.is-on {
  background: var(--orange);
  scale: 1.12;
  animation: pin-pulse 2.2s ease-out infinite;
}
@keyframes pin-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(232, 120, 40, 0.6),
      0 0 1.75rem 0.25rem rgba(255, 140, 50, 0.75);
  }
  100% {
    box-shadow:
      0 0 0 1.125rem rgba(232, 120, 40, 0),
      0 0 1.75rem 0.25rem rgba(255, 140, 50, 0.75);
  }
}
.pin:not(.is-on):hover {
  background: #3a3128;
}
.pin.is-on::after {
  border-color: rgba(255, 255, 255, 0.9);
}
.checks-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* A dashed spine threading the four numbers, like a fold line. */
.checks-list::before {
  content: '';
  position: absolute;
  left: calc(1rem + 1.25rem - 0.5px);
  top: 2.5rem;
  bottom: 2.5rem;
  border-left: 1px dashed rgba(194, 83, 15, 0.4);
}
.checks-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1.25rem;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  border: 1px dashed transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.checks-list li + li {
  margin-top: 0.25rem;
}
.checks-list li {
  position: relative;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.4s,
    translate 0.4s var(--ease-soft);
}
.checks-list li.is-on {
  background: linear-gradient(120deg, #fffdf9, rgba(251, 250, 247, 0.92));
  border-color: rgba(194, 83, 15, 0.45);
  translate: 0.375rem 0;
  box-shadow:
    0 1.25rem 2.5rem -1.5rem rgba(120, 60, 20, 0.45),
    0 0 2.5rem -0.5rem rgba(232, 120, 40, 0.35);
}
.checks-list__n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 23, 18, 0.3);
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--ink-strong);
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.checks-list__n {
  position: relative;
  background: #f1e7d9;
}
.checks-list li.is-on .checks-list__n {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 1.25rem rgba(232, 120, 40, 0.6);
}
.checks-list h3 {
  margin: 0.3rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink-strong);
}
.checks-list p {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Specs ---------- */
.specs {
  padding: 3rem var(--col) 6.5rem;
}
/* A segmented pill bar: the selected tab is a dark chip, matching the spec sheet below. */
.specs__tabs {
  display: inline-flex;
  flex-direction: row;
  gap: 0.25rem;
  margin: 0 0 1.75rem;
  padding: 0.375rem;
  background: var(--paper-2, #f2f0eb);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.specs__tabs .dtab {
  display: block;
  width: auto;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.specs__tabs .dtab::after {
  display: none;
}
.specs__tabs .dtab:hover {
  color: var(--ink-strong);
  background: rgba(26, 23, 18, 0.05);
}
.specs__tabs .dtab[aria-selected='true'] {
  background: var(--ink-strong);
  color: #fff;
  box-shadow:
    0 0.5rem 1.25rem -0.5rem rgba(26, 23, 18, 0.5),
    0 0 1.25rem -0.25rem rgba(236, 118, 32, 0.35);
}
.specs__tabs .dtab:focus-visible {
  border-radius: 999px;
}
.spanel {
  animation: panel-in 0.45s var(--ease-soft);
}
.spanel[hidden] {
  display: none;
}
.spec-table .sheet__val {
  font-size: 1.1875rem;
  line-height: 1.3;
}
.uses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: use;
}
.uses li {
  counter-increment: use;
  position: relative;
  padding: 1.75rem 0 1.75rem 3.5rem;
  border-top: 1px solid var(--line);
}
.uses li::before {
  content: counter(use, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
}
.uses h3,
.finishes h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.625rem;
  color: var(--ink-strong);
}
.uses p,
.finishes p {
  margin: 0.5rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.spanel__intro {
  margin: 0 0 2rem;
  max-width: 64ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}
.finishes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: #c79a6b;
  position: relative;
  overflow: hidden;
}
.sw--matte {
  background: linear-gradient(160deg, #2f4a68, #263d57);
}
.sw--gloss {
  background: linear-gradient(160deg, #2f4a68, #263d57);
}
.sw--gloss::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 42%,
    transparent 55%
  );
}
.sw--spot {
  background: linear-gradient(160deg, #1f1c18, #2b2722);
}
.sw--spot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.08) 60%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.sw--foil {
  background: linear-gradient(160deg, #c79a6b, #b58654);
}
.sw--foil::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  top: 44%;
  height: 12%;
  border-radius: 0.25rem;
  background: linear-gradient(100deg, #8a6a2a, #f3dc97 40%, #b8902f 60%, #f6e3a6);
}

/* ---------- Build (drawing + parts) ---------- */
.build {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem 6rem;
  align-items: center;
  padding: 1rem var(--col) 6.5rem;
}
/* The drawing sits on a kraft cutting mat; it sizes from the SVG, not from a fixed-height parent. */
.build .plan {
  padding: 2.75rem 2.5rem 3.25rem;
  border-radius: 1rem;
  box-shadow: 0 2rem 3.5rem -2rem rgba(120, 60, 20, 0.4);
}
.build .plan::before {
  border-radius: inherit;
}
.build .plan__svg {
  flex: none;
  height: auto;
}
.build .plan__svg text {
  font-size: 15px;
}
.build .plan__body .build__shadow {
  fill: rgba(120, 60, 20, 0.1);
  stroke: none;
}
.build .plan__body .build__flap {
  fill: #f8f2e8;
  stroke: none;
}
.build .plan__body .build__strip {
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 10 6;
}
.build .plan__body .build__hole {
  fill: var(--kraft);
}
.build .plan__body .build__lining {
  fill: url(#bubble-wrap);
  stroke: none;
}
.build #bubble-wrap circle {
  fill: #fffdf9;
  stroke: rgba(26, 23, 18, 0.4);
  stroke-width: 1;
}
.build .plan__body .build__curl {
  fill: var(--paper-2);
}
.build__dim path {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.build__co path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.build__co .build__dot {
  fill: var(--orange);
}
.build__co .build__badge {
  fill: var(--ink-strong);
  transition: fill 0.3s;
}
.build .plan__svg .build__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  fill: #fff;
}
.build__cap {
  position: absolute;
  left: 2.5rem;
  bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
/* Pointing at a part in the list lights its callout on the drawing. */
.build:has(.parts > div:nth-child(1):hover) .build__co--1 .build__badge,
.build:has(.parts > div:nth-child(2):hover) .build__co--2 .build__badge,
.build:has(.parts > div:nth-child(3):hover) .build__co--3 .build__badge {
  fill: var(--orange);
}
.build:has(.parts > div:nth-child(1):hover) .build__co--1 path,
.build:has(.parts > div:nth-child(2):hover) .build__co--2 path,
.build:has(.parts > div:nth-child(3):hover) .build__co--3 path {
  stroke-width: 2.5;
}
.build__lede {
  margin-top: 1.25rem;
}
.parts {
  margin: 2rem 0 0;
  counter-reset: part;
}
.parts > div {
  counter-increment: part;
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 1rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
}
.parts > div:last-child {
  border-bottom: 1px solid var(--line);
}
.parts dt {
  display: contents;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink-strong);
}
.parts dt::before {
  content: counter(part);
  grid-row: span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.125rem;
  border-radius: 50%;
  background: var(--ink-strong);
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.3s;
}
.parts > div:hover dt::before {
  background: var(--orange);
}
.parts dd {
  grid-column: 2;
  margin: 0.375rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Five steps */
.steps--five .steps__list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
}

/* ---------- Sample kit ---------- */
.kit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 5rem;
  align-items: center;
  padding: 6.5rem var(--col) 3rem;
}
.kit__photo {
  padding: 0.75rem;
  background: var(--kraft);
  border-radius: 1.5rem;
}
.kit__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
}
.kit__copy > p {
  margin: 1.25rem 0 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.kit .kit__price {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  margin: 1.75rem 0 2rem;
  padding: 1rem 0;
  border-top: 1px dashed rgba(26, 23, 18, 0.25);
  border-bottom: 1px dashed rgba(26, 23, 18, 0.25);
}
.kit__amt {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--orange-deep);
  font-variant-numeric: lining-nums tabular-nums;
}
.kit__price span:last-child {
  font-size: 0.9375rem;
  color: var(--ink);
}
.kit .btn svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Related ---------- */
.related {
  padding: 2rem var(--col) 5rem;
}
.related__head {
  margin-bottom: 2.25rem;
}
.related__head .link {
  justify-self: end;
}
.fgrid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.fcard--link a {
  display: block;
}
.fcard--link .fcard__name {
  display: block;
  margin-top: 1rem;
  font-size: 1.375rem;
  transition: color 0.3s;
}
.fcard--link a:hover .fcard__name {
  color: var(--orange-deep);
}
.fcard--link a:hover .fcard__photo img {
  scale: 1.04;
}

@media (prefers-reduced-motion: reduce) {
  .spanel {
    animation: none;
  }
  .gallery__stage img {
    transition: none;
  }
  .proof__glow--a,
  .pin.is-on,
  .phero::before,
  .phero::after,
  .phero .label--flat::before,
  .phero .label--flat::after,
  .phero .wq__eta::after,
  .phero .wq__eta::before {
    animation: none;
  }
  .checks-list li {
    transition: none;
  }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  /* Phone order: crumbs, photo, title and lede, the form, then the standard-route label. */
  .phero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 5.25rem var(--edge) 3.5rem;
  }
  .phero .strip {
    order: 3;
    grid-column: 1 / -1;
    margin: 1.5rem calc(-1 * var(--edge)) -3.5rem;
  }
  .gallery,
  .pinfo {
    display: contents;
  }
  .pinfo .crumbs {
    order: -4;
    min-width: 0;
  }
  .gallery__stage {
    order: -3;
    position: relative;
    padding: 0.5rem;
  }
  .pinfo__title,
  .pinfo__lede {
    order: -2;
  }
  .wq,
  .wq__done {
    order: -1;
  }
  .gallery__facts {
    order: 1;
    margin-top: 0.5rem;
  }
  .label--flat {
    margin-top: 0;
  }

  /* Crumbs on one line; the current page truncates rather than wrapping. */
  .pinfo .crumbs ol {
    flex-wrap: nowrap;
    margin-bottom: -0.5rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .pinfo .crumbs li {
    flex: none;
  }
  .pinfo .crumbs li:last-child {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pinfo__title {
    margin-top: 0.25rem;
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
    line-height: 1.05;
  }
  .pinfo__lede {
    margin-top: -0.5rem;
    font-size: 1rem;
  }
  .wq,
  .wq__done {
    margin-top: 0.25rem;
    padding: 1.5rem 1.125rem;
    margin-inline: -0.25rem;
  }
  .crop {
    display: none;
  }

  /* Gallery: thumbs give way to a swipe track with position dots. */
  .gallery__thumbs {
    display: none;
  }
  .gallery__stage.has-track > #gmain {
    display: none;
  }
  .gallery__track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 0.875rem;
  }
  .gallery__track::-webkit-scrollbar {
    display: none;
  }
  .gallery__track img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.875rem;
    scroll-snap-align: center;
  }
  .gallery__dots {
    display: flex;
    gap: 0.3125rem;
    position: absolute;
    left: 50%;
    bottom: 1.125rem;
    translate: -50% 0;
    padding: 0.3125rem 0.5rem;
    border-radius: 999px;
    background: rgba(26, 23, 18, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none;
  }
  .gallery__dots span {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: background-color 0.3s;
  }
  .gallery__dots span.is-on {
    width: 1.125rem;
    background: #fff;
  }
  /* As on request-quote/: a compact form, company and quantity share a line. */
  .wq {
    padding-top: 0;
    padding-bottom: 1.125rem;
  }
  .wq__head {
    margin: 0 -1.125rem 0.875rem;
    padding: 0.75rem 1.125rem;
  }
  .wq__box {
    width: 1.75rem;
    height: 1.75rem;
  }
  .wq__title {
    font-size: 1.375rem;
  }
  .wq__eta {
    display: none;
  }
  .wq__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 0.625rem;
  }
  .wq__grid > .field:nth-child(-n + 3),
  .wq__grid > .wq__size {
    grid-column: 1 / -1;
  }
  .wq legend,
  .wq .field > label {
    margin-bottom: 0.25rem;
  }
  .wq input[type='text'],
  .wq input[type='email'],
  .wq input[type='tel'],
  .wq input[type='number'],
  .wq select {
    min-height: 2.5rem;
  }
  .wq textarea {
    min-height: 4.25rem;
    height: 4.25rem;
    padding-block: 0.625rem;
  }
  .wq__foot {
    margin-top: 0.875rem;
    gap: 0.75rem;
  }
  .wq .btn {
    width: 100%;
    justify-content: center;
  }

  .brief-doc {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem var(--edge);
  }
  .doc-nav {
    position: static;
    min-height: 0;
  }
  .doc-nav__title,
  .proof__title,
  .specs__title,
  .build__title,
  .kit__title,
  .related__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .takeaway {
    padding: 1.5rem 1.25rem;
  }
  .doc > h3 {
    font-size: 1.625rem;
    margin-top: 2.25rem;
  }

  .proof,
  .specs {
    padding: 4rem var(--edge);
  }
  .proof {
    padding-block: 5.5rem 3.5rem;
  }
  .proof__glow--a {
    left: -10rem;
    top: 30%;
    width: 30rem;
    height: 26rem;
  }
  .proof__photo::before {
    inset: -0.5rem;
    border-radius: 1.75rem;
  }
  .checks-list li.is-on {
    translate: none;
  }
  .proof__head,
  .specs__head,
  .related__head {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .proof__body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pin {
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    font-size: 1rem;
  }
  .checks-list li {
    padding: 1rem 0.75rem;
  }
  .specs {
    padding-top: 2rem;
  }
  .specs__tabs {
    display: flex;
  }
  .specs__tabs .dtab {
    flex: 1;
    padding: 0.7rem 0.5rem;
    font-size: 0.875rem;
  }
  .uses {
    grid-template-columns: 1fr;
  }
  .finishes {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
  .finishes h3 {
    font-size: 1.25rem;
  }

  .build {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 var(--edge) 4rem;
  }
  .build .plan {
    padding: 1.5rem 0.75rem 2.75rem;
  }
  .build .plan__svg text {
    font-size: 20px;
  }
  .build .plan__svg .build__num {
    font-size: 18px;
  }
  .build__cap {
    left: 1rem;
    bottom: 1rem;
  }
  .steps--five .steps__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .kit {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 4rem var(--edge) 1rem;
  }
  .kit .btn {
    width: 100%;
    justify-content: center;
  }
  .related {
    padding: 2rem var(--edge) 4rem;
  }
  .related__head .link {
    justify-self: start;
  }
  .fgrid--four {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
  .fcard--link .fcard__name {
    font-size: 1.125rem;
  }
}
