/* Food Lab Catering
   Recolor the app from the variables below.
   English page copy lives in the HTML files. Traditional Chinese (Cantonese)
   lives in js/i18n.js. The tab bar lives in js/app.js. */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #5f5f5f;
  --line: #e6e6e6;
  --line-strong: #d4d4d4;
  --clay: #74845e;
  --clay-deep: #74845e;
  --on-clay: #ffffff;
  --moss: #74845e;
  --moss-soft: #f3f5f0;
  --featured: #ffffff;
  --featured-line: #74845e;
  --danger: #9d2c2c;
  --shadow: rgba(0, 0, 0, 0.06);
  /* On-screen logo slot. Export images/logo.png at 3×: 600×96. */
  --logo-width: 200px;
  --logo-height: 32px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang HK", "Noto Sans CJK TC", sans-serif;
  --page: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--page);
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 2px;
}

.app {
  position: relative;
  width: min(430px, 100%);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--shadow);
}

/* Keeps scrolled text from sliding under the language pill. */
.app::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  height: calc(62px + env(safe-area-inset-top));
  background: var(--paper);
  pointer-events: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-140%);
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  transform: translateY(12px);
}

.section-label {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.block > .section-title {
  margin-bottom: 12px;
}

.block.tight {
  margin-top: 0;
}

.phone-line {
  margin-top: 12px;
}

.screen {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(62px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    calc(108px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.screen:focus {
  outline: none;
}

.lang-switch {
  position: absolute;
  z-index: 6;
  top: calc(12px + env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.06);
  transition: opacity 0.34s ease;
}

.lang-switch button {
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--clay);
  color: var(--on-clay);
}

.brand-logo {
  position: absolute;
  z-index: 5;
  top: calc(17px + env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  width: min(var(--logo-width), calc(100% - 156px));
  height: var(--logo-height);
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}

.tabbar {
  position: absolute;
  z-index: 5;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.18);
}

.tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 999px;
  color: var(--on-clay);
  text-decoration: none;
}

.tab:focus-visible {
  outline-color: var(--on-clay);
}

.tab-icon,
.tab-icon svg,
.tab svg {
  display: block;
  width: 22px;
  height: 22px;
}

.tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.tab[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
  color: var(--on-clay);
}

.eyebrow {
  color: var(--clay-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 8px 0 12px;
  font-size: clamp(2.15rem, 9vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.page-title {
  margin-top: 4px;
  font-size: clamp(1.85rem, 7vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}

.page-intro {
  margin-bottom: 18px;
}

.menu-search {
  margin: 0 0 16px;
}

.menu-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.06);
}

.menu-search-bar:focus-within {
  border-color: var(--clay);
}

.menu-search-bar input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: calc(1rem - 2px);
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
}

.menu-search-bar input:focus {
  outline: none;
}

.menu-search-bar input::placeholder {
  color: var(--ink);
  font-weight: 600;
  opacity: 1;
}

.menu-search + .filter-scroller {
  margin-top: 0;
}

.menu-cat {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.menu-empty {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: calc(1rem - 2px);
}

.planner {
  position: relative;
  z-index: 2;
  margin: 0;
}

.plan-head {
  position: relative;
}

.plan-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(26, 26, 26, 0.06);
  text-align: left;
  transition: opacity 0.42s ease;
}

.planner.is-open .plan-bar {
  opacity: 0;
  pointer-events: none;
}

.planner.is-closing .plan-bar {
  transition-delay: 0.1s;
}

.plan-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.planner.is-open .plan-close {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.plan-close svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.plan-bar-icon {
  flex: none;
  color: var(--clay);
}

.plan-bar-icon svg,
.plan-bar-chevron {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-bar-icon svg {
  width: 22px;
  height: 22px;
}

.plan-bar-label {
  flex: 1 1 auto;
  font-weight: 600;
}

.plan-bar-chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  transition: transform 0.2s ease;
}

.planner.is-open .plan-bar-chevron {
  transform: rotate(180deg);
}

.planner.is-closing .plan-bar-chevron {
  transition: none;
}

.plan-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + 14px);
  right: calc(-1 * max(20px, env(safe-area-inset-right)));
  left: calc(-1 * max(20px, env(safe-area-inset-left)));
  padding: 0 max(20px, env(safe-area-inset-right)) 110px max(20px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transition: opacity 0.46s ease;
}

.screen:has(.planner.is-open),
.screen:has(.planner.is-closing) {
  overflow: hidden;
}

.planner.is-open .plan-panel,
.planner.is-closing .plan-panel {
  height: calc(100dvh - 160px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.planner.is-open .plan-panel {
  pointer-events: auto;
}

.planner.is-closing .plan-panel {
  opacity: 0;
}

.plan-panel-clip {
  min-height: 0;
}

.plan-block {
  --plan-col: 100%;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(26, 26, 26, 0.28);
  display: grid;
  grid-template-rows: auto 0fr;
  font-size: 0.92rem;
  transform: translateY(-32px);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-block:has(.plan-toggle[aria-expanded="true"]) {
  grid-template-rows: auto 1fr;
}

.plan-block:has(.plan-body.is-prep) {
  grid-template-rows: auto 0fr;
}

.planner.is-open .plan-block {
  opacity: 1;
  transform: translateY(0);
}

.planner.is-open .plan-block:nth-child(2) {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.07s,
    opacity 0.4s ease 0.07s,
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.planner.is-closing .plan-block {
  opacity: 0;
  transform: translateY(-16px);
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.planner.is-closing .plan-block:nth-child(1) {
  transition: transform 0.48s cubic-bezier(0.4, 0, 0.2, 1) 0.06s, opacity 0.4s ease 0.06s;
}

.plan-block + .plan-block {
  margin-top: 28px;
}

.plan-toggle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.plan-body {
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.42s ease;
}

.plan-toggle[aria-expanded="true"] + .plan-body {
  opacity: 1;
}

.plan-block:has(.plan-body.is-prep) .plan-body {
  opacity: 0;
}

#plan-when .plan-body-clip {
  padding-top: 15px;
}

#plan-who .plan-body-clip {
  padding-top: 10px;
}

.plan-q {
  flex: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.05;
  transition: font-size 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-toggle[aria-expanded="true"] .plan-q {
  font-size: 1.15rem;
}

.plan-block:has(.plan-body.is-prep) .plan-q {
  font-size: 0.8rem;
}

.plan-summary {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-cal {
  width: 100%;
  margin: 0;
}

.plan-cal-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
}

.plan-cal-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.plan-cal-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--clay);
  font-size: 1.15rem;
  line-height: 1;
}

.plan-cal-nav:disabled {
  opacity: 0.35;
}

.plan-cal-dows,
.plan-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 12px;
}

.plan-cal-dows {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-cal-dows span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-cal-grid {
  margin-top: 10px;
}

.plan-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.plan-day[aria-pressed="true"] {
  background: var(--clay);
  color: var(--on-clay);
}

.plan-day.is-today:not([aria-pressed="true"]) {
  box-shadow: inset 0 0 0 1.5px var(--clay);
}

.plan-day:disabled {
  color: #c4c4c4;
  cursor: default;
}

.plan-counts.is-off {
  opacity: 0.45;
}

.plan-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin: 0;
}

.plan-count + .plan-count {
  border-top: 1px solid var(--line);
}

.plan-count-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-count-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--clay);
  font-size: 1.15rem;
  line-height: 1;
}

.plan-count-controls button:disabled {
  opacity: 0.35;
}

.plan-count-num {
  width: 2.75rem;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  appearance: none;
}

.plan-count-num:disabled {
  opacity: 1;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.plan-time {
  --wheel-row: 36px;
  --wheel-rows: 5;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.plan-wheels {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: calc(var(--wheel-row) * var(--wheel-rows));
  user-select: none;
}

.plan-wheel-highlight {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  left: 0;
  height: var(--wheel-row);
  transform: translateY(-50%);
  border-radius: 10px;
  background: rgba(118, 118, 128, 0.12);
  pointer-events: none;
}

.plan-wheel {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
}

.plan-wheel::-webkit-scrollbar {
  display: none;
}

.plan-wheel-pad {
  height: calc((var(--wheel-rows) - 1) * var(--wheel-row) / 2);
}

.plan-wheel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--wheel-row);
  scroll-snap-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1;
}

.plan-wheel-item.is-selected {
  color: var(--ink);
  font-weight: 600;
}

.plan-wheel-colon {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.plan-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin: 8px 0 0;
  font-weight: 600;
}

.plan-check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--clay);
}

