/* =========================================================
   CANTON HARBOR — Modern Luxury Cantonese Seafood & Dim Sum
   Long Island City, NY
   ---------------------------------------------------------
   Palette
   --ink        : deep maroon-black background (logo border tone)
   --ink-soft   : lifted panel tone
   --gold       : lobster red (primary accent, from logo)
   --jade       : wave blue (secondary accent, from logo)
   --cream      : warm off-white text
   ========================================================= */

:root {
  --ink: #170a0c;
  --ink-soft: #200e11;
  --ink-panel: #2a1216;
  --gold: #d64545;
  --gold-bright: #f0908f;
  --jade: #2456a6;
  --jade-soft: #3a72c9;
  --cream: #f7f2e8;
  --cream-dim: #d3c4c0;
  --line: rgba(214, 69, 69, 0.3);

  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-body: "Jost", sans-serif;
  --font-hanzi: "Noto Serif SC", serif;

  --container: 1200px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-bright); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--cream); }
ul { list-style: none; }

.container { width: min(var(--container), 95%); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 3000;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: var(--radius); font-weight: 500;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-hanzi {
  display: block; font-family: var(--font-hanzi);
  font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold);
  letter-spacing: 0.35em; margin-bottom: 0.6rem;
  animation: loaderGlow 2s ease-in-out infinite alternate;
}
.loader-ring {
  display: block; width: 64px; height: 64px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  border: 2px solid rgba(214, 69, 69, 0.22);
  border-top-color: var(--gold-bright);
  animation: vloaderSpin 0.9s linear infinite;
}
.loader-inner .loader-name { animation: loaderPulse 1.6s ease-in-out infinite; }
@keyframes loaderPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.loader-name {
  display: block; font-family: var(--font-body);
  font-size: 0.8rem; letter-spacing: 0.5em; color: var(--cream-dim);
}
@keyframes loaderGlow { from { opacity: 0.5; } to { opacity: 1; } }

/* ---------- Header social icons ---------- */
.header-social {
  display: flex; align-items: center; gap: 8px;
}
.order {
  display: flex; align-items: center; gap: 8px;
}
.social-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  color: var(--cream);
  border: 0px solid rgba(240, 226, 214, 0.22);
  border-radius: 50%;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-icon:hover {
  color: #fff; border-color: var(--gold-bright);
  background: rgba(214, 69, 69, 0.28);
  transform: translateY(-2px);
}

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #26090d, #3a1218 50%, #26090d);
  border-bottom: 1px solid var(--line);
  text-align: center; padding: 8px 16px;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-dim);
  position: relative; z-index: 1500;
}
.announce a { color: var(--gold-bright); }

/* ---------- Header ---------- */
/* Top of page: transparent header, no gloss.
   Fixed positioning takes the header out of the document flow, so the hero
   video/images extend up behind it — no dark band from the body background.
   --announce-h is measured by JS (height of the announcement bar) and set
   to 0 once the page is scrolled past the announce bar. */
