/* Navrien Vital Collective: "Waybill Route". The page is a parcel's journey to Victoria, Laguna: a courier waybill up front, a tracking route as the navigation, the products as manifest lines, and a proof-of-delivery slip at the end. Kraft, stone and taupe from the logo, one stamp red. */
:root {
  --stone: #efe9e1;
  --paper: #fbf8f3;
  --carbon: #f5efe6;
  --kraft: #c2925f;
  --kraft-deep: #8e6435;
  --taupe: #8c7a68;
  --ink: #2b241d;
  --muted: #64584c;
  --stamp: #b23426;
  --line: rgba(43, 36, 29, .16);
  --line-strong: rgba(43, 36, 29, .4);
  --error: #a3261b;
  --display: 'Brygada 1918', Georgia, serif;
  --text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Cutive Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; }
.wrap { width: min(1260px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden, .sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }

/* Type */
.kicker, .wb-label { font: 400 .82rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); }
.kicker { display: block; margin-bottom: .9rem; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--kraft-deep); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); text-decoration: none; font: 700 1rem/1.2 var(--text); transition: background-color .2s, color .2s; }
.btn:hover { background: var(--kraft-deep); border-color: var(--kraft-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Ticked boxes, like a waybill form */
.box { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--ink); flex: none; background: var(--paper); }
.box.on::after { content: ''; width: 9px; height: 5px; border: solid var(--stamp); border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
.barcode { display: block; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px); }

/* Header: brand, the tracking route as navigation, the waybill button. Solid and unfiltered. */
.header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1.5px solid var(--ink); }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 44px; height: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word span:first-child { font: 700 1.12rem/1.05 var(--display); }
.brand-word span:last-child { font: 400 .78rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.track { position: relative; max-width: 620px; justify-self: center; width: 100%; }
.stops { display: grid; grid-template-columns: repeat(4, 1fr); }
.stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 48px; padding: 6px 2px 4px; text-decoration: none; text-align: center; }
.stop .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--taupe); background: var(--paper); transition: background-color .3s, border-color .3s; }
.stop-name { font: 400 .8rem/1.1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stop.done .dot { background: var(--taupe); }
.stop[aria-current] .dot { background: var(--stamp); border-color: var(--stamp); box-shadow: 0 0 0 4px rgba(178, 52, 38, .18); }
.stop[aria-current] .stop-name { color: var(--ink); font-weight: 700; }
.stop:hover .stop-name { color: var(--ink); }
.route { position: absolute; left: 12.5%; right: 12.5%; top: 12px; height: 2px; pointer-events: none; }
.route-line { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--taupe) 0 5px, transparent 5px 10px); }
.parcel { --p: 0; position: absolute; top: -11px; left: calc(var(--p) * 100%); width: 24px; height: 24px; margin-left: -12px; color: var(--kraft-deep); transition: left .25s linear; z-index: 2; }
.parcel svg { width: 100%; height: 100%; fill: var(--kraft); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .3rem .35rem .3rem .9rem; background: var(--ink); color: var(--paper); border: 0; font: 400 .95rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cart-btn:hover { background: var(--kraft-deep); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .35rem; background: var(--stamp); color: #fff; font: 700 .9rem/1 var(--text); }
.cart-btn.pop { animation: stampit .45s ease; }
@keyframes stampit { 40% { transform: scale(.94) rotate(-2deg); } }
.back-link { justify-self: end; font: 400 .95rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: .8rem 0; }
.header--plain .bar { grid-template-columns: auto 1fr; }
@media (max-width: 859px) {
  html { scroll-padding-top: 136px; }
  .bar { grid-template-columns: 1fr auto; gap: .2rem 1rem; padding-top: .45rem; }
  .track { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; max-width: none; }
  .stop-name { font-size: .7rem; }
  .brand-mark { width: 38px; }
}
@media (max-width: 400px) { .stop-name { font-size: .62rem; letter-spacing: 0; } .cart-word { display: none; } .cart-btn { padding-left: .35rem; } }

/* Hero: the waybill */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
.waybill { position: relative; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--kraft); }
.waybill > * { padding: .9rem clamp(1rem, 3vw, 1.6rem); border-bottom: 1px solid var(--line-strong); }
.waybill > *:last-child { border-bottom: 0; }
.wb-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--ink); color: var(--paper); }
.wb-brand { font: 700 1.05rem/1.2 var(--display); }
.wb-kind { font: 400 .9rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--paper); padding: .35rem .6rem; }
.wb-track { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1rem; }
.wb-no { font: 400 1.15rem/1 var(--mono); letter-spacing: .08em; }
.wb-track .barcode { grid-column: 1 / -1; height: 40px; max-width: 360px; }
.wb-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wb-parties p { margin-top: .3rem; font-size: .95rem; line-height: 1.45; }
.wb-contents h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin: .4rem 0 1rem; }
.wb-contents h1 em { display: block; }
.lede { color: #3d342b; max-width: 40rem; }
.motto { margin-top: .9rem; font: italic 500 1.15rem/1.4 var(--display); color: var(--kraft-deep); }
.wb-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; font: 400 .95rem/1.3 var(--mono); }
.wb-checks li { display: flex; align-items: center; gap: .6rem; }
.wb-checks .cart-count { min-width: 24px; height: 24px; font-size: .8rem; }
.wb-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.wb-foot { font-size: .92rem; color: var(--muted); background: var(--carbon); }
.hero-photo { position: relative; border: 1.5px solid var(--ink); background: var(--paper); padding: .6rem; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stamp { position: absolute; right: 1.4rem; bottom: 1.4rem; padding: .5rem .8rem; border: 3px solid var(--stamp); color: var(--stamp); background: rgba(251, 248, 243, .85); font: 400 .95rem/1.25 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; transform: rotate(-7deg); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
  .hero-photo { margin-top: 3.5rem; transform: rotate(1.2deg); }
  .hero-photo img { aspect-ratio: 4 / 5; }
}
@media (max-width: 519px) { .wb-parties, .wb-checks { grid-template-columns: 1fr; } .wb-no { font-size: .92rem; letter-spacing: .02em; } }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: thump .5s cubic-bezier(.3, 1.6, .5, 1) .6s backwards; }
  @keyframes thump { from { opacity: 0; transform: rotate(-7deg) scale(1.6); } }
}

