/* ==========================================================================
   Neptune Seafood Restaurant 龍皇海鮮酒家 — Richmond
   "Lacquer & Gold" — deep lacquer ground, gold hairlines, seal red accents.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* ground — neptunegroup.ca's own rgb(29, 14, 3), a near-black warm brown,
     stepped up for section and card grounds */
  --ink:        #1d0e03;
  --ink-2:      #241305;
  --ink-3:      #2e1a08;
  --lacquer:    #3a1f09;
  --lacquer-2:  #4a280c;

  /* the rgb triple behind every scrim / overlay on the page */
  --scrim:      15, 8, 2;
  --glow:       74, 40, 12;

  /* metal + accent */
  --gold:       #cba469;
  --gold-2:     #e6c992;
  --gold-3:     #f4e0b4;
  --gold-dim:   rgba(203, 164, 105, 0.58);
  --seal:       #c1272c;
  --seal-2:     #d6383d;

  /* text — their own rgb(250,236,225) and rgb(200,189,180) */
  --cream:      #faece1;
  --sand:       #c8bdb4;
  --sand-dim:   rgba(200, 189, 180, 0.76);

  /* lines */
  --line:       rgba(203, 164, 105, 0.20);
  --line-soft:  rgba(203, 164, 105, 0.11);
  --line-strong:rgba(203, 164, 105, 0.38);

  /* type */
  --serif:  "Cormorant Garamond", "Noto Serif TC", "Songti SC", serif;
  --serif-cjk: "Noto Serif TC", "Cormorant Garamond", "Songti SC", serif;
  --sans:   "Jost", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans-cjk: "Noto Sans TC", "Jost", -apple-system, sans-serif;

  /* rhythm */
  --shell:  1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 132px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 回紋 key-fret band, drawn as one repeating unit */
  --fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1'%3E%3Cpath d='M0 15h16M1 15V1h13v10H5V7h6'/%3E%3C/g%3E%3C/svg%3E");

  /* 卷雲 cloud scroll around a 方勝 lozenge — a centred section ornament */
  --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M0 11h32'/%3E%3Cpath d='M88 11h32'/%3E%3Cpath d='M32 11c0-5 4-8 8-8 3 0 5 2 5 5 0 2-2 3-3 3'/%3E%3Cpath d='M88 11c0-5-4-8-8-8-3 0-5 2-5 5 0 2 2 3 3 3'/%3E%3Cpath d='M52 11l8-6 8 6-8 6z'/%3E%3C/g%3E%3C/svg%3E");

  /* 回紋 corner brackets, one pre-rotated variant per corner */
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.2'%3E%3Cpath d='M0 26V9h9V0'/%3E%3Cpath d='M5 26V14h9V5'/%3E%3C/g%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.2' transform='rotate(90 13 13)'%3E%3Cpath d='M0 26V9h9V0'/%3E%3Cpath d='M5 26V14h9V5'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.2' transform='rotate(180 13 13)'%3E%3Cpath d='M0 26V9h9V0'/%3E%3Cpath d='M5 26V14h9V5'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.2' transform='rotate(270 13 13)'%3E%3Cpath d='M0 26V9h9V0'/%3E%3Cpath d='M5 26V14h9V5'/%3E%3C/g%3E%3C/svg%3E");

  /* 窗格 lattice — the pattern from the restaurant's own brand plate */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23cba469' stroke-width='1.6' opacity='.5'%3E%3Cpath d='M0 0h120v120H0z'/%3E%3Cpath d='M0 22h22V0M98 0v22h22M120 98H98v22M22 120V98H0'/%3E%3Cpath d='M60 0v20M60 120v-20M0 60h20M120 60h-20M22 22h76v76H22z'/%3E%3Ccircle cx='60' cy='60' r='19'/%3E%3Ccircle cx='0' cy='0' r='11'/%3E%3Ccircle cx='120' cy='0' r='11'/%3E%3Ccircle cx='0' cy='120' r='11'/%3E%3Ccircle cx='120' cy='120' r='11'/%3E%3C/g%3E%3C/svg%3E");
}

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

