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

:root{
  --ink:#1f1726;
  --plum:#56228b;
  --clay:#8b4513;
  --sand:#f7f1e8;
  --sand-2:#efe4d7;
  --cream:#fbf7f1;
  --line:rgba(31,23,38,.16);
  --shadow:0 20px 44px -26px rgba(31,23,38,.55);
  --head:"Orbitron","Exo 2",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --body:"Exo 2",system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}

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

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

body{
  margin:0;
  font-family:var(--body);
  font-size:17px;
  line-height:1.75;
  color:var(--ink);
  overflow-x:hidden;
  background:
    radial-gradient(58% 46% at 10% -4%, rgba(86,34,139,.12), rgba(86,34,139,0) 70%),
    radial-gradient(52% 42% at 96% 22%, rgba(139,69,19,.13), rgba(139,69,19,0) 72%),
    radial-gradient(64% 48% at 50% 104%, rgba(86,34,139,.10), rgba(86,34,139,0) 72%),
    var(--sand);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:.42;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}

img{max-width:100%;display:block}
a{color:var(--plum)}

/* 顶栏 */
.topstack{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(247,241,232,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  max-width:1220px;
  margin:0 auto;
  padding:8px 20px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  min-height:44px;
  color:var(--plum);
  text-decoration:none;
  font-family:var(--head);
  font-weight:700;
  font-size:19px;
  letter-spacing:.07em;
}

.brand__mark{width:34px;height:34px;border-radius:12px;object-fit:cover}

.nav{min-width:0}
.nav__list{
  list-style:none;
  display:flex;
  gap:2px;
  margin:0;
  padding:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav__list::-webkit-scrollbar{display:none}
.nav__list a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  border-radius:14px;
  color:var(--ink);
  text-decoration:none;
  font-size:16px;
  white-space:nowrap;
}
.nav__list a:hover,
.nav__list a:focus-visible{background:rgba(86,34,139,.12);color:var(--plum)}

.subbar{
  border-top:1px dashed var(--line);
  overflow-x:auto;
  scrollbar-width:none;
}
.subbar::-webkit-scrollbar{display:none}
.subbar__row{
  display:flex;
  gap:8px;
  width:max-content;
  max-width:1220px;
  margin:0 auto;
  padding:8px 20px;
}
.chip{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 15px;
  border-radius:999px;
  background:var(--sand-2);
  color:var(--ink);
  font-size:16px;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease,color .2s ease;
}
.chip:hover,.chip:focus-visible{background:rgba(86,34,139,.18);color:var(--plum)}

/* 首屏 */
.hero{
  position:relative;
  overflow:hidden;
  min-height:100svh;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  align-items:center;
  gap:34px;
  padding:70px max(20px, calc((100% - 1220px)/2)) 80px;
  color:var(--cream);
  background:linear-gradient(148deg,#231037 0%,var(--plum) 46%,#6c3b1d 98%);
}

.hero::before{
  content:"";
  position:absolute;
  right:-12%;
  top:-16%;
  width:60vw;
  height:60vw;
  max-width:740px;
  max-height:740px;
  border-radius:52% 48% 62% 38% / 46% 56% 44% 54%;
  background:radial-gradient(circle at 42% 42%, rgba(251,247,241,.18), rgba(251,247,241,0) 68%);
  pointer-events:none;
}

.hero::after{
  content:"";
  position:absolute;
  left:6%;
  bottom:-12%;
  width:44vw;
  height:44vw;
  max-width:420px;
  max-height:420px;
  border-radius:60% 40% 46% 54% / 52% 60% 40% 48%;
  background:radial-gradient(circle at 50% 50%, rgba(139,69,19,.34), rgba(139,69,19,0) 70%);
  pointer-events:none;
}

.hero__ghost{
  position:absolute;
  left:0;
  top:9%;
  z-index:1;
  font-family:var(--head);
  font-weight:700;
  font-size:clamp(86px,23vw,300px);
  line-height:1;
  letter-spacing:.12em;
  color:rgba(251,247,241,.09);
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
}

.hero__text{position:relative;z-index:3;max-width:600px;text-align:left}

.hero__h1{
  margin:0 0 18px;
  font-family:var(--head);
  font-weight:600;
  font-size:clamp(30px,4.6vw,54px);
  line-height:1.24;
  letter-spacing:.02em;
}

.hero__lead{
  margin:0 0 28px;
  max-width:44ch;
  font-size:17px;
  line-height:1.8;
  color:rgba(251,247,241,.85);
}

.hero__cta{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:10px 28px;
  border-radius:999px;
  background:var(--cream);
  color:var(--plum);
  font-weight:600;
  text-decoration:none;
  box-shadow:0 22px 44px -24px rgba(0,0,0,.85);
  transition:transform .2s ease,background .2s ease;
}
.hero__cta:hover{background:#fff;transform:translateY(-2px)}

.hero__media{
  position:relative;
  z-index:3;
  width:100%;
  max-height:72svh;
  aspect-ratio:4/5;
  justify-self:end;
  margin:0;
  overflow:hidden;
  border-radius:46% 54% 42% 58% / 52% 44% 56% 48%;
  background:rgba(251,247,241,.1);
  box-shadow:0 36px 78px -38px rgba(0,0,0,.9);
}
.hero__img{width:100%;height:100%;object-fit:cover}

/* 主体 */
.main{max-width:1220px;margin:0 auto;padding:58px 20px 84px}

.stage{
  display:grid;
  grid-template-columns:228px minmax(0,1fr);
  gap:30px 44px;
  align-items:start;
}

.rail{
  grid-column:1;
  grid-row:1 / span 2;
  position:sticky;
  top:132px;
}

.rail__ttl{
  display:flex;
  align-items:center;
  margin:0 0 14px;
  font-family:var(--head);
  font-size:15px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--clay);
}
.rail__ttl > span{position:relative;padding-left:22px}
.rail__ttl > span::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:13px;
  height:13px;
  transform:translateY(-50%);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
  background:linear-gradient(140deg,var(--plum),var(--clay));
}

.rail__list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
  padding:0;
}
.rail__list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:6px 13px;
  border-left:2px solid transparent;
  border-radius:4px 16px 16px 4px;
  color:var(--ink);
  text-decoration:none;
  font-size:16px;
  transition:background .2s ease,color .2s ease;
}
.rail__list a:hover{background:rgba(86,34,139,.09);color:var(--plum)}
.rail__list a.is-active{
  background:rgba(86,34,139,.13);
  border-left-color:var(--plum);
  color:var(--plum);
}

