/* Category page (products/<slug>/). Builds on style.css: same tokens, nav, FAQs and
   footer. Column: the homepage's 81.25rem (1300px at 1920), page edge on smaller screens. */

.cat {
  --col: max(var(--edge), calc((100% - 81.25rem) / 2));
  --deep: #16130f;
  --light-orange: #f39a5c;
}
.cat section {
  scroll-margin-top: 6rem;
}
.cat em {
  font-style: normal;
}

/* Shared text link button (looks like .link) */
.link-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 500;
  color: var(--ink-strong);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.3s;
}
.link-btn:hover {
  text-decoration-color: var(--ink-strong);
}

/* ---------- Hero ---------- */
.chero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 3.5rem;
  padding: 7.5rem var(--col) 2.5rem;
  background:
    radial-gradient(
      ellipse 45% 55% at 78% 48%,
      rgba(243, 214, 184, 0.45),
      rgba(243, 214, 184, 0) 70%
    ),
    radial-gradient(ellipse 35% 45% at 0% 100%, rgba(194, 83, 15, 0.06), rgba(194, 83, 15, 0) 70%),
    linear-gradient(180deg, #fdfcfa, #f8f4ec);
  isolation: isolate;
}
/* The hero's light grid: a cutting mat under the mount, fading out to the edges. */
.chero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(26, 23, 18, 0.07) 1px, transparent 1px) 0 0 / 14rem 100%,
    linear-gradient(to bottom, rgba(26, 23, 18, 0.07) 1px, transparent 1px) 0 0 / 100% 14rem,
    linear-gradient(to right, rgba(26, 23, 18, 0.045) 1px, transparent 1px) 0 0 / 3.5rem 100%,
    linear-gradient(to bottom, rgba(26, 23, 18, 0.045) 1px, transparent 1px) 0 0 / 100% 3.5rem;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 72% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 70% at 72% 50%, #000 20%, transparent 80%);
  pointer-events: none;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: rgba(26, 23, 18, 0.3);
}
.crumbs a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25rem;
  transition:
    text-decoration-color 0.3s,
    color 0.3s;
}
.crumbs a:hover {
  color: var(--ink-strong);
  text-decoration-color: currentColor;
}
.crumbs [aria-current] {
  color: var(--ink-strong);
}

.chero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.chero__title em {
  color: var(--orange);
}
.chero__lede {
  margin: 1.125rem 0 0;
  max-width: 44ch;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.chero__copy > .last-updated {
  margin: 0.8rem 0 0;
  font-size: 0.75rem;
}
.chero__copy > .last-updated + .chero__actions {
  margin-top: 1rem;
}
.chero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin-top: 1.75rem;
}
.chero__actions .btn svg {
  width: 1rem;
  height: 1rem;
}

.chero__media {
  position: relative;
  margin: 0 0 2.75rem;
}
.chero__mount {
  position: relative;
  padding: 0.75rem;
  background: var(--paper);
  border-radius: 1.5rem;
  box-shadow:
    0 0.125rem 0.25rem rgba(26, 23, 18, 0.06),
    0 1.75rem 3.5rem -1.5rem rgba(90, 60, 30, 0.28);
}
.chero__mount img,
.fcard__photo img,
.mreview__photo img {
  height: auto;
}
.chero__mount img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  border-radius: 1rem;
}
.media-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 1rem;
  background: var(--paper-2);
}
.chero__mount .media-placeholder {
  aspect-ratio: 2.2 / 1;
}
/* Crop marks just outside the mount's corners */
.crop {
  position: absolute;
  width: 0;
  height: 0;
}
.crop::before,
.crop::after {
  content: '';
  position: absolute;
  background: var(--orange);
}
.crop::before {
  width: 1.25rem;
  height: 1px;
}
.crop::after {
  width: 1px;
  height: 1.25rem;
}
.crop--tl {
  top: 0;
  left: 0;
}
.crop--tl::before {
  right: 0.625rem;
  top: 0;
}
.crop--tl::after {
  bottom: 0.625rem;
  left: 0;
}
.crop--tr {
  top: 0;
  right: 0;
}
.crop--tr::before {
  left: 0.625rem;
  top: 0;
}
.crop--tr::after {
  bottom: 0.625rem;
  right: 0;
}
.crop--bl {
  bottom: 0;
  left: 0;
}
.crop--bl::before {
  right: 0.625rem;
  bottom: 0;
}
.crop--bl::after {
  top: 0.625rem;
  left: 0;
}
.crop--br {
  bottom: 0;
  right: 0;
}
.crop--br::before {
  left: 0.625rem;
  bottom: 0;
}
.crop--br::after {
  top: 0.625rem;
  right: 0;
}

/* Shipping label: a slim strip tucked over the mount's bottom edge, the four
   basics side by side and split by perforations, so the photo stays clear. */
.label {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: -2.75rem;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  margin: 0;
  padding: 0.875rem 1.25rem 0.75rem;
  /* The home page's ink band: fine grid, orange glow off the top-right corner. */
  background:
    radial-gradient(ellipse 45% 160% at 100% 0%, rgba(194, 83, 15, 0.42), rgba(194, 83, 15, 0) 70%),
    radial-gradient(
      ellipse 40% 140% 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%);
  border-radius: 1rem;
  rotate: -0.75deg;
  box-shadow:
    0 1.25rem 2.5rem -1rem rgba(60, 30, 10, 0.45),
    0 0.25rem 0.75rem rgba(60, 30, 10, 0.12);
  transition:
    rotate 0.6s var(--ease-soft),
    translate 0.6s var(--ease-soft);
}
.label::after {
  /* dashed cut line inside the rim */
  content: '';
  position: absolute;
  inset: 0.3125rem;
  border: 1px dashed rgba(240, 138, 69, 0.4);
  border-radius: 0.75rem;
  pointer-events: none;
}
.chero__media:hover .label {
  rotate: 0deg;
  translate: 0 -0.25rem;
}
/* Live category label: drifting corner glows with a warm light running around
   the dashed cut line, matching the updated Rodeo template. */
