/* ============================================================
   PUCHONG YONG TAU FU 蒲种酿豆腐 — demo concept site
   Design & code © Vijaya — demonstration purposes only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Karla:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;600;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --ink: #0f0d0a;
  --ink-2: #161209;
  --surface: #1e1810;
  --surface-2: #26200f;
  --cream: #f3e9d7;
  --cream-dim: #c2b49a;
  --gold: #d4a24e;
  --gold-bright: #ecc57e;
  --chilli: #d0402b;
  --chilli-deep: #a02b1c;
  --line: rgba(212, 162, 78, 0.16);
  --font-display: 'Playfair Display', 'Noto Serif SC', serif;
  --font-cn: 'Noto Serif SC', serif;
  --font-body: 'Karla', sans-serif;
  --demo-bar-h: 38px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 24px 60px -18px rgba(0, 0, 0, 0.65);
}

/* Mandarin pages: CJK-aware body font, looser tracking */
html[lang^="zh"] {
  --font-body: 'Karla', 'Noto Sans SC', sans-serif;
}
html[lang^="zh"] body { letter-spacing: 0.02em; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--chilli); color: #fff; }

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }

.cn { font-family: var(--font-cn); }

/* ---------- demo notice bar (always visible, every page) ---------- */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--demo-bar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  background: repeating-linear-gradient(-45deg, #7a1f12 0 14px, #8d2716 14px 28px);
  color: #ffe9df;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid rgba(255, 233, 223, 0.25);
}
.demo-bar svg { flex: 0 0 auto; }
.demo-bar strong { color: #ffd9a8; font-weight: 700; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: var(--demo-bar-h); left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--chilli), var(--gold));
  z-index: 999;
  transition: width 80ms linear;
}

/* ---------- navigation ---------- */
.site-nav {
  position: fixed;
  top: var(--demo-bar-h); left: 0; right: 0;
  height: var(--nav-h);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background 300ms ease, box-shadow 300ms ease, height 300ms ease;
}
.site-nav.scrolled {
  background: rgba(15, 13, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-seal {
  width: 42px; height: 42px; flex: 0 0 auto;
  border: 2px solid var(--chilli);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--font-cn);
  font-size: 17px; font-weight: 900; color: var(--chilli);
  background: rgba(208, 64, 43, 0.08);
  transform: rotate(-4deg);
  transition: transform 250ms var(--ease-out);
}
.brand:hover .brand-seal { transform: rotate(4deg) scale(1.06); }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name .en { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-name .zh { font-family: var(--font-cn); font-size: 11.5px; color: var(--gold); letter-spacing: 0.4em; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); list-style: none; }
.nav-links a:not(.btn):not(.lang-switch) {
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-dim);
  padding: 6px 2px;
  position: relative;
  transition: color 200ms ease;
}
.nav-links a:not(.btn):not(.lang-switch)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-out);
}
.nav-links a:not(.btn):not(.lang-switch):hover { color: var(--cream); }
.nav-links a:not(.btn):not(.lang-switch):hover::after,
.nav-links a.active:not(.btn):not(.lang-switch)::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active:not(.btn):not(.lang-switch) { color: var(--gold-bright); }

/* language switcher pill */
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 162, 78, 0.45);
  border-radius: 30px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-decoration: none;
  background: rgba(212, 162, 78, 0.06);
  transition: background 200ms ease, transform 200ms var(--ease-out);
  white-space: nowrap;
}
.lang-switch:hover { background: rgba(212, 162, 78, 0.16); transform: translateY(-1px); }
.lang-switch svg { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--cream);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--chilli); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(208, 64, 43, 0.55);
}
.btn-primary:hover { background: #e14a33; transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(212, 162, 78, 0.5);
  color: var(--gold-bright);
  background: rgba(212, 162, 78, 0.05);
}
.btn-ghost:hover { background: rgba(212, 162, 78, 0.14); transform: translateY(-2px); }
.btn-whatsapp {
  background: #1fa855; color: #fff;
  box-shadow: 0 12px 30px -10px rgba(31, 168, 85, 0.5);
}
.btn-whatsapp:hover { background: #24bf61; transform: translateY(-2px); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 900px;
}
.hero-media {
  position: absolute; inset: -6%;
  z-index: 1;
  will-change: transform;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(15, 13, 10, 0) 0%, rgba(15, 13, 10, 0.55) 68%, rgba(15, 13, 10, 0.92) 100%),
    linear-gradient(to top, var(--ink) 0%, rgba(15, 13, 10, 0.25) 26%, rgba(15, 13, 10, 0.35) 100%);
}
#steam-canvas {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}
.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  padding: calc(var(--demo-bar-h) + var(--nav-h) + 20px) 20px 90px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 26px;
}
.hero-kicker::before, .hero-kicker::after {
  content: ''; width: 44px; height: 1px; background: var(--gold);
}
.hero-title {
  font-size: clamp(52px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%) rotateX(-45deg);
  animation: heroRise 1100ms var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 140ms; color: var(--gold); }
