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

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

body{
  margin:0;
  background:#000;
  color:#e4e8ef;
  font-family:Inter,-apple-system,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.75;
  overflow-x:hidden;
}

img{max-width:100%}
figure{margin:0}

:focus-visible{
  outline:2px solid #7aa2ff;
  outline-offset:3px;
}

/* ---------- 页头 ---------- */

.topbar{
  background:#000;
  border-bottom:1px solid #16181d;
}

.brandline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 1.1rem .5rem;
  border-bottom:1px solid #101216;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  min-height:44px;
  text-decoration:none;
  color:#fff;
}

.mark,
.mark-img{
  width:36px;
  height:36px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border:1px solid #2c3f6b;
  background:#0a1122;
  color:#9dbcff;
  font-family:"Playfair Display",serif;
  font-size:1.05rem;
  line-height:1;
  text-shadow:0 0 12px #3f6fff;
}

.mark-img{object-fit:cover;display:block}

.brand-name{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.25rem;
  font-weight:500;
  letter-spacing:.08em;
}

.cta{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 1.1rem;
  border:1px solid #2d4b8c;
  background:#101d3a;
  color:#dde8ff;
  font-size:1rem;
  letter-spacing:.04em;
  text-decoration:none;
  box-shadow:0 0 18px rgba(64,112,255,.16);
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}

.cta:hover{
  background:#1a3164;
  box-shadow:0 0 26px rgba(96,146,255,.4);
  transform:translateY(-1px);
}

.menuline{display:block}

.menu{
  display:flex;
  flex-wrap:nowrap;
  gap:.1rem;
  margin:0;
  padding:.15rem 1.1rem;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}

.menu::-webkit-scrollbar{display:none}

.menu > li{position:relative;flex:0 0 auto}

.menu > li > a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 .85rem;
  color:#aebbd0;
  font-size:1rem;
  letter-spacing:.02em;
  white-space:nowrap;
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .2s ease,border-color .2s ease,text-shadow .2s ease;
}

.menu > li > a:hover,
.menu > li > a:focus-visible{
  color:#fff;
  border-bottom-color:#41598e;
  text-shadow:0 0 10px rgba(110,160,255,.6);
}

.drop{display:none}

/* ---------- 主区 ---------- */

.stage{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
}

/* 左侧栏 */

.rail{
  padding:1.2rem 1.1rem .4rem;
  border-bottom:1px solid #121418;
}

.rail-h{
  margin:0;
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.05rem;
  font-weight:500;
  letter-spacing:.14em;
  color:#fff;
}

.rail .subtitle{
  margin:.15rem 0 .75rem;
  color:#78849a;
  font-size:1rem;
  letter-spacing:.02em;
}

.rail-list{
  display:flex;
  gap:.5rem;
  margin:0;
  padding:0 0 .8rem;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}

.rail-list::-webkit-scrollbar{display:none}

.rail-list li{flex:0 0 auto}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 .9rem;
  background:#0b0b0c;
  border:1px solid #191c22;
  color:#c2cee2;
  font-size:1rem;
  white-space:nowrap;
  text-decoration:none;
  box-shadow:0 8px 20px rgba(0,0,0,.75);
  transition:transform .18s ease,border-color .18s ease,color .18s ease;
}

.rail-list a:hover{
  transform:translateX(3px);
  border-color:#2f4a83;
  color:#fff;
}

/* 正文 */

.reel{min-width:0}

.opener{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:46vh;
  padding:1.6rem 1.1rem 3rem;
  overflow:hidden;
  background:#070a12;
  clip-path:polygon(0 0,100% 0,100% 92%,0 100%);
}

.hero{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-shot{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.5;
  filter:saturate(.85) brightness(.8);
  will-change:transform;
}

.opener::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(105deg,rgba(0,0,0,.94) 26%,rgba(0,0,0,.5) 66%,rgba(2,6,16,.75) 100%);
  pointer-events:none;
}

.opener-copy{position:relative;z-index:2}

.opener-title{
  margin:0 0 .7rem;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.95rem,7vw,3.4rem);
  font-weight:600;
  line-height:1.14;
  letter-spacing:.01em;
  color:#fff;
  text-shadow:0 0 22px rgba(96,146,255,.4);
}

.lead{
  max-width:34rem;
  margin:0;
  color:#bcc8dd;
  font-size:1rem;
  line-height:1.7;
}

.reel > article:not(.opener){
  padding:2.4rem 1.1rem;
  border-top:1px solid #131519;
  scroll-margin-top:1rem;
}

.reel h2{
  margin:0 0 .85rem;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(1.45rem,4.6vw,2.05rem);
  font-weight:600;
  line-height:1.25;
  letter-spacing:.01em;
  color:#fff;
}

