@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Poiret+One&display=swap');

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

html{
  background:#08120F;
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  scrollbar-color:#3a4a42 #0b1712;
}

:root{
  --forest:#0E1F1A;
  --gold:#C9A227;
  --mist:#EDE6D6;
  --deep:#08130F;
  --line:rgba(201,162,39,.3);
  --veil:rgba(9,22,17,.86);
  --pad:clamp(1.1rem,4vw,3.4rem);
  --font-title:'Poiret One','Didact Gothic',"Songti SC","PingFang SC",serif;
  --font-body:'Didact Gothic',system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
}

body{
  margin:0;
  color:var(--mist);
  font-family:var(--font-body);
  font-size:1.0625rem;
  line-height:1.8;
  overflow-x:hidden;
  letter-spacing:.01em;
}

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

/* 层叠视差背景 */
.stage{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.stage span{position:absolute;left:-14%;right:-14%;bottom:-12vh;display:block;will-change:transform}

.stage .l3{
  height:78vh;
  background:#10251d;
  opacity:.7;
  z-index:1;
  clip-path:polygon(0 100%,0 44%,7% 62%,15% 32%,24% 60%,33% 36%,43% 66%,52% 42%,62% 68%,71% 40%,81% 64%,90% 34%,100% 58%,100% 100%);
}
.stage .l2{
  height:58vh;
  background:#0B1C16;
  opacity:.9;
  z-index:2;
  clip-path:polygon(0 100%,0 52%,9% 30%,19% 58%,29% 34%,40% 62%,50% 38%,60% 64%,70% 36%,80% 60%,91% 32%,100% 54%,100% 100%);
}
.stage .l1{
  height:40vh;
  background:#07110D;
  z-index:3;
  clip-path:polygon(0 100%,0 40%,6% 66%,14% 36%,23% 68%,32% 42%,42% 70%,51% 46%,61% 72%,70% 44%,80% 68%,89% 40%,100% 62%,100% 100%);
}

@supports (animation-timeline:scroll()){
  .stage .l1{animation:driftA linear both;animation-timeline:scroll(root block)}
  .stage .l2{animation:driftB linear both;animation-timeline:scroll(root block)}
  .stage .l3{animation:driftC linear both;animation-timeline:scroll(root block)}
}
@keyframes driftA{to{transform:translateY(-34vh)}}
@keyframes driftB{to{transform:translateY(-19vh)}}
@keyframes driftC{to{transform:translateY(-9vh)}}

/* 顶栏 */
.masthead{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--veil);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:background .3s ease,box-shadow .3s ease;
}
.masthead.is-dense{background:rgba(9,22,17,.98);box-shadow:0 14px 30px -22px #000}

.ticker{
  margin:0;
  padding:.3rem 1rem;
  border-bottom:1px solid var(--line);
  text-align:center;
  color:var(--gold);
  font-size:1rem;
  line-height:1.6;
  letter-spacing:.3em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ticker-in{opacity:.92}

.masthead-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.5rem var(--pad);
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  min-height:44px;
  flex:none;
  color:var(--mist);
  text-decoration:none;
  font-family:var(--font-title);
  font-size:1.18rem;
  letter-spacing:.16em;
  white-space:nowrap;
}
.brand-mark{width:11px;height:11px;border:1px solid var(--gold);transform:rotate(45deg);flex:none;transition:background .25s}
.brand:hover{color:var(--gold)}
.brand:hover .brand-mark{background:var(--gold)}

.pill-nav{flex:1;min-width:0;display:flex;justify-content:flex-end}
.pill-nav ol{
  display:flex;
  gap:.38rem;
  margin:0;
  padding:.15rem 0;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(201,162,39,.5) transparent;
}
.pill-nav ol::-webkit-scrollbar{height:4px}
.pill-nav ol::-webkit-scrollbar-thumb{background:rgba(201,162,39,.45);border-radius:4px}
.pill-nav a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:.3rem .85rem;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--mist);
  text-decoration:none;
  font-size:1rem;
  white-space:nowrap;
  transition:background .25s,color .25s,border-color .25s,transform .25s;
}
.pill-nav a:hover,.pill-nav a:focus-visible{background:var(--gold);border-color:var(--gold);color:var(--deep);transform:translateY(-1px)}

/* 首屏 */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr);
  align-items:center;
  gap:clamp(1.4rem,4vw,3rem);
  min-height:70vh;
  max-width:1320px;
  margin:0 auto;
  padding:clamp(2rem,6vw,4.5rem) var(--pad) clamp(2.4rem,7vw,5rem);
  overflow:hidden;
}

