/* Oliveira Deli Market · client demo r1. Palette and type in DESIGN.md. */
:root {
  --cream: #F7F0E5;
  --paper: #FFFCF6;
  --green: #1E2A78;
  --green-deep: #151D55;
  --navy: #2E3192;
  --ink: #171B33;
  --terra: #C8202B;
  --muted: #4D5270;
  --gold: #F2D27A;
  --line: rgba(23, 27, 51, .14);
  --shadow: 0 1px 2px rgba(23, 27, 51, .06), 0 12px 32px -12px rgba(23, 27, 51, .28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); color: var(--green); }
h2 em, h1 em { font-style: italic; color: var(--terra); font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--paper); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
section { position: relative; }

/* ---------- preview bar + nav ---------- */
.preview-bar { margin: 0; background: var(--navy); color: #EDE6D8; font-size: .8rem; text-align: center; padding: 7px var(--gut); letter-spacing: .02em; }
.preview-bar strong { letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-right: 2px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 240, 229, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(23, 27, 51, .5); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); min-height: 44px; }
.oval-mini { display: grid; place-items: center; width: 82px; height: 40px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3.5px #E9DFC9; }
.oval-mini span { font: 600 .74rem/1 var(--serif); color: #F4EEDF; letter-spacing: .1em; text-transform: uppercase; }
.nav-brand-text { font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav-brand-text em { font-style: normal; color: var(--terra); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav-links a:not(.nav-call)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-links a[aria-current="true"] { color: var(--green); }
.nav-call { background: var(--green); color: var(--paper) !important; border-radius: 999px; padding: 0 18px !important; margin-left: 8px; }
.nav-call:hover { background: var(--green-deep); }
.pick-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--terra); color: #fff; font-size: .74rem; font-weight: 700; }
.pick-badge.bump { animation: bump .45s var(--ease); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .js .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(23, 27, 51, .5); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .js .nav.is-open .nav-links { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav-links a { min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-call { justify-content: center; margin: 14px 0 0; border-bottom: 0 !important; }
  .no-js .nav-inner { height: auto; flex-wrap: wrap; padding-block: 8px; }
  .no-js .nav-toggle { display: none; }
  .no-js .nav-links { flex-wrap: wrap; margin-left: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; will-change: transform; }
.btn-primary { background: var(--green); color: var(--paper); box-shadow: 0 10px 22px -12px rgba(30, 42, 120, .8); }
.btn-primary:hover { background: var(--green-deep); }
.btn-primary:disabled { background: #959AB5; box-shadow: none; cursor: not-allowed; }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255, 252, 246, .7); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--green); }
.btn-link { padding: 0 6px; color: var(--green); text-decoration: underline; text-underline-offset: .25em; }
.btn-text { background: none; color: var(--muted); text-decoration: underline; padding: 0 10px; }
.btn-text:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 88px) var(--gut) clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; isolation: isolate; }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 40%), rgba(255, 246, 220, .85), transparent 70%); opacity: .9; transition: opacity .6s; }
.oval { display: inline-grid; justify-items: center; align-content: center; gap: 5px; width: 196px; height: 112px; border-radius: 50%; background: var(--navy); color: #F4EEDF; box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 6px #E9DFC9, 0 14px 28px -18px rgba(46, 49, 146, .8); margin-bottom: 26px; }
.oval-top { font: 600 1.42rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; padding-left: .14em; }
.oval-rule { width: 92px; height: 1px; background: rgba(233, 223, 201, .6); }
.oval-bot { font: 500 .66rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; color: #E9DFC9; }
.hero-h { font-size: clamp(2.55rem, 5.6vw, 5.1rem); line-height: 1.01; color: var(--green); letter-spacing: -.025em; margin-bottom: 22px; }
.hero-h .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h .line > span { display: inline-block; }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 34em; color: #2B3050; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 26px; }
.status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); position: relative; flex: none; }
.status.is-open .status-dot { background: #1F7A4D; }
.status.is-open .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1F7A4D; animation: ping 2.4s var(--ease) infinite; }
.status.is-closed .status-dot { background: var(--terra); }
.status-text strong { font-weight: 700; letter-spacing: .06em; }
.status.is-open .status-text strong { color: #1B6B44; }
.status.is-closed .status-text strong { color: var(--terra); }
.status-note { font-size: .78rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }

.hero-art { position: relative; padding: 0 0 56px 40px; }
.hero-backing { position: absolute; top: 8%; right: -18px; bottom: 18px; left: 22%; background-color: var(--green); border-radius: 6px;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .045) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .045) 75%), linear-gradient(45deg, rgba(255, 255, 255, .045) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .045) 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px; }
.hero-photo { position: relative; margin: 0; background: var(--paper); padding: 12px 12px 10px; border-radius: 4px; box-shadow: var(--shadow), 0 40px 60px -30px rgba(23, 27, 51, .45); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 50%; border-radius: 2px; }
.hero-photo figcaption, .hero-store figcaption { font-size: .78rem; color: var(--muted); padding-top: 8px; letter-spacing: .02em; }
.hero-store { position: absolute; left: 0; bottom: 0; width: clamp(150px, 36%, 250px); margin: 0; background: var(--paper); padding: 8px 8px 4px; border-radius: 3px; box-shadow: var(--shadow); transform: rotate(-3.5deg); transition: transform .5s var(--ease); }
.hero-store:hover { transform: rotate(-1deg) translateY(-4px); }
.hero-store img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%; }
.hero-store figcaption { font: italic 600 .9rem/1.2 var(--serif); color: var(--green); text-align: center; padding: 6px 0 4px; }
.hero-stamp { position: absolute; top: -34px; right: 6%; width: 116px; height: 116px; color: var(--terra); transform: rotate(-12deg); }
.hero-stamp svg { width: 100%; height: 100%; overflow: visible; }
.hero-stamp text { font: 700 9.6px/1 var(--sans); letter-spacing: 2.2px; fill: currentColor; }
.stamp-core { fill: var(--cream); stroke: currentColor; stroke-width: 1.5; }
.stamp-diamond { fill: #E2B93B; }

/* ---------- counter board ---------- */
.counter { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.board { position: relative; background: var(--green-deep); color: #F3EDDF; border-radius: 10px; padding: clamp(28px, 4vw, 56px); box-shadow: 0 30px 60px -32px rgba(21, 29, 85, .9);
  background-image: radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .07), transparent 55%), radial-gradient(ellipse at 90% 90%, rgba(255, 255, 255, .05), transparent 50%); }