.reel h3{
  margin:1.7rem 0 .5rem;
  font-size:1.12rem;
  font-weight:600;
  color:#dbe4f4;
}

.reel p{
  max-width:44rem;
  margin:0 0 1rem;
  color:#c7d0de;
}

.reel a{
  color:#8db0ff;
  text-decoration:underline;
  text-decoration-color:#2b3f68;
  text-underline-offset:3px;
}

.reel a:hover{color:#c3d6ff}

.reel ul,
.reel ol{
  max-width:44rem;
  margin:0 0 1.2rem;
  padding-left:1.2rem;
  color:#c7d0de;
}

.reel li{margin:.35rem 0}

.reel img{
  display:block;
  width:100%;
  height:auto;
  margin:1.2rem 0;
  border:1px solid #1a1f2b;
}

.reel blockquote{
  margin:1.4rem 0;
  padding:.3rem 0 .3rem 1rem;
  border-left:2px solid #34508c;
  color:#a7b4ca;
}

.reel blockquote p{color:#a7b4ca}

.reel table{
  width:100%;
  margin:1.2rem 0;
  border-collapse:collapse;
  font-size:1rem;
}

.reel th,
.reel td{
  padding:.55rem .7rem;
  border:1px solid #1b2130;
  text-align:left;
  vertical-align:top;
}

.reel th{background:#0c0f16;color:#dbe4f4;font-weight:600}

.reel hr{
  margin:2rem 0;
  border:0;
  border-top:1px solid #16191f;
}

.reel code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.95em;
  color:#9ad9c8;
}

/* ---------- 页脚 ---------- */

.foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.6rem 1.4rem;
  margin-top:2.4rem;
  padding:1.5rem 1.1rem;
  border-top:1px solid #15181e;
  background:#070708;
}

.foot-mark{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1rem;
  letter-spacing:.12em;
  color:#e8edf6;
}

.foot-nav{
  display:flex;
  flex-wrap:wrap;
  gap:.15rem .9rem;
  margin:0;
  padding:0;
  list-style:none;
}

.foot-nav a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:#8f9bad;
  font-size:1rem;
  text-decoration:none;
}

.foot-nav a:hover{color:#dfe7f5}

.foot-copy{
  color:#5f6875;
  font-size:1rem;
}

/* ---------- 大屏 ---------- */

@media (min-width:880px){
  .brandline{padding:.9rem 2.4rem .7rem}
  .menu{flex-wrap:wrap;overflow:visible;padding:.2rem 2.4rem}

  .menu li:hover > .drop,
  .menu li:focus-within > .drop{display:block}

  .menu .drop{
    position:absolute;
    top:100%;
    left:0;
    z-index:40;
    display:none;
    min-width:11rem;
    margin:0;
    padding:.3rem 0;
    list-style:none;
    background:#080a0f;
    border:1px solid #1d2740;
    box-shadow:0 20px 44px rgba(0,0,0,.85);
  }

  .menu .drop a{
    display:flex;
    align-items:center;
    min-height:42px;
    padding:0 1rem;
    color:#9dabc2;
    font-size:1rem;
    text-decoration:none;
  }

  .menu .drop a:hover{background:#111726;color:#fff}

  .topbar{position:sticky;top:0;z-index:60;background:rgba(0,0,0,.94)}

  .stage{
    grid-template-columns:240px minmax(0,1fr);
    gap:3rem;
    max-width:1180px;
    margin:0 auto;
    padding:2.6rem 2.4rem 1rem;
    align-items:start;
  }

  .rail{
    padding:1.4rem 1.2rem;
    border:1px solid #15181e;
    border-top:2px solid #23335a;
    background:#080809;
    box-shadow:0 14px 34px rgba(0,0,0,.7);
  }

  .rail-list{
    flex-direction:column;
    gap:.45rem;
    padding:0;
    overflow:visible;
  }

  .rail-list li{flex:1 1 auto}

  .rail-list a{white-space:normal}

  .reel{
    border:1px solid #12151a;
    background:#020203;
    box-shadow:0 24px 60px rgba(0,0,0,.8);
  }

  .opener{
    min-height:70vh;
    padding:2.6rem 2.6rem 4.4rem;
    clip-path:polygon(0 0,100% 0,100% 86%,0 100%);
  }

  .reel > article:not(.opener){
    padding:3rem 2.6rem;
    scroll-margin-top:8.5rem;
  }

  .foot{
    max-width:1180px;
    margin:3rem auto 0;
    padding:1.6rem 2.4rem;
  }

  .foot-copy{margin-left:auto}
}

@media (min-width:880px) and (prefers-reduced-motion: no-preference){
  html{scroll-behavior:smooth}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .hero-shot{transform:none !important}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

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