@property --label-sweep {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.label--live {
  isolation: isolate;
  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%);
}
.label--live::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 32% 55% at 84% 22%, rgba(194, 83, 15, 0.6), rgba(194, 83, 15, 0) 70%) 0
      0 / 160% 160% no-repeat,
    radial-gradient(
        ellipse 28% 50% at 18% 80%,
        rgba(236, 160, 100, 0.18),
        rgba(236, 160, 100, 0) 70%
      )
      0 0 / 160% 160% no-repeat;
  animation: label-live-glow 16s ease-in-out infinite alternate;
}
@keyframes label-live-glow {
  0% {
    background-position:
      100% 30%,
      100% 30%;
    opacity: 0.85;
  }
  50% {
    background-position:
      60% 100%,
      60% 100%;
    opacity: 1;
  }
  100% {
    background-position:
      30% 10%,
      30% 10%;
    opacity: 0.9;
  }
}
.label--live::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;
  }
}
.label__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.625rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.28);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fbf7f0;
}
.label__head svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: #f08a45;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.label__code {
  margin-left: auto;
  font-weight: 500;
  color: rgba(246, 241, 232, 0.6);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.label__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.875rem;
}
.label__row:first-of-type {
  padding-left: 0;
}
.label__row:last-child {
  padding-right: 0;
}
.label__row + .label__row {
  border-left: 1px dashed rgba(246, 241, 232, 0.22);
}
.label dt {
  font-size: 0.75rem;
  color: rgba(246, 241, 232, 0.66);
}
.label dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.9375rem;
  line-height: 1.2;
  color: #fbf7f0;
  white-space: nowrap;
}

/* Entrance, on the shared load timeline */
.crumbs,
.chero__title,
.chero__lede,
.chero__actions,
.chero__mount,
.label {
  transition-property: opacity, translate, filter, rotate;
  transition-duration: 1.2s, 1.4s, 1.2s, 0.6s;
  transition-timing-function: var(--ease-soft);
}
.is-loading .crumbs,
.is-loading .chero__title,
.is-loading .chero__lede,
.is-loading .chero__actions {
  opacity: 0;
  translate: 0 1.75rem;
  filter: blur(0.5rem);
}
.is-loading .chero__mount {
  opacity: 0;
  translate: 0 2.5rem;
}
.is-loading .label {
  opacity: 0;
  translate: 0 1.25rem;
  rotate: -3deg;
}
.chero__title {
  transition-delay: 0.12s;
}
.chero__lede {
  transition-delay: 0.24s;
}
.chero__actions {
  transition-delay: 0.36s;
}
.chero__mount {
  transition-delay: 0.2s;
}
.label {
  transition-delay: 0.6s, 0.6s, 0s, 0.6s;
}
.chero__media:hover .label {
  transition-delay: 0s;
}

/* ---------- Formats ---------- */
.formats {
  padding: 2rem var(--col) 5rem;
}
.formats .pbar {
  width: auto;
}
.terms__title,
.decide__title,
.steps__title,
.mreview__title,
.brief__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.terms__title em,
.decide__title em,
.mreview__title em,
.brief__title em {
  color: var(--orange-deep);
}
.terms__lede,
.decide__lede,
.steps__lede,
.brief__lede {
  margin: 0;
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.chips {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  appearance: none;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(26, 23, 18, 0.2);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.chip:hover {
  border-color: var(--ink-strong);
  color: var(--ink-strong);
}
.chip[aria-pressed='true'] {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: var(--paper);
}

.finder__empty {
  margin: 1rem 0 0;
  padding: 2rem;
  border: 1px dashed rgba(194, 83, 15, 0.45);
  border-radius: 1rem;
  background: var(--paper-2);
  font-size: 1rem;
  color: var(--ink-soft);
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fcard {
  display: flex;
  flex-direction: column;
  animation: card-in 0.6s var(--ease-soft) both;
}
.fcard[hidden] {
  display: none;
}
@keyframes card-in {
  from {
    opacity: 0;
    translate: 0 0.75rem;
  }
}
.fcard__photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--paper-2);
}
.fcard__photo::after {
  /* the cut line appears when the format is in the brief */
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px dashed rgba(255, 244, 232, 0);
  border-radius: 0.875rem;
  transition: border-color 0.4s;
  pointer-events: none;
}
.fcard__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: scale 0.8s var(--ease-soft);
}
.fcard:hover .fcard__photo img {
  scale: 1.04;
}
.fcard.is-picked .fcard__photo::after {
  border-color: rgba(255, 244, 232, 0.85);
}
.fcard__name {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.12;
  color: var(--ink-strong);
  text-wrap: balance;
}
.fcard__desc {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.fcard__hook {
  display: none;
} /* phones only: desktop shows the full description */
.fcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.125rem;
}
.fcard__moq {
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.add {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem 0 0.75rem;
  border: 1px solid rgba(26, 23, 18, 0.22);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.add__ico {
  position: relative;
  width: 1rem;
  height: 1rem;
}
.add__ico::before,
.add__ico::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.375rem;
  background: currentColor;
  border-radius: 1px;
  transition:
    rotate 0.45s var(--ease-soft),
    translate 0.45s var(--ease-soft);
}
.add__ico::after {
  rotate: 90deg;
}
.add:hover {
  border-color: var(--orange);
  color: var(--orange-deep);
}
.add[aria-pressed='true'] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.add[aria-pressed='true']:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #fff;
}
/* plus folds into a tick */
.add[aria-pressed='true'] .add__ico::before {
  width: 0.4rem;
  rotate: 45deg;
  translate: -0.2rem 0.12rem;
}
.add[aria-pressed='true'] .add__ico::after {
  width: 0.75rem;
  rotate: -50deg;
  translate: 0.08rem -0.04rem;
}

