/* ============================================================
   Top Cantonese Cuisine 食為先酒家
   Brand plum (#ab007c) + frame gold, cream paper, dark story band.
   ============================================================ */

:root {
  --plum: #ab007c;
  --plum-deep: #7c0559;
  --plum-ink: #2b0a24;
  --plum-soft: rgba(171, 0, 124, 0.08);
  --gold: #b89860;
  --gold-bright: #dcbf82;
  --gold-pale: #efe2c6;
  --yellow: #f2e600;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --ink: #221520;
  --body: #4d3f49;
  --muted: #7d6d78;
  --line: rgba(184, 152, 96, 0.3);
  --line-strong: rgba(184, 152, 96, 0.55);
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 60px -30px rgba(43, 10, 36, 0.45);
  --ff-display: "Cormorant Garamond", "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --ff-cn: "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --ff-body: "Jost", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  --header-h: 76px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
html, body { overflow-x: clip; }

body {
  background: var(--cream);
  color: var(--body);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: rgba(171, 0, 124, 0.25); }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 36px); } }

/* ---------- Language switching ---------- */
[data-lang="en"] .i18n-zh { display: none !important; }
[data-lang="zh"] .i18n-en { display: none !important; }

[data-lang="zh"] body { letter-spacing: 0.02em; }
[data-lang="zh"] .hero h1,
[data-lang="zh"] .section-title,
[data-lang="zh"] .reco-card h3,
[data-lang="zh"] .tile-name,
[data-lang="zh"] .dish-card h3,
[data-lang="zh"] .cat-head h3,
[data-lang="zh"] .search-cat,
[data-lang="zh"] .story-sub,
[data-lang="zh"] .visit-card h3 {
  font-family: var(--ff-cn);
  font-weight: 700;
  letter-spacing: 0.05em;
}
[data-lang="zh"] .hero h1 { font-size: clamp(46px, 8vw, 92px); line-height: 1.15; }
[data-lang="zh"] .dish-name .lead { font-family: var(--ff-body); font-weight: 500; }

