/* ============================================================
   《战傀志》官网 v0.1 · 样式
   视觉血统：与 PressKit 同源（神明战争 · 水墨鎏金 tokens，单一事实源 ../FACTS.md）
   形态：EN 默认双语页（body.zh 切中文，与姊妹页的 body.en 机制互为镜像）
   ============================================================ */
:root {
  --ink: #14110c;
  --ink-2: #1c1812;
  --ink-3: #262017;
  --line: #3a3122;
  --gold: #c8a45c;
  --gold-bright: #e5c98a;
  --seal: #b5432f;
  --text: #e9e1cf;
  --muted: #9a8f75;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; text-wrap: pretty;
}

/* ============ 双语显隐：默认英文，body.zh 切中文 ============ */
body .zh { display: none; }
body.zh .en { display: none; }
body.zh .zh { display: inline; }
body.zh .zh.block { display: block; }

/* ============ 基础与无障碍 ============ */
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: -48px; left: 16px; z-index: 300;
  background: var(--gold); color: var(--ink); padding: 10px 18px;
  border-radius: 4px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ============ 顶部条 ============ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(20,17,12,.55); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58,49,34,.6);
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 56px;
  display: flex; align-items: center; gap: 10px;
}
.brand {
  font-family: var(--serif); font-weight: 900; font-size: 16px;
  color: var(--gold-bright); letter-spacing: .1em; text-decoration: none; white-space: nowrap;
}
.brand small { font-size: 10px; color: var(--muted); letter-spacing: .22em; margin-left: 8px; font-weight: 400; }
.lang {
  margin-left: auto; cursor: pointer; background: transparent; flex-shrink: 0;
  border: 1px solid var(--line); color: var(--gold-bright); border-radius: 999px;
  min-height: 44px; min-width: 64px; padding: 8px 20px; font-size: 13px;
  letter-spacing: .08em; font-family: var(--sans); transition: border-color .2s;
}
.lang:hover { border-color: var(--gold); }

/* ============ Hero：主视觉压场 ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 2%, rgba(20,17,12,.72) 34%, rgba(20,17,12,.18) 62%, rgba(20,17,12,.42) 100%);
}
.hero-inner {
  position: relative; max-width: 1080px; width: 100%;
  margin: 0 auto; padding: 0 24px 13vh;
}
.kicker {
  font-size: 12.5px; letter-spacing: .3em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(44px, 8vw, 88px); line-height: 1.08;
  color: var(--gold-bright); letter-spacing: .04em; margin-bottom: 18px;
}
.oneliner {
  max-width: 620px; font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.7; color: var(--text); margin-bottom: 30px;
}
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.cta {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none;
  padding: 15px 34px; border-radius: 4px; border: 1px solid var(--gold);
  transition: background .2s; min-height: 44px;
}
.cta:hover { background: var(--gold-bright); }
.cta-note { font-size: 13.5px; color: var(--muted); }
.readout {
  display: flex; flex-wrap: wrap; gap: 12px 0;
  border-top: 1px solid rgba(58,49,34,.7); padding-top: 16px; max-width: 760px;
}
.readout > div { padding: 0 22px; border-left: 1px solid rgba(58,49,34,.7); }
.readout > div:first-child { padding-left: 0; border-left: none; }
.readout dd { font-size: 13.5px; color: var(--text); }
.readout b { color: var(--gold-bright); font-weight: 700; }

/* ============ 截图区 ============ */
.shots { padding: 84px 0 72px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.shots h2 {
  font-family: var(--serif); font-weight: 700; font-size: 28px;
  color: var(--gold-bright); letter-spacing: .08em; margin-bottom: 24px;
}
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shot-grid figure { margin: 0; }
.shot-grid img {
  display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--line);
}
.shot-grid figcaption { font-size: 12px; color: var(--muted); letter-spacing: .06em; padding-top: 8px; }

/* ============ 页脚 ============ */
.foot { border-top: 1px solid var(--line); background: var(--ink-2); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.foot h2 {
  font-family: var(--serif); font-size: 13px; color: var(--gold);
  letter-spacing: .22em; margin-bottom: 10px; font-weight: 700;
}
.foot p, .foot a { font-size: 14px; color: var(--text); text-decoration: none; line-height: 1.9; }
.foot a:hover { color: var(--gold-bright); }
.copy {
  border-top: 1px solid rgba(58,49,34,.6); padding-top: 20px;
  text-align: center; font-size: 12.5px; color: var(--muted);
}

/* ============ 响应式 ============ */
@media (max-width: 760px) {
  .hero-inner { padding-bottom: 18vh; }
  .shot-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .readout > div { padding: 0 14px; }
}

/* ============ 减动效 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
