@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #001e3c;
  --deep: #00121f;
  --blue: #5681ff;
  --green: #5dce5f;
  --paper: #eaf1ff;
  --mute: #a9bcdd;
  --serif: 'Bodoni Moda', 'Songti SC', 'Source Han Serif SC', Georgia, serif;
  --sans: 'Jost', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --edge: rgba(86, 129, 255, .28);
}

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

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 130vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 40% at 78% 12%, rgba(86, 129, 255, .38), transparent 70%),
    radial-gradient(30% 34% at 16% 30%, rgba(93, 206, 95, .24), transparent 72%),
    radial-gradient(45% 45% at 55% 72%, rgba(0, 40, 84, .85), transparent 76%);
  filter: blur(46px);
  animation: breathe 16s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1) translateY(0); opacity: .8; }
  50% { transform: scale(1.12) translateY(-14px); opacity: 1; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: #c3d5ff; }

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

/* ---------- 头部 ---------- */
.membrane {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(0, 18, 31, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--blue);
  text-decoration: none;
  border-radius: 50%;
}

.brand-dot {
  width: 34px;
  height: 34px;
  color: var(--blue);
  filter: drop-shadow(0 0 8px rgba(86, 129, 255, .55));
  animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.dock { position: relative; }

.dock summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--edge);
  color: var(--paper);
  font-size: 16px;
  letter-spacing: .06em;
  cursor: pointer;
  list-style: none;
  background: rgba(86, 129, 255, .08);
}

.dock summary::-webkit-details-marker { display: none; }

.glyph {
  width: 16px;
  height: 12px;
  border-top: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  position: relative;
}

.glyph::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: var(--green);
}

.dock menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
  width: min(272px, calc(100vw - 24px));
  display: grid;
  gap: 2px;
  background: #001a2d;
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.dock menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 16px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(86, 129, 255, .12);
}

.dock menu a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid var(--green);
  border-radius: 50%;
  transition: background .25s ease, transform .25s ease;
}

.dock menu li:last-child a { border-bottom: 0; }

.dock menu a:hover,
.dock menu a:focus-visible {
  color: #fff;
  background: rgba(86, 129, 255, .14);
}

.dock menu a:hover::before,
.dock menu a:focus-visible::before {
  background: var(--green);
  transform: scale(1.35);
}

.dock .dock-word { line-height: 1; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 56px 20px 64px;
  overflow: hidden;
  text-align: right;
  border-bottom: 1px solid var(--edge);
}

.hero-ghost {
  position: absolute;
  right: 2vw;
  bottom: -4vh;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(160px, 42vw, 460px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(86, 129, 255, .3);
  pointer-events: none;
  user-select: none;
  animation: drift 12s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

.hero-frame { position: relative; max-width: 1120px; width: 100%; }

.hero-title {
  margin: 0 0 0 auto;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 6.4vw, 4.4rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: #f4f8ff;
  text-shadow: 0 0 40px rgba(86, 129, 255, .35);
}

/* ---------- 主体 ---------- */
main { position: relative; z-index: 1; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 52px;
  align-items: start;
}

.stream { min-width: 0; }

.prose { min-width: 0; }

.prose > section {
  padding: 40px 0 44px;
  border-bottom: 2px solid rgba(93, 206, 95, .38);
  scroll-margin-top: 92px;
}

.prose > section:last-child { border-bottom: 0; }

.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.28;
  margin: 0 0 .55em;
  text-wrap: balance;
  color: #f2f7ff;
}

.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.24rem;
  line-height: 1.4;
  margin: 1.5em 0 .5em;
  text-wrap: balance;
  color: #dfe9ff;
}

.prose hr {
  border: 0;
  height: 2px;
  width: 100%;
  margin: 0 0 1.35em;
  background: linear-gradient(90deg, var(--green), rgba(93, 206, 95, 0));
}

.prose p { margin: 0 0 1.15em; max-width: 68ch; }

.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.35em; max-width: 66ch; }

.prose li { margin-bottom: .45em; }

.prose li::marker { color: var(--green); }

.prose a {
  color: #bcd0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(86, 129, 255, .6);
}

.prose a:hover { color: #fff; text-decoration-color: var(--green); }

.prose blockquote {
  margin: 0 0 1.3em;
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--blue);
  color: var(--mute);
  font-style: normal;
}

.prose strong { color: #ffffff; font-weight: 600; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.3em;
  font-size: 16px;
}