:root { --announce-h: 38px; }
.site-header {
  position: fixed; top: var(--announce-h, 38px); left: 0; right: 0; z-index: 1400;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease), top 0.3s var(--ease);
}
.site-header.scrolled { top: 0; }
.site-header::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.05) 52%, transparent 60%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
/* Scrolled: glossy glass bar */
.site-header.scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.02) 100%),
    rgba(23, 10, 12, 0.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(240, 230, 218, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 10px 40px rgba(0, 0, 0, 0.5);
}
.site-header.scrolled::after { opacity: 1; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
  transition: padding 0.45s var(--ease);
}
.site-header.scrolled .header-inner { padding-block: 8px; }
.header-inner .main-nav { margin-left: auto; }
.header-inner .header-social { flex-shrink: 0; }
.header-inner .order { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 116px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s var(--ease), height 0.45s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.04); }
.site-header.scrolled .brand-logo { height: 58px; }
.brand-seal {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-family: var(--font-hanzi); font-size: 1.35rem; color: var(--gold);
  background: radial-gradient(circle at 30% 30%, rgba(214, 69, 69, 0.15), transparent 70%);
  transform: rotate(45deg);
}
.brand-seal { position: relative; }
.brand-seal::after {
  content: ""; position: absolute; inset: 3px;
  border: 1px solid rgba(214, 69, 69, 0.35); border-radius: 2px;
}
.brand-seal, .brand-seal::after { transition: transform 0.5s var(--ease); }
.brand:hover .brand-seal { transform: rotate(0deg); }
.brand-seal > * { transform: rotate(-45deg); }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; letter-spacing: 0.06em; color: var(--cream);
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 22px; }
.main-nav ul a {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim); position: relative; padding-block: 6px;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--cream); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 8px 20px;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.35s var(--ease);
}
.btn-lg { padding: 16px 38px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a32832);
  color: #fff6ee;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #fff6ee; transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(214, 69, 69, 0.25);
}
.btn-ghost {
  border-color: rgba(247, 242, 232, 0.45); color: var(--cream);
  background: rgba(23, 10, 12, 0.25); backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline:hover { background: var(--gold); color: #fff6ee; }

.text-link {
  display: inline-block; margin-top: 10px;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-bright); border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  isolation: isolate; overflow: hidden;
  /* keep hero copy clear of the fixed header */
  padding-top: 150px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Hero slideshow ---------- */
.hero-slides { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active[data-type="image"] { animation: heroZoom 18s var(--ease) forwards; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* Video loading indicator */
.video-loader {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.video-loader.is-hidden { opacity: 0; visibility: hidden; }
.video-loader-ring {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(214, 69, 69, 0.25);
  border-top-color: var(--gold-bright);
  animation: vloaderSpin 0.9s linear infinite;
}
.video-loader-text {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--cream-dim);
}
@keyframes vloaderSpin { to { transform: rotate(360deg); } }

/* Slideshow controls */
.hero-controls {
  position: absolute; bottom: 62px; right: 85px; z-index: 5;
  display: flex; gap: 10px;
}
.hero-ctrl {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(23, 10, 12, 0.6);
  border: 1px solid rgba(240, 230, 218, 0.28);
  color: var(--cream); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Only one icon visible at a time inside toggle buttons */
.hero-ctrl svg { grid-area: 1 / 1; }
.hero-ctrl svg[hidden] { display: none !important; }
.hero-ctrl:hover { background: rgba(214, 69, 69, 0.4); border-color: var(--gold-bright); transform: scale(1.08); }
.hero-ctrl[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }

/* Slide indicator dots */
.hero-dots {
  position: absolute; bottom: 40px; left: 28px; z-index: 5;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(240, 230, 218, 0.5);
  background: transparent; cursor: pointer; padding: 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}
.hero-dot:hover { transform: scale(1.3); }
.hero-dot.is-active { background: var(--gold-bright); border-color: var(--gold-bright); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(23,10,12,0.55) 0%, rgba(23,10,12,0.25) 40%, rgba(23,10,12,0.92) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(23,10,12,0.55), transparent 60%);
}
.hero-content { padding-block: 140px 120px; max-width: 780px; }
.hero-kicker {
  font-family: var(--font-hanzi);
  color: var(--gold-bright); letter-spacing: 0.4em;
  font-size: 0.95rem; margin-bottom: 22px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.05; letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; color: var(--gold-bright); }
.hero-lede {
  font-size: 1.12rem; color: var(--cream-dim); max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Seamless shadow-gradient seams between blocks ---------- */
.seam-top { position: relative; }
.seam-top::before {
  content: ""; position: absolute; top: -120px; left: 0; right: 0;
  height: 120px; pointer-events: none; z-index: 2;
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 40px; }
.section-kicker {
  font-family: var(--font-hanzi);
  font-size: 0.85rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold-bright); }
.section-lede { color: var(--cream-dim); max-width: 620px; margin-inline: auto; }
.section-head { margin-bottom: 60px; }
.section p + p { margin-top: 18px; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.grid-flip > :first-child { order: 1; }
.grid-flip > :last-child { order: 0; }

/* ---------- Frames ---------- */
.frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.frame::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(214, 69, 69, 0.35);
  border-radius: 3px; pointer-events: none;
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.05); }

/* ---------- Story ---------- */
.story { background: var(--ink); }
.story-media { position: relative; padding-bottom: 90px; }
.frame-tall { width: 78%; aspect-ratio: 3 / 4; }
.frame-offset {
  position: absolute; right: 0; bottom: 0; width: 52%;
  aspect-ratio: 4 / 3; border: 6px solid var(--ink);
}
.story-points { margin: 30px 0 10px; display: grid; gap: 16px; }
.story-points li {
  display: grid; gap: 2px; padding-left: 20px; position: relative;
}
.story-points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg);
}
.story-points strong {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 600; letter-spacing: 0.04em;
}
.story-points span { color: var(--cream-dim); font-size: 0.95rem; }

/* ---------- Dim Sum ---------- */
.dimsum {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(36, 86, 166, 0.25), transparent 55%),
    var(--ink-soft);
}
.frame-wide { aspect-ratio: 4 / 3; }
.dimsum-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 32px 0 22px;
}
.dimsum-card {
  background: rgba(23, 10, 12, 0.55);
  border: 1px solid rgba(214, 69, 69, 0.18);
  border-radius: var(--radius); padding: 20px 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dimsum-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.dimsum-card-hanzi {
  display: block; font-family: var(--font-hanzi);
  color: var(--gold); font-size: 1.15rem; margin-bottom: 8px;
}
.dimsum-card h3 {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
  margin-bottom: 4px;
}
.dimsum-card p { font-size: 0.85rem; color: var(--cream-dim); line-height: 1.5; }
.dimsum-note {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 26px;
}

/* ---------- Signatures ---------- */
.signatures { background: var(--ink); }
.sig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 56px;
}
.sig-card {
  background: var(--ink-panel);
  border: 1px solid rgba(214, 69, 69, 0.14);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.sig-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(214, 69, 69, 0.4);
}
.sig-media { aspect-ratio: 4 / 3; overflow: hidden; }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sig-card:hover .sig-media img { transform: scale(1.07); }
.sig-body { padding: 26px 26px 30px; }
.sig-body h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  margin-bottom: 8px; line-height: 1.25;
}
.sig-body p { font-size: 0.92rem; color: var(--cream-dim); margin-bottom: 16px; }
.sig-tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid var(--line); border-radius: 30px; padding: 5px 14px;
}

