/* ==========================================================================
   星海广场 · 样式表
   目录：
   01 变量与基础
   02 通用排版 / 区块标题
   03 顶部导航
   04 首屏
   05 概览
   06 数字
   07 时刻（SVG 海景）
   08 景观卡片
   09 时间轴
   10 攻略
   11 页脚 / 回到顶部
   12 响应式
   13 动效降级
   ========================================================================== */

/* ---------- 01 变量与基础 ---------- */
:root {
  --paper: #f7f4ee;
  --paper-2: #f0eae0;
  --sand: #ece3d4;
  --ink: #0c1e25;
  --ink-2: #0f2831;
  --ink-3: #08161c;
  --sea: #0e3542;
  --muted: #5c6f76;
  --muted-light: rgba(240, 236, 226, 0.66);
  --gold: #a97c42;
  --gold-soft: #d2b183;
  --line: rgba(12, 30, 37, 0.13);
  --line-light: rgba(240, 236, 226, 0.16);

  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

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

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

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 124px);
  scroll-margin-top: var(--header-h);
}
.section--paper { background: var(--paper); }
.section--sand { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: #f3eee4;
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 177, 131, 0.5), transparent);
}

/* ---------- 02 通用排版 ---------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  align-items: end;
  gap: 28px clamp(32px, 6vw, 72px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(44px, 6vw, 76px);
}
.sec-head--light { border-top-color: var(--line-light); }

.sec-head__num {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-head--light .sec-head__num { color: var(--gold-soft); }

.sec-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.7vw, 3.05rem);
  line-height: 1.34;
  letter-spacing: 0.02em;
}

.sec-head__desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
  max-width: 42ch;
}
.sec-head--light .sec-head__desc { color: var(--muted-light); }

/* ---------- 03 顶部导航 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
  padding-inline: var(--pad);
  color: #f6f1e6;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
              box-shadow 0.45s var(--ease), height 0.45s var(--ease);
}
.header.is-scrolled {
  height: 64px;
  background: rgba(247, 244, 238, 0.93);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 50%;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.3;
}
.brand__text em {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.34em;
  opacity: 0.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 13.5px;
  letter-spacing: 0.14em;
}
.nav a {
  position: relative;
  padding-block: 6px;
  opacity: 0.82;
  transition: opacity 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a.is-active { opacity: 1; }
.nav a.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: var(--gold-soft);
  border-radius: 50%;
}

.burger {
  display: none;
  position: relative;
  z-index: 110;
  width: 40px;
  height: 40px;
  margin-right: -8px;
}
.burger span {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.nav-open .burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 04 首屏 ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 40px) clamp(56px, 9vh, 96px);
  color: #f8f3e7;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* 底部压暗，保证文字可读 */
    linear-gradient(180deg, rgba(4, 16, 22, 0) 52%, rgba(4, 16, 22, 0.42) 84%, rgba(4, 16, 22, 0.66) 100%),
    /* 海面：地平线处暖色反射，向下迅速转深 */
    linear-gradient(180deg,
      rgba(228, 192, 140, 0.95) 0%,
      rgba(124, 126, 110, 0.92) 9%,
      #2b4b53 36%,
      #14313b 72%,
      #081c25 100%) bottom / 100% 21% no-repeat,
    /* 地平线暖光 */
    radial-gradient(62% 16% at 50% 79%, rgba(255, 228, 180, 0.85) 0%, rgba(255, 220, 170, 0) 72%),
    /* 天空 */
    linear-gradient(180deg,
      #04141d 0%,
      #082430 30%,
      #123f49 56%,
      #436a70 70%,
      #a2907a 76.5%,
      #dcbd92 79%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: overlay;
}
/* 水面反光：横向细纹缓慢漂移 */
.hero__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 244, 224, 0) 0 7px,
    rgba(255, 244, 224, 0.16) 7px 8px
  );
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  animation: waterDrift 12s linear infinite;
}
@keyframes waterDrift {
  to { transform: translateY(-16px); }
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 79%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 200, 0.55) 35%, rgba(255, 236, 200, 0.55) 65%, transparent);
}

.hero__inner { position: relative; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 243, 231, 0.7);
}
.hero__eyebrow .dot {
  width: 3px;
  height: 3px;
  background: var(--gold-soft);
  border-radius: 50%;
}

.hero__title {
  margin-top: clamp(18px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__cn {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 12.4vw, 8.6rem);
  line-height: 1.04;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.28);
}
.hero__en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9px, 1.05vw, 12px);
  letter-spacing: 0.52em;
  color: var(--gold-soft);
  padding-left: 6px;
}

