@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root{
  --ink:#1f1f1f;
  --paper:#ffffff;
  --mist:#f5f5f5;
  --line:#e4e4e4;
  --line-strong:#cfcfcf;
  --mute:#6d6d6d;
  --r:10px;
  --e1:0 1px 2px rgba(31,31,31,.05);
  --e2:0 6px 16px rgba(31,31,31,.08);
  --e3:0 14px 34px rgba(31,31,31,.11);
  --e4:0 26px 60px rgba(31,31,31,.15);
  --pad:clamp(1rem,4vw,2.5rem);
  --bar:8.5rem;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--mist)}
body{
  margin:0;
  font-family:"DM Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.68;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
a{color:inherit}
p{margin:0 0 .9rem}

/* 顶部：品牌独占一行，菜单独立一行 */
.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  box-shadow:var(--e1);
}
.brandrow{
  display:flex;
  align-items:center;
  padding:.7rem var(--pad) .45rem;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  text-decoration:none;
  color:var(--ink);
}
.brand-logo{width:30px;height:30px;border-radius:8px;object-fit:cover;border:1px solid var(--line)}
.brand-name{
  font-size:1.15rem;
  font-weight:700;
  letter-spacing:-.02em;
}
.menurow{
  padding:0 var(--pad) .45rem;
  overflow-x:auto;
  scrollbar-width:none;
}
.menurow::-webkit-scrollbar{display:none}
.menurow p{
  margin:0;
  display:flex;
  gap:.2rem;
  min-height:40px;
}
.menurow a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 .72rem;
  border-radius:999px;
  font-size:.95rem;
  white-space:nowrap;
  text-decoration:none;
  color:var(--mute);
  transition:background .2s ease,color .2s ease;
}
.menurow a:hover{background:var(--mist);color:var(--ink)}

/* 首屏 */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:clamp(1rem,3vw,2.25rem);
  min-height:70vh;
  padding:clamp(1.5rem,5vw,3.5rem) var(--pad);
  background:linear-gradient(205deg,var(--mist) 0%,#fafafa 55%,var(--paper) 100%);
  border-bottom:1px solid var(--line);
}
.hero-ghost{
  position:absolute;
  right:1.5vw;
  bottom:-.16em;
  z-index:0;
  margin:0;
  font-size:clamp(3.4rem,17vw,13rem);
  font-weight:700;
  line-height:.82;
  letter-spacing:-.05em;
  color:#eaeaea;
  white-space:nowrap;
  pointer-events:none;
  will-change:transform;
}
.hero-art{
  position:relative;
  z-index:1;
  height:min(56vh,420px);
  min-height:230px;
}
.hero-card{
  position:absolute;
  overflow:hidden;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:var(--mist);
  transition:transform .3s ease,box-shadow .3s ease;
  will-change:transform;
}
.hero-card.a{
  left:0;
  top:0;
  width:61%;
  height:75%;
  z-index:2;
  box-shadow:var(--e3);
  transform:rotate(-1.2deg);
}
.hero-card.b{
  right:0;
  bottom:0;
  width:57%;
  height:66%;
  z-index:3;
  box-shadow:var(--e4);
  transform:rotate(1.4deg);
}
.hero-card img{width:100%;height:100%;object-fit:cover;display:block}
.hero-card:hover{box-shadow:0 30px 66px rgba(31,31,31,.2)}
.blank{
  display:block;
  width:100%;
  height:100%;
  background:repeating-linear-gradient(135deg,#ededed,#ededed 9px,#f8f8f8 9px,#f8f8f8 18px);
}
.hero-copy{
  position:relative;
  z-index:2;
  text-align:right;
}
.hero-copy h1{
  margin:0 0 .7rem;
  font-size:clamp(1.9rem,4.4vw,3.3rem);
  line-height:1.16;
  letter-spacing:-.025em;
  font-weight:700;
}
.hero-sub{
  margin:0 0 0 auto;
  max-width:36ch;
  font-size:1rem;
  color:var(--mute);
}

/* 正文区：左内容 + 右栏 */
.stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) 19.5rem;
  align-items:start;
  gap:clamp(1rem,2.4vw,2rem);
  max-width:1180px;
  margin:0 auto;
  padding:clamp(1.5rem,4vw,3rem) var(--pad) 2.5rem;
}
.stage-body{grid-column:1;min-width:0}
.stage-body > section{
  position:relative;
  z-index:1;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:clamp(1.15rem,3vw,2rem);
  margin:0 0 1.25rem;
  scroll-margin-top:var(--bar);
  transition:transform .25s ease,border-color .25s ease;
}
.stage-body > section:nth-child(even){margin-left:clamp(0px,3vw,2.5rem)}
.stage-body > section:nth-child(odd){margin-right:clamp(0px,2vw,1.5rem)}
.stage-body > section:hover{transform:translateY(-3px);border-color:var(--line-strong)}
.stage-body > section:last-child{margin-bottom:0}