/* ---------- Quote band ---------- */
.quote-band {
  background:
    linear-gradient(rgba(23, 10, 12, 0.88), rgba(23, 10, 12, 0.88)),
    url("../img/hero-dining.jpg") center 30% / cover fixed no-repeat;
  padding-block: 110px; text-align: center;
}
.quote-band blockquote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.4;
  max-width: 860px; margin-inline: auto; color: var(--cream);
}
.quote-band cite {
  display: block; margin-top: 24px; font-style: normal;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Private ---------- */
.private {
  background:
    radial-gradient(ellipse at 15% 80%, rgba(36, 86, 166, 0.22), transparent 55%),
    var(--ink-soft);
}
.private-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.private-list li { padding-left: 20px; position: relative; color: var(--cream-dim); }
.private-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg);
}

/* ---------- Visit ---------- */
.visit { background: var(--ink); }
.visit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-bottom: 70px;
}
.visit-card {
  background: var(--ink-panel);
  border: 1px solid rgba(214, 69, 69, 0.14);
  border-radius: var(--radius); padding: 34px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.visit-card:hover { transform: translateY(-5px); border-color: rgba(214, 69, 69, 0.4); }
.visit-card h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--gold-bright); margin-bottom: 12px;
}
.visit-card p { font-size: 0.95rem; color: var(--cream-dim); }
.visit-fine { display: block; margin-top: 12px; font-size: 0.78rem; color: rgba(211, 196, 192, 0.6); }
.visit-cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 69, 69, 0.12), transparent 60%),
    var(--ink-panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; padding: 70px 30px;
}
.visit-cta-hanzi {
  display: block; font-family: var(--font-hanzi);
  color: var(--gold); letter-spacing: 0.5em; margin-bottom: 18px;
  font-size: 1.05rem;
}
.visit-cta h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer { background: #120709; border-top: 1px solid rgba(214, 69, 69, 0.12); }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; padding-block: 70px 50px;
}
.footer-brand .brand-seal { margin-bottom: 18px; }
.footer-logo {
  width: 220px; max-width: 100%; height: auto; display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}