.formats__more {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}
.formats__more[hidden] {
  display: none;
}
.more {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 3.125rem;
  padding: 0 1.625rem;
  border: 1px solid var(--ink-strong);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.more svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.more:hover {
  background: var(--ink-strong);
  color: var(--paper);
}

/* ---------- Terms (spec sheet) ----------
   The one dark moment on the category page: the spec sheet is printed on the same
   ink "packing tape" stock as the phone nav, with its orange glow and a dashed
   dieline inside the rim, so the commercial terms read as the label on the box. */
.terms {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 3rem 4.5rem;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 6.5rem var(--col) 5rem;
  /* Kraft stock that melts into the paper below, so the section ends without a seam. */
  background: linear-gradient(180deg, var(--kraft) 0%, var(--kraft) 62%, var(--paper) 100%);
  border-top: 1px solid var(--line);
}
/* Warm light around the dark sheet: an orange spill where the sheet sits, a peach wash
   behind the heading, and a low amber pool, all faded out before the bottom edge. */
.terms::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 34% 52% at 72% 44%, rgba(194, 83, 15, 0.16), rgba(194, 83, 15, 0) 70%),
    radial-gradient(ellipse 22% 30% at 94% 18%, rgba(240, 138, 69, 0.2), rgba(240, 138, 69, 0) 70%),
    radial-gradient(
      ellipse 30% 42% at 14% 34%,
      rgba(243, 190, 140, 0.38),
      rgba(243, 190, 140, 0) 70%
    ),
    radial-gradient(
      ellipse 26% 34% at 40% 82%,
      rgba(236, 160, 100, 0.16),
      rgba(236, 160, 100, 0) 70%
    );
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  pointer-events: none;
}
/* Mailer dielines in the corners, drawn like the home page's carton nets. */
.terms {
  overflow: hidden;
}
.terms__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.tdl--a {
  left: -4.5rem;
  bottom: 5rem;
  width: 21rem;
  rotate: -13deg;
}
.tdl--b {
  right: -5rem;
  top: -6rem;
  width: 19rem;
  rotate: 162deg;
  opacity: 0.8;
}
.terms__title {
  font-size: 4.25rem;
}
.terms__lede {
  margin-top: 1.5rem;
}
/* The quote step sits under the heading, in the left column beside the sheet. */
.terms__head {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
.terms .sheet {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.terms__cta {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: -1.5rem;
}
.terms__cta {
  gap: 0.875rem;
}
.terms__cta p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: balance;
}
.sheet {
  position: relative;
  isolation: isolate;
  padding: 1.25rem 2.5rem 2rem;
  color: #f6f1e8;
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(194, 83, 15, 0.28), rgba(194, 83, 15, 0) 70%),
    linear-gradient(180deg, #2a251f, var(--ink-strong));
  border-radius: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0.125rem 0.25rem rgba(26, 23, 18, 0.12),
    0 2rem 3.5rem -1.75rem rgba(90, 50, 20, 0.55);
}
.sheet::after {
  content: '';
  position: absolute;
  inset: 0.5rem;
  z-index: -1;
  border: 1px dashed rgba(246, 241, 232, 0.2);
  border-radius: 0.625rem;
  pointer-events: none;
}
.sheet__table {
  width: 100%;
  border-collapse: collapse;
}
.sheet__table th,
.sheet__table td {
  text-align: left;
  vertical-align: baseline;
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.sheet__table thead th {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(246, 241, 232, 0.6);
  border-bottom: 1px solid rgba(246, 241, 232, 0.5);
}
.sheet__table tbody tr + tr > * {
  border-top: 1px dashed rgba(246, 241, 232, 0.18);
}
.sheet__table tbody th {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(246, 241, 232, 0.78);
  width: 20%;
}
.sheet__val {
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  width: 44%;
  text-wrap: balance;
}
.sheet__val .num {
  display: inline-block;
  margin: 0 0.06em;
  font-size: 1.9em;
  line-height: 0.8;
  vertical-align: -0.12em;
  color: var(--orange);
  font-variant-numeric: tabular-nums lining-nums;
}
.sheet__table td:last-child {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(246, 241, 232, 0.68);
}
.sheet__table tbody tr > * {
  transition: color 0.3s;
}
.sheet__table tbody tr:hover > th {
  color: #fff;
}

/* ---------- Decide (one drawing sheet: notes column + cutting mat) ---------- */
.decide {
  padding: 2rem var(--col) 5rem;
}
.decide__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 1.5rem 4rem;
}
.decide__title {
  max-width: 22ch;
  text-wrap: balance;
}
.decide__lede {
  margin: 0 0 0.5rem;
  max-width: 36ch;
  justify-self: end;
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  min-height: clamp(30rem, 64vh, 40rem);
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  overflow: hidden;
}
.board__notes {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 2.5rem 2.5rem;
  border-right: 1px solid var(--line);
}

/* Tabs as a drawing's layer list: line key, name, what the layer holds */
.dtabs {
  display: flex;
  flex-direction: column;
}
.dtab {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: baseline;
  column-gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  text-align: left;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.3s;
}
.dtab::after {
  /* the active layer's rule draws across the row */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-soft);
}
.dtab[aria-selected='true']::after {
  transform: scaleX(1);
}
.dtab__key {
  align-self: center;
  width: 2.5rem;
  height: 0.75rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition:
    opacity 0.3s,
    stroke 0.3s;
}
.dtab__name {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  line-height: 1.1;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.dtab__sub {
  grid-column: 2 / -1;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.dtab:hover .dtab__name,
.dtab[aria-selected='true'] .dtab__name {
  color: var(--ink-strong);
}
.dtab[aria-selected='true'] {
  color: var(--ink);
}
.dtab[aria-selected='true'] .dtab__key {
  stroke: var(--orange);
  opacity: 1;
}
.dtab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Decision steps: an accordion. Each step's notes open right under it,
   and the open step decides which layer draws on the mat. */
.board__notes {
  padding: 1rem 1.75rem 1.75rem;
}
.dsteps {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.dstep {
  border-radius: 0.875rem;
  transition:
    background-color 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}
.dstep.is-open {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(26, 23, 18, 0.06),
    0 10px 28px -14px rgba(26, 23, 18, 0.22);
}
.dstep__h {
  margin: 0;
  font: inherit;
}
.dstep__btn {
  appearance: none;
  display: grid;
  grid-template-columns: 2.75rem 1fr 1.25rem;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  padding: 1rem 1rem;
  border: 0;
  border-radius: 0.875rem;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--ink-soft);
  cursor: pointer;
}
.dstep:not(.is-open) .dstep__btn:hover {
  background: rgba(243, 235, 224, 0.6);
}
.dstep__btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.dstep__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--kraft);
  color: var(--orange-deep);
  transition:
    background-color 0.35s,
    color 0.35s;
}
.dstep__icon svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dstep__icon .dstep__soft {
  opacity: 0.45;
}
.dstep.is-open .dstep__icon {
  background: var(--orange);
  color: #fff;
}
.dstep__name {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.7vw, 1.625rem);
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.3s;
}
.dstep.is-open .dstep__name,
.dstep__btn:hover .dstep__name {
  color: var(--ink-strong);
}
.dstep__sub {
  grid-column: 2;
  margin-top: 0.1875rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.dstep__chev {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    rotate 0.4s var(--ease-soft),
    color 0.3s;
}
.dstep.is-open .dstep__chev {
  rotate: 180deg;
  color: var(--orange-deep);
}

/* height animates through a 0fr -> 1fr grid row; closed panels drop out of the a11y tree */
.dpanel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.5s var(--ease-soft),
    visibility 0s linear 0.5s;
}
.dstep.is-open .dpanel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.5s var(--ease-soft),
    visibility 0s;
}
.dpanel__in {
  min-height: 0;
  overflow: hidden;
  padding: 0 1rem 0 4.75rem;
}
.dpanel__in > :last-child {
  margin-bottom: 1.25rem;
}
.dstep.is-open .dpanel__in {
  animation: panel-in 0.5s var(--ease-soft);
}
@keyframes panel-in {
  from {
    opacity: 0;
    translate: 0 -0.25rem;
  }
}
.dpanel p {
  margin: 0.25rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ticks {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding: 0.4375rem 0 0.4375rem 2rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.53rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 0.40625rem;
  top: 0.92rem;
  width: 0.4375rem;
  height: 0.21875rem;
  border: solid #fff;
  border-width: 0 0 1.5px 1.5px;
  rotate: -45deg;
}

/* The mat: kraft cutting board with its grid, the drawing sits on it */
.plan {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 2rem 2.5rem 4.75rem;
  background: var(--kraft);
  isolation: isolate;
}
.plan::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(26, 23, 18, 0.055) 1px, transparent 1px) 0 0 / 2rem 100%,
    linear-gradient(to bottom, rgba(26, 23, 18, 0.055) 1px, transparent 1px) 0 0 / 100% 2rem,
    linear-gradient(to right, rgba(26, 23, 18, 0.08) 1px, transparent 1px) 0 0 / 10rem 100%,
    linear-gradient(to bottom, rgba(26, 23, 18, 0.08) 1px, transparent 1px) 0 0 / 100% 10rem;
}
.plan__svg {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 0;
  overflow: visible;
}
.plan__svg * {
  vector-effect: non-scaling-stroke;
}
.plan__body path {
  fill: none;
  stroke: var(--ink-strong);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.plan__body .plan__face {
  fill: #fffdf9;
}
.plan__body .plan__seal {
  stroke: rgba(26, 23, 18, 0.35);
  stroke-dasharray: 4 4;
}
.plan__body .plan__peel {
  fill: var(--paper-2);
}
.plan__bubbles circle {
  fill: none;
  stroke: rgba(26, 23, 18, 0.45);
  stroke-width: 1;
}
.plan text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  fill: var(--orange-deep);
}
.plan .plan__small {
  font-size: 12px;
  font-weight: 500;
  fill: var(--ink-soft);
}
.plan .plan__cap {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}