.lang-toggle { display: inline-flex; flex: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  min-width: 46px; min-height: 34px; padding: 0 12px;
  font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s, background 0.25s;
}
[data-lang="en"] .lang-toggle [data-set-lang="en"],
[data-lang="zh"] .lang-toggle [data-set-lang="zh"] { background: rgba(255, 255, 255, 0.18); color: var(--yellow); }
.lang-toggle button:hover { color: #fff; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: 0.12s; }
[data-reveal="3"] { transition-delay: 0.24s; }

/* ---------- Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--plum); font-weight: 400;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.kicker.light { color: var(--gold-bright); }
.kicker.light::before { background: var(--gold-bright); }

.section-title {
  font-family: var(--ff-display); font-weight: 600;
  color: var(--ink); font-size: clamp(34px, 4.8vw, 54px); line-height: 1.1;
  margin-top: 16px; text-wrap: balance;
}
.section-title .cn { color: var(--plum); }
.section-title.light { color: #fff; }
.section-title.light .cn { color: var(--gold-bright); }
.section-lede { max-width: 62ch; margin-top: 18px; font-size: clamp(15px, 1.5vw, 17px); }
.section-head { margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.5); color: #fff;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #e9cf8f, #c7a35f); border-color: transparent; color: #2b1a05; box-shadow: 0 10px 24px -12px rgba(184, 152, 96, 0.8); }
.btn-gold:hover { background: linear-gradient(135deg, #f3dea6, #d3b16e); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-plum { background: var(--plum); border-color: transparent; color: #fff; }
.btn-plum:hover { background: var(--plum-deep); }
.btn-ghost-dark { border-color: var(--line-strong); color: var(--plum); }
.btn-ghost-dark:hover { border-color: var(--plum); background: var(--plum-soft); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.link-btn { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  background: var(--plum);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.4s, background 0.4s;
}
.site-header.is-scrolled { background: rgba(171, 0, 124, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 34px -22px rgba(43, 10, 36, 0.8); }
.header-inner { display: flex; align-items: center; gap: 26px; width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 44px; width: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86);
  padding: 8px 0; position: relative; transition: color 0.3s;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { white-space: nowrap; }

.nav-toggle { display: none; width: 46px; height: 46px; flex: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; position: relative; z-index: 75; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform 0.35s, opacity 0.35s, top 0.35s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 55%, var(--plum-ink) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 90px 34px 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
}
.nav-open .nav-overlay { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.ov-link {
  font-family: var(--ff-display); font-size: clamp(30px, 8vw, 40px); font-weight: 600; color: #fff;
  padding: 10px 0; border-bottom: 1px solid var(--line-dark); display: flex; align-items: baseline; gap: 14px;
}
[data-lang="zh"] .ov-link { font-family: var(--ff-cn); font-weight: 700; }
.ov-cn { font-family: var(--ff-body); font-size: 13px; letter-spacing: 0.24em; color: var(--gold-bright); font-weight: 400; }
.ov-lang { margin-top: 28px; align-self: flex-start; }
.ov-lang button { min-height: 44px; min-width: 64px; font-size: 14px; }
.ov-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.ov-actions .btn { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh; padding: calc(var(--header-h) + 60px) 0 70px;
  display: flex; align-items: center; color: #fff; isolation: isolate;
  background: var(--plum-ink);
}
.hero-media, .hero-scrim { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(43, 10, 36, 0.94) 0%, rgba(43, 10, 36, 0.78) 38%, rgba(43, 10, 36, 0.35) 70%, rgba(43, 10, 36, 0.25) 100%),
    linear-gradient(0deg, rgba(43, 10, 36, 0.85) 0%, rgba(43, 10, 36, 0) 38%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 340px); gap: 48px; align-items: end; width: min(1180px, calc(100% - 48px)); }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-bright); }
.hero h1 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(52px, 8vw, 104px); line-height: 0.98; margin-top: 22px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-bright); font-weight: 600; }
.hero-cn { margin-top: 14px; font-family: var(--ff-cn); font-size: clamp(16px, 2vw, 22px); letter-spacing: 0.42em; color: var(--yellow); font-weight: 600; }
[data-lang="zh"] .hero-cn { font-family: var(--ff-display); letter-spacing: 0.18em; font-style: italic; font-weight: 500; }
.hero-lede { max-width: 56ch; margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); color: rgba(255, 255, 255, 0.86); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 34px; }
.hero-call { font-size: 14px; letter-spacing: 0.08em; color: var(--gold-bright); padding: 10px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.hero-call:hover { color: #fff; }

.promo-card {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(220, 191, 130, 0.45); border-radius: 16px;
  padding: 26px 26px 22px; position: relative; overflow: hidden;
}
.promo-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(220, 191, 130, 0.22); border-radius: 10px; pointer-events: none; }
.promo-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-bright); }
.promo-big { font-family: var(--ff-display); font-weight: 600; font-size: 84px; line-height: 0.9; color: #fff; margin-top: 12px; }
.promo-big span { font-size: 0.5em; color: var(--gold-bright); margin-left: 2px; }
.promo-title { font-family: var(--ff-display); font-size: 26px; font-weight: 600; line-height: 1.15; margin-top: 8px; color: #fff; }
[data-lang="zh"] .promo-title { font-family: var(--ff-cn); font-size: 22px; }
.promo-fine { font-size: 12.5px; color: rgba(255, 255, 255, 0.72); margin-top: 10px; line-height: 1.5; }
.promo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); min-height: 40px; }
.promo-link:hover { color: #fff; }

/* ---------- Info bar ---------- */
.info-bar { background: var(--plum-deep); color: #fff; border-top: 1px solid rgba(220, 191, 130, 0.35); }
.info-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; }
.info-item { display: flex; flex-direction: column; padding: 18px 26px; border-left: 1px solid rgba(255, 255, 255, 0.12); transition: background 0.3s; }
.info-item:first-child { border-left: 0; padding-left: 0; }
a.info-item:hover { background: rgba(255, 255, 255, 0.06); }
.info-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-bright); }
.info-value { font-size: 15px; margin-top: 2px; }

