:root{
  --ink:#000;
  --paper:#fff;
  --soft:#5f5f5f;
  --rule:#d9d9d9;
  --wash:#f3f3f3;
  --pad:clamp(18px,5vw,64px);
  --max:1180px;
  --head-h:76px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI','Noto Sans SC','PingFang SC',sans-serif;
  font-size:17px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%}
a{color:inherit}

/* ---------- 页头 ---------- */
.site-head{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--paper);
  border-bottom:1px solid var(--ink);
}
.bar{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 var(--pad);
  min-height:var(--head-h);
}
.head-nav{flex:1 1 0;min-width:0}
.head-nav p{
  margin:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0 2px;
}
.head-nav-left p{justify-content:flex-start}
.head-nav-right p{justify-content:flex-end}
.head-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 9px;
  font-size:16px;
  font-weight:400;
  letter-spacing:-.01em;
  color:var(--ink);
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.head-nav a::before{
  content:'';
  width:5px;
  height:5px;
  margin-right:7px;
  background:currentColor;
  transform:rotate(45deg);
  flex:0 0 auto;
}
.head-nav a:hover{border-bottom-color:var(--ink)}
.brand{
  flex:0 0 auto;
  font-size:22px;
  font-weight:700;
  letter-spacing:.3em;
  text-indent:.3em;
  text-decoration:none;
  color:var(--ink);
  white-space:nowrap;
}
.head-right{
  flex:1 1 0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
}
.head-contact{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  font-size:16px;
  text-decoration:none;
  border:1px solid var(--ink);
  border-radius:4px;
  white-space:nowrap;
}
.head-contact:hover{background:var(--ink);color:var(--paper)}
.menu-btn{
  display:none;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  font:inherit;
  font-size:16px;
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--ink);
  border-radius:4px;
  cursor:pointer;
}
.menu-btn:hover{background:var(--ink);color:var(--paper)}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(34px,7vw,84px) var(--pad) clamp(72px,12vw,132px);
  min-height:calc(100svh - var(--head-h));
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:clamp(24px,5vw,60px);
  align-items:center;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:clamp(26px,5vw,62px);
  background:var(--ink);
  clip-path:polygon(0 100%,100% 0,100% 100%);
}
.hero-text{position:relative;z-index:1;text-align:center}
.kicker{
  margin:0 0 18px;
  font-size:16px;
  font-weight:500;
  letter-spacing:.42em;
  text-indent:.42em;
}
h1{
  margin:0;
  font-size:clamp(2.05rem,5.4vw,4.5rem);
  line-height:1.04;
  font-weight:200;
  letter-spacing:-.035em;
}
.lead{
  margin:22px auto 0;
  max-width:34ch;
  font-size:17px;
  line-height:1.72;
  color:#333;
}
.hero-fig{
  position:relative;
  z-index:1;
  margin:0;
  border:1px solid var(--ink);
  border-radius:4px;
  overflow:hidden;
  aspect-ratio:4 / 5;
  background:var(--wash);
}
.hero-fig img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.18);
  will-change:transform;
}
.hero-fig figcaption{
  position:absolute;
  left:0;
  bottom:0;
  padding:9px 14px;
  background:var(--ink);
  color:var(--paper);
  font-size:16px;
  letter-spacing:.3em;
}

/* ---------- 主体与栏位 ---------- */
.stage{
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(38px,7vw,78px) var(--pad);
  display:grid;
  grid-template-columns:minmax(0,1fr) 246px;
  gap:clamp(24px,5vw,60px);
  align-items:start;
}
.prose{min-width:0}
.rail{
  position:sticky;
  top:calc(var(--head-h) + 22px);
  border:1px solid var(--ink);
  border-radius:4px;
  padding:18px 16px 8px;
}
.rail-title{
  margin:0;
  font-size:16px;
  font-weight:600;
  letter-spacing:.34em;
}
.subtitle{
  margin:6px 0 14px;
  font-size:16px;
  font-weight:400;
  color:var(--soft);
  letter-spacing:.2em;
}
.rail ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.rail li a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 2px;
  font-size:16px;
  text-decoration:none;
  border-bottom:1px solid var(--rule);
}
.rail li a:hover{background:var(--ink);color:var(--paper);padding-left:8px}

