@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Merriweather:wght@300;400;700&display=swap');

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

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

:root {
  --ink: #001e3c;
  --ink-2: #042c50;
  --mint: #99ffcc;
  --neon: #00ff41;
  --paper: #e9fff5;
  --dim: rgba(233, 255, 245, .7);
  --line: rgba(153, 255, 204, .26);
  --faint: rgba(153, 255, 204, .12);
  --head: "Abril Fatface", "Songti SC", Georgia, serif;
  --body: "Merriweather", "Songti SC", Georgia, serif;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 70% at 88% -12%, rgba(0, 255, 65, .16), transparent 62%),
    radial-gradient(85% 55% at -5% 104%, rgba(153, 255, 204, .13), transparent 66%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 300;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
a:hover { color: var(--neon); }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .012em;
  margin: 0 0 .5rem;
}

p { margin: 0 0 1rem; }

.frame {
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 页头：两行，品牌独占一行 ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 0 -20px;
  padding: 0 20px;
  background: rgba(0, 30, 60, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.mast-brand { padding: .85rem 0 .45rem; }

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--head);
  font-size: clamp(1.35rem, 5.4vw, 1.85rem);
  letter-spacing: .08em;
  color: var(--mint);
}
.brand:hover { color: var(--neon); }
.brand-name { display: block; }

.mast-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .15rem 0 .75rem;
  border-top: 1px solid var(--faint);
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .35rem .85rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--mint);
  font-family: var(--body);
  font-size: .9rem;
  letter-spacing: .2em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.burger:hover { border-color: var(--neon); color: var(--neon); }

.burger-lines {
  display: block;
  width: 22px;
  height: 12px;
  background:
    linear-gradient(var(--neon), var(--neon)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--mint), var(--mint)) 0 100% / 100% 2px no-repeat;
  transition: transform .3s ease;
}
body.menu-open .burger-lines { transform: rotate(90deg); }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem 1.15rem;
  background: var(--neon);
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .1em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.cta:hover { background: var(--mint); color: var(--ink); }

/* ---------- 全屏遮罩菜单 ---------- */
.menu-veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 9.5rem 1.5rem 3rem;
  overflow-y: auto;
  visibility: hidden;
  transform: translateY(-102%);
  background-color: var(--ink);
  background-image: radial-gradient(70% 60% at 82% 18%, rgba(0, 255, 65, .2), transparent 70%);
  transition: transform .5s cubic-bezier(.2, .85, .2, 1), visibility .5s;
}
body.menu-open .menu-veil { visibility: visible; transform: translateY(0); }

.menu-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: .15rem;
  max-width: 720px;
}

.menu-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
body.menu-open .menu-item {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 55ms + 130ms);
}

.menu-list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: .55rem .15rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--head);
  font-size: clamp(1.3rem, 6vw, 2rem);
  color: var(--paper);
}
.menu-list a:hover { color: var(--neon); border-bottom-color: var(--neon); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  min-height: 70vh;
  padding: 2.4rem 0 3rem;
  overflow: hidden;
}

.hero-ghost {
  position: absolute;
  left: -2%;
  bottom: -.1em;
  z-index: 0;
  font-family: var(--head);
  font-size: clamp(3.6rem, 16vw, 11rem);
  line-height: .82;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 65, .34);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin: 0 0 .7rem;
  font-size: .8rem;
  letter-spacing: .42em;
  color: var(--neon);
}

.hero h1 {
  font-size: clamp(2.1rem, 8vw, 4rem);
  color: var(--paper);
  margin: 0;
  text-shadow: 0 0 34px rgba(0, 255, 65, .28);
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, rgba(0, 255, 65, .24), rgba(153, 255, 204, .06));
  clip-path: polygon(50% 0%, 92% 13%, 100% 55%, 81% 94%, 38% 100%, 4% 78%, 0% 34%, 19% 6%);
  animation: breathe 9s ease-in-out infinite;
  overflow: hidden;
}
.hero-figure img,
.hero-figure svg { width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- 正文 + 侧栏 ---------- */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: start;
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--line);
}

.stage-main {
  min-width: 0;
  max-width: 72ch;
}

.stage-main section {
  scroll-margin-top: 9rem;
  padding-bottom: 2rem;
  margin-bottom: 2.8rem;
  border-bottom: 2px solid var(--line);
}
.stage-main section:last-child { border-bottom: none; margin-bottom: 0; }

