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

:root {
  --ink: #001e3c;
  --ink-2: #00284d;
  --mint: #99ffcc;
  --neon: #00ff41;
  --paper: #e4fff4;
  --dim: #8fb8cc;
  --line: rgba(153, 255, 204, .24);
  --glass: rgba(0, 44, 80, .52);
  --serif: 'Playfair Display SC', 'Songti SC', Georgia, serif;
  --sans: 'Karla', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper);
  overflow-x: hidden;
  background:
    radial-gradient(880px 600px at 90% -10%, rgba(0, 255, 65, .2), transparent 70%),
    radial-gradient(760px 520px at 3% 14%, rgba(153, 255, 204, .15), transparent 74%),
    radial-gradient(900px 700px at 62% 96%, rgba(0, 255, 65, .11), transparent 72%),
    var(--ink);
}

a { color: inherit; }

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

.skin {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(28px);
  opacity: .5;
}

.skin span {
  position: absolute;
  display: block;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 32% 30%, rgba(0, 255, 65, .55), rgba(153, 255, 204, .06) 72%);
  animation: breathe 15s ease-in-out infinite;
}

.skin span:nth-child(1) { width: 34vmax; height: 32vmax; top: -9vmax; right: -7vmax; }
.skin span:nth-child(2) { width: 26vmax; height: 27vmax; top: 42vh; left: -9vmax; animation-delay: -4s; animation-duration: 19s; }
.skin span:nth-child(3) { width: 22vmax; height: 21vmax; bottom: -8vmax; right: 12vw; animation-delay: -8s; animation-duration: 23s; }
.skin span:nth-child(4) { width: 14vmax; height: 15vmax; top: 12vh; left: 38vw; opacity: .5; animation-delay: -2s; animation-duration: 17s; }

@keyframes breathe {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.14) translate3d(0, -2vmax, 0); }
}

/* ---------- 顶部两行 ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(0, 24, 46, .84);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(16px, 4vw, 40px) 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mint);
  font-family: var(--serif);
  font-size: clamp(20px, 3.6vw, 28px);
  letter-spacing: .06em;
  line-height: 1.2;
  text-shadow: 0 0 24px rgba(0, 255, 65, .45);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.call {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(153, 255, 204, .07);
  color: var(--mint);
  font-size: 16px;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.call:hover { background: var(--neon); color: #00180b; border-color: var(--neon); }

.menurow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 0 clamp(12px, 4vw, 40px);
  border-top: 1px solid rgba(153, 255, 204, .13);
}

.m-item,
.drop summary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  font-size: 16px;
  letter-spacing: .08em;
  color: #cfeade;
  text-decoration: none;
  cursor: pointer;
}

.m-item:hover,
.drop summary:hover { color: var(--neon); }

.drop { position: relative; }

.drop summary { list-style: none; }
.drop summary::-webkit-details-marker { display: none; }

.drop summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--mint);
  transition: transform .2s ease;
}

.drop[open] summary::after { transform: rotate(180deg); }

.drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 236px;
  display: grid;
  padding: 8px;
  background: rgba(0, 34, 62, .96);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 26px 52px rgba(0, 0, 0, .5);
}

.drop-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 3px;
  color: #dcefe8;
  font-size: 16px;
  text-decoration: none;
}

.drop-panel a:hover { background: rgba(0, 255, 65, .15); color: var(--mint); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(26px, 5vw, 56px) clamp(16px, 4vw, 40px) clamp(34px, 6vw, 64px);
}

.ghost {
  position: absolute;
  right: clamp(-14px, .5vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(170px, 33vw, 430px);
  line-height: .78;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(153, 255, 204, .34);
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: right;
  justify-self: end;
  max-width: 34ch;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(33px, 6.2vw, 60px);
  line-height: 1.12;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 0 38px rgba(0, 255, 65, .38);
}

.hero-desc {
  margin: 0 0 26px;
  color: #bddcd3;
  font-size: 17px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .14em;
  text-decoration: none;
}

.btn-a {
  background: linear-gradient(120deg, var(--neon), var(--mint));
  color: #00180b;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(0, 255, 65, .28);
}

.btn-b { border: 1px solid var(--line); color: var(--mint); }
.btn-b:hover { border-color: var(--neon); color: var(--neon); }

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 44% 56% 38% 62% / 48% 40% 60% 52%;
  background: rgba(153, 255, 204, .12);
  box-shadow: 0 0 0 1px rgba(153, 255, 204, .28), 0 30px 70px rgba(0, 0, 0, .45);
  animation: swell 12s ease-in-out infinite;
}

.hero-photo,
.hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes swell {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.035) rotate(-.6deg); }
}

/* ---------- 正文骨架 ---------- */