@keyframes heroRise { to { transform: translateY(0) rotateX(0); } }
.hero-zh {
  margin-top: 18px;
  font-family: var(--font-cn);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.65em;
  color: var(--cream-dim);
  text-indent: 0.65em;
}
.hero-sub {
  max-width: 560px;
  margin: 26px auto 40px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: var(--cream-dim);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--cream-dim);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--cream-dim);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: '';
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  padding: 18px 0;
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex; gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 600;
  white-space: nowrap;
  padding: 0 28px;
  color: var(--cream-dim);
}
.marquee span.zh { font-family: var(--font-cn); color: var(--gold); }
.marquee span.dot { color: var(--chilli); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- generic sections ---------- */
.section { padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 60px); position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 70px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--chilli);
  margin-bottom: 18px;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--chilli); }
.section-head.center .kicker::after { content: ''; width: 34px; height: 2px; background: var(--chilli); }
.section-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: var(--cream);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { margin-top: 18px; color: var(--cream-dim); font-size: 17px; font-weight: 300; max-width: 60ch; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- 3D scroll reveal ---------- */
.reveal-stage { perspective: 1100px; }
[data-reveal] {
  opacity: 0;
  transform: translateY(64px) rotateX(14deg) scale(0.95);
  transform-origin: 50% 100%;
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: transform, opacity;
}
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-70px) rotateY(10deg); }
[data-reveal="right"] { transform: translateX(70px) rotateY(-10deg); }
[data-reveal="zoom"] { transform: scale(0.82); }
[data-reveal].in-view { transform: none; }

/* ---------- horizontal scroll cinema (home dishes) ---------- */
.hscroll { position: relative; }
.hscroll-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hscroll-head { padding: 0 clamp(20px, 5vw, 60px); margin-bottom: 34px; }
.hscroll-track {
  display: flex; gap: clamp(18px, 2.5vw, 34px);
  padding: 0 clamp(20px, 5vw, 60px);
  will-change: transform;
  width: max-content;
}
.dish-card {
  position: relative;
  width: clamp(280px, 34vw, 460px);
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease-out), box-shadow 350ms ease;
}
.dish-card img { height: clamp(220px, 26vw, 330px); width: 100%; object-fit: cover; }
.dish-card-body { padding: 24px 26px 28px; }
.dish-card .num {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-display);
  font-size: 15px; font-style: italic;
  color: var(--gold-bright);
  background: rgba(15, 13, 10, 0.72);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--line);
}
.dish-card h3 { font-size: 24px; margin-bottom: 4px; }
.dish-card .zh-sub { font-family: var(--font-cn); color: var(--gold); font-size: 13px; letter-spacing: 0.28em; }
.dish-card p { margin-top: 12px; color: var(--cream-dim); font-size: 14.5px; font-weight: 300; }

/* ---------- stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  background: var(--ink-2);
  padding: clamp(34px, 4vw, 56px) 24px;
  text-align: center;
}
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat .value sup { font-size: 0.45em; color: var(--chilli); }
.stat .label {
  margin-top: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-dim);
}

/* ---------- split feature (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.split.flip .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: 10px;
  transform-style: preserve-3d;
}
.split-media img {
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--gold);
  border-radius: 10px;
  transform: translate(18px, 18px);
  z-index: -1;
  opacity: 0.5;
}
.split-media .stamp {
  position: absolute; top: -26px; right: -18px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--chilli);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-cn);
  font-size: 15px; font-weight: 900; line-height: 1.25;
  box-shadow: 0 16px 36px -10px rgba(208, 64, 43, 0.6);
  animation: spinSlow 14s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- ticket / info card ---------- */
.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}
.ticket dl { display: grid; gap: 18px; }
.ticket dt {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.ticket dd { font-size: 16.5px; color: var(--cream); }
.ticket dd small { color: var(--cream-dim); }

/* ---------- menu page ---------- */
.menu-hero {
  padding: calc(var(--demo-bar-h) + var(--nav-h) + clamp(50px, 8vw, 110px)) 20px clamp(50px, 7vw, 90px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.22;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,13,10,0.4), var(--ink));
}
.menu-note {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  color: var(--cream-dim);
  border: 1px dashed rgba(212, 162, 78, 0.4);
  border-radius: 30px;
  padding: 8px 20px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.menu-cat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}
