/* Dexrovia Regal Atelier: "Chalk & Tape", the tailor's bench.
   Green-charcoal wool from the logo, white tailor's chalk, a yellow tape measure and brass pins,
   manila pattern paper for the service cards. Mobile first. */
:root {
  --char-950: #161f1c;
  --char-900: #232f2c;
  --char-850: #2a3733;
  --char-800: #31403b;
  --char-700: #45554f;
  --ink: #1b2421;
  --ink-soft: #4d5a55;
  --on-dark: #f1ede3;
  --on-dark-soft: #b9c2bc;
  --chalk: #f3f0e6;
  --tape: #f2c94c;
  --tape-deep: #d8aa26;
  --brass: #b48a35;
  --manila: #ece2c6;
  --cream: #efe8d8;
  --paper: #f8f4ea;
  --error: #9f2a1c;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Work Sans", "Segoe UI", system-ui, sans-serif;
  --label: "Archivo Narrow", "Arial Narrow", "Work Sans", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 4rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pinhead: radial-gradient(circle at 34% 30%, #fff6d2 0 10%, #e9c76f 28%, #b48a35 62%, #6b4d17 100%);
  --wool: repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px),
          repeating-linear-gradient(-45deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 5px),
          radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .045), transparent 60%);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: var(--char-900); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }
.paper :focus-visible, .order-page :focus-visible, .legal-body :focus-visible, .cart-sidebar :focus-visible, .piece :focus-visible { outline-color: var(--char-900); }
.wrap { width: min(100%, 80rem); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--tape); color: var(--char-950); padding: .6rem 1rem; font-weight: 600; }
.skip-link:focus { top: .75rem; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cur { font-family: var(--label); }
.price { font-family: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; }
.kicker { font-family: var(--label); font-weight: 600; font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--tape); }
.lede { font-size: 1.0625rem; }
.soft { color: var(--on-dark-soft); font-size: .875rem; }

