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

:root {
  --bg: #0e0e12;
  --bg-card: #16161d;
  --bg-elevated: #1e1e28;
  --text: #f0ece4;
  --text-secondary: #aaa397;
  --accent: #d4a054;
  --accent-light: #f1d79d;
  --accent-dim: rgba(212, 160, 84, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(212, 160, 84, 0.1), transparent 26rem),
    var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[lang^="zh"] body,
[lang^="zh"] p,
[lang^="zh"] li,
[lang^="zh"] .page-summary {
  font-family: 'Noto Serif SC', 'Inter', sans-serif;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  color: var(--bg);
  background: var(--accent-light);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  background: rgba(14, 14, 18, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px);
  transition: padding .25s ease, border-color .25s ease;
}

nav.scrolled { padding: 12px 0; border-color: var(--border); }

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

.nav-logo {
  min-width: 0;
  color: var(--text);
  font: 700 1.2rem/1 'Playfair Display', serif;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span { color: var(--accent); }
.nav-right { display: flex; flex: 0 0 auto; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  font-size: .86rem;
  text-decoration: none;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent-light); }

.lang-toggle {
  display: flex;
  padding: 3px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  padding: 6px 13px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lang-btn.active { color: var(--bg); background: var(--accent); }

.mobile-toggle,
.mobile-close {
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-toggle { display: none; padding: 8px; }
.mobile-toggle svg { width: 25px; height: 25px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  background: rgba(14, 14, 18, .97);
  backdrop-filter: blur(24px);
}

.mobile-menu.active { display: flex; }
.mobile-menu > a { font: 400 1.65rem/1.2 'Playfair Display', serif; text-decoration: none; }
.mobile-close { position: absolute; top: 24px; right: 28px; font-size: 2rem; }

.page-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow { margin-bottom: 22px; }

h1,
h2,
h3 { font-family: 'Playfair Display', 'Noto Serif SC', serif; }

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}

h1 em { color: var(--accent); font-weight: inherit; }

.page-summary {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.brand-lockup {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(100%, 380px);
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 34%, rgba(241, 215, 157, .09), transparent 42%),
    linear-gradient(145deg, rgba(30, 30, 40, .92), rgba(17, 17, 22, .86));
  border: 1px solid rgba(212, 160, 84, .2);
  border-radius: 32px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.brand-lockup::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 23px;
  pointer-events: none;
}

.brand-mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 930;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .38));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 25px;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.btn-outline { color: var(--accent-light); background: transparent; border-color: rgba(212, 160, 84, .45); }
.btn-outline:hover { color: var(--accent-light); background: var(--accent-dim); border-color: var(--accent); }

.fact-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -42px;
  background: rgba(22, 22, 29, .96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fact {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--border);
}

.fact:last-child { border-right: 0; }
.fact strong { display: block; margin-bottom: 5px; color: var(--accent-light); font: 600 1.14rem/1.3 'Playfair Display', serif; }
.fact span { color: var(--text-secondary); font-size: .88rem; }

.section { padding: 105px 0; }
.section-muted { background: var(--bg-card); border-block: 1px solid var(--border); }
.section-label { margin-bottom: 16px; }

