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

:root{
  --paper:#ffffff;
  --mist:#f5f5f5;
  --ink:#1f1f1f;
  --ink2:#4c4c4c;
  --line:rgba(31,31,31,.13);
  --soft:rgba(31,31,31,.06);
  --r:28px;
  --shadow:0 6px 18px rgba(20,20,20,.06),0 2px 3px rgba(20,20,20,.04);
  --ease:cubic-bezier(.22,.61,.36,1);
  --head:"Playfair Display SC",Georgia,"Songti SC","Times New Roman",serif;
}

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

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

body{
  margin:0;
  overflow-x:hidden;
  background:var(--mist);
  color:var(--ink);
  font-family:Karla,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:17px;
  line-height:1.66;
  letter-spacing:.01em;
}

img{max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

.shell{
  min-height:100vh;
  padding-left:264px;
  padding-top:36px;
}

/* 顶部细条 */
.topbar{
  position:fixed;
  top:0;left:0;right:0;
  height:36px;
  z-index:45;
  background:var(--ink);
  color:var(--paper);
  display:flex;
  align-items:center;
  justify-content:center;
}
.topbar__text{
  margin:0;
  font-size:11px;
  letter-spacing:.42em;
  text-indent:.42em;
  text-transform:uppercase;
  white-space:nowrap;
}

/* 左侧竖排栏 */
.rail{
  position:fixed;
  top:36px;left:0;bottom:0;
  width:264px;
  z-index:35;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:22px 18px 26px;
  background:var(--paper);
  border-right:1px solid var(--line);
  overflow-y:auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  text-decoration:none;
  color:var(--ink);
}
.brand__img{
  width:40px;height:40px;
  border-radius:13px;
  object-fit:cover;
  flex:none;
}
.brand__mark{
  width:40px;height:40px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--head);
  font-size:18px;
  line-height:1;
}
.brand__name{
  font-family:var(--head);
  font-size:17px;
  letter-spacing:.1em;
}

.menu{position:relative}
.menu__btn{
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:0 14px;
  border-radius:14px;
  background:var(--mist);
  font-size:14px;
  letter-spacing:.18em;
  cursor:pointer;
  user-select:none;
}
.menu__btn::-webkit-details-marker{display:none}
.menu__btn::marker{content:""}
.menu__ico{
  width:14px;height:2px;
  flex:none;
  background:var(--ink);
  box-shadow:0 -5px 0 var(--ink),0 5px 0 var(--ink);
}

.menu__list,
.side__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:2px;
}
.menu__list{margin-top:10px}

.jump{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:7px 12px;
  border-radius:13px;
  text-decoration:none;
  color:var(--ink2);
  font-size:15px;
  line-height:1.4;
  transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease);
}
.jump:hover{background:var(--mist);color:var(--ink);transform:translateX(3px)}
.jump__dot{
  width:7px;height:7px;
  flex:none;
  border-radius:2px;
  background:var(--soft);
  transform:rotate(45deg);
  transition:background .25s var(--ease),transform .25s var(--ease);
}
.jump:hover .jump__dot{background:var(--ink);transform:rotate(45deg) scale(1.2)}

/* 主区域 */
.stage{
  max-width:1160px;
  margin:0 auto;
  padding:22px 28px 0;
}

.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  align-items:stretch;
  min-height:70vh;
}
.hero--text{grid-template-columns:1fr}
.hero--text .hero__copy{background:var(--paper)}

.hero__media{
  overflow:hidden;
  border-radius:var(--r);
  background:var(--ink);
  box-shadow:var(--shadow);
}
.hero__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:44px 38px;
  border-radius:var(--r);
  background:var(--paper);
  box-shadow:var(--shadow);
}
.hero__title{
  margin:0 0 16px;
  font-family:var(--head);
  font-weight:400;
  font-size:clamp(27px,3.4vw,44px);
  line-height:1.28;
  letter-spacing:.02em;
}
.hero__desc{
  margin:0;
  max-width:36ch;
  color:var(--ink2);
  font-size:16px;
  line-height:1.7;
}

.body{
  display:grid;
  grid-template-columns:minmax(0,1fr) 20rem;
  gap:16px;
  align-items:start;
  margin-top:16px;
}