.plan__layer {
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
}
.plan__layer path,
.plan__layer rect {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan[data-layer='fit'] .plan__layer--fit,
.plan[data-layer='use'] .plan__layer--use,
.plan[data-layer='art'] .plan__layer--art {
  opacity: 1;
}
/* each layer draws itself in when its step is opened */
.plan__layer path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.1s var(--ease-soft) 0.1s;
}
.plan[data-layer='fit'] .plan__layer--fit path,
.plan[data-layer='use'] .plan__layer--use path,
.plan[data-layer='art'] .plan__layer--art path {
  stroke-dashoffset: 0;
}
.plan__layer .plan__prod {
  stroke-dasharray: 6 5;
  stroke-dashoffset: 0;
  stroke: var(--ink-soft);
}
.plan__layer .plan__safe {
  stroke-dasharray: 6 5;
  stroke-dashoffset: 0;
}
.plan__layer .plan__route {
  stroke-dasharray: 3 5;
  stroke-dashoffset: 0;
  stroke: rgba(26, 23, 18, 0.35);
}
.plan__layer .plan__tear {
  stroke-width: 2.5;
}
.plan__layer .plan__bleed {
  stroke: rgba(194, 83, 15, 0.6);
}
.plan__layer .plan__lines {
  stroke: var(--ink-soft);
}
.plan__tag rect {
  fill: var(--paper);
  stroke: rgba(26, 23, 18, 0.25);
}
.plan__tag text {
  fill: var(--ink-strong);
  font-size: 13px;
  font-weight: 500;
}

