/* Nathaniel Parker Market: "Chalkboard Market". The Tondo market's own blackboard is the page: chalk headlines that write themselves, prices chalked on framed boards hung on a cream wall, photos clipped on with wooden pegs, and a chalk tally for your list. */
:root {
  --board: #1f2b24;
  --board-2: #26352c;
  --board-3: #2e4035;
  --chalk: #f2eee2;
  --chalk-soft: #c9cfc2;
  --chalk-dim: rgba(242, 238, 226, .26);
  --red: #c23a22;
  --red-chalk: #f39a7f;
  --wood: #8a5a33;
  --wood-dark: #5e3a1f;
  --wall: #f3eee2;
  --paper: #fbf8f0;
  --ink: #1f2b24;
  --muted: #4f5a52;
  --line: rgba(31, 43, 36, .16);
  --error: #a3261b;
  --chalkface: 'Cabin Sketch', 'Patrick Hand', cursive;
  --hand: 'Patrick Hand', 'Inclusive Sans', cursive;
  --text: 'Inclusive Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --slate: var(--dust), radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(90% 70% at 85% 90%, rgba(255, 255, 255, .04), transparent 60%), var(--board);
  --grain: repeating-linear-gradient(92deg, rgba(0, 0, 0, .12) 0 2px, transparent 2px 9px), repeating-linear-gradient(88deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 13px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--wall); 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, 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(--red-chalk); outline-offset: 3px; }
