:root{
  --ink:#f2f6fa;
  --muted:rgba(232,241,248,.62);
  --accent:#f0c274;
  --rail:rgba(255,255,255,.16);
  --night:#061522;
  --sans:"Inter","Segoe UI","PingFang SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
  --mono:ui-monospace,"Cascadia Mono","SFMono-Regular",Consolas,monospace;
  color-scheme:dark;
}

*{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  min-height:100svh;
  font-family:var(--sans);
  color:var(--ink);
  background:#0d2136 url('assets/background.jpg') center center/cover fixed no-repeat;
  -webkit-font-smoothing:antialiased;
  font-synthesis:none;
}

/* 左侧压暗，右侧让插画原样透出：文字可读 + 画面不被吃掉 */
.atmosphere{
  position:fixed;inset:0;pointer-events:none;z-index:0;
  background:
    /* 横向：左暗右透，竖直方向保持一致，保证 12 行到页面底部都有足够对比 */
    linear-gradient(90deg,
      rgba(5,15,26,.96) 0%,
      rgba(5,15,26,.93) 16%,
      rgba(5,15,26,.74) 27%,
      rgba(5,15,26,.40) 36%,
      rgba(5,15,26,.12) 46%,
      rgba(5,15,26,0) 56%),
    linear-gradient(180deg, rgba(5,15,26,.46) 0%, rgba(5,15,26,0) 22%, rgba(5,15,26,0) 74%, rgba(5,15,26,.40) 100%);
}

/* 极轻的胶片颗粒，避免大面积纯色显得“空” */
body::after{
  content:"";position:fixed;inset:0;z-index:1;pointer-events:none;
  opacity:.30;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  background-size:160px 160px;
}

.shell{
  position:relative;z-index:2;
  min-height:100svh;
  margin:0;
  padding:clamp(22px,4.2vh,44px) clamp(22px,5.2vw,86px) clamp(18px,3.4vh,34px);
  display:grid;
  grid-template-rows:1fr auto;
  gap:clamp(14px,3vh,34px);
  align-content:stretch;
}

.column{
  display:flex;flex-direction:column;justify-content:center;
  gap:clamp(10px,2.4vh,30px);
  min-height:0;
}

/* ---------- 标题区 ---------- */
.lede{max-width:540px;margin:0}
.kicker{
  margin:0 0 clamp(10px,1.8vh,18px);
  font-size:12px;font-weight:500;letter-spacing:.42em;text-transform:none;
  color:var(--accent);
}
h1{
  margin:0;
  font-size:clamp(32px,3.75vw,56px);
  font-weight:300;
  line-height:1.18;
  letter-spacing:.12em;
  text-shadow:0 2px 26px rgba(3,12,22,.5);
}
.bio{
  margin:clamp(10px,1.6vh,16px) 0 0;
  max-width:440px;
  font-size:13.5px;line-height:1.95;letter-spacing:.04em;
  color:var(--muted);
  text-wrap:balance;
}

/* ---------- 站点：一条纵向的轨道 ---------- */
.board{
  position:relative;
  width:min(460px,100%);
  padding:0 0 0 34px;
  margin:0;
  border-left:1px solid var(--rail);
  /* 轨道两端的端点 */
  background:
    radial-gradient(circle at 0 0, var(--rail) 0 1.5px, transparent 2px),
    radial-gradient(circle at 0 100%, var(--rail) 0 1.5px, transparent 2px);
}

/* 表头：给列表一个“站名表”的身份 */
.board-head{
  display:flex;align-items:center;gap:12px;
  margin:0 0 clamp(6px,.9vh,10px);
  font-family:var(--mono);font-size:9px;letter-spacing:.30em;
  color:rgba(226,238,248,.58);text-transform:uppercase;
}
.board-head i{flex:1;height:1px;background:rgba(255,255,255,.2)}

.stop{
  position:relative;
  display:flex;align-items:center;gap:14px;
  padding:clamp(3px,.55vh,6px) 12px clamp(3px,.55vh,6px) 0;
  color:inherit;text-decoration:none;
  border-radius:2px;
  animation:rise .8s cubic-bezier(.2,.7,.25,1) both;
  animation-delay:calc(var(--i,0) * 28ms + 100ms);
  transition:background .38s ease, padding .38s cubic-bezier(.2,.7,.25,1), color .3s ease;
}

@keyframes rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}

