@font-face {
  font-family: "Saira Extra Condensed";
  src: url("assets/fonts/saira-extra-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: block;
}

/* Shared surfaces extend the approved sewing-pattern paper and stitched canvas. */
body, .interactive body.home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--night);
}
body > main { flex: 1 0 auto; }
.wrap { width: min(90%, 1296px); margin-inline: auto; }
.site-header { flex-wrap: wrap; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.4vw, 46px);
  font-weight: 700;
}
.main-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: .35em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--berry);
  border-color: currentColor;
}
.bag-count {
  min-width: 1.6em;
  display: inline-grid;
  place-content: center;
  padding: 1px 4px;
  font-size: .82em;
  border: 1px solid var(--berry);
  color: var(--berry);
  line-height: 1.2;
}
.home .workbench { max-width: 100%; }
.matched-actions, .wind-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.matched-actions { grid-column: 1 / -1; }
.matched-actions > a:not(.action), .wind-actions > a:not(.action) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.wind-actions { margin-top: 9px; }
.case-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  background: var(--canvas);
  border-top: 1px dashed var(--amber);
  align-items: stretch;
}
.case-intro figure { position: relative; min-height: 350px; }
.case-intro figure img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.case-intro figcaption, .use-photo figcaption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: var(--cream);
  background: var(--night);
  padding: 4px 9px;
  font-size: .82rem;
}
.case-intro figcaption { left: 12px; right: auto; }
.case-copy {
  align-self: center;
  position: relative;
  margin: 34px var(--gutter) 34px -32px;
  padding: clamp(22px, 4vw, 55px);
  background: var(--paper);
}
.case-copy :is(h1,h2) { font-size: clamp(3rem, 5.3vw, 5.2rem); }
.case-copy p, .editorial p {
  margin-top: 14px;
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}
.case-copy .action { margin-top: 19px; }
.case-copy > a:last-child:not(.action) { display: block; padding-top: 14px; font-weight: 700; }
.guide-hero figure { min-height: 475px; }
.sewing-index {
  padding: 54px 0 70px;
  color: var(--cream);
}
.sewing-index h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); margin-bottom: 22px; }
.task-lines { border-top: 1px dashed var(--amber); }
.task-lines a {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 18px;
  align-items: center;
  text-decoration: none;
  padding: 13px 11px;
  border-bottom: 1px solid #7a8890;
  min-height: 55px;
}
.task-lines a:hover { color: var(--amber); }
.task-lines a:focus-visible { outline-color: var(--amber); }
.task-lines strong { font: 700 clamp(1.14rem, 2.15vw, 1.7rem)/1.12 "Archivo Narrow", sans-serif; }

