/* storefront — a shop people order from. Colours and fonts only through the theme variables (render-utils themeVars):
   --bg --fg --muted --line --accent (the brand's deep colour) --accent2 (its bright colour, small accents only) --surface
   --c-cream (ink on the deep colour) --c-deep (the darkest brand tone) --c-mango (one warm accent) --c-tomato (errors)
   --c-stone (the photographs' surface). No surface is brighter than luma 235 (the igloo bar's no-glare item). */
:root {
  --hd: 72px; --gut: 32px; --maxw: 1560px; --r: var(--radius, 16px);
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 2px rgba(20, 38, 29, .06), 0 10px 30px -18px rgba(20, 38, 29, .35);
  --t-fast: .18s;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 64px); }
body { margin: 0; background: var(--bg); font: 400 16px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-deep); color: var(--c-cream); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 10px; }
.tag { display: inline-block; font: 600 10.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px 3px; border-radius: 6px; background: var(--c-mango); color: var(--fg); vertical-align: 1px; }
.kicker { font: 600 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; font-weight: 600; font-size: 16px; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--c-cream); }
.btn-primary:hover { background: var(--c-deep); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--fg) 22%, transparent); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wide { width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--fg) 7%, transparent); transition: background-color var(--t-fast); }
.icon-btn:hover { background: color-mix(in srgb, var(--fg) 13%, transparent); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- the preview bar and the header ---------- */
.pb-short { display: none; }
@media (max-width: 820px) { .preview-bar .pb-long { display: none; } .preview-bar .pb-short { display: inline; } }
.preview-bar { margin: 0; background: var(--surface); color: var(--c-deep); border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; text-align: center; padding: 8px var(--gut); }
.preview-bar a { color: var(--accent); font-weight: 600; }
.hd { position: sticky; top: 0; z-index: 40; height: var(--hd); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding: 0 max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut))); background: var(--bg); transition: box-shadow .25s; }
.hd.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 24px -22px rgba(20, 38, 29, .5); }
.logo { display: block; border-radius: 10px; overflow: hidden; line-height: 0; }
.logo img { height: 46px; width: auto; }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 18px 0 46px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.search input::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.search-ic { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-results { position: absolute; left: 0; right: 0; top: 56px; z-index: 50; max-height: min(62vh, 520px); overflow: auto; background: var(--surface); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(20, 38, 29, .45), 0 0 0 1px var(--line); padding: 6px; }
.sr-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 12px; cursor: pointer; }
.sr-row[aria-selected="true"], .sr-row:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.sr-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.sr-row b { display: block; font-weight: 600; }
.sr-row small { color: var(--muted); font-size: 13px; }
.sr-row .sr-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.sr-empty, .sr-count { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.area-chip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: none; max-width: 230px; transition: border-color var(--t-fast); }
.area-chip:hover { border-color: var(--accent); }
.area-chip svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.area-txt { display: grid; line-height: 1.15; min-width: 0; }
.area-k { font-size: 11.5px; color: var(--muted); }
.area-txt b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the cart: the nest (drawn by scene/nest.js on the overlay canvas; the SVG until then and without WebGL), count, total */
.cart { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 8px; border-radius: 999px; border: 0; background: var(--accent); color: var(--c-cream); transition: background-color var(--t-fast), transform .35s var(--ease); }
.cart:hover { background: var(--c-deep); }
.cart.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.05); } 60% { transform: scale(.98); } }
.cart-nest { position: relative; width: 64px; height: 44px; flex: none; }
.nest-icon, .nest-weave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nest-icon path, .nest-weave path { stroke-width: 2.6; }
.nest-icon path { stroke: #d9b77c; }
.nest-icon path:nth-child(2n) { stroke: #b88e56; }
.nest-icon .leaf, .nest-weave .leaf { fill: var(--accent2); stroke: none; }
.nest-big { position: absolute; left: 50%; top: 56%; width: 220px; height: 138px; transform: translate(-50%, -50%); }
.nest-big path { stroke-width: 2.2; }
html.nest-live .nest-icon { opacity: 0; transition: opacity .35s; }
.cart .loader { position: absolute; inset: 0; z-index: 1; background: none; pointer-events: none; }
.nest-weave path { stroke: var(--c-cream); stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, max(0, var(--p, 0) * 6 - var(--k)))); transition: stroke-dashoffset .3s linear; }
.nest-weave .leaf { opacity: calc(min(1, max(0, var(--p, 0) * 2 - 1))); }
.cart-txt { display: grid; text-align: left; line-height: 1.2; }
.cart-k { font-size: 12px; opacity: .9; }
.cart-sum { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-sum b { font-weight: 600; }
.cart-go { display: none; }

/* ---------- the hero: chilled glass (scene/mist.js) + the delivery area ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(330px, 1fr); gap: 28px; padding: 18px var(--gut) 40px; max-width: var(--maxw); margin: 0 auto; }
/* ---------- the hero, option 1: banners (a carousel of category showcases, two promos beside it) ---------- */
.hero-banners { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gut) 30px; --hh: clamp(340px, 34vw, 500px); }
.carousel { position: relative; height: var(--hh); border-radius: 20px; overflow: hidden; background: var(--c-stone); isolation: isolate; touch-action: pan-y; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s var(--ease), visibility 0s; }
.slide-img, .promo-img { position: absolute; inset: 0; display: block; }
.slide-img img, .promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); }
.slide-img img { transform: scale(1.055); transition: transform 7.5s cubic-bezier(.2, .55, .25, 1); }
.slide.is-on .slide-img img { transform: scale(1); }
/* a photograph on its own backdrop: it sits to the right and fades into the backdrop's colour where the words go */
.slide-side .slide-img { left: 36%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
/* a full-bleed photograph made for a banner (the subject on the right, calm stone on the left): a soft wash of its own
   stone (--bg, sampled from the photograph) only where the words sit */
.slide-full::after { content: ""; position: absolute; inset: 0 44% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, color-mix(in srgb, var(--bg) 48%, transparent) 58%, transparent 100%); }
.slide-copy { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 46%; padding: 0 3% 34px 5%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.slide-k { font: 600 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c-deep); }
.slide-t { font: 700 clamp(34px, 3.9vw, 62px)/.98 var(--font-display); letter-spacing: -.03em; color: var(--c-deep); text-wrap: balance; }
.slide-x { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: var(--fg); max-width: 28ch; }
.slide-cta { margin-top: 6px; }
.slide .slide-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.slide.is-on .slide-copy > * { opacity: 1; transform: none; transition-delay: .18s; }
.slide.is-on .slide-copy > :nth-child(2) { transition-delay: .26s; }
.slide.is-on .slide-copy > :nth-child(3) { transition-delay: .34s; }
.slide.is-on .slide-copy > :nth-child(4) { transition-delay: .42s; }
.car-nav { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.carousel.is-settled .slide, .carousel.is-settled .slide-img img, .carousel.is-settled .slide-copy > * { transition: none !important; }
.car-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--c-deep); box-shadow: 0 2px 10px -4px rgba(20, 38, 29, .35); transition: background-color var(--t-fast), transform var(--t-fast); }
.car-btn:hover { background: var(--surface); }
.car-btn:active { transform: scale(.94); }
.car-btn svg { width: 20px; height: 20px; }
.car-play .i-play, .car-play[aria-pressed="true"] .i-pause { display: none; }
.car-play[aria-pressed="true"] .i-play { display: block; }
.dots { display: flex; align-items: center; height: 42px; padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: 0 2px 10px -4px rgba(20, 38, 29, .35); }
.dot { position: relative; width: 24px; height: 24px; border: 0; background: none; padding: 0; }
.dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 4px; background: color-mix(in srgb, var(--c-deep) 32%, transparent); transition: width .35s var(--ease), margin .35s var(--ease), background-color .35s; }
.dot[aria-current="true"]::before { width: 20px; margin-left: -10px; background: var(--c-deep); }
.promos { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: var(--hh); }
.promo { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--bg); text-decoration: none; color: inherit; isolation: isolate; }
.promo-img { left: 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.promo-full .promo-img { left: 0; -webkit-mask-image: none; mask-image: none; }
.promo-full::after { content: ""; position: absolute; inset: 0 46% 0 0; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, color-mix(in srgb, var(--bg) 48%, transparent) 60%, transparent 100%); }
.promo-img img { transition: transform .8s var(--ease); }
.promo:hover .promo-img img { transform: scale(1.04); }
.promo-copy { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; width: 50%; padding: 16px 8px 16px 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.promo-t { font: 700 clamp(17px, 1.45vw, 23px)/1.08 var(--font-display); letter-spacing: -.02em; color: var(--c-deep); text-wrap: balance; }
.promo-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; font-size: 14.5px; color: var(--c-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.promo-cta svg { width: 16px; height: 16px; }
/* ---------- the area dialog (once on a first visit, then from the header) ---------- */
.area-dlg { position: fixed; z-index: 95; left: 50%; top: 50%; width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; background: var(--surface); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(12, 28, 20, .6); transform: translate(-50%, -46%) scale(.98); opacity: 0; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.area-dlg.is-open { opacity: 1; transform: translate(-50%, -50%); }
.area-dlg .deliver { box-shadow: none; background: none; padding: 30px 26px 24px; }
.area-dlg .deliver-f { grid-template-columns: 1fr; }   /* an area's full name (a community, its phase) needs the width */
.area-close { position: absolute; right: 12px; top: 12px; }
.deliver-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.deliver-ic svg { width: 22px; height: 22px; }
.link-btn { border: 0; background: none; padding: 0 2px; font: inherit; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.glass { container-type: size; position: relative; height: clamp(520px, calc(100svh - var(--hd) - 92px), 780px); border-radius: 14px; overflow: hidden; isolation: isolate; touch-action: pan-y;
  border: 7px solid transparent; background: linear-gradient(var(--c-stone), var(--c-stone)) padding-box, linear-gradient(155deg, #f1f2f0 0%, #c5c9c6 34%, #e6e8e6 52%, #b4b9b6 78%, #d9dcda 100%) border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(20, 38, 29, .2), 0 6px 14px -10px rgba(20, 38, 29, .35); }
.plate, .plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate img { object-fit: cover; object-position: 50% 50%; }
.fog { position: absolute; inset: 0; background-color: rgba(251, 246, 238, .58); -webkit-backdrop-filter: blur(7px) saturate(.78); backdrop-filter: blur(7px) saturate(.78); }
/* without WebGL the resting glass keeps the swath a finger cleared under the headline */
.glass.is-static .fog { -webkit-mask-image: radial-gradient(ellipse 78% 22% at 50% 80%, transparent 58%, #000 100%); mask-image: radial-gradient(ellipse 78% 22% at 50% 80%, transparent 58%, #000 100%); }
.glass.is-static .fog { transition: opacity .9s var(--ease); }
.glass.is-clear .fog { opacity: 0; }
.glass.is-static .wipe-hint { display: none; }
.mist-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease); }
html.is-mist .mist-gl { opacity: 1; }
.hero-title { position: absolute; inset: 0; margin: 0; padding: 0 8% 0 7%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 14%;
  font: 700 clamp(56px, 8.4vw, 160px)/.9 var(--font-display); font-size: min(14cqh, 14.5cqw); letter-spacing: -.035em; color: var(--c-deep);
  pointer-events: none; user-select: text; }
.hero-title .ln { display: block; white-space: nowrap; }
.glass-ui { position: absolute; left: 22px; top: 20px; display: flex; align-items: center; gap: 14px; z-index: 2; }
.wipe-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--c-deep); font-weight: 600; box-shadow: var(--shadow); transition: background-color var(--t-fast), transform var(--t-fast); }
.wipe-btn:hover { background: var(--surface); }
.wipe-btn:active { transform: scale(.97); }
.wipe-btn svg { width: 22px; height: 22px; color: var(--accent); }
.wipe-hint { font-size: 13.5px; color: var(--c-deep); font-weight: 600; background: color-mix(in srgb, var(--surface) 86%, transparent); padding: 7px 12px; border-radius: 999px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
.hero-side { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 8px 4px; }
.quick-cats p { margin: 0 0 9px; font-size: 13.5px; color: var(--muted); }
.quick-cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.quick-cats a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color var(--t-fast), background-color var(--t-fast); }
.quick-cats a:hover { border-color: var(--accent); background: var(--c-cream); }
.quick-cats p { font-weight: 600; color: var(--fg); font-size: 15px; }
.quick-cats .qc-all { gap: 6px; border: 1.5px solid var(--accent); color: var(--c-deep); background: transparent; }
.quick-cats .qc-all svg { width: 16px; height: 16px; }
.lede { font-size: 20px; line-height: 1.45; max-width: 30ch; }
.deliver { background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.deliver-t { font: 700 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.deliver-x { color: var(--muted); font-size: 15px; margin-top: -6px; }
.deliver-f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliver-status { font-size: 14px; font-weight: 600; color: var(--accent); }
.deliver-status:empty { display: none; }
.deliver-status.is-err { color: var(--c-tomato); }
.deliver-note { font-size: 13px; color: var(--muted); }
.field { display: grid; gap: 6px; font-size: 14px; }
.field > span { font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field select, .field input, .field textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); padding: 10px 12px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { resize: vertical; min-height: 64px; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field select:disabled { opacity: .55; }
.field .err { color: var(--c-tomato); font-size: 13px; min-height: 0; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--c-tomato); }

/* ---------- sections ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2 { font: 700 clamp(34px, 3.6vw, 52px)/1 var(--font-display); letter-spacing: -.03em; }
.sec-head p { color: var(--muted); font-size: 16px; }
.sec-head p:has(+ .rail-nav) { margin-left: auto; }
.rail-nav { display: flex; gap: 8px; align-self: center; }
.rail-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--c-deep); display: grid; place-items: center; transition: border-color var(--t-fast), opacity var(--t-fast); }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { border-color: var(--accent); }
.rail-btn:disabled { opacity: .4; cursor: default; }
@media (hover: none) { .rail-nav { display: none; } }
.cats, .row, .shop, .how, .visit, .related { max-width: var(--maxw); margin: 0 auto; padding: 44px var(--gut); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; gap: 10px; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); transition: transform .5s var(--ease); }
.tile:hover img { transform: translateY(-4px); }
.tile-t { font-weight: 600; font-size: 16px; line-height: 1.2; }
.tile-n { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg) 25%, transparent) transparent; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 12px; }
.rail-in { display: grid; grid-auto-flow: column; grid-auto-columns: 244px; gap: 18px; }
.rail .card { scroll-snap-align: start; }
.shop-cat { padding-top: 26px; }
.shop-cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.shop-cat-head h3 { font: 700 28px/1.1 var(--font-display); letter-spacing: -.02em; }
.shop-cat-head span { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cats-bar { position: sticky; top: var(--hd); z-index: 30; background: var(--bg); margin: 0 calc(-1 * var(--gut)); padding: 10px var(--gut); box-shadow: 0 1px 0 var(--line); }
.cats-bar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats-bar a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.cats-bar a:hover { border-color: var(--accent); }
.cats-bar a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--c-cream); }

/* the product card */
.card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.card-media { display: block; width: 100%; padding: 0; border: 0; background: var(--c-stone); border-radius: var(--r); overflow: hidden; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-media:hover img { transform: scale(1.045); }
.card-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cat cat" "name name" "price act"; gap: 3px 10px; align-items: center; padding: 12px 2px 0; }
.card-cat { grid-area: cat; font: 600 11px/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card-name { grid-area: name; font: 600 17px/1.25 var(--font-sans); }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-price { grid-area: price; font-weight: 600; font-variant-numeric: tabular-nums; }
.act { grid-area: act; position: relative; height: 42px; }
.add { height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: var(--accent); color: var(--c-cream); font-weight: 600; transition: background-color var(--t-fast), transform var(--t-fast); }
.add:hover { background: var(--c-deep); }
.add:active { transform: scale(.96); }
.add-ic { display: inline-grid; width: 18px; height: 18px; }
.add-ic svg { width: 18px; height: 18px; }
.step { display: none; width: 124px; height: 42px; align-items: center; justify-content: space-between; border-radius: 999px; border: 1.5px solid var(--accent); background: var(--surface); }
.step button { width: 40px; height: 38px; border: 0; background: none; color: var(--accent); display: grid; place-items: center; border-radius: 10px; }
.step button:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.step button svg { width: 18px; height: 18px; }
.step output { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
[data-qty]:not([data-qty="0"]) > .card-body .add, [data-qty]:not([data-qty="0"]) .item-body .add { display: none; }
[data-qty]:not([data-qty="0"]) > .card-body .step { display: flex; }
.step-solo { display: inline-flex; width: 150px; }

.how .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border-radius: 20px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--c-cream); font-weight: 600; }
.steps h3 { font: 700 22px/1.15 var(--font-display); letter-spacing: -.01em; }
.steps p { color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.facts div { border-top: 1.5px solid var(--line); padding-top: 12px; }
.facts dt { font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.ft { background: var(--c-deep); color: var(--c-cream); margin-top: 40px; padding: 56px var(--gut) 40px; }
.ft a { color: var(--c-cream); }
.ft-in { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.ft-brand img { height: 56px; width: auto; border-radius: 10px; }
.ft-brand p { margin-top: 12px; opacity: .85; }
.ft-col h2 { font: 600 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-col a { text-decoration: none; }
.ft-col a:hover { text-decoration: underline; }
.ft-note { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--c-cream) 22%, transparent); display: grid; gap: 8px; font-size: 14px; }
.ft-note h2 { font: 700 20px/1.2 var(--font-display); margin-bottom: 4px; }
.ft-note p { opacity: .9; max-width: 90ch; }
.ft-bottom { max-width: var(--maxw); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--c-cream) 20%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12.5px; }
.ft-disclaimer { opacity: .88; }
.ft-credit { opacity: .7; }

/* ---------- overlays: scrim, the nest drawer, quick view, toast, the nest canvas ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(12, 28, 20, .42); opacity: 0; transition: opacity .35s var(--ease); }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100vw); background: var(--surface); display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; box-shadow: -30px 0 60px -30px rgba(12, 28, 20, .5); transform: translateX(104%); transition: transform .5s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 6px 24px; }
.drawer-top h2 { font: 700 28px/1 var(--font-display); letter-spacing: -.02em; }
.drawer-nest { position: relative; height: 210px; margin: 0 20px; border-radius: 20px; background: radial-gradient(70% 60% at 50% 70%, color-mix(in srgb, var(--c-stone) 90%, var(--fg)) 0%, var(--c-stone) 55%, color-mix(in srgb, var(--c-stone) 70%, var(--surface)) 100%); touch-action: none; cursor: grab; }
.drawer-nest:active { cursor: grabbing; }
.drawer-nest-hint { position: absolute; left: 14px; top: 10px; margin: 0; font-size: 12.5px; color: var(--muted); }
.drawer-empty { grid-row: 3; padding: 18px 24px 6px; color: var(--muted); }
/* fixed rows: the empty note is hidden once there are lines, and a hidden item leaves the grid; without these the foot
   would move into the stretching row and pull its words and the button apart */
.drawer .lines { grid-row: 4; } .drawer-foot { grid-row: 5; align-self: end; }
.lines { list-style: none; margin: 0; padding: 8px 20px; overflow: auto; display: grid; align-content: start; gap: 4px; }
.line { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; grid-template-areas: "img name price" "img step rm"; gap: 4px 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.line img { grid-area: img; width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.line-name { grid-area: name; min-width: 0; }
.line-name b { display: block; font-weight: 600; }
.line-name small { color: var(--muted); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-price { grid-area: price; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.line .step { grid-area: step; display: flex; width: 132px; height: 40px; }
.line .step button { width: 40px; height: 36px; }
.line-rm { grid-area: rm; border: 0; background: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 2px; justify-self: end; }
.line-rm:hover { color: var(--c-tomato); }
.drawer-foot { padding: 14px 24px 22px; display: grid; gap: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.sum-row { display: flex; justify-content: space-between; font-size: 18px; }
.sum-row b { font-variant-numeric: tabular-nums; }
.sum-note { font-size: 13px; color: var(--muted); }
.sum-area { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sum-area svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.qv { position: fixed; z-index: 90; left: 50%; top: 50%; width: min(920px, calc(100vw - 48px)); max-height: calc(100svh - 48px); overflow: auto; transform: translate(-50%, -46%) scale(.98); opacity: 0; background: var(--surface); border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 40px 80px -30px rgba(12, 28, 20, .6); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.qv.is-open { opacity: 1; transform: translate(-50%, -50%); }
.qv-close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.qv-media { background: var(--c-stone); aspect-ratio: 1; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 34px 30px 26px; display: grid; gap: 12px; align-content: start; }
.qv-body h2 { font: 700 40px/1 var(--font-display); letter-spacing: -.03em; }
.qv-cat { font: 600 12px/1.2 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qv-price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.qv-unit { font-size: 13.5px; color: var(--muted); }
.qv-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; }
.qv-links { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.qv-links a { display: inline-flex; align-items: center; gap: 6px; }
.qv-links svg { width: 16px; height: 16px; }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 110; max-width: min(420px, calc(100vw - 48px)); background: var(--c-deep); color: var(--c-cream); padding: 12px 16px; border-radius: 14px; font-size: 14.5px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
canvas.nest-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; display: block; }
/* above the drawer (the nest lives in it), but under the scrim while quick view or the area picker is open: the nest in
   the cart button dims with the page and never shows through a sheet on a phone */
html.qv-open canvas.nest-gl, html.area-open canvas.nest-gl { z-index: 79; }
.no-webgl canvas.nest-gl, .no-webgl .mist-gl { display: none; }
html.drawer-open, html.qv-open { overflow: hidden; }

/* ---------- item page and checkout ---------- */
.item-page, .checkout-page { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gut) 20px; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); }
.item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.item-media { border-radius: 28px; overflow: hidden; background: var(--c-stone); aspect-ratio: 1; }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-body { display: grid; gap: 14px; padding-top: 12px; }
.item-body > .card-cat { grid-area: auto; margin-bottom: -6px; }   /* the card's named area must not make a column here */
.item-body h1 { font: 700 clamp(46px, 5vw, 76px)/.95 var(--font-display); letter-spacing: -.035em; }
.item-price { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.item-facts { margin: 0; display: grid; gap: 10px; }
.item-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; font-size: 14.5px; }
.item-facts dt { font-weight: 600; }
.item-facts dd { margin: 0; color: var(--muted); }
.item-buy { display: grid; gap: 14px; background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.item-incart { font-weight: 600; color: var(--accent); }
.how-mini { padding-left: 0; padding-right: 0; }
.co-head { padding: 10px 0 24px; display: grid; gap: 8px; }
.co-head h1 { font: 700 clamp(44px, 5vw, 72px)/.95 var(--font-display); letter-spacing: -.035em; }
.co-head p { color: var(--muted); font-size: 18px; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.co-summary, .co-form { background: var(--surface); border-radius: 24px; padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.co-summary h2, .co-form h2 { font: 700 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.lines-co { padding: 0; overflow: visible; }
.handoff { margin-top: 6px; padding: 18px; border-radius: 16px; background: var(--bg); display: grid; gap: 10px; }
.handoff h3 { font: 700 22px/1.15 var(--font-display); }
.handoff-k { font-weight: 600; }
.handoff-msg { margin: 0; white-space: pre-wrap; font: 14px/1.5 var(--font-sans); background: var(--surface); border-radius: 12px; padding: 14px; }

/* ---------- reveals ---------- */
[data-reveal="rise"].is-split .w { padding-bottom: .12em; }
.reduced .card-media img, .reduced .tile img { transition: none; }

/* ---------- laptops and short screens ---------- */
@media (max-width: 1380px) { .tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; } .tile-t { font-size: 15px; } }
@media (max-height: 800px) and (min-width: 821px) { .glass { height: clamp(480px, calc(100svh - var(--hd) - 72px), 700px); } .hero { padding-top: 12px; } }
@media (max-width: 1180px) and (min-width: 821px) {
  .hero { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
  .area-chip { max-width: 170px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- phones: re-framed, thumb reach ---------- */
@media (max-width: 820px) {
  :root { --hd: 116px; --gut: 16px; }
  html { scroll-padding-top: 120px; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .preview-bar { font-size: 11.5px; padding: 6px 16px; }
  .hd { top: -60px; height: auto; grid-template-columns: auto 1fr; grid-template-areas: "logo area" "search search"; gap: 10px 12px; padding: 10px 16px 10px; }
  .logo { grid-area: logo; } .logo img { height: 40px; }
  .area-chip { grid-area: area; justify-self: end; height: 42px; max-width: 58vw; padding: 0 12px 0 10px; }
  .search { grid-area: search; max-width: none; }
  .search input { height: 46px; }
  .cart { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; height: 66px; border-radius: 22px; padding: 0 18px 0 10px; justify-content: flex-start; box-shadow: 0 18px 40px -18px rgba(11, 40, 26, .7); }
  .cart-go { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; font-size: 15px; }
  .cart-go svg { width: 18px; height: 18px; }
  .hero { grid-template-columns: 1fr; padding: 8px 12px 24px; gap: 18px; }
  /* phones: the carousel full width (about 4:3), the promos after it. A full-bleed banner shows its whole photograph
     across the top, dissolving into its own stone, and the words sit on that stone; a side banner fills the frame with
     the words at the bottom on a wash of stone */
  .hero-banners { grid-template-columns: 1fr; gap: 12px; padding: 8px 12px 18px; --hh: auto; }
  .carousel { height: auto; aspect-ratio: 4 / 3.3; border-radius: 16px; }
  .slide-side .slide-img { left: 0; -webkit-mask-image: none; mask-image: none; }
  .slide-img img { object-position: var(--pos-phone); }
  .slide-full .slide-img { bottom: auto; aspect-ratio: 16 / 9; -webkit-mask-image: linear-gradient(180deg, #000 64%, transparent 100%); mask-image: linear-gradient(180deg, #000 64%, transparent 100%); }
  .slide-full::after { inset: 56% 0 0 0; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 62%, transparent 100%); }
  .slide-side::after { content: ""; position: absolute; inset: 34% 0 0 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(231, 225, 212, .96) 0%, rgba(231, 225, 212, .93) 58%, rgba(231, 225, 212, 0) 100%); }
  .slide-copy { top: auto; width: auto; right: 0; padding: 0 16px 16px; gap: 6px; justify-content: flex-end; }
  .slide-t { font-size: clamp(26px, 8vw, 34px); }
  .slide-x { display: none; }
  .slide-cta { min-height: 42px; padding: 0 16px; font-size: 14.5px; margin-top: 4px; }
  .car-nav { top: 10px; right: 10px; bottom: auto; gap: 6px; }
  .car-btn { width: 36px; height: 36px; }
  .car-btn svg { width: 18px; height: 18px; }
  .dots { height: 36px; padding: 0 5px; }
  .dot { width: 22px; height: 22px; }
  .promos { grid-template-rows: none; height: auto; gap: 12px; }
  .promo { aspect-ratio: 2.3 / 1; border-radius: 16px; }
  .promo-img { left: 42%; }
  .promo-full .promo-img { left: 16%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
  .promo-copy { width: 52%; padding: 12px 6px 12px 16px; }
  .promo-t { font-size: 18px; }
  .area-dlg { top: auto; bottom: 0; left: 0; width: 100%; max-height: 92svh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .area-dlg .deliver { padding: 26px 18px 22px; }   /* the preset's full name fits its select at 390 */
  .area-dlg.is-open { transform: none; }
  .glass { height: clamp(300px, 42svh, 420px); border-width: 6px; border-radius: 12px; }
  .glass.is-static .fog { -webkit-mask-image: radial-gradient(ellipse 88% 24% at 50% 82%, transparent 58%, #000 100%); mask-image: radial-gradient(ellipse 88% 24% at 50% 82%, transparent 58%, #000 100%); }
  .hero-title { font-size: clamp(44px, 14vw, 72px); font-size: min(14.5cqh, 16cqw); padding: 0 7% 22%; justify-content: center; }
  .hero-side .deliver { order: 1; } .hero-side .quick-cats { order: 2; } .hero-side .kicker { order: 3; } .hero-side .lede { order: 4; }
  .glass-ui { left: 12px; right: 12px; top: 12px; flex-wrap: wrap; gap: 8px; }
  .wipe-hint { font-size: 12.5px; }
    .hero-side { padding: 0 4px; gap: 16px; }
  .lede { font-size: 18px; }
  .deliver { padding: 18px; }
  .deliver-f { grid-template-columns: 1fr; }
  .cats, .row, .shop, .how, .visit, .related { padding: 30px 16px; }
  .sec-head { margin-bottom: 16px; }
  .tiles { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 38vw; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .tiles li { scroll-snap-align: start; }
  .rail-in { grid-auto-columns: 44vw; gap: 12px; }
  .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .cats-bar { top: 56px; margin: 0 -16px; padding: 8px 16px; }
  .card-name { font-size: 15.5px; }
  .card-body { grid-template-columns: 1fr; grid-template-areas: "cat" "name" "price" "act"; }
  .add, .step { width: 100%; height: 44px; } .act { height: 44px; margin-top: 6px; }
  .how .steps { grid-template-columns: 1fr; }
  .ft-in { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; }
  .drawer { top: auto; left: 0; right: 0; width: 100%; height: min(90svh, 760px); border-radius: 26px 26px 0 0; transform: translateY(104%); }
  .drawer-nest { height: 170px; }
  .qv { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0; grid-template-columns: 1fr; transform: translateY(8%); }
  .qv.is-open { transform: none; }
  .qv-media { aspect-ratio: 16 / 11; }
  .qv-body { padding: 20px 18px 24px; }
  .qv-body h2 { font-size: 32px; }
  .toast { left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); max-width: none; }
  html.drawer-open .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }   /* above the sheet, not over its total */
  .item { grid-template-columns: 1fr; gap: 20px; }
  .co { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } .slide-img img { transform: none !important; } }
