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

:root{
  --ink:#1f1f1f;
  --paper:#ffffff;
  --mist:#f5f5f5;
  --line:rgba(31,31,31,.10);
  --glass:rgba(255,255,255,.70);
  --el1:0 1px 2px rgba(31,31,31,.06), 0 2px 8px rgba(31,31,31,.05);
  --el2:0 4px 12px rgba(31,31,31,.08), 0 12px 28px rgba(31,31,31,.07);
  --el3:0 10px 28px rgba(31,31,31,.12), 0 26px 56px rgba(31,31,31,.10);
  --el4:0 18px 48px rgba(31,31,31,.20), 0 44px 96px rgba(31,31,31,.16);
  --r:28px;
  --rail:172px;
  --bar:38px;
  --gutter:clamp(16px,4vw,56px);
  --serif:'Cormorant', Georgia, 'Songti SC', 'SimSun', serif;
  --sans:'Montserrat', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

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

body{
  margin:0;
  padding-left:var(--rail);
  padding-top:var(--bar);
  min-height:100vh;
  overflow-x:hidden;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  color:var(--ink);
  background:
    radial-gradient(1100px 520px at 82% -8%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #f5f5f5 0%, #ffffff 420px, #f5f5f5 100%);
  background-attachment:fixed;
}

h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:600;
  line-height:1.2;
  letter-spacing:.012em;
  margin:0 0 .6em;
}

p{ margin:0 0 1.1em; }

menu{ margin:0; padding:0; list-style:none; }
ul{ margin:0; padding:0; }

img{ max-width:100%; height:auto; }

/* ---------- 顶部细条 ---------- */
.announce{
  position:fixed;
  inset:0 0 auto 0;
  height:var(--bar);
  z-index:80;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 16px;
  font-size:12px;
  letter-spacing:.2em;
  color:#6b6b6b;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.announce-brand{ flex:none; font-weight:600; color:var(--ink); }
.ticker{
  flex:1;
  min-width:0;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
}
.ticker-track{
  display:flex;
  gap:26px;
  width:max-content;
  white-space:nowrap;
  animation:ticker 36s linear infinite;
}
@keyframes ticker{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ---------- 左侧竖排导航 ---------- */
.rail{
  position:fixed;
  top:var(--bar);
  bottom:0;
  left:0;
  width:var(--rail);
  z-index:70;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  padding:20px 12px 24px;
  overflow-y:auto;
  background:rgba(255,255,255,.68);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border-right:1px solid var(--line);
  box-shadow:12px 0 36px -28px rgba(31,31,31,.6);
}

.brand{
  flex:none;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#fff;
  box-shadow:var(--el2);
  text-decoration:none;
  transition:transform .35s ease, box-shadow .35s ease;
}
.brand:hover{ transform:translateY(-3px); box-shadow:var(--el3); }
.brand-mark{
  width:26px;
  height:26px;
  border-radius:50%;
  background:linear-gradient(140deg,#1f1f1f 0%,#4d4d4d 100%);
  box-shadow:inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(255,255,255,.6);
}

.nav-details{ width:100%; }
.nav-details summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:11px 12px;
  border-radius:14px;
  font-size:13px;
  letter-spacing:.16em;
  color:var(--ink);
  background:rgba(255,255,255,.92);
  box-shadow:var(--el1);
  transition:box-shadow .3s ease, background .3s ease;
}
.nav-details summary::-webkit-details-marker{ display:none; }
.nav-details summary::marker{ content:''; }
.nav-details summary:hover{ box-shadow:var(--el2); background:#fff; }
.bars{
  width:14px;
  height:11px;
  flex:none;
  background:
    linear-gradient(var(--ink),var(--ink)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 0 4.5px/100% 2px no-repeat,
    linear-gradient(var(--ink),var(--ink)) 0 9px/100% 2px no-repeat;
}
.nav-details[open] .bars{
  background:
    linear-gradient(var(--ink),var(--ink)) 0 4.5px/100% 2px no-repeat;
}

.nav-details menu{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.nav-details menu a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:10px 12px;
  border-radius:14px;
  font-size:14px;
  line-height:1.35;
  color:#3a3a3a;
  text-decoration:none;
  background:rgba(255,255,255,.5);
  border:1px solid transparent;
  transition:background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.nav-details menu a:hover{
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--el2);
  transform:translateX(3px);
  color:var(--ink);
}
.ico{
  width:6px;
  height:6px;
  flex:none;
  border-radius:50%;
  background:#c9c9c9;
  transition:background .3s ease, box-shadow .3s ease;
}
.nav-details menu a:hover .ico{ background:var(--ink); box-shadow:0 0 0 4px rgba(31,31,31,.09); }

/* ---------- 主区骨架 ---------- */
.layout{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:clamp(18px,2.6vw,40px);
  align-items:start;
  max-width:1580px;
  margin:0 auto;
  padding:26px var(--gutter) 0 clamp(14px,2.2vw,34px);
}

main{ min-width:0; }
article{
  display:flex;
  flex-direction:column;
  gap:clamp(18px,2.4vw,30px);
  counter-reset:sec;
  padding-bottom:8px;
}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:calc(var(--bar) + 22px);
  padding:22px 18px 24px;
  border-radius:var(--r);
  background:var(--glass);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:var(--el3);
  z-index:4;
}
.kicker{
  display:block;
  font-size:12px;
  letter-spacing:.28em;
  color:#9a9a9a;
  margin-bottom:4px;
}
.side-title{
  font-size:1.55rem;
  margin:0 0 14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}
.side-list{ display:flex; flex-direction:column; gap:3px; list-style:none; }
.side-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 10px;
  border-radius:12px;
  font-size:14px;
  line-height:1.4;
  color:#4a4a4a;
  text-decoration:none;
  transition:background .3s ease, color .3s ease, box-shadow .3s ease;
}
.side-list a::before{
  content:'';
  width:5px;
  height:5px;
  flex:none;
  border-radius:50%;
  background:#cfcfcf;
}
.side-list a:hover{
  background:#fff;
  color:var(--ink);
  box-shadow:var(--el1);
}
.side-list a:hover::before{ background:var(--ink); }

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  z-index:1;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:calc(100svh - var(--bar));
  margin-right:calc(var(--gutter) * -1);
  border-radius:0 0 0 var(--r);
  overflow:hidden;
  box-shadow:var(--el4);
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  background:
    radial-gradient(720px 420px at 78% 18%, #5a5a5a 0%, rgba(90,90,90,0) 64%),
    linear-gradient(128deg,#101010 0%,#242424 52%,#3c3c3c 100%);
}
.hero-img{
  position:absolute;
  inset:-9% 0 auto 0;
  width:100%;
  height:118%;
  object-fit:cover;
  will-change:transform;
  transform:translate3d(0,0,0) scale(1.02);
}
.hero-veil{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(104deg, rgba(12,12,12,.9) 0%, rgba(18,18,18,.66) 44%, rgba(18,18,18,.24) 100%);
  backdrop-filter:saturate(120%);
}
.hero-copy{
  position:relative;
  z-index:3;
  max-width:760px;
  padding:clamp(64px,13vh,150px) clamp(20px,4.6vw,68px) clamp(96px,15vh,168px);
  color:#fff;
}
.hero h1{
  font-size:clamp(2.3rem,5.8vw,4.5rem);
  line-height:1.1;
  letter-spacing:.008em;
  margin:0 0 .5em;
  text-shadow:0 10px 40px rgba(0,0,0,.45);
}
.hero-lead{
  font-size:clamp(1rem,1.5vw,1.12rem);
  line-height:1.85;
  color:rgba(255,255,255,.86);
  max-width:44ch;
  margin-bottom:2em;
}
.hero-cta{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0 28px;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-size:15px;
  font-weight:600;
  letter-spacing:.08em;
  text-decoration:none;
  box-shadow:var(--el4);
  transition:transform .35s ease, box-shadow .35s ease;
}
.hero-cta:hover{ transform:translateY(-3px); box-shadow:0 26px 60px rgba(0,0,0,.45); }
.hero-slant{
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:clamp(56px,9vw,104px);
  z-index:2;
  background:linear-gradient(90deg,#f5f5f5,#e9e9e9);
  clip-path:polygon(0 100%, 100% 18%, 100% 100%);
}

/* ---------- 正文卡片 ---------- */
article > section{
  position:relative;
  z-index:2;
  background:var(--glass);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  border:1px solid rgba(255,255,255,.92);
  border-radius:var(--r);
  box-shadow:var(--el2);
  padding:clamp(26px,4vw,58px);
  overflow-x:auto;
  transition:box-shadow .45s ease, transform .45s ease;
}
article > section:not(.hero):hover{ box-shadow:var(--el3); }
article > section.hero + section{ margin-top:calc(clamp(18px,2.4vw,30px) * -1 - 48px); }

article > section:not(.hero)::before{
  counter-increment:sec;
  content:counter(sec, decimal-leading-zero);
  position:absolute;
  top:10px;
  right:20px;
  font-family:var(--serif);
  font-size:clamp(2.6rem,6vw,4.2rem);
  line-height:1;
  color:rgba(31,31,31,.07);
  pointer-events:none;
}

article section h2{
  font-size:clamp(1.65rem,3.3vw,2.5rem);
  margin:.1em 0 .7em;
  max-width:24ch;
}
article section h3{
  font-size:clamp(1.15rem,1.9vw,1.4rem);
  margin:1.5em 0 .55em;
}
article section p,
article section li{ max-width:66ch; }
article section ul,
article section ol{ padding-left:1.25em; margin:0 0 1.2em; }
article section li{ margin:.45em 0; }
article section a{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:background .25s ease;
}
article section a:hover{ background:#ececec; }
article section strong{ font-weight:600; box-shadow:inset 0 -.42em 0 #ececec; }
article section blockquote{
  margin:1.4em 0;
  padding:16px 22px;
  background:#fff;
  border-left:3px solid var(--ink);
  border-radius:0 18px 18px 0;
  box-shadow:var(--el1);
}
article section blockquote p:last-child{ margin-bottom:0; }
article section figure{ margin:1.5em 0; }
article section img{ border-radius:18px; box-shadow:var(--el2); }
article section figcaption{ font-size:13px; color:#7c7c7c; margin-top:8px; }
article section table{ width:100%; border-collapse:collapse; font-size:.95em; margin:1.2em 0; }
article section th,
article section td{ text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); }
article section code{ font-size:.92em; background:#efefef; padding:2px 6px; border-radius:6px; }

article section{ scroll-margin-top:calc(var(--bar) + 28px); }

/* ---------- 页脚 ---------- */
.foot{
  position:relative;
  z-index:5;
  margin-top:clamp(44px,7vw,86px);
  padding:clamp(40px,6vw,76px) var(--gutter) 0;
  background:linear-gradient(180deg,#1f1f1f 0%,#151515 100%);
  color:#f5f5f5;
  box-shadow:0 -24px 60px -36px rgba(31,31,31,.8);
}
.foot-inner{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.2fr;
  gap:clamp(20px,3vw,40px);
  max-width:1240px;
}
.foot address{
  font-style:normal;
  font-family:var(--serif);
  font-size:clamp(1.5rem,2.6vw,2rem);
  line-height:1.25;
  letter-spacing:.02em;
}
.foot ul{ list-style:none; display:flex; flex-direction:column; gap:2px; }
.foot a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 0;
  font-size:14px;
  color:rgba(245,245,245,.78);
  text-decoration:none;
  transition:color .25s ease, transform .25s ease;
}
.foot a:hover{ color:#fff; transform:translateX(3px); }

.sub{ display:flex; flex-wrap:wrap; gap:8px; }
.sub input{
  flex:1 1 130px;
  min-width:0;
  min-height:44px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.26);
  background:rgba(255,255,255,.07);
  color:#fff;
  font-family:inherit;
  font-size:15px;
}
.sub input::placeholder{ color:rgba(255,255,255,.5); }
.sub button{
  min-height:44px;
  padding:0 20px;
  border:0;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  letter-spacing:.1em;
  cursor:pointer;
  box-shadow:var(--el2);
  transition:transform .25s ease;
}
.sub button:hover{ transform:translateY(-2px); }

.foot-base{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  max-width:1240px;
  margin-top:clamp(28px,4vw,46px);
  padding:16px 0 28px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:13px;
  color:rgba(245,245,245,.62);
}
.foot-base p{ margin:0; }
.foot-mini{ display:flex !important; flex-direction:row !important; gap:18px; list-style:none; }

/* ---------- 回到顶部 ---------- */
.to-top{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:90;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  font-size:13px;
  letter-spacing:.08em;
  color:var(--ink);
  text-decoration:none;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--el3);
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .35s ease, transform .35s ease;
}
.to-top.on{ opacity:1; transform:none; pointer-events:auto; }

/* ---------- 滚动显现 ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s cubic-bezier(.22,.72,.3,1); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- 窄屏 ---------- */
@media (max-width:899px){
  body{ padding-left:0; padding-top:calc(var(--bar) + 56px); }
  .rail{
    top:var(--bar);
    right:0;
    bottom:auto;
    width:auto;
    height:56px;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:0 14px;
    overflow:visible;
    border-right:0;
    border-bottom:1px solid var(--line);
    box-shadow:0 10px 30px -24px rgba(31,31,31,.7);
  }
  .brand{ width:42px; height:42px; }
  .brand-mark{ width:20px; height:20px; box-shadow:inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(255,255,255,.6); }
  .nav-details{ width:auto; }
  .nav-details summary{ min-height:42px; padding:10px 14px; }
  .nav-details menu{
    position:absolute;
    top:calc(100% + 8px);
    left:10px;
    right:10px;
    margin-top:0;
    padding:10px;
    border-radius:18px;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    box-shadow:var(--el4);
  }
  .layout{
    display:flex;
    flex-direction:column;
    gap:22px;
    padding:20px var(--gutter) 0 16px;
  }
  main{ order:1; }
  .side{ order:2; position:static; top:auto; }
  .hero{
    margin-right:calc(var(--gutter) * -1);
    margin-left:0;
    margin-top:-20px;
    border-radius:0 0 var(--r) 0;
    min-height:calc(100svh - var(--bar) - 56px);
  }
  .hero-copy{ padding:clamp(48px,10vh,90px) 18px clamp(78px,12vh,120px); }
  article{ gap:20px; }
  article > section.hero + section{ margin-top:-40px; }
  article section{ scroll-margin-top:calc(var(--bar) + 76px); }
  .foot-inner{ grid-template-columns:1fr 1fr; }
  .foot-id{ grid-column:1 / -1; }
  .to-top{ bottom:14px; right:14px; }
}

@media (max-width:560px){
  .foot-inner{ grid-template-columns:1fr; }
  .foot-base{ justify-content:flex-start; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .ticker-track{ animation:none; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .hero-img{ transform:none; }
  .brand:hover,.hero-cta:hover,.nav-details menu a:hover{ transform:none; }
}

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