.menu-cat-head {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.menu-cat-head img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.menu-cat:hover .menu-cat-head img { transform: scale(1.07); }
.menu-cat-head::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface) 4%, rgba(30, 24, 16, 0.15));
}
.menu-cat-head h3 {
  position: absolute; bottom: 14px; left: 24px; right: 24px;
  z-index: 2;
  font-size: 26px;
  display: flex; align-items: baseline; gap: 12px;
}
.menu-cat-head h3 .zh { font-family: var(--font-cn); font-size: 15px; color: var(--gold); letter-spacing: 0.2em; }
.menu-items { padding: 10px 26px 30px; list-style: none; }
.menu-items li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(212, 162, 78, 0.18);
}
.menu-items li:last-child { border-bottom: 0; }
.menu-items .name { font-weight: 600; font-size: 15.5px; }
.menu-items .name small { display: block; font-weight: 300; color: var(--cream-dim); font-size: 12.5px; margin-top: 2px; }
.menu-items .dots { flex: 1; border-bottom: 1px dotted rgba(194, 180, 154, 0.4); transform: translateY(-4px); }
.menu-items .price { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); font-size: 16px; white-space: nowrap; }
.badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--chilli);
  border: 1px solid rgba(208, 64, 43, 0.5);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  transform: translateY(-2px);
}

/* ---------- story page ---------- */
.story-chapter { min-height: 90svh; display: grid; align-items: center; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--chilli));
  opacity: 0.5;
}
.timeline-item { position: relative; padding: 0 0 54px 26px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -40px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--ink);
  transform: translateX(1px);
}
.timeline-item .era {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-bright);
  font-size: 20px;
}
.timeline-item h3 { font-size: 26px; margin: 6px 0 10px; }
.timeline-item p { color: var(--cream-dim); font-weight: 300; max-width: 58ch; }

.quote-block {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(50px, 8vw, 100px) 24px;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 42px);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
}
.quote-block blockquote::before { content: '“'; color: var(--chilli); font-size: 1.4em; }
.quote-block blockquote::after { content: '”'; color: var(--chilli); font-size: 1.4em; }
.quote-block cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- gallery page ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition: transform 350ms var(--ease-out), box-shadow 350ms ease;
  background: var(--surface);
}
.gallery-item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(15, 13, 10, 0.92), transparent);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.gallery-item figcaption span { color: var(--gold); font-family: var(--font-cn); margin-right: 8px; }
.gallery-item.tall img { aspect-ratio: 3 / 4; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(10, 8, 6, 0.94);
  display: none;
  place-items: center;
  padding: 30px;
  cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  animation: lightboxIn 300ms var(--ease-out);
}
@keyframes lightboxIn { from { transform: scale(0.92); opacity: 0; } }
.lightbox .close {
  position: absolute; top: calc(var(--demo-bar-h) + 18px); right: 26px;
  background: none; border: 0;
  color: var(--cream); font-size: 40px;
  cursor: pointer; line-height: 1;
}

/* ---------- visit page ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.map-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.4;
  transform-style: preserve-3d;
}
.map-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.map-card-overlay {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
  background: radial-gradient(ellipse at center, rgba(15, 13, 10, 0.25), rgba(15, 13, 10, 0.72));
}
.map-card-overlay svg { color: var(--chilli); filter: drop-shadow(0 8px 18px rgba(208, 64, 43, 0.6)); }
.map-card-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.map-card-sub { color: var(--cream-dim); max-width: 40ch; font-size: 14.5px; }
.map-card-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(212, 162, 78, 0.18);
  font-size: 15px;
}
.hours-table td:last-child { text-align: right; font-family: var(--font-display); font-style: italic; color: var(--gold-bright); }
.hours-table tr.closed td { color: var(--chilli); }
.hours-table tr.closed td:last-child { color: var(--chilli); font-weight: 700; }

/* ---------- big CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 24px;
  overflow: hidden;
}
.cta-band-bg { position: absolute; inset: -10%; z-index: -2; will-change: transform; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: rgba(15, 13, 10, 0.78);
}
.cta-band h2 { font-size: clamp(34px, 6vw, 72px); font-weight: 900; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { margin: 18px auto 36px; max-width: 52ch; color: var(--cream-dim); font-size: 17px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(50px, 7vw, 80px) clamp(20px, 5vw, 60px) 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 50px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid li { color: var(--cream-dim); font-size: 14.5px; font-weight: 300; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; transition: color 200ms; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand .zh-big {
  font-family: var(--font-cn);
  font-size: 30px; font-weight: 900;
  color: var(--cream);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.footer-demo-note {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(194, 180, 154, 0.75);
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.8;
}
.footer-demo-note strong { color: var(--gold); }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 950;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1fa855;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -8px rgba(31, 168, 85, 0.65);
  transition: transform 250ms var(--ease-out);
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .visit-grid { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --demo-bar-h: 52px; }
  .demo-bar { font-size: 11px; line-height: 1.35; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 82vw);
    background: rgba(15, 13, 10, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 380ms var(--ease-out);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6);
    z-index: 995;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 16px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 996; }
  .hscroll-pin { position: static; height: auto; }
  .hscroll-track {
    overflow-x: auto;
    width: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }
  .dish-card { scroll-snap-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  #steam-canvas { display: none; }
}