/* Surfaces */
.wool { background: var(--wool), var(--char-900); color: var(--on-dark); }
.paper { background: radial-gradient(rgba(35, 47, 44, .07) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--cream); color: var(--ink); }
.paper .kicker { color: var(--char-700); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.5rem; border-radius: 2px; background: var(--tape); color: var(--char-950); font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { background: #ffd862; }
.btn--line { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(241, 237, 227, .55); }
.btn--line:hover { background: rgba(241, 237, 227, .08); box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.order-page .btn, .cart-sidebar .btn { background: var(--char-900); color: var(--on-dark); }
.order-page .btn:hover, .cart-sidebar .btn:hover { background: var(--char-800); }
.order-page .btn--line, .order-page .btn--line:hover { background: transparent; color: var(--char-900); box-shadow: inset 0 0 0 1.5px var(--char-900); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Tailor's chalk */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.chalk { position: absolute; overflow: visible; pointer-events: none; color: var(--chalk); }
.chalk path { fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.paper .chalk, .piece .chalk, .ticket .chalk { color: var(--char-700); }
.mark--under .chalk { left: -3%; width: 106%; bottom: -.32em; height: .45em; }
.mark--loop .chalk { left: -12%; width: 124%; top: -18%; height: 140%; }
.mark--loop .chalk path { stroke-width: 2.4; }
.chalk-on .chalk path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) .15s; }
.chalk-on .chalk path + path { transition-delay: .55s; }
.chalk-on .chalk.drawn path { stroke-dashoffset: 0; }

/* Tape measure: the scroll indicator on the page edge */
.tape { position: fixed; top: 4.25rem; bottom: 0; left: 0; z-index: 90; width: 6px; pointer-events: none; }
.tape-strip { position: absolute; inset: 0; background: var(--tape); clip-path: inset(0 0 calc((1 - var(--p, 0)) * 100%) 0); }
.tape-strip span, .tape-hook { display: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: var(--char-950); color: var(--on-dark); border-bottom: 1px solid rgba(241, 237, 227, .1); }
.header--plain { position: static; }
.nav { display: flex; align-items: center; gap: .75rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; margin-right: auto; text-decoration: none; }
.brand img { width: auto; height: 2.5rem; }
.brand span { display: grid; line-height: 1; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: .01em; }
.brand small { margin-top: .3rem; font-family: var(--label); font-weight: 600; font-size: .6875rem; letter-spacing: .38em; text-transform: uppercase; color: var(--tape); }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; padding: 0; }
.nav-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; font-size: .9375rem; text-decoration: none; text-underline-offset: .35em; }
.nav-link:hover { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; }
.cart-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .25rem .375rem .25rem .875rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(241, 237, 227, .3); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color .2s; }
.cart-btn:hover { background: rgba(241, 237, 227, .08); }
.cart-count { display: grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .25rem; border-radius: 999px; background: var(--pinhead); color: var(--char-950); font-family: var(--label); font-size: .9375rem; box-shadow: 1px 2px 3px rgba(0, 0, 0, .45); }
.cart-btn.pop .cart-count { animation: pin-in .5s var(--ease); }
@keyframes pin-in { 0% { transform: translateY(-.5rem) scale(1.3); } 60% { transform: translateY(.1rem) scale(.95); } 100% { transform: none; } }
.nav-toggle, .nav-close { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; font-size: 1.375rem; }
.nav-toggle { margin-right: -.5rem; }
/* Mobile menu: a plain full-screen panel, nothing decorative crossing the text */
.nav-list { position: fixed; inset: 0; z-index: 200; flex-direction: column; align-items: flex-start; justify-content: center; gap: .125rem; padding: 4.5rem var(--gutter) 2rem; background: var(--char-950); color: var(--on-dark); transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.nav-list.open { transform: none; visibility: visible; }
.nav-list .nav-link { font-family: var(--display); font-weight: 500; font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.2; }
.nav-close { position: absolute; top: .75rem; right: var(--gutter); border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(241, 237, 227, .3); }
.cart-label { display: none; }

/* Hero */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-top: .875rem; font-size: clamp(2.6rem, 9.5vw, 4.875rem); line-height: 1.02; letter-spacing: -.012em; }
.hero h1 .mark { font-style: italic; font-weight: 400; }
.hero-sub { margin-top: 2rem; font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.625rem); color: var(--tape); line-height: 1.3; }
.hero .lede { margin-top: .75rem; max-width: 36em; color: var(--on-dark-soft); }
.swatch { position: relative; margin: .75rem .5rem 0; transform: rotate(1.2deg); }
.swatch img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #3a4642; box-shadow: 0 0 0 6px var(--cream), 0 18px 40px rgba(0, 0, 0, .5); }
.swatch::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(243, 240, 230, .7); pointer-events: none; }
.swatch-pin { position: absolute; z-index: 2; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: var(--pinhead); box-shadow: 2px 3px 4px rgba(0, 0, 0, .5); }
.swatch-pin::after { content: ""; position: absolute; left: 50%; top: 70%; width: 1.5px; height: .875rem; background: linear-gradient(#e3e3df, #7d7d78); transform-origin: top; transform: rotate(-38deg); }
.swatch-pin--a { top: -.5rem; left: 8%; }
.swatch-pin--b { top: -.5rem; right: 9%; }
.swatch-arrow { display: none; }
.promises { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1.5px dashed rgba(241, 237, 227, .22); }
.promises li { position: relative; padding-left: 2.75rem; }
.promises .chalk { left: 0; top: .1rem; width: 2rem; height: 1.6rem; color: var(--tape); }
.promises h2 { font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.promises p { margin-top: .25rem; font-size: .9375rem; color: var(--on-dark-soft); }

/* Services: pattern pieces on the cutting table */
.table { padding-block: clamp(3.5rem, 8vw, 6.5rem); background: var(--wool), var(--char-850); color: var(--on-dark); }
.table-head h2 { margin-top: .75rem; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.table-note { margin-top: 1.25rem; max-width: 46em; color: var(--on-dark-soft); }
.rack-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.rack-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; background: repeating-linear-gradient(90deg, rgba(22, 31, 28, .55) 0 1px, transparent 1px 6px) left top / 100% 6px no-repeat, var(--tape); color: var(--char-950); font-family: var(--label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.rack-nav a:hover { background-color: #ffd862; }
.rack { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.rack h3 { display: flex; align-items: center; gap: 1rem; font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tape); }
.rack h3::after { content: ""; flex: 1; border-top: 1.5px dashed rgba(241, 237, 227, .25); }
.rack-grid { display: grid; gap: 1.75rem 1.5rem; margin-top: 1.5rem; }
.piece { position: relative; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .38)); }
.piece-cut {
  --n: 10px;
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.625rem 1.625rem 1.5rem;
  background: radial-gradient(rgba(35, 47, 44, .13) 1px, transparent 1.3px) 0 0 / 16px 16px, var(--manila); color: var(--ink);
  clip-path: polygon(0 16px, 16px 0, calc(50% - 9px) 0, 50% var(--n), calc(50% + 9px) 0, 100% 0,
    100% calc(36% - 8px), calc(100% - var(--n)) 36%, 100% calc(36% + 8px), 100% calc(36% + 14px), calc(100% - var(--n)) calc(36% + 22px), 100% calc(36% + 30px),
    100% calc(100% - 24px), calc(100% - 24px) 100%, calc(30% + 9px) 100%, 30% calc(100% - var(--n)), calc(30% - 9px) 100%,
    0 100%, 0 calc(64% + 8px), var(--n) 64%, 0 calc(64% - 8px));
}
.piece-cut::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(35, 47, 44, .42); pointer-events: none; }
.piece-tag { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--label); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--char-700); }
.piece-photo { display: grid; grid-template-columns: .75rem minmax(0, 1fr); gap: .625rem; margin-top: .75rem; }
.grain { width: .75rem; height: 100%; overflow: visible; }
.grain path { fill: none; stroke: var(--char-700); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.piece-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ddd3b6; box-shadow: 0 0 0 1px rgba(35, 47, 44, .25); }
.piece h4 { margin-top: 1rem; font-size: 1.4375rem; color: var(--char-900); }
.piece-desc { margin-top: .375rem; font-size: .9375rem; color: var(--ink-soft); }
.piece-price { margin-top: auto; padding-top: 1rem; font-family: var(--label); font-weight: 600; font-size: 1.875rem; line-height: 1; color: var(--char-900); font-variant-numeric: tabular-nums; }
.piece-price small { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.0625rem; letter-spacing: 0; color: var(--ink-soft); }
.buy { margin-top: .875rem; min-height: 3rem; }
.add-btn { width: 100%; min-height: 3rem; padding: .75rem 1rem; background: repeating-linear-gradient(90deg, rgba(22, 31, 28, .6) 0 1px, transparent 1px 6px) left top / 100% 6px no-repeat, var(--tape); color: var(--char-950); font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; transition: background-color .2s; }
.add-btn:hover, .piece:hover .add-btn { background-color: #ffd862; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3rem; padding: .25rem .25rem .25rem .875rem; box-shadow: inset 0 0 0 1.5px var(--char-900); }
.stepper[hidden] { display: none; }
.on-visit { position: relative; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--char-900); }
.on-visit .chalk { position: static; width: 1.375rem; height: 1.125rem; }
.unpin { min-height: 2.5rem; padding: 0 .75rem; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; color: var(--ink-soft); }
.unpin:hover { color: var(--char-900); }
.inc-hide { display: none; }
.pin { position: absolute; z-index: 3; top: -.4rem; right: 1.5rem; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--pinhead); box-shadow: 2px 3px 4px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-1rem) scale(1.3); transition: opacity .25s, transform .45s var(--ease); }
.pin::after { content: ""; position: absolute; left: 50%; top: 75%; width: 1.5px; height: 1.25rem; background: linear-gradient(#ecece8, #74746f); transform-origin: top; transform: rotate(-30deg); }
.piece.in-cart .pin { opacity: 1; transform: none; }

/* How a commission works: four stops along the tape */
.process { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--char-950); color: var(--on-dark); }
.process h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); }
.steps { position: relative; display: grid; gap: 2rem; margin-top: 2.5rem; padding-left: 3rem; }
.steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.75rem; background:
  linear-gradient(to bottom, var(--char-950) 0 1.5px, transparent 1.5px) right top / 12px 40px repeat-y,
  linear-gradient(to bottom, var(--char-950) 0 1px, transparent 1px) right top 20px / 7px 40px repeat-y,
  linear-gradient(to bottom, rgba(22, 31, 28, .6) 0 1px, transparent 1px) right top / 4px 4px repeat-y,
  var(--tape); }