.footer-name {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  margin-bottom: 8px;
}
.footer-tag { font-size: 0.88rem; color: var(--cream-dim); }
.footer-col h4 {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.92rem; color: var(--cream-dim); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(214, 69, 69, 0.1); padding-block: 22px; }
.footer-bottom-inner {
text-align: center;
}
.footer-bottom-inner2 {
  text-align: center;
}
.footer-hanzi { font-family: var(--font-hanzi); letter-spacing: 0.2em; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none;}

/* ---------- Image loading animation ---------- */
/* Shimmer placeholder while the image loads, then a soft scale-fade reveal */
.img-loading {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg,
    rgba(255, 255, 255, 0.03) 8%,
    rgba(255, 255, 255, 0.09) 18%,
    rgba(255, 255, 255, 0.03) 33%);
  background-size: 200% 100%;
  animation: imgShimmer 1.4s linear infinite;
}
@keyframes imgShimmer { to { background-position: -200% 0; } }
img.lazy-img {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
}
img.lazy-img.img-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* ---------- Text loading animation ---------- */
/* Headings & key text rise in with a soft blur-fade, staggered by data-tstep */
.text-anim {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
}
.text-anim.text-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.text-anim[data-tstep="1"] { transition-delay: 0.08s; }
.text-anim[data-tstep="2"] { transition-delay: 0.2s; }
.text-anim[data-tstep="3"] { transition-delay: 0.32s; }
.text-anim[data-tstep="4"] { transition-delay: 0.44s; }
.text-anim[data-tstep="5"] { transition-delay: 0.56s; }

/* ---------- ADA widget ---------- */
.ada-widget { position: fixed; bottom: 26px; right: 26px; z-index: 2600; }
.ada-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #3a1218, #170a0c);
  color: var(--gold-bright); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ada-toggle:hover { transform: scale(1.08); box-shadow: 0 14px 36px rgba(214, 69, 69, 0.3); }
