/* Shanghai Shanghai (映水塘) — front-facing site.
   Built from Weslie's ink-and-watercolour illustration: warm paper, plaque
   navy, watercolour blue, gold hairlines and the red cloud. The Book band
   is the one navy surface, like the plaque. (Until 2026-10-07 it was the
   shopfront at night; the night stylesheet is in git history.) */

:root {
  /* The paper of Weslie's ink-and-watercolour illustration (2026-10-07).
     The token NAMES are from the night version; their values are paper now:
     --night is the page ground, --white the main text (plaque navy). */
  --night: #fbf7ec;
  --night-2: #f4eddc;
  --line: #e3d7bf;
  --paper: #fbf7ec;
  --paper-line: #e3d7bf;
  --ink: #1b2c4f;
  --ink-2: #4a5170;
  --white: #1b2c4f;
  --muted: #4a5170;   /* navy-grey ink for body copy (was a brown grey) */
  --blue: #2975bb;     /* the logo's script: fills and buttons */
  --blue-ink: #1f5d96; /* blue text on paper */
  --neon: #2a6aa8;     /* blue text: the watercolour blue */
  --navy: #1b2c4f;     /* the plaque */
  --gold: #b8954a;     /* the plaque's rim and the cloud outlines */
  --red: #c03836;      /* the cloud: fills, and Chinese on paper */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --r: 6px;
  /* Cinzel: the nearest web face to the logo's "CHINESE RESTAURANT & BAR". */
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  /* EB Garamond: body text, a classical book face that sits with Cinzel and
     the ink illustration. Instrument Sans stays for the menu rows and UI. */
  --text: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zh: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--white); font: 400 19px/1.55 var(--text); font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--neon); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 3px; }
.zh { font-family: var(--zh); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small caps labels, after the logo's "CHINESE RESTAURANT & BAR" line. */
.label { display: block; font: 600 13px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: .02em; }
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: 22px; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Cloud: the logo's own, as a mask, in red. */
.cloud { display: inline-block; width: 120px; aspect-ratio: 316 / 200; background: var(--red);
  -webkit-mask: url(images/cloud.svg) center / contain no-repeat; mask: url(images/cloud.svg) center / contain no-repeat; }
.cloud.sm { width: 28px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r);
  border: 1.5px solid var(--blue); background: var(--blue); color: #fff;
  font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #3384cf; border-color: #3384cf; color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: rgba(27, 44, 79, .45); }
.btn.ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn.neon { background: transparent; color: var(--neon); border-color: var(--neon); }
.btn.neon:hover { background: var(--neon); color: #fff; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.light .btn.ghost { color: var(--ink); border-color: var(--ink); }
.light .btn.ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Ordering switch: <body data-ordering="paused|live"> */
body[data-ordering="paused"] .when-live { display: none !important; }
body[data-ordering="live"] .when-paused { display: none !important; }

/* ── Header ──────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 236, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: block; flex: none; transition: opacity .25s; }
.brand img { width: 170px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font: 600 15px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--neon); }
/* Phones: one row (logo · MENU · Book a table) over a slim language row,
   about 96px in all. The other links are on the page itself. */
@media (max-width: 760px) {
  .top .wrap { min-height: 0; gap: 0 10px; padding-top: 6px; }
  .brand img { width: 108px; }
  .nav { margin-left: auto; gap: 0; }
  .nav a { font-size: 13px; letter-spacing: .1em; }
  .nav a:not([href="menu"]) { display: none; }
  .top .btn { margin-left: 4px; min-height: 36px; padding: 0 12px; font-size: 12px; }
}

/* ── Hero: Weslie's illustration ────────────────────────────── */
/* The ink-and-watercolour scene carries the logo plaque, so the words sit
   centred beneath it on the same paper. (Was a dark food photo until
   2026-10-07; it read as a hole in the paper.) */
.hero.hero-art-wrap { padding: 8px 0 clamp(32px, 4vw, 56px); text-align: center; }
/* Full width on any screen: the art's own edges fade into the paper, and
   on very wide/short screens it crops sky top and bottom rather than grow
   taller than ~62% of the window. */
.hero-art { display: block; width: 100%; height: auto; max-height: clamp(220px, calc(100svh - 470px), 62vh); min-height: 220px; object-fit: cover; object-position: 50% 68%; margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.hero picture { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.hero .hero-copy { max-width: 760px; margin: clamp(4px, 1vw, 12px) auto 0; }
.hero h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; text-wrap: balance; }
.hero .lede { margin: 0 auto 28px; }
.hero .actions { justify-content: center; }
@media (max-width: 700px) { .hero.hero-art-wrap { padding-top: 0; } .hero .hero-copy { margin-top: 0; } }

/* ── Two kitchens ────────────────────────────────────────── */
.kitchens-intro { padding-bottom: clamp(40px, 5vw, 64px); }
.kitchens-intro p { margin: 16px 0 0; }
.kitchen { background: var(--night-2); padding: clamp(36px, 5vw, 64px) 0; }
.kitchen + .kitchen { border-top: 1px solid rgba(184, 149, 74, .4); }
.kitchen-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kitchen.flip .kitchen-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.kitchen.flip .kitchen-grid > :first-child { order: 2; }
.kitchen .big { display: block; font: 900 clamp(64px, 8vw, 104px)/1 var(--zh); letter-spacing: .04em; color: var(--white); margin-bottom: 18px; }
/* Sichuan in the cloud red (Weslie): the big 川菜 and its menu link. */
.kitchen.sichuan .big { color: var(--red); }
.kitchen.sichuan .btn.neon { color: var(--red); border-color: var(--red); }
.kitchen.sichuan .btn.neon:hover, .kitchen.sichuan .btn.neon:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.kitchen p { color: var(--muted); margin: 0 0 24px; max-width: 30em; }
.kitchen .wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.pair figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; }
.pair figcaption .zh { display: block; font-weight: 500; color: var(--muted); }
/* The dishes are cut-outs on transparency: they sit straight on the night
   ground, no card, frame or crop (the Umami rule). */
.dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.dish img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(27, 44, 79, .18)); transition: transform .3s; }
.dish:hover img { transform: scale(1.03) rotate(-1deg); }
@media (prefers-reduced-motion: reduce) { .dish:hover img { transform: none; } }
.dish p { margin: 4px 0 0; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--white); }
.dish .zh { display: block; margin-top: 3px; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) {
  .kitchen-grid { grid-template-columns: 1fr; }
  .kitchen.flip .kitchen-grid { grid-template-columns: 1fr; }
  .kitchen.flip .kitchen-grid > :first-child { order: 0; }
  .dishes { gap: 8px 14px; }
}

