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

:root{
  --neon:#87ff71;
  --mustard:#ffce5c;
  --ink:#192617;
  --text:#eaf7e3;
  --dim:#b7cdb0;
  --line:rgba(135,255,113,.32);
  --glass-a:rgba(255,255,255,.085);
  --glass-b:rgba(255,255,255,.025);
  --r:28px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:Merriweather,Georgia,"Songti SC","Times New Roman",serif;
  font-size:17px;
  line-height:1.75;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:var(--neon);text-decoration:none}
h1,h2,h3{
  font-family:"Abril Fatface",Merriweather,Georgia,serif;
  font-weight:400;
  line-height:1.12;
  letter-spacing:.01em;
  margin:0;
}
p{margin:0 0 1em}

/* ---------- 开关与菜单按钮 ---------- */
.navswitch{position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}
.navbtn{
  position:fixed;
  top:14px;
  left:14px;
  z-index:70;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border:2px solid var(--mustard);
  border-radius:999px;
  background:rgba(25,38,23,.86);
  color:var(--mustard);
  font-size:16px;
  letter-spacing:.12em;
  cursor:pointer;
  backdrop-filter:blur(6px);
}
.navbtn span{display:block}

/* ---------- 左侧竖排导航 ---------- */
.rail{
  position:fixed;
  inset:0 auto 0 0;
  z-index:50;
  width:282px;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:24px 20px 30px;
  overflow-y:auto;
  transform:translateX(-102%);
  transition:transform .34s cubic-bezier(.2,.75,.3,1);
  border-right:3px dashed rgba(255,206,92,.45);
  background:
    radial-gradient(circle at 1px 1px, rgba(255,206,92,.32) 1.4px, transparent 1.5px) 0 0/18px 18px,
    linear-gradient(180deg,#17241a,#101a13);
}
.navswitch:checked ~ .rail{transform:none}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:"Abril Fatface",Merriweather,serif;
  font-size:1.28rem;
  line-height:1.15;
  color:var(--neon);
  text-shadow:2px 2px 0 rgba(255,206,92,.35);
}
.brand-mark{
  display:inline-grid;
  place-items:center;
  min-width:36px;
  height:36px;
  padding:0 6px;
  border-radius:12px;
  background:var(--mustard);
  color:var(--ink);
  font-size:1rem;
  transform:rotate(-6deg);
}

.rail-h{
  font-family:Merriweather,Georgia,serif;
  font-size:16px;
  letter-spacing:.16em;
  color:var(--mustard);
  margin:0 0 10px;
}
.rail-h .tt{display:inline-flex;align-items:center;gap:8px}
.rail-h .dot{
  width:9px;height:9px;
  background:var(--neon);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}

.rail-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.rail-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  border-left:3px solid transparent;
  border-radius:14px;
  color:var(--text);
  font-size:16px;
  transition:background .2s ease,transform .2s ease,border-color .2s ease,color .2s ease;
}
.rail-list a:hover,
.rail-list a:focus-visible{
  background:rgba(135,255,113,.15);
  border-left-color:var(--neon);
  color:var(--neon);
  transform:translateX(4px);
}
.rail-rule{
  display:block;
  height:2px;
  margin:14px 0;
  background:repeating-linear-gradient(90deg,var(--mustard) 0 6px,transparent 6px 12px);
}
.rail-foot{
  margin-top:auto;
  padding-top:16px;
  border-top:2px dotted rgba(135,255,113,.3);
}
.rail-contact{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 14px;
  border:2px solid rgba(135,255,113,.55);
  border-radius:14px;
  background:rgba(135,255,113,.1);
  color:var(--neon);
  font-size:16px;
}
.rail-contact:hover{background:var(--neon);color:var(--ink)}

/* ---------- 主体 ---------- */
.stage{min-width:0}

.hero{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  min-height:45vh;
  padding:80px 20px 34px;
  overflow:hidden;
  border-bottom:3px dashed rgba(255,206,92,.4);
  background:
    radial-gradient(circle at 1px 1px, rgba(135,255,113,.3) 1.7px, transparent 1.8px) 0 0/24px 24px,
    linear-gradient(160deg,rgba(135,255,113,.12),transparent 62%);
}
.hero::after{
  content:"";
  position:absolute;
  top:-70px;
  right:-60px;
  width:210px;
  height:210px;
  background:var(--mustard);
  opacity:.17;
  transform:rotate(16deg);
  clip-path:polygon(50% 0,100% 100%,0 100%);
  pointer-events:none;
}
.hero-type{grid-column:1 / -1}
h1{
  font-size:clamp(2.1rem,8vw,3.4rem);
  color:var(--neon);
  text-shadow:3px 3px 0 rgba(255,206,92,.5);
  transform:rotate(-1.4deg);
  transform-origin:left center;
  margin:0 0 14px;
  overflow-wrap:anywhere;
}
.lede{max-width:52ch;color:var(--dim);font-size:16px;margin:0}

.tile{
  position:relative;
  margin:0;
  aspect-ratio:3 / 4;
  overflow:hidden;
  border:3px solid var(--neon);
  border-radius:var(--r);
  background:var(--glass-a);
  clip-path:polygon(0 6%,100% 0,96% 100%,3% 94%);
  transform:rotate(-4deg);
}
.tile-b{border-color:var(--mustard);transform:rotate(5deg)}
.tile-img{width:100%;height:100%;object-fit:cover}
.ph{
  display:block;
  width:100%;
  height:100%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,206,92,.8) 0 16%, transparent 17%),
    repeating-linear-gradient(45deg, rgba(135,255,113,.55) 0 10px, transparent 10px 22px);
}