.plate{
  grid-column:2;
  grid-row:1;
  position:relative;
  margin:0;
  min-height:130px;
  overflow:hidden;
  border-radius:22px 36px 24px 32px;
  background:linear-gradient(135deg,rgba(86,34,139,.9),rgba(139,69,19,.85));
  box-shadow:var(--shadow);
}
.plate__img{width:100%;height:clamp(180px,26vw,300px);object-fit:cover}
.plate__ttl{
  position:absolute;
  left:20px;
  bottom:14px;
  margin:0;
  font-family:var(--head);
  font-size:clamp(20px,3vw,34px);
  font-weight:600;
  letter-spacing:.12em;
  color:var(--cream);
  text-shadow:0 8px 24px rgba(0,0,0,.7);
}

.stream{grid-column:2;grid-row:2;min-width:0;max-width:74ch}
.stream > section[id]{
  scroll-margin-top:158px;
  padding:34px 0;
  border-bottom:1px solid var(--line);
}
.stream > section[id]:last-child{border-bottom:0;padding-bottom:0}

.stream h2{
  position:relative;
  margin:0 0 16px;
  padding-left:28px;
  font-family:var(--head);
  font-weight:600;
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.34;
}
.stream h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.44em;
  width:15px;
  height:15px;
  border-radius:58% 42% 52% 48% / 48% 58% 42% 52%;
  background:linear-gradient(140deg,var(--plum),var(--clay));
}

.stream h3{
  margin:26px 0 10px;
  font-size:19px;
  font-weight:600;
  color:var(--clay);
}

