/* 7 Seas Market. Colors come from the logo (navy, red) and the family's photos
   (yellow plates, striped woven placemat). Archivo's width axis gives the
   painted-market-sign headlines without a second font. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations"), url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: only light; /* the brand is light; stops phone browsers from auto-darkening it */
  --navy: #151096;
  --navy-deep: #0c0a5c;
  --navy-ink: #17164a;
  --red: #b00a0a;
  --red-hot: #d4110b;
  --red-dark: #8a0606;
  --sun: #ffc21a;
  --sun-soft: #fff1c2;
  --ice: #eef2fb;
  --ice-2: #e2e8f7;
  --paper: #ffffff;
  --text: #1c1b3d;
  --muted: #4d5072;
  --line: rgba(21, 16, 150, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 48px rgba(12, 10, 92, 0.12);
  --shadow-sm: 0 6px 18px rgba(12, 10, 92, 0.1);
  --r-lg: 1.75rem;
  --r: 1.15rem;
  --r-sm: 0.7rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --wrap: min(100% - 2 * var(--gutter), 82rem);
  --dock-h: 0px;
  --top-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* scale the whole system with the screen: 16px on phones and laptops, about 16px at 1080p,
   18.6px at 1440p and 24px at 4K (it was about 20% bigger and felt oversized on large monitors) */
html {
  font-size: clamp(16px, calc(8.4px + 0.4vw), 24px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  padding-bottom: var(--dock-h);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.wrap { width: var(--wrap); margin-inline: auto; }

h1, h2, h3 { margin: 0; color: var(--navy-ink); }
h1, h2 {
  font-stretch: 125%;
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 1rem + 2.4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 750; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: 0 0 1rem;
  font-stretch: 75%; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 1.6em; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: var(--sun); }

/* The woven-placemat band from the family's photos */
.stripes {
  height: 0.7rem;
  background: linear-gradient(90deg,
    var(--navy) 0 14%, var(--sun) 14% 17%, var(--red) 17% 31%, #fff 31% 33%,
    var(--navy) 33% 52%, var(--red-hot) 52% 55%, var(--sun) 55% 68%, #fff 68% 70%,
    var(--navy) 70% 86%, var(--red) 86% 90%, var(--sun) 90% 100%);
  background-size: 22rem 100%;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3.1rem; padding: 0.75rem 1.4rem;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-stretch: 105%; text-decoration: none; line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, box-shadow 0.18s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); } }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn--red { --bg: var(--red); }
@media (hover: hover) { .btn--red:hover { --bg: var(--red-dark); } }
.btn--navy { --bg: var(--navy); }
@media (hover: hover) { .btn--navy:hover { --bg: var(--navy-deep); } }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
@media (hover: hover) { .btn--ghost:hover { --bg: var(--navy); --fg: #fff; } }
.btn--sm { min-height: 2.6rem; padding: 0.5rem 1.05rem; font-size: 0.95rem; }
.btn--block { width: 100%; }
.link-btn {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.35rem 0.95rem;
  border-radius: 999px; background: var(--ice); color: var(--navy);
  font-weight: 650; font-size: 0.92rem; text-decoration: none;
}
@media (hover: hover) { .link-btn:hover { background: var(--ice-2); } }

/* ---------- top bar ---------- */
.notice {
  background: var(--sun); color: var(--navy-ink);
  text-align: center; font-weight: 650; padding: 0.55rem var(--gutter); font-size: 0.95rem;
}
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.top.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(12, 10, 92, 0.06); }
.top__row { display: flex; align-items: center; gap: 1rem; min-height: var(--top-h); }
.top__logo img { height: 2.9rem; width: auto; }
.top__nav { display: none; }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.lang {
  font-weight: 700; font-size: 0.9rem; text-decoration: none; color: var(--navy);
  padding: 0.5rem 0.8rem; border-radius: 999px; border: 1.5px solid var(--line);
}
@media (hover: hover) { .lang:hover { border-color: var(--navy); } }
.top__call span { display: none; }

@media (min-width: 400px) { .top__call span { display: inline; } }
@media (min-width: 960px) {
  .top__nav { display: flex; gap: 0.25rem; margin-left: 1.5rem; }
  .top__nav a {
    padding: 0.5rem 0.8rem; border-radius: 999px; text-decoration: none;
    font-weight: 620; color: var(--navy-ink); font-size: 0.97rem;
  }
  .top__nav a:hover { background: var(--ice); }
  .top__logo img { height: 3.2rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(255, 194, 26, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ice) 0%, #f7f9fe 100%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem;
  padding-block: 0 2.5rem;
}
.hero__title {
  font-size: clamp(2.5rem, 1.2rem + 3.6vw, 5rem);
  margin-bottom: 1.25rem;
}
.hero__lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 1.4rem; }
.hero__cta .btn { flex: 1 1 12rem; }
.hero__facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.hero__facts li {
  font-size: 0.88rem; font-weight: 650; color: var(--navy);
  padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(21, 16, 150, 0.07);
}
.hero__media { position: relative; order: -1; margin-inline: calc(var(--gutter) * -1); margin-bottom: 1.5rem; }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.hero__sunday {
  position: absolute; top: 1rem; right: calc(var(--gutter) + 0.25rem);
  transform: rotate(2.5deg);
}
.live {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: -1.5rem;
  padding: 0.95rem 1.1rem 0.95rem 1.6rem;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* the placemat stripes run down the left edge instead of a status light */
.live::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.5rem;
  background: linear-gradient(180deg, var(--navy) 0 30%, var(--sun) 30% 40%, var(--red) 40% 70%, #fff 70% 74%, var(--navy) 74% 100%);
}
.live p { margin: 0; }
.busy { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.45rem !important; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--sun); color: var(--navy-ink); font-weight: 750; font-size: 0.82rem; }
.busy::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.busy[hidden] { display: none; }
.busy--block { display: flex; border-radius: var(--r-sm); padding: 0.55rem 0.8rem; font-size: 0.92rem; margin: 0 !important; }
.live__label { display: inline-block; font-stretch: 75%; font-weight: 750; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--red); }
.live.is-open .live__label {
  margin-bottom: 0.35rem; padding: 0.2rem 0.55rem; border-radius: 0.3rem;
  background: var(--red); color: #fff; letter-spacing: 0.14em; transform: rotate(-2deg);
}
.live__place { display: grid; gap: 0.45rem; margin-top: 0.2rem !important; }
.live__row { display: grid; line-height: 1.25; }
.live__row b { font-weight: 750; color: var(--navy-ink); font-size: 1.05rem; }
.live__row span { color: var(--muted); font-size: 0.92rem; }
.live__time { color: var(--muted); font-size: 0.95rem; }

.tag {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: var(--r-sm);
  font-weight: 750; font-size: 0.88rem; line-height: 1.2; box-shadow: var(--shadow-sm);
}
.tag--sun { background: var(--sun); color: var(--navy-ink); max-width: min(15rem, 60vw); }

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center; gap: clamp(2rem, 4vw, 5rem);
    padding-block: clamp(2.5rem, 5vw, 5.5rem) clamp(3.5rem, 6vw, 6.5rem);
  }
  .hero__media { order: 0; margin: 0; }
  .hero__media img { aspect-ratio: 1 / 1; max-height: 78vh; border-radius: var(--r-lg); box-shadow: var(--shadow); }
  .hero__cta .btn { flex: 0 0 auto; }
  .live { left: -2.5rem; right: auto; bottom: 2rem; max-width: 22rem; }
  .hero__sunday { right: -0.75rem; top: 1.5rem; }
}