/* How it travels */
.route-band { background: var(--ink); color: var(--paper); padding: clamp(2.4rem, 5vw, 3.4rem) 0; }
.route-title { font: 400 .9rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--kraft); margin-bottom: 1.4rem; }
.legs { position: relative; display: grid; gap: 1.4rem; }
.legs li { position: relative; padding-left: 3.2rem; }
.leg-no { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1.5px dashed var(--kraft); font: 400 .95rem/1 var(--mono); color: var(--kraft); background: var(--ink); z-index: 1; }
.legs h3 { font: 700 1.2rem/1.25 var(--display); margin-bottom: .2rem; }
.legs p { color: #d9cfc2; font-size: .98rem; }
@media (min-width: 860px) {
  .legs { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .legs::before { content: ''; position: absolute; left: 1.2rem; right: 10%; top: 1.2rem; height: 0; border-top: 1.5px dashed var(--kraft); }
  .legs li { padding: 3.6rem 0 0; }
}

/* The manifest */
.shop { padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.shop-head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: 2.4rem; }
.shop-head p { color: var(--muted); max-width: 36rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .9rem; border: 1.5px solid var(--ink); background: var(--paper); text-decoration: none; font-weight: 700; }
.jump a span { font: 400 .78rem/1 var(--mono); color: var(--kraft-deep); }
.jump a:hover { background: var(--ink); color: var(--paper); }
.jump a:hover span { color: var(--kraft); }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr 1.1fr; } }

