/* T13 Bazaar — "the market one, you walk sideways".
   A night market under lanterns. Deep, calm teal ground; cream ink; panels are SOLID lighter teals or
   cream (never rgba — the contrast test ignores a background's alpha). Saffron is an accent only:
   the "+" and primary buttons, prices, the awning bands, the active chip, the knots on the lantern cord.
   WhatsApp actions are a solid deep green with white text. Dela Gothic One for the promise, section
   headings and stall names (sentence case, never large); Rubik for everything else. Radius 22.
   Motion is small and local: the lantern line drifts, a card lifts, a "+" pops, a lantern sways. */

:root {
  --bg: #0E3A40;            /* night-market teal: the page */
  --bg-2: #14484F;          /* cards and panels */
  --bg-3: #1A555D;          /* awning heads, raised bits (no saffron text on this one) */
  --board: #0A2B30;         /* the notice board and the footer: the darkest surface */
  --ink: #F7EBD3;           /* cream */
  --ink-soft: #E6DFCB;
  --ink-muted: #B9CFCB;     /* 7.5:1 on --bg, 6.2:1 on --bg-2, 5.1:1 on --bg-3 */
  --line: #25626B;
  --line-bright: #5E9AA2;
  --cream: #F7EBD3;         /* cream panels: the order slip, tonight's card, the QR card */
  --cream-2: #EFE0C2;
  --teal-ink: #0B2A2E;      /* text on cream */
  --teal-soft: #3E5C5F;     /* quieter text on cream, 6.1:1 */
  --brand: #F2A93B;         /* saffron */
  --brand-ink: #0B2A2E;     /* what is written ON the brand colour */
  --brand-readable: #F2A93B;/* the brand as small text on --bg-2 (5.1:1) and --bg (6.2:1) */
  --brand-on-dark: #F2A93B;
  --wa: #0F7A40;            /* white on it is 5.4:1 */
  --bad: #FFB4A8;
  --r: 22px;
  --r-in: 16px;
  --r-sm: 12px;
  --font-display: "Dela Gothic One", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background-color: var(--bg); background-image: radial-gradient(70rem 34rem at 88% -6rem, #14484F 0, #0E3A40 70%); background-repeat: no-repeat;
  color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.wsf-locked { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, figure, blockquote, table { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.16; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.22; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.4rem, 1.16rem + 1.1vw, 2rem); }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:is(.slip, .qr, .t-today) :focus-visible { outline-color: var(--teal-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--cream); color: var(--teal-ink); padding: 12px 18px; border-radius: 999px; }

/* Urdu and Punjabi: text runs right to left inside a layout that stays as designed. Neither face
   carries the Urdu letters, so the whole page takes the device's own Arabic-script face rather than
   mixing two. */
body.rtl-text { --font-display: "Segoe UI", Tahoma, "Noto Naskh Arabic", system-ui, sans-serif; --font-body: "Segoe UI", Tahoma, "Noto Naskh Arabic", system-ui, sans-serif; line-height: 1.8; }
body.rtl-text :is(h1, h2, h3, h4, p, li, span, b, td, blockquote, small, label, figcaption, dt, dd, input) { unicode-bidi: plaintext; }
body.rtl-text :is(h1, h2) { font-weight: 700; line-height: 1.5; }
body.rtl-text :is(h3, h4) { line-height: 1.5; }
/* A line built from several spans has no strong character of its own, so it is told its direction. */
body.rtl-text :is(.closing-line, .concierge .lede, .week h3, .rituals .day) { direction: rtl; unicode-bidi: isolate; }
body.rtl-text :is(.promises, .points) li { padding-inline: 0 18px; }
body.rtl-text :is(.promises, .points) li::before { left: auto; right: 0; }
body.rtl-text .how { border-inline-start: 0; border-inline-end: 3px solid var(--brand); padding-inline: 0 12px; }
body.no-wa :is(.btn-wa, .mini, .dock-wa) { display: none; }
body.no-wa:not(.has-order) .dock { display: none; }
body.failed :is(main > :not(.hero), .dock, .hero-side, .cta, .lede) { display: none; }

.wrap { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 16px; }
.lede { color: var(--ink-soft); font-size: 1.04rem; max-width: 54ch; }
.hint { color: var(--ink-muted); font-size: .92rem; }
.pr { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand-readable); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 24px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .14s ease; }
.btn:active, .mini:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #FFFFFF; box-shadow: inset 0 0 0 2px var(--cream); }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line { background: var(--cream); color: var(--teal-ink); box-shadow: inset 0 0 0 2px var(--teal-ink); }
.btn.wide { width: 100%; }
.mini { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 40px; padding: 4px 12px; border-radius: 999px; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .14s ease; }
.mini svg { width: 16px; height: 16px; flex: none; }
.plus { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); font-size: 1.45rem; font-weight: 600; line-height: 1;
  display: inline-grid; place-items: center; transition: transform .14s ease; }