/* ---------- section scaffolding ---------- */
section { padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem); }
.hero { padding-block: 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.loading { color: var(--muted); }
.load-error { font-weight: 650; color: var(--red); list-style: none; }
.qty-group { margin: 0.6rem 0 0.1rem; font-weight: 750; color: var(--navy-ink); }
.fineprint { margin-top: 2rem; font-size: 0.92rem; color: var(--muted); max-width: 48rem; }

/* ---------- tap feedback ---------- */
/* no grey/blue flash from the browser; instead every button dips a little while pressed */
html { -webkit-tap-highlight-color: transparent; }
:is(.btn, .link-btn, .lang, .acct-link, .seg button, .qty__ctrl button, .dock a, .dock button, .chat-fab,
    .chat__follow button, .chat__chips button, .chat__close, .chat__form button, .foot__btn, .linkish,
    .pw__toggle, .social a, .stall__info a, .stall__info button, .dish__more summary, .qa summary,
    .tip__opts label, .promo button, .top__nav a, .modal__btns button, .menu__list .dish[data-pic], .cartbar) {
  transition: transform 0.12s var(--ease), background-color 0.15s, color 0.15s, box-shadow 0.15s, filter 0.15s, border-color 0.15s;
}
:is(.btn, .link-btn, .lang, .acct-link, .seg button, .qty__ctrl button, .dock a, .dock button, .chat-fab,
    .chat__follow button, .chat__chips button, .chat__close, .chat__form button, .foot__btn, .linkish,
    .pw__toggle, .social a, .stall__info a, .stall__info button, .dish__more summary, .qa summary,
    .tip__opts label, .promo button, .top__nav a, .modal__btns button, .cartbar):active:not(:disabled) {
  transform: scale(0.95); filter: brightness(0.9);
}
.menu__list .dish[data-pic]:active { background: var(--ice); }
.cartbar:active { transform: translateX(-50%) scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .seg button, .qty__ctrl button, .dock a, .dock button, .chat-fab):active:not(:disabled) { transform: none; }
}

/* ---------- menu ---------- */
/* a printed-menu board: name, size, dotted leader, price. On wide screens a big photo
   sits beside it and follows the dish you point at. Thumbnails reuse the 640px photos. */
