/* ============================================================
   CENTODIECI — centodieci.hypercar.site
   暗色电影感(与站点群一致):近黑底 + 白字 + 电蓝点睛
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Bugatti Display';
  src: url('../fonts/bugatti-display-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bugatti Mono';
  src: url('../fonts/bugatti-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bugatti Text';
  src: url('../fonts/bugatti-text-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bugatti Text';
  src: url('../fonts/bugatti-text-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #06070c;
  --bg-soft:   #0b0d15;
  --panel:     #12141d;
  --ink:       #f2f4fa;
  --ink-dim:   #a7adbd;
  --ink-faint: #7d8498;
  --accent:    #1e4fd8;
  --accent-soft: #5f89ff;
  --accent-deep: #163a9e;
  --line:      rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --glass:     rgba(255, 255, 255, 0.05);
  --font-display: 'Bugatti Display', 'Noto Sans', 'Songti SC', serif;
  --font-text:    'Bugatti Text', 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono:    'Bugatti Mono', ui-monospace, Consolas, monospace;
  --w-doc: 1280px;
  --w-prose: 680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ol, ul { list-style: none; }
.mono { font-family: var(--font-mono); letter-spacing: .08em; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px clamp(1.2rem, 4vw, 2.4rem);
  transition: background .5s, padding .5s, opacity .5s var(--ease), transform .5s var(--ease);
}
.nav.is-hero { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.nav.is-solid {
  background: rgba(6, 7, 12, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__now {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint);
  min-width: 11ch;
}
.nav__brand { display: flex; align-items: baseline; gap: 14px; color: #fff; }
.nav__brand-name {
  font-family: var(--font-display); font-size: 17px; letter-spacing: .34em;
}
.nav__brand-sub {
  font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .3em; color: var(--ink-faint);
}
.nav__lang { display: flex; align-items: center; gap: 18px; }
.lang-btn {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  border: 1px solid var(--line); padding: .3rem .75rem;
  transition: border-color .3s, color .3s, background .3s;
}
.lang-btn:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.nav__menu-btn { display: flex; flex-direction: column; gap: 5px; padding: .5rem .1rem; }
.nav__menu-icon { display: flex; flex-direction: column; gap: 5px; }
.nav__menu-icon i {
  display: block; width: 26px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav__menu-btn.is-open .nav__menu-icon i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-btn.is-open .nav__menu-icon i:nth-child(2) { opacity: 0; }
.nav__menu-btn.is-open .nav__menu-icon i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.nav__progress i { display: block; height: 100%; width: 0; background: var(--accent-soft); }

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(6, 7, 12, .97);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5.5rem clamp(1.5rem, 6vw, 5rem) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 5rem); max-width: 1040px; overflow-y: auto;; max-height: calc(100vh - 13rem); }
.menu-overlay__nav a {
  display: flex; align-items: baseline; gap: 1.6rem;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  line-height: 1.45; color: var(--ink-dim);
  border-bottom: 1px solid var(--line-soft);
  transition: color .3s, padding-left .3s var(--ease);
}
.menu-overlay__nav a:hover { color: #fff; padding-left: .8rem; }
.menu-overlay__nav a em {
  font-family: var(--font-mono); font-style: normal;
  font-size: .7rem; letter-spacing: .3em; color: var(--accent-soft);
}
.menu-overlay__sub {
  margin-top: 2.4rem; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .3em; color: var(--ink-faint);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--bg); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,12,.62) 0%, rgba(6,7,12,.1) 42%, rgba(6,7,12,.92) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 clamp(1.2rem, 5vw, 4rem);
  text-align: center;
}
.hero__wordmark { margin-inline: auto; width: min(760px, 86vw); height: auto; margin-bottom: 1.6rem; filter: drop-shadow(0 8px 40px rgba(0,0,0,.5)); }
.hero__eyebrow {
  font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__eyebrow b { color: var(--accent-soft); font-weight: 400; }
.hero__scroll {
  position: absolute; right: clamp(1.2rem, 4vw, 2.4rem); bottom: 2.2rem; z-index: 2;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .34em;
  writing-mode: vertical-rl; color: var(--ink-dim);
  animation: bob 2.6s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- 章节骨架 ---------- */