.section-title {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.section-intro { max-width: 760px; color: var(--text-secondary); font-size: 1.02rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.card {
  min-height: 100%;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Auto-scrolling showcase gallery, matching the home page treatment. */
.gallery-section { overflow: hidden; }

.gallery-track {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  width: max-content;
  animation: galleryScroll 40s linear infinite;
}

.gallery-track:hover { animation-play-state: paused; }

.gallery-item {
  position: relative;
  flex-shrink: 0;
  width: 360px;
  height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(14, 14, 18, .85), transparent);
  color: #f0ece4;
  font-size: .8rem;
  letter-spacing: .04em;
}

@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .gallery-item { width: 280px; height: 200px; }
}

@media (max-width: 600px) {
  .gallery-item { width: 240px; height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
    width: 100%;
    overflow-x: auto;
  }
}

.section-muted .card { background: var(--bg-elevated); }
.card-kicker { margin-bottom: 16px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card h2, .card h3 { margin-bottom: 14px; font-size: 1.48rem; line-height: 1.25; }
.card p, .card li { color: var(--text-secondary); font-size: .94rem; }
.card ul { display: grid; gap: 10px; padding-left: 20px; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(44px, 8vw, 110px);
}

.detail-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.detail-row {
  display: grid;
  grid-template-columns: minmax(150px, .38fr) 1fr;
  gap: 24px;
  padding: 23px 26px;
  background: var(--bg-card);
}

.detail-row dt { color: var(--accent-light); font-weight: 700; }
.detail-row dd { color: var(--text-secondary); }
.detail-row a { color: var(--text); text-underline-offset: 4px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card.primary { background: linear-gradient(135deg, rgba(212, 160, 84, .17), var(--bg-card)); border-color: rgba(212, 160, 84, .28); }
.contact-label { margin-bottom: 22px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h2 { margin-bottom: 9px; font-size: 1.75rem; }
.contact-value { margin-bottom: 12px; color: var(--text); font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-value a { text-underline-offset: 4px; }
.contact-note { margin-bottom: 24px; color: var(--text-secondary); font-size: .9rem; }
.contact-card .btn { margin-top: auto; }

.notice {
  margin-top: 34px;
  padding: 24px 26px;
  color: var(--text-secondary);
  background: var(--accent-dim);
  border: 1px solid rgba(212, 160, 84, .2);
  border-radius: var(--radius-sm);
}

.notice strong { color: var(--accent-light); }

.cta-band { padding: 82px 0; background: linear-gradient(110deg, #1b1712, #15151c 60%); border-block: 1px solid var(--border); }
.cta-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-layout h2 { max-width: 650px; margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.cta-layout p { max-width: 650px; color: var(--text-secondary); }

footer { padding: 58px 0; text-align: center; }
.footer-logo-image {
  width: 150px;
  height: auto;
  aspect-ratio: 1200 / 930;
  object-fit: contain;
  margin: 0 auto 20px;
}
.footer-name { margin-bottom: 4px; font: 700 1.12rem/1.3 'Playfair Display', serif; }
.footer-sub { color: var(--text-secondary); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 24px 0; }
.footer-links a { color: var(--text-secondary); font-size: .82rem; text-underline-offset: 4px; }

/* Google review quotes, used by the generated Chinese pages. The hand-written
   English homepage loads only theme.css, so it carries its own inline copy of
   these rules — keep the two in sync. */
.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-size: .9rem;
}

.rating-score {
  color: var(--accent);
  font: 700 1.9rem/1 'Playfair Display', serif;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .35s ease;
}

.review-card:hover { border-color: rgba(212, 160, 84, .2); }

.review-card blockquote {
  margin: 0;
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.7;
}

.review-card blockquote::before {
  content: '\201C';
  display: block;
  margin-bottom: 4px;
  color: rgba(212, 160, 84, .32);
  font: 700 2.4rem/.6 'Playfair Display', serif;
}

.review-meta {
  margin-top: auto;
  color: var(--text-secondary);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}

.review-note {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: .78rem;
  text-align: center;
  opacity: .7;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-layout, .split { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; }
  .brand-lockup {
    justify-self: center;
    width: min(64vw, 280px);
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }
  .brand-lockup::before { inset: 10px; border-radius: 17px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .card-grid { grid-template-columns: 1fr; }
  .cta-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1160px); }
  .nav-inner { gap: 10px; }
  .nav-logo { max-width: calc(100vw - 128px); overflow: hidden; text-overflow: ellipsis; font-size: 1.03rem; }
  .nav-right { gap: 10px; }
  nav .lang-toggle { display: none; }
  .page-hero { padding: 130px 0 78px; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.2rem); }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .fact-strip { grid-template-columns: 1fr; margin-top: -24px; }
  .fact { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .fact:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .detail-row { grid-template-columns: 1fr; gap: 5px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 66px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