/* ── Book a table: tap a day ─────────────────────────────── */
.light { background: var(--paper); color: var(--ink); }
.light .lede, .light .label { color: var(--ink-2); }
.light a { color: var(--blue-ink); }
.light a:hover { color: var(--ink); }
.light .btn, .light .btn:hover { color: #fff; }
.light :focus-visible { outline-color: var(--blue); }
/* The one navy surface on the page, like the plaque in the illustration,
   rimmed in its gold. */
.book-band, .book-band.light { background: var(--navy); color: #f6f1e4; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); box-shadow: inset 0 5px 0 var(--navy), inset 0 6px 0 var(--gold), inset 0 -5px 0 var(--navy), inset 0 -6px 0 var(--gold); padding: clamp(56px, 7vw, 88px) 0; }
.book-band .label, .book-band .lede { color: #c9c2ae; }
.book-band h2 { color: #fff; }
.book-band a { color: #f6f1e4; }
.book-band a:hover { color: #fff; }
.book-band :focus-visible { outline-color: #f6f1e4; }
/* The plaque from the illustration: a gold double rule, the logo's red cloud once, everything centred. */
.book-plaque { position: relative; text-align: center; padding: clamp(36px, 5vw, 56px) clamp(16px, 4vw, 56px);
  border: 1px solid rgba(184, 149, 74, .75); outline: 1px solid rgba(184, 149, 74, .35); outline-offset: 6px; border-radius: 4px;
  background: rgba(255, 255, 255, .02); }
.book-cloud { display: block; width: 44px; height: auto; margin: 0 auto 14px; }
.book-plaque .label { color: var(--gold); letter-spacing: .3em; }
.book-plaque h2 { margin-bottom: 12px; }
.book-plaque .lede { max-width: 38em; margin: 0 auto 32px; font-size: 20px; }
.days { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; max-width: 1000px; }
.day { position: relative; display: grid; justify-items: center; gap: 2px; padding: 16px 8px 14px; border: 1px solid rgba(184, 149, 74, .55); border-radius: 6px; background: #fbf7ec; color: var(--navy); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.book-band .day { color: var(--navy); }
/* beats ".book-band a:hover { color: #fff }", which turned the numeral white */
.book-band .day:hover, .book-band .day:focus-visible { color: var(--navy); }
.day:hover, .day:focus-visible { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); color: var(--navy); }
.day .d-name { font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.day .d-num { font: 600 38px/1.05 var(--display); display: flex; align-items: baseline; gap: 5px; }
.day .d-mon { font: 600 13px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.day .d-zh { font: 500 13px var(--zh); color: var(--ink-2); letter-spacing: .1em; }
.day .d-hours { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(184, 149, 74, .4); width: 100%; font-size: 13px; color: var(--ink-2); }
.day.is-today { background: #f6ecd2; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.day.is-today .d-name { color: #8a6a26; }
.book-more, .text-link { display: inline-flex; gap: 8px; margin-top: 24px; font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #f6f1e4; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.book-band .book-more:hover { color: #fff; border-color: #fff; }
.book-foot { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; margin-top: 28px; }
.book-foot p { margin: 0; color: #c9c2ae; }
@media (max-width: 1000px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) { .book-plaque { outline-offset: 4px; padding: 32px 14px; } .day .d-num { font-size: 32px; } }
@media (max-width: 760px) {
  .book-head { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { min-height: 0; }
  .days li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── Parties ─────────────────────────────────────────────── */
.parties { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
#parties { padding: clamp(48px, 6vw, 72px) 0 clamp(16px, 2vw, 24px); }
.parties figure { margin: 0; }
.parties figure.parties-art { align-self: center; }
.occasions { list-style: none; margin: 18px 0 20px; padding: 0; border-top: 1px solid var(--line); }
.occasions li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.occasions h3 { font-size: 18px; margin-bottom: 4px; }
.occasions p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.45; }
@media (max-width: 860px) { .parties { grid-template-columns: 1fr; } }

/* ── Find us ─────────────────────────────────────────────── */
/* Three columns on desktop (contact | hours | map) so the section stays short. */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
#visit { padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 40px); }
.visit h2 { margin-bottom: 20px; }
.facts { display: grid; gap: 16px; margin: 0; }
.facts dt { font: 600 12px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 18px; }
.facts .note { font-size: 16px; color: var(--muted); }
.hours-col { padding-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b0a78f; }
.status.open::before { background: #4cc38a; box-shadow: 0 0 0 4px rgba(76, 195, 138, .18); }
.hours { border-collapse: collapse; width: 100%; max-width: 340px; font-size: 15px; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--neon); font-weight: 600; }
.facts ul.note { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.visit .actions { margin-top: 20px; }
.visit .actions .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
/* The map drawn like the hero illustration: paper ground, a watercolour
   wash on the buildings, navy ink outlines with a slight hand wobble
   (#m-ink), navy labels, and the name on a gold-rimmed navy plaque. */
.mapbox { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px rgba(184, 149, 74, .55); background: #fbf7ec; }
.map { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.map .m-ground { fill: #fbf7ec; }
.map .m-grn { fill: #dbe6d3; stroke: #6f8f74; stroke-width: .5; filter: url(#m-ink); }
.map .m-park { fill: #f1ead9; }
.map .m-water { fill: none; stroke: #a9c6e2; stroke-width: 6; }
.map .m-bld { fill: #dde6ee; stroke: #2a4468; stroke-width: .45; stroke-opacity: .55; filter: url(#m-wash) url(#m-ink); }
.map .m-foot { fill: none; stroke: #8aa0b8; stroke-width: 1; stroke-dasharray: 2.5 3; }
.map .m-case { fill: none; stroke: #2a4468; stroke-opacity: .55; stroke-linecap: round; stroke-linejoin: round; filter: url(#m-ink); }
.map .m-road { fill: none; stroke: #fdfaf2; stroke-linecap: round; stroke-linejoin: round; filter: url(#m-ink); }
.map .m-st { font: 600 8.5px var(--display); letter-spacing: .06em; fill: var(--navy); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: #fdfaf2; stroke-width: 3px; }
.map .m-minor { font-size: 7px; font-weight: 500; fill: #4c5e78; }
.map .m-p rect { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.map .m-p text { fill: var(--navy); font: 700 12px var(--display); }
.map .m-tag { fill: var(--navy); stroke: var(--gold); stroke-width: 1.2; }
.map .m-tagrim { fill: none; stroke: var(--gold); stroke-width: .5; stroke-opacity: .8; }
.map .m-tagtxt { font: 600 10.5px var(--display); letter-spacing: .04em; fill: #fbf7ec; }
.map .m-tagzh { font-family: var(--zh); font-weight: 700; fill: #fbf7ec; }
.osm { position: absolute; right: 0; bottom: 0; background: rgba(251, 247, 236, .92); color: var(--muted); font-size: 11px; padding: 2px 8px; border-top-left-radius: 6px; }
.osm a { color: var(--muted); }
@media (max-width: 1060px) { .visit { grid-template-columns: 1fr 1fr; } .visit .visit-location { grid-column: 1 / -1; } .map { aspect-ratio: 16 / 9; } }
@media (max-width: 700px) { .visit { grid-template-columns: 1fr; } .map { aspect-ratio: 5 / 4; } }

/* ── Finale + footer: the cream ink-and-watercolour illustration ── */
/* Weslie's illustration closes the page; the footer below takes its paper,
   its plaque navy and its gold line, so the two read as one piece. The rest
   of the site stays night. --cream is sampled from the art's own edges. */
:root { --cream: #fbf7ec; --navy: #1b2c4f; --gold: #b8954a; }
/* The page ends on the drawn shopfront, its feet in the cloud ribbon. */
.finale { --rib: min(900px, 140vw); --grow: 0; position: relative; background: var(--cream); padding: clamp(16px, 3vw, 40px) 16px 44px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; overflow-x: clip; overflow-y: visible; }
/* 44px of paper under the ribbon: the scroll drift moves it down up to 40px,
   and only the sides are clipped (the ribbon is wider than phones). */
.finale .art-shopfront { position: relative; z-index: 1; width: min(560px, 90vw); max-width: none; margin: 0; }
/* cloud-ribbon-tight is the ribbon cropped to its clouds (ratio .142): it
   sits across the shopfront's base, the upper half overlapping its feet. */
.finale-ribbon { position: relative; z-index: 2; justify-self: start; margin-left: calc(50% - var(--rib) / 2); width: var(--rib); max-width: none; height: auto; margin-top: calc(var(--rib) * -.142 * .55); pointer-events: none; }
.foot { background: var(--cream); color: var(--navy); padding: 8px 0 40px; font-size: 17px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; border-top: 1px solid rgba(184, 149, 74, .55); padding-top: 32px; }
.foot p { margin: 0 0 10px; line-height: 1.55; }
.foot .foot-h { margin-bottom: 6px; font: 600 12px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.foot a { color: var(--navy); text-decoration-color: rgba(27, 44, 79, .35); text-underline-offset: 3px; }
.foot a:hover { color: #2975bb; }
.foot :focus-visible { outline-color: #2975bb; }
.foot nav { display: grid; gap: 8px; justify-items: start; font: 600 14px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.foot nav a { text-decoration: none; }
.foot .fine { grid-column: 1 / -1; margin-top: 8px; font-size: 13px; color: #6b6553; }
.foot .fine a { color: #6b6553; }
html:not([data-lang="en"]) .foot .foot-h, html:not([data-lang="en"]) .foot nav { font-family: var(--display), var(--zh); letter-spacing: .06em; }
/* Phones: the links as a tidy two-column list under a gold rule, each kept
   on one line (they were squeezed into one row and broke word by word). */
@media (max-width: 760px) {
  .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding-top: 20px; border-top: 1px solid rgba(184, 149, 74, .4); }
  .foot nav a { white-space: nowrap; }
}

/* ── Menu page: a dark band, then the Lucky list on paper ── */
.menu-mast { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 0; }
/* Kept short (about 300px) so the list and its food start on the first screen. */
.menu-mast .wrap { position: relative; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.menu-mast h1 { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.menu-mast h1 .zh { font-weight: 900; font-size: clamp(48px, 5.5vw, 68px); letter-spacing: .06em; }
.menu-mast h1 .en { font-size: clamp(26px, 3vw, 38px); }
.menu-mast .lede { margin: 0 0 20px; max-width: 34em; }

.menu-page { background: var(--paper); color: var(--ink); padding-bottom: 96px; }
.menu-page a { color: var(--blue-ink); }
.menu-page :focus-visible { outline-color: var(--blue); }
.menu-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 40px; }
.tabs { display: inline-flex; padding: 4px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; }
.tab { min-height: 44px; padding: 8px 28px; border: 0; border-radius: 3px; background: none; font: 700 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.tab:hover { color: var(--blue-ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.search { position: relative; flex: 1 1 300px; max-width: 440px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; min-height: 52px; padding: 10px 16px 10px 46px; border: 1.5px solid var(--paper-line); border-radius: var(--r); background: #fff; font: 400 17px var(--sans); color: var(--ink); }
.search input::placeholder { color: var(--ink-2); opacity: 1; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(41, 117, 187, .2); }
.menu-count { margin: 18px 0 0; font-weight: 700; }
.menu-count:empty { display: none; }
.menu-group { margin: 32px 0 0; font: 600 13px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.menu-panel { margin-top: 24px; border-bottom: 1px solid var(--paper-line); }
.empty { margin-top: 28px; padding: 32px 24px; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--r); text-align: center; font-size: 18px; }

/* Each section is a <details>: a tappable heading row, dishes folded inside. */
.menu-section { border-top: 1px solid var(--paper-line); scroll-margin-top: 84px; }
.menu-section > summary { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 4px; cursor: pointer; list-style: none; }
.menu-section > summary::-webkit-details-marker { display: none; }
.menu-section h2 { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 24px; line-height: 1.2; color: var(--ink); }
.menu-section > summary:hover h2 { color: var(--blue-ink); }
.menu-section h2 .zh { font-weight: 700; font-size: 19px; letter-spacing: .12em; color: var(--red); }
.menu-section .count { flex: none; min-width: 24px; text-align: right; font: 600 14px var(--display); color: var(--muted); }
.menu-section > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 8px 5px 4px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s, margin .2s; }
.menu-section[open] > summary::after { transform: rotate(-135deg); margin-bottom: -5px; }
.menu-section .note { margin: -4px 4px 12px; color: var(--ink-2); }
.items { columns: 2; column-gap: 52px; list-style: none; margin: 0; padding: 0 4px 28px; }
.items li { display: grid; grid-template-columns: 2.9em 1fr auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px dotted #c9c1b2; break-inside: avoid; line-height: 1.4; }
.items li:last-child { border-bottom: 0; }
.items li[hidden] { display: none; }
.items li.has-photo { grid-template-columns: 2.9em 72px 1fr auto; align-items: center; }
.items .thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r); }
.items .thumb.cut { object-fit: contain; border-radius: 0; filter: drop-shadow(0 4px 5px rgba(21, 22, 26, .25)); }
.items li > b { font-size: 15px; font-weight: 600; color: #a5843f; font-variant-numeric: tabular-nums; }
.items li > span { font-weight: 600; }
.items .cn { display: block; margin-top: 1px; font-family: var(--zh); font-weight: 500; font-size: 16px; letter-spacing: .06em; color: #6a665e; }
.items small { display: block; margin-top: 2px; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.items li > i { font-style: normal; font-weight: 600; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.items em { font-style: normal; font-weight: 500; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) {
  .menu-tools { flex-direction: column; align-items: stretch; padding-top: 28px; }
  .tabs { display: flex; }
  .tab { flex: 1; }
  .search { max-width: none; flex-basis: auto; }
  .menu-section h2 { font-size: 20px; }
  .menu-section h2 .zh { font-size: 16px; }
  .items { columns: 1; }
  .items li { grid-template-columns: 2.6em 1fr auto; gap: 8px; }
  .items li.has-photo { grid-template-columns: 2.6em 56px 1fr auto; align-items: center; }
  .items li.has-photo > .thumb { width: 56px; height: 56px; }
}
.parties .callout { display: inline; margin: 0 16px 0 0; color: var(--muted); }
.parties .callout + .btn { vertical-align: middle; }

/* ── Language switch: EN · 廣東話 · 普通话 (lang.js) ─────────── */
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; flex: none; }
.langs button { min-height: 38px; padding: 0 11px; border: 0; background: transparent; color: var(--muted); font: 600 14px var(--sans); cursor: pointer; }
.langs button + button { border-left: 1px solid var(--line); }
.langs button:hover { color: var(--white); }
.langs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.langs button[lang^="zh"] { font-family: var(--zh); font-weight: 700; }
.top .langs { margin-left: 4px; }
@media (max-width: 760px) {
  /* Phone: the switch takes its own row under the logo and Book button. */
  .top .wrap { flex-wrap: wrap; row-gap: 0; }
  .top .langs { order: 5; width: 100%; margin: 6px 0 6px; }
  .top .langs button { flex: 1; min-height: 28px; font-size: 13px; }
}

/* In the Chinese modes the Chinese leads and the English sits under it. */
html:not([data-lang="en"]) .dish p,
html:not([data-lang="en"]) .pair figcaption,
html:not([data-lang="en"]) .items li > span { display: flex; flex-direction: column; }
html:not([data-lang="en"]) .dish .zh,
html:not([data-lang="en"]) .pair figcaption .zh { order: -1; font-size: 17px; font-weight: 700; color: var(--white); }
html:not([data-lang="en"]) .dish .en,
html:not([data-lang="en"]) .pair figcaption .en { font-weight: 500; color: var(--muted); font-size: 14px; }
html:not([data-lang="en"]) .items .cn { order: -1; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
html:not([data-lang="en"]) .items .en { font-weight: 500; font-size: 15px; color: var(--ink-2); }
html:not([data-lang="en"]) .menu-section h2 { flex-direction: row-reverse; justify-content: flex-end; }
html:not([data-lang="en"]) .menu-section h2 .zh { font-size: 24px; color: var(--ink); }
html:not([data-lang="en"]) .menu-section h2 .en { font-size: 17px; color: var(--ink-2); }
html:not([data-lang="en"]) .label { font-size: 15px; letter-spacing: .12em; }
/* Cinzel has no Chinese; Chinese headings, buttons and labels use the CJK face. */
html:not([data-lang="en"]) h1, html:not([data-lang="en"]) h2, html:not([data-lang="en"]) h3,
html:not([data-lang="en"]) .btn, html:not([data-lang="en"]) .nav a, html:not([data-lang="en"]) .label,
html:not([data-lang="en"]) .facts dt, html:not([data-lang="en"]) .tab, html:not([data-lang="en"]) .day .d-name {
  font-family: var(--display), var(--zh); letter-spacing: .06em; }

/* ── Illustrations (Weslie's handoff, 2026-10-07) ─────────────────────
   Food and building artwork at full opacity, normal blending, no shadow;
   only the cloud decorations are faded. Breakpoints are the handoff's:
   desktop >=1024, tablet 768-1023, mobile <=767. */
.art-divider, .art-line-divider, .art-cuisine, .art-menu, .art-map-cloud { pointer-events: none; }
.art-divider img, .art-line-divider img, .art-cuisine img, .art-sharing, .art-menu img, .art-shopfront img { height: auto; object-fit: contain; }

/* 1. cloud ribbon after the cuisine intro (it carries transparent padding,
   so it sits in a fixed-height frame, centred) */
.art-divider { margin: 16px 0 24px; }
.art-divider-frame { width: min(800px, 76vw); height: 120px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; }
.art-divider img { width: 100%; opacity: .55; }

/* 2 + 3. illustrated sign-off under each cuisine's copy */
.art-cuisine { margin-top: 24px; }
.art-canto img { width: 230px; }
.art-sichuan img { width: 220px; }

/* 4. the lighter line divider between Book and Parties */
.art-line-divider { margin: 24px auto; text-align: center; }
.art-line-divider img { width: 560px; max-width: 100%; height: 70px; margin: 0 auto; opacity: .4; }

/* 5. the shared table under the parties photo */
.parties-art .art-sharing { display: block; width: 100%; max-width: 500px; height: auto; object-fit: contain; margin: 0 auto; }

/* 6. menu masthead: the bowl beside the words */
.menu-mast-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "heading art" "description art" "actions art" "note art"; column-gap: 40px; align-items: center; }
.menu-mast .wrap.menu-mast-layout { padding-top: 32px; padding-bottom: 32px; }
.menu-mast-layout h1 { grid-area: heading; }
.menu-mast-layout .lede { grid-area: description; }
.menu-mast-layout .actions { grid-area: actions; }
.art-menu { grid-area: art; justify-self: end; }
.art-menu img { width: 300px; }

/* 7. category icons in the section headings */
.menu-section > summary { gap: 10px; }
.cat-icon { flex: none; width: 34px; height: 34px; }

/* 8. the drawn shopfront above the map, with the real logo on its fascia */
.visit-location { display: grid; }
.art-shopfront { position: relative; margin: 0 auto; width: 100%; aspect-ratio: 3 / 2; }
.art-shopfront-base { display: block; width: 100%; }
/* fascia measured at 11.7-28.3% of the canvas height: 23% wide keeps the logo inside it */
.art-shopfront-logo { position: absolute; left: 38.5%; top: 13%; width: 23%; height: auto; }

/* 10. faded clouds at two corners of the map, outside its clipping */
.art-map-frame { position: relative; }
.art-map-frame .mapbox { position: relative; z-index: 1; }
.art-map-cloud { position: absolute; z-index: 0; width: 80px; height: auto; opacity: .45; }
.art-map-cloud-a { top: -22px; left: -24px; }
.art-map-cloud-b { bottom: -20px; right: -24px; transform: rotate(180deg); }

@media (min-width: 768px) and (max-width: 1023px) {
  .art-divider-frame { width: 80vw; height: 90px; }
  .art-canto img { width: 190px; }
  .art-sichuan img { width: 180px; }
  .art-line-divider img { width: 440px; }
  .parties-art .art-sharing { max-width: 360px; }
  .menu-mast-layout { grid-template-columns: minmax(0, 1fr) 190px; column-gap: 24px; }
  .art-menu img { width: 190px; }
  .art-map-cloud { width: 64px; }
  .art-map-cloud-a { top: -16px; left: -16px; }
  .art-map-cloud-b { bottom: -16px; right: -16px; }
}
@media (max-width: 767px) {
  .art-divider { margin: 8px 0 16px; }
  .art-divider-frame { width: calc(100% - 32px); height: 68px; }
  .art-divider img { opacity: .5; }
  .art-cuisine { margin: 18px 0 24px; }
  .art-canto img, .art-sichuan img { width: 144px; }
  .art-line-divider { margin: 16px auto; }
  .art-line-divider img { width: 240px; height: 30px; opacity: .45; }
  .parties-art .art-sharing { max-width: 300px; }
  .menu-mast-layout { grid-template-columns: minmax(0, 1fr) 88px; grid-template-areas: "heading art" "description description" "actions actions" "note note"; column-gap: 12px; }
  .art-menu img { width: 88px; }
  .art-map-cloud { width: 52px; }
  .art-map-cloud-a { top: -12px; left: -12px; }
  .art-map-cloud-b { display: none; }
  .menu-section > summary { gap: 8px; }
  .cat-icon { width: 28px; height: 28px; }
}
/* tight phones: the masthead drawing goes rather than squeezing the words */
@media (max-width: 340px) { .art-menu { display: none; } .menu-mast-layout { grid-template-columns: 1fr; } }

/* Tablet header: the full nav, the language switch and Book a table don't
   fit side by side, so Parties drops out (it was 13px too wide at 768). */
@media (min-width: 761px) and (max-width: 960px) {
  .top .wrap { gap: 16px; }
  .nav { gap: 18px; }
  .nav .hide-sm { display: none; }
  .top .btn { padding: 0 14px; }
}

/* Phone: the seven days in one swipeable row instead of four rows. */
@media (max-width: 700px) {
  .days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .days li { scroll-snap-align: start; }
  .days li:last-child:nth-child(odd) { grid-column: auto; }
}
/* 4. every menu heading reserves the icon slot, so titles line up */
.cat-icon.blank { display: inline-block; }

/* Order online: solid cloud red (Weslie, 2026-10-07, over the review's
   outline suggestion), beside Book a table's blue. */
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover, .btn.red:focus-visible { background: #a42c2a; border-color: #a42c2a; color: #fff; }
@media (max-width: 520px) {
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 360px; margin: 0 auto; }
  .hero .actions .btn { padding: 0 10px; }
  .hero .actions .btn.ghost { grid-column: 1 / -1; }
}

/* Scroll effect at the end of the page (script.js sets --grow 0→1 as the
   finale comes into view): the shop grows towards you from its base while
   the clouds drift sideways and rise more slowly, for depth. Off for anyone
   who asks for reduced motion. */
.finale .art-shopfront { transform-origin: 50% 100%; transform: scale(calc(.8 + var(--grow) * .35)); will-change: transform; }
.finale-ribbon { transform: translate3d(calc((var(--grow) - .5) * -90px), calc((1 - var(--grow)) * 40px), 0); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .finale .art-shopfront, .finale-ribbon { transform: none; }
}

/* Hero: two solid buttons, then the menu as a quiet text link. */
.hero .text-link { flex-basis: 100%; justify-content: center; border: 0; padding: 0; margin-top: 6px; color: var(--navy); }
.hero .text-link span:first-child { border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.hero .text-link:hover { color: var(--blue-ink); }
@media (max-width: 520px) { .hero .actions .text-link { grid-column: 1 / -1; } }

@media (max-width: 760px) {
  /* 1. The shop stays inside the screen and below the sticky header. */
  .finale .art-shopfront { width: min(560px, 84vw); transform: scale(calc(.85 + var(--grow) * .15)); }
  /* 3. Phones skip the small drawn duck / chillies so the dishes come first. */
  .kitchen-grid > :first-child .art-cuisine { display: none; }
}

/* Header: Book a table and Order online side by side. Where the row gets
   tight the text nav goes first (Menu and Find us are also on the page). */
.top-ctas { display: flex; gap: 8px; flex: none; }
@media (min-width: 761px) and (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav .hide-sm, .nav a[href$="#visit"] { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .brand img { width: 140px; }
  .top .wrap { gap: 14px; }
  .top-ctas .btn { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top-ctas { margin-left: auto; gap: 6px; }
  .top-ctas .btn { margin-left: 0; }
}
/* Phones: Book a table is the one header button (Order online is in the
   hero just below), so the first screen shows two buttons, not four. */
/* Phones: both buttons beside the logo, sized down to fit to 320px. */
@media (max-width: 440px) {
  .brand img { width: 92px; }
  .top-ctas { gap: 5px; }
  .top-ctas .btn { min-height: 34px; padding: 0 9px; font-size: 11px; letter-spacing: .05em; }
}
@media (max-width: 360px) {
  .brand img { width: 64px; }
  .top-ctas { gap: 4px; }
  .top-ctas .btn { padding: 0 7px; font-size: 10px; letter-spacing: .03em; }
}

@media (max-width: 520px) {
  .menu-mast-layout .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .menu-mast-layout .actions .btn { padding: 0 10px; }
}

/* ── Motion (script.js adds html.anim; nothing hides without it) ─────── */
/* Hero parallax: --hp runs 0→1 as the hero scrolls away; the illustration
   drifts down slower than the page and settles back, the words lift. */
.anim .hero-art { transform: translate3d(0, calc(var(--hp, 0) * 50px), 0) scale(calc(1 + var(--hp, 0) * .03)); will-change: transform; }
.anim .hero .hero-copy { transform: translate3d(0, calc(var(--hp, 0) * -24px), 0); }
/* Reveals: things rise a little and fade in as they reach the screen,
   in a short stagger (--i) for the dishes and the booking days. */
.anim [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim .dish[data-reveal] img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); transform: scale(.94) rotate(-2deg); }
.anim .dish[data-reveal].in img { transform: none; }
.anim .dish[data-reveal].in:hover img { transform: scale(1.03) rotate(-1deg); }
@media (prefers-reduced-motion: reduce) {
  .anim .hero-art, .anim .hero .hero-copy { transform: none; opacity: 1; }
  .anim [data-reveal], .anim .dish[data-reveal] img { opacity: 1; transform: none; transition: none; }
}
.anim .book-plaque .day { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s ease, transform .5s ease, box-shadow .18s, border-color .18s; transition-delay: calc(var(--i, 0) * 60ms + 150ms); }
.anim .book-plaque.in .day { opacity: 1; transform: none; }
.anim .book-plaque.in .day:hover { transform: translateY(-3px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .anim .book-plaque .day { opacity: 1; transform: none; } }

/* Already-visible on load or after a jump link: shown at once, no fade. */
.anim [data-reveal].now, .anim [data-reveal].now img, .anim .book-plaque.now .day { transition: none !important; }
/* 5. phone numbers never break across lines */
a[href^="tel:"] { white-space: nowrap; }
/* 6. less dead paper between Find us and the shopfront on wider screens */
@media (min-width: 761px) { #visit { padding-bottom: 8px; } .finale { padding-top: 0; } }

/* UI and the menu list stay in the clean sans: names and prices scan faster. */
.items, .search input, .menu-count, .empty, .langs button, .day .d-hours, .osm, .dish p, .pair figcaption { font-family: var(--sans); }
.hours { font-size: 17px; }

/* Allergen note (menu page): plain, under the intro, never decorated. */
.allergen { grid-area: note; margin: 16px 0 0; font-size: 17px; color: var(--muted); }
.allergen strong { color: var(--navy); font-weight: 600; }