main.shell {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 70px) clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

section { min-width: 0; }

section article {
  margin: 0 0 clamp(26px, 4vw, 44px);
  padding: clamp(18px, 3vw, 30px);
  scroll-margin-top: 138px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(0, 46, 84, .55), rgba(0, 30, 60, .28));
  backdrop-filter: blur(10px);
  transition: opacity .5s ease, transform .5s ease;
}

section article::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--neon), transparent);
  border-radius: 2px;
}

section h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 3.5vw, 33px);
  line-height: 1.28;
  color: var(--mint);
  letter-spacing: .01em;
}

section h3 {
  margin: 24px 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: #d6ffee;
}

.subtitle,
.subhead,
.lead {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 2px solid var(--neon);
  color: #a8ffd4;
  font-size: 16px;
  letter-spacing: .04em;
}

section p { margin: 0 0 16px; color: #d4ece4; }
section strong { color: var(--mint); }
section em { color: #b6ffd9; }

section ul,
section ol { margin: 0 0 18px; padding-left: 1.3em; }
section li { margin: 0 0 8px; color: #d4ece4; }

section a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 65, .42);
}

section a:hover { background: rgba(0, 255, 65, .15); }

section blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  border-left: 3px solid var(--mint);
  border-radius: 4px;
  background: rgba(153, 255, 204, .08);
  color: #e6fff6;
}

section img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* ---------- 侧栏 ---------- */

.rail {
  position: sticky;
  top: 138px;
  min-width: 0;
}

.rail-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(13px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .32);
}

.rail h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--mint);
  letter-spacing: .06em;
}

.rail .subtitle { font-size: 14px; margin-bottom: 14px; color: #97e7c0; }

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: railIndex;
}

.rail-list li { counter-increment: railIndex; }

.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(153, 255, 204, .18);
  color: #cbe7dd;
  font-size: 16px;
  text-decoration: none;
}

.rail-list li:last-child a { border-bottom: 0; }

.rail-list a::before {
  content: counter(railIndex, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 13px;
  color: var(--neon);
  opacity: .85;
}

.rail-list a:hover { color: var(--neon); }

/* ---------- 页脚 ---------- */

.ft {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 6vw, 60px);
  padding: clamp(26px, 4vw, 44px) clamp(16px, 4vw, 40px) 22px;
  border-top: 1px solid var(--line);
  background: rgba(0, 19, 38, .74);
  backdrop-filter: blur(15px);
}

.ft-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 22px 40px;
  align-items: start;
}

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

.sub-l {
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--mint);
}

.sub input {
  flex: 1 1 170px;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 44, 80, .62);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}

.sub input::placeholder { color: #7fa9bb; }

.sub button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--neon);
  color: #00170a;
  font: inherit;
  font-weight: 600;
  letter-spacing: .12em;
  cursor: pointer;
}

.sub button:hover { background: var(--mint); }

.ft-nav dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 18px;
  align-items: center;
}

.ft-nav dt {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--mint);
}

.ft-nav dd { grid-column: 2; margin: 0; }

.ft-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #bfe0d6;
  font-size: 16px;
  text-decoration: none;
}

.ft-nav a:hover { color: var(--neon); }

.ft-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(153, 255, 204, .15);
}

.ft-base address {
  font-style: normal;
  color: var(--dim);
  font-size: 16px;
  letter-spacing: .06em;
}

.ft-base ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ft-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #bfe0d6;
  font-size: 16px;
  text-decoration: none;
}

.ft-base a:hover { color: var(--neon); }

/* ---------- 滚动进入 ---------- */

.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; }

/* ---------- 断点 ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-copy { justify-self: stretch; max-width: none; }
  .hero-media { justify-self: stretch; max-width: 100%; aspect-ratio: 16 / 12; margin-top: 6px; }
  .ghost { top: 34%; font-size: clamp(140px, 40vw, 240px); opacity: .38; }
  main.shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .rail-card { padding: 16px; }
  .ft-inner { grid-template-columns: minmax(0, 1fr); }
  .ft-nav dl { grid-template-columns: max-content minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brandrow { padding-top: 10px; }
  .call { padding: 0 14px; }
  .hero-cta { justify-content: flex-start; }
  .hero-copy { text-align: left; }
  .ghost { right: -8px; }
  .ft-base { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skin span,
  .hero-media { animation: none; }
  .rv { opacity: 1; transform: none; }
  * { transition-duration: .001s !important; }
}

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