/* ==========================================================
   星海广场 · Xinghai Square
   style.css — 全站样式（与 HTML / JS 完全分离）
   目录：
   00. 变量与重置
   01. 基础排版与通用组件
   02. 滚动进度条
   03. 导航
   04. 首屏 Hero
   05. 数据条
   06. 广场概览
   07. 地标卡片
   08. 时光长廊
   09. 光影星海
   10. 游览指南
   11. 结语 / 页脚 / 回到顶部
   12. 响应式
   13. 动效降级
   ========================================================== */

/* ---------- 00. 变量与重置 ---------- */
:root {
  /* 浅色（纸感）主题 */
  --bg:        #f7f4ed;
  --bg-alt:    #fffdf8;
  --card:      #ffffff;
  --text:      #1b2a33;
  --text-soft: #5d6f79;
  --line:      rgba(27, 42, 51, .10);
  --line-strong: rgba(27, 42, 51, .22);
  --accent:    #b4853c;
  --accent-soft: rgba(180, 133, 60, .12);
  --sea-1:     #0f3a4c;
  --sea-2:     #17566b;
  --sea-text:  #17566b;
  --shadow:    0 18px 40px -28px rgba(16, 40, 52, .45);

  /* 首屏（始终为深色海景） */
  --hero-1: #04141c;
  --hero-2: #0a2b3a;
  --hero-3: #14495c;
  --hero-text: #eef5f7;

  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22, .68, .16, 1);
}

/* 深色（夜航）主题 */
body.night {
  --bg:        #08131a;
  --bg-alt:    #0c1b23;
  --card:      #0f2029;
  --text:      #e8f1f4;
  --text-soft: #94acb7;
  --line:      rgba(232, 241, 244, .10);
  --line-strong: rgba(232, 241, 244, .24);
  --accent:    #e0b267;
  --accent-soft: rgba(224, 178, 103, .14);
  --sea-1:     #0a2632;
  --sea-2:     #124a5c;
  --sea-text:  #7fc4d6;
  --shadow:    0 18px 40px -28px rgba(0, 0, 0, .8);

  --hero-1: #020c12;
  --hero-2: #061c27;
  --hero-3: #0b3546;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s ease, color .6s ease;
  overflow-x: hidden;
}

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

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

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-soft) 45%, transparent);
  border-radius: 10px;
}

/* ---------- 01. 基础排版与通用组件 ---------- */
.wrap {
  width: min(var(--wrap), calc(100% - 8vw));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 132px) 0;
  position: relative;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 600;
}

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 28px;
}

.lead {
  font-size: 17px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 20px;
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__sub {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

/* 进入视口动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 02. 滚动进度条 ---------- */
.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  z-index: 120;
  background: linear-gradient(90deg, var(--accent), #e8c88a);
  transition: width .12s linear;
}

/* ---------- 03. 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  color: #fff;
  transition: background-color .5s var(--ease), padding .5s var(--ease),
              box-shadow .5s var(--ease), color .5s var(--ease);
}
.nav__inner {
  width: min(var(--wrap), calc(100% - 8vw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: .12em;
  white-space: nowrap;
}
.nav__logo svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.nav__logo em {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: .3em;
  opacity: .58;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 34px;
  font-size: 14px;
  letter-spacing: .1em;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  opacity: .82;
  transition: opacity .3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links a.active { opacity: 1; }

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

.theme-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  display: grid;
  place-items: center;
  color: #fff;
  transition: border-color .3s ease, transform .4s var(--ease), background-color .3s ease;
}
.theme-btn:hover { transform: rotate(18deg); border-color: rgba(255, 255, 255, .7); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .icon-moon { display: none; }
body.night .theme-btn .icon-sun { display: none; }
body.night .theme-btn .icon-moon { display: block; }

.burger {
  display: none;
  width: 38px; height: 38px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 8px;
  width: 20px; height: 1.5px;
  background: #fff;
  transition: transform .45s var(--ease), opacity .3s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 页面滚动后：导航沉底为浅色条 */
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
  color: var(--text);
}
.nav.is-solid .theme-btn { border-color: var(--line-strong); color: var(--text); }
.nav.is-solid .burger span { background: var(--text); }

/* ---------- 04. 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--hero-text);
  background: var(--hero-1);
  isolation: isolate;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 78% at 50% 96%, rgba(240, 196, 132, .16) 0%, rgba(240, 196, 132, 0) 58%),
    radial-gradient(80% 60% at 22% 12%, rgba(120, 190, 210, .18) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, var(--hero-1) 0%, var(--hero-2) 48%, var(--hero-3) 100%);
}

/* 细密的星点 / 光尘 */
.hero__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 78% 16%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 62% 34%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 33% 8%,  rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 88% 42%, rgba(255,255,255,.25), transparent);
  opacity: .9;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  text-align: center;
  padding: 96px 6vw 120px;
}