/* In 中文 mode, headings pick up the CJK serif and a wider optical tracking. */
[data-lang="zh"] h1, [data-lang="zh"] h2, [data-lang="zh"] h3,
[data-lang="zh"] .display, [data-lang="zh"] .eyebrow {
  font-family: var(--serif-cjk);
  letter-spacing: 0.06em;
}
[data-lang="zh"] .btn, [data-lang="zh"] .nav-link { font-family: var(--sans-cjk); }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Cormorant defaults to old-style figures, which turn "$10.55" into "$IO.55".
     Lining figures everywhere so prices and years stay readable. */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -160%);
  z-index: 200; background: var(--gold); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- primitives */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.hairline {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(10px, 1.4vw, 11.5px);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: ""; height: 1px; width: clamp(24px, 5vw, 46px);
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.eyebrow--start::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--cream);
}
h1.display  { font-size: clamp(2.7rem, 7.4vw, 5.4rem); }
h2.display  { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3.display  { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }

.gold-text {
  background: linear-gradient(100deg, var(--gold) 8%, var(--gold-3) 42%, var(--gold) 78%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.85;
  color: var(--sand);
  max-width: 62ch;
}
[data-lang="zh"] .lede { line-height: 2.05; font-family: var(--sans-cjk); }

.cjk-vertical {
  writing-mode: vertical-rl;
  font-family: var(--serif-cjk);
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  font-size: clamp(12px, 1.4vw, 14px);
  user-select: none;
}

/* seal stamp */
.seal {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; flex: none;
  border-radius: 6px;
  background: var(--seal);
  color: #fff2e2;
  font-family: var(--serif-cjk);
  font-size: 17px; line-height: 1.05; font-weight: 500;
  letter-spacing: 1px;
  box-shadow: inset 0 0 0 1px rgba(244, 224, 180, 0.45), 0 6px 20px rgba(var(--scrim), .5);
}

/* ------------------------------------------------------------- buttons --- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn-gold {
  --btn-bg: linear-gradient(120deg, var(--gold) 0%, var(--gold-3) 52%, var(--gold) 100%);
  --btn-fg: #2b0a07;
  --btn-bd: transparent;
  font-weight: 500;
}
.btn-gold:hover { filter: brightness(1.08); }

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

.btn-seal {
  --btn-bg: var(--seal);
  --btn-fg: #fff0e2;
  --btn-bd: transparent;
}
.btn-seal:hover { background: var(--seal-2); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: .16em; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), backdrop-filter .4s var(--ease),
              border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding-block: 14px;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--scrim), 0.82), rgba(var(--scrim), 0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(var(--scrim), 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  padding-block: 8px;
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img {
  height: clamp(34px, 4.4vw, 46px); width: auto;
  transition: height .4s var(--ease);
}
.site-header.is-scrolled .brand img { height: clamp(30px, 3.6vw, 38px); }

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.nav-link {
  position: relative; white-space: nowrap;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sand); padding-block: 6px;
  transition: color .25s var(--ease);
}
[data-lang="zh"] .nav-link { font-size: 13.5px; letter-spacing: 0.14em; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover { color: var(--gold-2); }
.nav-link:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* language pill */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; background: rgba(var(--scrim), 0.42);
}
.lang-switch button {
  min-width: 46px; min-height: 32px; padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px; letter-spacing: 0.12em; font-weight: 400;
  color: var(--sand);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(120deg, var(--gold), var(--gold-3));
  color: #2b0a07; font-weight: 500;
}
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--gold-2); }

.header-call { display: none; }
@media (min-width: 700px) { .header-call { display: inline-flex; } }

/* hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 18px; height: 1px; background: var(--cream);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
/* 1px bar + 5px gap = 6px between centres, which is the translate the X uses. */
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.nav-overlay::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 150px;
  opacity: .05; pointer-events: none;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-open { overflow: hidden; }
.nav-overlay ul { display: grid; gap: 4px; position: relative; }
.nav-overlay a {
  display: block; padding: 12px 0;
  font-family: var(--serif); font-size: clamp(1.7rem, 8vw, 2.4rem); font-weight: 300;
  color: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
[data-lang="zh"] .nav-overlay a { font-family: var(--serif-cjk); font-size: clamp(1.5rem, 7vw, 2rem); }
.nav-overlay a:hover { color: var(--gold-2); padding-left: 10px; }
.nav-overlay .overlay-foot {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  position: relative;
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(56px, 9vh, 96px);
  padding-top: 128px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 38%;
  transform: scale(1.04);
}
/* The hero photo is bright in the middle; the scrim has to carry the text, so it
   stacks a vertical fade, a left-hand wash and a warm lacquer vignette. */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--scrim), .88) 0%, rgba(var(--scrim), .42) 26%, rgba(var(--scrim), .80) 62%, rgba(var(--scrim), .98) 100%),
    linear-gradient(94deg, rgba(var(--scrim), .90) 0%, rgba(var(--scrim), .72) 34%, rgba(var(--scrim), .18) 72%, transparent 100%),
    radial-gradient(130% 90% at 18% 92%, rgba(var(--glow), .82), transparent 64%);
}
@media (max-width: 719px) {
  .hero-media img { object-position: 66% 34%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), .46) 20%, rgba(var(--scrim), .86) 52%, rgba(var(--scrim), .98) 100%),
      radial-gradient(140% 70% at 30% 88%, rgba(var(--glow), .9), transparent 70%);
  }
}

.hero-inner { position: relative; width: 100%; }

.hero-title { margin-top: 20px; }
.hero-title .line-zh {
  display: block;
  font-family: var(--serif-cjk); font-weight: 500;
  font-size: clamp(2.9rem, 9vw, 6rem);
  letter-spacing: 0.14em; line-height: 1.08;
}
.hero-title .line-en {
  display: block; margin-top: 6px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.5rem, 4.2vw, 3.05rem);
  letter-spacing: 0.02em; line-height: 1.14;
  color: var(--cream);
}
.hero-sub {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(.95rem, 1.5vw, 1.08rem); line-height: 1.85; color: var(--sand);
}
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 46px);
}
.hero-meta div { display: grid; gap: 3px; }
.hero-meta dt, .hero-meta .k {
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.hero-meta .v { font-size: 14px; color: var(--cream); letter-spacing: .02em; }

.hero-side {
  position: absolute; right: clamp(18px, 2.4vw, 40px); bottom: 30%;
  display: none;
}
@media (min-width: 1180px) { .hero-side { display: block; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand-dim);
}
@media (min-width: 1024px) and (min-height: 800px) { .scroll-cue { display: flex; } }
.scroll-cue i {
  display: block; width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i { animation: none; } }

/* ------------------------------------------------------------ accolades -- */
.accolades {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}
/* scoped to the grid itself — the section also holds plain .shell wrappers
   for the key-fret bands, which must not become grid containers */
.accolade-grid {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  padding-block: 0;
}
@media (min-width: 720px) { .accolade-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .accolade-grid { grid-template-columns: repeat(4, 1fr); } }
.accolade {
  padding: clamp(26px, 3.6vw, 40px) clamp(14px, 2vw, 26px);
  text-align: center;
  position: relative;
}
.accolade + .accolade::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: var(--line-soft);
}
@media (max-width: 719px) {
  .accolade + .accolade::before { left: 12%; right: 12%; top: 0; bottom: auto; width: auto; height: 1px; }
}
.accolade .num {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 300;
  line-height: 1;
}
.accolade .lbl {
  margin-top: 10px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--sand-dim); line-height: 1.7;
}
[data-lang="zh"] .accolade .lbl { letter-spacing: .16em; font-size: 12px; }