/* Title block: the corner box every drawing sheet carries */
.tblock {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  border: 1px solid rgba(26, 23, 18, 0.28);
  border-radius: 0.375rem;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.3;
}
.tblock__cell {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.875rem;
}
.tblock__cell + .tblock__cell {
  border-left: 1px solid rgba(26, 23, 18, 0.18);
}
.tblock__k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tblock__v {
  font-weight: 600;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
[data-tblock-layer] {
  color: var(--orange-deep);
}

/* ---------- Steps (dark band) ---------- */
.steps {
  position: relative;
  padding: 5.5rem 6.25rem 6rem;
  margin-inline: 1.25rem max(0px, calc(1.25rem - (100vw - 100%)));
  border-radius: 2.25rem;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(194, 83, 15, 0.24), rgba(194, 83, 15, 0) 70%),
    var(--deep);
  color: #f4efe6;
  overflow: hidden;
  isolation: isolate;
}
.steps::after {
  content: '';
  position: absolute;
  inset: 0.625rem;
  border: 1px dashed rgba(244, 239, 230, 0.16);
  border-radius: 1.75rem;
  pointer-events: none;
}
.steps__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem 5rem;
}
.steps__title {
  color: #f4efe6;
  max-width: 16ch;
}
.steps__title em {
  color: var(--light-orange);
}
.steps__lede {
  color: rgba(244, 239, 230, 0.7);
  justify-self: end;
}

.steps__list {
  --node: 3.25rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
}
.steps__list::before,
.steps__list::after {
  /* the thread: a faint rail and its orange fill */
  content: '';
  position: absolute;
  top: calc(var(--node) / 2);
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(244, 239, 230, 0.16);
}
.steps__list::after {
  background: var(--light-orange);
  transform-origin: left;
}
.steps__list.is-armed::after {
  transform: scaleX(0);
  transition: transform 1.8s var(--ease-inout) 0.2s;
}
.steps__list.is-armed.is-in::after {
  transform: scaleX(1);
}
.step {
  position: relative;
}
.step__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--deep);
  border: 1px solid rgba(244, 239, 230, 0.3);
  font-family: var(--serif);
  font-size: 1.375rem;
  color: #f4efe6;
  font-variant-numeric: lining-nums;
  transition:
    background-color 0.4s,
    border-color 0.4s,
    color 0.4s;
}
.steps__list.is-armed .step__node {
  transition-delay: calc(var(--i, 0) * 0.42s + 0.3s);
}
.step:nth-child(2) {
  --i: 1;
}
.step:nth-child(3) {
  --i: 2;
}
.step:nth-child(4) {
  --i: 3;
}
.steps__list.is-in .step__node,
.steps__list:not(.is-armed) .step__node {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.step h3 {
  margin: 1.75rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  color: #f4efe6;
}
.step p {
  margin: 0.75rem 0 0;
  max-width: 30ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.7);
}

/* ---------- Material review ---------- */
.mreview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem 5rem;
  padding: 6.5rem var(--col) 3rem;
}
.mreview__photo {
  padding: 0.75rem;
  background: var(--kraft);
  border-radius: 1.5rem;
}
.mreview__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
}
.mreview__copy p {
  margin: 1.25rem 0 1.25rem;
  max-width: 40ch;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* FAQs: the homepage block, but this page has no samples gradient above it. */
.cat .faqs {
  background: none;
  padding-top: 6.5rem;
}

/* ---------- Brief ---------- */
.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 3rem 5rem;
  align-items: start;
  padding: 6rem var(--col) 6.5rem;
  /* no rule lines: paper fades into kraft and back out, so it meets both neighbours softly */
  background: linear-gradient(
    180deg,
    var(--paper),
    var(--kraft) 28%,
    var(--kraft) 72%,
    var(--paper)
  );
}
.brief__head {
  position: static;
}
.brief__lede {
  margin-top: 1.25rem;
}

.bform,
.bdone {
  position: relative;
  padding: 2.5rem;
  background: var(--paper);
  border-radius: 1.5rem;
  box-shadow:
    0 0.0625rem 0.125rem rgba(26, 23, 18, 0.06),
    0 1.5rem 3rem -1.75rem rgba(90, 60, 30, 0.3);
}
.bform::after,
.bdone::after {
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px dashed rgba(194, 83, 15, 0.4);
  border-radius: 1.125rem;
  pointer-events: none;
}
.bform[hidden],
.bdone[hidden] {
  display: none;
}
:is(.bform, .wq, .rqf) fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
:is(.bform, .wq, .rqf) legend,
.field > label {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-strong);
}
.opt {
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 0.25rem;
}