.ceviche { padding-top: clamp(4.5rem, 3rem + 6vw, 8rem); }
.menu { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.menu__photo { display: none; margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--ice); }
.menu__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.menu__photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.8rem 1.1rem; border-radius: var(--r);
  background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--navy-ink); font-size: 1.05rem;
}
.menu__photo figcaption span { color: var(--red); font-weight: 850; font-size: 1.4rem; font-stretch: 110%; }
.menu__board {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(1.1rem, 3vw, 2.25rem);
}
.menu__group {
  display: inline-block; margin: 0 0 0.5rem; padding-bottom: 0.3rem;
  color: var(--red); font-size: 0.95rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 3px solid var(--red);
}
.menu__group:not(:first-child) { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.menu__list { list-style: none; margin: 0; padding: 0; }
.dish {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.9rem; align-items: start;
  padding: 0.85rem 0.5rem; margin-inline: -0.5rem; border-radius: var(--r);
  transition: background-color 0.2s;
}
.dish + .dish { border-top: 1px dashed var(--line); }
@media (hover: hover) { .dish[data-pic]:hover { background: var(--ice); } }
.dish__thumb {
  width: 3.5rem; aspect-ratio: 1; border-radius: 0.9rem; overflow: hidden;
  display: grid; place-items: center; background: var(--ice);
}
.dish__thumb img { width: 100%; height: 100%; object-fit: cover; }
button.dish__thumb { position: relative; padding: 0; border: 0; cursor: zoom-in; }
button.dish__thumb:active { transform: scale(0.94); }
.dish__count {
  position: absolute; right: 0.2rem; bottom: 0.2rem; min-width: 1.2rem; height: 1.2rem; padding: 0 0.3rem;
  border-radius: 999px; background: rgba(12, 10, 92, 0.78); color: #fff; font-size: 0.68rem; font-weight: 800;
  display: grid; place-items: center;
}
.dish__thumb .dish__mark { width: 62%; height: auto; object-fit: contain; opacity: 0.85; }
.dish__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin: 0.15rem 0 0; }
.dish__name { font-weight: 800; font-stretch: 105%; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); color: var(--navy); line-height: 1.2; }
.dish__size {
  flex: none; font-size: 0.78rem; font-weight: 750; color: var(--muted);
  padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--ice); white-space: nowrap;
}
.dish__dots { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--ice-2); transform: translateY(-0.3rem); }
.dish__price { flex: none; font-weight: 850; font-stretch: 110%; font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); color: var(--navy); }
.dish__desc { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.95rem; }
.dish__allergen { margin: 0.35rem 0 0; font-size: 0.85rem; color: var(--navy-ink); }
.dish__allergen b { color: var(--red); }
.dish__lead { margin: 0.35rem 0 0; font-size: 0.85rem; font-weight: 700; color: var(--red); }
.dish__more summary { cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--navy); padding: 0.3rem 0 0; list-style: none; width: fit-content; }
.dish__more summary::-webkit-details-marker { display: none; }
.dish__more summary::after { content: " +"; }
.dish__more[open] summary::after { content: " \2212"; }
.dish.is-out { opacity: 0.55; }
.dish.is-out .dish__price { color: var(--red); font-size: 0.9rem; }
.menu__note {
  margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line);
  text-align: center; color: var(--red); font-weight: 750; font-size: 0.95rem;
}
.chips { list-style: none; padding: 0; margin: 0.3rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chips li { font-size: 0.82rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--ice); color: var(--navy-ink); }
.chips li:first-child { background: var(--navy); color: #fff; font-weight: 700; }

/* phones and tablets: each dish is its own card, descriptions move into "What's in it" */
@media (max-width: 899px) {
  .menu__board { background: none; border: 0; box-shadow: none; padding: 0; }
  .menu__list { display: grid; gap: 0.6rem; }
  .dish, .dish + .dish {
    margin: 0; padding: 0.75rem 0.85rem; gap: 0.8rem; grid-template-columns: 3.25rem minmax(0, 1fr);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
  }
  .dish__thumb { width: 3.25rem; }
  .dish__main > .dish__desc { display: none; }
  .dish__desc--m { margin: 0.2rem 0 0.4rem; }
  .dish__allergen { font-size: 0.82rem; margin-top: 0.25rem; }
  .menu__group:not(:first-child) { margin-top: 1.6rem; }
  .menu__note { border-top: 0; padding-top: 0; }
}
@media (min-width: 900px) {
  .dish__desc--m, .dish__more--m { display: none; }
}
@media (min-width: 900px) {
  .menu:has(.menu__photo) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .menu__photo { display: block; position: sticky; top: calc(var(--top-h) + 1.5rem); }
  .dish { grid-template-columns: minmax(0, 1fr); padding-inline: 0.75rem; margin-inline: -0.75rem; }
  .dish__thumb { display: none; }
}

/* ---------- markets ---------- */
.markets { background: var(--ice); position: relative; }
.markets__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.markets__intro p { color: var(--muted); font-size: 1.08rem; }
.markets__intro h2 { margin-bottom: 1rem; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 2rem; font-weight: 550; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7-7 1.4 1.4z'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
}
.stalls { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.stall {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start;
  background: #fff; border-radius: var(--r-lg); padding: 1.1rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.stall--empty { display: block; color: var(--muted); }
.stall__day {
  width: 4.4rem; aspect-ratio: 1; border-radius: var(--r);
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-stretch: 125%; font-weight: 850; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.stall--sun .stall__day { background: var(--red); }
.stall h3 { margin-bottom: 0.3rem; }
.stall p { margin: 0 0 0.25rem; }
.stall__where { color: var(--muted); font-size: 0.95rem; }
.stall__when { font-size: 1.02rem; }
.stall__when b { color: var(--navy-ink); text-transform: capitalize; }
.stall__extra { font-size: 0.88rem; color: var(--muted); }
.stall__closed { display: inline-block; margin-top: 0.35rem !important; padding: 0.2rem 0.6rem; border-radius: 999px; background: #fde3e3; color: var(--red); font-weight: 700; font-size: 0.85rem; }
.acct__moved { color: var(--red) !important; font-weight: 650; }
.stall__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }

@media (min-width: 900px) {
  .markets__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
  .markets__intro { position: sticky; top: calc(var(--top-h) + 2rem); }
  .stall { padding: 1.35rem; gap: 1.35rem; }
  .stall__day { width: 5.2rem; font-size: 1.35rem; }
}

/* ---------- order ---------- */
.order {
  background: var(--navy-deep);
  background-image:
    radial-gradient(40rem 26rem at 0% 0%, rgba(255, 194, 26, 0.14), transparent 60%),
    radial-gradient(36rem 30rem at 100% 100%, rgba(212, 17, 11, 0.22), transparent 60%);
  color: #e8eaff;
}
.order h2 { color: #fff; margin-bottom: 1rem; }
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.order__intro > p { font-size: 1.1rem; color: #cfd2f7; }
.steps { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 0.9rem; }
.steps li { display: flex; gap: 0.9rem; align-items: center; font-weight: 550; }
.steps b {
  flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--sun); color: var(--navy-ink); font-stretch: 125%; font-weight: 850;
}
.order__nodeliver {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: var(--r-sm);
  border: 1.5px dashed rgba(255, 255, 255, 0.4); font-weight: 650; color: #fff;
}
.order__card {
  background: #fff; color: var(--text); border-radius: var(--r-lg);
  padding: clamp(1.1rem, 3vw, 2rem); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem; padding: 0.3rem; border-radius: 999px; background: var(--ice); margin-bottom: 1.4rem; }
.seg button {
  border: 0; background: transparent; border-radius: 999px; min-height: 2.75rem; padding: 0.4rem 0.6rem;
  font-weight: 700; color: var(--navy); cursor: pointer;
}
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

.form { display: grid; gap: 1rem; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 750; color: var(--navy-ink); margin-bottom: 0.6rem; font-size: 1.05rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 650; font-size: 0.93rem; color: var(--navy-ink); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem;
  border: 1.5px solid #cdd3ea; border-radius: var(--r-sm); background: #fff;
  font-weight: 450; font-size: 1rem;
}
.form textarea { resize: vertical; min-height: 5rem; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(21, 16, 150, 0.15); }
.form .check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.6rem; font-weight: 450; font-size: 0.9rem; color: var(--muted); }
.form .check input { width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; accent-color: var(--navy); }
.form__note { color: var(--muted); margin: 0; }
.form__total { margin: 0; font-weight: 650; color: var(--navy); min-height: 1.4em; }
.form__msg { margin: 0; font-weight: 650; color: #0f7a3e; min-height: 1.4em; }
.form__msg.is-bad { color: var(--red); }
.hp { position: absolute !important; left: -9999px; }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }

.qty-list { display: grid; gap: 0.5rem; }
.qty {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0.55rem 0.55rem 0.9rem; border-radius: var(--r); background: var(--ice);
}
.qty.is-out { opacity: 0.55; }
.qty__name { font-weight: 700; color: var(--navy-ink); display: grid; line-height: 1.2; }
.qty__name small { font-weight: 500; color: var(--muted); font-size: 0.82rem; }
.qty__ctrl { display: flex; align-items: center; gap: 0.25rem; }
.qty__ctrl button {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; box-shadow: 0 1px 3px rgba(12, 10, 92, 0.15);
}
.qty__ctrl button:disabled { cursor: not-allowed; }
.qty__ctrl input {
  width: 3rem !important; min-height: 2.6rem !important; padding: 0 !important; text-align: center;
  border: 0 !important; background: transparent !important; font-weight: 800 !important; font-size: 1.1rem !important;
  -moz-appearance: textfield;
}
.qty__ctrl input::-webkit-inner-spin-button, .qty__ctrl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* counters on the menu dishes */
/* the counter shares the bottom line with "What's in it" */
.dish__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.5rem; align-items: end; }
.dish__main > * { grid-column: 1 / -1; }
.dish__main > .dish__more { grid-column: 1; }
.dish__main > .dish__add { grid-column: 1 / -1; justify-self: end; margin: 0.35rem 0 0; }
.dish .qty__ctrl button { background: var(--ice); box-shadow: none; width: 2.4rem; height: 2.4rem; }
.dish .qty__ctrl input { width: 2.4rem !important; min-height: 2.4rem !important; }
/* what's been picked, shown in the order form */
.picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.picked li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.5rem 0.4rem 0.9rem; border-radius: var(--r); background: var(--ice);
}
.picked__name { font-weight: 700; color: var(--navy-ink); line-height: 1.2; }
.picked .qty__ctrl b { min-width: 1.6rem; text-align: center; font-weight: 800; }
.picked .qty__ctrl button { width: 2.2rem; height: 2.2rem; font-size: 1.1rem; }
.picked__price { font-weight: 800; color: var(--navy); min-width: 3rem; text-align: right; }
.picked__empty { margin: 0; padding: 0.9rem 1rem; border-radius: var(--r); background: var(--ice); color: var(--muted); }
.picked__empty a { font-weight: 700; color: var(--navy); }
/* the order so far, floating while the form is out of view */
.cartbar {
  position: fixed; z-index: 44; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--dock-h) + 0.9rem); width: min(26rem, calc(100% - 1.2rem));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0.8rem 0.7rem 1.2rem; border-radius: 999px; text-decoration: none;
  background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 14px 36px rgba(12, 10, 92, 0.35);
}
.cartbar b { background: var(--red); padding: 0.45rem 1rem; border-radius: 999px; white-space: nowrap; }
@media (min-width: 900px) { .cartbar { bottom: 1.5rem; } }