.hero-ghost{
  position:absolute;
  top:2%;
  left:1%;
  z-index:0;
  font-family:var(--font-title);
  font-size:clamp(7rem,20vw,15rem);
  line-height:.8;
  letter-spacing:.06em;
  color:transparent;
  -webkit-text-stroke:1px rgba(201,162,39,.38);
  pointer-events:none;
  user-select:none;
}

.hero-copy{position:relative;z-index:2;text-align:center}
.hero-brand{
  margin:0 0 .9rem;
  color:var(--gold);
  font-size:1rem;
  letter-spacing:.36em;
  text-indent:.36em;
}
.hero h1{
  margin:0;
  font-family:var(--font-title);
  font-weight:400;
  font-size:clamp(2rem,5vw,3.5rem);
  line-height:1.18;
  letter-spacing:.07em;
  color:var(--mist);
  text-shadow:0 20px 60px rgba(0,0,0,.55);
}
.hero-rule{
  display:block;
  width:86px;
  height:1px;
  margin:1.5rem auto 0;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
}

.hero-media{position:relative;z-index:2}
.hero-fig{
  margin:0;
  border-radius:4px;
  overflow:hidden;
  border-bottom:3px solid var(--gold);
  aspect-ratio:3/4;
  max-height:64vh;
  background:linear-gradient(160deg,#153229,#08130F);
  box-shadow:0 30px 70px -40px #000;
}
.hero-fig img{display:block;width:100%;height:100%;object-fit:cover}
.hero-fig--blank{background:linear-gradient(150deg,#14302a,#0a1a15 60%,#08130F);opacity:.9}

/* 主体分栏 */
.spread{
  display:grid;
  grid-template-columns:minmax(0,1fr) 16.5rem;
  align-items:start;
  gap:clamp(1.4rem,3.5vw,3rem);
  max-width:1320px;
  margin:0 auto;
  padding:0 var(--pad) clamp(2.6rem,6vw,4.5rem);
}

.prose{min-width:0;font-size:1.0625rem}
.prose div{
  position:relative;
  padding:clamp(1.7rem,4vw,2.7rem) 0;
  border-bottom:1px solid var(--line);
  border-radius:4px;
  scroll-margin-top:8rem;
}
.prose div:first-child{padding-top:0}
.prose div:last-child{border-bottom:none}

.prose small{
  display:block;
  margin:0 0 .4rem;
  color:var(--gold);
  font-size:1rem;
  letter-spacing:.3em;
  line-height:1.6;
}
.prose h2{
  position:relative;
  margin:.1rem 0 1.05rem;
  padding-left:1.1rem;
  font-family:var(--font-title);
  font-weight:400;
  font-size:clamp(1.45rem,2.7vw,2rem);
  line-height:1.3;
  letter-spacing:.07em;
  color:var(--mist);
}
.prose h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.3em;
  width:2px;
  height:1.05em;
  background:var(--gold);
}
.prose h3{
  margin:1.6rem 0 .7rem;
  font-family:var(--font-title);
  font-weight:400;
  font-size:1.25rem;
  letter-spacing:.06em;
  color:var(--gold);
}
.prose p{margin:0 0 1.05em}
.prose strong{color:#FFF9EC;font-weight:400;border-bottom:1px solid rgba(201,162,39,.5)}
.prose ul,.prose ol{margin:0 0 1.1em;padding-left:1.35rem}
.prose li{margin-bottom:.45rem}
.prose li::marker{color:var(--gold)}
.prose blockquote{
  margin:1.3rem 0;
  padding:.7rem 1.15rem;
  border-left:2px solid var(--gold);
  background:rgba(201,162,39,.07);
  border-radius:4px;
}
.prose blockquote p:last-child{margin-bottom:0}
.prose img{max-width:100%;height:auto;border-radius:4px;border-bottom:2px solid var(--gold)}
.prose table{width:100%;border-collapse:collapse;margin:1.1rem 0;font-size:1rem}
.prose th,.prose td{padding:.55rem .6rem;border-bottom:1px solid var(--line);text-align:left}
.prose th{color:var(--gold);font-weight:400;letter-spacing:.08em}
.prose a{color:var(--gold);text-underline-offset:3px}
.prose hr{border:none;border-top:1px solid var(--line);margin:2rem 0}

/* 侧栏 */
.rail{position:sticky;top:7.5rem;align-self:start}
.rail-inner{
  padding:1.1rem 1rem 1.2rem;
  border:1px solid var(--line);
  border-bottom:3px solid var(--gold);
  border-radius:4px;
  background:rgba(8,19,15,.62);
}
.rail-kicker{
  display:block;
  font-size:1rem;
  letter-spacing:.3em;
  color:var(--gold);
  line-height:1.6;
}
.rail-title{
  margin:.1rem 0 .55rem;
  font-family:var(--font-title);
  font-weight:400;
  font-size:1.2rem;
  letter-spacing:.14em;
  color:var(--mist);
}
.rail-list{list-style:none;margin:0;padding:0}
.rail-list a{
  display:flex;
  align-items:baseline;
  gap:.55rem;
  min-height:40px;
  padding:.42rem .1rem;
  color:var(--mist);
  text-decoration:none;
  font-size:1rem;
  border-bottom:1px dotted rgba(237,230,214,.18);
  transition:color .2s,border-color .2s;
}
.rail-list li:last-child a{border-bottom:none}
.rail-num{font-family:var(--font-title);color:var(--gold);letter-spacing:.1em;flex:none}
.rail-list a:hover,.rail-list a.is-active{color:var(--gold);border-bottom-color:var(--gold)}

/* 页脚 */
.foot{
  margin-top:1.5rem;
  padding:clamp(1.9rem,5vw,3rem) var(--pad) 1.1rem;
  border-top:1px solid var(--line);
  background:rgba(8,19,15,.62);
}
.foot-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:clamp(1rem,3vw,2.2rem);
  max-width:1320px;
  margin:0 auto;
}
.foot-address{font-style:normal;display:flex;flex-direction:column;gap:.25rem}
.foot-brand{font-family:var(--font-title);font-size:1.2rem;letter-spacing:.16em;color:var(--mist)}
.foot-host{color:rgba(237,230,214,.6);font-size:1rem;letter-spacing:.06em;word-break:break-all}
.foot-col h3{margin:.15rem 0 .45rem;font-weight:400;font-size:1rem;letter-spacing:.28em;color:var(--gold)}
.foot-col ul{list-style:none;margin:0;padding:0}
.foot-col a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.3rem 0;
  color:var(--mist);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s,border-color .2s;
}
.foot-col a:hover{color:var(--gold);border-bottom-color:var(--gold)}
.to-top{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-top:.2rem;
  padding:.25rem .95rem;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--mist);
  text-decoration:none;
  transition:background .25s,color .25s,border-color .25s;
}
.to-top:hover{background:var(--gold);border-color:var(--gold);color:var(--deep)}