.chapter { padding: clamp(3.5rem, 9vh, 7rem) 0; position: relative; }
.chapter--dark { background: var(--bg-soft); }
.wrap {
  width: min(100% - 2 * clamp(1.2rem, 5vw, 4rem), var(--w-doc));
  margin-inline: auto;
}

/* 章节隔断(编号 + 中英标题) */
.chapter-break {
  padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(2.2rem, 6vh, 4rem);
  position: relative; overflow: hidden;
}
.chapter-break--dark { background: var(--bg-soft); }
.chapter-break__wm {
  position: absolute; right: -2vw; top: 8%;
  font-family: var(--font-display); font-size: clamp(11rem, 30vw, 26rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  user-select: none; pointer-events: none;
}
.chapter-break__inner {
  width: min(100% - 2 * clamp(1.2rem, 5vw, 4rem), var(--w-doc));
  margin-inline: auto;
  display: flex; align-items: flex-start;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  position: relative;
}
.chapter-break__no {
  font-family: var(--font-mono); font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .3);
  flex-shrink: 0;
}
.chapter-break h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  line-height: 1.1; letter-spacing: .02em;
}
.chapter-break h2 .latin {
  display: block; font-family: var(--font-mono);
  font-size: .26em; letter-spacing: .46em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 1rem;
}
.chapter-break__sub {
  margin-top: 1.2rem; max-width: var(--w-prose);
  font-size: 1.02rem; color: var(--ink-dim);
}

/* ---------- 排版 ---------- */
.prose { max-width: var(--w-prose); }
.prose p { margin-bottom: 1.35em; color: var(--ink-dim); }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--ink); font-weight: 700; }
.lead {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.75; color: var(--ink); letter-spacing: .01em;
}
.prose--center { max-width: 62ch; margin-inline: auto; text-align: center; }
.prose--center .lead { margin-bottom: 1.6rem; }
.prose--center p:not(.lead) { font-size: .98rem; }

/* ---------- 大数字卡 ---------- */
.bigstats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: clamp(2rem, 5vh, 3.2rem) 0;
}
.bigstats__item {
  border-top: 2px solid var(--accent);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 7px;
}
.bigstats__item b {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: #fff;
}
.bigstats__item b i { font-style: normal; color: var(--accent-soft); }
.bigstats__item span {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
}

/* ---------- 图与图说 ---------- */
.figrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); margin-top: clamp(2rem, 5vh, 3rem); }
.figrow--2 { grid-template-columns: repeat(2, 1fr); }
.figrow--4 { grid-template-columns: repeat(4, 1fr); }
.figure { margin: 0; min-width: 0; }
.figure__media { overflow: hidden; background: var(--panel); }
.figure__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.figure:hover .figure__media img { transform: scale(1.03); }
.figrow .figure__media { aspect-ratio: 3 / 2; }
.figrow--4 .figure__media { aspect-ratio: 3 / 2; }
.figure--full .figure__media { aspect-ratio: 21 / 9; }
.figure__cap {
  display: flex; align-items: baseline; gap: 1rem;
  margin-top: .9rem; font-size: .92rem; line-height: 1.7;
  color: var(--ink-faint);
}
.figure__cap .no {
  font-family: var(--font-mono); font-size: .74rem;
  color: var(--accent-soft); flex-shrink: 0;
}
@media (max-width: 860px) {
  .figrow, .figrow--2, .figrow--4 { grid-template-columns: 1fr; }
  .figrow .figure__media, .figrow--4 .figure__media { aspect-ratio: 16 / 10; }
}

/* ---------- 引文 ---------- */
.quote { margin: clamp(2.8rem, 7vh, 5rem) auto 0; max-width: var(--w-prose); text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.5; letter-spacing: .01em; color: #fff;
}
.quote blockquote .zh {
  display: block; font-family: var(--font-text);
  font-size: .5em; color: var(--ink-dim); line-height: 1.9;
  margin-top: 1.4rem; letter-spacing: .02em; text-align: left;
}
.quote figcaption {
  margin-top: 1.4rem; font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint);
}
.quote figcaption b { color: var(--ink-dim); font-weight: 400; }