.steps li { position: relative; }
.stop { position: absolute; left: -3rem; top: .375rem; width: 1.75rem; height: 1.75rem; }
.stop .chalk { position: static; width: 100%; height: 100%; color: var(--char-950); }
.step-no { font-family: var(--label); font-weight: 600; font-size: 1rem; letter-spacing: .14em; color: var(--tape); }
.steps h3 { margin-top: .125rem; font-size: 1.75rem; }
.steps p:last-child { margin-top: .375rem; color: var(--on-dark-soft); }

/* Story */
.story { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.story-grid { display: grid; gap: 2.5rem; align-items: center; }
.pinned { position: relative; max-width: 26rem; margin-inline: auto; transform: rotate(-1.2deg); }
.pinned img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #c9c5b8; box-shadow: 0 0 0 7px var(--paper), 0 16px 32px rgba(22, 31, 28, .28); }
.story h2 { margin-top: .75rem; font-size: clamp(2.3rem, 6vw, 4rem); color: var(--char-900); }
.story .lede { margin-top: 1.25rem; }
.story-copy > p:not(.kicker) + p { margin-top: .875rem; color: var(--ink-soft); }
.ledger { display: grid; gap: 1.5rem; margin-top: 2rem; }
.ledger > div { padding-top: 1.125rem; border-top: 1.5px dashed rgba(35, 47, 44, .4); }
.ledger h3 { font-family: var(--label); font-weight: 600; font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase; color: var(--char-700); }
.values-line { margin-top: .375rem; font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1.25; color: var(--char-900); }
.ledger p:not(.values-line) { margin-top: .375rem; color: var(--ink-soft); }

/* Testimonials */
.words { padding-block: clamp(3.5rem, 8vw, 6rem); }
.words h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); }
.quotes { display: grid; gap: 2rem; margin-top: 2.5rem; }
.ticket { position: relative; padding: 2rem 1.75rem 1.5rem; background: var(--paper); color: var(--ink); transform: rotate(-.8deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.ticket:nth-child(2) { transform: rotate(.9deg); }
.ticket .swatch-pin { top: -.5rem; left: 50%; margin-left: -.5625rem; }
.ticket blockquote p { font-family: var(--display); font-style: italic; font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.35; color: var(--char-900); }
.ticket figcaption { margin-top: 1rem; padding-top: .875rem; border-top: 1.5px dashed rgba(35, 47, 44, .35); font-family: var(--label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .875rem; color: var(--char-700); }

/* FAQ */
.faq { padding-block: clamp(3.5rem, 8vw, 6rem); }
.faq-grid { display: grid; gap: 2rem; }
.faq h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); color: var(--char-900); }
.faq-side .pinned { display: none; }
.faq-list details { border-top: 1.5px dashed rgba(35, 47, 44, .4); }
.faq-list details:last-child { border-bottom: 1.5px dashed rgba(35, 47, 44, .4); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding-block: .875rem; font-family: var(--display); font-size: 1.3125rem; line-height: 1.3; color: var(--char-900); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; font-size: 1.25rem; transition: transform .3s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.125rem; max-width: 40em; color: var(--ink-soft); }

/* Visit */
.visit { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.visit-grid { display: grid; gap: 2.5rem; align-items: center; }
.visit h2 { margin-top: .75rem; font-size: clamp(2.3rem, 6vw, 4rem); }
.visit .lede { margin-top: 1rem; color: var(--on-dark-soft); max-width: 34em; }
.visit-list { display: grid; gap: 1.25rem; margin-top: 2rem; font-style: normal; }
.visit-list h3 { font-family: var(--label); font-weight: 600; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tape); }
.visit-list p { margin-top: .25rem; overflow-wrap: anywhere; }
.visit-list a { text-underline-offset: .2em; }
.pinned--door { max-width: 22rem; transform: rotate(1.4deg); }
.pinned--door img { box-shadow: 0 0 0 7px var(--cream), 0 18px 40px rgba(0, 0, 0, .5); }

/* Policies and footer */
.policies { padding-block: 2.75rem; background: var(--char-950); color: var(--on-dark); border-top: 1px solid rgba(241, 237, 227, .1); }
.policy-list { display: grid; gap: 1.75rem; }
.policy-list h2 { font-family: var(--label); font-weight: 600; font-size: .9375rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tape); }
.policy-list p { margin-top: .375rem; font-size: .9375rem; color: var(--on-dark-soft); }
.policy-list a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; text-underline-offset: .25em; }
.footer { background: var(--char-950); color: var(--on-dark); border-top: 1.5px dashed rgba(241, 237, 227, .16); }
.footer-top { display: grid; gap: 1.75rem; padding-block: 2.75rem 2rem; }
.footer-line { font-family: var(--display); font-size: 1.5rem; line-height: 1.3; }
.footer-line span { display: block; margin-top: .5rem; font-family: var(--body); font-size: .875rem; color: var(--on-dark-soft); }
.footer h2 { font-family: var(--label); font-weight: 600; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tape); }
.footer ul { list-style: none; padding: 0; margin-top: .375rem; }
.footer li a { display: inline-flex; align-items: center; min-height: 2.5rem; font-size: .9375rem; text-decoration: none; overflow-wrap: anywhere; }
.footer li a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(241, 237, 227, .1); font-size: .875rem; color: var(--on-dark-soft); }