.foot-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  max-width:1320px;
  margin:1.6rem auto 0;
  padding-top:.85rem;
  border-top:1px solid var(--line);
}
.foot-bar p{margin:0;color:rgba(237,230,214,.58);font-size:1rem}
.foot-links{display:flex;gap:1.1rem;list-style:none;margin:0;padding:0}
.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:rgba(237,230,214,.72);
  text-decoration:none;
}
.foot-links a:hover{color:var(--gold)}

/* 揭示动效 */
.js [data-reveal]{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease;will-change:transform,opacity}
.js [data-reveal].is-in{opacity:1;transform:none}

@media (max-width:900px){
  .masthead-row{flex-wrap:wrap;gap:.4rem}
  .pill-nav{flex-basis:100%;justify-content:flex-start}
  .spread{grid-template-columns:1fr}
  .rail{position:static;order:2}
  .rail-inner{padding:.95rem 1rem}
  .rail-list{display:flex;flex-wrap:wrap;gap:.3rem .8rem}
  .rail-list a{border-bottom:none;padding:.35rem 0}
  .foot-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:720px){
  .hero{grid-template-columns:1fr;min-height:0;padding-top:clamp(1.6rem,7vw,2.4rem)}
  .hero-media{order:2}
  .hero-fig{aspect-ratio:4/3;max-height:none}
  .hero-ghost{font-size:clamp(6rem,26vw,9rem);top:0;left:50%;transform:translateX(-40%)}
  .ticker{letter-spacing:.18em;font-size:1rem}
}

@media (max-width:520px){
  .foot-grid{grid-template-columns:1fr}
  .foot-bar{justify-content:flex-start}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js [data-reveal]{opacity:1;transform:none;transition:none}
  .stage span{animation:none !important}
  .pill-nav a:hover{transform:none}
}

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