/* ============================================================
   Welcome (ornate frame)
   ============================================================ */
.welcome { background: var(--cream); }
.welcome-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.ornate { --oc: 84px; position: relative; padding: calc(var(--oc) * 0.8) calc(var(--oc) * 0.62); }
.ornate::before {
  content: ""; position: absolute; left: calc(var(--oc) * 1.12); right: calc(var(--oc) * 1.12);
  top: calc(var(--oc) * 0.48); bottom: calc(var(--oc) * 0.48);
  border-top: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); opacity: 0.8; pointer-events: none;
}
.ornate::after {
  content: ""; position: absolute; top: calc(var(--oc) * 0.985); bottom: calc(var(--oc) * 0.985);
  left: calc(var(--oc) * 0.118); right: calc(var(--oc) * 0.118);
  border-left: calc(var(--oc) * 0.05) solid var(--gold); border-right: calc(var(--oc) * 0.05) solid var(--gold); opacity: 0.85; pointer-events: none;
}
.corner { position: absolute; width: var(--oc); height: var(--oc); background: url("../img/brand/corner.png") no-repeat center / contain; pointer-events: none; }
.corner.tl { top: 0; left: 0; }
.corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner.br { bottom: 0; right: 0; transform: scale(-1); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat-strip li { display: flex; flex-direction: column; }
.stat-strip strong { font-family: var(--ff-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--plum); }
.stat-strip span { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
[data-lang="zh"] .stat-strip span { letter-spacing: 0.1em; }

.welcome-photos { position: relative; padding-bottom: 60px; }
.welcome-photos figure { overflow: hidden; border-radius: var(--radius); }
.welcome-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.welcome-photos figure:hover img { transform: scale(1.04); }
.photo-main { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.photo-inset { position: absolute; left: -18px; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 6px solid var(--cream); box-shadow: var(--shadow); }

/* ============================================================
   Top Recommendations (brand plum band)
   ============================================================ */
.reco { background: linear-gradient(160deg, var(--plum) 0%, #950a6f 60%, var(--plum-deep) 100%); color: #fff; overflow: hidden; }
.reco::before { content: "熱門推薦"; position: absolute; right: -0.1em; top: 10px; font-family: var(--ff-cn); font-size: clamp(120px, 22vw, 300px); line-height: 1; color: rgba(255, 255, 255, 0.045); font-weight: 700; pointer-events: none; }
.reco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.reco-img { width: min(100%, 320px); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; position: relative; }
.reco-img::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 55%, transparent 72%); }
.reco-img::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(220, 191, 130, 0.4); }
.reco-img img { position: relative; width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.35)); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reco-card:hover .reco-img img { transform: translateY(-8px) scale(1.03); }
.reco-card h3 { font-family: var(--ff-display); font-size: 30px; font-weight: 600; margin-top: 14px; color: #fff; }
.reco-sub { font-size: 13px; letter-spacing: 0.08em; color: var(--gold-bright); margin-top: 4px; }

/* ============================================================
   Explore tiles
   ============================================================ */
.explore { background: var(--paper); }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  width: 100%; text-align: left; display: flex; flex-direction: column; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s; position: relative; overflow: hidden;
}
.tile::after { content: "→"; position: absolute; right: 18px; top: 16px; color: var(--gold); font-size: 18px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tile:hover::after { opacity: 1; transform: none; }
.tile img { height: 170px; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(43, 10, 36, 0.22)); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.tile:hover img { transform: scale(1.05); }
.tile-name { font-family: var(--ff-display); font-size: 26px; font-weight: 600; color: var(--ink); margin-top: 16px; text-align: center; }
.tile-sub { font-size: 12.5px; letter-spacing: 0.1em; color: var(--muted); margin-top: 2px; text-align: center; }

/* ============================================================
   Dim sum gallery
   ============================================================ */
.gallery { background: var(--cream); padding-bottom: 60px; overflow: hidden; }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button { width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--plum); font-size: 18px; transition: background 0.3s, color 0.3s; }
.gallery-nav button:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.gallery-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px max(24px, calc((100% - 1180px) / 2)) 30px;
  scroll-padding-left: max(24px, calc((100% - 1180px) / 2));
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.dish-card { flex: 0 0 250px; scroll-snap-align: start; }
.dish-img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.dish-card:hover .dish-img img { transform: scale(1.06); }
.dish-no-badge { position: absolute; top: 12px; left: 12px; background: var(--plum); color: #fff; font-size: 11px; letter-spacing: 0.12em; padding: 5px 9px; border-radius: 999px; }
.price-chip { position: absolute; right: 12px; bottom: 12px; background: linear-gradient(135deg, #e9cf8f, #c7a35f); color: #2b1a05; font-family: var(--ff-display); font-weight: 700; font-size: 18px; padding: 4px 12px; border-radius: 999px; }
.dish-card h3 { font-family: var(--ff-display); font-size: 21px; font-weight: 600; color: var(--ink); margin-top: 14px; line-height: 1.2; }
.dish-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.gallery-note { font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); }

/* ============================================================
   Complete menu
   ============================================================ */
.menu { background: var(--paper); padding-top: clamp(70px, 9vw, 120px); }
.menu-tools { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 300px; }
.search { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 16px; background: var(--cream); min-height: 48px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--plum); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; font-weight: 400; }
.search input::placeholder { color: var(--muted); font-weight: 300; }
.search:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-soft); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; min-height: 32px; }
.toggle input { accent-color: var(--plum); width: 16px; height: 16px; }