@media (max-width: 959px) {
  .order__grid { gap: 1.25rem; }
  .order .steps { display: none; }
  .order__intro > p { font-size: 1rem; }
  .order__nodeliver { font-size: 0.9rem; padding: 0.4rem 0.75rem; }
}
@media (min-width: 960px) {
  .order__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .order__intro { position: sticky; top: calc(var(--top-h) + 2rem); }
}

/* ---------- story ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.story__photo { margin: 0; position: relative; }
.story__photo::before {
  content: ""; position: absolute; inset: 1.2rem -0.8rem -0.8rem 1.2rem;
  background: var(--sun); border-radius: var(--r-lg); z-index: -1;
}
.story__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.story__copy h2 { margin-bottom: 1.2rem; }
.story__copy p { color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.story__bowl { margin: 1.8rem 0 0; max-width: 24rem; }
.story__bowl img { border-radius: var(--r); box-shadow: var(--shadow-sm); transform: rotate(-1.5deg); }
.story { position: relative; isolation: isolate; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); }
}

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #fff, var(--ice)); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.faq__grid > div:first-child p { color: var(--muted); font-size: 1.08rem; }
.faq__grid h2 { margin-bottom: 1rem; }
.faq__list { display: grid; gap: 0.6rem; }
.qa { background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3.2rem 1.05rem 1.2rem; position: relative;
  font-weight: 700; color: var(--navy-ink); font-size: 1.05rem; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -0.75rem;
  border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23151096' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
  transition: transform 0.2s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 1.2rem 1.15rem; margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .faq__grid > div:first-child { position: sticky; top: calc(var(--top-h) + 2rem); }
}

/* ---------- footer ---------- */
.foot { background: var(--navy); color: #d9dbff; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 3rem 2rem; }
.foot__brand img { width: 13rem; height: auto; margin-bottom: 1rem; }
.foot__brand p { max-width: 22rem; }
.social { list-style: none; padding: 0; margin: 0 0 0.8rem; display: flex; gap: 0.5rem; }
.social[hidden], .review-link[hidden] { display: none; }
.social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
@media (hover: hover) { .social a:hover { background: rgba(255, 255, 255, 0.24); } }
.social svg { width: 1.3rem; height: 1.3rem; fill: #fff; }
.review-link { display: inline-block; font-weight: 700; color: var(--sun) !important; }
.acct__review { padding: 0.9rem 1rem; border-radius: var(--r); background: var(--sun-soft); display: grid; gap: 0.5rem; justify-items: start; }
.acct__review p { margin: 0; color: var(--navy-ink) !important; }
.foot__h { font-size: 0.8rem; font-stretch: 75%; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); margin-bottom: 0.8rem; }
.foot__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15); padding-block: 1.2rem 1.6rem; font-size: 0.88rem; color: #b8bbf0;
}
@media (min-width: 700px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- phone dock ---------- */
.dock {
  position: fixed; left: 0.6rem; right: 0.6rem; bottom: calc(0.6rem + env(safe-area-inset-bottom));
  z-index: 45;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.35rem; border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(21, 16, 150, 0.1);
  box-shadow: 0 10px 30px rgba(12, 10, 92, 0.18);
}
.dock a, .dock button {
  display: grid; justify-items: center; gap: 0.15rem; padding: 0.45rem 0.2rem;
  border: 0; background: none; border-radius: 1rem; cursor: pointer;
  font-size: 0.74rem; font-weight: 700; color: var(--navy); text-decoration: none;
}
.dock svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.dock a:first-child { background: var(--red); color: #fff; }
body { --dock-h: calc(5.2rem + env(safe-area-inset-bottom)); }
body.chat-open .dock { display: none; }
@media (min-width: 900px) {
  .dock { display: none; }
  body { --dock-h: 0px; }
}

/* ---------- chat ---------- */
.chat-fab { display: none; }
@media (min-width: 900px) {
  .chat-fab {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 45;
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1.2rem 0.45rem 0.45rem; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; font-weight: 750; box-shadow: var(--shadow);
    transition: transform 0.2s var(--ease);
  }
  @media (hover: hover) { .chat-fab:hover { transform: translateY(-2px); } }
  .chat-fab img { width: 2.3rem; height: 2.3rem; }
  body.chat-open .chat-fab { display: none; }
}
.chat { position: fixed; inset: 0; z-index: 60; }
.chat[hidden] { display: none; }
/* the panel slides up when it opens and back down when it closes; messages ease in */
.chat:not([hidden]) .chat__panel { animation: chat-in 0.32s var(--ease) both; }
.chat.is-closing .chat__panel { animation: chat-out 0.2s ease-in both; }
@keyframes chat-in { from { opacity: 0; transform: translateY(28px) scale(0.98); } }
@keyframes chat-out { to { opacity: 0; transform: translateY(20px) scale(0.98); } }
.msg, .chat__follow, .chat__contact { animation: msg-in 0.28s var(--ease) both; }
.msg--you { transform-origin: 100% 100%; }
.msg--them, .msg--bot { transform-origin: 0 100%; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
.typing { display: inline-flex; gap: 0.3rem; padding: 0.2rem 0; }
.typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--muted); opacity: 0.4; animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } }
.chat__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #fff;
}
.chat__head {
  display: flex; align-items: center; gap: 0.75rem;
  padding: calc(0.8rem + env(safe-area-inset-top)) 1rem 0.8rem;
  background: var(--navy); color: #fff;
}
.chat__head h2 { color: #fff; font-size: 1.15rem; letter-spacing: 0; line-height: 1.2; font-stretch: 110%; }
.chat__head p { margin: 0; font-size: 0.85rem; color: #cfd2f7; }
.chat__close {
  margin-left: auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.chat__close svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.chat__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--ice); overscroll-behavior: contain; }
.msg { max-width: 86%; display: grid; gap: 0.2rem; }
.msg__who { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.msg__text { padding: 0.7rem 0.9rem; border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(12, 10, 92, 0.08); font-size: 0.97rem; }
.msg__text p { margin: 0 0 0.4rem; }
.msg__text ul { margin: 0.3rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.msg--you { align-self: flex-end; }
.msg--you .msg__who { text-align: right; }
.msg--you .msg__text { background: var(--navy); color: #fff; border-bottom-right-radius: 0.3rem; }
.msg--them .msg__text, .msg--bot .msg__text { border-bottom-left-radius: 0.3rem; }
.msg--bot .msg__text { border-left: 4px solid var(--sun); }
.chat__follow { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.88rem; color: var(--muted); }
.chat__follow span { flex-basis: 100%; }
.chat__follow button { flex: 0 0 auto; white-space: nowrap; }
.chat__follow button, .chat__chips button {
  border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 999px;
  padding: 0.4rem 0.8rem; font-weight: 650; font-size: 0.88rem; cursor: pointer; min-height: 2.4rem;
}
@media (hover: hover) { .chat__follow button:hover, .chat__chips button:hover { background: var(--navy); color: #fff; } }
/* question buttons wrap onto more lines (a sideways-only row can't be scrolled with a mouse) */
.chat__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; max-height: 10rem; overflow-y: auto; overscroll-behavior: contain; padding: 0.6rem 1rem; background: #fff; border-top: 1px solid var(--line); }
.chat__chips:empty { display: none; }
.chat__chips button { flex: none; }
.chat__chips .is-human { background: var(--red); border-color: var(--red); color: #fff; }
.chat__contact { display: grid; gap: 0.6rem; padding: 0.9rem; border-radius: 1rem; background: #fff; border: 1.5px solid var(--sun); }
.chat__contact p { margin: 0; font-size: 0.92rem; }
.chat__contact label { display: grid; gap: 0.25rem; font-size: 0.85rem; font-weight: 650; }
.chat__contact input { min-height: 2.75rem; padding: 0.5rem 0.75rem; border: 1.5px solid #cdd3ea; border-radius: var(--r-sm); }
.chat__form { display: flex; gap: 0.5rem; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.chat__form input { flex: 1; min-width: 0; min-height: 2.9rem; padding: 0.6rem 0.9rem; border: 1.5px solid #cdd3ea; border-radius: 999px; font-size: 1rem; }
.chat__form input:focus { outline: none; border-color: var(--navy); }
@media (min-width: 900px) {
  .chat { inset: auto 1.5rem 1.5rem auto; width: min(26rem, calc(100vw - 3rem)); height: min(40rem, calc(100vh - 3rem)); }
  .chat__panel { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(12, 10, 92, 0.3); border: 1px solid var(--line); transform-origin: 100% 100%; }
  .chat__head { padding-top: 0.8rem; }
}

/* ---------- legal pages ---------- */
.legal__main { padding-block: clamp(2rem, 5vw, 5rem); }
.legal__head { max-width: 52rem; margin-bottom: 2.5rem; }
.legal__head h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.8rem); margin-bottom: 1rem; }
.legal__updated { color: var(--muted); }
.ph { background: transparent; color: var(--red); border: 1.5px dashed var(--red); border-radius: 0.3rem; padding: 0 0.25rem; }
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.legal__toc { font-size: 0.95rem; }
.legal__toc p { font-weight: 750; color: var(--navy-ink); margin-bottom: 0.5rem; }
.legal__toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.legal__body { max-width: 48rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2.5rem); }
.legal__body h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 2rem 0 0.8rem; line-height: 1.15; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body ul { padding-left: 1.2rem; }
.legal__body li { margin-bottom: 0.4rem; }
.legal { background: var(--ice); }
@media (min-width: 960px) {
  .legal__grid { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .legal__toc { position: sticky; top: calc(var(--top-h) + 2rem); }
}

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- skeleton loaders ---------- */
.sk {
  display: block; border-radius: 0.5rem;
  background: linear-gradient(90deg, var(--ice-2) 0%, #f6f8fe 40%, var(--ice-2) 80%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }
.sk--thumb { width: 3.5rem; aspect-ratio: 1; border-radius: 0.9rem; }
.sk--h { height: 1.3rem; width: 70%; margin-bottom: 0.7rem; }
.sk--t { height: 0.85rem; width: 100%; margin-bottom: 0.55rem; }
.sk--short { width: 55%; }
.sk--day { width: 4.4rem; aspect-ratio: 1; border-radius: var(--r); }
.sk--label { width: 7rem; height: 0.8rem; margin-top: 0.2rem; }
.sk-dish { pointer-events: none; }
.sk-stall > div:last-child { padding-top: 0.3rem; }
.sk-qa { padding: 1.2rem; }
.sk-qa .sk { margin: 0; width: 80%; }
.live__place .sk--h { width: 14rem; max-width: 100%; margin: 0.4rem 0; }

/* ---------- "open now" ---------- */
.live.is-open::before {
  background: repeating-linear-gradient(180deg, var(--red) 0 0.9rem, var(--sun) 0.9rem 1.2rem, var(--navy) 1.2rem 2.1rem, #fff 2.1rem 2.3rem);
  background-size: 100% 4.6rem;
  animation: stripes-run 1.8s linear infinite;
}
@keyframes stripes-run { to { background-position: 0 4.6rem; } }
.live.is-open .live__label { transform-origin: 50% -0.6rem; animation: sign-swing 3.6s ease-in-out infinite; }
@keyframes sign-swing {
  0%, 100% { transform: rotate(-2deg); }
  8% { transform: rotate(5deg); }
  16% { transform: rotate(-4deg); }
  24% { transform: rotate(2deg); }
  32% { transform: rotate(-2deg); }
}
.live.is-open::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%) -100% 0 / 250% 100% no-repeat;
  animation: glint 4.5s ease-in-out infinite;
}
@keyframes glint { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -100% 0; } }

/* header logo: a small hop when pointed at or focused */
@media (prefers-reduced-motion: no-preference) {
  .top__logo img { transform-origin: 50% 75%; }
  .top__logo:hover img, .top__logo:focus-visible img { animation: logo-hop 0.7s cubic-bezier(0.3, 0.7, 0.3, 1); }
}
@keyframes logo-hop {
  0% { transform: none; }
  35% { transform: translateY(-7px) rotate(-4deg); }
  65% { transform: translateY(1px) rotate(1deg); }
  100% { transform: none; }
}

/* ---------- intro: the logo gets hooked and reeled up ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer;
  background: radial-gradient(80rem 40rem at 50% 115%, #2a24c9 0%, var(--navy) 45%, var(--navy-deep) 100%);
  animation: intro-out 0.6s var(--ease) 1.75s forwards;
}
html.intro-on, html.intro-on body { overflow: hidden; }
.intro__rig { position: absolute; inset: 0; animation: reel 0.85s cubic-bezier(0.6, 0, 0.3, 1) 1s forwards; }
.intro__fish {
  position: absolute; left: 50%; top: 52%;
  width: min(72vw, 30rem); translate: -50% -50%;
  animation: swim 0.95s cubic-bezier(0.2, 0.8, 0.3, 1) both, bite 0.25s ease-in-out 0.9s;
}
.intro__fish img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
/* the hook catches the top line of the fish above the eye (22% across, 9% down the logo),
   so it never covers the eye, mouth or lettering */
.intro__line {
  position: absolute; left: calc(50% - min(72vw, 30rem) * 0.281 + 0.4rem); top: 0; width: 2px;
  height: calc(52% - min(72vw, 30rem) * 0.1185 - 2rem);
  background: rgba(255, 255, 255, 0.8); color: var(--sun);
  transform-origin: top; animation: drop 0.6s cubic-bezier(0.3, 0.7, 0.3, 1) both; z-index: 2;
}
.intro__hook { position: absolute; left: calc(-1.2rem + 1px); top: calc(100% - 0.2rem); width: 1.6rem; height: 2.6rem; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.intro__waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 18vh; fill: rgba(255, 255, 255, 0.08); animation: waves 3s linear infinite; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes swim {
  0% { transform: translateX(-70vw) rotate(-6deg); }
  60% { transform: translateX(3vw) rotate(3deg); }
  80% { transform: translateX(-1vw) rotate(-1deg); }
  100% { transform: none; }
}
@keyframes bite { 50% { transform: translateY(-0.6rem) rotate(-4deg); } }
@keyframes reel { to { transform: translateY(-115vh) rotate(-3deg); } }
@keyframes waves { to { transform: translateX(-50%); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: translateY(-4vh); } }

/* ---------- account ---------- */
.acct-link {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.6rem; padding: 0.4rem 0.7rem;
  border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem;
}
.acct-link svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
@media (hover: hover) { .acct-link:hover { background: var(--ice); } }
.acct-link span { display: none; }
@media (min-width: 1100px) { .acct-link span { display: inline; } }
.account { background: var(--ice); }
.acct { padding-block: clamp(2rem, 5vw, 5rem); }
.acct__head { max-width: 46rem; margin-bottom: 2rem; }
.acct__head h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); margin-bottom: 0.9rem; }
.acct__lede { color: var(--muted); font-size: 1.08rem; }
.acct__demo { display: inline-block; background: var(--sun); color: var(--navy-ink); font-weight: 650; font-size: 0.9rem; padding: 0.45rem 0.8rem; border-radius: var(--r-sm); }
.acct__card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow-sm); max-width: 34rem; }
.acct__card h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.acct__grid { display: grid; gap: 1.25rem; }
.acct__split { display: grid; gap: 1.25rem; align-items: stretch; }
.acct__split .acct__card { max-width: none; }
.acct__why { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--ice); border: 1px solid var(--line); }
.acct__why img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.acct__why-body { padding: clamp(1.1rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.acct__why h2 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.acct__why .ticks { margin: 0 0 1.2rem; }
.acct__why-guest { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.95rem; }
.acct__why-guest a { font-weight: 700; color: var(--navy); }
@media (min-width: 900px) { .acct__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.acct__grid .acct__card { max-width: none; }
@media (min-width: 900px) { .acct__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.acct__email { margin: 0; color: var(--muted); font-size: 0.95rem; }
.mfa__setup { display: grid; gap: 0.8rem; margin-top: 0.8rem; }
.mfa__qr { width: 180px; height: 180px; padding: 0.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mfa__key summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.mfa__key code { display: block; margin-top: 0.4rem; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); background: var(--ice); font-size: 0.85rem; word-break: break-all; }
[data-2fa-toggle] { margin-top: 1rem; }
.acct__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.acct__orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.acct__order { padding: 0.85rem 1rem; border-radius: var(--r); background: var(--ice); }
.acct__order p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }
.acct__order .acct__items { color: var(--navy-ink); font-weight: 600; }
.acct__status { margin-left: 0.4rem; padding: 0.12rem 0.55rem; border-radius: 999px; background: #fff; font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.acct__order.st-ready .acct__status { background: var(--sun); color: var(--navy-ink); }
.acct__order.st-done, .acct__order.st-cancelled { opacity: 0.65; }
.acct__none { color: var(--muted); }
.loyalty__line { margin: 0 0 0.6rem; color: var(--navy-ink); font-weight: 600; }
.loyalty__bar { height: 0.8rem; border-radius: 999px; background: var(--ice); overflow: hidden; }
.loyalty__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--sun)); border-radius: 999px; }
.loyalty__rewards { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.4rem; }
.loyalty__rewards li { padding: 0.6rem 0.8rem; border-radius: var(--r-sm); background: var(--sun-soft); }
.pw { position: relative; display: block; }
.pw input { padding-right: 4.5rem !important; }
.pw__toggle { position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%); border: 0; background: var(--ice); color: var(--navy); font-weight: 700; font-size: 0.85rem; border-radius: 999px; padding: 0.35rem 0.7rem; cursor: pointer; }
.form small { font-weight: 450; color: var(--muted); font-size: 0.85rem; }
.linkish { justify-self: start; border: 0; background: none; color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; padding: 0.3rem 0; }

/* ---------- focus: visible on light and dark sections ---------- */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sun); border-radius: 6px; }
.order :focus-visible, .foot :focus-visible, .chat__head :focus-visible, .intro :focus-visible { outline-color: var(--sun); box-shadow: 0 0 0 6px var(--navy-deep); }
.req { font-style: normal; color: var(--red); font-weight: 650; white-space: nowrap; }

/* ---------- cookie banner ---------- */
.consent {
  position: fixed; z-index: 55; left: 0.6rem; right: 0.6rem; bottom: calc(var(--dock-h) + 0.4rem);
  display: grid; gap: 0.8rem; padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(12, 10, 92, 0.25);
}
.consent[hidden] { display: none; }
.consent__h { font-size: 1.05rem; font-stretch: 110%; margin-bottom: 0.3rem; }
.consent p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.consent__btns .btn { flex: 1 1 9rem; }
@media (min-width: 900px) {
  .consent { left: auto; right: 1.5rem; bottom: 1.5rem; width: min(30rem, calc(100vw - 3rem)); }
  body.has-consent .chat-fab { bottom: calc(1.5rem + 13rem); }
}

/* ---------- dialogs (cookie preferences, accessibility, install) ---------- */
.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(30rem, calc(100vw - 1.5rem)); max-height: 90dvh; box-shadow: 0 30px 80px rgba(12, 10, 92, 0.35); color: var(--text); }
.modal::backdrop { background: rgba(12, 10, 92, 0.5); }
.modal__body { display: grid; gap: 0.75rem; padding: 1.3rem; }
.modal__body h2 { font-size: 1.4rem; letter-spacing: -0.01em; }
.modal__lede { margin: 0; color: var(--muted); font-size: 0.95rem; }
.modal__icon { border-radius: 1rem; }
.modal__btns { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.4rem; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start; padding: 0.7rem 0.8rem; border-radius: var(--r); background: var(--ice); cursor: pointer; }
.opt input { width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; accent-color: var(--navy); }
.opt span { display: grid; gap: 0.15rem; }
.opt small { color: var(--muted); font-size: 0.85rem; }
.foot__btn { border: 0; background: none; padding: 0; color: #fff; font: inherit; cursor: pointer; text-align: left; }
.foot__btn:hover { text-decoration: underline; }

/* ---------- accessibility options ---------- */
html.a11y-text { font-size: clamp(19px, calc(10px + 0.48vw), 29px); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-spacing body { line-height: 1.8; letter-spacing: 0.03em; word-spacing: 0.12em; }
html.a11y-spacing p, html.a11y-spacing li { max-width: 70ch; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .rv { opacity: 1 !important; transform: none !important; }
html.a11y-contrast {
  --text: #000; --muted: #1c1c2e; --navy-ink: #000; --line: rgba(0, 0, 0, 0.55);
  --glass: #fff; --ice: #fff; --ice-2: #e9e9f2; --red: #8a0000;
}
html.a11y-contrast .top, html.a11y-contrast .dock, html.a11y-contrast .live, html.a11y-contrast .consent { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.a11y-contrast .menu__board, html.a11y-contrast .stall, html.a11y-contrast .qa, html.a11y-contrast .acct__card, html.a11y-contrast .qty, html.a11y-contrast .legal__body { border: 2px solid #000; }
html.a11y-contrast .order { background: #000; }
html.a11y-contrast .order__intro > p, html.a11y-contrast .foot { color: #fff; }
html.a11y-contrast .hero__lede, html.a11y-contrast .section-head p:last-child { color: #000; }

/* ---------- discount code, payment choice, tip, totals ---------- */
.promo { display: grid; gap: 0.35rem; }
.promo label { font-weight: 650; font-size: 0.93rem; color: var(--navy-ink); }
.promo__row { display: flex; gap: 0.5rem; }
.promo__row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.promo__row input[readonly] { background: #e6f4ea !important; border-color: #0f7a3e !important; }
.promo__msg { margin: 0; min-height: 1.2em; font-size: 0.9rem; font-weight: 650; color: #0f7a3e; }
.promo__msg.is-bad { color: var(--red); }
.paywith, .tip { border: 0; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.paywith legend, .tip legend { font-weight: 750; color: var(--navy-ink); margin-bottom: 0.4rem; }
.paywith[hidden], .tip[hidden] { display: none; }
.tip__opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tip__opts label { position: relative; }
.tip__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tip__opts span { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1.5px solid #cdd3ea; font-weight: 700; color: var(--navy); }
.tip__opts input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.tip__opts input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sun); }
.tip__amount[hidden] { display: none; }
.summary { display: grid; gap: 0.25rem; padding: 0.8rem 1rem; border-radius: var(--r); background: var(--ice); }
.summary:empty { display: none; }
.summary p { margin: 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--navy-ink); }
.summary .is-off b { color: #0f7a3e; }
.summary .is-total { font-size: 1.1rem; border-top: 1.5px solid var(--line); padding-top: 0.35rem; margin-top: 0.15rem; }
.fee-note { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* coming-soon page (shown only while the site gate is on, see middleware.js) */
.soon {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  background: radial-gradient(120% 80% at 50% 0%, var(--ice) 0%, var(--paper) 60%);
}
.soon__main {
  width: min(100% - 2rem, 40rem);
  padding: clamp(2rem, 6vw, 4rem) 0;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.soon__logo { width: min(260px, 70vw); height: auto; margin-bottom: 0.5rem; }
.soon h1 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); line-height: 1.1; }
.soon__lede { margin: 0; color: var(--muted); max-width: 34rem; }
.soon__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
/* phones with large text: break the email after the @ (the <wbr>), never mid-word */
.soon__contact .btn { overflow-wrap: break-word; max-width: 100%; }
.soon__email { font-size: 0.92em; }
.soon__waves { display: flex; gap: 0.4rem; margin: 1rem 0 0; }
.soon__waves span { width: 2.2rem; height: 0.35rem; border-radius: 1rem; background: var(--navy); animation: soon-wave 1.8s var(--ease) infinite; }
.soon__waves span:nth-child(2) { background: var(--sun); animation-delay: 0.2s; }
.soon__waves span:nth-child(3) { background: var(--red); animation-delay: 0.4s; }
@keyframes soon-wave { 50% { transform: translateY(-4px) scaleX(0.8); } }
@media (prefers-reduced-motion: reduce) { .soon__waves span { animation: none; } }
.soon__foot { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.9em; display: flex; gap: 0.6rem; }
.soon__foot a { color: var(--navy); }
.soon__checking { margin: 0; color: var(--muted); font-size: 0.9em; }

/* pickup QR code (after paying, and in My orders) */
.pickup-qr { display: grid; justify-items: center; gap: 0.5rem; margin-top: 0.8rem; padding: 1rem; border: 2px solid var(--navy); border-radius: var(--r); background: var(--paper); text-align: center; }
.pickup-qr b { color: var(--navy); }
.pickup-qr svg { width: min(220px, 70vw); height: auto; }
.pickup-qr p { margin: 0; color: var(--muted); font-size: 0.9em; }

/* the customer's own order page (/order/) */
.ordp { padding-block: clamp(1.5rem, 4vw, 4rem); display: grid; justify-items: center; }
.ordp__card { width: min(100%, 32rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: clamp(1.1rem, 3vw, 2rem); }
.ordp__card h1 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); margin: 0 0 0.5rem; }
.ordp__lede { margin: 0 0 1rem; color: var(--muted); }
.ordp__num { margin: 0; font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: 0.02em; }
.ordp__qr { margin-block: 0.8rem 1rem; }
.ordp__qrbox { display: block; line-height: 0; }
.ordp__facts { display: grid; gap: 0.8rem; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.ordp__facts > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.6rem; }
.ordp__facts dt { color: var(--muted); font-size: 0.9em; }
.ordp__facts dd { margin: 0; }
.ordp__where { color: var(--muted); font-size: 0.92em; }
.ordp__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.ordp__items span { color: var(--muted); font-variant-numeric: tabular-nums; }
.ordp__actions { display: grid; gap: 0.6rem; margin-top: 1.4rem; }
@media (max-width: 420px) { .ordp__facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* ---------- large phone text and browser zoom: nothing may push the page sideways ---------- */
body { overflow-wrap: break-word; }
.btn { max-width: 100%; text-align: center; }
/* the top bar wraps its buttons to a second line instead of running off the screen */
.top__row { flex-wrap: wrap; row-gap: 0.35rem; padding-block: 0.35rem; container-type: inline-size; }
.top__logo { min-width: 0; }
.top__logo img { height: min(2.9rem, 13vw); }
.top__actions { flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
@container (max-width: 26em) { .top__call span { display: none; } }
@media (min-width: 960px) { .top__logo img { height: 3.2rem; } }
/* headlines grow with the phone's text size, but never wider than the screen */
.hero__title { font-size: min(clamp(2.5rem, 1.2rem + 3.6vw, 5rem), 12.5vw); }
.soon h1 { font-size: min(clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem), 10.5vw); }
.soon__foot { flex-wrap: wrap; justify-content: center; }
.dock a, .dock button { min-width: 0; font-size: min(0.74rem, 3.1vw); }
/* long emails and words wrap instead of widening the page */
.foot a, .legal__body a, .acct a { overflow-wrap: anywhere; }
.dish__name { min-width: 0; overflow-wrap: anywhere; }
.dock svg { width: min(1.4rem, 6vw); height: min(1.4rem, 6vw); }
.link-btn { max-width: 100%; }
.soon__main > * { max-width: 100%; min-width: 0; }
.soon__contact .btn, .soon h1, .eyebrow, h2 { overflow-wrap: anywhere; }
.qa, .qa summary { min-width: 0; overflow-wrap: anywhere; }
.menu__group, .acct__why li { overflow-wrap: anywhere; }
fieldset { min-width: 0; }
summary { overflow-wrap: anywhere; }
/* ---------- photo slider (menu photo and full-screen viewer) ---------- */
.slider { position: relative; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y pinch-zoom; outline: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.slider__track:focus-visible { box-shadow: inset 0 0 0 3px var(--sun); }
.slider__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.slider--contain .slider__slide { display: grid; place-items: center; }
.slider--contain .slider__slide img { object-fit: contain; height: auto; max-height: 100%; }
.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 1.7rem; line-height: 1; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(12, 10, 92, 0.25);
  transition: opacity 0.2s;
}
.slider__nav:active:not(:disabled) { transform: translateY(-50%) scale(0.9); }
.slider__nav--prev { left: 0.6rem; }
.slider__nav--next { right: 0.6rem; }
.slider__nav:disabled { opacity: 0; pointer-events: none; }
.slider__dots { position: absolute; left: 0; right: 0; top: 0.6rem; z-index: 2; display: flex; justify-content: center; gap: 0.15rem; }
.slider__dots button { width: 1.6rem; height: 1.6rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider__dots button::after { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.65); box-shadow: 0 0 0 1px rgba(12, 10, 92, 0.25); transition: width 0.2s; }
.slider__dots button[aria-current="true"]::after { width: 1.3rem; background: #fff; }
.menu__slider .slider__track { aspect-ratio: 4 / 3; cursor: zoom-in; }
.menu__photo figcaption { z-index: 2; pointer-events: none; }

.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0c0a2e; color: #fff;
}
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.viewer::backdrop { background: #0c0a2e; }
.viewer__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.8rem 0.7rem 1.1rem; }
.viewer__title { flex: 1; min-width: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.viewer__count { color: #c9ccf2; font-weight: 700; font-size: 0.95rem; }
.viewer__close { width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.2rem; cursor: pointer; }
.viewer__close:active { transform: scale(0.9); }
.viewer__stage, .viewer__stage .slider__track { height: 100%; min-height: 0; }
.viewer .slider__dots { top: auto; bottom: calc(0.8rem + env(safe-area-inset-bottom)); }
/* shown to admins only while the coming-soon page is on */
.preview-note { background: var(--navy); color: #fff; text-align: center; font-weight: 700; font-size: 0.85rem; padding: 0.45rem var(--gutter); }
/* signed-in account page: two columns that stack on their own (no gaps next to a tall card).
   Phones: one column, in the order people need them. */
.acct__col { display: contents; }
.acct__grid [aria-labelledby="acct-details"] { order: 1; }
.acct__grid [aria-labelledby="acct-orders"] { order: 2; }
.acct__grid [aria-labelledby="acct-loyalty"] { order: 3; }
.acct__grid [aria-labelledby="acct-notify"] { order: 4; }
.acct__grid [aria-labelledby="acct-2fa"] { order: 5; }
@media (min-width: 900px) {
  .acct__col { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
}
/* menu tags: best seller and popular come from real sales; the others are picked by the family */
.dish__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.3rem 0 0; }
.dtag { display: inline-block; padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; background: var(--ice); color: var(--navy); }
.dtag--best { background: var(--red); color: #fff; }
.dtag--popular { background: var(--sun); color: var(--navy-ink); }
.dtag--spicy { background: #fde2d8; color: #9a2a00; }