/* ---------- 章节视频 ---------- */
.chapter-video { position: relative; margin-top: clamp(2.4rem, 6vh, 4rem); }
.chapter-video video { width: 100%; height: clamp(300px, 64vh, 760px); object-fit: cover; }
.chapter-video__label {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: 1rem;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  background: rgba(6, 7, 12, .55); padding: .45rem .9rem;
  backdrop-filter: blur(6px);
}

/* ---------- 时间线(可拖) ---------- */
.timeline {
  position: relative; overflow: hidden;
  margin: clamp(2.4rem, 6vh, 3.6rem) 0 0;
  padding: 1.8rem 0 .6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: grab; user-select: none;
}
.timeline.is-drag { cursor: grabbing; }
.timeline__track { display: flex; position: relative; will-change: transform; }
.timeline__line {
  position: absolute; left: 0; right: 0; top: .5rem;
  height: 1px; background: var(--line);
}
.timeline__node {
  position: relative; flex: 0 0 clamp(11rem, 17vw, 14.5rem);
  padding: 1.5rem 1.2rem 0 0;
}
.timeline__node::before {
  content: ''; position: absolute; left: 0; top: .2rem;
  width: .62rem; height: .62rem; background: var(--accent-soft);
}
.timeline__node b {
  display: block; font-family: var(--font-mono);
  font-size: .82rem; font-weight: 400; color: var(--ink);
}
.timeline__node span {
  display: block; font-size: .82rem; line-height: 1.6;
  color: var(--ink-faint); margin-top: .3rem;
}
.timeline__hint {
  position: absolute; right: .4rem; bottom: .3rem;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .24em; color: var(--ink-faint);
  opacity: .6; pointer-events: none;
}

/* ---------- 年代对照(签名交互) ---------- */
.era { margin-top: clamp(2.4rem, 6vh, 3.6rem); }
.era__switch {
  display: flex; gap: 0; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.era__btn {
  padding: .8rem 1.6rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .22em;
  color: var(--ink-faint);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .3s, border-color .3s;
}
.era__btn:hover { color: var(--ink-dim); }
.era__btn.is-active { color: #fff; border-bottom-color: var(--accent-soft); }
.era__stage { position: relative; background: var(--panel); }
.era__pane { display: none; margin: 0; }
.era__pane.is-active { display: block; animation: fadein .5s var(--ease); }
.era__pane img { width: 100%; height: clamp(240px, 52vh, 620px); object-fit: cover; }
.era__pane figcaption {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .9rem 1.1rem; font-size: .9rem; color: var(--ink-faint);
}
.era__pane figcaption .no { font-family: var(--font-mono); font-size: .74rem; color: var(--accent-soft); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.era__rows {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0 2.5rem; margin-top: 1.6rem;
}
.era__rows li { display: none; }
.era[data-era="2019"] .era__rows li[data-era-row="2019"],
.era[data-era="1991"] .era__rows li[data-era-row="1991"] { display: flex; }
.era__rows li {
  align-items: baseline; gap: 1.2rem;
  padding: .75rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; color: var(--ink-dim);
}
.era__rows li b {
  font-family: var(--font-mono); font-size: .72rem;
  font-weight: 400; color: var(--accent-soft); flex-shrink: 0;
  min-width: 3.4rem;
}
@media (max-width: 700px) { .era__rows { grid-template-columns: 1fr; } }

/* ---------- 圆环数据 ---------- */
.gauges {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: clamp(2.4rem, 6vh, 3.6rem);
}
.gauge { text-align: center; position: relative; }
.gauge__svg { position: relative; width: min(180px, 100%); margin: 0 auto; }
.gauge__svg svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 6; }
.gauge__track { stroke: rgba(255, 255, 255, .08); }
.gauge__bar {
  stroke: var(--accent-soft); stroke-linecap: round;
  stroke-dasharray: 527.8; stroke-dashoffset: 527.8;
  transition: stroke-dashoffset 2.2s var(--ease);
}
.gauge.is-on .gauge__bar { stroke-dashoffset: var(--gauge-off); }
.gauge figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
}
.gauge figcaption b {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff;
}
.gauge__unit { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; color: var(--ink-faint); }
.gauge__label { margin-top: 1rem; font-size: .9rem; color: var(--ink-dim); }
.gauge__label small {
  display: block; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px;
}
@media (max-width: 760px) { .gauges { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 数据内联条(风洞) ---------- */
.dataline {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: clamp(1.8rem, 4vh, 2.6rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.dataline li {
  flex: 1 1 150px; padding: 1.1rem 1.2rem 1rem 0;
  border-right: 1px solid var(--line-soft);
}
.dataline li:last-child { border-right: none; }
.dataline b {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--accent-soft); line-height: 1.2;
}
.dataline span {
  display: block; font-family: var(--font-mono); font-size: .64rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); margin-top: .4rem;
}

/* ---------- 十台 · 交付 ---------- */
.ten-lead {
  display: flex; align-items: flex-end; gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap; margin-bottom: clamp(1.6rem, 4vh, 2.4rem);
}
.ten-lead__no b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(6rem, 16vw, 13rem); line-height: .9; color: var(--accent-soft);
}
.ten-lead__no span {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint);
}
.delivery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  border-top: 1px solid var(--line); margin-top: clamp(1.8rem, 4vh, 2.6rem);
}
.delivery li {
  padding: 1rem 1rem .8rem 0;
  border-right: 1px solid var(--line-soft);
}
.delivery li:last-child { border-right: none; }
.delivery b {
  display: block; font-family: var(--font-mono); font-size: .8rem;
  font-weight: 400; color: var(--accent-soft); letter-spacing: .1em;
}
.delivery span { display: block; font-size: .86rem; color: var(--ink-dim); margin-top: .3rem; }