/* ---------------------------------------------------------------- story -- */
.story { position: relative; overflow: hidden; }
.story::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 168px;
  opacity: .04; pointer-events: none;
}
.story-grid {
  position: relative;
  display: grid; gap: clamp(34px, 6vw, 70px);
  align-items: center;
}
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 0.86fr; } }

.story-copy > * + * { margin-top: 22px; }
.story-quote {
  margin-top: 30px; padding-left: 22px;
  border-left: 1px solid var(--gold-dim);
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic; font-weight: 300; line-height: 1.55; color: var(--gold-2);
}
[data-lang="zh"] .story-quote { font-family: var(--serif-cjk); font-style: normal; }
.story-quote cite {
  display: block; margin-top: 10px;
  font-family: var(--sans); font-style: normal; font-size: 10.5px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--sand-dim);
}

.story-figure { position: relative; }
.story-figure img {
  width: 100%; border-radius: 2px;
  filter: saturate(1.02) contrast(1.03);
}
.story-figure::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 1px solid var(--line); border-radius: 2px;
}
.story-figure .seal { position: absolute; right: -18px; bottom: 26px; }

/* ------------------------------------------------------------ signature -- */
.rail-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(26px, 4vw, 44px);
}
.rail-nav { display: none; gap: 8px; }
@media (min-width: 760px) { .rail-nav { display: flex; } }
.rail-btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--sand);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.rail-btn:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(200,160,99,.07); }
.rail-btn[disabled] { opacity: .3; cursor: default; }

.rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 78vw);
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  /* bleed to the screen edge on mobile */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 620px) { .rail { grid-auto-columns: minmax(280px, 42vw); } }
@media (min-width: 1024px) { .rail { grid-auto-columns: 340px; } }

.dish-card {
  scroll-snap-align: start;
  position: relative; border-radius: 2px; overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line-soft);
}
.dish-card .ph { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--ink-2); }
.dish-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.dish-card:hover img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .dish-card:hover img { transform: none; } }
/* Some dish photos are shot on white, so the caption scrim has to be heavy
   enough to keep cream text legible on the brightest of them. */
.dish-card .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(var(--scrim), .55) 52%, rgba(var(--scrim), .93) 78%, rgba(var(--scrim), .99) 100%);
}
.dish-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 18px 20px 20px; z-index: 1;
  min-height: 96px; display: flex; flex-direction: column; justify-content: flex-end;
}
.dish-card .zh {
  font-family: var(--serif-cjk); font-size: 1.22rem; font-weight: 500;
  letter-spacing: .06em; color: var(--cream); line-height: 1.35;
}
.dish-card .en {
  margin-top: 4px; font-size: 12px; letter-spacing: .1em; color: var(--sand);
  line-height: 1.5;
}
.price-chip {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(var(--scrim), .72); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .06em; color: var(--gold-2);
}

/* ------------------------------------------------------------- dim sum --- */
.dimsum {
  position: relative;
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--lacquer) 45%, var(--ink) 100%);
}
.dimsum::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 132px;
  opacity: .055; pointer-events: none;
}
.dimsum-grid {
  position: relative;
  display: grid; gap: clamp(30px, 5vw, 60px); align-items: center;
}
@media (min-width: 940px) { .dimsum-grid { grid-template-columns: 0.92fr 1fr; } }

.dimsum-figure { position: relative; border-radius: 2px; overflow: hidden; }
.dimsum-figure img { width: 100%; }
.dimsum-figure::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(190deg, transparent 55%, rgba(var(--glow), .5));
}

.offer-list { display: grid; gap: 0; margin-top: 28px; }
.offer {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line-soft);
}
.offer:last-child { border-bottom: 1px solid var(--line-soft); }
.offer .t { flex: 1 1 auto; }
.offer .t .h { font-size: 14.5px; color: var(--cream); letter-spacing: .04em; }
.offer .t .s { font-size: 12px; color: var(--sand-dim); margin-top: 2px; }
.offer .v {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400; color: var(--gold-2); white-space: nowrap;
}

/* ---------------------------------------------------------------- menu --- */
.menu-section { background: var(--ink-2); }

.menu-tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line-soft);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  margin-bottom: 8px;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  position: relative; flex: none;
  min-height: 52px; padding: 0 clamp(14px, 2.4vw, 26px);
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); white-space: nowrap;
  transition: color .3s var(--ease);
}
[data-lang="zh"] .menu-tab { font-size: 14px; letter-spacing: .12em; font-family: var(--sans-cjk); }
.menu-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3));
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.menu-tab:hover { color: var(--gold-2); }
.menu-tab[aria-selected="true"] { color: var(--cream); }
.menu-tab[aria-selected="true"]::after { transform: scaleX(1); }
.menu-tab .n { font-size: 10px; color: var(--gold-dim); letter-spacing: .05em; }

.menu-note {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  padding: 16px 0 4px;
  font-size: 11.5px; color: var(--sand-dim); letter-spacing: .04em;
}
.menu-note .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-dim); }

.menu-legend {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 18px 0 6px;
}
.legend-chip {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: .08em; color: var(--sand);
}
.legend-chip b { color: var(--gold-2); font-weight: 500; }