.wrap { width: min(1240px, 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(--chalk); color: var(--board); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 400 1.15rem/1.3 var(--hand); color: var(--red-chalk); margin-bottom: .6rem; }
.kicker--dark { color: var(--red); }
h1, h2 { font-family: var(--chalkface); font-weight: 700; line-height: 1.04; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 em { font-style: normal; color: var(--red); }
.lede { font-size: 1.12rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.4rem; border-radius: 10px; background: var(--red); color: #fff; border: 2px solid var(--red); text-decoration: none; font: 400 1.25rem/1.1 var(--hand); transition: background-color .2s, transform .15s; }
.btn:hover { background: #a62f1b; border-color: #a62f1b; }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.btn--line:hover { background: rgba(242, 238, 226, .1); border-color: currentColor; }

/* Header: a strip of blackboard on a wooden rail. Solid, unfiltered, untransformed. */
.header { position: sticky; top: 0; z-index: 60; background: var(--slate); color: var(--chalk); border-bottom: 5px solid var(--wood); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: 46px; border-radius: 8px; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word span:first-child { font: 700 1.5rem/1 var(--chalkface); }
.word span:last-child { font: 400 1rem/1 var(--hand); color: var(--red-chalk); letter-spacing: .28em; text-transform: uppercase; margin-top: .25rem; }
.nav-list { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); }
.nav-link { font: 400 1.2rem/1 var(--hand); text-decoration: none; padding: .55rem 0; background: linear-gradient(var(--chalk-dim), var(--chalk-dim)) left 92% / 0 2px no-repeat; transition: background-size .25s; }
.nav-link:hover { background-size: 100% 2px; }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .3rem .4rem .3rem .75rem; border-radius: 10px; background: transparent; border: 2px solid var(--chalk); color: var(--chalk); font: 400 1.15rem/1 var(--hand); flex: 0 0 auto; }
.cart-btn:hover { background: rgba(242, 238, 226, .08); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .35rem; border-radius: 8px; background: var(--chalk); color: var(--board); font: 700 .95rem/1 var(--text); }
.cart-btn.pop { animation: wobble .5s ease; }
@keyframes wobble { 30% { transform: rotate(-3deg); } 60% { transform: rotate(2deg); } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; place-items: center; background: transparent; border: 2px solid var(--chalk); border-radius: 10px; color: var(--chalk); flex: 0 0 auto; }
.back-link { margin-left: auto; }

/* Chalk tally marks (cart button and drawer) */
.tally { display: inline-flex; align-items: center; min-height: 20px; }
.tally:empty { display: none; }
.tg { position: relative; display: inline-flex; gap: 3px; height: 20px; margin-right: 6px; }
.tg i { display: block; width: 2.5px; height: 20px; background: var(--chalk); border-radius: 2px; opacity: .92; }
.tg i:nth-child(2) { transform: rotate(3deg); } .tg i:nth-child(3) { transform: rotate(-2deg); } .tg i:nth-child(4) { transform: rotate(4deg); }
.tg5 b { position: absolute; left: -4px; right: -4px; top: 9px; height: 2.5px; background: var(--red-chalk); border-radius: 2px; transform: rotate(-28deg); }
.tg-more { font: 700 1rem/1 var(--hand); }

@media (max-width: 939px) {
  .nav-toggle { display: grid; }
  .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: .3rem; padding: 6rem 2rem 3rem; background: var(--slate); }
  .nav-list.open .nav-link { font: 700 2.6rem/1.2 var(--chalkface); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 13px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 480px) {
  .cart-label { display: none; }
  .word span:first-child { font-size: 1.22rem; }
  .word span:last-child { font-size: .85rem; letter-spacing: .2em; }
  .nav { gap: .5rem; }
  .tally { display: none; }
}

/* Hero: the big board in its wooden frame */
.hero { padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(2rem, 4vw, 3rem); }
.frame { padding: clamp(10px, 1.4vw, 16px); border-radius: 8px; background: var(--grain), linear-gradient(180deg, #96643a, var(--wood) 45%, var(--wood-dark)); box-shadow: 0 24px 40px -26px rgba(31, 43, 36, .65); }
.slate { position: relative; display: grid; gap: 2rem; padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1.2rem, 4vw, 3.4rem) clamp(5.5rem, 9vw, 7rem); background: var(--slate); color: var(--chalk); border-radius: 3px; overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 1.2rem; }
.ln { display: block; }
.ln.red { color: var(--red-chalk); }
.hero .lede { color: var(--chalk-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero .btn--line { color: var(--chalk); }
.hero-photo { position: relative; align-self: center; justify-self: center; width: min(100%, 540px); padding: 10px 10px 34px; background: var(--paper); transform: rotate(2deg); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pin { position: absolute; left: 50%; top: -18px; width: 16px; height: 42px; margin-left: -8px; border-radius: 4px; background: var(--grain), linear-gradient(90deg, #a87447, #c99a68 50%, #8f5f36); box-shadow: 0 3px 5px rgba(0, 0, 0, .3); z-index: 2; }
.pin::after { content: ''; position: absolute; left: 3px; right: 3px; top: 16px; height: 6px; border-radius: 3px; background: #6f6f6f; }
.doodles { position: absolute; left: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); bottom: .6rem; height: clamp(70px, 9vw, 120px); width: auto; fill: none; stroke: var(--chalk); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .42; }
.today { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1rem; font: 400 1.25rem/1.3 var(--hand); }
.today-status { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 600 .95rem/1.3 var(--text); color: var(--muted); }
.today-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9a9a9a; }
.today.is-open .today-status { color: #1d5b33; }
.today.is-open .today-status::before { background: #2f8a4b; }
@media (prefers-reduced-motion: no-preference) {
  .write .ln { clip-path: inset(0 100% 0 0); animation: write .9s steps(18, end) forwards; animation-delay: calc(.25s + var(--l) * .85s); }
  @keyframes write { to { clip-path: inset(0 0 0 0); } }
  .dd path, .dd ellipse { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.4s ease forwards; animation-delay: calc(2.2s + var(--d)); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (min-width: 900px) {
  .slate { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
}
@media (max-width: 599px) { .doodles { opacity: .3; } .slate { padding-bottom: 4.6rem; } }

/* Shop: framed chalk price boards hung on the cream wall */
.shop { padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.shop-head { display: grid; gap: 1rem; align-items: end; }
.shop-head > p { color: var(--muted); max-width: 36rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.jump { margin-top: 1.6rem; }
.jump ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1rem; border-radius: 10px; background: var(--board); color: var(--chalk); text-decoration: none; font: 400 1.15rem/1 var(--hand); border-bottom: 4px solid var(--wood); }
.jump a:hover { background: var(--board-3); }
.boards { margin-top: 2rem; column-gap: 1.6rem; }
@media (min-width: 980px) { .boards { columns: 2; } }
.board { break-inside: avoid; margin-bottom: 1.6rem; padding: 10px; border-radius: 6px; background: var(--grain), linear-gradient(180deg, #96643a, var(--wood) 45%, var(--wood-dark)); box-shadow: 0 18px 30px -22px rgba(31, 43, 36, .6); scroll-margin-top: 90px; }
.board > * { background: var(--slate); color: var(--chalk); }
.board-head { padding: 1.3rem 1.3rem .8rem; border-radius: 3px 3px 0 0; }
.board-no { font: 400 1rem/1 var(--hand); color: var(--red-chalk); }
.board-head h3 { font: 700 clamp(1.7rem, 3vw, 2.2rem)/1.05 var(--chalkface); margin-top: .25rem; }
.board-head p:last-child { color: var(--chalk-soft); font-size: .98rem; margin-top: .3rem; }
.chalk-list { padding: 0 1.3rem 1rem; border-radius: 0 0 3px 3px; }
.chalk-row { position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; grid-template-areas: "ph tx buy"; gap: .3rem 1rem; align-items: center; padding: 1.15rem 0; border-top: 1.5px dashed var(--chalk-dim); }
.pinned { grid-area: ph; position: relative; padding: 5px 5px 14px; background: var(--paper); transform: rotate(-2.5deg); box-shadow: 0 8px 14px -8px rgba(0, 0, 0, .6); margin-top: 10px; }
.chalk-row:nth-child(even) .pinned { transform: rotate(2deg); }
.pinned img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pinned .pin { top: -16px; height: 34px; width: 13px; margin-left: -6.5px; }
.pinned .pin::after { top: 13px; height: 5px; }
.row-text { grid-area: tx; }
.chalk-row h4 { font: 400 1.45rem/1.15 var(--hand); }
.row-desc { color: var(--chalk-soft); font-size: .95rem; line-height: 1.45; margin-top: .15rem; }
.stock { font-size: .85rem; color: var(--chalk-soft); margin-top: .3rem; }
.leader { display: none; }
.buy { grid-area: buy; display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.item-price, .price { font: 700 1.9rem/1 var(--chalkface); color: var(--chalk); white-space: nowrap; }
.cur { font: 700 .75em/1 var(--text); margin-right: .06em; }
.add-btn { min-height: 44px; padding: .45rem .9rem; border-radius: 10px; background: transparent; color: var(--chalk); border: 2px solid var(--chalk); font: 400 1.1rem/1.1 var(--hand); white-space: nowrap; transition: background-color .2s, color .2s; }
.add-btn:hover { background: var(--chalk); color: var(--board); }
.stepper { display: inline-flex; align-items: center; border-radius: 10px; border: 2px solid var(--chalk); }
.stepper button, .qty button { display: grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; border-radius: 8px; color: inherit; }
.stepper button:hover, .qty button:hover { background: rgba(242, 238, 226, .12); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font: 700 1.1rem/1 var(--text); }
.chalk-row.in-cart h4::after { content: ' ✓'; color: var(--red-chalk); }
.chalk-row::after { content: '✓'; position: absolute; right: -.4rem; top: .3rem; font: 700 2.4rem/1 var(--chalkface); color: var(--red-chalk); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .chalk-row.just::after { animation: tick 1s ease; }
  @keyframes tick { 0% { opacity: 0; transform: scale(.4) rotate(-20deg); } 30% { opacity: 1; transform: scale(1.1) rotate(0); } 100% { opacity: 0; transform: scale(1); } }
}
@media (max-width: 599px) {
  .chalk-row { grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "ph tx" "ph buy"; }
  .buy { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .item-price { font-size: 1.6rem; }
  .chalk-list, .board-head { padding-left: 1rem; padding-right: 1rem; }
}

/* How ordering works */
.how { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--paper); border-block: 1px solid var(--line); }
.how-grid { display: grid; gap: 2.4rem; align-items: center; }
.how h2 { margin-bottom: 1.6rem; }
.steps { display: grid; gap: 1rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: .1rem 1rem; }
.step-no { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--board); color: var(--chalk); font: 700 1.6rem/1 var(--chalkface); }
.steps h3 { font: 400 1.4rem/1.2 var(--hand); color: var(--ink); }
.steps p { color: var(--muted); }
.how-photo { position: relative; padding: 10px 10px 30px; background: #fff; transform: rotate(-1.5deg); box-shadow: 0 18px 30px -18px rgba(31, 43, 36, .5); justify-self: center; max-width: 560px; }
.how-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Story: another board */
.story { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--slate); color: var(--chalk); }
.story h2 em { color: var(--red-chalk); }
.story .kicker--dark { color: var(--red-chalk); }
.story-grid { display: grid; gap: 2.4rem; align-items: center; }
.story-photo { padding: 10px; background: var(--grain), linear-gradient(180deg, #96643a, var(--wood-dark)); border-radius: 6px; max-width: 420px; }
.story-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.story-copy h2 { margin-bottom: 1.2rem; }
.story-copy p + p { margin-top: 1rem; }
.story-copy p:not(.kicker) { color: var(--chalk-soft); }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }

/* FAQ */
.faq { padding: clamp(3rem, 7vw, 5rem) 0; }
.faq-grid { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: .7rem; align-content: start; }
.faq details { border-radius: 10px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--board); padding: 0 1.2rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 58px; padding: .9rem 0; cursor: pointer; list-style: none; font: 400 1.3rem/1.25 var(--hand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Visit */
.visit { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--slate); color: var(--chalk); }
.visit h2 { margin-bottom: 1.8rem; }
.visit h2 em { color: var(--red-chalk); }
.visit-grid { display: grid; gap: 2.4rem; align-items: center; }
.visit-cards { font-style: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.visit-card { padding: 1.1rem 1.2rem; border-radius: 10px; border: 2px dashed var(--chalk-dim); }
.visit-card h3 { font: 400 1.15rem/1.2 var(--hand); color: var(--red-chalk); margin-bottom: .3rem; }
.visit-card p { overflow-wrap: anywhere; }
.visit-card a { color: var(--chalk); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.visit-card > a { display: inline-block; margin-top: .5rem; }
.visit-photo { padding: 10px; background: var(--grain), linear-gradient(180deg, #96643a, var(--wood-dark)); border-radius: 6px; max-width: 420px; justify-self: center; }
.visit-photo img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
@media (min-width: 640px) { .visit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .visit-card.wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }

/* Policies */
.policies { padding: 3rem 0 4rem; }
.policy-list { display: grid; gap: 1.6rem; }
.policy-list h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.policy-list p { color: var(--muted); }
.policy-list a { display: inline-block; margin-top: .5rem; font-weight: 600; color: var(--red); text-underline-offset: 4px; }
@media (min-width: 800px) { .policy-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* The chalk ledge above the footer */
.ledge { position: relative; height: 34px; background: var(--grain), linear-gradient(180deg, #a06b3e, var(--wood) 60%, var(--wood-dark)); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35); }
.chalk { position: absolute; bottom: 20px; height: 9px; border-radius: 3px; background: linear-gradient(180deg, #fff, #e3ded0); }
.c1 { left: 12%; width: 62px; transform: rotate(-3deg); }
.c2 { left: calc(12% + 80px); width: 38px; transform: rotate(4deg); background: linear-gradient(180deg, #ffd9cc, #f39a7f); }
.c3 { right: 26%; width: 50px; }
.eraser { position: absolute; right: 12%; bottom: 18px; width: 92px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, #c4a47a 0 55%, #5a5a5a 55%); box-shadow: 0 3px 4px rgba(0, 0, 0, .3); }

/* Footer */
.footer { background: var(--slate); color: var(--chalk); padding: 3.6rem 0 2rem; }
.footer-top { display: grid; gap: 2.2rem; }
.footer-line { font: 700 1.7rem/1.2 var(--chalkface); }
.footer-line em { font-style: normal; color: var(--red-chalk); }
.footer h2 { font: 400 1.15rem/1.2 var(--hand); color: var(--red-chalk); margin-bottom: .8rem; }
.footer li + li { margin-top: .45rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1.5px dashed var(--chalk-dim); font-size: .9rem; color: var(--chalk-soft); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.6fr repeat(3, 1fr); } }

/* Cart drawer: a small blackboard */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(15, 22, 18, .55); 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(430px, 100%); display: flex; flex-direction: column; background: var(--slate); color: var(--chalk); border-left: 10px solid var(--wood); 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; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1.5px dashed var(--chalk-dim); }
.cart-head h2 { font-size: 1.7rem; margin-right: auto; }
.tally--drawer { order: 2; }
.cart-close { order: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: none; border: 2px solid var(--chalk); color: var(--chalk); }
.cart-items { flex: 1; overflow-y: auto; padding: .4rem 1.2rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: .9rem 0; border-bottom: 1.5px dashed var(--chalk-dim); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; background: var(--paper); padding: 3px; }
.cart-item h3 { font: 400 1.25rem/1.2 var(--hand); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--chalk); border-radius: 10px; }
.qty button { width: 38px; height: 38px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; }
.cart-item-sub { font: 700 1.3rem/1 var(--chalkface); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .88rem; color: var(--chalk-soft); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 700 1.6rem/1.3 var(--chalkface); margin-bottom: 1.2rem; }
.cart-foot { padding: 1.1rem 1.2rem 1.3rem; border-top: 1.5px dashed var(--chalk-dim); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font: 400 1.2rem/1 var(--hand); }
.cart-total .price { font-size: 2rem; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .88rem; color: var(--chalk-soft); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.4rem, 6vw, 4rem) 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: .8rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper); border-radius: 12px; border: 1px solid var(--line); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.9rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; }
.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: 1px solid rgba(31, 43, 36, .35); border-radius: 10px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--red); 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: .86rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .9rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--slate); color: var(--chalk); border-radius: 6px; border: 10px solid var(--wood); padding: 1.8rem clamp(1.1rem, 4vw, 1.8rem); }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1.5px dashed var(--chalk-dim); vertical-align: top; font: 400 1.15rem/1.3 var(--hand); }
.summary td small { display: block; margin-top: .2rem; color: var(--chalk-soft); font: 400 .85rem/1.3 var(--text); }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; font: 700 1.3rem/1.2 var(--chalkface); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.1rem; font: 400 1.2rem/1 var(--hand); }
.summary-total .price { font-size: 2.1rem; color: var(--red-chalk); }
.summary-note { margin-top: 1.1rem; }
.summary-note a { color: var(--chalk); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); padding: 2.2rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }
.sent .hero-actions { margin-top: 1.4rem; }
.sent .btn--line { color: var(--ink); }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--wall); border: 1px solid var(--line); border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .88rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 96px; } }

/* Legal pages */
.legal-head { background: var(--slate); color: var(--chalk); padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.legal-body { padding: clamp(2.4rem, 6vw, 3.6rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.7rem; margin: 2rem 0 .6rem; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal li + li { margin-top: .4rem; }
.legal a { color: var(--red); 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; } }