/* ---------- 正文区块 ---------- */
main > section[id]{
  position:relative;
  max-width:860px;
  margin:24px auto;
  padding:26px 20px 30px;
  border:2px dashed var(--line);
  border-radius:var(--r);
  background:linear-gradient(160deg,var(--glass-a),var(--glass-b));
  backdrop-filter:blur(8px);
  overflow-wrap:anywhere;
  scroll-margin-top:78px;
}
main section[id] h2{
  font-size:clamp(1.5rem,3.6vw,2.1rem);
  color:var(--mustard);
  margin:0 0 .55em;
  padding-bottom:.16em;
  border-bottom:2px dotted rgba(255,206,92,.38);
}
main section[id] h3{
  font-size:1.18rem;
  color:var(--neon);
  margin:1.5em 0 .45em;
}
h2 > span,h3 > span{position:relative;display:inline-block}
h2 > span::after{
  content:"";
  position:absolute;
  left:-2px;
  right:-2px;
  bottom:-9px;
  height:6px;
  opacity:.85;
  background:repeating-linear-gradient(90deg,var(--neon) 0 9px,transparent 9px 16px);
}
main section[id] p,
main section[id] li{font-size:17px}
main section[id] ul,
main section[id] ol{padding-left:1.35em;margin:0 0 1em}
main section[id] li{margin:.35em 0}
main section[id] figure{margin:1.3em 0}
main section[id] figure img{
  width:100%;
  border-radius:20px;
  border:3px solid rgba(135,255,113,.55);
}
main section[id] aside{
  margin:1.3em 0;
  padding:16px 18px;
  border:2px dotted rgba(255,206,92,.5);
  border-radius:22px;
  background:rgba(255,206,92,.08);
}
main section[id] blockquote{
  margin:1.3em 0;
  padding:14px 18px;
  border-left:5px solid var(--mustard);
  border-radius:0 20px 20px 0;
  background:rgba(255,206,92,.09);
  color:var(--text);
}
main section[id] blockquote p:last-child{margin:0}
main section[id] table{
  display:block;
  width:100%;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:16px;
}
main section[id] th,
main section[id] td{
  padding:10px 12px;
  text-align:left;
  border-bottom:1px dashed rgba(135,255,113,.3);
}
main section[id] strong{color:var(--mustard)}
main section[id] a{border-bottom:2px dotted rgba(135,255,113,.6)}

/* ---------- 页脚 ---------- */
.site-foot{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-start;
  gap:22px 30px;
  margin-top:40px;
  padding:34px 20px 48px;
  border-top:4px dashed rgba(255,206,92,.55);
  background:linear-gradient(180deg,transparent,rgba(135,255,113,.07));
}
.foot-brand{display:flex;flex-direction:column;gap:10px}
.foot-brand h2{
  font-size:clamp(2rem,7vw,3.2rem);
  color:var(--neon);
  text-shadow:3px 3px 0 rgba(255,206,92,.42);
}
.foot-nav dl{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:2px 14px;
  margin:0;
}
.foot-nav dt{
  grid-column:1 / -1;
  margin-top:12px;
  color:var(--mustard);
  font-size:16px;
  letter-spacing:.16em;
}
.foot-nav dt:first-child{margin-top:0}
.foot-nav dd{margin:0}
.foot-nav a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:4px 8px;
  border-radius:10px;
  color:var(--text);
  font-size:16px;
  transition:background .2s ease,color .2s ease;
}
.foot-nav a:hover,
.foot-nav a:focus-visible{background:rgba(255,206,92,.18);color:var(--mustard)}
.foot-meta{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.copy{margin:0;color:var(--dim);font-size:16px}
.totop{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:6px 16px;
  border:2px solid var(--neon);
  border-radius:999px;
  color:var(--neon);
  font-size:16px;
}
.totop:hover{background:var(--neon);color:var(--ink)}

/* ---------- 桌面 ---------- */
@media (min-width:960px){
  .navswitch,.navbtn{display:none}
  .frame{display:grid;grid-template-columns:282px minmax(0,1fr)}
  .rail{position:sticky;top:0;height:100vh;transform:none}
  .hero{
    grid-template-columns:minmax(0,1.1fr) .55fr .55fr;
    align-items:center;
    gap:22px;
    padding:64px 46px 48px;
  }
  .hero-type{grid-column:auto}
  .tile-a{margin-top:-38px}
  .tile-b{margin-top:56px}
  h1{font-size:clamp(2.6rem,4.4vw,4.2rem)}
  main > section[id]{margin:30px auto;padding:36px 42px 40px;scroll-margin-top:28px}
}

@media (min-width:1280px){
  .hero{padding:74px 60px 56px}
  main > section[id]{max-width:900px}
}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion:no-preference){
  main > section{animation:rise .55s cubic-bezier(.2,.72,.3,1) both}
  main > section:nth-child(2){animation-delay:.06s}
  main > section:nth-child(3){animation-delay:.11s}
  main > section:nth-child(4){animation-delay:.16s}
  main > section:nth-child(5){animation-delay:.21s}
  main > section:nth-child(6){animation-delay:.26s}
  main > section:nth-child(7){animation-delay:.31s}
  main > section:nth-child(8){animation-delay:.36s}
  main > section:nth-child(9){animation-delay:.41s}
  @keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  .tile{transition:transform .36s ease}
  .tile:hover{transform:rotate(0deg) scale(1.02)}
  .rail-contact,.totop{transition:background .22s ease,color .22s ease,transform .22s ease}
  .rail-contact:hover,.totop:hover{transform:translateY(-1px)}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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