/* ---------- 正文 ---------- */
.prose div{
  padding:34px 0;
  border-top:1px solid var(--rule);
  scroll-margin-top:calc(var(--head-h) + 24px);
}
.prose div:first-child{border-top:0;padding-top:0}
.prose h2{
  margin:0 0 14px;
  font-size:clamp(1.5rem,3.1vw,2.15rem);
  line-height:1.16;
  font-weight:300;
  letter-spacing:-.022em;
}
.prose h3{
  margin:26px 0 8px;
  font-size:1.15rem;
  font-weight:600;
  letter-spacing:-.01em;
}
.prose p{margin:0 0 1.05em;font-size:17px;line-height:1.78}
.prose p:last-child{margin-bottom:0}
.prose div:first-child > p:first-of-type::first-letter{
  float:left;
  font-size:3.5em;
  line-height:.84;
  padding:8px 10px 0 0;
  font-weight:500;
}
.prose ul,.prose ol{margin:0 0 1.05em;padding-left:1.25em}
.prose li{margin:.36em 0;line-height:1.72}
.prose a{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.prose a:hover{background:var(--ink);color:var(--paper);text-decoration:none}
.prose blockquote{
  margin:26px 0;
  padding:14px 0 14px 22px;
  border-left:4px solid var(--ink);
  font-size:1.12rem;
  font-weight:300;
  line-height:1.6;
  letter-spacing:-.01em;
}
.prose blockquote p{margin:0 0 .5em}
.prose blockquote p:last-child{margin:0}
.prose figure{
  margin:24px 0;
  padding:8px;
  border:1px solid var(--ink);
  border-radius:4px;
}
.prose figure img{display:block;width:100%;height:auto;border-radius:2px;background:var(--wash)}
.prose figcaption{padding-top:8px;font-size:16px;color:var(--soft);line-height:1.55}
.prose aside{
  margin:24px 0;
  padding:16px 18px;
  border:1px solid var(--ink);
  border-radius:4px;
  background:var(--wash);
}
.prose table{width:100%;border-collapse:collapse;margin:20px 0;font-size:16px}
.prose th,.prose td{border:1px solid var(--rule);padding:10px 12px;text-align:left}
.prose th{background:var(--wash);font-weight:600}
.prose pre{
  overflow-x:auto;
  margin:20px 0;
  padding:14px 16px;
  border:1px solid var(--ink);
  border-radius:4px;
  background:var(--wash);
  font-size:16px;
  line-height:1.6;
}
.prose code{font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;font-size:.94em}
.prose hr{border:0;border-top:1px solid var(--rule);margin:26px 0}

/* ---------- 页脚 ---------- */
.site-foot{margin-top:clamp(38px,7vw,80px);border-top:2px solid var(--ink)}
.foot-cta{background:var(--ink);color:var(--paper);padding:clamp(38px,7vw,84px) var(--pad)}
.foot-cta-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.foot-brand{
  margin:0;
  font-size:clamp(2rem,6vw,4.2rem);
  font-weight:200;
  line-height:1;
  letter-spacing:.18em;
  text-indent:.18em;
}
.foot-cta-link{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:0 22px;
  font-size:16px;
  letter-spacing:.12em;
  color:var(--paper);
  text-decoration:none;
  border:1px solid var(--paper);
  border-radius:4px;
}
.foot-cta-link:hover{background:var(--paper);color:var(--ink)}
.foot-grid{
  max-width:var(--max);
  margin:0 auto;
  padding:clamp(28px,6vw,54px) var(--pad);
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:clamp(20px,4vw,46px);
}
.foot-addr{font-style:normal;display:flex;flex-direction:column;gap:6px}
.addr-brand{font-size:18px;font-weight:600;letter-spacing:.26em}
.addr-host{font-size:16px;color:var(--soft);word-break:break-all}
.foot-col{list-style:none;margin:0;padding:0}
.foot-col li a{
  display:flex;
  align-items:center;
  min-height:42px;
  font-size:16px;
  text-decoration:none;
  border-bottom:1px solid var(--rule);
}
.foot-col li a:hover{background:var(--ink);color:var(--paper);padding-left:6px}
.foot-bottom{border-top:1px solid var(--rule)}
.foot-bottom-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:12px var(--pad) 26px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.foot-bottom p{margin:0;font-size:16px;letter-spacing:.06em}
.top-link{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 14px;
  font-size:16px;
  text-decoration:none;
  border:1px solid var(--ink);
  border-radius:4px;
}
.top-link:hover{background:var(--ink);color:var(--paper)}

/* ---------- 动效 ---------- */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .62s ease,transform .62s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .head-nav a{padding:0 7px}
  .head-contact{padding:0 11px}
}
@media (max-width:980px){
  :root{--head-h:66px}
  .hero{grid-template-columns:1fr;min-height:0;padding-top:clamp(28px,7vw,56px)}
  .hero-fig{aspect-ratio:16 / 10}
  .stage{grid-template-columns:1fr}
  .rail{position:static}
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-addr{grid-column:1 / -1}
}
@media (max-width:760px){
  :root{--head-h:62px}
  .bar{flex-wrap:wrap;padding-top:6px;padding-bottom:6px;row-gap:4px}
  .head-nav{display:none;flex:1 1 100%;width:100%}
  .head-nav p{justify-content:flex-start}
  .head-nav-left{order:3}
  .head-nav-right{order:4}
  .site-head.open .head-nav{display:block}
  .brand{justify-self:start;font-size:19px;margin-right:auto}
  .menu-btn{display:inline-flex}
  .head-right{flex:0 0 auto}
  .foot-grid{grid-template-columns:1fr}
  .foot-brand{letter-spacing:.12em}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .hero-fig img{transform:none}
}

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