.plan-address {
  display: block;
  width: var(--plan-col);
  margin-right: auto;
  margin-left: auto;
}

.plan-address input {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--paper);
  font-size: 0.92rem;
}

.plan-address input:focus {
  border-color: var(--clay);
  outline: none;
}

.plan-address input::placeholder {
  color: #8a8a8a;
}

.plan-suggest {
  width: var(--plan-col);
  margin: 6px auto 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
}

.plan-suggest button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.88rem;
  text-align: left;
}

.plan-suggest li:first-child button {
  border-top: 0;
}

.plan-status,
.plan-hint {
  width: var(--plan-col);
  margin: 8px auto 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.plan-map {
  height: 210px;
  width: var(--plan-col);
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--moss-soft);
}

.plan-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px 999px 999px 0;
  background: var(--clay);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: rotate(-45deg);
}

.plan-map .leaflet-control-attribution {
  max-width: 72%;
  font-size: 10px;
}

.plan-map .leaflet-bar {
  border: 0;
  box-shadow: none;
}

.plan-map .leaflet-bar a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 999px !important;
  color: var(--clay);
  line-height: 34px;
}

.plan-map .leaflet-bar a:last-child {
  margin-top: 6px;
}

.cat-heading {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.cat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin-top: 14px;
}

.cat-row + .cat-heading {
  margin-top: 30px;
}

