/* ==========================================================================
   星海广场 · 页面样式
   结构：1.变量与基础  2.通用组件  3.导航  4.首屏  5.概览  6.沿革
        7.看点  8.光影  9.出行  10.结尾与浮动元素  11.响应式
   ========================================================================== */

/* ------------------------------ 1. 变量与基础 ------------------------------ */
:root {
  --bg: #06121b;
  --bg-soft: #0a1d29;
  --bg-card: #0b1e2a;
  --surface: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #e9f2f7;
  --text-2: #b6c7d2;
  --muted: #8298a7;
  --accent: #eab264;
  --accent-soft: rgba(234, 178, 100, 0.14);
  --cyan: #58c3d8;
  --nav-bg: rgba(6, 18, 27, 0.82);
  --title-grad: linear-gradient(180deg, #ffffff 0%, #cfe4ee 55%, #7fa7b9 100%);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --radius: 18px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "DIN Alternate", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

html[data-theme="light"] {
  --bg: #f7f5f1;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --surface: rgba(10, 40, 56, 0.035);
  --line: rgba(10, 40, 56, 0.12);
  --line-strong: rgba(10, 40, 56, 0.28);
  --text: #0d2532;
  --text-2: #2e4a58;
  --muted: #5f7887;
  --accent: #b4761f;
  --accent-soft: rgba(180, 118, 31, 0.1);
  --cyan: #16788f;
  --nav-bg: rgba(247, 245, 241, 0.86);
  --title-grad: linear-gradient(180deg, #14303e 0%, #2c5364 60%, #6f8b99 100%);
  --shadow: 0 24px 50px -32px rgba(13, 37, 50, 0.4);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #0a1520; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 10px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ------------------------------ 2. 通用组件 ------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 130px 0;
  scroll-margin-top: 72px;
}

.tag {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.tag::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--accent);
  opacity: 0.7;
}

.h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  letter-spacing: -0.01em;
  font-weight: 800;
}

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

.body {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 2;
}

.sec-head { margin-bottom: 74px; max-width: 640px; }
.sec-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
}

/* 滚动进场 */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------ 3. 载入与进度 ------------------------------ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 22px;
  justify-items: center;
  background: #04101a;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark {
  font-size: 15px;
  letter-spacing: 0.6em;
  color: #e9f2f7;
  text-indent: 0.6em;
  animation: breathe 1.8s ease-in-out infinite;
}
.loader__line {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.loader__line span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--accent);
  animation: slide 1.1s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.35; } }
@keyframes slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