/* My visit drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 180; background: rgba(22, 31, 28, .65); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 190; width: min(100%, 28rem); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1.25rem; background: var(--char-900); color: var(--on-dark); border-bottom: 6px solid var(--tape); }
.cart-head h2 { font-size: 1.875rem; }
.cart-close { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; font-size: 1.25rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(241, 237, 227, .3); }
.cart-close:focus-visible { outline-color: var(--tape); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 1.25rem; }
.cart-item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .875rem; padding-block: .875rem; border-bottom: 1.5px dashed rgba(35, 47, 44, .3); }
.cart-item img { width: 4rem; aspect-ratio: 1; object-fit: cover; background: var(--manila); }
.cart-item h3 { font-size: 1.125rem; line-height: 1.25; color: var(--char-900); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .125rem; }
.cart-item .qty { display: none; }
.cart-item-sub { font-family: var(--label); font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; color: var(--char-900); }
.cart-item-sub::before { content: "from "; font-family: var(--display); font-style: italic; font-weight: 400; font-size: .9375rem; color: var(--ink-soft); }
.cart-remove { min-height: 2.75rem; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; color: var(--ink-soft); }
.cart-empty { padding-block: 3rem; text-align: center; }
.cart-empty p { font-family: var(--display); font-size: 1.75rem; margin-bottom: 1rem; color: var(--char-900); }
.cart-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1.5px solid var(--char-900); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .875rem; line-height: 1.25; }
.cart-total .price { font-size: 2.25rem; color: var(--char-900); }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .75rem; font-size: .875rem; text-align: center; color: var(--ink-soft); }

/* Order page */
.order-page { padding-block: clamp(2.5rem, 6vw, 5rem); background: radial-gradient(rgba(35, 47, 44, .07) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--cream); }
.order-intro h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); color: var(--char-900); }
.order-intro .lede { margin-top: .875rem; max-width: 40em; color: var(--ink-soft); }
.order { display: grid; gap: 2rem; align-items: start; margin-top: clamp(2rem, 4vw, 3rem); }
.order-form h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--char-900); margin-bottom: 1rem; }
.field { margin-bottom: 1.125rem; }
.field > label { display: block; font-weight: 600; margin-bottom: .25rem; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 3.125rem; padding: .625rem .875rem; background: var(--paper); border: 1.5px solid #7f8c86; border-radius: 2px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--tape-deep); outline-offset: 1px; border-color: var(--char-900); }
.field textarea { resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232f2c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 1.25rem; }
.field-hint { margin-top: .25rem; font-size: .875rem; color: var(--ink-soft); }
.field-error { margin-top: .25rem; font-size: .875rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.order-submit { width: 100%; }
.summary { order: -1; padding: clamp(1.25rem, 3vw, 2rem); background: radial-gradient(rgba(35, 47, 44, .12) 1px, transparent 1.3px) 0 0 / 16px 16px, var(--manila); outline: 1.5px dashed rgba(35, 47, 44, .45); outline-offset: -10px; }
.summary h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); color: var(--char-900); margin-bottom: .75rem; }
.summary table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.summary td { padding-block: .625rem; border-top: 1px solid rgba(35, 47, 44, .18); vertical-align: top; font-weight: 600; line-height: 1.3; }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; font-family: var(--label); font-size: 1.125rem; }
.summary td small { display: none; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1.5px solid var(--char-900); line-height: 1.25; }
.summary-total .price { font-size: clamp(2rem, 3.6vw, 2.75rem); color: var(--char-900); }
.summary-note { margin-top: .875rem; }
.summary-note a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.sent { max-width: 46rem; }
.sent h2 { font-size: clamp(2.25rem, 6vw, 4.5rem); color: var(--char-900); margin-bottom: .875rem; }
.sent-copy { margin-top: 1.25rem; }
.sent-copy pre { margin-top: .75rem; padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .875rem; background: var(--paper); outline: 1.5px dashed rgba(35, 47, 44, .4); outline-offset: -6px; }