/* accordion category */
.cat { border-bottom: 1px solid var(--line-soft); }
.cat-head {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 22px 0; text-align: left;
  transition: color .25s var(--ease);
}
.cat-head:hover .cat-title { color: var(--gold-2); }
.cat-title {
  flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  transition: color .25s var(--ease);
}
.cat-title .zh {
  font-family: var(--serif-cjk); font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500; letter-spacing: .1em; color: inherit;
}
.cat-title .en {
  font-family: var(--sans); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold);
}
.cat-count { font-size: 11px; color: var(--sand-dim); letter-spacing: .1em; }
.cat-chevron {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold);
  transition: transform .35s var(--ease), border-color .3s var(--ease);
}
.cat-head[aria-expanded="true"] .cat-chevron { transform: rotate(45deg); border-color: var(--gold-dim); }

.cat-body { display: none; padding-bottom: 26px; }
.cat.is-open .cat-body { display: block; }

.dish-list { display: grid; gap: 2px; }
@media (min-width: 900px) { .dish-list { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 64px); } }

.dish {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: 4px 12px; padding: 11px 0;
  border-bottom: 1px dotted rgba(200, 160, 99, 0.14);
}
.dish-name { min-width: 0; }
.dish-name .n1 {
  font-family: var(--serif-cjk); font-size: 15.5px; font-weight: 500;
  letter-spacing: .04em; color: var(--cream); line-height: 1.5;
  overflow-wrap: anywhere;
}
.dish-name .n2 {
  font-size: 12.5px; color: var(--sand-dim); line-height: 1.55; margin-top: 1px;
  overflow-wrap: anywhere;
}
[data-lang="zh"] .dish-name .n1 { font-family: var(--serif-cjk); }
[data-lang="en"] .dish-name .n1 { font-family: var(--serif); font-size: 16px; font-weight: 400; }
[data-lang="en"] .dish-name .n2 { font-family: var(--serif-cjk); }

.dish-code {
  display: inline-block; margin-right: 8px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .1em;
  color: var(--gold-dim); vertical-align: middle;
}
.dish-price {
  font-family: var(--serif); font-size: 15.5px; color: var(--gold-2);
  letter-spacing: .02em; white-space: nowrap; text-align: right;
}
.dish-price .sz {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: .16em; color: var(--sand-dim); margin-top: 1px;
}
.dish-price .var { display: block; font-size: 13.5px; line-height: 1.5; }
.dish-price .var span { font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: var(--sand-dim); }

.tags { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-left: 7px; vertical-align: middle; }
.tag {
  font-family: var(--sans); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--sand-dim); line-height: 1.6;
}
.tag.rec { color: var(--gold-2); border-color: var(--gold-dim); }
.tag.new { color: #2b0a07; border-color: transparent; background: linear-gradient(120deg, var(--gold), var(--gold-3)); font-weight: 500; }
.tag.veg { color: #b8d6ab; border-color: rgba(150, 200, 130, .32); }

.dish-note { font-size: 11px; color: var(--sand-dim); letter-spacing: .03em; }

/* ------------------------------------------------------- banquet / sets -- */
.banquet { position: relative; overflow: hidden; }
.banquet::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--ink-2), var(--lacquer) 55%, var(--ink-2));
}
.banquet > * { position: relative; z-index: 1; }

.set-grid {
  display: grid; gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .set-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .set-grid { grid-template-columns: repeat(3, 1fr); } }

.set-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 2px;
  background: linear-gradient(170deg, rgba(78, 16, 15, .55), rgba(var(--scrim), .82));
  padding: clamp(22px, 3vw, 32px);
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.set-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .set-card:hover { transform: none; } }
.set-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 120px;
  opacity: .035; pointer-events: none;
}
.set-card.is-feature { border-color: var(--gold-dim); }
.set-card .ribbon {
  position: absolute; top: 0; right: 0;
  padding: 5px 14px; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  background: var(--seal); color: #fff0e2;
}
.set-head { position: relative; }
.set-head .zh {
  font-family: var(--serif-cjk); font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 500; letter-spacing: .12em; color: var(--cream);
}
.set-head .en {
  margin-top: 6px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}
.set-price {
  margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.set-price .amt {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 300;
  line-height: 1;
}
.set-price .was {
  font-family: var(--serif); font-size: 1.1rem; color: var(--sand-dim);
  text-decoration: line-through; text-decoration-color: var(--seal);
}
.set-price .per { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-dim); }
.set-courses { margin-top: 18px; display: grid; gap: 9px; flex: 1 1 auto; }
.set-courses li { display: grid; gap: 1px; }
.set-courses .c-zh {
  font-family: var(--serif-cjk); font-size: 14px; font-weight: 500;
  letter-spacing: .05em; color: var(--cream);
}
.set-courses .c-en { font-size: 11.5px; color: var(--sand-dim); line-height: 1.5; }
[data-lang="en"] .set-courses .c-zh { font-family: var(--serif); font-weight: 400; }
.set-foot {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 11px; color: var(--sand-dim); line-height: 1.7;
}

.venue-grid {
  display: grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: 1fr;
  margin-top: clamp(34px, 5vw, 56px);
}
@media (min-width: 780px) { .venue-grid { grid-template-columns: 1.5fr 1fr; } }
.venue-shot { position: relative; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-soft); }
.venue-shot img { width: 100%; height: 100%; object-fit: cover; }
.venue-shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(var(--scrim), .94), transparent);
  font-size: 12px; letter-spacing: .12em; color: var(--cream);
}
.venue-shot figcaption b { display: block; font-family: var(--serif-cjk); font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 2px; }

/* ---------------------------------------------------------------- visit -- */
.visit { background: var(--ink-2); }
.visit-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