/* ------------------------------ 4. 导航 ------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  color: #eaf3f8;
  transition: padding 0.4s var(--ease), background-color 0.4s ease,
    border-color 0.4s ease, color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 13px 32px;
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav__name { font-size: 16px; font-weight: 700; letter-spacing: 0.12em; }
.nav__en {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.55;
  padding-left: 12px;
  border-left: 1px solid currentColor;
  transform: translateY(1px);
}

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: currentColor;
  opacity: 0.72;
  transition: opacity 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  border-color: rgba(127, 167, 185, 0.4);
  transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.icon-btn:hover { border-color: var(--accent); transform: rotate(18deg); }
.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn .icon-sun { display: none; }
html[data-theme="light"] .icon-btn .icon-sun { display: block; }
html[data-theme="light"] .icon-btn .icon-moon { display: none; }

.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 10px 7px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------ 5. 首屏 ------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #030b13 0%, #071c29 38%, #0c2c3e 68%, #0a2432 100%);
}
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: 120vw;
  max-width: 1500px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(234, 178, 100, 0.22) 0%,
    rgba(234, 178, 100, 0.08) 34%,
    transparent 62%
  );
  filter: blur(6px);
  pointer-events: none;
}

.hero__scene {
  position: absolute;
  inset: auto 0 0 0;
  height: 58vh;
  min-height: 380px;
}
.scene { width: 100%; height: 100%; }

.hero__waves { position: absolute; inset: auto 0 0 0; height: 34vh; overflow: hidden; }
.wave {
  position: absolute;
  left: -50%;
  width: 200%;
  border-radius: 48% 52% 0 0 / 100% 100% 0 0;
  will-change: transform;
}
.wave--1 {
  bottom: -132px;
  height: 250px;
  background: rgba(24, 78, 100, 0.34);
  animation: wave 17s ease-in-out infinite alternate;
}
.wave--2 {
  bottom: -150px;
  height: 240px;
  background: rgba(11, 42, 58, 0.68);
  animation: wave 13s ease-in-out infinite alternate-reverse;
}
.wave--3 {
  bottom: -172px;
  height: 230px;
  background: #061926;
  animation: wave 21s ease-in-out infinite alternate;
}
@keyframes wave {
  from { transform: translateX(-4%) rotate(-1.1deg); }
  to { transform: translateX(4%) rotate(1.1deg); }
}

.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 32px;
  padding-bottom: 8vh;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(233, 242, 247, 0.62);
  margin-bottom: 26px;
  opacity: 0;
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero__title {
  display: flex;
  gap: 0.06em;
  font-size: clamp(64px, 13.5vw, 178px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-left: -0.05em;
  margin-bottom: 30px;
}
.hero__title span {
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: rise 1.2s var(--ease) forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.25s; }
.hero__title span:nth-child(2) { animation-delay: 0.4s; }

.hero__sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(233, 242, 247, 0.78);
  letter-spacing: 0.06em;
  margin-bottom: 34px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.55s forwards;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  animation: rise 1.1s var(--ease) 0.7s forwards;
}
.hero__chips li {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(233, 242, 247, 0.86);
  padding: 7px 16px;
  border: 1px solid rgba(234, 178, 100, 0.35);
  border-radius: 100px;
  background: rgba(234, 178, 100, 0.08);
  backdrop-filter: blur(6px);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 36px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(233, 242, 247, 0.55);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 62px;
  background: linear-gradient(180deg, rgba(234, 178, 100, 0), var(--accent));
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: 0 0; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: 0 0; }
}

/* ------------------------------ 6. 概览 ------------------------------ */
.intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: start;
}
.intro__text .h2 { margin-bottom: 28px; }

.intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.intro__meta span::before {
  content: "—";
  margin-right: 8px;
  color: var(--accent);
}

.intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 6px;
}
.stat {
  background: var(--bg);
  padding: 34px 26px 30px;
  transition: background-color 0.4s ease;
}
.stat:hover { background: var(--bg-soft); }
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-num);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat__num em { font-style: normal; }
.stat__num i {
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ------------------------------ 7. 沿革 ------------------------------ */
.history { background: var(--bg-soft); }
html[data-theme="light"] .history { background: #fffdf9; }

.tl { position: relative; padding-left: 8px; }
.tl::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 34px;
  padding: 0 0 46px 46px;
}
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
html[data-theme="light"] .tl__item::before { background: #fffdf9; }
.tl__item.is-visible::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.tl__year {
  font-family: var(--font-num);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 8px;
}
.tl__body h3 {
  font-size: 21px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.tl__body p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.95;
}

/* ------------------------------ 8. 看点 ------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.45s ease, transform 0.35s var(--ease), box-shadow 0.5s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .card { box-shadow: 0 12px 30px -26px rgba(13, 37, 50, 0.5); }

.card__art {
  position: relative;
  height: 200px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 130%, rgba(234, 178, 100, 0.2), transparent 62%),
    linear-gradient(165deg, #0b2333 0%, #06161f 100%);
  border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .card__art {
  background:
    radial-gradient(ellipse at 50% 130%, rgba(180, 118, 31, 0.18), transparent 62%),
    linear-gradient(165deg, #eef3f5 0%, #dfe7ea 100%);
}

/* 01 · 摊开的书 */
.art-book {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 0;
  height: 0;
}
.art-book::before,
.art-book::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 78px;
  height: 58px;
  background:
    repeating-linear-gradient(180deg, rgba(78, 112, 128, 0.22) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #f8fbfd, #c7d6de);
  border-radius: 2px;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(70, 105, 122, 0.3);
}
.art-book::before {
  right: 2px;
  transform: perspective(240px) rotateY(-32deg) skewY(9deg);
  transform-origin: right bottom;
}
.art-book::after {
  left: 2px;
  transform: perspective(240px) rotateY(32deg) skewY(-9deg);
  transform-origin: left bottom;
}

/* 02 · 华表 */
.art-column-svg {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 94px;
  height: 133px;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

/* 03 · 喷泉 */
.card__art--fountain { display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 58px; }
.card__art--fountain::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 210px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(88, 195, 216, 0.5), rgba(88, 195, 216, 0) 70%);
  filter: blur(2px);
}
.art-jet {
  width: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(88, 195, 216, 0.05), rgba(88, 195, 216, 0.82));
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(0.4px);
  transform-origin: 50% 100%;
  animation: jet 2.8s ease-in-out infinite;
}
.art-jet:nth-child(1) { height: 46px; animation-delay: 0s; }
.art-jet:nth-child(2) { height: 84px; animation-delay: 0.25s; }
.art-jet:nth-child(3) { height: 126px; animation-delay: 0.1s; }
.art-jet:nth-child(4) { height: 84px; animation-delay: 0.4s; }
.art-jet:nth-child(5) { height: 46px; animation-delay: 0.18s; }
@keyframes jet {
  0%, 100% { transform: scaleY(0.62); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* 04 · 海湾 */
.art-moon {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f2e6cc;
  box-shadow: 0 0 46px 14px rgba(234, 205, 160, 0.34);
}
.art-sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background:
    repeating-linear-gradient(180deg, rgba(88, 195, 216, 0.34) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #123a4c, #081a24);
  mask-image: linear-gradient(180deg, transparent, #000 34%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%);
}

.card__body { padding: 30px 30px 34px; }
.card__idx {
  display: block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.85;
}
.card__body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.card__body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.95;
}

/* ------------------------------ 9. 光影 ------------------------------ */
.gallery { background: var(--bg-soft); }
html[data-theme="light"] .gallery { background: #fffdf9; }

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.shot { margin: 0; }
.shot__img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--sky1) 0%,
    var(--sky2) 46%,
    var(--sky3) 67%,
    var(--sea1) 67.6%,
    var(--sea2) 100%
  );
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease), box-shadow 0.6s ease;
}
/* 地平线微光 + 暗角，增强照片感 */
.shot__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, 0.06), transparent 52%),
    radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.34) 100%);
}
.shot:hover .shot__img {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.9);
}
.shot__sun {
  position: absolute;
  left: 50%;
  top: var(--sunY, 60%);
  width: 48px;
  height: 48px;
  margin: -48px 0 0 -24px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 60px 18px var(--sunGlow);
  transition: transform 0.8s var(--ease), box-shadow 0.8s ease;
}
.shot:hover .shot__sun { transform: scale(1.15) translateY(-6px); }
.shot__far {
  position: absolute;
  left: 0;
  right: 0;
  top: 67%;
  height: 90px;
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--sea1), transparent 60%);
  opacity: 0.9;
}
/* 水面上的光带倒影 */
.shot__far::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 58px;
  height: 86%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--sunGlow), transparent 80%);
  filter: blur(7px);
  opacity: 0.85;
}