.hero__kicker {
  font-size: 11.5px;
  letter-spacing: .5em;
  text-indent: .5em;
  color: rgba(238, 245, 247, .66);
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(54px, 11.5vw, 132px);
  line-height: 1.06;
  letter-spacing: .22em;
  text-indent: .22em;
  display: flex;
  flex-direction: column;
  text-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.hero__title span { display: block; }

.hero__rule {
  margin: 34px auto 26px;
  width: 148px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.hero__rule i {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(224, 178, 103, .85), transparent);
}

.hero__sub {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 2.2;
  color: rgba(238, 245, 247, .78);
  letter-spacing: .08em;
}

.hero__meta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(238, 245, 247, .6);
}
.hero__meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(224, 178, 103, .9);
}

.hero__cta {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid rgba(238, 245, 247, .32);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: .22em;
  text-indent: .22em;
  color: var(--hero-text);
  transition: background-color .45s var(--ease), border-color .45s var(--ease),
              color .45s var(--ease), gap .45s var(--ease);
}
.hero__cta svg { width: 16px; height: 16px; }
.hero__cta:hover {
  background: rgba(238, 245, 247, .96);
  border-color: transparent;
  color: #0a2b3a;
  gap: 18px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .4em;
  color: rgba(238, 245, 247, .5);
}
.hero__scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(238,245,247,.55), transparent);
  overflow: hidden;
  position: relative;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 14px;
  background: #e0b267;
  animation: scrollLine 2.2s infinite var(--ease);
}
@keyframes scrollLine {
  0%   { transform: translateY(-16px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(48px); opacity: 0; }
}

/* ---------- 05. 数据条 ---------- */
.stats {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 46px 10px 42px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 30%;
  height: 40%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}
.stat__num em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .08em;
}
.stat__label {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--text-soft);
}

/* ---------- 06. 广场概览 ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}
.about__text p + p { margin-top: 18px; }
.about__text p { color: var(--text-soft); }
.about__text .lead { color: var(--text); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.tags span {
  font-size: 12px;
  letter-spacing: .14em;
  padding: 7px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--text-soft);
  transition: border-color .35s ease, color .35s ease, background-color .35s ease;
}
.tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.about__figure {
  position: relative;
  padding: clamp(16px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    radial-gradient(70% 70% at 80% 20%, var(--accent-soft), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
}
.about__figure::before,
.about__figure::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
}
.about__figure::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.about__figure::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.plan { width: 100%; height: auto; }
.about__figure figcaption {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- 07. 地标卡片 ---------- */
.landmarks { background: var(--bg-alt); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.card__art {
  position: relative;
  height: 186px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--accent-soft), transparent);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 110%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}
.card__art svg {
  width: 80%;
  max-height: 74%;
  height: auto;
  transition: transform .8s var(--ease);
}
.card:hover .card__art svg { transform: scale(1.05) translateY(-4px); }

.card__no {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--accent);
  opacity: .75;
}

.card__body { padding: 26px 26px 30px; flex: 1; }
.card__body h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.card__body p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-soft);
}
.card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.card__facts li {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--accent);
  padding: 3px 10px;
  background: var(--accent-soft);
  border-radius: 2px;
}