.menu-tabs-wrap { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; scroll-snap-type: x proximity; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
  min-height: 46px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; scroll-snap-align: start;
  color: var(--ink); background: var(--cream); transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.menu-tab .tab-lead { font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.menu-tab .tab-sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; white-space: nowrap; }
.menu-tab:hover { border-color: var(--plum); }
.menu-tab.is-active { background: var(--plum); border-color: var(--plum); color: #fff; }
.menu-tab.is-active .tab-sub { color: rgba(255, 255, 255, 0.75); }

.menu-panel { padding-top: 34px; min-height: 400px; }
.cat-head { padding: 10px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.cat-head.has-img {
  border: 0; border-radius: var(--radius); overflow: hidden; min-height: 240px; padding: 0;
  background-size: cover; background-position: center; display: flex; align-items: flex-end; color: #fff; position: relative;
}
.cat-head.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 10, 36, 0.05) 0%, rgba(43, 10, 36, 0.55) 55%, rgba(43, 10, 36, 0.9) 100%); }
.cat-head.has-img .cat-head-text { position: relative; padding: 60px 30px 26px; }
.cat-head h3 { font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.1; color: inherit; }
.cat-head .cat-sub, .search-cat .cat-sub { font-family: var(--ff-cn); font-size: 0.55em; letter-spacing: 0.2em; color: var(--gold); margin-left: 10px; font-weight: 600; }
.cat-head.has-img .cat-sub { color: var(--gold-bright); }
[data-lang="zh"] .cat-head .cat-sub, [data-lang="zh"] .search-cat .cat-sub { font-family: var(--ff-display); font-style: italic; letter-spacing: 0.06em; font-size: 0.6em; }
.cat-desc { margin-top: 8px; font-size: 15px; max-width: 60ch; }
.cat-head.has-img .cat-desc { color: rgba(255, 255, 255, 0.85); }
.cat-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cat-head.has-img .cat-meta { color: var(--gold-bright); }
.cat-note::before { content: "◷ "; }

