/* THE ATLAS 擎海 — 主样式（字体/字号对齐目标网站 theatlas.hk）
   配色：浅碧水色底 + 深海蓝，正文 #414042，主色 #00527d
   字体：标题 Cormorant Garamond + Noto Serif TC/SC；正文 Noto Sans TC/SC */

:root {
  --bg: #e8f5f5;
  --bg-2: #d7eef4;
  --surface: #ffffff;
  --ink: #221f1f;
  --ink-body: #414042;
  --ink-dim: #5a5c5e;
  --ink-faint: #8b9094;
  --line: rgba(13, 51, 73, 0.14);
  --deep: #0d3349;
  --deep-2: #00527d;
  --accent-4: #2d7193;
  --accent: #00527d;
  --aqua: #c8e9ef;
  --aqua-2: #c0e4ec;

  --font-sans-zh: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans SC", sans-serif;
  --font-sans-sc: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans TC", sans-serif;
  --font-serif-zh: "YX Numerals", "Noto Serif TC", Georgia, "Times New Roman", serif;
  --font-serif-sc: "YX Numerals", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-accent: "Cormorant Garamond", "Noto Serif TC", Georgia, serif;

  --font-sans: var(--font-sans-zh);
  --font-serif: var(--font-serif-zh);
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
}