/* ---------- 08. 时光长廊 ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding-left: 140px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 122px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}

.tl-item {
  position: relative;
  padding: 0 0 46px 0;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  transform: translateX(-50%);
  transition: background-color .4s ease, box-shadow .4s ease;
}
.tl-item.is-in::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.tl-year {
  position: absolute;
  left: -140px;
  top: 2px;
  width: 100px;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--accent);
}
.tl-body h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.tl-body p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-soft);
  max-width: 560px;
}

/* ---------- 09. 光影星海 ---------- */
.scenery { background: var(--bg-alt); }

.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.scene {
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.scene:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.scene__view {
  position: relative;
  height: clamp(200px, 22vw, 280px);
  overflow: hidden;
}

/* 太阳 / 月亮 */
.scene__sun {
  position: absolute;
  border-radius: 50%;
  filter: blur(.3px);
}

/* 海平线 */
.scene__line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  opacity: .55;
}

/* 水面层 */
.scene__view::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 46%;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, .09) 0px,
    rgba(255, 255, 255, .09) 1px,
    transparent 1px,
    transparent 7px
  );
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
}

/* 清晨 */
.scene--dawn .scene__view {
  background: linear-gradient(180deg, #cfdde3 0%, #e6e2da 52%, #c6cfd2 52.4%, #a9b8be 100%);
}
.scene--dawn .scene__sun {
  width: 54px; height: 54px;
  left: 62%; bottom: 40%;
  background: #fdf3e0;
  box-shadow: 0 0 44px 16px rgba(253, 243, 224, .75);
  opacity: .9;
}
.scene--dawn .scene__line { bottom: 48%; background: #8d9ea5; }

/* 黄昏 */
.scene--dusk .scene__view {
  background: linear-gradient(180deg, #2d3d52 0%, #7d5566 34%, #d98d5f 50%, #8a5a4a 50.4%, #4a3244 100%);
}
.scene--dusk .scene__sun {
  width: 72px; height: 72px;
  left: 50%; margin-left: -36px;
  bottom: 44%;
  background: linear-gradient(180deg, #ffd9a0, #f09b52);
  box-shadow: 0 0 70px 26px rgba(240, 155, 82, .55);
}
.scene--dusk .scene__line { bottom: 50%; background: rgba(255, 200, 140, .8); }

/* 入夜 */
.scene--night .scene__view {
  background:
    radial-gradient(1.4px 1.4px at 18% 16%, rgba(255, 255, 255, .75), transparent),
    radial-gradient(1.2px 1.2px at 37% 9%,  rgba(255, 255, 255, .55), transparent),
    radial-gradient(1.6px 1.6px at 55% 21%, rgba(255, 255, 255, .6),  transparent),
    radial-gradient(1.2px 1.2px at 72% 12%, rgba(255, 255, 255, .5),  transparent),
    radial-gradient(1.3px 1.3px at 88% 26%, rgba(255, 255, 255, .55), transparent),
    radial-gradient(1px 1px at 27% 31%, rgba(255, 255, 255, .35), transparent),
    linear-gradient(180deg, #050e17 0%, #0d2333 46%, #071a26 50.4%, #04121b 100%);
}
.scene--night .scene__sun {
  width: 13px; height: 13px;
  left: 50%; margin-left: -6.5px;
  bottom: 57%;
  background: #f6ecd8;
  box-shadow: 0 0 30px 9px rgba(246, 236, 216, .45),
              0 0 70px 22px rgba(224, 178, 103, .18);
}
/* 月光在水面拉出一条光带 */
.scene--night .scene__view::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 74px;
  margin-left: -37px;
  height: 50%;
  background: linear-gradient(180deg, rgba(224, 178, 103, .38), rgba(224, 178, 103, 0) 88%);
  filter: blur(5px);
  opacity: .8;
}
.scene--night .scene__line { bottom: 50%; background: rgba(126, 196, 214, .35); }
/* 夜间桥灯 */
.scene--night .scene__line--2 {
  bottom: 50.8%;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, rgba(224, 178, 103, .95) 0 2px, transparent 2px 26px);
  opacity: 1;
  animation: bridgeBlink 5s infinite ease-in-out;
}
@keyframes bridgeBlink {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

.scene figcaption {
  padding: 24px 24px 28px;
  border-top: 1px solid var(--line);
}
.scene figcaption h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.scene figcaption p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-soft);
}

/* ---------- 10. 游览指南 ---------- */
.guide__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.info-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.info h5 {
  font-size: 14px;
  letter-spacing: .14em;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.info h5::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 1px;
  background: var(--accent);
}
.info p {
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--text-soft);
}
.info strong { color: var(--text); font-weight: 600; }

.guide__card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 34px 32px 26px;
  border-radius: 3px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.guide__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #e8c88a, transparent);
}
.gcard__tag {
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--accent);
}
.gcard__head h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: .1em;
  margin: 10px 0 6px;
}
.gcard__head p {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--text-soft);
}