.plus:active { transform: scale(.9); }
.plus.added { font-size: 0; animation: t13-pop .32s ease-out; }
.plus.added::after { content: "✓"; font-size: 1.15rem; }
@keyframes t13-pop { 0% { transform: scale(.82); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.out { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; font-size: .88rem; color: var(--ink-muted); }

/* ── The gate (scrolls away) ───────────────────────────────────────────────── */
.gate-in { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; padding-block: 12px 6px; }
.who { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--cream); flex: none; }
.who span { display: grid; min-width: 0; }
.who b { font-weight: 700; font-size: 1.12rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { font-size: .84rem; color: var(--ink-muted); }
.who small:empty { display: none; }
.quick { display: flex; gap: 8px; flex: 1 0 100%; order: 3; }
.quick a { display: inline-flex; align-items: center; min-height: 42px; padding: 4px 16px; margin-top: 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink);
  font-weight: 600; font-size: .92rem; text-decoration: none; }
.lang { display: flex; gap: 4px; flex: none; }
.lang button { min-width: 42px; min-height: 42px; padding: 4px 10px; border-radius: 999px; border: 0; background: var(--bg); font-weight: 600; font-size: .9rem; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--teal-ink); }

/* ── The promise ───────────────────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; gap: 20px; padding-block: 18px 6px; }
.hero-in { display: contents; }
.hero-copy, .hero-side { padding-inline: 16px; min-width: 0; }
.hero-copy { order: 1; display: grid; gap: 14px; justify-items: start; }
.string, .reel { order: 2; }
.hero-side { order: 3; display: grid; gap: 14px; align-content: start; }
.hero h1 { font-size: clamp(2.2rem, 1.56rem + 2.6vw, 3.3rem); max-width: 16ch; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 5px 13px; border-radius: 999px; background: var(--bg-2); font-size: .88rem; font-weight: 500; color: var(--ink); }
.facts:empty { display: none; }
.facts .halal-li { flex-basis: 100%; padding: 0; background: none; border-radius: 0; font-weight: 500; }
.how { max-width: 48ch; padding-inline-start: 12px; border-inline-start: 3px solid var(--brand); color: var(--ink-muted); font-size: .98rem; }

/* The lantern line: a cord, a knot of saffron where each lantern hangs, a thread of its own length,
   a cap, and the dish in a round or arched frame. Two identical runs make the loop seamless. */