.stage-body h2{
  margin:0 0 .55rem;
  font-size:clamp(1.25rem,2.4vw,1.6rem);
  line-height:1.3;
  letter-spacing:-.015em;
}
.stage-body h3{
  margin:1.3rem 0 .5rem;
  font-size:1.1rem;
}
.stage-body h2 + hr,
.stage-body h3 + hr{
  border:0;
  height:2px;
  margin:0 0 1rem;
  background:linear-gradient(90deg,var(--ink),rgba(31,31,31,0));
}
.stage-body hr{
  border:0;
  height:1px;
  background:var(--line);
  margin:1.2rem 0;
}
.stage-body ul,
.stage-body ol{margin:0 0 1rem;padding-left:1.25rem}
.stage-body li{margin:0 0 .35rem}
.stage-body a{
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:var(--line-strong);
}
.stage-body a:hover{text-decoration-color:var(--ink)}
.stage-body img{border-radius:8px;display:block;margin:.6rem 0}
.stage-body blockquote{
  margin:1rem 0;
  padding:.75rem 1rem;
  background:var(--mist);
  border-left:3px solid var(--ink);
  border-radius:0 8px 8px 0;
}
.stage-body blockquote p:last-child{margin:0}
.stage-body strong{font-weight:700}

/* 右栏 */
.rail{
  grid-column:2;
  position:sticky;
  top:var(--bar);
  z-index:2;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:1rem 1.05rem 1.1rem;
  box-shadow:var(--e2);
}
.rail-t{
  margin:0 0 .5rem;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.02em;
}
.rail hr{
  border:0;
  height:1px;
  background:var(--line);
  margin:0 0 .55rem;
}
.rail ul{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.rail a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:0 .55rem;
  border-radius:8px;
  font-size:.95rem;
  text-decoration:none;
  color:var(--mute);
  transition:background .2s ease,color .2s ease,padding-left .2s ease;
}
.rail a:hover{background:var(--mist);color:var(--ink);padding-left:.8rem}

/* 右侧配图 */
.plate-fig{
  grid-column:2;
  position:relative;
  z-index:1;
  margin:1.25rem 0 0;
}
.plate{
  border-radius:var(--r);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--mist);
  box-shadow:var(--e3);
}
.plate img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;height:auto}
.plate-fig figcaption{
  margin-top:.45rem;
  font-size:.85rem;
  color:var(--mute);
  text-align:right;
}

/* 页脚 */
.foot{
  margin-top:2rem;
  padding:clamp(1.75rem,4vw,2.75rem) var(--pad) 1.25rem;
  background:var(--mist);
  border-top:1px solid var(--line);
}
.foot-wrap{max-width:1180px;margin:0 auto}
.foot-cols{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:clamp(1rem,3vw,2rem);
}
.foot-mark{
  margin:0;
  font-size:clamp(2.2rem,8.5vw,4.6rem);
  font-weight:700;
  line-height:.92;
  letter-spacing:-.045em;
  color:#dcdcdc;
}
.foot dl{margin:0}
.foot dt{
  font-size:.82rem;
  letter-spacing:.16em;
  color:var(--mute);
  margin:0 0 .35rem;
}
.foot dd{
  margin:0;
  font-size:.95rem;
  color:var(--ink);
}
.foot dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
  color:var(--ink);
}
.foot dd a:hover{text-decoration:underline;text-underline-offset:3px}
.foot dd.host{color:var(--mute);font-size:.88rem}
.foot-base{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:2rem;
  padding-top:1rem;
  border-top:1px solid var(--line);
  font-size:.86rem;
  color:var(--mute);
}
.foot-base .copy{margin:0}
.foot-links{margin:0;display:flex;gap:.9rem;flex-wrap:wrap}
.foot-links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--mute);
  text-decoration:none;
}
.foot-links a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* 窄屏 */
@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
    min-height:0;
    padding:1.1rem var(--pad) 1.6rem;
  }
  .hero-copy{order:-1;text-align:left}
  .hero-sub{margin:0;max-width:none}
  .hero-art{height:37vh;min-height:190px;margin-top:1.1rem}
  .stage{grid-template-columns:1fr}
  .stage-body,
  .rail,
  .plate-fig{grid-column:1}
  .rail{position:static;top:auto}
  .stage-body > section:nth-child(even),
  .stage-body > section:nth-child(odd){margin-left:0;margin-right:0}
  .foot-cols{grid-template-columns:1fr 1fr}
  .foot-mark{grid-column:1 / -1}
  .mark-col{grid-column:1 / -1}
}
@media (max-width:560px){
  .foot-cols{grid-template-columns:1fr}
  .foot-base{flex-direction:column;align-items:flex-start;gap:.25rem}
  .hero-ghost{font-size:clamp(2.6rem,15vw,6rem)}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,
  *::before,
  *::after{transition:none!important;animation:none!important}
  .hero-ghost,
  .hero-card{will-change:auto}
}

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