.cat-btn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
}

.cat-icon {
  flex: none;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.08);
}

.cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-label {
  display: block;
  margin-top: 8px;
  padding: 0 0 0 2px;
  font-size: 0.76rem;
}

.wide-tile {
  width: 100%;
  margin-top: 14px;
  container-type: inline-size;
}

.wide-tile .cat-icon {
  aspect-ratio: auto;
  height: calc((100cqw - 14px) / 2);
}

body[data-page="home"] .screen {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .wide-tile {
  position: relative;
  flex: 1 1 0;
  min-height: 96px;
}

body[data-page="home"] .wide-tile .cat-icon {
  position: absolute;
  inset: 0;
  height: auto;
}

.wide-tile + .cat-heading,
.cat-row + .wide-tile {
  margin-top: 30px;
}

/* Main dining room: three tiles, each 30% wider than the old square, in a sideways row. */
.venue-scroll {
  container-type: inline-size;
  margin: 14px calc(-1 * max(20px, env(safe-area-inset-right))) 0
    calc(-1 * max(20px, env(safe-area-inset-left)));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.venue-scroll::-webkit-scrollbar {
  display: none;
}

.venue-scroll .cat-row {
  display: flex;
  gap: 14px;
  width: max-content;
  margin-top: 0;
  padding: 6px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left));
}

.venue-scroll .cat-btn {
  flex: none;
  width: calc(((100cqw - max(20px, env(safe-area-inset-left)) - max(20px, env(safe-area-inset-right)) - 14px) / 2) * 1.3);
}

.venue-scroll .cat-icon {
  aspect-ratio: auto;
  height: calc((100cqw - max(20px, env(safe-area-inset-left)) - max(20px, env(safe-area-inset-right)) - 14px) / 2);
}

.venue-back {
  margin: 0;
  font-size: 0.82rem;
}

.venue-back + .page-title {
  margin-top: 8px;
}

.venue-photo {
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.08);
}

.venue-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.venue-detail .lede {
  margin-top: 14px;
}

