/* Mikaro Radiant Center: "Packing Box". The logo's thick black line box, fresh green and kraft: the page is a box being packed. Lid flaps open on the hero, items drop into the header box and its flaps close at five, products are packing slips, the footer is packing tape. */
:root {
  --green: #2e9a52;
  --green-deep: #1c6b38;
  --green-pale: #e3f2e7;
  --kraft: #c9a36a;
  --kraft-mid: #dcc092;
  --kraft-light: #efe1c4;
  --cream: #f7f5f0;
  --paper: #fffdf8;
  --ink: #111111;
  --muted: #5a5348;
  --line: 4px solid var(--ink);
  --error: #b42318;
  --display: 'Rubik', system-ui, sans-serif;
  --text: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Overpass Mono', ui-monospace, Menlo, Consolas, 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(--cream); color: var(--ink); font: 500 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, 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(--green); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { 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(--green); color: #fff; padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); letter-spacing: .04em; }

.kicker { font: 700 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: .9rem; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.5rem; border-radius: 14px; background: var(--green); color: #fff; border: var(--line); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font: 700 1.02rem/1.2 var(--display); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--line { background: var(--paper); color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Header: unfiltered and untransformed so the fixed mobile menu is never trapped */
.header { position: sticky; top: 0; z-index: 60; background: var(--cream); border-bottom: var(--line); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 84px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; }
.brand-name { font: 800 1.7rem/1 var(--display); color: var(--green); letter-spacing: -.02em; }
.brand-sub { font: 700 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-top: .35rem; }
.nav-list { display: flex; align-items: center; gap: .5rem; }
.nav-link { display: inline-block; padding: .45rem .8rem; font: 700 .92rem/1 var(--display); text-decoration: none; background: var(--kraft-light); border: 2px solid var(--ink); transform: rotate(-1.2deg); transition: background-color .15s; }
.nav-list li:nth-child(even) .nav-link { transform: rotate(1deg); }
.nav-link:hover { background: var(--kraft-mid); }
.nav-close-li { display: none; }

/* The cart is the box */
.cart-btn { display: flex; align-items: center; gap: .5rem; padding: 0 .3rem 0 0; background: none; border: 0; min-height: 64px; }
.box-svg { width: 92px; height: auto; overflow: visible; }
.box-svg path, .box-svg rect, .box-svg circle { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.box-svg .box-front { fill: var(--kraft-light); }
.box-svg .slot { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .2s, transform .45s cubic-bezier(.3, 1.5, .5, 1); transform: translateY(-30px); }
.box-svg .slot path, .box-svg .slot rect { stroke: var(--green-deep); stroke-width: 3.5; fill: var(--paper); }
.box-svg .slot.in { opacity: 1; transform: none; }
.box-svg .slot.drop { animation: drop .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-46px) rotate(-12deg); } 60% { opacity: 1; transform: translateY(4px) rotate(3deg); } 100% { transform: none; } }
.box-svg .flap { transform-box: view-box; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.box-svg .flap-l { transform-origin: 22px 58px; transform: rotate(-118deg); }
.box-svg .flap-r { transform-origin: 118px 58px; transform: rotate(118deg); }
.box-svg.sealed .flap-l, .box-svg.sealed .flap-r { transform: none; }
.box-svg.sealed .slot.in { transform: translateY(16px); }
.box-label { margin-left: .5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; font: 700 .66rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cart-count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 .4rem; background: var(--green); color: #fff; border: 3px solid var(--ink); border-radius: 8px; font: 800 .95rem/1 var(--display); letter-spacing: 0; }
.cart-btn.pop .box-svg { animation: shake .45s; }
@keyframes shake { 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } }
.nav-toggle, .nav-close { display: none; width: 48px; height: 48px; place-items: center; background: var(--paper); border: var(--line); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.back-link { margin-left: auto; }
@media (max-width: 979px) {
  .nav-toggle { display: grid; flex: 0 0 auto; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; padding: 6rem 2rem 3rem; background: var(--kraft-light); }
  .nav-list.open .nav-link { font-size: 1.8rem; padding: .6rem 1rem; }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 18px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 480px) {
  .box-svg { width: 70px; }
  .box-label > span:first-child { display: none; }
  .brand-name { font-size: 1.4rem; }
  .brand-sub { font-size: .58rem; }
  .nav { gap: .5rem; }
}

/* Hero: a giant open crate. The lid flaps flip up and back on load. */
.hero { padding: clamp(5.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.crate { position: relative; perspective: 1400px; }
.lid { position: absolute; left: 0; right: 0; top: 0; height: 110px; display: grid; grid-template-columns: 1fr 1fr; z-index: 3; pointer-events: none; transform-style: preserve-3d; }
.lid-flap { position: relative; background: var(--kraft-mid); border: var(--line); transform-origin: 50% 0; transform: rotateX(-160deg); display: grid; place-items: center; }
.lid-flap span { font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 var(--display); color: var(--ink); opacity: 0; text-transform: uppercase; letter-spacing: .02em; }
.lid-l { border-right-width: 2px; border-radius: 6px 0 0 0; }
.lid-r { border-left-width: 2px; border-radius: 0 6px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .lid-flap { animation: lid-open 1.5s cubic-bezier(.55, .1, .25, 1.1) .35s both; }
  .lid-r { animation-delay: .5s; }
  .lid-flap span { animation: lid-word 1.5s linear .35s both; }
  .lid-r span { animation-delay: .5s; }
  @keyframes lid-word { 0%, 30% { opacity: .85; } 42%, 100% { opacity: 0; } }
  @keyframes lid-open { from { transform: rotateX(0); } to { transform: rotateX(-160deg); } }
  .crate-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 1.2s; }
  .crate-copy > :nth-child(2) { animation-delay: 1.3s; } .crate-copy > :nth-child(3) { animation-delay: 1.4s; } .crate-copy > :nth-child(n+4) { animation-delay: 1.5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
.crate-body { position: relative; display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); border: var(--line); border-radius: 0 0 22px 22px; box-shadow: 8px 8px 0 var(--ink); }
.crate-body::before { content: ''; position: absolute; left: -4px; right: -4px; top: -4px; height: 14px; background: var(--kraft); border: var(--line); border-bottom-width: 3px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.2rem; }
.hero h1 em { display: block; }
.lede { font-size: 1.12rem; max-width: 36rem; }
.smile { margin-top: 1rem; font-weight: 700; color: var(--green-deep); }
.crate-photo { position: relative; border: var(--line); border-radius: 14px; overflow: hidden; align-self: center; }
.crate-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; }
.tape-corner { position: absolute; top: 14px; right: -26px; width: 130px; height: 30px; background: rgba(201, 163, 106, .88); border-block: 2px dashed rgba(17, 17, 17, .35); transform: rotate(35deg); }
.side-print { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; border: var(--line); background: var(--kraft-light); }
.side-print li { padding: .8rem 1rem; font-size: .84rem; font-weight: 700; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.side-print li span { display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.side-print li:nth-child(2n) { border-right: 0; }
.side-print li:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 960px) {
  .crate-body { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
  .side-print { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .side-print li { border-bottom: 0; }
  .side-print li:nth-child(2n) { border-right: 3px solid var(--ink); }
  .side-print li:last-child { border-right: 0; }
}
@media (max-width: 559px) { .lid { height: 76px; } .hero { padding-top: 4.6rem; } }

/* Packing instructions */
.steps { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--green); color: #fff; border-block: var(--line); }
.steps-grid { display: grid; gap: 2rem; align-items: center; }
.steps-title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.step-list { display: grid; gap: 1rem; counter-reset: none; }
.step-list li { display: grid; grid-template-columns: 56px 1fr; gap: .2rem 1rem; padding: 1.1rem 1.2rem; background: var(--paper); color: var(--ink); border: var(--line); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.step-no { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; font: 800 1.4rem/1 var(--display); background: var(--kraft-light); }
.step-list h3 { font: 800 1.25rem/1.2 var(--display); }
.step-list p { color: var(--muted); }
.steps-photo { border: var(--line); border-radius: 14px; overflow: hidden; }
.steps-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 960px) { .steps-grid { grid-template-columns: .8fr 1.6fr 1fr; } .steps-photo img { aspect-ratio: 3 / 4; } }

/* Shop: one big box with cardboard dividers */
.shop { padding: clamp(4rem, 8vw, 6rem) 0; }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head > p { color: var(--muted); max-width: 34rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.sizes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 1.6rem; }
.sizes a { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .35rem .9rem .35rem .4rem; background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; text-decoration: none; font: 700 .98rem/1 var(--display); }
.sizes a:hover { background: var(--green-pale); }
.sizes .mono { font-size: .8rem; color: var(--muted); }
.size-tag { display: inline-grid; place-items: center; min-width: 54px; height: 34px; padding: 0 .5rem; background: var(--ink); color: var(--paper); border-radius: 8px; font: 700 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dividers { border: var(--line); border-radius: 22px; background: var(--kraft); padding: clamp(.6rem, 1.6vw, 1rem); box-shadow: 8px 8px 0 var(--ink); display: grid; gap: clamp(.6rem, 1.6vw, 1rem); }
.compartment { background: var(--kraft-light); border: 3px solid var(--ink); border-radius: 14px; padding: clamp(1rem, 2.4vw, 1.6rem); }
.comp-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem 1rem; margin-bottom: 1.2rem; }
.comp-head h3 { font: 800 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--display); }
.comp-head p { grid-column: 1 / -1; color: var(--muted); }
.comp-count { grid-column: 1 / -1; font: 700 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1100px) {
  .compartment .grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.6vw, 1rem); }
}

/* Packing slips */
.slip { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.slip:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.slip.in-cart { background: var(--green-pale); }
.slip-head { display: flex; justify-content: space-between; gap: .4rem; padding: .5rem .7rem; border-bottom: 2px dashed var(--ink); font: 700 .68rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.slip-kg { color: var(--green-deep); }
.pair .slip-head { flex-direction: column; gap: .15rem; }
.slip-photo { position: relative; background: var(--kraft-light); border-bottom: 3px solid var(--ink); }
.slip-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stamp { position: absolute; left: 8px; bottom: 10px; padding: .25rem .5rem; border: 2px solid var(--green-deep); border-radius: 4px; color: var(--green-deep); background: rgba(255, 253, 248, .86); font: 700 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-5deg); }
.slip.in-cart .stamp { background: var(--green); color: #fff; border-color: var(--ink); }
.slip-body { display: flex; flex-direction: column; flex: 1; padding: .8rem .8rem 1rem; }
.slip-body h4 { font: 700 1.05rem/1.2 var(--display); }
.item-desc { margin-top: .3rem; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.fill { display: flex; align-items: center; gap: .5rem; margin-top: .7rem; }
.fill-label { font: 700 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fill-bar { flex: 1; height: 10px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); overflow: hidden; }
.fill-bar span { display: block; width: var(--fill); height: 100%; background: repeating-linear-gradient(135deg, var(--green) 0 6px, var(--green-deep) 6px 9px); }
.buy { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.item-price, .price { font: 800 1.15rem/1 var(--display); }
.cur { font-family: var(--text); font-weight: 800; margin-right: .04em; }
.add-btn { min-height: 44px; padding: .45rem .9rem; border-radius: 10px; background: var(--green); color: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 700 .9rem/1 var(--display); transition: transform .12s, box-shadow .12s; }
.add-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.add-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.stepper { display: inline-flex; align-items: center; border: 3px solid var(--ink); border-radius: 10px; background: var(--paper); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; }
.stepper button:hover, .qty button:hover { background: var(--green-pale); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 800 1rem/1 var(--display); }
@media (max-width: 559px) {
  .slip-head { flex-direction: column; }
  .slip-body h4 { font-size: .98rem; }
  .item-desc { font-size: .84rem; }
  .buy { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .stepper { justify-content: space-between; }
}

/* About: the insert card inside the box */
.about { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--green-pale); border-block: var(--line); }
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-photo { border: var(--line); border-radius: 14px; overflow: hidden; transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--ink); }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.insert { position: relative; background: var(--paper); border: var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); transform: rotate(.8deg); }
.insert::before { content: ''; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; margin-left: -60px; background: rgba(201, 163, 106, .9); border-block: 2px dashed rgba(17, 17, 17, .3); transform: rotate(-3deg); }
.insert h2 { margin-bottom: 1.1rem; }
.goal { margin-top: 1.3rem; padding: 1rem 1.1rem; border: 3px dashed var(--green-deep); border-radius: 10px; font-weight: 700; }
.goal .mono { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); margin-bottom: .3rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.handling-title { margin-top: clamp(3rem, 6vw, 4rem); font: 800 1.5rem/1.2 var(--display); }
.handling-title span { font: 600 1rem/1 var(--text); color: var(--muted); }
.handling { display: grid; gap: 1rem; margin-top: 1.2rem; }
.handling li { display: grid; grid-template-columns: 72px 1fr; gap: .2rem 1rem; align-items: center; padding: 1rem 1.2rem; background: var(--paper); border: var(--line); border-radius: 12px; }
.handling svg { grid-row: span 2; width: 64px; height: 64px; padding: 8px; border: var(--line); border-radius: 8px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.handling h4 { font: 800 1.2rem/1.2 var(--display); }
.handling p { color: var(--muted); }
@media (min-width: 900px) { .handling { grid-template-columns: repeat(3, 1fr); } }

/* Handling notes (FAQ) */
.notes { padding: clamp(4rem, 8vw, 6rem) 0; }
.notes-grid { display: grid; gap: 2rem; }
.note-list { display: grid; gap: .8rem; }
.notes details { background: var(--paper); border: var(--line); border-radius: 12px; padding: 0 1.2rem; }
.notes summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 62px; padding: 1rem 0; cursor: pointer; list-style: none; font: 700 1.15rem/1.3 var(--display); }
.notes summary::-webkit-details-marker { display: none; }
.notes summary .icon { transition: transform .25s; }
.notes details[open] summary .icon { transform: rotate(45deg); }
.notes details p { padding: 0 0 1.2rem; color: var(--muted); }
@media (min-width: 900px) { .notes-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }

/* Visit: a shipping label */
.visit { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.visit-grid { display: grid; gap: 2rem; align-items: center; }
.label-card { background: var(--paper); border: var(--line); border-radius: 14px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.label-top { display: flex; justify-content: space-between; padding: .7rem 1.2rem; background: var(--ink); color: var(--paper); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.label-from { padding: 1.2rem 1.2rem 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.label-from .mono { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.label-addr { padding: .8rem 1.2rem 1.2rem; font-style: normal; font-size: 1.08rem; border-bottom: 3px solid var(--ink); overflow-wrap: anywhere; }
.label-rows div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .8rem 1.2rem; border-bottom: 2px dashed var(--ink); }
.label-rows dt { font: 700 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.label-rows a { font-weight: 700; color: var(--green-deep); text-underline-offset: 4px; overflow-wrap: anywhere; }
.label-map { padding: .9rem 1.2rem; }
.label-map a { font-weight: 700; text-underline-offset: 4px; }
.barcode { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.2rem 1.1rem; border-top: 3px solid var(--ink); }
.barcode span:first-child { flex: 1; max-width: 260px; height: 46px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.barcode .mono { font-size: .76rem; font-weight: 700; }
.visit-photo { border: var(--line); border-radius: 14px; overflow: hidden; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; } }

/* Policy inserts */
.inserts { padding: 3rem 0; background: var(--kraft-light); border-top: var(--line); }
.insert-list { display: grid; gap: 1rem; }
.insert-list li { background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; padding: 1.3rem 1.4rem; }
.insert-list h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.insert-list p { color: var(--muted); font-size: .96rem; }
.insert-list a { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--green-deep); text-underline-offset: 4px; }
@media (min-width: 800px) { .insert-list { grid-template-columns: repeat(3, 1fr); } }

/* Footer: packing tape across the bottom of the box */
.tape { overflow: hidden; background: var(--kraft); border-block: var(--line); padding: .7rem 0; white-space: nowrap; }
.tape span { display: inline-block; font: 700 .86rem/1 var(--mono); letter-spacing: .16em; }
@media (prefers-reduced-motion: no-preference) { .tape span { animation: tape 60s linear infinite; } @keyframes tape { to { transform: translateX(-50%); } } }
.footer { background: var(--ink); color: var(--cream); padding: 3.5rem 0 2rem; }
.footer-top { display: grid; gap: 2.4rem; }
.footer-line { display: flex; align-items: center; gap: 1rem; font: 800 1.5rem/1.2 var(--display); }
.footer-line em { font-style: normal; color: #7fd49b; }
.foot-logo { width: 96px; flex: none; border-radius: 12px; background: var(--cream); padding: 6px; }
.footer h2 { font: 700 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7fd49b; margin-bottom: .9rem; }
.footer li + li { margin-top: .45rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #7fd49b; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 2px dashed rgba(247, 245, 240, .35); font-size: .86rem; color: #c8c2b6; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Cart drawer: your box, with its packing list */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(17, 17, 17, .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(--kraft-light); border-left: var(--line); 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(--kraft); border-bottom: var(--line); }
.cart-head h2 { font-size: 1.8rem; }
.cart-close { display: grid; place-items: center; width: 46px; height: 46px; background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; }
.cart-items { flex: 1; overflow-y: auto; padding: .8rem 1.3rem; background: repeating-linear-gradient(var(--paper) 0 34px, #e9e1cf 34px 35px); }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 2px dashed var(--ink); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; }
.cart-item h3 { font: 700 1rem/1.25 var(--display); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.qty button { width: 40px; height: 40px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 800; }
.cart-item-sub { font: 800 1rem/1 var(--display); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .84rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 800 1.4rem/1.3 var(--display); margin-bottom: 1.2rem; }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem; border-top: var(--line); background: var(--paper); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-weight: 700; }
.cart-total .price { font-size: 1.4rem; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .84rem; 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.8rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper); border: var(--line); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.8rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 500 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 10px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--kraft-light); border: var(--line); border-radius: 16px; padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 2px dashed var(--ink); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: var(--muted); font-size: .84rem; }
.summary td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; font-weight: 700; }
.summary-total .price { font-size: 1.5rem; color: var(--green-deep); }
.summary-note { margin-top: 1.2rem; }
.summary-note a { font-weight: 700; color: var(--green-deep); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper); border: var(--line); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--cream); border: 2px solid var(--ink); border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 110px; } }

/* Legal pages */
.legal-head { background: var(--kraft-light); border-bottom: var(--line); 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 h3 { font: 700 1.2rem/1.3 var(--display); margin: 1.6rem 0 .5rem; }
.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(--green-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; } }