.string { position: relative; overflow: hidden; padding: 12px 0 50px; }
.string::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line-bright); }
.string-track { display: flex; width: max-content; animation: t13-drift var(--dur, 70s) linear infinite; }
.string:hover .string-track, .string:focus-within .string-track, .string.paused .string-track, .string.held .string-track { animation-play-state: paused; }
@keyframes t13-drift { to { transform: translateX(-50%); } }
.run { display: flex; align-items: flex-start; gap: 20px; padding-inline-end: 20px; }
.lantern { display: grid; justify-items: center; gap: 8px; width: 112px; padding: 0 0 4px; border: 0; background: none; color: var(--ink); }
.hang { display: grid; justify-items: center; transform-origin: 50% 0; }
.thread { position: relative; width: 2px; height: 16px; background: var(--line-bright); }
.thread::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.l1 .thread { height: 40px; }
.l2 .thread { height: 28px; }
.cap { width: 34px; height: 9px; border-radius: 6px 6px 2px 2px; background: var(--brand); }
.glow { display: block; width: 104px; aspect-ratio: 1; margin-top: -1px; border-radius: 50%; overflow: hidden; border: 3px solid var(--cream); background: var(--bg-3); }
.arch .glow { aspect-ratio: 5 / 6; border-radius: 999px 999px 26px 26px; }
.glow img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; font-size: .8rem; font-weight: 500; line-height: 1.25; text-align: center; }
.lantern:focus-visible { outline-offset: -3px; }
.lantern.sway .hang { animation: t13-sway 1.3s ease-in-out; }
@keyframes t13-sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(3deg); } 62% { transform: rotate(-2deg); } }
.pause { position: absolute; bottom: 2px; left: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pause i { display: block; width: 12px; height: 14px; border-inline: 4px solid var(--ink); }
.pause[aria-pressed="true"] i { width: 0; height: 0; margin-inline-start: 3px; border: 0; border-block: 7px solid transparent; border-inline-start: 12px solid var(--ink); }
.reel video { width: 100%; max-height: 62vh; object-fit: cover; border-radius: var(--r); border: 3px solid var(--cream); background: var(--board); }

/* ── The market ────────────────────────────────────────────────────────────── */
.market { padding-block: 34px 0; scroll-margin-top: 0; }
.market-head { display: grid; gap: 10px; margin-bottom: 14px; }
.search input { width: 100%; max-width: 440px; min-height: 50px; padding: 8px 20px; border-radius: 999px; border: 0; background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-bright); }
.search input::placeholder { color: var(--ink-muted); opacity: 1; }
.noresult { color: var(--ink); padding-block: 14px; }
/* The stall index: previous, a strip of chips, next. It stays at the top of the screen while you are in the market. */
.walk { position: sticky; top: 0; z-index: 20; background: var(--bg); border-block: 1px solid var(--line); }
.walk-in { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; padding-block: 8px; }
.step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); transition: transform .14s ease; }
.step:active { transform: scale(.92); }
.step svg { width: 20px; height: 20px; }
.chips { position: relative; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 42px; padding: 4px 15px; border-radius: 999px; border: 0; background: var(--bg-2); color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.chips button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.slider { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .28s ease, width .28s ease; }
.stall-pos { min-height: 2.2em; padding-block: 8px 2px; color: var(--ink-muted); font-size: .86rem; }
/* The aisle. It scrolls sideways inside its own box; the page itself never does. */
.track { position: relative; display: flex; align-items: stretch; gap: 14px; overflow-x: auto; padding: 6px 16px 20px; scroll-snap-type: x proximity; scroll-padding-inline: 16px;
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--bg-3) var(--bg); }
.stall { flex: 0 0 86vw; max-width: 360px; scroll-snap-align: start; border: 2px solid var(--bg-3); border-radius: var(--r); background: var(--bg); overflow: hidden; }
.stall.here { border-color: var(--line-bright); }
/* The awning: a striped band with a scalloped edge, drawn in solid colours. Also heads the closing band and the pop-up. */
.awning, .closing::before, .wsf-promo-card::before { content: ""; display: block; height: 25px; background-color: var(--bg-3);
  background-image: radial-gradient(circle at 12px 0, var(--brand) 0 11.5px, transparent 12px), radial-gradient(circle at 12px 0, var(--cream) 0 11.5px, transparent 12px),
    repeating-linear-gradient(90deg, var(--brand) 0 24px, var(--cream) 24px 48px);
  background-size: 48px 12px, 48px 12px, 100% 13px; background-position: 0 13px, 24px 13px, 0 0; background-repeat: repeat-x, repeat-x, no-repeat; }
.stall-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 14px 12px; background: var(--bg-3); }
.stall-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; line-height: 1.25; }
body.rtl-text .stall-head h3 { font-weight: 700; }
.count b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: var(--r-in); background: var(--bg-2); min-width: 0; transition: transform .16s ease, box-shadow .16s ease; }
.card h4 { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.open { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; text-align: start; font: inherit; color: var(--ink); }
.ph { display: block; position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-3); aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ph.type { display: grid; place-items: center; }
.ph.type i { font-family: var(--font-display); font-style: normal; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; padding-inline: 4px; }
body.rtl-text .nm { min-height: 3em; }
.card .buy { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-inline-start: 4px; min-height: 40px; }
.card .pr { font-size: .98rem; }
.flag { position: absolute; top: 6px; inset-inline-start: 6px; padding: 2px 9px; border-radius: 999px; background: var(--cream); color: var(--teal-ink); font-size: .74rem; font-weight: 700; line-height: 1.4; }
.soldout img { filter: grayscale(.9); opacity: .7; }
.card.soldout :is(.nm, .pr) { color: var(--ink-muted); }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 5px 0 var(--board); }
  .card:hover .ph img, .sig:hover .ph img { transform: rotate(1deg) scale(1.04); }
  .plus:hover, .step:hover { transform: scale(1.08); }
  .btn:hover, .mini:hover { transform: translateY(-1px); }
  .lantern:hover .hang { animation: t13-sway 1.3s ease-in-out; }
  .chips button:hover { background: var(--bg-3); }
  .chips button[aria-pressed="true"]:hover { background: var(--brand); }
}