/* 站点圆点，压在轨道线上 */
.stop::before{
  content:"";position:absolute;left:-37.5px;top:50%;
  width:7px;height:7px;margin-top:-3.5px;border-radius:50%;
  background:#7f93a4;
  box-shadow:0 0 0 3px rgba(6,18,30,.9);
  transition:background .32s ease, transform .38s cubic-bezier(.2,.7,.25,1), box-shadow .32s ease;
}

.idx{
  font-family:var(--mono);font-size:10px;letter-spacing:.12em;
  color:rgba(226,238,248,.52);width:19px;flex:none;
  transition:color .3s ease;
}

.name{
  font-size:15px;line-height:1.4;letter-spacing:.03em;flex:1;min-width:0;
  overflow-wrap:anywhere;
}

.arrow{
  font-size:12px;color:var(--accent);opacity:0;transform:translateX(-6px);
  transition:opacity .34s ease, transform .34s cubic-bezier(.2,.7,.25,1);
  flex:none;
}

.soon .name{flex:0 0 auto;color:rgba(226,238,248,.5)}
.tag{
  flex:none;margin-left:10px;
  font-family:var(--mono);font-size:9px;letter-spacing:.16em;
  color:rgba(240,194,116,.8);border:1px solid rgba(240,194,116,.28);
  border-radius:2px;padding:1px 6px;
}

/* 悬停：轨道上的车点亮起来 */
a.stop:hover,a.stop:focus-visible{
  background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.02) 55%,transparent);
  padding-left:10px;
  outline:none;
}
a.stop:hover::before,a.stop:focus-visible::before{
  background:var(--accent);
  transform:scale(1.35);
  box-shadow:0 0 0 3px rgba(6,18,30,.9), 0 0 14px rgba(240,194,116,.75);
}
a.stop:hover .idx,a.stop:focus-visible .idx{color:var(--accent)}
a.stop:hover .arrow,a.stop:focus-visible .arrow{opacity:1;transform:none}

/* ---------- 页脚 ---------- */
.foot{
  display:flex;align-items:center;gap:12px;
  font-family:var(--mono);font-size:9.5px;letter-spacing:.24em;
  color:rgba(226,238,248,.42);text-transform:uppercase;
}
.pipe{width:26px;height:1px;background:rgba(226,238,248,.22)}

/* ---------- 窄屏：顶部一条完整图带，内容落在深色版面上 ---------- */
@media (max-width:900px){
  body{background:#06121e no-repeat}
  .atmosphere{display:none}
  .shell{
    min-height:0;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    gap:0;
    padding:0 20px 26px;
    align-content:start;
  }
  /* 图带：单独取景，把踏口与人留在画面里 */
  .shell::before{
    content:"";grid-row:1;grid-column:1;
    height:max(300px,44svh);
    margin:0 -20px;
    background:
      linear-gradient(180deg,
        rgba(6,18,30,.62) 0%,
        rgba(6,18,30,.10) 26%,
        rgba(6,18,30,0) 52%,
        rgba(6,18,30,.55) 82%,
        #06121e 100%),
      url('assets/background.jpg') 64% 46%/cover no-repeat;
  }
  .column{grid-row:2;grid-column:1;justify-content:flex-start;gap:0}
  .lede{max-width:none;margin:24px 0 0}
  .kicker{margin-bottom:12px}
  h1{font-size:clamp(32px,10vw,44px);line-height:1.2}
  .bio{max-width:none;margin-top:14px}
  .board{width:100%;max-width:560px;margin:24px 0 0;padding-left:30px}
  .board-head{margin-bottom:8px}
  .stop{padding:6px 8px 6px 0}
  .name{font-size:15.5px}
  .foot{grid-row:3;grid-column:1;margin-top:28px}
}

@media (max-width:520px){
  .kicker{letter-spacing:.3em;font-size:11px}
  .bio{font-size:13px;line-height:1.95}
  .idx{width:16px}
  .stop{gap:11px;padding-right:4px}
  .board{padding-left:26px}
  .stop::before{left:-29.5px}
}

@media (prefers-reduced-motion:reduce){
  .stop{animation:none}
  .stop,.stop::before,.arrow,.idx{transition:none}
}

/* 矮屏收紧 */
@media (min-width:901px) and (max-height:760px){
  .shell{gap:10px;padding-top:18px;padding-bottom:14px}
  h1{font-size:clamp(26px,2.7vw,36px)}
  .bio{margin-top:10px;line-height:1.8;font-size:12.5px}
  .stop{padding-top:4px;padding-bottom:4px}
}