.stream p{margin:0 0 16px}
.stream ul,.stream ol{margin:0 0 18px;padding-left:22px}
.stream li{margin:0 0 8px}
.stream a{color:var(--plum);text-decoration:underline;text-underline-offset:3px}
.stream img{margin:12px 0;border-radius:18px 26px 18px 24px}
.stream figure{margin:20px 0}
.stream blockquote{
  margin:22px 0;
  padding:16px 22px;
  border-left:4px solid var(--clay);
  border-radius:6px 24px 24px 6px;
  background:var(--sand-2);
}
.stream blockquote p:last-child{margin:0}

/* 页脚 */
.foot{
  margin-top:22px;
  padding:58px 0 26px;
  background:var(--ink);
  color:rgba(247,241,232,.74);
}

.foot__cols{
  display:grid;
  grid-template-columns:1.35fr repeat(3,minmax(0,1fr));
  gap:34px 26px;
  align-items:start;
  max-width:1220px;
  margin:0 auto;
  padding:0 20px;
}

.foot__brand{
  display:block;
  font-family:var(--head);
  font-weight:700;
  font-size:clamp(36px,6.6vw,84px);
  line-height:.96;
  letter-spacing:.05em;
  color:rgba(247,241,232,.32);
  text-decoration:none;
  word-break:break-all;
}
.foot__brand:hover{color:rgba(247,241,232,.55)}

.foot dl{margin:0}
.foot dt{
  margin:0 0 12px;
  font-family:var(--head);
  font-size:14px;
  letter-spacing:.18em;
  color:rgba(247,241,232,.48);
}
.foot dd{margin:0}
.foot dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:4px 0;
  color:rgba(247,241,232,.86);
  text-decoration:none;
}
.foot dd a:hover{color:#fff;text-decoration:underline}

.foot__end{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:14px;
  max-width:1220px;
  margin:36px auto 0;
  padding:16px 20px 0;
  border-top:1px solid rgba(247,241,232,.16);
  font-size:16px;
}
.foot__end p{margin:0}
.foot__end a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:rgba(247,241,232,.86);
  text-decoration:none;
}
.foot__end a:hover{color:#fff;text-decoration:underline}

/* 入场 */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .reveal{
      animation:rise .8s linear both;
      animation-timeline:view();
      animation-range:entry 6% cover 26%;
    }
  }
  .pending{
    opacity:0;
    transform:translateY(20px);
    transition:opacity .6s ease,transform .6s ease;
  }
  .pending.in{opacity:1;transform:none}
  .hero__text,.hero__media{animation:rise .9s ease both}
  .hero__media{animation-delay:.12s}
}

@keyframes rise{
  from{opacity:0;transform:translateY(22px)}
  to{opacity:1;transform:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* 中屏 */
@media (max-width:1020px){
  .hero{grid-template-columns:1fr;min-height:auto;padding:48px 24px 60px;gap:28px}
  .hero__media{justify-self:stretch;max-height:none;aspect-ratio:16/11}
  .hero__ghost{top:4%;font-size:clamp(70px,20vw,180px)}
  .stage{grid-template-columns:190px minmax(0,1fr);gap:26px 30px}
  .foot__cols{grid-template-columns:1fr 1fr}
  .foot__brand{grid-column:1 / -1;margin-bottom:8px}
}

/* 移动端 */
@media (max-width:760px){
  body{font-size:17px}
  .topbar{padding:6px 16px;gap:10px}
  .brand{font-size:17px}
  .subbar__row{padding:8px 16px}
  .hero{padding:40px 18px 52px}
  .hero__lead{max-width:none}
  .main{padding:38px 18px 62px}
  .stage{grid-template-columns:minmax(0,1fr);gap:22px}
  .rail{grid-column:1;grid-row:1;position:static}
  .rail__list{flex-direction:row;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .rail__list::-webkit-scrollbar{display:none}
  .rail__list a{
    min-height:42px;
    padding:6px 14px;
    border-left:0;
    border-radius:999px;
    background:var(--sand-2);
    white-space:nowrap;
  }
  .rail__list a.is-active{background:rgba(86,34,139,.2)}
  .plate{grid-column:1;grid-row:2}
  .stream{grid-column:1;grid-row:3;max-width:none}
  .stream > div[id]{scroll-margin-top:140px;padding:28px 0}
  .foot{padding:44px 0 20px}
  .foot__cols{gap:26px 18px}
  .foot__end{padding:14px 18px 0}
}

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