/* ── Kitchen tonight: a notice board ───────────────────────────────────────── */
.tonight { padding-block: 40px 0; }
.board { position: relative; display: grid; gap: 18px; padding: 26px 16px 20px; border: 3px solid var(--bg-3); border-radius: var(--r); background: var(--board); }
.board::before, .board::after { content: ""; position: absolute; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.board::before { left: 12px; }
.board::after { right: 12px; }
.board h2 { padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.stats div { display: grid; gap: 2px; align-content: start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.stats b { font-weight: 700; font-size: 1.28rem; line-height: 1.2; }
.stats span { font-size: .88rem; color: var(--ink-muted); }
.soldline { color: var(--ink-muted); }
.t-today { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px; border-radius: var(--r-in); background: var(--cream); color: var(--teal-ink); }
.t-today:not(:has(.ph)) { grid-template-columns: minmax(0, 1fr); padding: 16px; }
.t-today .ph { aspect-ratio: 1; background: var(--cream-2); }
.t-today-body { display: grid; gap: 6px; padding: 4px 4px 4px 0; min-width: 0; justify-items: start; }
.when { padding: 2px 11px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 700; }
.t-today h3 { font-size: 1.3rem; }
.t-today .d { color: var(--teal-soft); font-size: .96rem; }
.t-today .buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.t-today .pr { font-size: 1.45rem; color: var(--teal-ink); }
.was s { color: var(--teal-soft); font-variant-numeric: tabular-nums; }
.week { display: grid; gap: 8px; }
.week h3 { font-size: 1.2rem; }
.week-note { color: var(--ink-muted); max-width: 56ch; }
.rituals { margin-top: 6px; border-bottom: 1px dashed var(--line); }
.rituals li { display: grid; gap: 6px 20px; padding: 14px 0; border-top: 1px dashed var(--line); }
.rituals li.now { border-top: 2px solid var(--brand); }
.rituals .day { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink-muted); }
.rituals .day b { padding: 1px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 700; }
.rituals h4 { font-size: 1.08rem; }
.rituals .what p { color: var(--ink-muted); font-size: .94rem; }
.rituals .buy { display: flex; align-items: center; gap: 14px; }
.rituals .pr { font-size: 1.1rem; }

/* ── The stalls everyone visits first ──────────────────────────────────────── */
.sigs { padding-block: 44px 0; display: grid; gap: 18px; }
.sig-list { display: grid; gap: 12px; }
.sig { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px; border-radius: var(--r); background: var(--bg-2); transition: transform .16s ease, box-shadow .16s ease; }
button.ph { width: 100%; padding: 0; border: 0; }
.sig .ph { aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--cream); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--bg-3); color: var(--ink); font-family: var(--font-display); font-size: 2rem; }
.sig-body { display: grid; gap: 5px; align-content: start; padding: 2px 4px 2px 0; min-width: 0; }
.sig h3 { font-size: 1.08rem; }
.d { color: var(--ink-muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sig .buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.sig .pr { font-size: 1.1rem; margin-inline-end: auto; }

/* ── Find your dish, and the order slip ────────────────────────────────────── */
.pair { display: grid; gap: 16px; padding-block: 44px 0; }
.panel { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: var(--r); background: var(--bg-2); min-width: 0; }
.asks { display: grid; gap: 10px; }
.ask { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lbl { font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.ask .lbl { flex: 0 0 100%; }
.ask button { min-width: 44px; min-height: 44px; padding: 4px 15px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; transition: background-color .2s ease; }
.ask button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.pick:empty { display: none; }
.pick-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: var(--r-in); background: var(--bg); }
.pick-card .ph { aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--cream); align-self: start; }
.pick-card .what { display: grid; gap: 4px; align-content: start; min-width: 0; }
.pick-card h3 { font-size: 1.12rem; }
.why { font-size: .9rem; color: var(--ink-muted); }
.why:empty { display: none; }
.asked { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.asked span { padding: 1px 9px; border-radius: 999px; background: var(--bg-2); font-size: .78rem; font-weight: 500; color: var(--ink); }
.pick-card .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
/* The order: a cream slip, the one bright sheet of paper in the market. */
.slip { display: grid; gap: 14px; align-content: start; padding: 20px 18px; border-radius: var(--r); background: var(--cream); color: var(--teal-ink); min-width: 0; scroll-margin-top: 12px; }
.slip h2 { padding-bottom: 12px; border-bottom: 2px dashed var(--teal-soft); }
.slip-intro, .per, .paynote { color: var(--teal-soft); font-size: .94rem; }
.plan { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.slip .lbl { color: var(--teal-soft); }
.party { display: flex; flex-wrap: wrap; gap: 6px; }
.party button { min-width: 46px; min-height: 46px; padding: 4px 14px; border-radius: 999px; border: 0; background: var(--cream); color: var(--teal-ink); box-shadow: inset 0 0 0 1.5px var(--teal-ink); font-weight: 600; }
.party button[aria-pressed="true"] { background: var(--teal-ink); color: var(--cream); }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; min-width: 0; min-height: 40px; accent-color: var(--teal-ink); }
.range b { min-width: 3.2ch; font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { padding: 14px; border-radius: var(--r-sm); background: var(--cream-2); color: var(--teal-soft); }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--teal-soft); }
.lines .n { min-width: 0; font-weight: 500; }
.lines .q { display: inline-flex; align-items: center; gap: 4px; }
.lines .q button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--teal-ink); box-shadow: inset 0 0 0 1.5px var(--teal-ink); font-size: 1.2rem; font-weight: 600; line-height: 1; }
.lines .q b { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.lines .p { min-width: 62px; text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.slip > .sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 2px solid var(--teal-ink); font-weight: 600; }
.slip > .sum b { font-weight: 700; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.slip .btn-wa { box-shadow: none; }
.link { justify-self: start; min-height: 44px; padding: 4px 2px; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--teal-ink); }

/* ── Maya ──────────────────────────────────────────────────────────────────── */
.concierge { padding-block: 44px 0; }
.maya-in { gap: 18px; }
.maya-copy { display: grid; gap: 12px; align-content: start; justify-items: start; min-width: 0; }
.promises { display: grid; gap: 10px; }
.promises li { display: grid; gap: 1px; padding-inline-start: 18px; position: relative; }
.promises li::before, .points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.promises b { font-weight: 600; }
.promises span { color: var(--ink-muted); font-size: .95rem; }
.chat { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--r-in); background: var(--bg); }
.chat p { max-width: 86%; padding: 8px 13px; border-radius: 16px; font-size: .94rem; line-height: 1.4; }
.chat .me { justify-self: end; background: var(--cream); color: var(--teal-ink); border-end-end-radius: 5px; }
.chat .maya { justify-self: start; background: var(--bg-3); color: var(--ink); border-end-start-radius: 5px; }