.info-list { display: grid; gap: 0; }
.info-row {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line-soft);
  align-items: start;
}
.info-row:last-child { border-bottom: 1px solid var(--line-soft); }
.info-row dt {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  padding-top: 5px;
}
[data-lang="zh"] .info-row dt { letter-spacing: .18em; font-size: 11.5px; }
.info-row dd { font-size: 15px; color: var(--cream); line-height: 1.75; }
.info-row dd small { display: block; font-size: 12px; color: var(--sand-dim); margin-top: 2px; }
/* Inline info links are real tap targets on a phone — pad them out to ~44px
   without disturbing the text baseline. */
.info-row a {
  display: inline-block;
  padding-block: 11px; margin-block: -11px;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.info-row a:hover { color: var(--gold-2); text-decoration-color: var(--gold); }

.hours-table { display: grid; gap: 10px; }
.hours-row { display: flex; align-items: baseline; gap: 12px; }
.hours-row .lbl { font-size: 13px; color: var(--cream); flex: none; min-width: 92px; }
.hours-row .fill { flex: 1 1 auto; border-bottom: 1px dotted rgba(200,160,99,.22); transform: translateY(-4px); }
.hours-row .val { font-family: var(--serif); font-size: 15px; color: var(--gold-2); }

.delivery { margin-top: 30px; }
.delivery-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.delivery-list a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; letter-spacing: .1em; color: var(--sand);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.delivery-list a:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(200,160,99,.06); }

.map-frame {
  position: relative; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  min-height: 320px;
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-frame .overlay {
  position: absolute; inset: auto 0 0 0; padding: 22px;
  background: linear-gradient(0deg, rgba(var(--scrim), .98) 12%, rgba(var(--scrim), .86) 52%, transparent 100%);
  padding-top: 56px;
}
.map-frame:hover img { filter: brightness(1.06); }
.map-frame img { transition: filter .4s var(--ease); }

/* ------------------------------------------------------------------ cta -- */
.cta-band {
  position: relative; overflow: hidden;
  text-align: center;
  padding-block: clamp(70px, 10vw, 120px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, var(--lacquer-2), var(--lacquer) 45%, var(--ink));
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--lattice); background-size: 150px; opacity: .06;
}
.cta-band .shell { position: relative; z-index: 1; }
.cta-band .btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-dragon { width: 78px; margin: 0 auto 22px; opacity: .9; }

/* --------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-soft); }
.footer-main {
  display: grid; gap: clamp(30px, 5vw, 56px);
  padding-block: clamp(50px, 7vw, 76px);
}
@media (min-width: 820px) { .footer-main { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 13px; color: var(--sand); line-height: 1.8; }
.footer-brand address { margin-top: 14px; font-style: normal; font-size: 13px; color: var(--sand); line-height: 1.8; }
.footer-brand address a {
  display: inline-block; padding-block: 11px; margin-block: -9px;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.footer-brand address a:hover { color: var(--gold-2); text-decoration-color: var(--gold); }

.footer-col h4 {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
[data-lang="zh"] .footer-col h4 { letter-spacing: .18em; font-size: 11.5px; }
/* Full-width rows so short labels ("Visit") are still a comfortable tap target. */
.footer-col li a, .footer-col li span {
  display: flex; align-items: center; min-height: 42px;
  font-size: 13px; color: var(--sand);
  transition: color .25s var(--ease);
}
.footer-col li a:hover { color: var(--gold-2); }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  padding-bottom: 26px; font-size: 11.5px; color: var(--sand-dim);
}