.sheet { position: relative; margin-top: 2.2rem; background: var(--paper); border: 1.5px solid var(--ink); background-image: linear-gradient(var(--paper), var(--paper)); }
.sheet::before { content: ''; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; background: var(--kraft); border: 1.5px solid var(--ink); }
.sheet-head { display: grid; gap: .3rem; padding: 1.1rem clamp(1rem, 3vw, 1.6rem) 1rem; border-bottom: 1.5px solid var(--ink); }
.sheet-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font: 400 .82rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); }
.sheet-head h3 { font: 700 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--display); }
.sheet-line { color: var(--muted); }
.sheet-body { display: grid; }
.ledger-cols { display: none; }
.lines { counter-reset: none; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "photo body" "photo meta" "buy buy"; gap: .3rem .9rem; padding: .9rem clamp(.9rem, 3vw, 1.6rem); border-bottom: 1px dashed var(--line-strong); transition: background-color .2s; }
.line:last-child { border-bottom: 0; }
.line-no { display: none; }
.line-photo { grid-area: photo; border: 1px solid var(--line-strong); background: var(--stone); align-self: start; }
.line-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.line-body { grid-area: body; }
.line-body h4 { font: 700 1.1rem/1.25 var(--display); }
.item-desc { font-size: .92rem; line-height: 1.45; color: var(--muted); margin-top: .15rem; }
.line-qty { grid-area: meta; font: 400 .9rem/1.2 var(--mono); color: var(--muted); align-self: end; }
.line-qty .lbl { margin-right: .4rem; color: var(--kraft-deep); }
.line .item-price { grid-area: meta; justify-self: end; align-self: end; font: 700 1.15rem/1 var(--text); }
.line .buy { grid-area: buy; margin-top: .5rem; }
.cur { font-weight: 700; margin-right: .03em; }
.add-btn { width: 100%; min-height: 44px; padding: .5rem 1rem; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); font: 400 .9rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.add-btn:hover { background: var(--ink); color: var(--paper); }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--stamp); background: #fff; }
.stepper button, .qty button { display: grid; place-items: center; width: 44px; height: 42px; background: none; border: 0; color: var(--ink); }
.stepper button:hover, .qty button:hover { background: var(--carbon); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 400 1.05rem/1 var(--mono); }
.line.in-cart { background: #fff6ec; }
.line.in-cart .line-no, .line.in-cart .line-body h4::after { color: var(--stamp); }
.line.in-cart .line-body h4::after { content: ' \2713'; font-family: var(--text); }
.inspect { display: none; }
@media (min-width: 720px) {
  .line { grid-template-columns: 112px minmax(0, 1fr) auto; grid-template-areas: "photo body price" "photo meta buy"; }
  .line .item-price { grid-area: price; align-self: start; }
  .line .buy { grid-area: buy; margin: 0; align-self: end; min-width: 200px; }
  .line-qty { align-self: center; }
}
@media (min-width: 1024px) {
  .sheet-body { grid-template-columns: minmax(0, 1fr) 380px; }
  .ledger { border-right: 1.5px solid var(--ink); }
  .ledger-cols { display: grid; grid-template-columns: 76px 112px minmax(0, 1fr) 70px 90px 200px; gap: 0 1rem; padding: .55rem 1.6rem; border-bottom: 1px solid var(--line-strong); font: 400 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); background: var(--carbon); }
  .ledger-cols span:nth-child(2) { grid-column: 2 / 4; }
  .ledger-cols span:nth-child(3) { grid-column: 4; }
  .ledger-cols span:nth-child(4) { grid-column: 5; text-align: right; }
  .line { grid-template-columns: 76px 112px minmax(0, 1fr) 70px 90px 200px; grid-template-areas: "no photo body qty price buy"; align-items: center; gap: 0 1rem; padding: .8rem 1.6rem; cursor: default; }
  .line-no { display: block; grid-area: no; font: 400 .88rem/1 var(--mono); color: var(--taupe); }
  .line-qty { grid-area: qty; align-self: center; }
  .line-qty .lbl { display: none; }
  .line .item-price { grid-area: price; align-self: center; justify-self: end; }
  .line .buy { grid-area: buy; align-self: center; min-width: 0; }
  .line.inspected { background: var(--carbon); box-shadow: inset 4px 0 0 var(--kraft); }
  .line.in-cart.inspected { background: #fff0e2; }
  .inspect { display: block; position: relative; padding: 1.4rem; background: var(--carbon); }
  .inspect-photo { position: relative; border: 1.5px solid var(--ink); background: var(--paper); padding: .5rem; }
  .inspect-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .inspect-stamp { position: absolute; left: 1rem; top: 1rem; padding: .3rem .55rem; border: 2px solid var(--stamp); color: var(--stamp); background: rgba(251, 248, 243, .9); font: 400 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg); }
  .inspect figcaption { display: grid; gap: .25rem; margin-top: 1rem; }
  .inspect-no { font: 400 .85rem/1 var(--mono); color: var(--kraft-deep); }
  .inspect-name { font: 700 1.3rem/1.2 var(--display); }
  .inspect-desc { color: var(--muted); font-size: .95rem; }
  .inspect-price { font: 700 1.3rem/1 var(--text); margin-top: .3rem; }
  .sheet-body > .inspect { position: sticky; top: 92px; align-self: start; }
}

