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

*,*::before,*::after{box-sizing:border-box}
:root{
  --paper:#F5F1E8;
  --ink:#111111;
  --red:#FF4D2E;
  --rail:15.5rem;
  --serif:"Playfair Display","Songti SC","Noto Serif SC",Georgia,serif;
  --sans:Inter,system-ui,-apple-system,"PingFang SC","Noto Sans SC",sans-serif;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;padding-left:var(--rail);
  background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:1.0625rem;line-height:1.7;font-weight:400;
  overflow-wrap:break-word;
}

/* ---------- 左侧固定竖排导航 ---------- */
.rail{
  position:fixed;top:0;bottom:0;left:0;width:var(--rail);
  display:flex;flex-direction:column;justify-content:center;gap:1.15rem;
  padding:1.5rem 1.15rem;border-right:2px solid var(--ink);
  background:var(--paper);z-index:30;
}
.rail-nav{display:contents}
.rail-nav p{margin:0;display:flex;flex-direction:column;gap:.1rem}
.rail-a{order:1}
.brand{order:2}
.rail-b{order:3}
.rail-contact{order:4}
.rail-nav a{
  display:flex;align-items:center;min-height:42px;
  padding:.55rem .6rem;border-radius:3px;border-left:3px solid transparent;
  color:var(--ink);text-decoration:none;font-size:.94rem;font-weight:600;line-height:1.35;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.rail-nav a:hover,.rail-nav a:focus-visible{background:var(--ink);color:var(--paper);border-left-color:var(--red)}
.brand{
  display:flex;align-items:center;gap:.6rem;
  padding:.9rem 0;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink);
  color:var(--ink);text-decoration:none;
  font-family:var(--serif);font-weight:700;font-size:1.12rem;line-height:1.15;letter-spacing:.01em;
}
.brand-mark{flex:none;width:36px;height:36px;object-fit:cover;border:2px solid var(--ink);border-radius:2px}
.brand-name{display:block}
.rail-contact{margin:0;display:flex;flex-direction:column;gap:.15rem;font-size:.78rem;line-height:1.4}
.rail-contact .lbl{color:var(--red);font-weight:700;letter-spacing:.24em;font-size:.7rem}
.rail-contact b{font-weight:500;word-break:break-all;color:#4a463f}

/* ---------- 主区 ---------- */
main{padding:2rem clamp(1rem,3.5vw,3rem) 0;max-width:1180px}
.wrap{display:grid;grid-template-columns:14rem minmax(0,1fr);gap:clamp(1.5rem,3vw,3rem);align-items:start}
.col{min-width:0}

/* ---------- 侧栏 ---------- */
.side{position:sticky;top:1.5rem;border-top:3px solid var(--ink);padding-top:.9rem}
.side small{display:block;color:var(--red);font-weight:700;font-size:.72rem;letter-spacing:.26em}
.side-h{font-family:var(--serif);font-size:1.02rem;font-weight:700;line-height:1.3;margin:.25rem 0 .8rem}
.side-list{list-style:none;margin:0;padding:0;counter-reset:s}
.side-list li{counter-increment:s}
.side-list a{
  display:flex;align-items:baseline;gap:.6rem;min-height:42px;padding:.5rem .25rem;
  color:var(--ink);text-decoration:none;font-size:.92rem;line-height:1.4;
  border-bottom:1px solid rgba(17,17,17,.18);
  transition:color .18s ease,padding-left .18s ease;
}
.side-list a::before{content:counter(s,decimal-leading-zero);font-size:.68rem;font-weight:700;letter-spacing:.06em;color:var(--red);flex:none}
.side-list a:hover,.side-list a:focus-visible{color:var(--red);padding-left:.6rem}

/* ---------- 首屏 ---------- */
.hero{
  display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;align-items:center;
  min-height:70vh;padding-bottom:2rem;margin-bottom:.5rem;
  border-bottom:2px solid var(--ink);
}
.hero-figure{order:1;margin:0;height:100%;min-height:0}
.hero-figure:empty{display:none}
.hero-img{
  display:block;width:100%;height:100%;max-height:70vh;object-fit:cover;
  border:2px solid var(--ink);border-radius:18px;will-change:transform;
}
.hero-text{order:2;grid-column:2;text-align:right}
.hero-badge{
  display:inline-block;margin:0 0 1rem;padding:.3rem .75rem;
  background:var(--red);color:#fff;border-radius:2px;
  font-size:.76rem;font-weight:700;letter-spacing:.2em;
}
.hero h1{
  margin:0;font-family:var(--serif);font-weight:700;
  font-size:clamp(2.3rem,5.2vw,4rem);line-height:1.04;letter-spacing:-.01em;
}

/* ---------- 正文 ---------- */
.sheet{display:block}
.sheet > div{padding:2.5rem 0;border-bottom:2px solid var(--ink);scroll-margin-top:5.5rem}
.sheet > div:last-child{border-bottom:0}
.sheet small{display:block;margin-bottom:.2rem;color:var(--red);font-size:.74rem;font-weight:700;letter-spacing:.26em}
.sheet h2{
  margin:.1rem 0 1rem;font-family:var(--serif);font-weight:700;
  font-size:clamp(1.55rem,3vw,2.1rem);line-height:1.18;
}
.sheet h3{margin:1.7rem 0 .5rem;font-size:1.16rem;line-height:1.4}
.sheet p{margin:0 0 1rem;max-width:44rem}
.sheet ul,.sheet ol{margin:0 0 1rem;padding-left:1.3rem;max-width:44rem}
.sheet li{margin:.35rem 0}
.sheet a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.sheet a:hover{background:var(--red);color:#fff;text-decoration:none}
.sheet strong{font-weight:700}
.sheet blockquote{
  margin:1.6rem 0;padding:.35rem 0 .35rem 1.1rem;border-left:5px solid var(--red);
  font-family:var(--serif);font-size:1.12rem;line-height:1.6;max-width:44rem;
}
.sheet img{max-width:100%;height:auto;border:2px solid var(--ink);border-radius:18px}
.sheet time{display:inline-block;font-size:.85rem;letter-spacing:.06em;color:#4a463f}
.sheet figure{margin:1.5rem 0}
.sheet figcaption{font-size:.85rem;margin-top:.4rem;color:#4a463f}
.sheet table{width:100%;border-collapse:collapse;margin:1.2rem 0;font-size:.95rem}
.sheet th,.sheet td{border:2px solid var(--ink);padding:.55rem .7rem;text-align:left}

/* ---------- 页脚 ---------- */
.foot{margin-top:3rem;padding:2.5rem clamp(1rem,3.5vw,3rem) 1.5rem;background:var(--ink);color:var(--paper)}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:1.5rem;max-width:1120px}
.foot-brand{margin:0 0 .4rem;font-family:var(--serif);font-size:1.12rem;font-weight:700;line-height:1.3}
.foot-addr{font-style:normal;font-size:.86rem;color:#cfc8ba;word-break:break-all}
.foot-lbl{display:block;margin-bottom:.5rem;color:var(--red);font-size:.7rem;font-weight:700;letter-spacing:.24em}
.foot-list{list-style:none;margin:0;padding:0}
.foot-list li{border-bottom:1px solid rgba(245,241,232,.18)}
.foot a{display:inline-flex;align-items:center;min-height:40px;color:var(--paper);text-decoration:none;font-size:.92rem;transition:color .18s ease}
.foot a:hover,.foot a:focus-visible{color:var(--red)}
.sub-form{display:flex;flex-wrap:wrap;gap:.45rem}
.sub-form input{
  flex:1 1 7rem;min-height:44px;padding:.55rem .7rem;
  background:transparent;color:var(--paper);border:2px solid var(--paper);border-radius:3px;
  font-family:var(--sans);font-size:.95rem;
}
.sub-form input::placeholder{color:#b9b1a3}
.sub-form button{
  min-height:44px;padding:.55rem 1.15rem;border:0;border-radius:3px;cursor:pointer;
  background:var(--red);color:#fff;font-family:var(--sans);font-size:.95rem;font-weight:700;
  transition:background .18s ease;
}
.sub-form button:hover{background:#fff;color:var(--ink)}
.foot-base{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1.2rem;
  max-width:1120px;margin-top:2rem;padding-top:.9rem;border-top:1px solid rgba(245,241,232,.25);
}
.foot-copy{margin:0;font-size:.86rem;letter-spacing:.05em}
.foot-mini{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;list-style:none;margin:0;padding:0}

/* ---------- 动效 ---------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .hero-img{transform:none!important}
}

/* ---------- 窄屏 ---------- */
@media (max-width:900px){
  body{padding-left:0}
  .rail{
    position:sticky;top:0;left:auto;bottom:auto;width:auto;
    flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;
    gap:.4rem .8rem;padding:.55rem .9rem;border-right:0;border-bottom:2px solid var(--ink);
  }
  .rail-nav p{flex-direction:row;flex-wrap:wrap;gap:.1rem}
  .rail-nav a{padding:.5rem .55rem;border-left:0;border-bottom:3px solid transparent}
  .rail-nav a:hover,.rail-nav a:focus-visible{border-left:0;border-bottom-color:var(--red)}
  .brand{order:0;padding:.2rem 0;border:0;font-size:1rem;gap:.45rem}
  .brand-mark{width:28px;height:28px}
  .rail-a{order:1}
  .rail-b{order:2}
  .rail-contact{order:3;flex-direction:row;align-items:center;gap:.4rem;width:100%;font-size:.74rem}
  main{padding:1.2rem .9rem 0}
  .wrap{grid-template-columns:1fr;gap:1.4rem}
  .side{position:static;order:-1;padding-top:.7rem}
  .side-h{display:none}
  .side-list{display:grid;grid-template-columns:1fr 1fr;gap:0 .8rem}
  .side-list a{min-height:40px}
  .hero{grid-template-columns:1fr;min-height:0;gap:1.1rem;padding-bottom:1.4rem}
  .hero-text{order:1;grid-column:1;text-align:left}
  .hero-figure{order:2}
  .hero-img{max-height:48vh;height:auto;aspect-ratio:4/3}
  .hero h1{font-size:clamp(1.9rem,8vw,2.6rem)}
  .sheet > div{padding:1.8rem 0;scroll-margin-top:8.5rem}
  .foot-grid{grid-template-columns:1fr 1fr;gap:1.2rem}
  .foot-brand{grid-column:1/-1}
}
@media (max-width:420px){
  .foot-grid{grid-template-columns:1fr}
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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