/* ---------- 规格:对照 ---------- */
.vs { margin-top: clamp(1.8rem, 4vh, 2.6rem); }
.vs__switch { display: flex; border-bottom: 1px solid var(--line); }
.vs__btn {
  padding: .85rem 1.7rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .22em;
  color: var(--ink-faint);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .3s, border-color .3s;
}
.vs__btn:hover { color: var(--ink-dim); }
.vs__btn.is-active { color: #fff; border-bottom-color: var(--accent-soft); }
.vs__table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.vs__table th, .vs__table td {
  text-align: left; padding: .95rem .4rem;
  border-bottom: 1px solid var(--line-soft); font-size: .95rem;
}
.vs__table th { font-weight: 400; color: var(--ink-faint); width: 38%; }
.vs__table td { display: none; color: var(--ink-dim); }
.vs[data-vs="centodieci"] td[data-vs-val="centodieci"],
.vs[data-vs="eb110"] td[data-vs-val="eb110"] { display: table-cell; }
.vs[data-vs="centodieci"] td[data-vs-val="centodieci"] { color: #fff; }
.vs__src {
  margin-top: .9rem; font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .1em; color: var(--ink-faint);
}

/* ---------- 规格 tab ---------- */
.spectabs { margin-top: clamp(2.4rem, 6vh, 3.6rem); }
.spectabs__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; justify-content: space-between; }
.spectabs__btns button { flex: 1 1 0; text-align: center; }
.spectabs__btns button {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  color: var(--ink-faint); border: 1px solid var(--line-soft);
  padding: .45rem 1rem; border-radius: 2px;
  transition: color .3s, border-color .3s, background .3s;
}
.spectabs__btns button:hover { color: var(--ink-dim); border-color: var(--line); }
.spectabs__btns button.is-active {
  color: #fff; border-color: var(--accent); background: rgba(30, 79, 216, .18);
}
.spectabs__panel { display: none; }
.spectabs__panel.is-active { display: block; animation: fadein .35s var(--ease); }
.spectabs__panel dl {
  display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.7fr);
  border-top: 1px solid var(--line-soft);
}
.spectabs__panel dt, .spectabs__panel dd {
  padding: .7rem .3rem; border-bottom: 1px solid var(--line-soft); font-size: .92rem;
}
.spectabs__panel dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); align-self: center; }
.spectabs__panel dd { color: var(--ink-dim); }
.spectabs__pdf {
  display: inline-block; margin-top: 1.6rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em;
  color: var(--accent-soft); border-bottom: 1px solid var(--accent-deep);
  padding-bottom: .25rem; transition: border-color .3s, color .3s;
}
.spectabs__pdf:hover { color: #fff; border-color: var(--accent-soft); }

/* ---------- Footer ---------- */
.footer { background: #04050a; border-top: 1px solid var(--line); }
.footer__portal { border-bottom: 1px solid var(--line-soft); }
.footer__portal-inner {
  width: min(100% - 2 * clamp(1.2rem, 5vw, 4rem), var(--w-doc));
  margin-inline: auto;
  padding: clamp(3rem, 8vh, 5rem) 0; text-align: center;
}
.footer__portal-kicker {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ink-faint);
}
.footer__portal-title {
  font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05; margin-top: .7rem; color: #fff;
}
.footer__portal-dot { color: var(--accent-soft); }
.footer__portal-sub { color: var(--ink-faint); margin-top: .5rem; font-size: .92rem; }
.footer__portal-btn {
  display: inline-block; margin-top: 1.7rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .18em;
  border: 1px solid var(--line); padding: .85rem 2rem; color: var(--ink-dim);
  transition: border-color .3s, color .3s, background .3s;
}
.footer__portal-btn:hover { border-color: var(--accent-soft); color: #fff; background: rgba(30, 79, 216, .16); }
.footer__top {
  width: min(100% - 2 * clamp(1.2rem, 5vw, 4rem), var(--w-doc));
  margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft);
}
.footer__brand { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .26em; color: var(--ink-dim); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .86rem; color: var(--ink-dim); }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--accent-soft); }
.footer__legal {
  width: min(100% - 2 * clamp(1.2rem, 5vw, 4rem), var(--w-doc));
  margin-inline: auto;
  padding: 1.1rem 0 2rem; font-size: .72rem; color: var(--ink-faint);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
  .figure:hover .figure__media img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .era__pane img { height: auto; aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .menu-overlay__nav { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__now { display: none; }
  .chapter-break__wm { display: none; }
  .dataline li { flex-basis: 45%; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .figure--full .figure__media { aspect-ratio: 16 / 10; }
}


/* ---------- 编辑式混排(第三版布局) ---------- */
/* 首图跨两栏的图组 */
.figrow--editorial { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); margin-top: clamp(2rem, 5vh, 3rem); }
.figrow--editorial .figure:first-child { grid-column: span 2; }
.figrow--editorial .figure:first-child .figure__media { aspect-ratio: 16 / 9; }

/* 通栏大图 + 图注压在图上 */
.plate { position: relative; margin-top: clamp(2rem, 5vh, 3rem); }
.plate .figure__media { height: clamp(300px, 58vh, 620px); overflow: hidden; }
.plate .figure__media img { width: 100%; height: 100%; object-fit: cover; }
.plate .figure__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  margin: 0; padding: 3rem clamp(1rem, 3vw, 2rem) 1.2rem;
  background: linear-gradient(180deg, rgba(6,7,12,0) 0%, rgba(6,7,12,.9) 62%);
  color: #dfe3ee;
}

/* 图文并排(大图 + 侧栏) */
.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 3rem); align-items: center; margin-top: clamp(2rem, 5vh, 3rem); }
.feature .figure__media { aspect-ratio: 3 / 2; overflow: hidden; }
.feature .figure__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__aside { min-width: 0; }
.feature__kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: .9rem; }
.feature__kicker .no { border: 1px solid currentColor; padding: .1rem .45rem; margin-right: .7rem; }
.feature__aside h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3; margin-bottom: .8rem; }
.feature__aside p { font-size: .95rem; color: var(--ink-dim); }
.feature__stat { display: flex; align-items: baseline; gap: .8rem; margin-top: 1.2rem; border-top: 2px solid var(--accent); padding-top: .8rem; }
.feature__stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--accent-soft); }
.feature__stat span { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }

/* 双栏正文 */
.prose--2col { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); max-width: none; }
.prose--2col p { break-inside: avoid; }

@media (max-width: 860px) {
  .figrow--editorial { grid-template-columns: 1fr; }
  .figrow--editorial .figure:first-child { grid-column: auto; }
  .feature { grid-template-columns: 1fr; }
  .prose--2col { columns: 1; }
}

/* Lighthouse 对比度修正:portal-bar 品牌字提亮(本地覆盖,不动共享组件) */
.portal-bar__name { color: var(--accent-soft); }

/* ---------- 重叠图组(杂志式) ---------- */
.overlap { position: relative; margin-top: clamp(2rem, 5vh, 3rem); }
.overlap__main { width: 76%; }
.overlap__main .figure__media { aspect-ratio: 16 / 9; }
.overlap__main .figure__cap { max-width: 52%; }
.overlap__sub {
  position: absolute; right: 0; bottom: 0; width: 46%;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 10px 10px 0;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8);
}
.overlap__sub .figure__media { aspect-ratio: 3 / 2; }
.overlap__sub .figure__cap { margin-top: 0; padding: .75rem .3rem .6rem; }
@media (max-width: 860px) {
  .overlap__main { width: 100%; }
  .overlap__main .figure__cap { max-width: none; }
  .overlap__sub { position: static; width: 100%; margin-top: 1.2rem; padding: 10px 10px 0; box-shadow: none; }
}