/* Sender's note */
.story { background: var(--carbon); border-block: 1.5px solid var(--ink); padding: clamp(4rem, 8vw, 6rem) 0; }
.story-grid { display: grid; gap: 2.4rem; align-items: center; }
.story-photo { border: 1.5px solid var(--ink); padding: .5rem; background: var(--paper); transform: rotate(-1.2deg); }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.note { background: var(--paper); border: 1.5px solid var(--ink); padding: clamp(1.4rem, 4vw, 2.4rem); background-image: repeating-linear-gradient(transparent 0 31px, rgba(140, 122, 104, .18) 31px 32px); }
.note h2 { margin-bottom: 1.2rem; }
.note > p + p { margin-top: .9rem; }
.mission { margin-top: 1.6rem; padding: 1rem 1.2rem; border: 1.5px dashed var(--kraft-deep); background: var(--paper); }
.mission p { margin-top: .3rem; font: italic 500 1.15rem/1.45 var(--display); }
.values { display: grid; gap: .6rem; margin-top: 1.4rem; }
.values li { display: flex; gap: .7rem; align-items: baseline; }
.values .box { transform: translateY(3px); }
.values strong { font-family: var(--display); margin-right: .3rem; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5rem); } }

/* Delivery notes */
.notes { padding: clamp(4rem, 8vw, 6rem) 0; }
.notes h2 { margin-bottom: 2rem; }
.slips { display: grid; gap: 1.4rem; }
.slip { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.4rem 1.2rem; background: var(--paper); border: 1.5px solid var(--ink); }
.slip:nth-child(2) { transform: rotate(.8deg); }
.slip:first-child { transform: rotate(-.6deg); }
.slip-head { display: flex; justify-content: space-between; padding-bottom: .6rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line-strong); font: 400 .82rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); }
.slip blockquote p { font: 500 1.3rem/1.4 var(--display); }
.slip figcaption { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line-strong); display: grid; gap: .1rem; }
.scribble { width: 150px; height: 42px; fill: none; stroke: #2f3e7a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sig-name { font: 400 .95rem/1.3 var(--mono); }
@media (min-width: 760px) { .slips { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* Courier FAQ */
.faq { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.faq-grid { display: grid; gap: 2rem; }
.faq-photo { display: none; margin-top: 1.6rem; border: 1.5px solid var(--ink); padding: .5rem; background: var(--paper); }
.faq-photo { max-width: 400px; }
.faq-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px dashed var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 58px; padding: 1rem 0; cursor: pointer; list-style: none; font: 700 1.15rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--stamp); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.2rem 0; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } .faq-photo { display: block; } }

/* Proof of delivery */
.visit { background: var(--ink); padding: clamp(4rem, 8vw, 6rem) 0; }
.visit-grid { display: grid; gap: 2rem; align-items: center; }
.pod { background: var(--paper); border: 1.5px solid var(--paper); box-shadow: 8px 8px 0 var(--kraft); }
.pod > * { padding: 1rem clamp(1rem, 3vw, 1.6rem); }
.pod-head { display: flex; justify-content: space-between; align-items: center; background: var(--carbon); border-bottom: 1.5px solid var(--ink); font: 400 .9rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pod-ok { padding: .35rem .6rem; border: 2px solid var(--stamp); color: var(--stamp); transform: rotate(-4deg); }
.pod-title { font-size: clamp(1.9rem, 4vw, 2.7rem); padding-top: 1.3rem; }
.pod-rows { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); margin-top: .8rem; padding: 0; }
.pod-rows > div { padding: .8rem clamp(1rem, 3vw, 1.6rem); border-bottom: 1px solid var(--line-strong); }
.pod-rows dt { font: 400 .8rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); }
.pod-rows dd { margin-top: .2rem; overflow-wrap: anywhere; }
.pod-rows a { font-weight: 700; text-underline-offset: 3px; }
.pod-sign { display: grid; gap: 0; }
.pod-sign .scribble { margin-top: .2rem; }
.pod-line { display: block; width: min(320px, 100%); border-top: 1.5px solid var(--ink); margin-top: -6px; }
.attached { display: flex; flex-wrap: wrap; gap: .6rem; border-top: 1.5px solid var(--ink); background: var(--carbon); }
.attached a { display: flex; flex-direction: column; gap: .2rem; min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--line-strong); background: var(--paper); text-decoration: none; font-weight: 700; }
.attached a:hover { border-color: var(--ink); }
.visit-photo { border: 1.5px solid var(--paper); padding: .5rem; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 640px) { .pod-rows { grid-template-columns: 1fr 1fr; } .pod-rows .wide { grid-column: 1 / -1; } .pod-rows > div:nth-child(2) { border-right: 1px solid var(--line-strong); } }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }

/* Footer: the carbon copy */
.footer { background: var(--carbon); padding: 3.5rem 0 2rem; border-top: 6px double var(--ink); }
.footer-top { display: grid; gap: 2.2rem; }
.footer-line { display: flex; align-items: center; gap: 1rem; font: 700 1.5rem/1.2 var(--display); }
.footer-line em { color: var(--kraft-deep); font-weight: 500; }
.foot-logo { width: 96px; height: auto; flex: none; border-radius: 50%; }
.footer h2 { font: 400 .82rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--kraft-deep); margin-bottom: .8rem; }
.footer li + li { margin-top: .4rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-strong); font: 400 .88rem/1.4 var(--mono); color: var(--muted); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Cart drawer: the waybill fills in */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(43, 36, 29, .5); 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: 160; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); border-left: 1.5px solid var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; background: var(--ink); color: var(--paper); }
.cart-head h2 { font-size: 1.6rem; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--paper); color: var(--paper); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 1.3rem; background-image: repeating-linear-gradient(transparent 0 47px, rgba(140, 122, 104, .14) 47px 48px); }
.cart-items::before { content: 'Item · Qty · Amount'; display: block; padding: .7rem 0; border-bottom: 1.5px solid var(--ink); font: 400 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-deep); }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: .9rem 0; border-bottom: 1px dashed var(--line-strong); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line-strong); }
.cart-item h3 { font: 700 1rem/1.25 var(--display); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); }
.qty button { width: 40px; height: 40px; }
.qty output { min-width: 2ch; text-align: center; font: 400 1rem/1 var(--mono); }
.cart-item-sub { font: 400 1.05rem/1 var(--mono); }
.cart-remove { margin-top: .3rem; padding: .3rem 0; background: none; border: 0; font-size: .85rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 700 1.3rem/1.3 var(--display); margin-bottom: 1.2rem; }
.cart-foot { padding: 1.1rem 1.3rem 1.3rem; border-top: 1.5px solid var(--ink); background: var(--carbon); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font: 400 .9rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.cart-total .price { font: 700 1.4rem/1 var(--text); text-transform: none; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper); border: 1.5px solid var(--ink); padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.order-form h2, .summary h2 { font-size: 1.7rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--stamp); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-hint { margin-top: .35rem; font-size: .85rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .9rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--kraft); padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px dashed var(--line-strong); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: var(--muted); font: 400 .85rem/1.3 var(--mono); }
.summary td:last-child { text-align: right; font: 400 1rem/1.3 var(--mono); white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; font: 400 .9rem/1.3 var(--mono); text-transform: uppercase; }
.summary-total .price { font: 700 1.5rem/1 var(--text); color: var(--stamp); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: var(--kraft-deep); font-weight: 700; text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper); border: 1.5px solid var(--ink); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--carbon); border: 1px dashed var(--line-strong); white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .9rem/1.5 var(--mono); }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 100px; } }

/* Legal pages */
.legal-head { background: var(--paper); border-bottom: 1.5px solid var(--ink); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul, .legal ol { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--kraft-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