/* 简体页面切换字体族 */
html[lang="zh-Hans-CN"] {
  --font-sans: var(--font-sans-sc);
  --font-serif: var(--font-serif-sc);
}
html[lang="en"] {
  --font-sans: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif TC", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.045em;
  min-width: 0;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(rgba(13, 51, 73, 0.35), rgba(13, 51, 73, 0));
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 38px; width: auto; }
.brand .logo-color { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-color { display: block; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 4px;
  color: #fff; font-size: 1.1rem; cursor: pointer;
}
.site-header.scrolled .nav-toggle { color: var(--deep); border-color: var(--line); }

.site-nav {
  position: fixed; inset: 0;
  background: rgba(13, 51, 73, 0.98);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 28px 40px; gap: 6px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}
.site-nav.open { transform: translateY(0); visibility: visible; }
.site-nav a {
  font-family: var(--font-serif);
  color: #fff;
  font-size: var(--fs-h3);
  letter-spacing: 0.12em;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-nav a[aria-current="page"] { color: var(--aqua-2); }
.nav-close {
  position: absolute; top: 14px; right: 20px;
  width: 44px; height: 44px; background: none;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 4px;
  color: #fff; font-size: 1.1rem; cursor: pointer;
}

.lang-switch { display: flex; gap: 8px; margin-top: 28px; }
.lang-switch button {
  background: none; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 4px;
  color: rgba(255, 255, 255, 0.8); padding: 6px 14px; font-size: var(--fs-small); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: #fff; border-color: #fff; }

.hdr-lang { display: flex; gap: 6px; }
.hdr-lang button {
  background: none; border: none; color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small); cursor: pointer; padding: 6px 4px;
}
.hdr-lang button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-header.scrolled .hdr-lang button { color: var(--ink-dim); }
.site-header.scrolled .hdr-lang button[aria-pressed="true"] { color: var(--deep); }

@media (min-width: 900px) {
  .site-header { padding: 16px 48px; }
  .nav-toggle, .nav-close { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible;
    flex-direction: row; align-items: center; justify-content: flex-end;
    background: none; padding: 0; gap: 26px;
  }
  .site-nav a {
    font-size: var(--fs-body); border: none; padding: 6px 2px;
    font-family: var(--font-body); letter-spacing: 0.12em; color: #fff;
  }
  .site-nav a[aria-current="page"] { color: var(--aqua); }
  .site-header.scrolled .site-nav a { color: var(--ink); }
  .site-header.scrolled .site-nav a[aria-current="page"] { color: var(--deep-2); }
  .site-nav .lang-switch { margin: 0 0 0 16px; }
  .site-nav .lang-switch button { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
  .site-header.scrolled .lang-switch button { border-color: var(--line); color: var(--ink-dim); }
  .site-header.scrolled .lang-switch button[aria-pressed="true"] { color: var(--deep); border-color: var(--deep); }
  .hdr-lang { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  --hero-blur: 8px; /* hero 背景模糊度，可调 */
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 110px;
  background: var(--deep);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/kv-background.webp") center / cover no-repeat;
  filter: blur(var(--hero-blur)) brightness(0.9);
  transform: scale(1.12);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(13, 51, 73, 0.3), rgba(13, 51, 73, 0.08) 40%, rgba(13, 51, 73, 0.42));
}
.hero-koi {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(300px, 62vw); height: auto; margin-bottom: 20px; }
.hero-eyebrow {
  color: var(--aqua-2);
  font-size: var(--fs-small);
  letter-spacing: 0.34em;
  margin-bottom: 14px;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: var(--fs-subhead);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  margin: 4px 0 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #fff;
  color: #fff;
  letter-spacing: 0.16em;
  font-size: var(--fs-small);
  border-radius: 2px;
  background: rgba(13, 51, 73, 0.25);
}
.btn.solid { background: var(--deep-2); border-color: var(--deep-2); color: #fff; }

.hero-disclaimer {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  z-index: 2;
  max-width: min(720px, calc(100vw - 32px));
  color: rgba(255, 255, 255, 0.75);
}
.hero-disclaimer summary {
  list-style: none; cursor: pointer;
  display: inline-block; padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px;
  letter-spacing: 0.1em; color: #fff;
  font-size: var(--fs-caption);
}
.hero-disclaimer summary::-webkit-details-marker { display: none; }
.hero-disclaimer-body {
  margin-top: 10px;
  max-height: 150px; overflow-y: auto;
  padding: 14px 16px;
  background: rgba(13, 51, 73, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  text-align: left;
  font-size: var(--fs-caption);
  line-height: 1.9;
}
@media (min-width: 900px) {
  .hero-logo { width: 380px; }
  .hero-disclaimer { bottom: 28px; }
  .scroll-cue { bottom: 92px; }
}

/* ---------- Scroll cue（hero 向下浏览提示） ---------- */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 76px;
  transform: translateX(-50%);
  z-index: 2;
  background: none; border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: var(--font-body);
}
.scroll-cue-label {
  font-size: var(--fs-caption);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.scroll-cue svg { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: 64px 24px; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .section { padding: 96px 48px; } }
.kicker {
  color: var(--deep-2);
  font-size: var(--fs-small);
  letter-spacing: 0.34em;
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--deep);
  font-size: var(--fs-h1);
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 18px;
}
.lead {
  color: var(--ink-body);
  font-size: var(--fs-lead);
  line-height: 2;
  max-width: 46em;
}
.lead + .lead { margin-top: 14px; }

.cards { display: grid; gap: 16px; margin-top: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 6px 24px rgba(13, 51, 73, 0.06);
}
.card .ck { color: var(--deep-2); font-size: var(--fs-small); letter-spacing: 0.28em; }
.card .ct { font-family: var(--font-serif); color: var(--deep); font-size: var(--fs-h4); font-weight: 400; line-height: 1.6; }
.card .cd { color: var(--ink-body); font-size: var(--fs-body); line-height: 1.9; flex: 1; }
.card .more { color: var(--deep-2); font-size: var(--fs-small); letter-spacing: 0.14em; }

/* page hero (subpages) */
.page-hero {
  padding: 150px 24px 56px;
  background: linear-gradient(180deg, var(--deep) 0%, #12527b 72%, var(--aqua) 140%);
  color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.page-hero .sub {
  color: var(--aqua-2);
  font-size: var(--fs-small);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
@media (min-width: 900px) { .page-hero { padding: 190px 64px 76px; } }

/* facts table */
.facts { width: 100%; border-collapse: collapse; margin-top: 26px; }
.facts th, .facts td {
  text-align: left;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: var(--fs-body);
  line-height: 1.9;
}
.facts th { color: var(--ink-faint); font-weight: 400; width: 34%; letter-spacing: 0.06em; }
.facts td { color: var(--ink); }

/* doc list */
.docs { display: grid; gap: 12px; margin-top: 26px; }
.doc {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 20px 22px; background: var(--surface);
  box-shadow: 0 4px 16px rgba(13, 51, 73, 0.05);
}
.doc .dn { font-size: var(--fs-lead); color: var(--ink); letter-spacing: 0.04em; }
.badge {
  font-size: var(--fs-small); letter-spacing: 0.1em;
  border: 1px solid var(--line); color: var(--ink-faint);
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.badge-link { background: var(--deep-2); color: #fff; border-color: var(--deep-2); }

/* photos */
.photo { width: 100%; border-radius: 6px; display: block; }
.photo-grid { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }

/* map / media placeholders */
.map-ph {
  margin-top: 26px;
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(0, 82, 125, 0.4);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint); font-size: var(--fs-body); text-align: center; padding: 20px;
  background: linear-gradient(140deg, #fff, var(--aqua-2));
}
.media-grid { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- VR 内置查看器（自研回退） ---------- */
.vr-wrap {
  position: relative;
  margin-top: 26px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 34px rgba(13, 51, 73, 0.18);
}
.vr-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.vr-wrap canvas:active { cursor: grabbing; }
.vr-hint {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  color: #fff;
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  background: rgba(9, 30, 44, 0.55);
  padding: 7px 16px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}
/* ---------- 官方漫游程序（krpano iframe 内嵌） ---------- */
.vr-frame-wrap {
  position: relative;
  margin-top: 26px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--deep);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 34px rgba(13, 51, 73, 0.18);
}
.vr-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: var(--deep);
}
@media (min-width: 900px) {
  .vr-frame-wrap { aspect-ratio: auto; height: 72vh; min-height: 480px; }
}

.small-print {
  margin-top: 34px;
  font-size: var(--fs-small);
  line-height: 1.9;
  color: var(--ink-faint);
  max-width: 60em;
}

/* ---------- Splash gate（进站法律声明，对齐官网） ---------- */
.splash-gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.splash-gate.hidden { display: none; }
.splash-gate__bg {
  position: absolute; inset: 0;
  background: url("../img/kv-background.webp") center / cover no-repeat;
  filter: blur(6px) brightness(0.62);
  transform: scale(1.1);
}
.splash-gate__panel {
  position: relative; z-index: 1;
  width: min(720px, 100%);
  max-height: min(86svh, 820px);
  background: rgba(9, 30, 44, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 28px 24px 22px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.splash-gate__logo { width: min(220px, 52vw); height: auto; margin-bottom: 12px; }
.splash-gate__panel h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  color: #fff;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.splash-gate__scroll {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
  font-size: var(--fs-small);
  line-height: 2;
  padding-right: 6px;
  margin-bottom: 18px;
}
.splash-gate__scroll p { margin-bottom: 12px; }
.splash-gate__actions { flex: none; }
.splash-gate__enter {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  font-size: var(--fs-body);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  padding: 12px 42px;
  cursor: pointer;
}
.splash-gate__enter:hover { background: rgba(255, 255, 255, 0.12); }
/* gate 打开时禁止背景滚动 */
body.gate-open { overflow: hidden; }

/* ---------- Floating contact ---------- */
.float-contact {
  position: fixed; right: 16px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.float-contact a {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13, 51, 73, 0.3);
}
.float-contact a svg { width: 26px; height: 26px; }
.float-whatsapp { background: #25d366; color: #fff; }
.float-tel { background: var(--deep-2); color: #fff; }
@media (min-width: 900px) {
  .float-contact { right: 28px; bottom: 28px; }
  .float-contact a { width: 56px; height: 56px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.85); padding: 56px 24px 110px; }
.site-footer .inner { max-width: 1080px; margin: 0 auto; }
.site-footer h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h4);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  color: #fff;
}
.site-footer p { font-size: var(--fs-small); line-height: 1.95; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; max-width: 72em; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 10px 0 8px; }
.fc-item { display: flex; flex-direction: column; gap: 4px; }
.fc-label { font-size: var(--fs-small); letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.5); }
.fc-value { font-family: var(--font-serif); font-size: var(--fs-h2); color: #fff; letter-spacing: 0.06em; }
/* 页脚查询热线：只显示电话图标，不显示号码 */
.fc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--deep-2);
  color: #fff;
  margin-top: 2px;
}
.fc-icon svg { width: 22px; height: 22px; }
.fc-icon:hover { background: #0b6a9e; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 22px 0; font-size: var(--fs-body); }
.footer-links a { color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.footer-meta {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-caption); color: rgba(255, 255, 255, 0.5);
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}

/* ---------- Legal modal（法律文字弹窗） ---------- */
.legal-modal {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(9, 30, 44, 0.72);
}
.legal-modal.open { display: flex; }
.legal-modal__panel {
  background: #fff; color: var(--ink-body);
  width: min(920px, 100%);
  max-height: min(86svh, 900px);
  border-radius: 8px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.legal-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-modal__head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  color: var(--deep);
  letter-spacing: 0.1em;
}
.legal-modal__close {
  width: 40px; height: 40px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 4px;
  color: var(--ink-dim); font-size: 1rem; cursor: pointer;
}
.legal-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: var(--fs-small);
  line-height: 2;
}
.legal-modal__body p { margin-bottom: 14px; }
.legal-modal__body p:last-child { margin-bottom: 0; }
.legal-modal__tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 22px 0;
}
.legal-modal__tabs button {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: var(--fs-small); color: var(--ink-dim); cursor: pointer;
}
.legal-modal__tabs button[aria-pressed="true"] { background: var(--deep-2); border-color: var(--deep-2); color: #fff; }

/* ---------- 官方内容页（the-atlas / location） ---------- */
.tp-section { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 900px) { .tp-section { padding-top: 80px; padding-bottom: 80px; } }
.tp-section--alt {
  max-width: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.tp-section--alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.tp-section--tight { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 900px) { .tp-section--tight { padding-top: 40px; padding-bottom: 40px; } }
.tp-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--deep);
  font-size: var(--fs-h1);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 22em;
}
.tp-body { max-width: 46em; }
.tp-body .lead + .lead { margin-top: 16px; }
.tp-teams {
  margin-top: 28px;
  font-family: var(--font-accent);
  font-size: var(--fs-subhead);
  letter-spacing: 0.22em;
  color: var(--deep-2);
}
.tp-figure {
  margin: 34px 0 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 51, 73, 0.16);
  background: var(--bg-3);
}
.tp-figure img { width: 100%; display: block; }
.tp-figure figcaption {
  padding: 12px 18px;
  font-size: var(--fs-caption);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  background: var(--bg-3);
  border-top: 1px solid var(--line);
}
.tp-figure--wide { max-width: none; }

/* 会所设施图墙 */
.facilities-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .facilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .facilities-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.facility {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  background: var(--deep);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 26px rgba(13, 51, 73, 0.14);
}
.facility img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facility figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(9, 30, 44, 0.62);
  padding: 6px 14px;
  border-radius: 999px;
  max-width: calc(100% - 24px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 交通数字（滚动计数） */
.stat-row {
  display: grid;
  gap: 14px;
  margin: 30px 0 8px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(6, 1fr); } }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 10px 16px;
  text-align: center;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 6px 20px rgba(13, 51, 73, 0.07);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  line-height: 1.1;
  color: var(--deep-2);
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.stat-label {
  margin-top: 6px;
  font-size: var(--fs-caption);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-body);
}

/* 品牌列表 */
.brand-row {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  max-width: 100%;
}
/* 注意：限定 .brand-row 内，避免与页头 <a class="brand"> Logo 链接撞名 */
.brand-row .brand {
  flex: 1 1 150px;
  min-width: 0;
  max-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 14px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(13, 51, 73, 0.07);
  overflow: hidden;
}
.brand-row .brand img {
  height: 46px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 10px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.brand-row .brand:hover img { filter: none; opacity: 1; }
.brand-label {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: var(--fs-caption);
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  line-height: 1.6;
}

/* 库存照片（带图注） */
.photo-card {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--deep);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 26px rgba(13, 51, 73, 0.14);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(9, 30, 44, 0.62);
  padding: 5px 12px;
  border-radius: 999px;
  max-width: calc(100% - 24px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* 附注（折叠） */
.notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0;
}
.notes summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  color: var(--deep-2);
  border-bottom: 1px solid var(--line);
}
.notes summary::-webkit-details-marker { display: none; }
.notes[open] summary { border-bottom: 1px solid var(--line); }
.notes-list {
  margin: 0;
  padding: 18px 22px 20px 40px;
  max-height: 420px;
  overflow-y: auto;
  font-size: var(--fs-caption);
  line-height: 1.95;
  color: var(--ink-faint);
  counter-reset: none;
  list-style: none;
}
.notes-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 0;
}
.notes-list li:last-child { margin-bottom: 0; }
.notes-no { color: var(--deep-2); margin-right: 6px; }

/* ---------- Carousel（首页环境照片墙） ---------- */
.section--carousel { padding-top: 0; }
.carousel {
  position: relative;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--deep);
  box-shadow: 0 10px 34px rgba(13, 51, 73, 0.18);
}
.carousel-viewport {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  margin: 0;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  font-size: var(--fs-caption);
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(9, 30, 44, 0.55);
  padding: 5px 14px;
  border-radius: 999px;
  max-width: calc(100% - 28px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.carousel-btn {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(9, 30, 44, 0.45);
  color: #fff;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0 4px 0;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-btn:hover { background: rgba(9, 30, 44, 0.75); }
.carousel-dots {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 8px;
}
.carousel-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
}
@media (min-width: 900px) {
  .carousel-viewport { aspect-ratio: 21 / 9; }
  .carousel-btn { width: 52px; height: 52px; font-size: 1.8rem; }
}

/* ---------- VR 跳转卡 ---------- */
.vr-launch {
  position: relative;
  margin-top: 26px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 34px rgba(13, 51, 73, 0.18);
  background: var(--deep);
}
.vr-launch-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.vr-launch-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 55%, rgba(13, 51, 73, 0.25), rgba(13, 51, 73, 0.68));
}
.vr-launch-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}
.vr-launch-btn {
  font-size: var(--fs-lead);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  padding: 16px 46px;
  border-radius: 999px;
  background: var(--deep-2);
  border-color: rgba(255, 255, 255, 0.55);
}
.vr-launch-note {
  font-size: var(--fs-caption);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

/* ---------- Animations（全部置于 prefers-reduced-motion: no-preference 内） ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* 页面进入：纯透明度淡入（不可用 transform —— 它会使 position:fixed 的弹窗相对 body 而非视口定位） */
  @keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  body { animation: pageIn 0.55s ease both; }

  /* 环境遮罩淡入 */
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  /* fade-up 循环播放（离屏复位、进入重播） */
  .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .fade-up.in { opacity: 1; transform: none; }

  /* Hero 元素在进入后逐个浮现（错落延迟） */
  .hero-inner .fade-up:nth-child(1) { transition-delay: 0.05s; }
  .hero-inner .fade-up:nth-child(2) { transition-delay: 0.12s; }
  .hero-inner .fade-up:nth-child(3) { transition-delay: 0.22s; }
  .hero-inner .fade-up:nth-child(4) { transition-delay: 0.34s; }
  .hero-inner .fade-up:nth-child(5) { transition-delay: 0.46s; }

  /* Splash gate：入场淡入 + 面板浮起（class 驱动，JS 创建后可重放）；退出时淡出 + 轻微放大 */
  .splash-gate { opacity: 0; transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .splash-gate.in { opacity: 1; }
  .splash-gate.leaving {
    opacity: 0;
    transform: scale(1.045);
    pointer-events: none;
  }
  .splash-gate__panel {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition: opacity 0.5s ease 0.06s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
  }
  .splash-gate.in .splash-gate__panel { opacity: 1; transform: none; }
  .splash-gate.leaving .splash-gate__panel { opacity: 0; transform: translateY(-18px); }
  .splash-gate__enter { transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
  .splash-gate__enter:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }

  /* 法律弹窗：遮罩淡入 + 面板缩放浮入（class 驱动，可反复重放）；退出时整体淡出 */
  .legal-modal { opacity: 0; transition: opacity 0.3s ease; }
  .legal-modal.in { opacity: 1; }
  .legal-modal.leaving { opacity: 0; }
  .legal-modal__panel {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    transition: opacity 0.35s ease 0.04s, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
  }
  .legal-modal.in .legal-modal__panel { opacity: 1; transform: none; }

  /* 走马灯：滑动过渡 */
  .carousel-track { transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }

  /* Scroll cue：箭头缓慢浮动，提示向下浏览 */
  @keyframes cueBounce {
    0%, 100% { transform: translateY(0); opacity: 0.75; }
    50% { transform: translateY(7px); opacity: 1; }
  }
  .scroll-cue svg { animation: cueBounce 2s ease-in-out infinite; }
  .scroll-cue { transition: opacity 0.3s ease; }

  /* 其余微交互 */
  .site-nav { transition: transform 0.35s ease, visibility 0.35s; }
  .float-contact a { transition: transform 0.25s ease; }
  .float-contact a:hover { transform: translateY(-3px); }
  .vr-launch-btn { transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
  .vr-launch-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 82, 125, 0.45); }
  .fc-icon { transition: background 0.25s ease, transform 0.25s ease; }
  .fc-icon:hover { transform: translateY(-2px); }
}