.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge);
  vertical-align: top;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 28px 0 0;
}

.gallery .shot { width: 100%; border-bottom: 2px solid var(--blue); }

/* ---------- 侧栏 ---------- */
.vein {
  position: sticky;
  top: 88px;
  padding: 22px 20px 18px;
  border: 1px solid var(--edge);
  border-bottom: 3px solid var(--green);
  background: linear-gradient(180deg, rgba(86, 129, 255, .12), rgba(0, 30, 60, .5));
}

.vein-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 0 .7em;
  text-wrap: balance;
}

.vein hr {
  border: 0;
  height: 2px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.vein-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
}

.vein-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 16px;
  color: #c8d6f4;
  text-decoration: none;
  border-bottom: 1px solid rgba(86, 129, 255, .16);
}

.vein-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: rgba(93, 206, 95, .6);
  transition: transform .25s ease, background .25s ease;
}

.vein-list a:hover { color: #fff; }

.vein-list a:hover::before { background: var(--green); transform: scale(1.5); }

.vein-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: .04em;
}

/* ---------- 页脚 ---------- */
.soil {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 40px 20px 0;
  background: linear-gradient(180deg, #001b2e, #000e19);
  border-top: 1px solid var(--edge);
}

.soil > * { max-width: 1180px; margin-inline: auto; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 22px 20px;
  border: 1px solid rgba(93, 206, 95, .5);
  color: #f0f7ff;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.2vw, 2.1rem);
  line-height: 1.2;
  transition: background .3s ease, border-color .3s ease;
}

.cta:hover { background: rgba(93, 206, 95, .1); border-color: var(--green); }

.cta-arrow { color: var(--green); font-size: 1.5rem; animation: rise 4s ease-in-out infinite; }

@keyframes rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.soil-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 34px 0 8px;
}

.soil-addr {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.soil-brand {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.45;
  color: #e8f0ff;
}

.soil-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
}

.soil-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid rgba(86, 129, 255, .14);
}

.soil-links a:hover { color: var(--green); }

.soil-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0 26px;
  border-top: 1px solid var(--edge);
  margin-top: 18px;
}

.copy { margin: 0; font-size: 16px; color: var(--mute); }

.soil-mini { display: flex; gap: 22px; }

.soil-mini a { border-bottom: 0; }

/* ---------- 动效 ---------- */
.js .prose > section {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.js .prose > section.in { opacity: 1; transform: none; }

.js .dock menu li {
  animation: appear .5s both;
}

@keyframes appear {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

.js .dock menu li:nth-child(2) { animation-delay: .04s; }
.js .dock menu li:nth-child(3) { animation-delay: .08s; }
.js .dock menu li:nth-child(4) { animation-delay: .12s; }
.js .dock menu li:nth-child(5) { animation-delay: .16s; }
.js .dock menu li:nth-child(6) { animation-delay: .2s; }
.js .dock menu li:nth-child(7) { animation-delay: .24s; }

/* ---------- 响应式 ---------- */
@media (min-width: 820px) {
  .dock summary { display: none; }

  .dock menu {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .dock menu a {
    border-bottom: 0;
    padding: 0 11px;
    color: #d7e2f8;
  }

  .dock menu a::before { background: transparent; }

  .dock menu a:hover,
  .dock menu a:focus-visible { background: rgba(86, 129, 255, .16); }

  .dock:not([open]) > menu { display: flex; }
}

@media (max-width: 980px) {
  .wrap { grid-template-columns: minmax(0, 1fr) 248px; gap: 32px; }
}

@media (max-width: 860px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-bottom: 48px;
  }

  .vein { position: static; order: 2; }

  .hero { min-height: 62vh; text-align: left; justify-content: flex-start; }

  .hero-title { margin-left: 0; }

  .soil-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }

  .hero { min-height: 56vh; padding: 44px 18px 52px; }

  .hero-ghost { bottom: -1vh; right: -4vw; }

  .wrap { padding-inline: 18px; }

  .prose > section { padding: 32px 0 36px; }

  .soil { padding-inline: 18px; }

  .soil-grid { grid-template-columns: minmax(0, 1fr); }

  .soil-base { flex-direction: column; align-items: flex-start; }

  .soil-mini { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body::before,
  .brand-dot,
  .hero-ghost,
  .cta-arrow,
  .js .dock menu li { animation: none; }

  .js .prose > section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
