:root{
  --neon:#87ff71;
  --mustard:#ffce5c;
  --ink:#192617;
  --deep:#0e190c;
  --paper:#eef8e8;
  --line:rgba(135,255,113,.32);
  --rail:212px;
  --r:10px;
  --serif:"EB Garamond","Crimson Text","Songti SC","Noto Serif SC","Source Han Serif SC",Georgia,"Times New Roman",serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  padding-left:var(--rail);
  font-family:var(--serif);
  font-size:17px;
  line-height:1.68;
  color:var(--paper);
  background:
    radial-gradient(circle at 8% 4%, rgba(255,206,92,.15), transparent 40%),
    radial-gradient(circle at 94% 86%, rgba(135,255,113,.14), transparent 44%),
    var(--ink);
  background-attachment:fixed;
}
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:radial-gradient(rgba(135,255,113,.15) 1px, transparent 1px);
  background-size:26px 26px;opacity:.45;
}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--mustard);outline-offset:2px}

/* 左侧竖排控制栏 */
.rail{
  position:fixed;top:0;left:0;bottom:0;width:var(--rail);z-index:30;
  display:flex;flex-direction:column;gap:12px;
  padding:16px 14px 20px;
  background:rgba(14,25,12,.92);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-right:1px dashed var(--line);
  overflow-y:auto;
}
.mark{
  display:grid;place-items:center;width:46px;height:46px;flex:0 0 auto;overflow:hidden;
  color:var(--ink);background:var(--neon);text-decoration:none;
  font-weight:700;font-size:1.05rem;letter-spacing:.02em;
  clip-path:polygon(50% 0,100% 26%,100% 74%,50% 100%,0 74%,0 26%);
  transition:background .2s ease;
}
.mark:hover{background:var(--mustard)}
.mark img{width:100%;height:100%;object-fit:cover;display:block}
.rail-nav{display:flex;flex-direction:column;gap:4px}
.rail-nav a{
  display:flex;align-items:center;min-height:44px;padding:10px 12px;
  color:var(--paper);text-decoration:none;font-size:1rem;line-height:1.4;
  border:1px solid transparent;border-radius:var(--r);
  transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease;
}
.rail-nav a:hover,.rail-nav a:focus-visible{
  background:var(--neon);color:var(--ink);border-color:var(--ink);transform:translateX(3px);
}
.find{display:flex;flex-direction:column;gap:6px;margin-top:auto}
.find input{
  width:100%;min-height:44px;padding:8px 10px;font:inherit;font-size:1rem;
  color:var(--paper);background:rgba(255,255,255,.06);
  border:1px dashed var(--line);border-radius:var(--r);
}
.find input::placeholder{color:#9db995}
.find button{
  min-height:44px;font:inherit;font-size:1rem;cursor:pointer;
  color:var(--ink);background:var(--mustard);border:0;border-radius:var(--r);
  letter-spacing:.06em;
  transition:background .2s ease;
}
.find button:hover{background:var(--neon)}

/* 舞台 */
.stage{
  position:relative;z-index:1;
  display:grid;grid-template-columns:184px minmax(0,1fr);gap:26px;
  max-width:1260px;padding:26px 26px 10px;
}
.side{
  position:sticky;top:26px;align-self:start;
  padding:16px 14px;border:1px dashed var(--line);border-radius:var(--r);
  background:rgba(255,255,255,.05);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.eyebrow{
  display:block;font-size:1rem;line-height:1.4;letter-spacing:.2em;
  color:var(--mustard);margin:0 0 2px;
}
.side-t{margin:0 0 10px;font-size:1.18rem;line-height:1.3;color:#f4ffe9;letter-spacing:.02em}
.side-links{display:flex;flex-direction:column}
.side-links a{
  display:flex;align-items:center;min-height:40px;padding:6px 2px;
  font-size:1rem;color:#d8edcf;text-decoration:none;
  border-bottom:1px dotted rgba(135,255,113,.22);
}
.side-links a:last-child{border-bottom:0}
.side-links a:hover{color:var(--mustard)}

/* 首屏 */
.hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  align-items:center;gap:26px;min-height:70vh;margin:0 0 30px;
}
.hero-art{position:relative;display:grid;place-items:center;min-height:320px;isolation:isolate}
.blob{
  position:absolute;width:76%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 32% 30%, var(--neon), rgba(135,255,113,.1) 72%);
  transform:translate(-6%,-4%);opacity:.9;mix-blend-mode:screen;z-index:0;
}
.dotgrid{
  position:absolute;left:-6%;bottom:2%;width:118px;height:118px;z-index:0;
  background-image:radial-gradient(var(--neon) 2px, transparent 2px);
  background-size:14px 14px;opacity:.5;
}
.tri{
  position:absolute;right:-5%;bottom:0;width:132px;height:132px;z-index:1;
  background:var(--mustard);opacity:.9;transform:rotate(11deg);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.hero-img{
  position:relative;z-index:2;display:block;width:100%;aspect-ratio:4/3;
  max-height:52vh;object-fit:cover;border-radius:var(--r);
  transform:rotate(-2.5deg);
  clip-path:polygon(0 5%,100% 0,97% 95%,3% 100%);
}
.hero-copy{text-align:right}
.hero-copy h1{
  margin:0 0 14px;font-size:clamp(2.2rem,5.2vw,3.9rem);line-height:1.12;
  letter-spacing:.01em;color:#f6ffef;text-wrap:balance;
}
.lede{margin:0;color:#cbe4c1;font-size:1.08rem;line-height:1.6}

/* 正文 */
main{min-width:0}
section{display:block}
section > div{
  position:relative;overflow:hidden;
  margin:0 0 24px;padding:26px 24px 28px;
  border:1px dashed var(--line);border-radius:var(--r);
  background:linear-gradient(158deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
  -webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
  box-shadow:0 12px 30px rgba(0,0,0,.24);
  scroll-margin-top:24px;
}
section > div:nth-of-type(3n+1)::before{
  content:"";position:absolute;top:-22px;right:-22px;width:88px;height:88px;
  background:var(--mustard);opacity:.55;clip-path:polygon(50% 0,100% 100%,0 100%);
}
section > div:nth-of-type(3n+2)::before{
  content:"";position:absolute;left:-34px;bottom:-34px;width:98px;height:98px;
  border-radius:50%;background:var(--neon);opacity:.2;
}
section > div:nth-of-type(3n)::after{
  content:"";position:absolute;right:16px;bottom:14px;width:72px;height:12px;
  background-image:radial-gradient(var(--mustard) 2px, transparent 2px);
  background-size:12px 12px;opacity:.6;
}
section h2{
  margin:.15em 0 .7em;font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.26;
  color:#f4ffec;letter-spacing:.01em;
}
section h2::after{
  content:"";display:block;width:74px;height:7px;margin-top:11px;background:var(--mustard);
  clip-path:polygon(0 100%,10% 30%,22% 90%,34% 20%,46% 100%,58% 40%,70% 95%,82% 25%,100% 80%,100% 100%);
}
section h3{margin:1.2em 0 .5em;font-size:1.28rem;line-height:1.35;color:#eaffdf}
section p{margin:0 0 1em}
section ul,section ol{margin:0 0 1em;padding-left:1.35em}
section li{margin:.35em 0}
section li::marker{color:var(--mustard)}
section a{color:var(--neon);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
section a:hover{color:var(--mustard);text-decoration-style:solid}
section strong{color:#f7ffef}
section blockquote{
  margin:1.1em 0;padding:14px 18px;border-left:5px solid var(--mustard);
  background:rgba(255,206,92,.09);border-radius:0 var(--r) var(--r) 0;color:#f0f7e9;
}
section img{max-width:100%;height:auto;border-radius:var(--r)}
section hr{border:0;border-top:1px dashed var(--line);margin:1.6em 0}

/* 页脚 */
.foot{
  position:relative;z-index:1;
  padding:28px 26px 34px;border-top:1px dashed var(--line);
  background:rgba(14,25,12,.72);
}
.foot-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:880px}
.foot dl{margin:0}
.foot dt{margin:0 0 2px}
.foot dd{margin:0}
.foot dt a,.foot dd a{
  display:inline-flex;align-items:center;min-height:40px;padding:6px 0;
  font-size:1rem;color:#dcefd4;text-decoration:none;line-height:1.4;
  border-bottom:1px dotted transparent;transition:color .18s ease,border-color .18s ease;
}
.foot dt a{color:var(--mustard);letter-spacing:.04em}
.foot dt a:hover,.foot dd a:hover{color:var(--neon);border-bottom-color:var(--neon)}
.copy{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  margin:22px 0 0;padding-top:14px;border-top:1px dotted rgba(135,255,113,.2);
  font-size:1rem;color:#a8c3a0;
}
.top{
  margin-left:auto;display:inline-flex;align-items:center;min-height:40px;
  padding:6px 12px;color:var(--ink);background:var(--neon);
  text-decoration:none;border-radius:var(--r);
  transition:background .18s ease;
}
.top:hover{background:var(--mustard)}

/* 滚动显现 */
.rv{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}

@media (max-width:920px){
  body{padding-left:0}
  .rail{
    position:sticky;top:0;left:auto;bottom:auto;width:auto;
    flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;
    padding:10px 12px;border-right:0;border-bottom:1px dashed var(--line);
    overflow:visible;
  }
  .mark{width:40px;height:40px;font-size:.95rem}
  .rail-nav{
    order:3;flex:1 1 100%;flex-direction:row;flex-wrap:nowrap;gap:2px;
    overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px;
  }
  .rail-nav a{white-space:nowrap;padding:10px;min-height:44px}
  .rail-nav a:hover{transform:none}
  .find{flex:1 1 auto;flex-direction:row;align-items:center;margin-top:0}
  .find input{flex:1 1 auto;min-width:0}
  .find button{flex:0 0 auto;padding:0 14px}
  .stage{grid-template-columns:1fr;gap:16px;padding:18px 14px 6px}
  main{order:1;min-width:0}
  .side{order:2;position:static;padding:12px}
  .side-links{flex-direction:row;flex-wrap:wrap;gap:6px}
  .side-links a{
    min-height:40px;padding:6px 12px;border-bottom:0;
    border:1px solid var(--line);border-radius:999px;
  }
  .hero{grid-template-columns:1fr;min-height:0;gap:14px;margin-bottom:22px}
  .hero-copy{text-align:left}
  .hero-copy h1{font-size:clamp(2rem,9vw,2.8rem)}
  .hero-art{min-height:0;height:150px}
  .hero-img{max-height:150px;aspect-ratio:auto;height:150px}
  .blob{width:132px}
  .dotgrid{width:84px;height:84px;background-size:12px 12px}
  .tri{width:86px;height:86px}
  .foot{padding:22px 14px 30px}
  .foot-nav{grid-template-columns:repeat(auto-fit,minmax(118px,1fr));max-width:none}
  section > div{padding:20px 16px 22px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  .rail-nav a,.top,.mark,.foot a{transition:none}
}

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