.hero__lead {
  margin-top: clamp(22px, 3.4vw, 34px);
  max-width: 40ch;
  font-size: clamp(14px, 1.32vw, 16.5px);
  line-height: 2.05;
  color: rgba(248, 243, 231, 0.82);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(28px, 5vw, 64px);
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 240, 214, 0.22);
  max-width: 760px;
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 4px;
}
.hero__meta dt {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(248, 243, 231, 0.52);
}
.hero__meta dd {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.06em;
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: clamp(56px, 9vh, 96px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: rgba(248, 243, 231, 0.62);
  writing-mode: vertical-rl;
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255, 240, 214, 0.25);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: translateY(-100%);
  animation: cueDrop 2.6s var(--ease) infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 05 概览 ---------- */
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.overview__prose p {
  font-size: clamp(15px, 1.32vw, 16.5px);
  line-height: 2.1;
  color: #2b4249;
}
.overview__prose p + p { margin-top: 1.4em; }

.pullquote {
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.facts {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -44px rgba(12, 30, 37, 0.5);
}
.facts::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 2px;
  background: var(--gold);
}
.facts__title {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}
.facts__list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.875rem;
}
.facts__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts__list dt { color: var(--muted); letter-spacing: 0.08em; flex-shrink: 0; }
.facts__list dd { text-align: right; letter-spacing: 0.02em; }

/* ---------- 06 数字 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.stat {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.stat + .stat { padding-left: 0; }

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
  color: #f6efe2;
  line-height: 1;
}
.stat__num {
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}
.stat__label {
  margin-top: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #f3eee4;
}
.stat__text {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--muted-light);
  max-width: 30ch;
}

/* ---------- 07 时刻（SVG 海景） ---------- */
.scene { position: relative; }

.scene__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.scene__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}
.scene__tab {
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.scene__tab:hover { color: var(--ink); }
.scene__tab[aria-selected="true"] {
  background: var(--ink);
  color: #f6efe2;
}

.scene__hint {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  opacity: 0.8;
}

.scene__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1f28;
  box-shadow: 0 40px 80px -60px rgba(12, 30, 37, 0.9);
}
.scene__svg { width: 100%; height: 100%; }

/* 颜色变量（由 data-time 切换） */
.sp { transition: stop-color 0.9s var(--ease); }
.sp--sky1 { stop-color: var(--sky1); }
.sp--sky2 { stop-color: var(--sky2); }
.sp--sky3 { stop-color: var(--sky3); }
.sp--sea1 { stop-color: var(--sea1); }
.sp--sea3 { stop-color: var(--sea3); }
.sp--sea2 { stop-color: var(--sea2); }
.sp--light { stop-color: var(--light); }

.scene {
  --sky1: #243f56;
  --sky2: #8a5f63;
  --sky3: #f0b878;
  --light: #ffe0b4;
  --sea1: #d99a63;
  --sea3: #6b5f56;
  --sea2: #0e2632;
  --struct: #12242c;
  --far: #1b2f3a;
  --horizon: rgba(255, 232, 196, 0.55);
  --disc: #ffd39a;
  --glow: 0.85;
  --stars: 0;
  --birds: 1;
  --sun-x: 776px;
  --sun-y: 506px;
}

.scene[data-time="dawn"] {
  --sky1: #5a7f92;
  --sky2: #aabdc0;
  --sky3: #f4dfbe;
  --light: #ffe8c8;
  --sea1: #c2b4a2;
  --sea3: #6f8283;
  --sea2: #22424e;
  --struct: #2b4653;
  --far: #33505d;
  --horizon: rgba(255, 245, 226, 0.6);
  --disc: #fff2d8;
  --glow: 0.5;
  --birds: 1;
  --sun-x: 1192px;
  --sun-y: 496px;
}

.scene[data-time="noon"] {
  --sky1: #5d9db9;
  --sky2: #a8d1df;
  --sky3: #e8f2f3;
  --light: #ffffff;
  --sea1: #96c2d2;
  --sea3: #4d8398;
  --sea2: #1d4557;
  --struct: #3d5f6e;
  --far: #4c6d7c;
  --horizon: rgba(255, 255, 255, 0.7);
  --disc: #ffffff;
  --glow: 0.32;
  --birds: 1;
  --sun-x: 1140px;
  --sun-y: 214px;
}

.scene[data-time="night"] {
  --sky1: #05101a;
  --sky2: #0b2133;
  --sky3: #17394b;
  --light: #a9c6dd;
  --sea1: #1f4356;
  --sea3: #102c3a;
  --sea2: #040d13;
  --struct: #040c11;
  --far: #071520;
  --horizon: rgba(180, 210, 235, 0.28);
  --disc: #eef4ff;
  --glow: 0.22;
  --stars: 1;
  --birds: 0;
  --sun-x: 1042px;
  --sun-y: 226px;
}