/* DineCall strip — required, keep wording + behavior */
.dinecall-strip {
  border-top: 1px solid var(--line-soft);
  padding: 24px 20px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.dinecall {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-size: 14px; color: var(--sand);
  transition: color .2s;
}
.dinecall:hover { color: var(--gold-2); }
.dc-by { letter-spacing: 0.03em; }
.dc-brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 500; color: var(--cream);
  transition: color .2s;
}
.dinecall:hover .dc-brand { color: var(--gold-2); }
.dc-mark {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dc-mark svg { width: 100%; height: 100%; display: block; }
.dinecall:hover .dc-mark { transform: rotate(-6deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .dinecall:hover .dc-mark { transform: none; } }
.dc-name { white-space: nowrap; }
.dc-tag { max-width: 52ch; font-size: 12px; line-height: 1.6; color: var(--sand-dim); margin: 0; }

/* -------------------------------------------------------------- reveal --- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-d1.is-in { transition-delay: .09s; }
.reveal-d2.is-in { transition-delay: .18s; }
.reveal-d3.is-in { transition-delay: .27s; }

html.no-anim .reveal,
html.no-anim .reveal.is-in { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .hero-media img { transform: none; }
}

/* ------------------------------------------------------------ utilities -- */
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------- late additions -------- */
[hidden] { display: none !important; }
.set-courses li[hidden] { display: none !important; }

/* the "expand all" control disappears on set-menu tabs */
#expandAll[hidden] { display: none !important; }

/* upgrades block inside the banquet section */
#upgradeBlock .dish-list { max-width: 900px; }
#upgradeBlock .set-foot { max-width: 72ch; color: var(--sand-dim); }

/* dish rail: keep the focus ring inside the bleeding container */
.rail:focus-visible { outline-offset: -2px; }

/* ═══════════════════════════════════════════ Chinese ornament ═══════════ */

/* 回紋 key-fret band. Used where a plain hairline would be too plain — the top
   of the accolade strip, the footer rule, and between the long sections. */
.fret-rule {
  height: 16px; width: 100%;
  background-image: var(--fret);
  background-repeat: repeat-x;
  background-position: center;
  opacity: .42;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.fret-rule--tight { opacity: .3; }

/* 卷雲 cloud scroll around a 方勝 lozenge — centred above a heading. */
.cloud-rule {
  height: 22px; width: 100%; max-width: 260px;
  margin-inline: auto;
  background-image: var(--cloud);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .78;
}

/* 回紋 corner brackets. Applied over a box without touching its layout. */
.ornate-corners { position: relative; }
.ornate-corners::after {
  content: ""; position: absolute; inset: 9px; z-index: 2;
  pointer-events: none;
  background-image: var(--corner-tl), var(--corner-tr), var(--corner-br), var(--corner-bl);
  background-position: left top, right top, right bottom, left bottom;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  opacity: .5;
  transition: opacity .4s var(--ease);
}
.set-card:hover::after { opacity: .95; }

/* vertical couplet, the same device as the hero's */
.section-couplet {
  position: absolute; right: clamp(14px, 2vw, 34px); top: 22%;
  display: none; z-index: 2;
}
@media (min-width: 1240px) { .section-couplet { display: block; } }

/* the seal in the story figure gets a companion mark in the banquet section */
.ornament-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 18px;
}
.ornament-row .seal { width: 44px; height: 44px; font-size: 14px; }

/* ══════════════════════════════════ Neptune Restaurant Group ════════════ */
.group-section { background: var(--ink-2); position: relative; overflow: hidden; }
.group-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 160px;
  opacity: .04; pointer-events: none;
}
.group-section > * { position: relative; }

#groupTabs { margin-bottom: clamp(28px, 4vw, 44px); }

/* --- brand family intro: their own brand plate, blurb and a dish photo --- */
.family-intro { display: grid; gap: clamp(20px, 3vw, 34px); align-items: center; margin-bottom: clamp(30px, 4vw, 48px); }
@media (min-width: 900px) { .family-intro.has-photo { grid-template-columns: 1.35fr 1fr; } }

.brand-plate {
  width: 100%; max-width: 640px; border-radius: 2px;
  border: 1px solid var(--line-soft);
}
.brand-mark {
  display: inline-grid; place-items: center;
  padding: 22px 30px; border-radius: 2px;
  background: rgba(var(--scrim), .45);
  border: 1px solid var(--line-soft);
}
.brand-mark img { width: auto; max-height: 74px; }

.brand-photo { border-radius: 2px; overflow: hidden; border: 1px solid var(--line-soft); }
.brand-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.family-copy .lede { max-width: 54ch; }

/* --- brand blocks and location cards ------------------------------------ */
.brand-block + .brand-block { margin-top: clamp(30px, 4vw, 46px); }

.brand-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-head .bn {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 400; color: var(--cream); letter-spacing: .01em;
}
.brand-head .bz {
  font-family: var(--serif-cjk); font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 500; letter-spacing: .12em;
}
.brand-head .bk {
  margin-left: auto;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
[data-lang="zh"] .brand-head .bk { letter-spacing: .14em; font-size: 12px; text-transform: none; }

.loc-grid { display: grid; gap: clamp(14px, 1.8vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }

.loc-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: linear-gradient(170deg, rgba(var(--glow), .12), rgba(var(--scrim), .36));
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.loc-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .loc-card:hover { transform: none; } }
.loc-card.is-here { border-color: var(--gold-dim); }
.loc-card .here-tag {
  position: absolute; top: 0; right: 0; z-index: 2;
  padding: 4px 11px;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(120deg, var(--gold), var(--gold-3)); color: #2b1407;
  font-weight: 500;
}
[data-lang="zh"] .loc-card .here-tag { letter-spacing: .1em; font-size: 10.5px; text-transform: none; }

.loc-text { padding: clamp(18px, 2.2vw, 24px); flex: 1 1 auto; }
.loc-city {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  font-family: var(--serif); font-size: 1.28rem; color: var(--cream);
}
.loc-city .zh { font-family: var(--serif-cjk); font-size: 1.02rem; letter-spacing: .1em; color: var(--gold-2); }
.loc-area {
  margin-top: 3px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.loc-body { margin-top: 14px; padding-top: 14px; border-top: 1px dotted rgba(203, 164, 105, .18); }
.loc-body a, .loc-body p, .loc-body span { display: block; font-size: 13px; line-height: 1.75; color: var(--sand); }
.loc-body .tel { font-family: var(--serif); font-size: 1.05rem; color: var(--gold-2); letter-spacing: .02em; margin-top: 4px; }
.loc-body .hrs { color: var(--sand-dim); font-size: 12px; margin-top: 4px; }

.loc-go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  transition: gap .3s var(--ease);
}
[data-lang="zh"] .loc-go { letter-spacing: .12em; font-size: 12px; text-transform: none; }
a.loc-card:hover .loc-go { gap: 12px; color: var(--gold-2); }
a.loc-card { color: inherit; }

/* --- embedded map on every card ----------------------------------------- */
.loc-map, .map-embed {
  position: relative; width: 100%;
  border-top: 1px solid var(--line-soft);
  background: rgba(var(--scrim), .6);
}
.loc-map { aspect-ratio: 16 / 9; }
.map-embed {
  aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.loc-map iframe, .map-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  /* Google's light map is far too bright next to the lacquer ground */
  filter: grayscale(0.42) invert(0.9) hue-rotate(180deg) contrast(0.86) brightness(0.92) sepia(0.24);
}
.loc-directions {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--scrim), .88);
  border: 1px solid var(--line-strong);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2);
  backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
