@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --green: #14763C; --deep: #0B3D22; --cream: #FFF7E6; --paper: #FFFDF7; --butter: #F6C945; --banana: #FCE9A8;
  --soft: #3F5A49; --edge: #E3D7B8;
  --line: #9A8A5E; /* field and option borders: 3.35:1 on paper, 3.19:1 on cream (WCAG 1.4.11). Cards keep --edge */
  --error: #A32418;
  --cta: #F6C945; --cta-press: #E9B72C; --on-cta: #0B3D22; --glow: #D99A0B; /* 60% cream, 30% green, 10% yellow; yellow is the accent and mostly the action button; no blue (the Director, 2 Dec 2026) */
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--cream); color: var(--deep); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.on-green :focus-visible, .on-deep :focus-visible { outline-color: var(--butter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: var(--cream); padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Audit fixes: sticky bars never hide what has focus, taps feel instant, numbers keep their width while they roll */
html, .view { scroll-padding-top: 88px; scroll-padding-bottom: 120px; }
a, button, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.roll, .price, .count, .tot, .amt, .rows, .fact b, .n { font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .btn:hover { background: rgba(11, 61, 34, .07); }
  .btn.solid:hover { background: var(--green); border-color: var(--green); }
  .on-green .btn:hover, .on-deep .btn:hover { background: rgba(255, 247, 230, .14); }
  .seg button:not([aria-pressed="true"]):hover { background: rgba(11, 61, 34, .08); }
  .chip:hover input:not(:checked) + span, .opt:hover { border-color: var(--deep); }
  .step button:not(:disabled):hover, .x:hover { background: var(--banana); }
  .back:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
  .link:hover { text-decoration-thickness: 3px; }
}
.seg button:active, .step button:active, .x:active, .back:active { transform: scale(.95); }
.chip:active span { transform: scale(.97); }
.err { margin: 8px 0 0; color: var(--error); font-weight: 700; font-size: 16px; }
.field[aria-invalid="true"] { border-color: var(--error); }
.cta[aria-busy="true"] { cursor: progress; }

/* ---------- Buttons: the attention colour is only for steps that move an order forward ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 28px; border: 2.5px solid var(--deep); border-radius: 999px; background: var(--cta); color: var(--on-cta);
  font: 700 19px/1 var(--font); letter-spacing: -.01em; text-decoration: none; touch-action: manipulation;
  transition: background-color .2s, transform .18s var(--ease); }
.cta.block { white-space: normal; text-align: center; line-height: 1.15; padding-block: 10px; } /* a full-width button wraps on a small phone instead of losing its edges */
@media (hover: hover) { .cta:hover { background: var(--cta-press); } }
.cta:active { transform: scale(.97); }
.cta .arrow { width: 22px; height: 22px; flex: none; transition: transform .3s var(--ease); }
@media (hover: hover) { .cta:hover .arrow { transform: translateX(4px); } }
.cta .shine { position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -50%; width: 34%; background: rgba(255, 255, 255, .26); transform: skewX(-20deg); pointer-events: none; }
.on-green .cta, .on-deep .cta { box-shadow: 0 0 0 3px var(--cream); }
.cta.block { width: 100%; }
.cta[aria-disabled="true"] { background: var(--edge); border-color: var(--edge); color: var(--soft); box-shadow: none; cursor: default; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 2px solid currentColor; background: transparent; font: 700 17px/1 var(--font); text-decoration: none; touch-action: manipulation; }
.btn.solid { background: var(--deep); color: var(--cream); border-color: var(--deep); }
.btn:active { transform: scale(.97); }
.link { background: none; border: 0; padding: 0; font: 700 16px/1 var(--font); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; min-height: 44px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--cream); transition: background-color .3s; }
.top.past { background: var(--paper); }
.top .wrap { position: relative; display: flex; align-items: center; gap: 16px; min-height: 68px; } /* the first-visit hint is anchored to this row */
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { width: 132px; height: auto; }
.nav { display: none; gap: 28px; margin-left: 24px; }
.nav a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
@media (hover: hover) { .nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; } }
.where-chip { display: none; margin-left: auto; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px 6px 18px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); text-align: left; line-height: 1.2; }
.where-chip b { display: block; font-size: 15px; } .where-chip span { font-size: 14px; color: var(--soft); }
.where-chip > span { min-width: 0; }
.where-chip b, .where-chip [data-where-sub] { display: block; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* a long place name can't push the header apart */
.where-chip u { background: var(--deep); color: var(--cream); text-decoration: none; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.bagbtn { margin-left: 8px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 18px; border: 0; border-radius: 999px; background: var(--deep); color: var(--cream); font-weight: 700; }
.bagbtn .count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; background: var(--butter); color: var(--deep); }

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 8px 0 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { margin: 8px 0 0; font-size: min(19vw, 148px, 30svh); line-height: .9; letter-spacing: -.045em; font-weight: 800; color: var(--deep); }
.hero h1 .line { display: block; }
.lede { margin: 18px 0 0; font-size: 20px; line-height: 1.4; max-width: 30ch; color: var(--deep); }
.where-card { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 20px; border: 2px solid var(--edge); background: var(--paper); }
.where-card b { display: block; font-size: 17px; } .where-card span { color: var(--soft); font-size: 15px; }
.hero .cta { margin-top: 16px; width: 100%; min-height: 64px; font-size: 20px; }
/* The hero's intro: hero-pre.js sets html.hero-intro for at most ~1.2 s; motion.js removes it as it starts. Opacity only, so the layout never moves. */
/* html.hero-motion (hero-pre.js, removed when motion stops or fails) keeps room under the headline for the drawn spoon from the first paint, so nothing moves when it starts. */
html.hero-motion .hero .lede { margin-top: 30px; }
html.hero-intro .hero h1 .line, html.hero-intro .hero .lede, html.hero-intro .hero .where-card, html.hero-intro .hero [data-order-now], html.hero-intro .hero [data-sticker] { opacity: 0; }
/* Only motion.js creates these (the word "more", its echoes, "spoon." and the spoon drawn under it). */
.hero h1 .line .w-more, .hero h1 .line .w-spoon { position: relative; display: inline-block; font-size: inherit; color: inherit; } /* beats the bag's ".line span" */
.hero h1 .line .echo::before { content: attr(data-t); } /* the echo's word is drawn, not text: find-in-page and copy see "One more spoon." once */
.hero h1 .line .echo { font-size: inherit; position: absolute; left: 0; top: 0; color: transparent; -webkit-text-stroke: 2px var(--deep); pointer-events: none; user-select: none; -webkit-user-select: none; opacity: 0; }
.hero .swoosh { position: absolute; left: 0; bottom: -.16em; width: 112%; height: .34em; overflow: visible; pointer-events: none; }
.hero .swoosh path, .hero .swoosh ellipse { fill: none; stroke: var(--green); stroke-width: 9; stroke-linecap: round; }
.hero-pic { position: relative; margin: 6px calc(-1 * var(--gutter)) 0; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0%; } /* the top three quarters: the name printed low on the tub stays out of frame */
.sticker { position: absolute; display: grid; place-items: center; text-align: center; width: 116px; height: 116px; border-radius: 50%; padding: 18px; font-weight: 800; line-height: 1; }
.sticker small { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.sticker b { display: block; font-size: 21px; line-height: 1.02; letter-spacing: -.02em; }
.sticker.s1 { right: 16px; top: 16px; background: var(--green); color: var(--cream); transform: rotate(-8deg); }
.sticker.s2 { right: 118px; top: 74px; background: var(--deep); color: var(--butter); transform: rotate(7deg); width: 104px; height: 104px; }

/* ---------- Menu ---------- */
.menu { padding: 56px 0 120px; }
.menu-head h2, .sec-h { margin: 0; font-size: clamp(44px, 12vw, 96px); line-height: .95; letter-spacing: -.04em; font-weight: 800; }
.menu-head p { margin: 10px 0 0; font-size: 18px; }
.menu-layout { display: grid; gap: 24px; margin-top: 26px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 22px; overflow: hidden;
  background: var(--paper); text-align: left; touch-action: manipulation; transition: transform .2s var(--ease); }
.card:active { transform: scale(.98); }
.card .ph { position: relative; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0%; transition: transform .5s var(--ease); } /* the top: the name printed low on the tub is out of frame, not cut in half */
@media (hover: hover) { .card:hover img { transform: scale(1.04); } }
.card .t { padding: 12px 14px 16px; }
.card .nm { display: block; margin: 0; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; hyphens: auto; overflow-wrap: break-word; } /* a long word breaks, it never runs off the card */
.card .d { margin: 6px 0 0; font-size: 16px; line-height: 1.35; color: var(--soft); }
.card .add { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--deep); font-size: 26px; font-weight: 700; line-height: 1; }
.card .inbag { position: absolute; left: 10px; top: 10px; padding: 7px 12px; border-radius: 999px; background: var(--butter); color: var(--deep); font-weight: 800; font-size: 15px; line-height: 1; }
.card .inbag[hidden] { display: none; }
.cards li.limited { grid-column: 1 / -1; }
.card.limited { flex-direction: row; align-items: stretch; background: var(--green); color: var(--cream); }
/* No photo yet: a flat butter tile with the flavour's name, the size of a photo, with the "+" on it like a photo (P1) */
.card .lid { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; background: var(--butter); color: var(--deep); container-type: inline-size; }
.card.limited .ph { flex: none; width: 42%; min-height: 160px; } /* the limited card keeps its presence without a photo */
.card.limited .lid, .card.limited .ph img { height: 100%; aspect-ratio: auto; }
.lid-name { max-width: 100%; font-size: clamp(18px, 13cqi, 34px); font-weight: 800; line-height: 1; letter-spacing: -.03em; text-align: center; text-wrap: balance; overflow-wrap: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; } /* sized to the tile, so a long name fits whole */
.lid-mini { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--butter); color: var(--deep); font-size: 28px; font-weight: 800; }
.card.limited .d { color: var(--cream); }