/* ── The owner's story, the guest wall ─────────────────────────────────────── */
.story { padding-block: 44px 0; display: grid; gap: 18px; }
.story-wrap { display: grid; gap: 20px; }
.portrait { max-width: 280px; border: 4px solid var(--cream); border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--bg-3); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-body { display: grid; gap: 14px; max-width: 64ch; }
.story-body p { font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
body.rtl-text .story-body p { line-height: 2; }
.story-body h3 { font-size: 1.16rem; margin-top: 6px; }
.story-body .sign { font-weight: 700; }
.guests { display: grid; gap: 16px; padding-block: 44px 0; }
.score { color: var(--ink-muted); font-weight: 500; }
.quotes { display: grid; gap: 12px; }
.quote { display: grid; gap: 12px; align-content: space-between; padding: 18px; border-radius: var(--r); background: var(--bg-2); }
.quote blockquote { font-size: 1.04rem; line-height: 1.5; }
.quote figcaption { font-weight: 600; font-size: .94rem; color: var(--ink-muted); }
.stars { color: var(--brand-readable); letter-spacing: 1px; }

/* ── Reservations, catering, visit ─────────────────────────────────────────── */
#reserve, #catering { padding-block: 44px 0; scroll-margin-top: 0; }
.points { display: grid; gap: 6px; }
.points li { position: relative; padding-inline-start: 18px; color: var(--ink-soft); }
.packs { display: grid; gap: 10px; }
.packs:empty { display: none; }
.pack { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-in); background: var(--bg); }
.pack h3 { font-size: 1.06rem; }
.pack p { color: var(--ink-muted); font-size: .94rem; }
.pack .serves { font-weight: 600; color: var(--ink); }
#catering .btn { justify-self: start; }
.visit { padding-block: 44px 0; display: grid; gap: 18px; }
.visit-grid { display: grid; gap: 16px; }
.visit h3 { font-size: 1.16rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: end; }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.today td { font-weight: 700; }
.hours tr.today td:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-inline-end: 8px; }
.addr { font-size: 1.04rem; font-weight: 500; }
.addr:empty { display: none; }
.where-act { display: flex; flex-wrap: wrap; gap: 10px; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--r-in); background: var(--bg); }
.qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--cream); color: var(--teal-ink); }
.qr img { width: 132px; height: 132px; padding: 6px; border-radius: var(--r-sm); background: #FFFFFF; }
.qr div { display: grid; gap: 6px; }
.qr p { color: var(--teal-soft); font-size: .94rem; }

/* Booking widget (shared/reserve.js ships hooks only) */
.wsr { display: grid; gap: 14px; }
.wsr-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsr-field { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.wsr-field :is(select, input) { width: 100%; min-height: 48px; padding: 8px 16px; border-radius: var(--r-sm); border: 0; box-shadow: inset 0 0 0 1.5px var(--line-bright); background: var(--bg); color: var(--ink); font-weight: 500; }
.wsr-field input::placeholder { color: var(--ink-muted); opacity: 1; }
.wsr-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.wsr-slot { min-height: 46px; padding: 6px 16px; border-radius: 999px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; color: var(--ink); }
.wsr-slot small { display: block; font-size: .72rem; font-weight: 500; color: var(--ink-muted); }
.wsr-slot[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.wsr-slot[aria-pressed="true"] small { color: var(--brand-ink); }
.wsr-slot.is-out { color: var(--ink-muted); text-decoration: line-through; box-shadow: none; }
.wsr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 2px dashed var(--line); }
.wsr-form > :not(.wsr-field), .wsr-wide { grid-column: 1 / -1; }
.wsr-chosen { font-weight: 700; font-size: 1.08rem; }
.wsr-check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .92rem; }
.wsr-check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.wsr-submit, .wsr-wa, .wsr-waitlist { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 52px; padding: 8px 26px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; }
.wsr-submit { background: var(--brand); color: var(--brand-ink); }
.wsr-submit:disabled { background: var(--bg-3); color: var(--ink); }
.wsr-wa, .wsr-waitlist { background: var(--wa); color: #FFFFFF; box-shadow: inset 0 0 0 2px var(--cream); }
.wsr-error { color: var(--bad); font-weight: 600; }
.wsr-policy, .wsr-bigparty, .wsr-closed, .wsr-off, .wsr-loading { color: var(--ink-muted); font-size: .9rem; margin: 0; }
.wsr-closed, .wsr-off { flex-basis: 100%; }
.wsr-policy { display: grid; gap: 2px; padding-inline-start: 18px; list-style: disc; }
.wsr-policy:empty { display: none; }
.wsr-done { display: grid; gap: 6px; }
.wsr-done h3 { font-size: 1.24rem; }

/* ── Closing, footer ───────────────────────────────────────────────────────── */
.closing { margin-top: 48px; background: var(--bg-2); }
.closing::before { background-color: var(--bg-2); }
.closing .wrap { display: grid; gap: 12px; justify-items: start; padding-block: 30px 44px; }
.closing-line { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1.2; }
body.rtl-text .closing-line { font-weight: 700; line-height: 1.5; }
.closing-note { color: var(--ink-muted); max-width: 46ch; }
/* The floating button sits over the foot of the page, so the footer keeps clear space for it. */
.foot { background: var(--board); padding-block: 28px calc(96px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: grid; gap: 10px; justify-items: start; }
.foot p { color: var(--ink-muted); font-size: .92rem; }
.fine a { display: inline-flex; align-items: center; min-height: 42px; min-width: 42px; font-weight: 600; color: var(--ink); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials .social { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-2); color: var(--ink); }
.socials .social svg { width: 20px; height: 20px; }

/* ── The floating button ───────────────────────────────────────────────────── */
.dock { position: fixed; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 4px; border-radius: 999px; }
.dock.has { padding: 5px; background: var(--bg-3); box-shadow: 0 0 0 2px var(--cream), 0 10px 24px rgba(3, 18, 20, .55); }
.dock.pop { animation: t13-pop .32s ease-out; }
.dock-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 60px; height: 60px; border-radius: 999px; background: var(--wa); color: #FFFFFF;
  box-shadow: inset 0 0 0 2px var(--cream), 0 8px 20px rgba(3, 18, 20, .55); font-weight: 600; text-decoration: none; }
.dock-wa svg { width: 30px; height: 30px; flex: none; }
.dock-wa span { display: none; }
.dock.has .dock-wa { width: auto; min-width: 52px; height: 52px; padding: 0 14px; box-shadow: inset 0 0 0 2px var(--cream); }
.dock.has .dock-wa svg { width: 24px; height: 24px; }
.dock-review { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 8px 0 6px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.dock-review .n { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--cream); color: var(--teal-ink); font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dock-review .s { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Dish sheet and tonight's pop-up (shared/floor.js ships hooks only) ────── */
.wsf-sheet, .wsf-promo { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.wsf-sheet-back, .wsf-promo-back { position: absolute; inset: 0; background: rgba(3, 18, 20, .74); }
.wsf-sheet-card, .wsf-promo-card { position: relative; z-index: 1; width: min(860px, 100%); max-height: 92vh; overflow: auto; overscroll-behavior: contain;
  background: var(--bg-2); color: var(--ink); border-radius: var(--r) var(--r) 0 0; box-shadow: inset 0 0 0 2px var(--bg-3); animation: t13-in .2s ease-out; }
@keyframes t13-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wsf-promo-card { width: min(460px, 100%); }
.wsf-promo-card::before { background-color: var(--bg-2); }
.wsf-sheet-close, .wsf-promo-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--teal-ink); font-size: 1.5rem; line-height: 1; }
.wsf-promo-close { top: 34px; }
.wsf-sheet-media, .wsf-promo-media { padding: 12px 12px 0; }
.wsf-sheet-media img, .wsf-promo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-in); }
.wsf-sheet-body, .wsf-promo-body { display: grid; gap: 10px; padding: 18px 20px 22px; }
.wsf-sh-cat { font-size: .86rem; font-weight: 600; color: var(--brand-readable); padding-inline-end: 48px; }
.wsf-sh-cat:empty, .wsf-sh-alt:empty, .wsf-sh-story:empty, .wsf-pairs:empty { display: none; }
.wsf-sheet-body h3 { font-size: 1.5rem; padding-inline-end: 44px; }
.wsf-promo-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
body.rtl-text .wsf-promo-body h3 { font-weight: 700; }
.wsf-sh-alt { color: var(--ink-muted); }
.wsf-sh-story, .wsf-promo-body p { color: var(--ink-soft); }
.wsf-facts { display: grid; margin: 0; border-top: 1px dashed var(--line-bright); }
.wsf-facts > div { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line-bright); }
.wsf-facts dt { min-width: 84px; font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.wsf-facts dd { margin: 0; }
.wsf-heat { display: inline-flex; gap: 4px; align-items: center; }
.wsf-heat i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); }
.wsf-heat i.on { background: var(--brand); }
.wsf-heat span { margin-inline-start: 6px; font-size: .92rem; }
.wsf-pairs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wsf-pairs-label, .wsf-sh-sizes-label { font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.wsf-pairs button, .wsf-sh-sizes button { min-height: 46px; padding: 6px 15px; border-radius: 999px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; color: var(--ink); }
.wsf-sh-sizes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.wsf-sh-sizes button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.wsf-sh-sizes small { display: block; font-size: .78rem; font-weight: 500; }
.wsf-sheet-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 2px dashed var(--line-bright); }
.wsf-sh-price { font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--brand-readable); }
.wsf-promo-price { font-weight: 700; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.wsf-promo-body .wsf-promo-price { color: var(--ink); }
.wsf-promo-price s { font-size: 1rem; font-weight: 500; color: var(--ink-muted); margin-inline-start: 6px; }
.wsf-sh-add, .wsf-promo-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 26px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; }
.wsf-sh-add { background: var(--brand); color: var(--brand-ink); }
.wsf-promo-cta { background: var(--wa); color: #FFFFFF; box-shadow: inset 0 0 0 2px var(--cream); margin-top: 4px; }
.wsf-promo-badge { justify-self: start; padding: 2px 11px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 700; }
.wsf-promo-skip { justify-self: start; min-height: 44px; padding: 4px 2px; border: 0; background: none; color: var(--ink-muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── From 480px: the pill has room for its words ───────────────────────────── */
@media (min-width: 480px) {
  .dock.has .dock-wa span { display: inline; }
  .dock.has .dock-wa { padding: 0 18px 0 14px; }
}

/* ── From 700px ────────────────────────────────────────────────────────────── */
@media (min-width: 700px) {
  .wrap { padding-inline: 28px; }
  .hero-copy, .hero-side { padding-inline: 28px; }
  .quick { flex: none; order: 0; }
  .quick a { margin-top: 0; }
  .run { gap: 30px; padding-inline-end: 30px; }
  .lantern { width: 150px; }
  .glow { width: 140px; }
  .tag { font-size: .86rem; }
  .l1 .thread { height: 52px; }
  .l2 .thread { height: 34px; }
  .track { gap: 18px; padding-inline: max(28px, calc((100% - 1232px) / 2 + 36px)); scroll-padding-inline: max(28px, calc((100% - 1232px) / 2 + 36px)); }
  .stall { flex-basis: 452px; max-width: 452px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; }
  .board { padding: 30px 26px 26px; }
  .board::before { left: 16px; }
  .board::after { right: 16px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t-today { grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 12px; }
  .t-today-body { align-content: center; padding-block: 8px; }
  .t-today h3 { font-size: 1.6rem; }
  .rituals li { grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; }
  .sig-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ask .lbl { flex: 0 0 96px; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wsf-sheet, .wsf-promo { place-items: center; padding: 24px; }
  .wsf-sheet-card, .wsf-promo-card { border-radius: var(--r); }
  .wsf-sheet-card:has(.wsf-sheet-media:not([hidden])) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .wsf-sheet-media { padding: 12px 0 12px 12px; }
  .wsf-sheet-media img { aspect-ratio: 1; }
}

/* ── From 960px ────────────────────────────────────────────────────────────── */
@media (min-width: 960px) {
  .wrap { padding-inline: 36px; }
  .gate-in { padding-block: 16px 8px; }
  .hero { gap: 30px; padding-block: 34px 10px; }
  .hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; order: 1; }
  .hero-copy, .hero-side { padding-inline: 0; }
  .hero-copy { gap: 18px; }
  .lantern { width: 176px; }
  .glow { width: 164px; }
  .pause { left: max(36px, calc((100% - 1232px) / 2 + 36px)); }
  .market { padding-block: 44px 0; }
  .tonight, .sigs, .pair, .concierge, .story, .guests, #reserve, #catering, .visit { padding-block: 60px 0; }
  .sig-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .sig { padding: 12px; }
  .pair { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
  .panel, .slip { padding: 26px; }
  .maya-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; align-items: center; }
  .story-wrap:has(.portrait:not([hidden])) { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; }
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
  .qr { grid-column: 1 / -1; justify-self: start; padding: 20px 28px 20px 20px; }
  .closing { margin-top: 64px; }
  .closing .wrap { padding-block: 40px 56px; }
  .dock { right: 24px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* The lantern line stands still and can be scrolled by hand; its second run and the pause button go. */
  .string { overflow-x: auto; }
  .run.clone, .pause { display: none; }
  .card:hover, .card:hover .ph img, .sig:hover .ph img, .plus:hover, .step:hover, .btn:hover, .mini:hover, .btn:active, .plus:active, .step:active { transform: none; }
}

.pack:only-child { grid-column: 1 / -1; }