.canvas-page {
  background: var(--canvas);
  border-top: 2px dashed #c08b47;
  padding: clamp(18px, 3.2vw, 46px) 0 clamp(32px, 4.75vw, 65px);
}
.sheet, .product-wrap {
  width: min(90%, 1296px);
  margin-inline: auto;
}
.sheet {
  background: var(--paper);
  padding: clamp(22px, 4vw, 62px);
  min-width: 0;
}
.sheet h1 {
  font-size: clamp(3rem, 6.15vw, 6rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.index-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px 32px;
  padding-bottom: clamp(18px, 2.2vw, 30px);
}
.index-intro h1 { text-wrap: initial; }
.index-intro p {
  font-size: clamp(1.04rem, 1.41vw, 1.2rem);
  margin-top: 12px;
  max-width: 55ch;
  color: var(--muted);
}
.index-intro > a, .part-nav a { font-weight: 700; }
.index-intro > a { max-width: 25ch; }
.index-intro > a:hover, .part-nav a:hover, .line-title a:hover { color: var(--berry); }
.part-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(8px, 3.2vw, 40px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.part-nav a {
  display: inline-grid;
  min-height: 46px;
  align-items: center;
  padding-inline: 6px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.part-nav a[aria-current="page"] { border-bottom-color: var(--berry); color: var(--berry); }
.password-field { display: flex; gap: 8px; }
.password-field input { flex: 1 1 0; }
label { font-weight: 700; }
input:not([type="radio"]), select {
  min-width: 0;
  max-width: 100%;
  min-height: 45px;
  border: 1px solid #8e806b;
  border-radius: 0;
  background: var(--slip);
  color: var(--ink);
  padding: 8px 10px;
}
.action:disabled {
  background: #e3d8ca;
  color: #565653;
  border-color: #a99b8e;
  cursor: default;
}
.index-result {
  margin-top: 17px;
  padding: 7px 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.part-list { border-top: 1px solid var(--ink); }
.part-line {
  display: grid;
  grid-template-columns: minmax(83px, 145px) minmax(0, 1fr) minmax(110px, .3fr);
  gap: clamp(12px, 3vw, 40px);
  align-items: center;
  padding: clamp(10px, 1.3vw, 17px) 0;
  border-bottom: 1px solid var(--line);
}
.part-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  text-decoration: none;
}
.part-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.line-title { min-width: 0; }
.line-title :is(h2,h3) {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.line-title a { text-decoration: none; }
.line-title a:hover { text-decoration: underline; }
.line-title p { color: var(--muted); margin-top: 7px; }
.line-meta {
  justify-self: stretch;
  border-inline-start: 1px dashed var(--line);
  padding-inline-start: 16px;
  min-width: 0;
}
.line-meta .price { margin-top: 4px; }
.reference-only {
  display: grid;
  gap: 3px;
  text-align: center;
  justify-items: center;
  padding: 9px 3px;
  color: var(--muted);
  max-width: 100%;
  font-size: .85rem;
  overflow-wrap: anywhere;
}
.reference-only strong { color: var(--ink); }
.part-pages {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.part-pages a {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}
.part-pages a:hover, .part-pages a[aria-current="page"] { color: var(--cream); background: var(--berry); border-color: var(--berry); }
.cutter-comparison {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px 26px;
  background: var(--slip);
  border-block: 1px dashed #ae8a59;
  padding: clamp(14px, 2vw, 27px);
  margin-bottom: 22px;
}
.cutter-comparison h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.cutter-comparison p { color: var(--muted); margin-top: 6px; }
.cutter-comparison ul { padding: 0; margin: 0; list-style: none; }
.cutter-comparison li + li { border-top: 1px solid var(--line); }
.cutter-comparison a {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  gap: 2px 14px;
}
.cutter-comparison a span { font-size: .9rem; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--cream);
  padding-bottom: 12px;
}
.breadcrumbs a { min-height: 39px; display: inline-flex; align-items: center; }
.breadcrumbs a:focus-visible { outline-color: var(--amber); }
.product-wrap .sheet { width: 100%; }
.product-sheet {
  display: grid;
  grid-template: "media heading" auto "media buy" auto "media use" 1fr / minmax(0,1.05fr) minmax(0,.95fr);
  gap: 19px clamp(30px, 4.3vw, 60px);
  align-items: start;
}
.product-heading { grid-area: heading; min-width: 0; }
.product-heading h1 {
  font-size: clamp(2.45rem, 4.6vw, 4.8rem);
  text-wrap: initial;
  margin-top: 6px;
}
.product-heading .part-no { color: var(--berry); overflow-wrap: anywhere; }
.product-media { grid-area: media; min-width: 0; }
#part-image {
  min-height: 320px;
  height: clamp(320px, 40vw, 555px);
  display: grid;
  place-items: center;
}
#part-image img { width: 100%; height: 100%; object-fit: contain; min-height: 0; aspect-ratio: auto; }
#part-image .reference-only { font-size: 1.05rem; }
#part-image .reference-only strong { font-size: 1.75rem; }
.media-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.media-choices button {
  width: 72px;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--slip);
  cursor: pointer;
}
.media-choices button[aria-pressed="true"] { border: 2px solid var(--berry); }
.media-choices img { height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy-panel { grid-area: buy; min-width: 0; }
.buy-panel > .price {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.fit-proof {
  padding: 16px clamp(14px, 1.7vw, 23px);
  border-block: 1px dashed #ae8a59;
  background: var(--slip);
}
.fit-proof h2, .use-panel h2 { font-size: clamp(1.7rem, 2.8vw, 2.15rem); }
.fit-proof p, .use-panel p { color: var(--muted); line-height: 1.38; margin-top: 6px; }
.long-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.add-form {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 11px;
  align-items: end;
  margin-top: 14px;
}
.add-form label { display: grid; gap: 5px; }
.add-form .action { width: 100%; min-height: 45px; }
.bag-confirmation {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-top: 15px;
  border: 1px solid var(--line);
  padding: 7px 12px;
}
.bag-confirmation a { padding-block: 6px; font-weight: 700; }
.use-panel {
  grid-area: use;
  display: flex;
  align-items: center;
  gap: 12px 15px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.use-panel .use-photo { position: relative; width: 145px; flex: 0 0 min(32%,145px); }
.use-photo img { height: auto; }
.use-panel .use-photo figcaption { right: 3px; bottom: 3px; font-size: .66rem; padding: 2px 4px; }
.use-panel a { display: inline-block; margin-top: 7px; font-weight: 700; }
.compare-parts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(16px,3.6vw,46px);
  margin-block: 20px 36px;
}
.guide-sheet h2, .editorial h2 { font-size: clamp(2rem,4vw,3.7rem); }
.compare-parts figure { border-block: 1px solid var(--line); }
.compare-parts .specimen { height: clamp(150px, 25vw, 300px); border: 0; }
.compare-parts img { width: 100%; height: 100%; object-fit: contain; }
.compare-parts figcaption { padding: 12px 0; }
.compare-parts h3 { font-size: clamp(1.5rem,3vw,2.4rem); margin-bottom: 6px; }
.compare-parts p { color: var(--muted); margin-bottom: 7px; }
.compare-parts a { display: inline-block; padding: 6px 0; font-weight: 700; }
.reference-note { border-top: 1px dashed #ae8a59; padding-top: 22px; }
.reference-note li + li { margin-top: 6px; }
.reference-note a { font-weight: 700; }
.order-layout {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(250px,.75fr);
  gap: clamp(22px,4vw,60px);
  align-items: start;
}
#checkout-layout { grid-template-areas: "delivery receipt"; }
#checkout-summary { grid-area: receipt; }
.checkout-details { grid-area: delivery; min-width: 0; }
.order-line {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) auto;
  gap: 15px;
  padding: 14px 0;
  align-items: start;
  border-block-start: 1px solid var(--line);
}
.order-photo { display: grid; place-items: center; min-height: 100px; }
.order-line h2 { font-size: clamp(1.36rem,2.4vw,2rem); line-height: 1.04; overflow-wrap: anywhere; }
.order-line h2 a { text-decoration: none; }
.order-line h2 a:hover { text-decoration: underline; }
.order-line p { margin-top: 4px; }
.order-line .price { white-space: nowrap; }
.order-quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 7px; }
.order-quantity input { width: 64px; margin-left: 4px; }
.text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 5px 1px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .23em;
  cursor: pointer;
  font-weight: 700;
}
.text-button:hover { color: var(--berry); }
.receipt {
  background: var(--slip);
  border-block: 1px dashed #ae8a59;
  padding: clamp(15px,2vw,28px);
  min-width: 0;
}
.receipt h2, .empty-state h2, .payment-review h2 {
  font-size: clamp(1.9rem,3vw,2.7rem);
  margin-bottom: 14px;
}
.receipt dl { margin: 0 0 10px; }
.receipt dl > div, .receipt-lines li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 6px 12px;
  padding: 8px 0;
  border-bottom: 1px solid #ccbea6;
}
.receipt dt, .receipt-lines li span { min-width: 0; overflow-wrap: anywhere; }
.receipt-lines .receipt-quantity { white-space: nowrap; }
.receipt dd { margin: 0; font-weight: 700; text-align: right; }
.receipt-total { font-size: 1.13rem; font-weight: 700; }
.receipt p { color: var(--muted); margin-bottom: 12px; }
.receipt .action { width: 100%; }
.receipt-lines { margin: 0; padding: 0 0 6px; list-style: none; }
.empty-state { padding-block: 26px; }
.sheet.empty-state { padding: clamp(22px,4vw,62px); }
.empty-state p { color: var(--muted); margin-top: 9px; }
.empty-state .action { margin-top: 14px; }
#checkout-form fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 12px 0 17px;
  margin-bottom: 14px;
  min-inline-size: 0;
}
#checkout-form legend {
  padding: 0 8px 0 0;
  font: 700 clamp(1.55rem,2.4vw,2.2rem)/1.1 "Archivo Narrow", sans-serif;
}
#checkout-form label, .entry-panel form > label { display: grid; gap: 6px; min-width: 0; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px 14px;
}
.form-grid label:has(#address-line1), .form-grid label:has(#address-line2) { grid-column: 1 / -1; }
#checkout-form select { width: 100%; }
.payment-review p { margin-bottom: 12px; }
.payment-review .text-button { margin-bottom: 10px; }
.payment-review-brands { margin-block: 6px 17px; }
.payment-review-brands h3 { font-size: 1.26rem; margin-bottom: 9px; }
.entry-sheet { max-width: 720px; }
.entry-sheet header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  margin-top: 20px;
}
.entry-sheet header nav a { display: grid; min-height: 46px; align-items: center; font-weight: 700; }
.entry-sheet header nav a[aria-current="page"] { color: var(--berry); }
.entry-panel { margin-top: 20px; max-width: 435px; }
.entry-panel h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.entry-panel form { display: grid; gap: 10px; margin-block: 14px; }
.entry-panel .password-field button { padding-inline: 7px; }
.entry-panel .action { justify-self: start; }
.help-sheet h1 { margin-bottom: 22px; }
.help-rows {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(18px,4vw,60px);
}
.help-rows section { border-block-start: 1px solid var(--line); padding-top: 20px; }
.help-rows h2 { font-size: clamp(1.85rem,3.15vw,3rem); }
.help-rows p { margin-top: 10px; max-width: 44ch; }
.help-rows .action { margin-top: 12px; }
.text-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.text-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.editorial {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 22px;
  padding-block: 44px;
  color: var(--cream);
}
.editorial p { color: var(--cream); margin: 0 0 14px; }
.editorial a:focus-visible { outline-color: var(--amber); }
.policy-sheet header {
  padding-bottom: clamp(15px,3.2vw,34px);
  border-bottom: 1px dashed #ae8a59;
}
.policy-date { color: var(--muted); margin-top: 9px; }
.policy-layout {
  display: grid;
  grid-template-columns: minmax(175px,.42fr) minmax(0,1.58fr);
  gap: clamp(20px,5vw,70px);
  margin-top: 24px;
}
.policy-layout nav a, .policy-layout article a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.policy-layout nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  height: fit-content;
  border-inline-end: 1px solid var(--line);
  padding-inline-end: 10px;
}
.policy-layout nav a[aria-current="page"] { color: var(--berry); }
.policy-layout article section { padding-bottom: 20px; }
.policy-layout article :is(p, ul) { max-width: 64ch; }
.policy-layout article p { margin-top: 8px; }
.policy-layout h2 { font-size: clamp(1.62rem,3vw,2.38rem); }
.policy-layout details { margin-top: 10px; }
.policy-layout summary { cursor: pointer; padding-block: 9px; font-weight: 700; }
.regions { columns: 2; column-gap: 28px; }
.regions li { break-inside: avoid; overflow-wrap: anywhere; padding-inline-end: 4px; }
.site-footer { background: var(--paper); color: var(--ink); }
.footer-content {
  display: grid;
  grid-template-columns: minmax(200px,1.4fr) repeat(3,minmax(0,1fr));
  gap: clamp(16px,3.6vw,42px);
  padding-block: 33px;
}
.footer-brand p { margin-top: 9px; max-width: 27ch; color: var(--muted); }
.footer-address { text-align: right; }
.footer-address .footer-address-title { margin-top: 15px; }
.business-address { font-style: normal; overflow-wrap: anywhere; }
.footer-address .business-address { max-width: 36ch; margin-inline-start: auto; font-size: .96rem; color: var(--muted); }
.contact-address { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-address h2 { font-size: clamp(1.65rem,3vw,2.4rem); margin-bottom: 8px; }
.footer-content h2 { margin-bottom: 5px; font-size: 1.26rem; line-height: 1.08; }
.footer-content nav a { display: block; padding-block: 5px; font-size: .96rem; text-decoration: none; }
.footer-content nav a:hover { color: var(--berry); text-decoration: underline; }
.absolute-footer { min-width: 0; background: var(--night); color: var(--cream); }
.legal-inner {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 21px;
  align-items: center;
  padding-block: 14px;
  font-size: .94rem;
}
.legal-statements {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: .5em;
  white-space: nowrap;
}
.payment-marks { list-style: none; margin: 0; padding: 0; }

@media (max-width: 1000px) {
  .footer-content { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .product-sheet { column-gap: 24px; }
  .order-layout { grid-template-columns: minmax(0,1.25fr) minmax(216px,.75fr); }
  .order-line { grid-template-columns: 76px minmax(0,1fr); gap: 9px; }
  .order-line > .price { grid-column: 2; }
  .order-photo { min-height: 76px; }
}
@media (max-width: 700px) {
  .wrap, .sheet, .product-wrap { width: calc(100% - 24px); }
  .sheet { padding: 20px; }
  .site-header { gap: 0; padding-bottom: 0; }
  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
    border-top: 1px solid #d1c3a7;
    font-size: .92rem;
  }
  .main-nav a { padding-inline: 3px; min-height: 44px; }
  .home .paper-slip { padding-top: 13px; padding-bottom: 15px; }
  .home .paper-slip h1 { font-size: clamp(3rem,13vw,4.15rem); }
  .case-intro, .compare-parts, .editorial, .order-layout, .help-rows, .policy-layout, .cutter-comparison {
    grid-template-columns: minmax(0,1fr);
  }
  .case-intro figure, .guide-hero figure { min-height: clamp(218px, 64vw, 375px); }
  .case-copy { margin: -9px 12px 14px; }
  .sewing-index { padding: 30px 8px 40px; }
  .task-lines a { grid-template-columns: minmax(0,1fr); gap: 2px; padding-block: 9px; }
  .index-intro { display: grid; align-items: start; gap: 9px; }
  .index-intro > a { display: inline-flex; align-items: center; min-height: 36px; max-width: none; }
  .index-intro h1 { text-wrap: initial; }
  .part-nav { column-gap: 6px; row-gap: 0; }
  .part-nav a { padding-inline: 2px; font-size: .86rem; }
  .part-line {
    grid-template: "photo title" auto "photo meta" auto / minmax(73px,.43fr) minmax(0,1fr);
    gap: 6px 11px;
    align-items: start;
  }
  .part-thumb { grid-area: photo; }
  .line-title { grid-area: title; }
  .line-title p { margin-top: 4px; font-size: .92rem; line-height: 1.29; }
  .line-meta {
    grid-area: meta;
    border: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1px 10px;
    align-items: center;
  }
  .line-meta .part-no { font-size: .82rem; overflow-wrap: anywhere; }
  .line-meta .price { font-size: 1.12rem; margin: 0; }
  .product-sheet { grid-template: "heading" "media" "buy" "use" / minmax(0,1fr); gap: 12px; }
  #part-image { min-height: 0; height: clamp(206px, 65vw, 350px); }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .form-grid label { grid-column: 1; }
  .order-layout { gap: 22px; }
  #checkout-layout { grid-template-areas: "delivery" "receipt"; }
  #checkout-layout:has(#payment-review:not([hidden])) { grid-template-areas: "receipt" "delivery"; }
  .wind-actions { align-items: start; gap: 5px 14px; }
  .editorial { padding-inline: 8px; padding-block: 24px; gap: 12px; }
  .policy-layout { gap: 14px; margin-top: 12px; }
  .policy-layout nav { flex-flow: row wrap; gap: 2px 13px; border-inline-end: 0; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
  .policy-layout nav a { font-size: .92rem; }
  .regions { padding-left: 16px; }
  .footer-content { padding: 23px 8px; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; }
  .footer-content nav a { min-height: 35px; display: grid; align-items: center; }
  .footer-end { display: contents; }
  .footer-address .footer-address-title { margin-top: 0; }
  .legal-inner {
    width: calc(100% - 20px);
    font: 600 clamp(.75rem, 3.75vw, .94rem)/1.5 "Saira Extra Condensed", sans-serif;
  }
  .legal-statements { gap: 4px; }
  .absolute-footer .payment-marks { flex-basis: 100%; }
}

/* The paper stock and stitched canvas carry through the shopping paths. */
.home .opening { min-height: clamp(486px, 64svh, 750px); }
@media (min-width: 701px) {
  .home .work-photo img { object-position: 60% 32%; }
}
.finder-section { padding-block: clamp(28px, 4.2vw, 60px); }
.finder-ticket {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4.2vw, 60px);
  color: var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, .23fr);
  gap: clamp(12px, 2vw, 30px);
  align-items: center;
}
.finder-ticket::after {
  position: absolute;
  inset: 8px;
  pointer-events: none;
  content: "";
  border: 1px dashed #aa8d69;
}
.finder-copy h2, .parts-at-work h2, .feature-copy h2, .home-ledger h2 {
  font-size: clamp(2.5rem, 5.1vw, 5.1rem);
  text-wrap: balance;
}
.finder-copy > p { max-width: 57ch; margin-top: 11px; color: var(--muted); font-size: 1.08rem; }
.finder-art { width: 127%; max-width: none; margin-inline-start: -10%; align-self: end; pointer-events: none; }
.lookup-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  gap: 10px;
  align-items: end;
  margin-block-start: 22px;
}
.lookup-form label { display: grid; gap: 4px; font-weight: 700; min-width: 0; }
.lookup-form :is(input,select) {
  display: block;
  width: 100%;
  min-height: 44px;
  padding-inline: 9px;
  font-weight: 400;
  background: var(--slip);
}
.lookup-form :is(input, select):focus-visible { outline-offset: 2px; }
.lookup-form .action { padding-inline: clamp(12px, 1.6vw, 22px); min-height: 44px; }
.index-sheet .lookup-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(110px, .52fr) max-content;
  background: #eae0cb;
  padding: clamp(14px, 2vw, 26px);
  border-block: 1px dashed #ae8a59;
}
.index-sheet .empty-state > a { margin-inline-end: 20px; }
.parts-at-work {
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(25px, 5vw, 72px);
  align-items: center;
  padding: 16px 0 clamp(38px, 6.5vw, 92px);
}
.parts-at-work h2 { max-width: 15ch; }
.parts-at-work .thread-copy > p { margin: 12px 0 22px; color: #ecdbc2; }
.parts-at-work .task-lines a { grid-template-columns: minmax(105px,.45fr) minmax(0,1fr); }
.thread-figure {
  background: var(--paper);
  border-bottom: 4px solid #bd8351;
  color: var(--ink);
}
.thread-figure img { width: 100%; }
.thread-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 0 clamp(14px, 2vw, 25px) 15px;
  gap: 5px 14px;
}
.thread-figure figcaption a { font-weight: 700; }
.thread-figure figcaption span { color: var(--muted); font-size: .87rem; }
.sewing-feature {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  min-height: 420px;
  background: var(--paper);
}
.sewing-feature-quilt {
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  margin-block-start: 24px;
  background: #20374a;
  color: var(--cream);
  border-block-end: 1px dashed var(--amber);
}
.sewing-feature figure { position: relative; min-width: 0; min-height: 230px; }
.sewing-feature figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sewing-feature figure figcaption, .hd9-scene figcaption {
  position: absolute;
  inset: auto 12px 12px auto;
  background: var(--night);
  color: var(--cream);
  padding: 4px 8px;
  font-size: .78rem;
}
.feature-copy { padding: clamp(25px, 4.4vw, 66px); align-content: center; }
.feature-copy h2 { font-size: clamp(2.7rem, 4.65vw, 4.45rem); }
.feature-copy p { max-width: 44ch; margin-block: 15px 22px; font-size: clamp(1rem, 1.55vw, 1.21rem); }
.feature-link { display: block; width: fit-content; padding-block: 10px; margin-top: 3px; font-weight: 700; }
.cutter-choices { list-style: none; padding: 0; margin: 0; }
.cutter-choices li { border-top: 1px solid #ab9a79; }
.cutter-choices li:last-child { border-bottom: 1px solid #ab9a79; }
.cutter-choices a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 10px; padding-block: 10px; }
.cutter-choices a:hover, .sewing-feature-quilt .feature-link:hover { color: var(--amber); }
.sewing-feature-quilt a:focus-visible { outline-color: var(--amber); }
.home-ledger { margin-block: clamp(38px, 6.5vw, 90px) 0; padding-block-start: clamp(25px,4.1vw,55px); }
.home-ledger .index-intro { margin-bottom: 18px; }
.delivery-band { background: #20374a; color: var(--cream); margin-block-start: clamp(28px, 4.7vw, 68px); }
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px dashed var(--amber);
  padding-block: 24px 26px;
}
.delivery-grid > div { padding-inline: clamp(10px, 3vw, 42px); }
.delivery-grid > div:first-child { padding-inline-start: 0; }
.delivery-grid > div + div { border-inline-start: 1px solid #988269; }
.delivery-grid h2 { font-size: clamp(1.36rem, 2.5vw, 2.18rem); margin-bottom: 7px; }
.delivery-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.delivery-grid a:hover { color: var(--amber); }
.delivery-grid a:focus-visible { outline-color: var(--amber); }
.product-sheet {
  grid-template: "media heading" auto "media buy" 1fr "use use" auto / minmax(0,1.04fr) minmax(0,.96fr);
}
.product-hd9 {
  grid-template: "fit fit" auto "media heading" auto "media buy" 1fr "use use" auto / minmax(0,1.04fr) minmax(0,.96fr);
}
.fit-banner {
  grid-area: fit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px 20px;
  padding: clamp(13px,2.2vw,25px);
  border-block: 1px solid #ad7751;
  background: #eae0cc;
}
.fit-banner h2 { font-size: clamp(1.55rem,3vw,2.45rem); margin-bottom: 5px; }
.fit-banner a { font-weight: 700; flex-shrink: 0; }
.product-specimen {
  border: 1px solid #b5a685;
  background:
    linear-gradient(#f6efdf, #eae1ce);
}
#part-image { border: 0; background: transparent; }
.product-hd9 #part-image { height: clamp(315px, 34vw, 485px); }
.product-hd9 #part-image img { width: min(90%, 398px); height: auto; }
.product-specimen figcaption {
  display: flex;
  gap: 8px 14px;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid #b5a685;
  font-size: .91rem;
}
.product-specimen figcaption span { font-weight: 700; }
.use-panel {
  display: grid;
  grid-template-columns: minmax(0,.63fr) minmax(0,1fr);
  gap: clamp(15px,3vw,35px);
  align-items: center;
  border-top: 1px dashed #ae8a59;
  margin-top: 10px;
  padding-top: 18px;
}
.product-hd9 .use-panel { grid-template-columns: minmax(0,.68fr) minmax(0,.88fr) minmax(0,1.05fr); }
.use-diagram { border-bottom: 1px solid var(--line); background: #eee4d1; }
.use-diagram img { width: 100%; }
.use-diagram figcaption { padding: 0 8px 8px; color: var(--muted); font-size: .83rem; }
.use-panel .hd9-scene { width: 100%; }
.hd9-scene img { width: 100%; }
.cart-undo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 12px;
  margin-bottom: 12px;
  background: #eadcc2;
  border-block-start: 1px dashed #ae8a59;
}
.footer-content { padding-block: clamp(30px, 4.2vw, 58px); }
.footer-content nav h2, .footer-address h2 { border-top: 1px solid #ae9c7d; padding-top: 9px; }
.footer-end { display: grid; gap: 16px; }
.footer-address .footer-address-title { margin-top: 0; }
@media (max-width: 1000px) {
  .finder-ticket { grid-template-columns: minmax(0,1fr); }
  .finder-art { position: absolute; right: 8px; top: 6px; width: min(26%,190px); opacity: .82; }
  .finder-copy h2 { max-width: 75%; }
  .finder-copy > p { max-width: min(53ch,72%); }
  .index-sheet .lookup-form { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sewing-feature { min-height: 365px; }
}
@media (max-width: 700px) {
  .home .opening { min-height: 0; grid-template-rows: auto auto; }
  .home .work-photo { height: clamp(208px, 65vw, 340px); min-height: 0; }
  .home .work-photo img { object-position: 60% 62%; }
  .finder-ticket { padding: 24px 20px 21px; }
  .finder-art { position: static; width: min(65%,200px); margin: -4px 0 -5px auto; opacity: 1; }
  .finder-copy h2, .finder-copy > p { max-width: none; }
  .finder-copy > p { font-size: 1rem; }
  .lookup-form, .index-sheet .lookup-form { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .lookup-form .action { width: 100%; margin-top: 3px; }
  .parts-at-work, .sewing-feature, .sewing-feature-quilt, .delivery-grid { grid-template-columns: minmax(0,1fr); }
  .parts-at-work { padding-top: 6px; }
  .sewing-feature-quilt figure { grid-row: 1; }
  .feature-copy { padding: 23px 18px; }
  .delivery-grid > div { padding-inline: 0; }
  .delivery-grid > div + div { border-inline-start: 0; border-top: 1px solid #988269; padding-top: 13px; }
  .delivery-grid h2 { margin: 0; }
  .product-sheet { grid-template: "heading" "media" "buy" "use" / minmax(0,1fr); }
  .product-hd9 { grid-template: "fit" "heading" "media" "buy" "use" / minmax(0,1fr); }
  .product-hd9 #part-image { min-height: 0; height: clamp(215px, 64vw, 354px); }
  .product-hd9 #part-image img { width: min(94%, 340px); }
  .fit-banner { align-items: start; flex-direction: column; }
  .product-hd9 .use-panel, .use-panel { grid-template-columns: minmax(0,1fr); }
  .use-panel > div { grid-row: 1; }
  .footer-end { display: contents; }
  .footer-brand { padding-bottom: 6px; }
}