.shot--dawn {
  --sky1: #1c2c42; --sky2: #6d5a76; --sky3: #e8a97e;
  --sea1: #4f5a68; --sea2: #1c232c;
  --sun: #ffd9a8; --sunGlow: rgba(255, 190, 130, 0.5); --sunY: 66%;
}
.shot--day {
  --sky1: #2c6f96; --sky2: #63a8c6; --sky3: #cfe6ee;
  --sea1: #2a6a86; --sea2: #123a4c;
  --sun: #fdfbf2; --sunGlow: rgba(255, 255, 255, 0.45); --sunY: 30%;
}
.shot--dusk {
  --sky1: #1d2236; --sky2: #7b4659; --sky3: #e98a52;
  --sea1: #3a2f3d; --sea2: #150f19;
  --sun: #ffb267; --sunGlow: rgba(255, 140, 80, 0.55); --sunY: 67%;
}
.shot--night {
  --sky1: #040c14; --sky2: #0a2030; --sky3: #123a4c;
  --sea1: #0d2b3a; --sea2: #030a10;
  --sun: #e9f1f5; --sunGlow: rgba(160, 210, 230, 0.35); --sunY: 24%;
}
.shot--night .shot__sun { width: 30px; height: 30px; margin: -30px 0 0 -15px; }
.shot--night .shot__img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 67%;
  width: 26px;
  height: 32%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(160, 210, 230, 0.3), transparent 85%);
  filter: blur(6px);
}
.shot--night .shot__far {
  background:
    repeating-linear-gradient(90deg, rgba(234, 178, 100, 0.8) 0 1.5px, transparent 1.5px 11px),
    linear-gradient(180deg, rgba(234, 178, 100, 0.16), transparent 55%);
  height: 3px;
  top: 67.6%;
  opacity: 0.95;
}

.shot figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.shot figcaption b {
  font-family: var(--font-num);
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
  letter-spacing: 0.08em;
}

/* ------------------------------ 10. 出行 ------------------------------ */
.tabs__bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.tabs__btn {
  position: relative;
  padding: 14px 26px;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.35s ease;
}
.tabs__btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.45s var(--ease);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { color: var(--text); }
.tabs__btn.is-active::after { transform: scaleX(1); }

.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fade 0.5s var(--ease); }
@keyframes fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.ticks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ticks li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 20px 24px;
  background: var(--bg);
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.9;
  transition: background-color 0.35s ease, padding-left 0.35s var(--ease);
}
.tabs__panel.is-active .ticks li:hover {
  background: var(--bg-soft);
  padding-left: 32px;
}
.ticks b {
  flex: 0 0 58px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* ------------------------------ 11. 结尾 / 页脚 / 浮动 ------------------------------ */
.outro {
  padding: 120px 0 110px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 60%),
    var(--bg-soft);
}
html[data-theme="light"] .outro {
  background:
    radial-gradient(ellipse at 50% 0%, var(--accent-soft), transparent 60%),
    #fffdf9;
}
.outro__quote {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.outro__note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0a1520;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0.4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------ 12. 响应式 ------------------------------ */
@media (max-width: 1024px) {
  .intro__grid { grid-template-columns: 1fr; gap: 54px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .nav__menu { gap: 24px; }
}

@media (max-width: 860px) {
  .section { padding: 96px 0; }
  .hero__content { padding: 0 24px 12vh; }
  .nav { padding: 18px 20px; }
  .nav.is-scrolled { padding: 12px 20px; }
  .nav__en { display: none; }

  .nav__menu {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    height: 100vh;
    height: 100svh;
    background: var(--nav-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 20px; letter-spacing: 0.14em; color: var(--text); }
  .nav__burger { display: flex; }

  .cards { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 52px; }
  .tl__item { grid-template-columns: 1fr; gap: 8px; padding-bottom: 38px; }
  .tl__year { padding-top: 0; }
  .hero__scroll { display: none; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .section { padding: 76px 0; }
  .intro__stats { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot__img { aspect-ratio: 4 / 3; }
  .ticks li { flex-direction: column; gap: 6px; padding: 18px 20px; }
  .ticks b { flex: none; }
  .card__body { padding: 24px 22px 28px; }
  .hero__chips li { font-size: 11.5px; padding: 6px 13px; }
  .footer__inner { justify-content: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

/* 尊重系统的“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title span, .hero__eyebrow, .hero__sub, .hero__chips { opacity: 1; }
}