.stage-main h2 {
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  color: var(--mint);
  padding-top: 1.3rem;
  border-top: 3px solid var(--neon);
  margin-bottom: .55rem;
}

.stage-main h3 {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  color: var(--neon);
  margin-top: 1.8rem;
}

.stage-main p.subtitle,
.stage-main .subtitle,
.stage-main .subhead,
.stage-main .lead,
.stage-main .desc {
  font-size: 1.02rem;
  color: var(--dim);
  letter-spacing: .04em;
  border-left: 2px solid var(--neon);
  padding-left: .85rem;
  margin: -.1rem 0 1.2rem;
}

.stage-main p { color: var(--paper); }
.stage-main a { border-bottom: 1px solid var(--line); }
.stage-main a:hover { border-bottom-color: var(--neon); }

.stage-main ul,
.stage-main ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.stage-main li { margin: 0 0 .5rem; }

.stage-main figure {
  margin: 1.5rem 0;
  border-left: 3px solid var(--neon);
  padding-left: .9rem;
}
.stage-main figcaption {
  font-size: .86rem;
  letter-spacing: .1em;
  color: var(--dim);
  padding-top: .45rem;
}

.stage-main blockquote {
  margin: 1.6rem 0;
  padding: .9rem 1.1rem;
  background: rgba(0, 255, 65, .07);
  border-left: 4px solid var(--neon);
  color: var(--mint);
}
.stage-main blockquote p:last-child { margin-bottom: 0; }

.stage-main img { width: 100%; height: auto; }

.stage-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .95rem;
}
.stage-main th,
.stage-main td {
  border-bottom: 1px solid var(--line);
  padding: .6rem .5rem;
  text-align: left;
}

/* ---------- 侧栏 ---------- */
.side {
  order: 2;
  position: sticky;
  top: 9.5rem;
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}

.side h2 {
  font-size: 1.35rem;
  color: var(--neon);
  margin: 0 0 .3rem;
}

.side .subtitle {
  margin: 0 0 1rem;
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--dim);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}
.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .1rem;
  border-bottom: 1px dashed var(--line);
  font-size: .94rem;
}
.side-list a:hover { border-bottom-style: solid; border-bottom-color: var(--neon); }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 3rem;
  border-top: 2px solid var(--neon);
  padding: 2.6rem 0 1.4rem;
  background: linear-gradient(180deg, rgba(0, 255, 65, .07), transparent 46%);
}

.foot-cta {
  display: grid;
  gap: .9rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.foot-brand {
  margin: 0;
  font-family: var(--head);
  font-size: clamp(1.75rem, 7vw, 3rem);
  line-height: 1.05;
  color: var(--mint);
}

.foot-cta-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .55rem 1.35rem;
  border: 1px solid var(--neon);
  color: var(--neon);
  font-size: .94rem;
  letter-spacing: .16em;
}
.foot-cta-link:hover { background: var(--neon); color: var(--ink); }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 1.4rem;
}

.foot-col { margin: 0; }
.foot-col dt {
  font-family: var(--head);
  font-size: 1.02rem;
  letter-spacing: .06em;
  color: var(--neon);
  margin-bottom: .45rem;
}
.foot-col dd { margin: 0; }
.foot-col dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .15rem 0;
  font-size: .94rem;
  border-bottom: 1px solid transparent;
}
.foot-col dd a:hover { color: var(--neon); border-bottom-color: var(--neon); }

.copyright {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  letter-spacing: .12em;
  color: var(--dim);
}

/* ---------- 断点 ---------- */
@media (max-width: 940px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .side {
    position: static;
    order: 0;
    border-left: none;
    border-top: 2px solid var(--neon);
    padding: 1.1rem 0 0;
  }
  .side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 1.9rem 0 2.4rem;
    text-align: center;
  }
  .hero-figure { aspect-ratio: 5 / 4; max-height: 46vh; }
  .hero-ghost { bottom: auto; top: .2rem; opacity: .8; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
}

@media (max-width: 420px) {
  body { font-size: 16.5px; }
  .frame { padding: 0 16px; }
  .masthead { margin: 0 -16px; padding: 0 16px; }
  .cta { padding: .45rem .8rem; letter-spacing: .04em; }
  .side-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-figure { animation: none; }
  .menu-veil, .menu-item, .burger-lines, a { transition: none; }
  .menu-item { opacity: 1; transform: none; }
}

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