.gcard__list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.gcard__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.gcard__list dt { color: var(--text-soft); letter-spacing: .1em; }
.gcard__list dd { color: var(--text); font-weight: 500; text-align: right; }

.gcard__note {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--text-soft);
  opacity: .85;
}

/* ---------- 11. 结语 / 页脚 / 回到顶部 ---------- */
.outro {
  background: var(--hero-2);
  color: var(--hero-text);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(126, 196, 214, .16), transparent 65%),
    radial-gradient(50% 70% at 8% 100%, rgba(224, 178, 103, .16), transparent 65%),
    linear-gradient(180deg, var(--hero-2), var(--hero-1));
}
.outro__inner {
  position: relative;
  text-align: center;
  max-width: 860px;
}
.outro__mark {
  font-family: var(--font-serif);
  font-size: 74px;
  line-height: .6;
  color: var(--accent);
  opacity: .7;
  margin-bottom: 22px;
}
.outro__text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.5vw, 30px);
  line-height: 1.95;
  letter-spacing: .04em;
}
.outro__sign {
  margin-top: 34px;
  font-size: 12px;
  letter-spacing: .34em;
  color: rgba(238, 245, 247, .55);
}

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 56px 0 46px;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px 48px;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand svg { width: 28px; height: 28px; color: var(--accent); }
.footer__brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .12em;
  font-weight: 600;
}
.footer__brand span {
  font-size: 8.5px;
  letter-spacing: .28em;
  color: var(--text-soft);
}
.footer__note, .footer__copy {
  font-size: 12px;
  line-height: 1.85;
  color: var(--text-soft);
}
.footer__note { max-width: 380px; }
.footer__copy { text-align: right; white-space: nowrap; }

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease),
              visibility .45s, background-color .35s ease;
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .45);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 460px; margin-inline: auto; }
  .guide__grid { grid-template-columns: 1fr; }
  .guide__card { max-width: 460px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__copy { text-align: left; }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    padding: 96px 8vw 40px;
    flex-direction: column;
    gap: 4px;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
    letter-spacing: .18em;
    transform: translateY(-102%);
    transition: transform .6s var(--ease);
    box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .5);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .burger { display: block; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 34px 8px; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .cards { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr; }
  .info-list { grid-template-columns: 1fr; gap: 26px; }

  .timeline { padding-left: 92px; }
  .timeline::before { left: 74px; }
  .tl-year { left: -92px; width: 60px; font-size: 17px; }
}

@media (max-width: 560px) {
  .hero__meta { letter-spacing: .1em; font-size: 11px; gap: 10px; }
  .hero__title { letter-spacing: .12em; text-indent: .12em; }
  .nav__logo { font-size: 15px; }
  .nav__logo em { display: none; }
  .br-pc { display: none; }
  .to-top { width: 40px; height: 40px; }
  .guide__card { padding: 28px 22px 22px; }
  .outro__mark { font-size: 56px; }
}

/* ---------- 13. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__scroll i::after,
  .scene--night .scene__line--2 { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