.ada-panel[hidden] { display: none; }
.ada-panel {
  position: absolute; bottom: 70px; right: 0; width: 220px;
  background: var(--ink-panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: grid; gap: 8px;
}
.ada-panel h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--gold-bright); margin-bottom: 4px;
}
.ada-panel button {
  font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.06em;
  background: rgba(247, 242, 232, 0.06); color: var(--cream);
  border: 1px solid rgba(214, 69, 69, 0.2); border-radius: 6px;
  padding: 9px 12px; cursor: pointer; text-align: left;
  transition: background 0.3s, border-color 0.3s;
}
.ada-panel button:hover { background: rgba(214, 69, 69, 0.15); border-color: var(--gold); }
.ada-panel button.active { background: var(--gold); color: #fff6ee; border-color: var(--gold); }
.ada-reset { text-align: center !important; color: var(--gold-bright) !important; }

/* ADA modes */
body.ada-fontsize { font-size: 20px; }
body.ada-contrast { --cream-dim: #efe6e2; --ink: #000; --ink-soft: #080405; --ink-panel: #0d0608; }
body.ada-contrast .hero-veil {
  background: linear-gradient(180deg, rgba(0,0,0,0.75), rgba(0,0,0,0.9));
}
body.ada-links a { text-decoration: underline !important; }
body.ada-motion *, body.ada-motion *::before, body.ada-motion *::after {
  animation: none !important; transition: none !important;
}
body.ada-motion .reveal { opacity: 1; transform: none; }
body.ada-motion img.lazy-img,
body.ada-motion .text-anim { opacity: 1; transform: none; filter: none; }
body.ada-motion .img-loading { animation: none; }

/* ---------- Reduced motion (system) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  img.lazy-img { opacity: 1; transform: none; filter: none; }
  .text-anim { opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .sig-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-flip > :first-child { order: 0; }
  .grid-flip > :last-child { order: 1; }
  .story-media { max-width: 520px; }

  /* --- Mobile nav (fixed layout) --- */
  .main-nav {
    position: fixed; inset: 0; z-index: 2000;
    height: 100vh; height: 100dvh; width: 100%;
    background: rgba(18, 7, 9, 0.98);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 40px; padding: 90px 24px 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 22px;
    width: 100%; margin: 0; padding: 0; list-style: none;
  }
  .main-nav ul li { width: 100%; }
  .main-nav ul a {
    font-size: 1.05rem; display: inline-block; padding: 6px 12px;
  }
  .main-nav .nav-cta { margin-top: 6px; }
  .nav-toggle { display: flex; position: relative; z-index: 2100; }
  body.nav-locked { overflow: hidden; }
  /* backdrop-filter on the sticky header creates a containing block that traps
     the fixed-position nav — disable it while the menu is open so the overlay
     can cover the full screen */
  body.nav-locked .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(18, 7, 9, 0.98);
  }

  .hero-controls { bottom: 88px; right: 16px; }
  .hero-dots { bottom: 100px; left: 16px; }

  /* Bigger logo on mobile */
  .brand-logo { height: 115px; }
  .site-header.scrolled .brand-logo { height: 115px; }
  .header-inner { padding-block: 8px; }
  .header-social { gap: 6px; margin-right: 2px; }
  .social-icon { width: 40px; height: 40px; }
  .order { gap: 6px; margin-right: 2px; }
}

@media (max-width: 600px) {
  .dimsum-cards { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding-block: 110px 100px; }
  .quote-band { background-attachment: scroll; }	
  .header-social { display: none; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; min-height: 40vh;
  display: flex; align-items: flex-end;
  background: var(--page-hero-img) center 35% / cover no-repeat, var(--ink);
  isolation: isolate;
	
}.page-hero-video {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  pointer-events: none;
}
.page-hero.has-video { background: var(--ink); }
.page-hero.has-video > .page-hero-content {
  flex: 0 1 auto;
  width: min(var(--container), 92%);
  margin-left: auto; margin-right: auto;
}
@media (max-width: 700px) {
  .page-hero-video {  }
  .page-hero.has-video {
    background: var(--page-hero-img) center 35% / cover no-repeat, var(--ink);
  }
}

.page-hero-short { min-height: 30vh; }
.page-hero-veil {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(23,10,12,0.72) 0%, rgba(23,10,12,0.45) 40%, rgba(23,10,12,0.92) 100%),
    radial-gradient(ellipse at 20% 90%, rgba(214, 69, 69, 0.18), transparent 55%);
}
.page-hero-content { position: relative; z-index: 1; padding-block: 50px 30px; }
.page-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.08;
  margin-bottom: 22px;
}
.page-title em { font-style: italic; color: var(--gold-bright); }
.page-lede { color: var(--cream-dim); max-width: 640px; font-size: 1.05rem; }