/* ---------- 演变对照:EB110 → Centodieci(适度重叠) ---------- */
.evolve { display: grid; gap: clamp(1.4rem, 3vh, 2.2rem); margin-top: clamp(2.4rem, 6vh, 3.6rem); }
.evolve__item { border-top: 1px solid var(--line); padding-top: clamp(1.2rem, 3vh, 1.8rem); }
.evolve__pair { position: relative; display: flex; align-items: center; padding-bottom: 8px; }
.evolve__side { flex: 0 0 55%; min-width: 0; }
.evolve__pair .evolve__side:last-of-type { margin-left: -10%; z-index: 2; }
.evolve__side img {
  width: 100%; height: auto; aspect-ratio: 3 / 2;
  max-height: clamp(210px, 30vh, 340px);
  object-fit: cover; background: var(--panel);
  border: 3px solid var(--bg-soft);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .75);
}
.evolve__side:last-of-type img { border-color: var(--accent-deep); }
.evolve__tag {
  position: absolute; left: .55rem; bottom: 1.1rem; z-index: 3;
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  background: rgba(6, 7, 12, .82); color: #e7eaf3;
  padding: .28rem .55rem; backdrop-filter: blur(4px);
}
.evolve__side:last-of-type .evolve__tag { left: auto; right: .55rem; }
.evolve__arrow {
  position: absolute; left: 50%; top: 46%; z-index: 4;
  transform: translate(-50%, -50%);
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-style: normal; font-size: .95rem;
  background: rgba(6, 7, 12, .88); border: 1px solid var(--accent-soft);
  color: var(--accent-soft); backdrop-filter: blur(4px);
}
.evolve__item .figure__cap { margin-top: .9rem; }

/* ---------- 手稿条带(3:1 原比例) ---------- */
.figure--strip .figure__media { aspect-ratio: 3 / 1; }

/* ---------- 结尾横幅:引文压在图上 ---------- */
.banner {
  position: relative; margin-top: clamp(2rem, 5vh, 3rem);
  min-height: clamp(380px, 64vh, 620px);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,12,.72) 0%, rgba(6,7,12,.88) 100%); }
.banner__content { position: relative; z-index: 2; text-align: center; max-width: 62rem; padding: clamp(2.5rem,7vh,4.5rem) clamp(1rem,4vw,3rem); }
.banner__content blockquote {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem); line-height: 1.45; color: #fff;
}
.banner__content .zh {
  display: block; font-family: var(--font-text);
  font-size: .5em; color: var(--ink-dim); line-height: 1.9;
  margin-top: 1.1rem;
}
.banner cite {
  display: block; margin-top: 1.5rem;
  font-family: var(--font-mono); font-style: normal;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-faint);
}
.banner__cap {
  position: absolute; left: clamp(1rem, 3vw, 1.6rem); bottom: .9rem; z-index: 3;
  margin: 0; font-size: .76rem; color: rgba(230,234,244,.82);
  display: flex; gap: .7rem; max-width: 80%;
}
.banner__cap .no { font-family: var(--font-mono); color: var(--accent-soft); flex-shrink: 0; }
@media (max-width: 860px) {
  .evolve__side { flex: 0 0 100%; }
  .evolve__pair .evolve__side:last-of-type { margin-left: 0; margin-top: .7rem; }
  .evolve__arrow { top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
  .evolve__side:last-of-type .evolve__tag { left: .55rem; right: auto; }
  .figure--strip .figure__media { aspect-ratio: 2 / 1; }
}