.slip { display: none; }

/* ---------- Bag bar (phone) ---------- */
.bagbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--deep); color: var(--cream); box-shadow: 0 14px 34px rgba(11, 61, 34, .32);
  transform: translateY(160%); transition: transform .5s var(--ease); }
.bagbar.show { transform: none; }
.bagbar .sum { line-height: 1.15; } .bagbar .sum span { display: block; font-size: 15px; opacity: .9; } .bagbar .sum b { font-size: 24px; letter-spacing: -.02em; }
.bagbar .cta { margin-left: auto; min-height: 52px; padding: 0 20px; font-size: 18px; }
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; } .roll > span { grid-area: 1 / 1; }
/* What the shop changed in the bag (bag.js): above the bag bar on phones, bottom right on desktop. Stays until OK. */
.bag-note { position: fixed; z-index: 41; left: 12px; right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 20px; background: var(--paper); border: 2px solid var(--deep); color: var(--deep); box-shadow: 0 14px 34px rgba(11, 61, 34, .26); }
body:has(.bagbar:not(.show)) .bag-note { bottom: calc(12px + env(safe-area-inset-bottom)); }
.bag-note p { flex: 1; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.bag-note .btn { flex: none; min-height: 44px; padding: 0 18px; border-color: var(--deep); }

/* ---------- Story (who we are) ---------- */
.story { background: var(--green); color: var(--cream); padding: 72px 0 80px; }
.story .sec-h { color: var(--cream); text-wrap: balance; font-size: min(9.4vw, 96px); }
.story-grid { display: grid; gap: 28px; margin-top: 32px; }
.duo { position: relative; overflow: hidden; border-radius: 24px; background: var(--butter); }
.duo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: url(#duotone); }
.duo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--green) 1.1px, transparent 1.6px); background-size: 7px 7px; mix-blend-mode: multiply; opacity: .55; }
.duo-cap { margin: 12px 0 0; font-size: 16px; opacity: .92; }
.story .big { margin: 0; font-size: 24px; line-height: 1.35; font-weight: 700; }
.story p { font-size: 18px; max-width: 46ch; }
.story a { color: var(--cream); font-weight: 700; text-decoration-color: var(--butter); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.facts { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { border-radius: 20px; background: var(--deep); padding: 16px; }
.fact b { display: block; font-size: 32px; line-height: 1; letter-spacing: -.03em; color: var(--butter); }
.fact span { display: block; margin-top: 6px; font-size: 16px; }

/* ---------- Find us ---------- */
.find { padding: 72px 0 80px; }
.find .intro { margin: 12px 0 0; font-size: 18px; max-width: 40ch; }
.places { display: grid; gap: 14px; margin-top: 28px; }
.place { border-radius: 24px; padding: 22px; display: grid; gap: 12px; align-content: start; } /* start: a tall card beside a short one must not stretch the short one's rows (its button became a circle) */
.place h3 { margin: 0; font-size: 34px; line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.place .kind { margin-top: -4px; font-weight: 800; font-size: 19px; }
.place p { margin: 0; font-size: 17px; }
.place .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.place.store { background: var(--green); color: var(--cream); }
.place.popup { background: var(--paper); border: 2px solid var(--deep); } /* yellow is an accent (the Director, 2 Dec 2026): a pop-up card is paper with a dark edge, the store is green */
.place.door { background: var(--paper); border: 2px solid var(--edge); } /* paper, not yellow: it holds the yellow "Order delivery" button */
/* "On the menu here" on a place card (flavours per location, the Director, 3 Dec 2026): the flavours that branch carries, the special ones tagged. Greens and creams only: yellow stays for buttons. */
.here { display: grid; gap: 8px; }
.place .here-h { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.here-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.here-list li { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 12px; border: 2px solid currentColor; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2; }
.tag { padding: 1px 9px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.tag-only { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.on-green .tag-only { background: var(--cream); border-color: var(--cream); color: var(--deep); }
.place .here-none { margin: 0; font-size: 16px; font-weight: 700; }
/* The "Only here" map (the Director, 3 Dec 2026): a real map above the place cards, one round photo pin per place (its special flavour), a card with "Order here". Classes start with omap-. */
.omap { margin-top: 28px; }
.omap[hidden] { display: none; }
.omap-frame { position: relative; height: clamp(520px, 72svh, 620px); border: 2px solid var(--deep); border-radius: 24px; overflow: hidden; background: var(--cream); isolation: isolate; }
.omap .omap-canvas { position: absolute; inset: 0; } /* two classes: the library's own .maplibregl-map sets position: relative and would win, leaving the map no height */
.omap-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-weight: 800; font-size: 18px; color: var(--soft); pointer-events: none; }
.omap-wait[hidden] { display: none; }
.omap-credit { margin: 10px 4px 0; font-size: 14px; color: var(--soft); }
.omap-credit a { color: inherit; text-underline-offset: 2px; }
.omap .maplibregl-ctrl-group button { width: 44px; height: 44px; } /* a thumb-sized zoom button (the library's own is 29px) */
.omap .maplibregl-canvas:focus-visible { outline: 3px solid var(--deep); outline-offset: -3px; }
.omap-pin, .omap-pin-btn { width: 60px; height: 60px; }
.omap-pin-btn { position: relative; display: block; padding: 0; border: 4px solid var(--paper); border-radius: 50%; background: var(--paper); box-shadow: 2px 4px 0 var(--deep); cursor: pointer; touch-action: manipulation; transition: transform .2s var(--ease), border-color .2s; }
.omap-pin-btn img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.omap-pin-btn:hover { transform: scale(1.08); }
.omap-pin-btn[aria-pressed="true"] { transform: scale(1.14); border-color: var(--butter); }
.omap-pin-btn:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.omap-n { position: absolute; top: -9px; right: -9px; min-width: 26px; height: 26px; padding: 0 6px; border: 2px solid var(--paper); border-radius: 13px; background: var(--deep); color: var(--cream); font-size: 14px; font-weight: 800; line-height: 22px; text-align: center; }
@keyframes omap-pop { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .omap-pin-btn { animation: omap-pop .45s var(--ease); } }
.omap-card { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 10px; padding: 14px; border: 2px solid var(--deep); border-radius: 20px; background: var(--paper); box-shadow: 3px 5px 0 var(--deep); }
.omap-card[hidden] { display: none; }
@media (min-width: 760px) { .omap-card { right: auto; width: min(460px, calc(100% - 24px)); } }
.omap-top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.omap-pic { width: 56px; height: 56px; overflow: hidden; border: 3px solid var(--edge); border-radius: 50%; }
.omap-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.omap-h { margin: 0; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.omap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.omap-where { margin: 8px 0 0; font-size: 15px; color: var(--soft); }
.omap-x { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px 0 0; padding: 0; border: 0; background: none; color: var(--deep); cursor: pointer; }
.omap-x svg { width: 22px; height: 22px; }
.omap-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.omap-chip { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--deep); font: 700 15px var(--font); cursor: pointer; }
.omap-chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.omap-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.omap-act .cta { min-height: 48px; padding: 0 16px; gap: 8px; font-size: 17px; }
.omap-act .btn { min-height: 48px; padding: 0 14px; font-size: 16px; }
.omap-closed { margin: 0; font-weight: 700; }
.tag-limited { border-color: var(--green); color: var(--green); } /* an outline, not a yellow fill: yellow stays for buttons (the Director, 2 Dec 2026) */
/* A flavour the chosen place does not carry: its photo greys out, its words stay at full strength, and a tag says where it is not. */
.card.not-here .ph img, .card.not-here .ph .lid { filter: grayscale(1); }
.card.not-here .add { display: none; } /* nothing to add here: no "+" */
.nothere { display: block; margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--deep); }
.nothere[hidden] { display: none; }

/* ---------- Footer ---------- */
footer { background: var(--deep); color: var(--cream); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); }
.footmark { width: 100%; height: auto; }
.foot-line { font-size: 20px; max-width: 30ch; margin: 22px 0 0; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.foot-cols h2 { margin: 0 0 6px; font-size: 17px; line-height: 1.5; color: var(--butter); }
.foot-cols a, .foot-cols button { display: flex; align-items: center; min-height: 44px; text-decoration: none; padding: 0; border: 0; background: none; text-align: left; }
@media (hover: hover) { .foot-cols a:hover, .foot-cols button:hover { text-decoration: underline; } }
.fine { margin-top: 32px; font-size: 15px; opacity: .85; }

/* ---------- Sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.sheet.open { display: block; }
.scrim { position: absolute; inset: 0; background: rgba(11, 61, 34, .55); }
.panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 94dvh; overflow: auto; overscroll-behavior: contain; background: var(--paper);
  border-radius: 28px 28px 0 0; box-shadow: 0 -16px 44px rgba(11, 61, 34, .28); }
.item-photo { position: relative; overflow: hidden; border-radius: 28px 28px 0 0; background: var(--banana); }
.item-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0%; } /* the top: the name printed low on the tub is out of frame, not cut in half */
.item-photo .nophoto { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; background: var(--butter); color: var(--deep); container-type: inline-size; }
/* Close: first in the panel and sticky, so it stays in reach however far the sheet scrolls (landscape phones). The negative margin lays it over the photo. */
.x { position: sticky; z-index: 4; top: 12px; width: 48px; height: 48px; margin: 12px 12px -60px auto; border: 0; border-radius: 50%; background: var(--paper); color: var(--deep); display: grid; place-items: center; }
.x svg { width: 22px; height: 22px; }
.item-body { padding: 20px var(--gutter) 8px; }
.item-body h2 { margin: 0; font-size: 46px; line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.item-body .desc { margin: 10px 0 0; font-size: 18px; color: var(--soft); }
.sizes { display: grid; gap: 12px; margin-top: 22px; }
.size { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; min-height: 92px; padding: 14px 14px 14px 20px;
  border-radius: 22px; background: var(--cream); border: 2px solid var(--edge); transition: background-color .25s, border-color .25s, color .25s; }
.size .pick { position: absolute; inset: 0; z-index: 1; border: 0; border-radius: 22px; background: transparent; }
.size .info b { display: block; font-size: 22px; line-height: 1.1; font-weight: 800; }
.size .info span { font-size: 16px; color: var(--soft); }
.size .price { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.size .ctrl { display: none; }
.size .plusdot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--cream); font-size: 22px; font-weight: 700; }
.size.on { background: var(--green); border-color: var(--green); color: var(--cream); }
.size.on .info span { color: var(--cream); }
.size.on .pick, .size.on .plusdot { display: none; }
.size.unavailable .plusdot { display: none; }
/* A picked size keeps the height it had: the stepper takes the place of the price and the plus, and the line under the name carries the price ("3 tubs · ₱447").
   Picking one size never pushes the other down the sheet (before, a second row made it 56 px taller and Grande slid under the Add button). */
.size.on { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info step" "sub step"; row-gap: 0; }
.size.on .price { display: none; }
.size.on .info { grid-area: info; align-self: end; line-height: 1.2; }
.size.on .ctrl { display: contents; }
.size.on .sub { grid-area: sub; align-self: start; line-height: 1.2; }
.size.on .step { grid-area: step; }
.size .step button { width: 48px; height: 48px; font-size: 26px; } .size .step .n { min-width: 42px; font-size: 28px; }
.step { display: flex; align-items: center; gap: 6px; background: var(--deep); border-radius: 999px; padding: 6px; }
.step button { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--cream); color: var(--deep); font-size: 28px; font-weight: 700; line-height: 1; display: grid; place-items: center; touch-action: manipulation; }
.step button:disabled { opacity: .4; cursor: default; }
.step .n { min-width: 46px; text-align: center; font-size: 30px; font-weight: 800; color: var(--cream); }
.ctrl .sub { font-size: 17px; font-weight: 700; }
.size.unavailable { background: var(--cream); border-color: transparent; } .size.unavailable .pick { cursor: default; }
.size.unavailable .info b, .size.unavailable .price { color: var(--soft); } .size.unavailable .price { font-size: 30px; text-decoration: line-through; text-decoration-thickness: 3px; }
.item-foot { position: sticky; bottom: 0; z-index: 3; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--paper); }
.item-foot .cta { margin-top: 0; } /* the button's "block" class is also the page's section class (margin-top: 30px): that was 30 px of air above Add */
.where-panel { padding: 22px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.where-panel h2 { margin: 0 52px 16px 0; font-size: 31px; text-wrap: balance; line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--cream); }
.seg button { min-height: 50px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; font-size: 17px; }
.seg button[aria-pressed="true"] { background: var(--deep); color: var(--cream); }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.opt input { width: 22px; height: 22px; accent-color: var(--green); }
.opt b { display: block; font-size: 18px; color: var(--deep); } .opt span span { color: var(--soft); font-size: 15px; }
.opt:has(input:checked) { border-color: var(--green); background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-height: 48px; padding: 6px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); font-weight: 700; text-align: center; line-height: 1.15; }
.chip span small { display: block; font-size: 13px; font-weight: 700; }
.chip input:checked + span { background: var(--deep); color: var(--cream); border-color: var(--deep); }
.chip input:focus-visible + span { outline: 3px solid var(--deep); outline-offset: 2px; }
.label { display: block; margin: 18px 0 8px; font-weight: 800; font-size: 17px; }
.field { width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); font-size: 17px; }
.field:focus-visible { outline: 3px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
textarea.field { min-height: 92px; resize: vertical; }

/* ---------- Full-screen views: checkout, order page, style ---------- */
.view { position: fixed; inset: 0; z-index: 70; display: none; overflow: auto; background: var(--paper); }
.view.open { display: block; }
.view h1:focus { outline: none; }
.view-top { position: sticky; top: 0; z-index: 2; background: var(--paper); }
.view-top .in { width: min(100% - 2 * var(--gutter), 620px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; border: 0; background: none; font-weight: 800; font-size: 17px; padding: 0; }
.back svg { width: 22px; height: 22px; }
.view .logo-s { width: 112px; }
.col { width: min(100% - 2 * var(--gutter), 620px); margin-inline: auto; padding-bottom: 150px; }
#checkout .col { padding-bottom: calc(260px + env(safe-area-inset-bottom)); } /* clears the pay bar, so the last note can scroll above it */
.col h1 { margin: 8px 0 0; font-size: 52px; line-height: .95; letter-spacing: -.04em; font-weight: 800; }
.block { margin-top: 30px; }
.block > h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.line b { display: block; font-size: 18px; } .line span { color: var(--soft); font-size: 16px; }
.line .step { padding: 4px; } .line .step button { width: 44px; height: 44px; font-size: 24px; } .line .step .n { min-width: 34px; font-size: 22px; }
.placecard { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.placecard b { display: block; font-size: 18px; } .placecard span { color: var(--soft); }
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; color: var(--soft); font-size: 16px; max-width: 54ch; }
.feepanel { margin-top: 14px; border-radius: 20px; background: var(--cream); border: 2px solid var(--edge); padding: 16px; }
.feepanel b { display: block; font-size: 20px; } .feepanel p { margin: 6px 0 0; }
.from { margin-top: 12px; padding: 4px 0 4px 14px; border-left: 4px solid var(--green); color: var(--deep); font-weight: 700; } /* a plain line, not a filled bar that reads as a button */
.paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--cream); padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }
.paybar .in { width: min(100%, 620px); margin-inline: auto; display: grid; gap: 10px; }
.paybar .tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.paybar .tot b { font-size: 30px; letter-spacing: -.03em; }
.ohead { background: var(--green); color: var(--cream); padding: 6px 0 28px; }
.ohead .in { width: min(100% - 2 * var(--gutter), 620px); margin-inline: auto; }
.ohead .no { font-weight: 800; font-size: 17px; margin-top: 12px; }
.ohead h1 { margin: 6px 0 0; font-size: 58px; line-height: .92; letter-spacing: -.045em; font-weight: 800; }
.ohead p { margin: 12px 0 0; font-size: 19px; }
.feecard { margin-top: -6px; border-radius: 26px; background: var(--paper); border: 2px solid var(--deep); padding: 20px; } /* paper, not yellow: it holds the yellow "Accept and pay" button */
.feecard h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
.feecard .amt { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -.05em; margin: 6px 0; }
.feecard .rows { display: grid; gap: 6px; margin: 14px 0 18px; }
.feecard .rows div { display: flex; justify-content: space-between; font-size: 17px; }
.feecard .rows .t { font-weight: 800; font-size: 21px; }
.feecard .btn { width: 100%; margin-top: 10px; border-color: var(--deep); }
.stages { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.stages li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 700; color: var(--soft); }
.stages i { width: 26px; height: 26px; border-radius: 50%; background: var(--banana); flex: none; }
.stages .done { color: var(--deep); } .stages .done i { background: var(--green); }
.stages .now { color: var(--deep); } .stages .now i { background: var(--butter); box-shadow: inset 0 0 0 3px var(--deep); }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .cards { gap: 18px; }
  .card .nm { font-size: 30px; } .card .t { padding: 16px 20px 20px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places > .place:last-child:nth-child(odd) { grid-column: 1 / -1; } /* the last card fills its row: never one card alone beside a gap */
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 720px) and (max-width: 1023px) { /* tablets: one photo no longer fills the whole screen */
  .hero-pic img, .duo img { max-height: 60svh; object-fit: cover; }
}
@media (min-width: 1024px) {
  .places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .places > .place:last-child { grid-column: auto; }
  .places > .place:last-child:nth-child(3n+1) { grid-column: 1 / -1; } /* the last card takes what is left of its row */
  .places > .place:last-child:nth-child(3n+2) { grid-column: span 2; }
  .nav { display: flex; }
  .where-chip { display: flex; width: 340px; } /* one width before and after the place loads: the header doesn't jump (P9) */
  .where-chip > span { flex: 1; }
  .bagbtn { margin-left: 8px; }
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero .copy { padding-bottom: 56px; }
  .hero .cta { width: auto; min-width: 280px; }
  .hero-pic { margin: 0; align-self: end; }
  .hero-pic img { border-radius: 32px 32px 0 0; }
  .sticker { width: 150px; height: 150px; } .sticker b { font-size: 27px; } .sticker small { font-size: 17px; }
  .sticker.s1 { left: -60px; right: auto; top: 90px; } .sticker.s2 { left: -30px; right: auto; top: 250px; width: 136px; height: 136px; }
  .menu-layout { grid-template-columns: 1fr 340px; align-items: start; gap: 32px; }
  .slip { display: block; position: sticky; top: 96px; border-radius: 26px; background: var(--paper); padding: 22px; }
  .slip h3 { margin: 0; font-size: 28px; letter-spacing: -.02em; font-weight: 800; }
  .slip .where { margin: 4px 0 14px; color: var(--soft); font-size: 16px; }
  .slip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .slip li { display: flex; justify-content: space-between; gap: 10px; font-size: 17px; }
  .slip .empty { color: var(--soft); }
  .slip .tot { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 14px; font-weight: 800; }
  .slip .tot b { font-size: 34px; letter-spacing: -.03em; }
  .slip .pay { margin: 12px 0 0; font-size: 15px; color: var(--soft); }
  .bagbar { display: none; }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .sheet .panel { left: 50%; right: auto; top: 50%; bottom: auto; width: min(960px, 92vw); max-height: 88vh; transform: translate(-50%, -50%);
    border-radius: 28px; display: grid; grid-template-columns: 1.1fr 1fr; }
  .sheet .panel.narrow { display: block; width: 560px; }
  .sheet .panel > .x { position: absolute; top: 12px; right: 12px; margin: 0; } /* out of the two-column grid; the desktop sheet fits on screen */
  .bag-note { left: auto; right: 24px; bottom: 24px; width: 380px; }
  .item-photo { border-radius: 28px 0 0 28px; align-self: stretch; min-height: 520px; }
  .item-photo .nophoto { height: 100%; aspect-ratio: auto; }
  .item-photo img { position: absolute; inset: 0 0 auto; height: 133.4%; aspect-ratio: auto; object-fit: cover; } /* the bottom quarter, where some tubs carry a printed name, stays hidden */
  .item-side { display: flex; flex-direction: column; }
  .item-body { padding: 32px 32px 8px; }
  .item-foot { padding: 16px 32px 28px; margin-top: auto; }
  footer { padding-bottom: 64px; }
}
/* The flavour sheet as a bottom sheet (phones and tablets): the photo gives way first, so both sizes and the Add button stay on screen at any height.
   Safari's toolbars take about 180 px of an 844 px iPhone, which leaves a 624 px sheet; a photo sized by width alone (219 px) pushed Grande under the Add button.
   The photo starts 4:3 (16:9 on a small phone), shrinks to what the rest leaves, and stops at a floor that still holds the close button. */
@media (max-width: 1023px) {
  #item .panel { display: flex; flex-direction: column; }
  #item .x, #item .item-side { flex: none; }
  #item .item-photo { flex: 0 1 75vw; min-height: 72px; }
  #item .item-photo img, #item .item-photo .nophoto { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
}
@media (max-width: 429px) { /* small phones: a wider, shorter picture to start from */
  #item .item-photo { flex-basis: 56.25vw; }
}
@media (max-width: 359px) { /* the narrowest screens (an iPhone SE 1st generation, or any iPhone on Display Zoom, 320 wide): a smaller stepper and a one-line Add button, so nothing wraps */
  .size { padding: 12px 10px 12px 14px; gap: 8px; }
  .size .step { gap: 4px; padding: 4px; }
  .size .step button { width: 44px; height: 44px; font-size: 24px; }
  .size .step .n { min-width: 28px; font-size: 24px; }
  .size.on .sub { font-size: 16px; }
  .item-foot .cta { font-size: 17px; padding-inline: 14px; }
}
@media (max-width: 1023px) and (max-height: 600px) { /* an iPhone SE, or a phone with a tall in-app toolbar: the photo is already at its floor, so the gaps give a little too */
  #item .item-body { padding-top: 12px; }
  #item .sizes { margin-top: 14px; }
}
@media (max-width: 1023px) and (max-height: 500px) { /* phones held sideways: the photo gives the sizes room */
  #item .item-photo { flex: none; height: 42svh; }
}
@media (max-height: 560px) { /* sideways, or the keyboard is up: the pay bar sits at the end of the form instead of covering it */
  .paybar { position: static; }
  #checkout .col { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Home shell additions ---------- */
[hidden] { display: none !important; }
.defs { position: absolute; }
.plain { margin: 0; }
.preview { margin: 0; padding: 8px var(--gutter); background: var(--deep); color: var(--cream); font-size: 15px; text-align: center; }
.cards .cards-note { grid-column: 1 / -1; padding: 20px 0; font-size: 18px; color: var(--soft); }
.cards .cards-note .link { margin-left: 4px; }
.place .meta { color: inherit; opacity: .9; font-size: 16px; }
.legal { margin: 8px 0 0; font-size: 15px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; text-decoration: underline; text-underline-offset: 3px; }
.noscript-note, .menu noscript .note { margin: 16px 0 0; }

/* ---------- Sheets, added in Task 10 ---------- */
.nophoto .lid-name { font-size: clamp(26px, 10cqi, 52px); }
.where-panel > .btn.solid { width: 100%; margin-top: 20px; min-height: 52px; }
.size .pick:focus-visible, .step button:focus-visible, .x:focus-visible, .seg button:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.size.on .step button:focus-visible { outline-color: var(--butter); }

/* ---------- Checkout (checkout.js) ---------- */
#where { z-index: 80; } /* "Change" opens it over the checkout view */
.co-status { margin: 0; font-size: 16px; font-weight: 700; color: var(--deep); }
.co-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; } /* stays in the page for screen readers, takes no room */
.co-status.bad { color: var(--error); }
.feepanel.off { margin: 0 0 12px; background: var(--cream); border: 2px solid var(--error); }
.feepanel.off .btn { margin-top: 12px; }
.line .step button:disabled { opacity: .4; }
.view .field, .view textarea.field, .view select.field { font-size: 17px; } /* 16px or more, so iOS does not zoom */
.col .empty-bag { margin: 0; font-size: 18px; }
.tick { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 14px; padding-top: 10px; font-size: 16px; color: var(--deep); cursor: pointer; }
.tick input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.agree { margin: 30px 0 0; font-size: 15px; color: var(--soft); max-width: 54ch; }
.agree a { color: var(--deep); font-weight: 700; text-underline-offset: 3px; }

/* ---------- The order page (/t): no motion here ---------- */
.order-page .otop { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.order-page .ohead .back { color: var(--cream); text-decoration: none; }
.order-page .logo-s { width: 112px; }
.order-page .ohead h1 { font-size: clamp(40px, 12.5vw, 58px); overflow-wrap: break-word; }
.order-page .col { padding-top: 24px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; } /* minmax(0): a field never widens the page past a small phone */
.order-page .col > * { margin-block: 0; }
.order-page .stages { margin: 4px 0 0; }
.order-page footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.order-page footer .fine { margin: 0; }
.ocard { border-radius: 26px; background: var(--cream); border: 2px solid var(--edge); padding: 22px; }
.ocard h2 { margin: 0 0 8px; font-size: 26px; line-height: 1.05; letter-spacing: -.025em; font-weight: 800; }
.ocard h2:focus { outline: none; }
.ocard p { margin: 8px 0 0; }
.ocard .amt { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.05em; margin: 6px 0; font-variant-numeric: tabular-nums; }
.ocard .by { font-weight: 700; }
.oacts { display: grid; gap: 10px; margin-top: 16px; }
.oacts .btn { width: 100%; }
.paycard .seg { margin: 16px 0 14px; }
.lab { display: block; margin: 0 0 6px; font-weight: 700; }
.hint { margin: 8px 0 0; color: var(--soft); font-size: 16px; }
.pinbox { display: grid; gap: 10px; }
.pinline { margin: 8px 0 0; font-weight: 700; color: var(--deep); }
.pinline a { color: inherit; text-underline-offset: 3px; }
.paycard .cta { margin-top: 14px; }
.paycard .field { text-transform: uppercase; letter-spacing: .04em; }
.feecard .after { margin: 14px 0 0; font-size: 16px; }
.btn.bad { color: var(--error); }
.notice { margin: 0; padding: 14px 18px; border-radius: 18px; background: var(--paper); border: 2px solid var(--edge); font-weight: 700; }
.notice.err { border-color: var(--error); }
.notice.ok { color: var(--deep); }
.olines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.olines li { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; }
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.updates time { display: block; color: var(--soft); font-size: 15px; }
.contact { display: flex; flex-wrap: wrap; gap: 0 20px; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }
.seen { margin: 0; color: var(--soft); font-size: 15px; }
.placecard span { display: block; }
@media (min-width: 720px) { .order-page .ohead h1 { font-size: 72px; } .order-page .col, .order-page .ohead .in { width: min(100% - 2 * var(--gutter), 620px); } }
.your-order { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-weight: 800; color: var(--deep); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.your-order[hidden] { display: none; }
.payto { display: grid; gap: 2px; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 2px solid var(--edge); }
.payto b { font-size: 20px; } .payto .num { font-size: 26px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; user-select: all; }
.payto .btn { margin-top: 8px; width: 100%; }

/* ---------- Terms and Privacy (plain reading pages, no motion) ---------- */
.legal-page .ohead h1 { font-size: clamp(40px, 12.5vw, 58px); }
.legal-page .logo-s { width: 112px; }
.legal-page footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.legal-page footer .fine { margin: 0; }
.prose { padding-top: 24px; padding-bottom: 48px; }
.prose > * { margin-block: 0; }
.prose .sample { border-radius: 18px; background: var(--banana); padding: 14px 18px; font-weight: 700; }
.prose h2 { font-size: 26px; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
.legal-page .prose { gap: 12px; } /* the page is a grid (.order-page .col): 12px between paragraphs */
.legal-page .prose > h2 { margin-top: 28px; } /* 40px above a heading, 12px below: it belongs to what follows (P11) */
.prose h2 + ul > li:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 8px 0 0; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .confirm { background: var(--banana); border-radius: 6px; padding: 0 4px; }

/* ---------- How to order: a "?" at the top and a guided tour (the Director, 2 Dec 2026: Next, Next, like BokBok's; it replaces the phone-shaped practice order) ---------- */
/* The tour dims the real page, lights up one real thing and explains it in a note. The note is green with cream words and a yellow Next (60/30/10, no blue); the dim is a green-black. */
.how-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 2px solid var(--deep); border-radius: 50%; background: var(--paper); color: var(--deep); }
.how-btn svg { width: 24px; height: 24px; }
.how-btn:active { transform: scale(.94); }
@media (hover: hover) { .how-btn:hover { background: var(--deep); color: var(--cream); } }
@media (min-width: 1024px) { .how-btn { margin-left: 8px; } }
.howtip { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; display: flex; align-items: center; border-radius: 999px; background: var(--deep); color: var(--cream); font-weight: 700; font-size: 14px; box-shadow: 0 12px 24px -12px rgb(11 61 34 / .6); animation: tour-tip .4s var(--ease) .8s both; }
.howtip[hidden] { display: none; }
.howtip::before { content: ""; position: absolute; top: -5px; right: 140px; width: 12px; height: 12px; background: var(--deep); transform: rotate(45deg); border-radius: 2px; }
.howtip button { position: relative; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; }
.howtip [data-how] { padding: 0 6px 0 16px; }
.howtip [data-howtip-x] { width: 44px; font-size: 22px; line-height: 1; opacity: .8; }
.tour { position: fixed; top: 0; left: 0; width: 100vw; height: 100%; z-index: 90; } /* 100vw: the note must not shift when a scrollbar comes or goes */
.tour-block { position: absolute; inset: 0; }
.tour.dim .tour-block { background: rgb(11 61 34 / .72); }
.tour-ring { position: absolute; border-radius: 16px; box-shadow: 0 0 0 3px var(--cream), 0 0 0 9999px rgb(11 61 34 / .72); pointer-events: none; }
.tour-ring::after { content: ""; position: absolute; inset: -3px; border: 3px solid var(--cream); border-radius: 19px; opacity: 0; animation: tour-pulse 1.4s ease-out 3; } /* pulses three times, then rests (WCAG 2.2.2) */
.tour-ring.glide { transition: left .4s var(--ease), top .4s var(--ease), width .4s var(--ease), height .4s var(--ease); }
@keyframes tour-pulse { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.tour-cap { position: absolute; left: 50%; top: calc(12px + env(safe-area-inset-top)); translate: -50% 0; width: min(560px, calc(100% - 24px)); padding: 18px 18px 18px; border-radius: 22px; background: var(--deep); color: var(--cream); box-shadow: 0 18px 36px -12px rgb(11 61 34 / .7); animation: tour-in .3s ease both; max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); overflow-y: auto; }
.tour-cap.bottom { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
.tour-cap.final { top: 50%; bottom: auto; translate: -50% -50%; text-align: center; }
.tour-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 247 230 / .8); }
.tour-skip { min-height: 44px; margin: -8px -6px -8px 0; padding: 0 6px; border: 0; background: none; color: var(--cream); font: 700 14px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; }
.tour-prog { position: absolute; left: 18px; right: 18px; top: 8px; height: 3px; border-radius: 2px; background: rgb(255 247 230 / .2); }
.tour-prog::after { content: ""; display: block; width: var(--p); height: 100%; border-radius: 2px; background: var(--cream); transition: width .4s var(--ease); }
.tour-cap h3 { margin: 4px 0 4px; font: 800 28px/1 var(--font); letter-spacing: -.02em; }
.tour-cap p { margin: 0 0 14px; color: rgb(255 247 230 / .92); }
.tour-row { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.tour-back { min-height: 44px; padding: 0 16px; border: 2px solid rgb(255 247 230 / .6); border-radius: 999px; background: none; color: var(--cream); font: 700 16px/1 var(--font); }
.tour-next { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--cta); color: var(--on-cta); font: 800 17px/1 var(--font); }
.tour-next:active, .tour-back:active { transform: scale(.97); }
@media (hover: hover) { .tour-next:hover { background: var(--cta-press); } }
.tour-cap.final .tour-next { display: flex; margin: 0 auto; }
.tour-tick { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: var(--cta); color: var(--on-cta); font-size: 28px; line-height: 1; animation: tour-pop .4s var(--ease) both; }
.tour-cap :focus-visible, .howtip :focus-visible { outline-color: var(--butter); } /* the global ring is the note’s own green: invisible on it */
@media (max-height: 520px) { .tour-cap { padding: 12px 14px; } .tour-cap h3 { font-size: 20px; } .tour-cap p { margin-bottom: 8px; font-size: 15px; } .tour-tick { display: none; } } /* a phone on its side */
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes tour-pop { from { opacity: 0; transform: scale(.5); } }
@keyframes tour-tip { from { opacity: 0; transform: translateY(-4px); } }
@media (forced-colors: active) { .tour-ring { outline: 3px solid Highlight; } .tour-cap { border: 2px solid CanvasText; } }
@media (prefers-reduced-motion: reduce) { .tour-ring, .tour-ring::after, .tour-ring.glide, .tour-cap, .tour-tick, .howtip, .tour-prog::after { animation: none !important; transition: none !important; } }

/* ---------- "What is banana pudding?" (slice S3, 2 Dec 2026: the panel pins and the steps play as the visitor scrolls, no button) ---------- */
/* Shown on the live shop since the Director confirmed the eight steps on 2 Dec 2026 (pudding-gate.js CONFIRMED). The scene’s own fills are the items’ colours, not interface. Without the page script, or with
   reduced motion, this is an ordinary block: the finished picture and the whole list. The script adds .pd-scroll, and only then is the section tall and the panel sticky. Only transform and opacity move, and
   every movement runs a few times and stops: nothing here loops for ever. */
.pudding { background: var(--paper); padding: 64px 0 72px; }
.pd-track { position: relative; }
.pd-pin { position: sticky; top: 68px; }
.pd-scroll { padding: 0; }
.pd-scroll .pd-track { height: calc(100vh - 68px + 400vh); height: calc(100svh - 68px + 400svh); }
.pd-scroll .pd-pin { display: flex; align-items: center; height: calc(100vh - 68px); height: calc(100svh - 68px); }
.pd-scroll .pd-grid { gap: 10px; padding-block: 8px; }
.pd-scroll .pd-head .intro { display: none; }
.pd-scroll .pd-stage { width: min(100%, 46vh, 440px); width: min(100%, 46svh, 440px); }
.pd-grid { display: grid; gap: 28px; }
.pd-head .intro { margin: 12px 0 0; font-size: 18px; max-width: 40ch; }
.pd-play { display: grid; gap: 18px; justify-items: center; }
.pd-stage { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0; }
.pd-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pd-el { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(26px) scale(.92); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.pd-el.on { opacity: 1; transform: none; }
.pd-el.past { transform: translateY(-30px) scale(.94); }
.pd-part { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(-46px) scale(.7); transition: opacity .4s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.pd-el.on .pd-part { opacity: 1; transform: none; }
.pd-lay { opacity: 0; transform: translateY(-70px); transition: opacity .35s ease var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.pd-el.on .pd-lay { opacity: 1; transform: none; }
.pd-steam { fill: none; stroke: var(--deep); stroke-width: 4; stroke-linecap: round; opacity: 0; }
.pd-el.on .pd-steam { animation: pd-steam 2.4s ease-in-out 1; }
.pd-whisk { transform-box: fill-box; transform-origin: 50% 12%; }
.pd-el.on .pd-whisk { animation: pd-whisk 1.1s ease-in-out 4 alternate; }
@keyframes pd-steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: .55; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes pd-whisk { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.pd-scene { transition: opacity .35s; }
.pd-reveal { position: absolute; inset: 7%; width: 86%; height: 86%; border-radius: 50%; object-fit: cover; object-position: 50% 8%; border: 5px solid var(--cream); opacity: 0; transform: scale(.82) rotate(-6deg); transition: opacity .6s, transform .8s var(--ease); pointer-events: none; }
.pd-stage[data-s="8"] .pd-reveal { opacity: 1; transform: none; }
.pd-stage[data-s="8"] .pd-scene { opacity: 0; }
.pd-hint { margin: 0; font-size: 15px; font-weight: 700; color: var(--soft); text-align: center; }
.pd-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: pd; }
.pd-steps li { counter-increment: pd; display: flex; gap: 12px; align-items: baseline; font-size: 17px; font-weight: 600; color: var(--soft); }
.pd-steps li::before { content: counter(pd); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--edge); color: var(--deep); font-weight: 800; font-size: 14px; transform: translateY(-1px); }
.pd-steps li.done { color: var(--deep); }
.pd-steps li.done::before { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.pd-steps li[aria-current="step"] { color: var(--deep); font-weight: 800; font-size: 19px; }
.pd-steps li[aria-current="step"]::before { background: var(--cta); border-color: var(--deep); color: var(--deep); }
.pd-scroll .pd-steps li:not([aria-current="step"]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 900px) { .pd-scroll:where(:not(.pd-film)) .pd-steps li:not([aria-current="step"]) { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; } }
@media (min-width: 900px) { .pd-scroll:where(:not(.pd-film)) .pd-head .intro { display: block; } .pd-scroll:where(:not(.pd-film)) .pd-stage { width: min(100%, 68vh, 520px); width: min(100%, 68svh, 520px); } }
/* :where() adds no specificity, so the drawing's rules win and lose exactly where they did before the film existed */
@media (min-width: 900px) { :where(.pudding:not(.pd-film)) .pd-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head play" "list play"; gap: 28px 64px; align-items: start; } .pd-head { grid-area: head; } .pd-play { grid-area: play; } .pd-steps { grid-area: list; } }
/* The photoreal film (2 Dec 2026): when pudding-film.js finds a ready manifest the section gets .pd-film and the stage holds a canvas of the rendered frames instead of the drawing. A wide pinned frame
   (a tall one on a phone), the current step as a caption on the cream strip below it (never over the food), and the closing lock-up in the same place at the end. Only opacity and transform move. */
.pd-film .pd-track { height: calc(100vh - 68px + 500vh); height: calc(100svh - 68px + 500svh); }
.pd-film .pd-grid { grid-template-columns: 1fr; grid-template-areas: "head" "play" "list"; justify-items: center; text-align: center; gap: 6px; }
.pd-film .pd-head .intro { display: none; }
.pd-film .pd-head .sec-h { font-size: clamp(28px, 5vw, 56px); }
.pd-film .pd-stage { width: min(100%, 1100px, calc((100vh - 68px - 230px) * 16 / 9)); width: min(100%, 1100px, calc((100svh - 68px - 230px) * 16 / 9)); aspect-ratio: 16 / 9; background: var(--paper); }
.pd-film .pd-stage[data-shape="portrait"] { width: min(100%, 420px, calc((100vh - 68px - 230px) * 9 / 16)); width: min(100%, 420px, calc((100svh - 68px - 230px) * 9 / 16)); aspect-ratio: 9 / 16; }
.pd-canvas { display: block; width: 100%; height: 100%; }
.pd-film .pd-svg, .pd-film .pd-reveal { display: none; }
.pd-film .pd-stage:not([data-s="0"]) + .pd-hint { display: none; }
.pd-film .pd-steps, .pd-film .pd-lockup { grid-area: list; }
.pd-film .pd-steps { justify-items: center; align-content: center; min-height: 56px; transition: opacity .4s var(--ease); }
.pd-lockup { display: none; }
.pd-film .pd-lockup { display: grid; gap: 2px; justify-items: center; align-content: center; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.pd-film.pd-lock .pd-lockup { opacity: 1; transform: none; }
.pd-film.pd-lock .pd-steps { opacity: 0; }
.pd-lockup b { font-size: clamp(24px, 6vw, 36px); font-weight: 800; letter-spacing: .08em; line-height: 1; color: var(--deep); }
.pd-lockup span { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--green); }
.pd-lockup em { font-style: normal; font-weight: 600; color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .pd-el, .pd-part, .pd-lay, .pd-reveal, .pd-scene, .pd-el.on .pd-steam, .pd-el.on .pd-whisk { transition: none !important; animation: none !important; } .pd-part, .pd-lay { opacity: 1; transform: none; } }

/* ---------- Floating bits and the glow (direction B, "Sticker pop": the Director, 2 Dec 2026) ---------- */
/* The one main order button on the home page: once the hero's intro has brought it in, two yellow rings ripple out three times and the wrapper gives three
   small wiggles, then it rests (WCAG 2.2.2: nothing on the button loops for ever). The rings live on the wrapper and motion.js leans the wrapper (not the
   button) toward the pointer, so the rings follow the button. The wiggle uses the separate rotate and scale properties, so it never overrides that lean. */
.glow { position: relative; display: block; isolation: isolate; margin-top: 16px; border-radius: 999px; }
.hero .glow .cta { margin-top: 0; }
@media (min-width: 1024px) { .glow { display: inline-block; } }
html:not(.hero-intro) .glow::before, html:not(.hero-intro) .glow::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 3px solid var(--glow); border-radius: inherit; opacity: 0; pointer-events: none; animation: ring 2.8s ease-out 2s 3; } /* 2 s: after the intro has brought the button in */
html:not(.hero-intro) .glow::after { animation-delay: 3.4s; }
html:not(.hero-intro) .glow { animation: wob 5s ease-in-out 2s 3; }
@keyframes ring { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.6); } }
@keyframes wob { 0%, 80%, 100% { rotate: 0deg; scale: 1; } 85% { rotate: -2.2deg; scale: 1.02; } 90% { rotate: 2deg; scale: 1.02; } 95% { rotate: -1deg; scale: 1; } }
/* While the pause link is on screen (html.decor-live, set by decor.js) the glow repeats: one slow 15 s cycle whose rings and wiggle happen in the first
   quarter, then it rests, so a visitor who stays on the hero still sees it alive. Pause and reduced motion stop it (below). Without the link: the 3 runs above. */
html.decor-live:not(.hero-intro) .glow::before, html.decor-live:not(.hero-intro) .glow::after { animation: ring-loop 15s ease-out 2s infinite; }
html.decor-live:not(.hero-intro) .glow::after { animation-delay: 3.4s; }
html.decor-live:not(.hero-intro) .glow { animation: wob-loop 15s ease-in-out 2s infinite; }
@keyframes ring-loop { 0% { opacity: .75; transform: scale(1); } 18% { opacity: 0; transform: scale(1.12, 1.6); } 100% { opacity: 0; transform: scale(1.12, 1.6); } }
@keyframes wob-loop { 0%, 6%, 18%, 100% { rotate: 0deg; scale: 1; } 9% { rotate: -2.2deg; scale: 1.02; } 12% { rotate: 2deg; scale: 1.02; } 15% { rotate: -1deg; scale: 1; } }
/* Small illustrated bits in the top and bottom strips of the menu, story, find-us and footer sections (bits.js builds them, only where motion loads). */
.has-bits { position: relative; isolation: isolate; }
.has-bits > .wrap { position: relative; z-index: 1; }
.bits { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bit { position: absolute; width: var(--s); height: var(--s); opacity: var(--o, .55); animation: bob var(--t) ease-in-out var(--d) infinite backwards; } /* top or bottom is set by bits.js, in px from the section edge; backwards: a delayed bit waits in its first frame */
.bit svg { display: block; width: 100%; height: 100%; }
.has-bits:not(.idle) .bit { will-change: transform; }
.has-bits.idle .bit { animation-play-state: paused; }
@keyframes bob { 0%, 100% { transform: translateY(-7px) rotate(var(--r0)); } 50% { transform: translateY(7px) rotate(var(--r1)); } }
/* The footer link "Pause the decorations" (decor.js): the bits freeze where they are, the glow stops and stays as a still halo. */
html.decor-paused .bit { animation-play-state: paused !important; }
html.decor-paused .glow, html.decor-paused .glow::before, html.decor-paused .glow::after { animation: none !important; }
html.decor-paused:not(.hero-intro) .glow::before { opacity: .65; transform: scale(1.04, 1.25); }
.decor { margin: 8px 0 0; font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  html:not(.hero-intro) .glow, html:not(.hero-intro) .glow::before, html:not(.hero-intro) .glow::after, .bit { animation: none !important; }
  html:not(.hero-intro) .glow::before { opacity: .65; transform: scale(1.04, 1.25); } /* the glow stays, as a still halo */
}