/* ---------- Menu jump nav ---------- */
.menu-jump {
  position: sticky; top: 74px; z-index: 900;
  background: rgba(23, 10, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid rgba(214, 69, 69, 0.15);
}
.menu-jump-inner {
  display: flex; gap: 6px; overflow-x: auto;
  padding-block: 12px; scrollbar-width: none;
}
.menu-jump-inner::-webkit-scrollbar { display: none; }
.menu-jump a {
  flex: 0 0 auto; padding: 8px 18px; border-radius: 30px;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream-dim); border: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.menu-jump a:hover { color: var(--gold-bright); border-color: var(--line); }

/* ---------- Menu sections ---------- */
.menu-section { background: var(--ink); scroll-margin-top: 140px; }
.menu-alt {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(36, 86, 166, 0.18), transparent 55%),
    var(--ink-soft);
}
.menu-head { text-align: center; margin-bottom: 56px; position: relative; }
.menu-head-hanzi {
  display: block; font-family: var(--font-hanzi);
  color: var(--gold); letter-spacing: 0.5em; font-size: 1.05rem;
  margin-bottom: 14px;
}
.menu-head-note {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim); margin-top: 4px;
}
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 34px 60px; max-width: 1060px; margin-inline: auto;
}
.menu-item { padding-bottom: 22px; border-bottom: 1px solid rgba(214, 69, 69, 0.12); }
.menu-item-line {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px;
}
.menu-item-line h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.22rem; line-height: 1.3;
}
.menu-hanzi {
  font-family: var(--font-hanzi); font-size: 0.85rem;
  color: var(--gold); font-weight: 400; letter-spacing: 0.1em;
  white-space: nowrap;
}
.menu-dots {
  flex: 1; border-bottom: 1px dotted rgba(214, 69, 69, 0.4);
  transform: translateY(-4px); min-width: 24px;
}
.menu-price {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; color: var(--gold-bright); white-space: nowrap;
}
.menu-item p { font-size: 0.92rem; color: var(--cream-dim); line-height: 1.55; }
.menu-disclaimer {
  margin-top: 56px; font-size: 0.85rem; color: rgba(211, 196, 192, 0.65);
  max-width: 720px; margin-inline: auto; text-align: center;
}

/* ---------- Page CTA ---------- */
.page-cta { background: var(--ink); }

/* ---------- Values grid (story page) ---------- */
.values { background: var(--ink); }
.values-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }

/* ---------- Occasions / How (private events) ---------- */
.occasions .visit-grid { margin-bottom: 0; }
.how { background: var(--ink-soft); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.step-card {
  background: var(--ink-panel);
  border: 1px solid rgba(214, 69, 69, 0.14);
  border-radius: var(--radius); padding: 40px 30px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(214, 69, 69, 0.4); }
.step-num {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 2.4rem; color: var(--gold); opacity: 0.75; margin-bottom: 14px;
}
.step-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 10px;
}
.step-card p { font-size: 0.93rem; color: var(--cream-dim); }

/* ---------- Banquet cards ---------- */
.banquets { background: var(--ink); }
.banquet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; align-items: start;
}
.banquet-card {
  position: relative; background: var(--ink-panel);
  border: 1px solid rgba(214, 69, 69, 0.16);
  border-radius: var(--radius); padding: 44px 34px 38px;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s var(--ease);
}
.banquet-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 69, 69, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.banquet-featured {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 69, 69, 0.14), transparent 65%),
    var(--ink-panel);
}
.banquet-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff6ee;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; white-space: nowrap;
}
.banquet-tier-hanzi {
  display: block; font-family: var(--font-hanzi);
  font-size: 2rem; color: var(--gold); margin-bottom: 12px;
}
.banquet-card h3 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  line-height: 1.25; margin-bottom: 6px;
}
.banquet-sub {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 22px;
}
.banquet-card ul { display: grid; gap: 10px; }
.banquet-card ul li {
  position: relative; padding-left: 20px;
  font-size: 0.93rem; color: var(--cream-dim); line-height: 1.5;
}
.banquet-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}

/* ---------- Gallery ---------- */
.gallery-section { background: var(--ink); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px; gap: 18px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  cursor: zoom-in; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(214, 69, 69, 0.3); border-radius: 3px;
  pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(18, 7, 9, 0.9));
  font-family: var(--font-hanzi); color: var(--gold-bright); font-size: 1.2rem;
  display: flex; align-items: baseline; gap: 12px;
  opacity: 1; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item figcaption span {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--cream);
}
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(18, 7, 9, 0.96);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(1100px, 90vw); text-align: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  margin-inline: auto; border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.lightbox-figure figcaption {
  margin-top: 18px; font-family: var(--font-display);
  font-size: 1.15rem; color: var(--cream-dim); font-style: italic;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 1px solid rgba(214, 69, 69, 0.35);
  color: var(--cream); font-size: 1.6rem; line-height: 1;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  border-color: var(--gold); color: var(--gold-bright); background: rgba(214, 69, 69, 0.08);
}
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-section { background: var(--ink); }
.contact-grid {
  display: grid; 
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.contact-blocks {
  margin-top: 0px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.contact-block h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--gold-bright); margin-bottom: 8px;
}
.contact-block p { font-size: 0.95rem; color: var(--cream-dim); }
.contact-big {
  display: inline-block; font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600; color: var(--cream);
}
.contact-big:hover { color: var(--gold-bright); }
.contact-block .text-link { margin-top: 8px; font-size: 0.85rem; }