.bform__group {
  padding-bottom: 1.75rem !important;
  margin-bottom: 1.75rem !important;
  border-bottom: 1px dashed rgba(26, 23, 18, 0.2) !important;
}
/* the formats row only appears once something has been added from the cards */
.bform__group:not(:has(.pchip)) {
  display: none;
}
.picked {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 2.5rem;
  align-items: center;
}
.picked__empty {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.pchip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.375rem;
  padding: 0 0.625rem 0 1rem;
  border: 1px solid rgba(194, 83, 15, 0.4);
  border-radius: 999px;
  background: #fbefe4;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-strong);
  cursor: pointer;
  animation: card-in 0.4s var(--ease-soft) both;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.pchip svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.pchip:hover {
  background: #f6e0cc;
  border-color: var(--orange);
}

.bform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
/* Your details: a tinted inset panel so the contact block reads as its own step */
.bform__you {
  grid-column: 1 / -1;
  padding: 1.5rem 1.25rem 1.375rem !important;
  border-radius: 1rem;
  background: var(--kraft);
}
.bform__you > legend {
  float: left;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep) !important;
}
.bform__you-grid {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.bform__you-grid .field--co {
  grid-column: 1 / -1;
}
.field--wide,
.field--dims,
.field--art,
.field--tick,
.field--co,
.field--notes,
.bform__foot {
  grid-column: 1 / -1;
}
:is(.bform, .wq, .rqf) input[type='text'],
:is(.bform, .wq, .rqf) input[type='email'],
:is(.bform, .wq, .rqf) input[type='tel'],
:is(.bform, .wq, .rqf) input[type='number'],
:is(.bform, .wq, .rqf) textarea,
:is(.bform, .wq, .rqf) select {
  width: 100%;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid rgba(26, 23, 18, 0.18);
  border-radius: 0.875rem;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink-strong);
  caret-color: var(--orange);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
:is(.bform, .wq, .rqf) textarea {
  padding: 0.875rem 1rem;
  resize: vertical;
  line-height: 1.5;
}
:is(.bform, .wq, .rqf) input::placeholder,
:is(.bform, .wq, .rqf) textarea::placeholder {
  color: #8a8278;
}
:is(.bform, .wq, .rqf) input:hover,
:is(.bform, .wq, .rqf) textarea:hover,
:is(.bform, .wq, .rqf) select:hover {
  border-color: rgba(26, 23, 18, 0.4);
}
:is(.bform, .wq, .rqf) input:focus,
:is(.bform, .wq, .rqf) textarea:focus,
:is(.bform, .wq, .rqf) select:focus {
  outline: none;
  border-color: var(--ink-strong);
  box-shadow: 0 0 0 3px rgba(194, 83, 15, 0.18);
}
:is(.bform, .wq, .rqf) [aria-invalid='true'] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
.field__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.field.is-bad .field__hint {
  color: #b3261e;
}
:is(.bform, .wq, .rqf) input[type='number'] {
  -moz-appearance: textfield;
}
:is(.bform, .wq, .rqf) input[type='number']::-webkit-inner-spin-button,
:is(.bform, .wq, .rqf) input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dims {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.dims > label {
  flex: 1;
}
.dims > span {
  color: var(--ink-soft);
}
.dims__unit {
  flex: 0 0 5.5rem !important;
}
.dims select {
  appearance: none;
  padding-right: 0.75rem;
  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 0.75rem center / 0.875rem;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.seg label {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.seg span {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid rgba(26, 23, 18, 0.2);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.seg label:hover span {
  border-color: var(--ink-strong);
}
.seg input:checked + span {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: var(--paper);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--ink-strong);
  outline-offset: 3px;
}

.tick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
}
.tick input {
  position: absolute;
  opacity: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  cursor: pointer;
}
.tick__box {
  position: relative;
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  border: 1px solid rgba(26, 23, 18, 0.35);
  border-radius: 0.375rem;
  background: #fff;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.tick__box::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.22rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
  opacity: 0;
  transition: opacity 0.2s;
}
.tick input:checked + .tick__box {
  background: var(--orange);
  border-color: var(--orange);
}
.tick input:checked + .tick__box::after {
  opacity: 1;
}
.tick input:focus-visible + .tick__box {
  outline: 2px solid var(--ink-strong);
  outline-offset: 3px;
}

.bform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
:is(.bform, .wq, .rqf) .btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
:is(.bform, .wq, .rqf) .btn svg,
.bdone .btn svg {
  width: 1rem;
  height: 1rem;
}
.bform__error {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #b3261e;
}

.bdone {
  outline: none;
  animation: card-in 0.6s var(--ease-soft) both;
}
.bdone__seal {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bdone__seal path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.7s var(--ease-soft) 0.25s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.bdone h3 {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink-strong);
}
.bdone p {
  margin: 0.5rem 0 0;
  max-width: 48ch;
  font-size: 1rem;
  color: var(--ink-soft);
}
.bdone__sum {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  background: var(--paper-2);
  border-radius: 0.875rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
}
.bdone__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 1.75rem;
}

/* Desktop: the whole brief sits in about two thirds of the viewport. Four columns,
   formats inline with their legend, notes and submit share the last row. */
@media (min-width: 1100px) {
  .brief {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
    gap: 2rem 4.5rem;
    padding: 6rem var(--col);
  }
  .brief__title {
    font-size: 3rem;
  }
  .brief__lede {
    margin-top: 1.25rem;
  }
  .brief__call {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  /* quiet card: one hairline, a soft lift, no stitched inner border */
  .brief {
    align-items: center;
  }
  /* the card: an orange lip along the top and a kraft sheet stacked behind it */
  .bform {
    padding: 3rem 3rem 2.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(194, 83, 15, 0.16);
    box-shadow:
      0.875rem 0.875rem 0 -0.0625rem #ecdcc8,
      0.875rem 0.875rem 0 0 rgba(194, 83, 15, 0.18),
      0 2rem 4rem -2rem rgba(150, 70, 20, 0.28);
  }
  .bform::after {
    content: '';
    inset: 0 0 auto;
    height: 0.375rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, var(--orange-deep), var(--orange) 55%, #e8955a);
  }
  .bform__group {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0 !important;
    margin-bottom: 2.25rem !important;
    border-bottom: 0 !important;
  }
  .bform__group > legend {
    float: left;
    margin: 0;
  }
  .picked {
    flex: 1;
    min-height: 0;
  }
  .bform__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.25rem;
    align-items: end;
  }
  .field--dims,
  .field--art,
  .field--tick {
    grid-column: span 2;
  }
  .field--tick {
    padding-left: 1.5rem;
  }
  .bform__you {
    padding: 1.5rem 1.5rem 1.625rem !important;
  }
  .bform__you-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .bform__you-grid .field--co {
    grid-column: span 2;
  }
  .bform__you input {
    border-color: transparent !important;
  }
  .field--notes {
    grid-column: span 3;
  }
  .bform__foot {
    grid-column: span 1;
    margin-top: 0;
    align-self: end;
  }
  .bform__foot .btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }
  .bform__error {
    flex-basis: 100%;
  }
  .bform legend,
  .bform .field > label {
    font-weight: 500;
    margin-bottom: 0.625rem;
  }
  .field--tick {
    min-height: 2.75rem;
    color: var(--ink-soft);
  }
  .bform :is(input[type='text'], input[type='email'], input[type='number'], select, textarea) {
    min-height: 2.75rem;
    border-color: rgba(26, 23, 18, 0.12);
  }
  .bform textarea {
    height: 2.75rem;
    padding: 0.625rem 1rem;
  }
  .seg {
    flex-wrap: nowrap;
    gap: 0.375rem;
  }
  .seg span {
    height: 2.75rem;
    padding: 0 0.875rem;
    white-space: nowrap;
    border-color: rgba(26, 23, 18, 0.12);
    font-size: 0.875rem;
  }
  .dims > span {
    opacity: 0.6;
  }
  /* the hint rides on the label line instead of adding a row */
  .field:has(> .field__hint) {
    position: relative;
  }
  .field > .field__hint {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    line-height: 1.5;
  }
}

/* ---------- Brief tray ---------- */
.tray {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 3.25rem;
  padding: 0 1.25rem 0 0.5rem;
  border-radius: 999px;
  background: var(--ink-strong);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow:
    0 0.125rem 0.25rem rgba(26, 23, 18, 0.2),
    0 1rem 2rem -0.75rem rgba(26, 23, 18, 0.5);
  transition:
    opacity 0.4s var(--ease-soft),
    translate 0.5s var(--ease-soft),
    background-color 0.3s;
}
.tray[hidden] {
  display: none;
}
.tray.is-away {
  opacity: 0;
  translate: 0 1rem;
  pointer-events: none;
}
.tray:hover {
  background: #000;
}
.tray__n {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.tray.is-bump .tray__n {
  animation: bump 0.5s var(--ease-soft);
}
@keyframes bump {
  40% {
    scale: 1.22;
  }
}
.tray svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .fcard,
  .dpanel__in,
  .pchip,
  .bdone,
  .tray.is-bump .tray__n {
    animation: none;
  }
  .label--live::before,
  .label--live::after {
    animation: none;
  }
  .plan__layer path,
  .dtab::after,
  .dpanel,
  .dstep__chev {
    transition: none;
  }
  .label,
  .chero__media:hover .label {
    transition: none;
    translate: none;
  }
  .is-loading .crumbs,
  .is-loading .chero__title,
  .is-loading .chero__lede,
  .is-loading .chero__actions,
  .is-loading .chero__mount,
  .is-loading .label {
    translate: none;
    filter: none;
    rotate: -0.75deg;
  }
  .is-loading .crumbs,
  .is-loading .chero__title,
  .is-loading .chero__lede,
  .is-loading .chero__actions,
  .is-loading .chero__mount {
    rotate: none;
  }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 767.98px) {
  .cat section {
    scroll-margin-top: 5.5rem;
  }
  .chero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 6rem var(--edge) 1.5rem;
  }
  .chero__grid {
    background-size:
      10rem 100%,
      100% 10rem,
      2.5rem 100%,
      100% 2.5rem;
    -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 72%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 45% at 50% 72%, #000 20%, transparent 80%);
  }
  .crumbs ol {
    margin-bottom: 0.875rem;
  }
  .chero__title {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }
  .chero__lede {
    margin-top: 0.75rem;
    font-size: 15px;
  }
  .chero__actions {
    margin-top: 1.25rem;
  }
  .chero__actions .link {
    display: none;
  }
  /* Phones: the photo and label step aside so the formats open the first screen;
     the same basics sit in the spec sheet further down. */
  .chero__media {
    display: none;
  }
  .chero__media {
    padding-bottom: 0;
  }
  .chero__mount {
    padding: 0.5rem;
    border-radius: 1.125rem;
  }
  .chero__mount img {
    border-radius: 0.75rem;
  }
  .crop {
    display: none;
  }
  .label {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -2.5rem 0.75rem 0;
    rotate: -1deg;
  }

  .formats {
    padding: 1.25rem var(--edge) 3.5rem;
  }
  /* Like the home page, the structure tabs are hidden on phones; the filters below cover it. */
  .formats .pbar .ptabs {
    display: none;
  }
  .steps__head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .terms__title,
  .decide__title,
  .steps__title,
  .mreview__title,
  .brief__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(var(--edge) * -1);
    padding: 0 var(--edge);
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex: none;
  }
  /* Phones: two formats per row as kraft tiles. The photo goes tall, the minimum
     rides on it as a dark tape tag, and the brief button runs the full tile width. */
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .formats__more {
    display: none;
  } /* phones show every format, no "Show all" */
  .fcard {
    position: relative;
    padding: 0.375rem 0.375rem 0.625rem;
    background: var(--kraft);
    border-radius: 1rem;
    box-shadow:
      0 0.0625rem 0.125rem rgba(26, 23, 18, 0.05),
      0 0.75rem 1.5rem -1rem rgba(90, 60, 30, 0.35);
    transition: box-shadow 0.3s;
  }
  .fcard.is-picked {
    box-shadow:
      0 0 0 1.5px var(--orange),
      0 0.75rem 1.5rem -1rem rgba(194, 83, 15, 0.5);
  }
  .fcard__photo {
    border-radius: 0.75rem;
  }
  .fcard__photo::after {
    inset: 0.3125rem;
    border-radius: 0.5rem;
  }
  /* Square photo instead of 4:5 frees ~2.4rem, which pays for the two-line hook. */
  .fcard__photo img {
    aspect-ratio: 1;
  }
  .fcard__name {
    margin: 0.5rem 0.375rem 0.5rem;
    font-size: 1.0625rem;
    line-height: 1.15;
  }
  /* The hook sits on a dashed cut line just above the button, so hooks line up
     across a row however many lines the name above them takes. */
  .fcard__hook {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: auto 0.375rem 0;
    padding-top: 0.4375rem;
    border-top: 1px dashed rgba(107, 84, 64, 0.32);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: #6b5440;
    text-wrap: pretty;
  }
  .fcard__desc {
    display: none;
  }
  .fcard__foot {
    display: block;
    margin-top: 0;
    padding: 0.5rem 0 0;
  }
  .fcard__moq {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.3125rem 0.625rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #f6f1e8;
    background: rgba(26, 23, 18, 0.82);
    -webkit-backdrop-filter: blur(0.5rem);
    backdrop-filter: blur(0.5rem);
    border-radius: 999px;
    pointer-events: none;
  }
  .add {
    width: 100%;
    justify-content: center;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 13px;
    background: var(--paper);
    border-color: rgba(26, 23, 18, 0.14);
  }

  .terms {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem var(--edge) 5.5rem;
  }
  .terms::before {
    background:
      radial-gradient(
        ellipse 80% 30% at 20% 12%,
        rgba(243, 190, 140, 0.38),
        rgba(243, 190, 140, 0) 70%
      ),
      radial-gradient(ellipse 70% 32% at 80% 55%, rgba(194, 83, 15, 0.14), rgba(194, 83, 15, 0) 70%);
  }
  .tdl--a {
    left: auto;
    right: -3.5rem;
    bottom: auto;
    top: 1.5rem;
    width: 11rem;
    rotate: 12deg;
  }
  .tdl--b {
    display: none;
  }
  .terms__head,
  .terms .sheet,
  .terms__cta {
    grid-column: auto;
    grid-row: auto;
  }
  .terms__cta {
    margin-top: 0;
  }
  .terms__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }
  .sheet {
    padding: 0.75rem 1.5rem 1.75rem;
  }
  .sheet__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .sheet__table,
  .sheet__table tbody,
  .sheet__table tr,
  .sheet__table th,
  .sheet__table td {
    display: block;
    width: auto !important;
  }
  .sheet__table tr {
    padding: 1rem 0;
  }
  .sheet__table tbody tr + tr {
    border-top: 1px dashed rgba(246, 241, 232, 0.18);
  }
  .sheet__table tbody tr + tr > * {
    border-top: 0;
  }
  .sheet__table th,
  .sheet__table td {
    padding: 0.125rem 0;
  }
  .sheet__table tbody th {
    font-size: 13px;
    font-weight: 500;
    color: rgba(246, 241, 232, 0.68);
  }
  .sheet__table tr {
    padding: 1.25rem 0;
  }
  .sheet__val {
    font-size: 1.75rem;
    margin: 0.25rem 0 0.375rem;
  }

  .decide {
    padding: 1.5rem var(--edge) 4rem;
  }
  .decide__head {
    grid-template-columns: 1fr;
  }
  .decide__lede {
    justify-self: start;
    margin: 0;
  }
  .board {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 2rem;
  }
  .board__notes {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 0.75rem 0.75rem 1rem;
  }
  .dstep__btn {
    grid-template-columns: 2.5rem 1fr 1.125rem;
    column-gap: 0.875rem;
    padding: 0.875rem 0.75rem;
  }
  .dstep__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .dpanel__in {
    padding: 0 0.75rem 0 4.125rem;
  }
  .plan {
    padding: 1.25rem 0.75rem 4.75rem;
  }
  .plan__svg {
    flex: none;
    height: auto;
  }
  .plan text {
    font-size: 20px;
  }
  .plan .plan__small {
    font-size: 17px;
  }
  .plan .plan__cap {
    font-size: 15px;
  }
  .plan__tag text {
    font-size: 16px;
  }
  .tblock {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .tblock__cell {
    flex: 1;
    padding: 0.4375rem 0.625rem;
  }
  .tblock__cell:first-child {
    flex: 1.6;
  }

  .steps {
    margin-inline: 0;
    border-radius: 0;
    padding: 4rem var(--edge);
  }
  .steps::after {
    display: none;
  }
  .steps__lede {
    justify-self: start;
  }
  .steps__list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.5rem;
  }
  .steps__list::before,
  .steps__list::after {
    top: 0;
    bottom: 0;
    left: calc(var(--node) / 2);
    right: auto;
    width: 1px;
    height: auto;
    transform-origin: top;
  }
  .steps__list.is-armed::after {
    transform: scaleY(0);
  }
  .steps__list.is-armed.is-in::after {
    transform: scaleY(1);
  }
  .step {
    display: grid;
    grid-template-columns: var(--node) 1fr;
    column-gap: 1.25rem;
    padding-bottom: 2rem;
  }
  .step:last-child {
    padding-bottom: 0;
  }
  .step__node {
    grid-row: span 2;
  }
  .step h3 {
    margin: 0.6rem 0 0;
    font-size: 1.5rem;
  }
  .step p {
    margin-top: 0.4rem;
  }

  .mreview {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 4rem var(--edge) 1rem;
  }
  .cat .faqs {
    padding-top: 3.5rem;
  }

  .brief {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem var(--edge);
  }
  .brief__head {
    position: static;
  }
  .bform,
  .bdone {
    padding: 1.75rem 1.25rem;
    margin-inline: -0.25rem;
  }
  .bform__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bform__you-grid {
    grid-template-columns: 1fr;
  }
  .dims {
    gap: 0.375rem;
  }
  :is(.bform, .wq, .rqf) .btn {
    width: 100%;
    justify-content: center;
  }

  .tray {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    justify-content: flex-start;
  }
  .tray svg {
    margin-left: auto;
  }
}

.brief__call {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(26, 23, 18, 0.2);
  font-size: 1rem;
  color: var(--ink-soft);
}
.brief__call .link {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.25rem 0;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
}

/* Cards whose product page exists link through from the photo and name. */
.fcard__name a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition:
    background-size 0.45s var(--ease-soft),
    color 0.3s;
}
.fcard__name a:hover {
  color: var(--orange-deep);
  background-size: 100% 1px;
}