.dish-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 44px; }
.dish { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dotted var(--line); }
.dish-no { flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 500; color: var(--plum); margin-top: 1px; }
.dish-body { flex: 1; min-width: 0; }
.dish-line { display: flex; align-items: baseline; gap: 8px; }
.dish-name { display: flex; flex-direction: column; min-width: 0; }
.dish-name .lead { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.dish-name .sub { font-size: 13px; color: var(--muted); margin-top: 1px; }
.leader { flex: 1; min-width: 18px; border-bottom: 1px dotted var(--line-strong); transform: translateY(-5px); }
.dish-price { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.dish-price .price { font-family: var(--ff-display); font-size: 21px; font-weight: 600; color: var(--plum); line-height: 1; }
.dish-price .unit { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.dish-price .pp { display: none; font-size: 11.5px; color: var(--muted); margin-top: 3px; letter-spacing: 0.04em; white-space: nowrap; }
.show-pp .dish-price .pp { display: block; }
.dish-desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.menu-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; justify-content: center; }
.menu-actions .btn-ghost { border-color: var(--line-strong); color: var(--plum); }
.menu-actions .btn-ghost:hover { background: var(--plum-soft); border-color: var(--plum); }

.search-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.search-group { margin-top: 26px; }
.search-cat { font-family: var(--ff-display); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* ============================================================
   Story (dark band)
   ============================================================ */
.story { background: var(--plum-ink); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.story-photos { position: relative; padding: 0 30px 70px 0; }
.story-photos figure { border-radius: var(--radius); overflow: hidden; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; }
.photo-a { aspect-ratio: 4 / 3; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8); }
.photo-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--plum-ink); }
.vertical-cn { position: absolute; left: -46px; top: 30px; writing-mode: vertical-rl; font-family: var(--ff-cn); font-size: 16px; letter-spacing: 0.5em; color: var(--gold); opacity: 0.8; }
.story .section-title { color: #fff; }
.story .section-title .cn { color: var(--gold-bright); }
.story .section-lede { color: rgba(255, 255, 255, 0.78); }
.story-sub { font-family: var(--ff-display); font-size: 26px; font-weight: 600; color: var(--gold-bright); margin-top: 30px; }
.story-actions { margin-top: 30px; }

/* ============================================================
   Visit
   ============================================================ */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: minmax(300px, 0.9fr) 1.1fr; gap: 28px; align-items: stretch; }
.visit-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.visit-card h3 { font-family: var(--ff-display); font-size: 24px; font-weight: 600; color: var(--ink); margin-top: 26px; margin-bottom: 8px; }
.visit-card h3:first-child { margin-top: 0; }
.hours div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd b { display: block; font-weight: 500; color: var(--ink); }
.visit-line { font-size: 16px; color: var(--ink); }
.visit-line a { color: var(--plum); font-weight: 500; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; color: var(--ink); transition: border-color 0.3s, color 0.3s; }
.socials a:hover { border-color: var(--plum); color: var(--plum); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.socials a:last-child svg { fill: currentColor; stroke: none; }
.visit-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #e9e2d8; }
.visit-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(0.85); }

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band { background: linear-gradient(120deg, var(--plum) 0%, var(--plum-deep) 100%); color: #fff; padding: clamp(60px, 7vw, 90px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost.light { border-color: rgba(255, 255, 255, 0.5); }

.site-footer { background: var(--plum-ink); color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 60px 0 40px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 40ch; }
.site-footer h4 { font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 12px; font-weight: 500; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--line-dark); font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* DineCall strip (required last element) — a brand mark, identical on every DineCall client site
   (DineCall-AI-website/docs/footer-lockup.md). Every dimension comes off one number, the tile side:
   radius and tile→wordmark gap 27.8% of it, the bowl mark and the wordmark exactly half
   (26px → 7 / 7 / 13 / 13). Only the hairline, the padding, the "Supported by" label and the
   tagline take this site's colours; the tile, the mark and the wordmark never do. */
.dinecall-strip { border-top: 1px solid var(--line-dark); padding: 24px 20px 28px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dinecall { --tile: 26px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: #b9a6b3; text-decoration: none; transition: color 0.2s; }
.dinecall:hover { color: var(--gold-bright); }
.dc-by { letter-spacing: 0.03em; }
.dc-brand { display: inline-flex; align-items: center; gap: calc(var(--tile) * 0.278); }
/* The gold gradient and the glow belong to DineCall's tile, which takes no border and is the same gold on any ground. */
.dc-mark {
  display: grid; place-items: center; flex: none;
  width: var(--tile); height: var(--tile); border-radius: calc(var(--tile) * 0.278);
  background: linear-gradient(150deg, #f0c14b, #cf932a);
  box-shadow: 0 6px 16px -6px rgb(207 147 42 / 0.7);
}
.dc-mark svg { display: block; width: calc(var(--tile) / 2); height: calc(var(--tile) / 2); }
/* Fraunces 600, never this site's Jost; the dark-footer colour pair, which never tints on hover. */
.dc-name {
  font-family: Fraunces, "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  font-size: calc(var(--tile) / 2); font-weight: 600; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap; color: #fbf3df;
}
.dc-ai { color: #f0c14b; }
/* Hover tilts the tile only — rotate(-6deg) over 500ms, and only where motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .dc-mark { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
  .dinecall:hover .dc-mark { transform: rotate(-6deg); }
}
.dc-tag { max-width: 52ch; font-size: 12px; line-height: 1.6; color: rgba(185, 166, 179, 0.85); margin: 0; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .primary-nav { gap: 20px; }
  .primary-nav a { letter-spacing: 0.14em; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-inner { gap: 14px; }
  .brand-logo { height: 36px; }

  .hero { padding: calc(var(--header-h) + 44px) 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(43, 10, 36, 0.55) 0%, rgba(43, 10, 36, 0.8) 45%, rgba(43, 10, 36, 0.95) 100%); }
  .promo-card { max-width: 420px; }

  .info-inner { grid-template-columns: 1fr; }
  .info-item, .info-item:first-child { border-left: 0; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .info-item:first-child { border-top: 0; }

  .welcome-grid, .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .welcome-photos { padding-bottom: 50px; }
  .photo-inset { left: 0; }
  .reco-grid { grid-template-columns: 1fr; gap: 10px; }
  .reco-img { width: min(70%, 260px); }
  .reco-card h3 { font-size: 26px; }
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tile { padding: 20px 14px 18px; }
  .tile img { height: 130px; }
  .tile-name { font-size: 22px; }
  .dish-list { grid-template-columns: 1fr; gap: 0; }
  .story-photos { padding: 0 0 60px 0; margin-left: 18px; }
  .vertical-cn { left: -26px; top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; padding: 48px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }

  body { padding-bottom: 68px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(43, 10, 36, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(220, 191, 130, 0.3);
    transform: translateY(110%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dock.is-visible { transform: none; }
  .nav-open .dock { transform: translateY(110%); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
  .dock-call { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
  .dock-order { background: linear-gradient(135deg, #e9cf8f, #c7a35f); color: #2b1a05; }
  /* This plus the body's 68px for the dock (136px in all) clears the DineCall AI assistant's 52px
     launcher riding 8px above the dock (assets/js/assistant.js; its top edge is 129px up), so
     neither covers the credit at the very bottom of the page. */
  .dinecall-strip { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .reco::before { display: none; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  [data-lang="zh"] .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .promo-card { padding: 22px 20px 18px; }
  .promo-big { font-size: 64px; }
  .promo-title { font-size: 22px; }
  .ornate { --oc: 64px; padding: 58px 30px 50px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .photo-inset { width: 54%; }
  .section-head.split { align-items: flex-start; }
  .menu-tools { min-width: 0; width: 100%; }
  .search { width: 100%; }
  .dish-card { flex-basis: 210px; }
  .cat-head.has-img { min-height: 200px; }
  .cat-head.has-img .cat-head-text { padding: 50px 18px 20px; }
  .hours div { grid-template-columns: 1fr; gap: 2px; }
  .visit-map, .visit-map iframe { min-height: 300px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