/* Legal pages */
.legal-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); background: var(--wool), var(--char-900); color: var(--on-dark); border-bottom: 6px solid var(--tape); }
.legal-head h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.legal-body { padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); }
main:has(.legal-body) { background: var(--cream); }
.legal { max-width: 68ch; }
.legal h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); color: var(--char-900); margin: 2rem 0 .5rem; }
.legal ul, .legal ol { padding-left: 1.25rem; display: grid; gap: .35rem; margin-block: .5rem; }
.legal p { margin-block: .5rem; }
.legal a { overflow-wrap: anywhere; color: var(--char-900); font-weight: 600; }

/* ---------- Larger screens ---------- */
@media (min-width: 480px) {
  .cart-label { display: inline; }
}
@media (min-width: 560px) {
  .rack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .piece { grid-column: span 2; }
  .piece:last-child:nth-child(odd) { grid-column: 2 / span 2; }
  .quotes, .visit-list, .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
}
@media (min-width: 760px) {
  .tape { width: 1.875rem; filter: drop-shadow(2px 0 3px rgba(0, 0, 0, .35)); }
  .tape-strip { clip-path: inset(0 0 calc((1 - var(--p, 0)) * (100% - 6rem)) 0); background:
    linear-gradient(to bottom, #1d1f1b 0 1.5px, transparent 1.5px) right top / 14px 40px repeat-y,
    linear-gradient(to bottom, #1d1f1b 0 1px, transparent 1px) right top 20px / 9px 40px repeat-y,
    linear-gradient(to bottom, rgba(29, 31, 27, .65) 0 1px, transparent 1px) right top / 5px 4px repeat-y,
    linear-gradient(90deg, #ffe07a, var(--tape) 40%, var(--tape-deep)); }
  .tape-strip span { display: flex; align-items: flex-end; height: 40px; padding: 0 0 2px 3px; font-family: var(--label); font-weight: 600; font-size: .625rem; line-height: 1; color: #1d1f1b; font-variant-numeric: tabular-nums; }
  .tape-strip span:nth-child(10n) { color: #b3261e; }
  .tape-hook { display: block; position: absolute; left: -2px; top: 0; width: calc(100% + 6px); height: .625rem; background: linear-gradient(#e6c77a, #8d6a26); border-radius: 0 2px 2px 0; transform: translateY(calc(6rem + var(--p, 0) * (100vh - 4.25rem - 6rem) - .625rem)); }
  .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .policy-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .footer-top { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .swatch-arrow { display: block; left: -9%; bottom: -14%; width: 7rem; height: 3rem; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .story-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .visit-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(3rem, 6vw, 6rem); }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .faq-side .pinned { display: block; max-width: 15rem; margin: 2.5rem 0 0; transform: rotate(-2deg); }
  .order { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); }
  .summary { order: 0; position: sticky; top: 1.5rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-left: 0; padding-top: 4.5rem; }
  .steps::before { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); bottom: auto; top: 0; width: auto; height: 2.25rem; background:
    linear-gradient(to right, var(--char-950) 0 1.5px, transparent 1.5px) left bottom / 40px 14px repeat-x,
    linear-gradient(to right, var(--char-950) 0 1px, transparent 1px) left 20px bottom / 40px 9px repeat-x,
    linear-gradient(to right, rgba(22, 31, 28, .6) 0 1px, transparent 1px) left bottom / 4px 5px repeat-x,
    var(--tape); }
  .stop { left: 0; top: -4.5rem; margin-top: .25rem; width: 1.75rem; height: 1.75rem; }
}
@media (min-width: 960px) {
  .rack-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .piece:last-child:nth-child(odd) { grid-column: span 2; }
  .piece:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
}
@media (min-width: 1080px) {
  .nav { gap: clamp(1rem, 2vw, 2rem); }
  .nav-list { gap: clamp(1rem, 1.8vw, 1.75rem); }
  .nav-toggle, .nav-close { display: none; }
  .nav-list { position: static; flex-direction: row; padding: 0; background: none; transform: none; visibility: visible; transition: none; }
  .nav-list .nav-link { font-family: var(--body); font-weight: 600; font-size: .9375rem; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