.flow > section{
  background:var(--paper);
  border-radius:var(--r);
  padding:30px 32px;
  margin:0 0 16px;
  box-shadow:var(--shadow);
  scroll-margin-top:56px;
  transition:transform .32s var(--ease),box-shadow .32s var(--ease);
}
.flow > section:hover{
  transform:translateY(-2px) scale(1.005);
  box-shadow:0 14px 28px rgba(20,20,20,.09);
}
.flow > section:last-child{margin-bottom:0}

.flow h2{
  margin:0 0 12px;
  font-family:var(--head);
  font-weight:400;
  font-size:24px;
  line-height:1.36;
  letter-spacing:.015em;
}
.flow h3{
  margin:1.5em 0 .45em;
  font-size:17px;
  font-weight:600;
  letter-spacing:.02em;
}
.flow p{margin:0 0 1em}
.flow p:last-child{margin-bottom:0}
.flow ul,.flow ol{margin:0 0 1em;padding-left:1.2em}
.flow li{margin:.4em 0}
.flow a{
  color:var(--ink);
  text-decoration:none;
  border-bottom:1px solid var(--line);
  transition:border-color .25s var(--ease);
}
.flow a:hover{border-color:var(--ink)}
.flow img{border-radius:20px;display:block;margin:1em 0}
.flow blockquote{
  margin:1.2em 0;
  padding:4px 0 4px 16px;
  border-left:3px solid var(--ink);
  color:var(--ink2);
}
.flow strong{font-weight:600}

/* 右侧栏 */
.side{
  position:sticky;
  top:52px;
  padding:24px 20px;
  border-radius:var(--r);
  background:var(--paper);
  box-shadow:var(--shadow);
}
.side__title{
  margin:0 0 5px;
  font-family:var(--head);
  font-weight:400;
  font-size:19px;
  letter-spacing:.06em;
}
.subtitle{
  margin:0 0 14px;
  font-size:13px;
  letter-spacing:.16em;
  color:var(--ink2);
}

/* 页脚 */
.foot{
  max-width:1160px;
  margin:26px auto 0;
  padding:30px 28px 44px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:12px 24px;
  align-items:center;
  border-top:1px solid var(--line);
}
.foot__lead{margin:0}
.foot__brand{
  font-family:var(--head);
  font-size:17px;
  letter-spacing:.14em;
}
.foot__links{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:2px 16px;
  justify-content:center;
}
.foot__links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--ink2);
  text-decoration:none;
  font-size:14px;
  transition:color .25s var(--ease);
}
.foot__links a:hover{color:var(--ink)}
.foot__legal{
  justify-self:end;
  font-size:13px;
  color:var(--ink2);
  letter-spacing:.06em;
}

.toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:40;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  background:var(--ink);
  color:var(--paper);
  font-size:13px;
  letter-spacing:.12em;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(20,20,20,.2);
  transition:transform .25s var(--ease),opacity .25s var(--ease);
}
.toTop:hover{transform:translateY(-2px)}

@media (prefers-reduced-motion:no-preference){
  .hero__img{animation:breathe 20s ease-in-out infinite alternate}
  @keyframes breathe{
    from{transform:scale(1)}
    to{transform:scale(1.06)}
  }
}

@media (max-width:999px){
  .shell{padding-left:0;padding-top:0}
  .topbar{position:static;height:32px}
  .topbar__text{font-size:10px;letter-spacing:.34em}

  .rail{
    position:sticky;
    top:0;left:auto;bottom:auto;
    width:auto;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 15px;
    border-right:0;
    border-bottom:1px solid var(--line);
    z-index:38;
    overflow:visible;
  }
  .brand__name{font-size:15px}

  .menu__list{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:236px;
    padding:9px;
    border-radius:20px;
    background:var(--paper);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
    z-index:50;
  }
  .jump{min-height:42px;font-size:15px}

  .stage{padding:16px 14px 0}
  .hero{grid-template-columns:1fr;min-height:0}
  .hero__media{aspect-ratio:16/11}
  .hero__copy{padding:30px 20px}
  .hero__title{font-size:clamp(25px,7vw,32px)}

  .body{grid-template-columns:1fr}
  .side{position:static;order:2}
  .flow > section{padding:22px 18px;scroll-margin-top:86px}
  .flow h2{font-size:21px}

  .foot{
    grid-template-columns:1fr;
    margin:22px auto 0;
    padding:22px 16px 40px;
    text-align:left;
  }
  .foot__links{justify-content:flex-start}
  .foot__legal{justify-self:start}
  .toTop{right:12px;bottom:12px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

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