.board::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(243, 237, 223, .22); border-radius: 6px; pointer-events: none; }
.board-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.board-kicker { order: 2; margin: 0; font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(242, 210, 122, .55); padding: 7px 10px; border-radius: 3px; transform: rotate(2deg); }
.board-title { font: italic 500 clamp(2.2rem, 4.6vw, 3.6rem)/1 var(--serif); color: #FBF6EA; }
.board-list { list-style: none; margin: 0 0 18px; padding: 0; }
.board-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(243, 237, 223, .2); transition: transform .35s var(--ease); }
.board-line:hover { transform: translateX(6px); }
.board-line:hover .board-name { color: var(--gold); }
.board-name { font: 500 clamp(1.25rem, 2.1vw, 1.7rem)/1.15 var(--serif); transition: color .3s; }
.board-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(243, 237, 223, .35); transform: translateY(6px); }
.board-price { font: 600 1.15rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.board-add { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(243, 237, 223, .6); background: transparent; color: #F3EDDF; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.board-add:hover { background: var(--gold); color: var(--green-deep); border-color: var(--gold); transform: rotate(90deg); }
.board-add:focus-visible, .board a:focus-visible { outline-color: var(--gold); }
.board-foot { margin: 0; font-size: .9rem; color: #D7D0C0; }
.board-link { color: var(--gold); font-weight: 600; white-space: nowrap; }
.counter-photo { margin: 0 0 18px; width: min(100%, 250px); background: var(--paper); padding: 8px 8px 4px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.counter-photo img { width: 100%; max-width: 250px; aspect-ratio: 1; object-fit: cover; }
.counter-photo figcaption { font-size: .78rem; color: var(--muted); padding: 7px 2px 4px; }
.counter-note { font: italic 400 1.2rem/1.45 var(--serif); color: var(--green); max-width: 22em; }

/* ---------- menu ---------- */
.menu { background: var(--paper); padding: clamp(72px, 9vw, 128px) var(--gut); border-block: 1px solid var(--line); }
.menu > * { max-width: var(--max); margin-inline: auto; }
.sec-head { margin-bottom: 32px; }
.sec-head h2 { max-width: 18ch; }
.price-note { display: inline-block; margin: 18px 0 0; padding: 8px 12px; background: var(--cream); border-left: 3px solid var(--terra); font-size: .92rem; }
.menu-tools { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 32px; align-items: end; margin-bottom: 28px; position: sticky; top: var(--nav-h); z-index: 5; background: var(--paper); padding: 12px 0; }
.no-js .menu-tools { position: static; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; background: var(--paper); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); white-space: nowrap; }
.cat-tab:hover { border-color: var(--green); transform: translateY(-1px); }
.cat-tab[aria-current="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.cat-count { font-size: .74rem; font-weight: 700; opacity: .7; font-variant-numeric: tabular-nums; }
.menu.is-searching .cat-tab[aria-current="true"] { background: var(--paper); color: var(--green); border-color: var(--green); }
.search label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.search input { width: 100%; min-height: 48px; padding: 0 16px; border: 1.5px solid #BCC0D2; border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink); }
.search input:focus { outline: 3px solid var(--terra); outline-offset: 1px; border-color: var(--green); }
.cat-panel { margin-bottom: 56px; }
.js .cat-panel { display: none; margin-bottom: 0; }
.js .cat-panel.is-active, .js .menu.is-searching .cat-panel.has-match { display: block; }
.js .menu.is-searching .cat-panel.has-match { margin-bottom: 40px; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--green); padding-bottom: 16px; margin-bottom: 22px; }
.cat-head h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--green); margin-bottom: 6px; }
.cat-head p { margin: 0; color: var(--muted); max-width: 40em; }
.cat-photo { margin: 0; flex: none; width: 340px; }
.cat-photo.is-small { width: 150px; }
.cat-photo .photo-open { overflow: hidden; border-radius: 4px; }
.cat-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.cat-photo.is-small img { aspect-ratio: 1; }
.cat-photo:hover img { transform: scale(1.04); }
.cat-photo figcaption { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.ticket { position: relative; display: flex; flex-direction: column; padding: 18px 20px 16px; background: var(--cream); border-radius: 6px; border-top: 2px dashed rgba(200, 32, 43, .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58%; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket-no { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--terra); margin-bottom: 10px; }
.ticket-name { font: 600 1.22rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
.ticket-gloss { margin: 0; font-size: .9rem; color: var(--muted); }
.ticket-foot { margin: auto 0 0; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-price { font: 700 1.1rem/1 var(--sans); color: var(--green); font-variant-numeric: tabular-nums; }
.add-btn { min-height: 44px; min-width: 76px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--green); background: transparent; color: var(--green); font: 600 .92rem/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, transform .2s var(--ease); }
.add-btn:hover { background: var(--green); color: var(--paper); }
.add-btn:active { transform: scale(.94); }
.add-btn.is-added { background: var(--green); color: var(--paper); }
.ticket.is-added { animation: ticket-pop .5s var(--ease); }
.ticket-order { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font: 600 .84rem/1.2 var(--sans); color: var(--terra); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ticket-order:hover { color: var(--green); }
.slip-name a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.menu-empty { padding: 32px 0; font-size: 1.05rem; }
.menu-source { margin-top: 32px; font-size: .85rem; color: var(--muted); }
.js .cat-panel.is-entering .ticket { animation: ticket-in .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.js .cat-panel.is-entering .cat-head { animation: fade-up .45s var(--ease) both; }
@media (hover: hover) and (pointer: fine) {
  .ticket:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); background: #FBF4E8; }
}

/* ---------- market ---------- */
.market { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.market-photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.market-photo .photo-open { position: relative; }
.market-photo .photo-open::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--green); border-radius: 4px; z-index: -1; }
.market-photo img { border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.market-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 26px; }
.market-copy h2 { margin-bottom: 20px; }
.lede { font: 400 1.28rem/1.55 var(--serif); color: #242A48; }
.offer-list { list-style: none; padding: 0; margin: 28px 0 36px; border-top: 1px solid var(--line); }
.offer-list li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.offer-list span { font: 700 .76rem/1 var(--sans); letter-spacing: .12em; color: var(--terra); }
.community { background: var(--paper); border-radius: 8px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; border-left: 4px solid var(--navy); }
.community-label, .story-label { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.community p:not(.community-label) { margin-bottom: 8px; }
.community-src { font-size: .84rem; color: var(--muted); margin: 0 !important; }
.story-slot { border: 1.5px dashed #9CA0B8; border-radius: 8px; padding: 18px 22px; color: var(--muted); font-size: .95rem; }
.story-slot p:last-child { margin: 0; }
.story-label { color: var(--muted); }

/* ---------- pickup ---------- */
.pickup { background: var(--green); color: #EEF0F6; padding: clamp(72px, 9vw, 128px) var(--gut); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;
  background-image: radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, .08), transparent 50%); }
.pickup > * { max-width: 600px; }
.pickup-intro { justify-self: end; width: 100%; }
.pickup .eyebrow { color: var(--gold); }
.pickup h2 { color: #FBF6EA; margin-bottom: 26px; }
.steps { padding: 0; margin: 0 0 26px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 10px 0; font-size: 1.08rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1.5px solid rgba(242, 210, 122, .7); border-radius: 50%; color: var(--gold); font: 600 1rem/1 var(--serif); }
.disclaimer { font-size: .92rem; color: #D7DAE6; border-left: 2px solid var(--gold); padding-left: 12px; margin-bottom: 28px; }
.pickup a:focus-visible, .pickup button:focus-visible, .pickup select:focus-visible { outline-color: var(--gold); }
.slip { position: relative; background: var(--paper); color: var(--ink); padding: 28px 28px 34px; border-radius: 6px 6px 0 0; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(9px at 50% 100%, transparent 98%, #000) 50% 100% / 22px 100% repeat-x; mask: radial-gradient(9px at 50% 100%, transparent 98%, #000) 50% 100% / 22px 100% repeat-x; }
.slip-head { text-align: center; border-bottom: 1.5px dashed var(--line); padding-bottom: 16px; margin-bottom: 8px; }
.slip-brand { font: 700 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.slip-title { font: 600 1.6rem/1.1 var(--serif); color: var(--green); margin: 0; }
.slip-count { display: block; font: 500 .85rem/1.6 var(--sans); color: var(--muted); }
.slip-items { list-style: none; margin: 0; padding: 0; }
.slip-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); animation: slip-in .4s var(--ease) both; }
.slip-item.is-leaving { animation: slip-out .3s var(--ease) both; }
.slip-name { font-weight: 600; line-height: 1.3; }
.slip-unit { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; color: var(--green); cursor: pointer; border-radius: 50%; }
.qty button:hover { background: var(--cream); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.slip-line { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.slip-remove { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0 2px; min-height: 32px; color: var(--terra); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.slip-empty { padding: 18px 0; color: var(--muted); margin: 0; }
.slip-row { margin: 18px 0 12px; }
.slip-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.slip-row select { width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid #BCC0D2; border-radius: 8px; background: var(--paper); font: inherit; color: var(--ink); }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 14px; margin: 18px 0 6px; font-size: 1.05rem; }
.slip-total strong { font: 700 1.5rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--green); }
.slip-total strong.tick { animation: bump .4s var(--ease); }
.slip-fine { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.slip-actions .btn-primary { flex: 1 1 220px; }
.slip-ready { margin-top: 22px; padding-top: 22px; border-top: 1.5px dashed var(--line); text-align: center; }
.stamp { display: inline-block; margin: 0 0 12px; padding: 10px 22px; border: 3px solid var(--terra); border-radius: 6px; color: var(--terra); font: 800 1.5rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transform: rotate(-6deg); animation: stamp .55s cubic-bezier(.2, 1.4, .4, 1) both; box-shadow: inset 0 0 0 2px rgba(200, 32, 43, .15); }
.ready-msg { font-size: .95rem; margin-bottom: 14px; }
.summary-out { width: 100%; margin-top: 14px; padding: 12px; border: 1.5px solid #BCC0D2; border-radius: 8px; font: .9rem/1.5 ui-monospace, Menlo, monospace; color: var(--ink); background: var(--cream); resize: vertical; }
.slip-nojs { padding: 12px 0; }

/* ---------- neighborhood gallery ---------- */
.hood { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gut); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.g-item { margin: 0; }
.g-item .photo-open { overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.g-item img { width: 100%; transition: transform .9s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.035); }
.g-item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: 10px; font-size: .85rem; }
.g-item .credit { color: var(--muted); font-size: .78rem; }
.g-storefrontDay { grid-column: 1 / 8; grid-row: 1 / 3; }
.g-storefrontDay img { aspect-ratio: 3 / 2; object-fit: cover; }
.g-foodHero { grid-column: 8 / 13; }
.g-foodHero img { aspect-ratio: 16 / 10; object-fit: cover; }
.g-item.is-small { width: 100%; max-width: 220px; }
.g-buffet { grid-column: 8 / 10; grid-row: 2; align-self: end; }
.g-pastel { grid-column: 10 / 12; grid-row: 2; align-self: end; transform: translateY(18px); }
.g-item.is-small img { aspect-ratio: 1; object-fit: cover; }
.glossary { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 20px 48px; border-top: 2px solid var(--green); padding-top: 28px; }
.glossary h3 { font-size: 1.6rem; color: var(--green); }
.glossary dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.glossary dt { font: 600 1.15rem/1.2 var(--serif); color: var(--terra); }
.glossary dd { margin: 4px 0 0; color: #333852; }
.hood-links { grid-column: 2; margin: 8px 0 0; font-size: .95rem; }

/* ---------- visit ---------- */
.visit { background: var(--cream); max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit-card { background: var(--paper); border-radius: 10px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border-top: 6px solid var(--green); }
.visit-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 12px; }
.visit-phone { font: 600 1.4rem/1.2 var(--serif); margin-bottom: 22px; }
.visit-phone a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 600 1.2rem/1.2 var(--serif); color: var(--green); margin-bottom: 10px; }
.hours caption span { font: 400 .82rem/1 var(--sans); color: var(--muted); }
.hours th, .hours td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--green); color: var(--paper); }
.hours tr.is-today th { font-weight: 700; }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); vertical-align: middle; }
.hours-note { font-size: .85rem; color: var(--muted); margin: 14px 0 22px; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.socials a:hover { border-color: var(--green); }
.visit-store { position: sticky; top: calc(var(--nav-h) + 24px); }
.sf-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 999px; margin-bottom: 14px; border: 1px solid var(--line); }
.sf-switch button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 600 .88rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.sf-switch button[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.sf-stage { display: grid; }
.sf { grid-area: 1 / 1; margin: 0; transition: opacity .6s var(--ease); }
.sf img { border-radius: 6px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 50%; }
.sf figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #E5E0D4; padding: 56px var(--gut) 28px; }
.footer-inner { max-width: var(--max); margin: 0 auto 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px 48px; align-items: center; }
.oval-sm { width: 150px; height: 86px; margin: 0; box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 5px #E9DFC9, 0 0 0 1px rgba(233, 223, 201, .3); }
.oval-sm .oval-top { font-size: 1.05rem; }
.oval-sm .oval-rule { width: 70px; }
.oval-sm .oval-bot { font-size: .55rem; }
.footer address { font-style: normal; line-height: 1.7; }
.footer a { color: #F4EEDF; }
.footer a:focus-visible { outline-color: var(--gold); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: flex-end; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer-fine { max-width: var(--max); margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(229, 224, 212, .2); font-size: .78rem; color: #C9C3B5; }

/* ---------- floating pickup button ---------- */
.pick-fab { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 10px 0 20px; border: 0; border-radius: 999px; background: var(--terra); color: #fff; font: 600 .98rem/1 var(--sans); box-shadow: 0 16px 30px -12px rgba(130, 20, 28, .7); cursor: pointer; transform: translateY(0); transition: transform .4s var(--ease), opacity .3s; }
.pick-fab[hidden] { display: inline-flex; transform: translateY(140%); opacity: 0; pointer-events: none; }
.fab-count { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: #fff; color: var(--terra); font-size: .85rem; font-weight: 800; }
.fab-total { background: rgba(0, 0, 0, .18); padding: 9px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.pick-fab:focus-visible { outline-color: var(--ink); }

/* ---------- photo buttons + lightbox ---------- */
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; background: rgba(12, 16, 44, .96); color: #F3EDDF; }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.lightbox::backdrop { background: rgba(12, 16, 44, .7); }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: min(1200px, 92vw); }
.lb-img img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 60px -20px #000; animation: lb-in .45s var(--ease); }
.lb-figure figcaption { text-align: center; font-size: .95rem; }
.lb-figure figcaption small { display: block; color: #C2C5D6; font-size: .8rem; margin-top: 4px; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(243, 237, 223, .5); background: rgba(12, 16, 44, .6); color: #F3EDDF; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: #F3EDDF; color: var(--green-deep); }
.lb-btn:focus-visible { outline-color: var(--gold); }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 20px; top: 20px; }

/* ---------- custom cursor (fine pointers only, enabled by JS) ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--green); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(30, 42, 120, .45); display: grid; place-items: center; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
.cursor-label { font: 800 .6rem/1 var(--sans); letter-spacing: .14em; color: var(--paper); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(30, 42, 120, .92); border-color: transparent; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.from-above:not(.is-in) { transform: translateY(-26px); }
.js .hero-h .line > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .hero-h .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero.is-in .hero-h .line > span { transform: none; }
.js .hero-sub, .js .hero-ctas, .js .status, .js .hero .oval, .js .hero .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero.is-in .hero .oval, .js .hero.is-in .oval, .js .hero.is-in .eyebrow { opacity: 1; transform: none; }
.js .hero.is-in .hero-sub { opacity: 1; transform: none; transition-delay: .25s; }
.js .hero.is-in .hero-ctas { opacity: 1; transform: none; transition-delay: .35s; }
.js .hero.is-in .status { opacity: 1; transform: none; transition-delay: .45s; }
.js .hero-photo { opacity: 0; transform: translateY(30px) scale(.97); transition: opacity 1.1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.js .hero-store { opacity: 0; transform: translate(-20px, 20px) rotate(-8deg); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.js .hero-backing { transform: scaleY(.6); transform-origin: bottom; opacity: 0; transition: transform 1.2s var(--ease), opacity 1s; }
.js .hero-stamp { opacity: 0; transform: rotate(-60deg) scale(.6); transition: opacity .8s var(--ease) .7s, transform 1s cubic-bezier(.2, 1.3, .4, 1) .7s; }
.js .hero.is-in .hero-photo { opacity: 1; transform: none; }
.js .hero.is-in .hero-store { opacity: 1; transform: rotate(-3.5deg); }
.js .hero.is-in .hero-store:hover { transform: rotate(-1deg) translateY(-4px); transition-delay: 0s; }
.js .hero.is-in .hero-backing { transform: none; opacity: 1; }
.js .hero.is-in .hero-stamp { opacity: 1; transform: rotate(-12deg); }
/* chalk-board lines wipe in */
.js .board .board-line { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.6, .1, .2, 1), transform .35s var(--ease); transition-delay: calc(var(--n) * 160ms + 150ms), 0s; }
.js .board .board-title { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.6, .1, .2, 1); }
.js .board.is-in .board-line, .js .board.is-in .board-title { clip-path: inset(0 0 0 0); }

/* ---------- keyframes ---------- */
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes ticket-in { from { opacity: 0; transform: translateY(16px) rotate(-.8deg); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ticket-pop { 0% { box-shadow: 0 0 0 0 rgba(30, 42, 120, .5); } 100% { box-shadow: 0 0 0 14px rgba(30, 42, 120, 0); } }
@keyframes slip-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes slip-out { to { opacity: 0; transform: translateX(16px); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-6deg) scale(2.2); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --nav-h: 60px; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 44px; }
  .oval { width: 150px; height: 86px; margin-bottom: 18px; }
  .oval-top { font-size: 1.08rem; }
  .oval-rule { width: 70px; }
  .oval-bot { font-size: .56rem; }
  .hero-art { padding: 0 0 44px 22px; }
  .hero-backing { right: -8px; }
  .hero-stamp { width: 88px; height: 88px; top: -30px; right: 2%; }
  .counter, .market, .pickup, .visit { grid-template-columns: 1fr; }
  .counter-aside { display: flex; gap: 20px; align-items: center; }
  .counter-photo { flex: none; width: 150px; margin: 0; }
  .market-photo, .visit-store { position: static; }
  .pickup-intro { justify-self: stretch; }
  .pickup > * { max-width: none; }
  .menu-tools { grid-template-columns: 1fr; gap: 12px; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { scroll-snap-align: start; }
  .no-js .cat-tabs { flex-wrap: wrap; overflow: visible; }
  .cat-head { flex-direction: column; align-items: flex-start; }
  .cat-photo { width: 100%; max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .g-storefrontDay, .g-foodHero { grid-column: 1 / -1; grid-row: auto; }
  .g-buffet, .g-pastel { grid-column: auto; grid-row: auto; transform: none; justify-self: center; }
  .glossary { grid-template-columns: 1fr; }
  .glossary dl { grid-template-columns: 1fr; }
  .hood-links { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; margin-left: -10px; }
}
@media (max-width: 480px) {
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { flex: 1 1 100%; }
  .status-note { border: 0; padding: 0; flex-basis: 100%; margin-left: 20px; }
  .board-line { gap: 10px; }
  .board-dots { min-width: 8px; }
  .tickets { grid-template-columns: 1fr; }
  .pick-fab { left: 16px; right: 16px; bottom: 14px; justify-content: space-between; }
  .slip { padding: 22px 18px 30px; }
  .visit-ctas .btn { flex: 1 1 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero *, .js .board .board-line, .js .board .board-title { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero-store { transform: rotate(-3.5deg) !important; }
  .js .hero-stamp { transform: rotate(-12deg) !important; }
  .status.is-open .status-dot::after { display: none; }
  .hero-light { display: none; }
}

/* ---------- r1 hero refinements ---------- */
.pick-badge[hidden] { display: none; }
.hero { padding-top: clamp(28px, 4.5vw, 64px); }
.hero-brand { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.hero-brand .oval { width: 150px; height: 86px; margin: 0; flex: none; }
.hero-brand .oval-top { font-size: 1.08rem; }
.hero-brand .oval-rule { width: 70px; }
.hero-brand .oval-bot { font-size: .55rem; }
.hero-brand .eyebrow { margin: 0; line-height: 1.7; }
.hero-h { font-size: clamp(2.4rem, 4vw, 3.9rem); }
.hero-h .line { white-space: nowrap; }
.hero-photo figcaption { text-align: right; }
.oval-mini { width: 92px; }
.oval-mini span { font-size: .7rem; letter-spacing: .08em; }
.js .hero-brand { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero.is-in .hero-brand { opacity: 1; transform: none; }
.js .hero-h .line:nth-child(3) > span { transition-delay: .24s; }
@media (max-width: 960px) {
  .hero-brand .oval { width: 120px; height: 70px; }
  .hero-brand .oval-top { font-size: .9rem; }
  .hero-brand .oval-rule { width: 56px; }
  .hero-brand .oval-bot { font-size: .48rem; letter-spacing: .26em; }
  .hero-brand .eyebrow { font-size: .72rem; }
}
@media (max-width: 600px) {
  .pb-long { display: none; }
  .hero-h { font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .nav-brand-text { font-size: .68rem; letter-spacing: .16em; }
}
@media (max-width: 360px) { .hero-h .line { white-space: normal; } }
/* vary the one storefront photo: flag + window here, the 243 door at Visit */
.market-photo img { aspect-ratio: 4 / 5; object-position: 24% 50%; }
.sf img { aspect-ratio: 1 / 1; object-position: 62% 45%; }
@media (max-width: 960px) { .market-photo img { aspect-ratio: 4 / 3; } .sf img { aspect-ratio: 4 / 3; } }
/* QA fixes */
.ticket[hidden] { display: none; }
.js .menu.is-searching .cat-panel:not(.has-match) { display: none; }
.slip-remove { min-height: 44px; }
.footer address a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-brand-text { font-size: .74rem; }
@media (max-width: 600px) { .nav-brand-text { font-size: .74rem; letter-spacing: .14em; } }
.cat-head { align-items: center; }
.cat-photo.is-small { width: 128px; order: -1; }
.cat-photo.is-small figcaption { font-size: .74rem; }
.cat-head:has(.cat-photo.is-small) { justify-content: flex-start; }
@media (max-width: 960px) {
  .menu-tools { position: static; }
  .cat-head:has(.cat-photo.is-small) { flex-direction: row; align-items: center; }
  .cat-photo.is-small { width: 110px; }
}

/* Menu item images (AI-generated illustrations, demo only; see docs/ASSET-SOURCES.md) */
.ticket-image-wrap { margin: 0 0 12px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--paper); }
.ticket-image { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero inset: facade concept, square crop of sign + entrance. */
.hero-store img { object-position: 50% 40%; }
.visit-store:empty { display: none; }
/* Market section has no photo (each photo is used once on the page); its notes sit in the right column. */
.market-side { display: grid; gap: 20px; align-self: center; }
.market-side > * { margin: 0; }
/* Gallery with a single small photo: start it at the left edge. */
.g-item.is-small:only-child { grid-column: 1 / 4; grid-row: auto; transform: none; }
/* Favorites tab: show only favorite cards across the category panels that have any. */
.menu.is-favs .ticket:not([data-fav]) { display: none; }
.convenience { margin: 4px 0 28px; }
.convenience small { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); }
/* Phones: keep the hero caption clear of the tilted inset. */
@media (max-width: 700px) { .hero-photo figcaption { padding-left: 40%; } }

/* Market logo (red chef badge, 230px source from the market's DoorDash listing). */
.logo-mini { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.hero-logo { width: 116px; height: 116px; border-radius: 50%; flex: none; box-shadow: 0 10px 24px -12px rgba(23, 27, 51, .45); }
.footer-logo { width: 96px; height: 96px; border-radius: 50%; }
.js .hero .hero-logo { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero.is-in .hero-logo { opacity: 1; transform: none; }
@media (max-width: 700px) { .hero-logo { width: 92px; height: 92px; } }
@media (prefers-reduced-motion: reduce) { .js .hero .hero-logo { opacity: 1; transform: none; transition: none; } }