.contact-form-wrap { position: sticky; top: 130px; }
.contact-form {
  background: var(--ink-panel);
  border: 1px solid rgba(214, 69, 69, 0.16);
  border-radius: var(--radius); padding: 42px 38px;
}
.contact-form h3 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  margin-bottom: 6px;
}
.contact-form-note { font-size: 0.85rem; color: var(--cream-dim); margin-bottom: 28px; }
.form-row { margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-dim); margin-bottom: 8px;
}
.contact-form label span { color: var(--gold); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: rgba(23, 10, 12, 0.6);
  border: 1px solid rgba(214, 69, 69, 0.22); border-radius: var(--radius);
  color: var(--cream); font-family: var(--font-body); font-size: 0.95rem;
  padding: 13px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.18);
}
.contact-submit { width: 100%; border: none; cursor: pointer; font-family: var(--font-body); }
.form-status { margin-top: 16px; font-size: 0.9rem; text-align: center; min-height: 1.4em; }
.form-status.success { color: #8fd6a0; }
.form-status.error { color: var(--gold-bright); }

/* ---------- Map ---------- */
.map-section { background: var(--ink-soft); }
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(214, 69, 69, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  filter: grayscale(0.35) contrast(1.02);
}
.map-frame iframe { display: block; width: 100%; }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 1024px) {
  .banquet-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}

@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; gap: 26px; }
  .menu-jump { top: 74px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .g-wide { grid-column: auto; }
  .g-tall { grid-row: auto; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-blocks { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .page-hero-content { padding-block: 120px 70px; }
  .lightbox { padding: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* =========================================================
   POPUP / ANNOUNCEMENT MODAL
   ========================================================= */
.popup-overlay {
  position: fixed; inset: 0; z-index: 4500;
  background: rgba(18, 7, 9, 0.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.popup-overlay.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
}
/* Safety: the hidden attribute must always win over display:flex */
.popup-overlay[hidden] { display: none; }
.popup-box {
  position: relative;
  width: min(520px, 100%);
  max-height: 86vh; overflow-y: auto;
  background: linear-gradient(160deg, #2a0d12, #170a0c);
  border: 1px solid rgba(214, 69, 69, 0.35);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s var(--ease);
}
.popup-overlay.is-visible .popup-box { transform: translateY(0) scale(1); }
.popup-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(240, 230, 218, 0.3);
  background: rgba(23, 10, 12, 0.7);
  color: var(--cream); font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.popup-close:hover { background: rgba(214, 69, 69, 0.5); transform: rotate(90deg); }
.popup-media img {
  display: block; width: 100%; max-height: 320px; object-fit: cover;
  border-radius: var(--radius-lg, 14px) var(--radius-lg, 14px) 0 0;
}
.popup-body { padding: 30px 32px 34px; text-align: center; }
.popup-hanzi {
  display: block; font-family: var(--font-hanzi);
  color: var(--gold-bright); letter-spacing: 0.4em;
  font-size: 0.9rem; margin-bottom: 12px;
}
.popup-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.7rem; margin-bottom: 12px; color: var(--cream);
}
.popup-message { color: var(--cream-dim); font-size: 0.98rem; margin-bottom: 22px; }
.popup-btn { min-width: 200px; }
.popup-title:empty, .popup-message:empty { display: none; }
.popup-btn.is-hidden { display: none; }

@media (max-width: 600px) {
  .popup-body { padding: 24px 20px 28px; }
}

	