[data-lang="zh"] .loc-directions { letter-spacing: .1em; font-size: 12px; text-transform: none; }
.loc-directions:hover { background: var(--gold); color: #2b1407; border-color: transparent; }

.group-more { margin-top: clamp(34px, 5vw, 52px); padding-top: 22px; border-top: 1px solid var(--line-soft); }
.group-more h4 {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
[data-lang="zh"] .group-more h4 { letter-spacing: .18em; font-size: 11.5px; }
.group-more ul { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.group-more li {
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--sand-dim); letter-spacing: .03em;
}

/* ══════════════════════════════════════ delivery partner logos ══════════ */
.delivery-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.delivery-chip {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 6px 16px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: .05em; color: var(--sand);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.delivery-chip img {
  width: 34px; height: 34px; flex: none; border-radius: 9px; object-fit: contain;
  background: #fff; padding: 2px;
}
.delivery-chip:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(203, 164, 105, .07); }

/* ══════════════════════════════════════════ films and press ═════════════ */
.film-section { position: relative; }

.film-rail { grid-auto-columns: minmax(260px, 84vw); }
@media (min-width: 700px)  { .film-rail { grid-auto-columns: minmax(320px, 46vw); } }
@media (min-width: 1024px) { .film-rail { grid-auto-columns: 380px; } }

.film-card {
  scroll-snap-align: start; position: relative;
  border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: var(--ink-3); cursor: pointer;
}
.film-card .ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(var(--scrim), .8); }
.film-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-card .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--scrim), .1), rgba(var(--scrim), .55));
  transition: opacity .4s var(--ease);
}
.film-card.is-playing .ph::after { opacity: 0; }

.film-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(var(--scrim), .55);
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}
.film-card:hover .film-play { background: var(--gold); color: #2b1407; border-color: transparent; }
.film-card.is-playing .film-play { opacity: 0; pointer-events: none; }

.film-card .cap { padding: 16px 18px 18px; }
.film-card .cap .zh {
  font-family: var(--serif-cjk); font-size: 1.12rem; font-weight: 500;
  letter-spacing: .06em; color: var(--cream);
}
[data-lang="en"] .film-card .cap .zh { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
.film-card .cap .en { margin-top: 4px; font-size: 12px; color: var(--sand-dim); line-height: 1.6; }

.press-list { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .press-list { grid-template-columns: repeat(2, 1fr); } }
.press-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; min-height: 64px;
  border: 1px solid var(--line-soft); border-radius: 2px;
  background: rgba(var(--scrim), .3);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.press-card:hover { border-color: var(--gold-dim); background: rgba(203, 164, 105, .05); }
.press-card .outlet {
  flex: none; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  min-width: 96px;
}
.press-card .headline { flex: 1 1 auto; font-size: 13.5px; line-height: 1.6; color: var(--sand); }
.press-card .go { flex: none; color: var(--gold-dim); transition: color .3s var(--ease); }
.press-card:hover .go { color: var(--gold-2); }



/* ══════════════════════════════════════════ location pages ══════════════ */
body.is-location { padding-top: 0; }

.loc-hero {
  position: relative; overflow: hidden;
  min-height: clamp(460px, 74svh, 660px);
  display: flex; align-items: flex-end;
  padding: 148px 0 clamp(44px, 6vw, 72px);
}
.loc-hero-media { position: absolute; inset: 0; z-index: -2; }
.loc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--scrim), .92) 0%, rgba(var(--scrim), .48) 32%, rgba(var(--scrim), .84) 70%, rgba(var(--scrim), .98) 100%),
    linear-gradient(94deg, rgba(var(--scrim), .88) 0%, rgba(var(--scrim), .58) 42%, rgba(var(--scrim), .1) 88%);
}
.loc-hero-inner { position: relative; width: 100%; }

.crumb {
  display: inline-flex; width: fit-content; align-items: center; min-height: 34px;
  font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  transition: color .25s var(--ease);
}
[data-lang="zh"] .crumb { letter-spacing: .18em; font-size: 12px; text-transform: none; }
.crumb::before { content: "\2190"; margin-right: 10px; }
.crumb:hover { color: var(--gold-2); }

/* The brand marks are supplied on their own white plates, the way the group
   sets them over a storefront shot — so no wrapper chrome, just scale. */
.loc-hero-mark { display: block; width: fit-content; margin: 22px 0 18px; }
.loc-hero-mark img {
  max-height: clamp(64px, 9vw, 104px); width: auto;
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(var(--scrim), .55);
}
.loc-hero-plate {
  display: block; margin: 20px 0 22px;
  width: min(460px, 82vw); border-radius: 2px; border: 1px solid var(--line-soft);
}

.loc-hero-title { font-size: clamp(2.2rem, 5.4vw, 3.9rem); margin-top: 10px; }
[data-lang="zh"] .loc-hero-title { letter-spacing: .1em; }
.loc-hero-city { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.loc-hero-city .c { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--gold-2); }
[data-lang="zh"] .loc-hero-city .c { font-family: var(--serif-cjk); letter-spacing: .12em; }
.loc-hero-city .a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-dim); }
.loc-hero .hero-cta { margin-top: 28px; }

/* --- facts + map -------------------------------------------------------- */
.loc-facts-section { background: var(--ink-2); }
.loc-facts-grid { display: grid; gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (min-width: 900px) { .loc-facts-grid { grid-template-columns: 1fr 1fr; } }

.fact-list { display: grid; }
.fact {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line-soft); align-items: start;
}
.fact:last-child { border-bottom: 1px solid var(--line-soft); }
.fact dt { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
[data-lang="zh"] .fact dt { letter-spacing: .18em; font-size: 11.5px; }
.fact dd { font-size: 14.5px; color: var(--cream); line-height: 1.8; }
.fact dd a {
  display: inline-block; padding-block: 9px; margin-block: -9px;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.fact dd a:hover { color: var(--gold-2); text-decoration-color: var(--gold); }
.fact dd a.big { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-2); }

.order-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.order-chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; letter-spacing: .08em; color: var(--sand);
  text-decoration: none; margin: 0;
}
.order-chips a:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(203, 164, 105, .06); }