.scene__sun {
  transform: translate(var(--sun-x), var(--sun-y));
  transition: transform 1.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.scene__glow {
  fill-opacity: var(--glow);
  transition: fill-opacity 1s var(--ease);
}
.scene__disc {
  fill: var(--disc);
  transition: fill 0.9s var(--ease);
}

.scene__stars,
.scene__birds {
  opacity: var(--stars);
  transition: opacity 1s var(--ease);
}
.scene__birds { opacity: var(--birds); }
.scene__stars circle { fill: #eaf2ff; opacity: 0.85; }

.scene__birds path {
  fill: none;
  stroke: rgba(30, 40, 46, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.scene__far {
  fill: var(--far);
  opacity: 0.62;
  transition: fill 0.9s var(--ease), opacity 0.9s var(--ease);
}

.scene__horizon {
  stroke: var(--horizon);
  stroke-width: 1.4;
  fill: none;
  transition: stroke 0.9s var(--ease);
}

.scene__bridge rect,
.scene__bridge line { transition: fill 0.9s var(--ease), stroke 0.9s var(--ease); }
.scene__bridge rect { fill: var(--struct); }
.scene__cables line {
  stroke: var(--struct);
  stroke-width: 1.7;
  stroke-linecap: round;
  opacity: 0.9;
}

.scene__mirror { opacity: 0.13; }

.scene__notes {
  display: grid;
  margin-top: 18px;
}
.scene__note {
  grid-area: 1 / 1;
  max-width: 62ch;
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
}
.scene[data-time="dawn"] .scene__note[data-time="dawn"],
.scene[data-time="noon"] .scene__note[data-time="noon"],
.scene[data-time="dusk"] .scene__note[data-time="dusk"],
.scene[data-time="night"] .scene__note[data-time="night"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.scene__note-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--ink);
}

/* ---------- 08 景观卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--paper-2);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}
.card:hover { background: #fff; }
.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
}
.card:hover::after { transform: scaleX(1); }

.card__index {
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.card__icon {
  margin-top: 20px;
  width: 38px;
  height: 38px;
  color: var(--ink);
  opacity: 0.7;
}
.card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
}
.card__tag {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.card__text {
  margin-top: 14px;
  font-size: 0.855rem;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 09 时间轴 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: clamp(30px, 4vw, 46px);
  max-width: 880px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 84px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), var(--line) 85%, transparent);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background 0.4s var(--ease);
}
.timeline__item:hover::before { background: var(--gold); }

.timeline__year {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-top: 2px;
}
.timeline__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.timeline__body p {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- 10 攻略 ---------- */
.guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.guide__col h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 18px;
  color: #f6efe2;
}
.guide__col li {
  position: relative;
  padding-left: 18px;
  font-size: 0.855rem;
  line-height: 1.9;
  color: var(--muted-light);
}
.guide__col li + li { margin-top: 12px; }
.guide__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--gold-soft);
}
.guide__note {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(240, 236, 226, 0.5);
}

/* ---------- 11 页脚 / 回到顶部 ---------- */
.footer {
  background: var(--ink-3);
  color: rgba(243, 238, 228, 0.72);
  padding-block: clamp(48px, 7vw, 80px) 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px clamp(32px, 6vw, 80px);
  align-items: start;
}
.footer__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  background: var(--gold-soft);
  border-radius: 50%;
}
.footer__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  color: #f6efe2;
}
.footer__sub {
  margin-top: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: rgba(243, 238, 228, 0.48);
}
.footer__nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  padding-top: 6px;
}
.footer__nav a { opacity: 0.7; transition: opacity 0.3s var(--ease); }
.footer__nav a:hover { opacity: 1; }
.footer__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 238, 228, 0.1);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(243, 238, 228, 0.4);
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(247, 244, 238, 0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #f6efe2; }
.to-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 12 响应式 ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview { grid-template-columns: 1fr; }
  .facts { max-width: 520px; }
  .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: var(--pad);
    background: var(--ink);
    color: #f6efe2;
    font-size: 1.6rem;
    font-family: var(--serif);
    letter-spacing: 0.2em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.9;
  }
  .nav a::after, .nav a::before { display: none; }

  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open body { overflow: hidden; }
  /* 菜单打开时取消模糊，否则 backdrop-filter 会成为 fixed 子元素的包含块 */
  .nav-open .header {
    color: #f6efe2;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-open .brand { position: relative; z-index: 110; }
  .nav-open .brand__mark { background: var(--gold-soft); }

  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head__desc { max-width: none; }

  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat__text { max-width: none; }

  .scene__stage { aspect-ratio: 4 / 3; }
  .scene__tab { padding: 7px 16px; font-size: 12px; }
  .scene__hint { display: none; }

  .scroll-cue { display: none; }

  .timeline::before { left: 0; }
  .timeline__item { grid-template-columns: 1fr; gap: 10px; padding-left: 26px; }
  .timeline__item::before { left: -4px; top: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { min-height: 92vh; }
  .hero__meta { gap: 16px 32px; }
  .hero__meta > div { min-width: 42%; }
  .cards { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { flex-wrap: wrap; }
  .facts__list > div { font-size: 0.83rem; }
}

/* ---------- 13 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg::after,
  .scroll-cue i::after { animation: none; }
  .scene__sun,
  .scene__note,
  .sp,
  .scene__disc,
  .scene__glow { transition: none; }
}