.venue-facts {
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.venue-facts div {
  display: grid;
  gap: 2px;
}

.venue-facts dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.venue-facts dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

html[lang="zh-Hant-HK"] .venue-facts dt {
  letter-spacing: 0.06em;
}

.venue-plan {
  margin-top: 28px;
}

.venue-plan h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

.venue-plan-sheet {
  margin-top: 12px;
  padding: 14px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.venue-plan-sheet svg,
.venue-plan-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-wall {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-door {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.25;
}

.plan-window {
  fill: none;
  stroke: var(--clay);
  stroke-width: 4;
  stroke-linecap: round;
}

.plan-table {
  fill: var(--clay);
}

.plan-chair {
  fill: var(--ink);
}

.plan-zone {
  fill: var(--clay);
  opacity: 0.16;
}

.plan-split {
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.cat-sub {
  display: block;
  margin-top: 2px;
  padding-left: 2px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-primary {
  background: var(--clay-deep);
  color: var(--on-clay);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: var(--paper-2);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn:active {
  transform: translateY(1px);
}

.block {
  margin-top: 28px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fine-print {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

body[data-page="menu"] .fine-print,
body[data-page="tile"] .fine-print {
  font-size: calc(0.82rem - 2px);
}

.filter-scroller {
  margin: 2px calc(-1 * max(20px, env(safe-area-inset-right))) 8px
    calc(-1 * max(20px, env(safe-area-inset-left)));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-scroller::-webkit-scrollbar {
  display: none;
}

.filters {
  display: flex;
  gap: 6px;
  width: max-content;
  padding: 2px max(20px, env(safe-area-inset-right)) 2px max(20px, env(safe-area-inset-left));
}

.chip {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
}

.chip[aria-pressed="true"] {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--on-clay);
}

.menu-list {
  transition: opacity 0.22s ease;
}

.menu-list.is-fading {
  opacity: 0;
}

.course {
  margin-top: 22px;
}

.menu-group + .menu-group {
  margin-top: 22px;
}

.menu-group-title {
  margin-bottom: 4px;
  color: var(--clay-deep);
  font-size: calc(0.72rem + 3px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-group:not(:has(.menu-group-title)) > .dish:first-of-type {
  margin-top: 0;
}

.menu-note {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.menu-group .dish:first-of-type {
  margin-top: 12px;
}

.dish + .dish {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.dish.has-photo {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}

.dish-photo-btn {
  display: block;
  width: 104px;
  height: 104px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.08);
  overflow: hidden;
}

.dish-photo {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.08);
}

.dish-photo-btn .dish-photo {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.photo-view {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  padding:
    calc(80px + env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    calc(124px + env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  pointer-events: none;
}

.photo-view.is-open,
.photo-view.is-closing {
  pointer-events: auto;
}

.photo-view-sheet {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.46s ease;
}

.photo-view.is-open .photo-view-sheet {
  opacity: 1;
}

.photo-view.is-closing .photo-view-sheet {
  opacity: 0;
}

.photo-view-close {
  position: absolute;
  z-index: 2;
  top: calc(12px + env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.photo-view.is-open .photo-view-close {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.photo-view-close svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.photo-view-tile {
  position: relative;
  z-index: 1;
  width: min(100%, calc(100dvh - 220px));
  max-height: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 16px 36px rgba(26, 26, 26, 0.28);
  overflow: hidden;
}

.photo-view-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app:has(.photo-view.is-open) .screen,
.app:has(.photo-view.is-closing) .screen {
  overflow: hidden;
}

.app:has(.photo-view.is-open) .lang-switch,
.app:has(.photo-view.is-closing) .lang-switch,
.app:has(.photo-view.is-open) .brand-logo,
.app:has(.photo-view.is-closing) .brand-logo {
  opacity: 0;
  pointer-events: none;
}

.dish-copy {
  min-width: 0;
}

.dish-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.dish h3 {
  min-width: 0;
  font-size: calc(1.12rem - 2px);
  font-weight: 500;
}

.price {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.dish p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: calc(0.92rem - 2px);
}

.dish-choices {
  margin-top: 6px;
  padding: 0;
  list-style: none;
}

.dish-choices li {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: calc(0.92rem - 2px);
}

.dish-choices li::before {
  content: "· ";
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.package {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}

.package.featured {
  border-color: var(--featured-line);
  background: var(--featured);
}

.flag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--moss);
  color: var(--on-clay);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package h2 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.package .summary {
  margin-top: 4px;
  color: var(--ink-soft);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.price-num {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.price-prefix,
.price-unit {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.package ul {
  margin: 12px 0 14px;
}

.package li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
}

.package li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.address {
  font-style: normal;
  line-height: 1.5;
}

.quiet-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.hours li,
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hours li span:last-child,
.meta-list li span:last-child {
  font-variant-numeric: tabular-nums;
}

.callout {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--moss-soft);
  color: var(--moss);
  font-weight: 600;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper-2);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.4;
}

.field select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235f5f5f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8a8a;
}

.was-validated input:invalid,
.was-validated textarea:invalid,
.was-validated select:invalid {
  border-color: var(--danger);
}

.form-actions {
  margin-top: 16px;
}

.receipt h2 {
  margin: 6px 0 8px;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.receipt-list {
  margin: 16px 0;
}

.receipt-row {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.receipt-row dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-row dd {
  margin-top: 3px;
}

.noscript-bar {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.noscript-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}

.noscript-bar a {
  font-weight: 600;
}

html[lang="zh-Hant-HK"] .eyebrow,
html[lang="zh-Hant-HK"] .menu-group-title,
html[lang="zh-Hant-HK"] .field label,
html[lang="zh-Hant-HK"] .receipt-row dt,
html[lang="zh-Hant-HK"] .flag {
  letter-spacing: 0.06em;
}

@media (hover: hover) {
  .lang-switch button:hover {
    color: var(--ink);
  }

  .lang-switch button[aria-pressed="true"]:hover {
    background: color-mix(in srgb, var(--clay) 82%, #000);
    color: var(--on-clay);
  }

  .tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-clay);
  }

  .tab[aria-current="page"]:hover {
    background: rgba(255, 255, 255, 0.28);
  }

  .btn-primary:hover {
    background: color-mix(in srgb, var(--clay) 82%, #000);
  }

  .btn-ghost:hover {
    border-color: var(--clay);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:active {
    transform: none;
  }

  .plan-panel,
  .plan-bar,
  .plan-close,
  .plan-bar-chevron,
  .plan-block,
  .plan-body,
  .plan-q,
  .menu-list,
  .photo-view-sheet,
  .photo-view-close,
  .photo-view-tile,
  .lang-switch {
    transition: none;
  }
}

@media (min-width: 520px) {
  .app {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }
}