/* --- this location's own photography ------------------------------------ */
.shot-grid { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px)  { .shot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shot-grid { grid-template-columns: repeat(4, 1fr); } }
.shot {
  border-radius: 2px; overflow: hidden; border: 1px solid var(--line-soft);
  background: var(--ink-3);
}
.shot img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform 1s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .shot:hover img { transform: none; } }

/* --- menu boards -------------------------------------------------------- */
.loc-menu-section { background: var(--ink-2); }
.board-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; }
@media (min-width: 720px)  { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .board-grid { grid-template-columns: repeat(3, 1fr); } }
.board {
  display: block; border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: #fff;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.board:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .board:hover { transform: none; } }
.board img { width: 100%; display: block; }

/* --- sibling locations -------------------------------------------------- */
.sib-grid { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .sib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sib-grid { grid-template-columns: repeat(4, 1fr); } }
.sib-card {
  display: grid; gap: 3px; padding: 20px;
  border: 1px solid var(--line-soft); border-radius: 2px;
  background: rgba(var(--scrim), .3);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.sib-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .sib-card:hover { transform: none; } }
.sib-brand { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.sib-city { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); margin-top: 4px; }
[data-lang="zh"] .sib-city { font-family: var(--serif-cjk); letter-spacing: .1em; }
.sib-area { font-size: 11px; color: var(--sand-dim); letter-spacing: .1em; }
.sib-tel { font-family: var(--serif); font-size: 1rem; color: var(--gold-2); margin-top: 8px; }

/* ═════════════════════════════════════ promotions, gallery, lightbox ════ */
.promo-section { background: var(--ink-2); position: relative; overflow: hidden; }
.promo-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--lattice); background-size: 150px; opacity: .04; pointer-events: none;
}
.promo-section > * { position: relative; }

.promo-rail { grid-auto-columns: minmax(230px, 72vw); align-items: start; }
@media (min-width: 700px)  { .promo-rail { grid-auto-columns: minmax(260px, 34vw); } }
@media (min-width: 1024px) { .promo-rail { grid-auto-columns: 300px; } }

.promo-card {
  scroll-snap-align: start; cursor: zoom-in;
  border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: var(--ink-3);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.promo-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .promo-card:hover { transform: none; } }
/* posters come in wildly different shapes and are text-heavy, so contain them
   in a fixed box rather than cropping anything away */
.promo-card .ph {
  height: clamp(230px, 26vw, 330px);
  display: grid; place-items: center; overflow: hidden; min-height: 0;
  background: rgba(var(--scrim), .55);
  border-bottom: 1px solid var(--line-soft);
}
.promo-card .ph img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.promo-card figcaption {
  padding: 14px 16px 16px; font-size: 12px; line-height: 1.65; color: var(--sand);
}

/* the Richmond photo rail */
.shot-rail { grid-auto-columns: minmax(210px, 64vw); }
@media (min-width: 700px)  { .shot-rail { grid-auto-columns: minmax(240px, 30vw); } }
@media (min-width: 1024px) { .shot-rail { grid-auto-columns: 280px; } }
.shot-rail .shot {
  scroll-snap-align: start; cursor: zoom-in; position: relative;
  border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: var(--ink-3);
}
.shot-rail .shot img { aspect-ratio: 4 / 3; }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(var(--scrim), .94), transparent);
  font-family: var(--serif-cjk); font-size: 14px; letter-spacing: .06em; color: var(--cream);
}
/* the grid galleries on location pages are zoomable too */
.shot-grid .shot { cursor: zoom-in; }

/* the takeout call to action, the way their own page runs it */
.btn-takeout {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 60px; padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--lacquer-2), #6a2a0c 55%, var(--lacquer-2));
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 14px; letter-spacing: .16em;
  box-shadow: 0 14px 34px rgba(var(--scrim), .5);
  transition: transform .3s var(--ease), border-color .3s var(--ease), filter .3s var(--ease);
}
[data-lang="zh"] .btn-takeout { letter-spacing: .08em; font-family: var(--sans-cjk); }
.btn-takeout:hover { transform: translateY(-2px); border-color: var(--gold-dim); filter: brightness(1.12); }
@media (prefers-reduced-motion: reduce) { .btn-takeout:hover { transform: none; } }
.btn-takeout svg { flex: none; }

/* ------------------------------------------------------------- lightbox - */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 2vw, 26px);
  padding: clamp(52px, 8vw, 76px) clamp(10px, 3vw, 34px);
  background: rgba(var(--scrim), .96);
  backdrop-filter: blur(8px);
}
.lb-stage {
  max-width: min(1100px, 100%); max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  margin: 0;
}
.lb-stage img {
  max-width: 100%; max-height: calc(100svh - 190px);
  width: auto; height: auto; object-fit: contain;
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--ink-3);
}
.lb-stage figcaption {
  max-width: 62ch; text-align: center;
  font-size: 13px; line-height: 1.7; color: var(--sand);
}
.lb-close, .lb-nav {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--gold-2);
  background: rgba(var(--scrim), .6);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: #2b1407; border-color: transparent; }
.lb-close { position: absolute; top: clamp(12px, 2vw, 22px); right: clamp(12px, 3vw, 26px); }
@media (max-width: 640px) {
  .lb-nav { position: absolute; bottom: 16px; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lb-stage img { max-height: calc(100svh - 230px); }
}

/* the desktop bar carries eight items — tighten further on narrow desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
  .primary-nav ul { gap: 11px; }
  .nav-link { font-size: 10.5px; letter-spacing: .08em; }
  [data-lang="zh"] .nav-link { font-size: 12.5px; letter-spacing: .04em; }
  .brand img { height: 32px; }
  .header-call { display: none; }
}
