/* 首页新增两区块：能力图谱（证物红线网）+ 成长脉络（案卷年表）。
   结构在 index.html，红线绘制与入场动效在 js/growth.js。 */

/* ══════════ 区块头 kicker（参考站的编号标注系统） ══════════ */

.section__head-left { display: flex; flex-direction: column; gap: 10px; }
.section__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.22em;
  color: var(--text-faint);
}
.section__kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex: none;
}

.section__kicker--center { justify-content: center; margin-bottom: 22px; }

/* ══════════ 现场手记（大字宣言） ══════════ */

.section--statement {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.statement { max-width: 1040px; }
.statement .section__kicker {
  margin-bottom: 28px;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.section--statement.is-in .section__kicker { opacity: 1; }
.statement__line {
  /* 英文 Baskerville、中文宋体（报纸标题感），用户定稿 */
  font-family: 'Baskerville', 'Songti SC', 'STSongti-SC', 'Noto Serif SC', 'SimSun', Georgia, serif;
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.42;
  letter-spacing: 0.015em;
  color: var(--text);
  margin: 0 0 14px;
  text-wrap: balance;
  translate: 0 14px;
  /* 左→右擦除显形 */
  clip-path: inset(-8% 101% -12% 0);
  transition:
    clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    translate 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.section--statement.is-in .statement__line {
  clip-path: inset(-8% -1% -12% 0);
  translate: 0 0;
}
.statement__line mark {
  color: var(--text);
  background-color: transparent;
  /* 红线在文字显形后再从左画出 */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 0.07em;
  padding-bottom: 0.06em;
  transition: background-size 0.6s ease 1.1s, background-color 0.35s ease;
}
.section--statement.is-in .statement__line mark { background-size: 100% 0.07em; }
.statement__line mark:hover { background-color: var(--accent-soft); }
.statement__sig {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.18em;
  color: var(--text-faint);
  opacity: 0;
  transition: opacity 0.8s ease 0.5s;
}
.section--statement.is-in .statement__sig { opacity: 1; }

/* ── 结案章：滚到段落深处触发，章身压下盖印 + 音效（growth.js 控时序） ── */
.statement { position: relative; }
.statement__stamp-wrap {
  position: absolute;
  right: clamp(8px, 6vw, 72px);
  bottom: -6px;
  z-index: 2;
  width: clamp(112px, 12vw, 148px);
  aspect-ratio: 1;
  pointer-events: none;
}
/* 印文：圆形公章（双环 + 弧形英文 + 中心大字），由 stamp-inked 瞬时显现 */
.statement__stamp {
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0;
  transform: rotate(-9deg) scale(1.05);
  /* 油墨不均：噪点 mask 让环和字都带斑驳印泥感 */
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='ink'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0.6 0.66 0'/></filter><rect width='160' height='160' filter='url(%23ink)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='ink'><feTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0.6 0.66 0'/></filter><rect width='160' height='160' filter='url(%23ink)'/></svg>");
}
.statement__stamp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.stamp-arc {
  font-family: var(--font-mono);
  font-size: 7.4px;
  letter-spacing: 0.24em;
}
.stamp-arc--b { font-size: 6.6px; letter-spacing: 0.16em; }
.stamp-star { font-size: 6.5px; }
.section--statement.stamp-inked .statement__stamp {
  opacity: 0.88;
  transform: rotate(-9deg) scale(1);
  transition: opacity 0.06s ease, transform 0.18s cubic-bezier(0.2, 1.7, 0.4, 1);
}

/* 章身：近正俯视的实拍圆底章图（观者 POV 垂直下压）。页面即纸面——
   以胶底接触面中心（图片 50% 63% 处）为缩放中心，由大而虚压到小而实，再抬走。
   触底时（scale 1）胶底横径 ≈ 印文直径 × 1.15，纵横比 ~0.96 可完全罩住圆印文 */
.stamp-tool {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  transform-origin: 50% 63%;
  transform: translate(-50%, -63%) scale(2.1);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.section--statement.stamp-go .stamp-tool {
  animation: stampPress 1.15s forwards;
}
@keyframes stampPress {
  0% {
    transform: translate(-50%, -63%) scale(2.15);
    opacity: 0;
    filter: blur(5px) drop-shadow(0 24px 26px rgba(0, 0, 0, 0.5));
    animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.4);
  }
  9% { opacity: 1; }
  30% {
    transform: translate(-50%, -63%) scale(1);
    filter: blur(0) drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55));
  }
  56% {
    transform: translate(-50%, -63%) scale(1);
    filter: blur(0) drop-shadow(0 5px 9px rgba(0, 0, 0, 0.55));
    animation-timing-function: cubic-bezier(0.3, 0.5, 0.4, 1);
  }
  86% { opacity: 1; }
  100% {
    transform: translate(-50%, -63%) scale(1.95);
    opacity: 0;
    filter: blur(4px) drop-shadow(0 22px 26px rgba(0, 0, 0, 0.45));
  }
}
/* 盖下瞬间整段微震一下（顿感）——thud 在触底帧，早于印文显现 */
.section--statement.stamp-thud .statement { animation: stampThud 0.26s ease; }
@keyframes stampThud {
  0% { transform: translateY(0); }
  35% { transform: translateY(2.5px); }
  70% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}
.statement__stamp-main {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-family: 'Baskerville', 'Songti SC', 'STSongti-SC', 'Noto Serif SC', 'SimSun', serif;
  font-weight: 700;
  font-size: clamp(30px, 3vw, 37px);
  line-height: 1;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  white-space: nowrap;
}
/* 英文 CLOSED 六个字母，收小才放得进内环 */
body[data-lang="en"] .statement__stamp-main {
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.08em;
  text-indent: 0.08em;
}
/* 英文行更长，章下沉到签名行高度，避免压正文 */
body[data-lang="en"] .statement__stamp-wrap {
  bottom: -38px;
  right: clamp(8px, 4vw, 40px);
}
@media (max-width: 720px) {
  .statement__stamp-wrap { width: 96px; right: 2px; bottom: -14px; }
  .statement__stamp-main { font-size: 25px; }
}

/* ══════════ 预约面谈（填空式预约单） ══════════ */

.section--booking .section__kicker { margin-bottom: 26px; }

.slip-lead {
  margin: 0 0 36px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0;
  translate: 0 14px;
}
.section--booking.is-in .slip-lead {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.7s ease, translate 0.7s ease;
}
.slip-lead em {
  font-style: italic;
  color: var(--accent);
}
/* 中文没有真斜体，伪斜不好看：只保留红色 */
[lang='zh-CN'] .slip-lead em { font-style: normal; }

.slip {
  position: relative;
  max-width: 880px;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  padding: 46px 34px 28px;
  opacity: 0;
  translate: 0 16px;
}
.section--booking.is-in .slip {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.7s ease 0.15s, translate 0.7s ease 0.15s;
}
/* 复写单据式的红色表头边线 */
.slip::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 42, 42, 0.22) 55%, transparent);
}
/* 加急斜章：入场时盖下 */
.slip__stamp {
  position: absolute;
  top: 18px;
  right: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  padding: 5px 8px 5px 12px;
  border: 1px solid rgba(255, 42, 42, 0.5);
  color: rgba(255, 42, 42, 0.62);
  transform: rotate(-6deg);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.section--booking.is-in .slip__stamp {
  animation: slipStampIn 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) 0.95s forwards;
}
@keyframes slipStampIn {
  from { opacity: 0; transform: rotate(-2deg) scale(1.9); }
  to { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.slip__tag {
  position: absolute;
  top: 14px;
  left: 34px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.slip__tag i {
  font-style: normal;
  color: var(--accent-line);
  margin-left: 8px;
}

/* 填空句：句子即表单 */
.slip__line {
  margin: 0;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 2.2;
  color: var(--text-dim);
}
.slip__sel {
  position: relative;
  display: inline-block;
  margin: 0 4px;
}
.slip__sel.is-flash { animation: slipFlash 0.4s ease; }
@keyframes slipFlash {
  0% { background-color: var(--accent-soft); }
  100% { background-color: transparent; }
}
.slip__sel select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  /* 填空虚线：入场时从左画出（见下方 animation） */
  background-image: repeating-linear-gradient(90deg, var(--accent-line) 0 4px, transparent 4px 8px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  padding: 0 18px 3px 6px;
  font-family: var(--font-mono);
  font-size: 0.82em;
  letter-spacing: 0.08em;
  color: var(--accent);
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.section--booking.is-in .slip__sel select { animation: slipUnderline 0.45s ease forwards; }
.section--booking.is-in .slip__sel:nth-of-type(1) select { animation-delay: 0.55s; }
.section--booking.is-in .slip__sel:nth-of-type(2) select { animation-delay: 0.72s; }
.section--booking.is-in .slip__sel:nth-of-type(3) select { animation-delay: 0.89s; }
@keyframes slipUnderline {
  to { background-size: 100% 1px; }
}
.slip__sel select:hover,
.slip__sel select:focus-visible {
  background-color: var(--accent-soft);
  outline: none;
}
.slip__sel select option {
  background: #1a1a1a;
  color: var(--text);
}
.slip__sel::after {
  content: '▾';
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -52%;
  font-size: 10px;
  color: var(--accent);
  pointer-events: none;
}

.slip__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.slip__cta {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 10px 20px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, translate 0.25s ease;
}
.slip__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  translate: 3px 0;
}
.slip__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.slip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: slipPulse 2.2s ease-in-out infinite;
}
@keyframes slipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ══════════ 能力关键词滚动带 ══════════ */

.marquee {
  overflow: hidden;
  /* 底边线由 contact-end 的 border-top 承担，避免双线 */
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 22px 0;
  margin-top: clamp(40px, 6vw, 80px);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: dwMarquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__seq {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.9vw, 22px);
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.marquee__seq i {
  font-style: normal;
  font-size: 0.5em;
  color: var(--accent);
}
@keyframes dwMarquee {
  to { transform: translateX(-50%); }
}

/* ══════════ 联系区补充 ══════════ */

.contact-end__open {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.contact-end__open .sep { color: var(--accent-line); }

/* ══════════ 能力图谱 ══════════ */

.atlas {
  position: relative;
  height: clamp(480px, 52vw, 620px);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 50% 45%, rgba(255, 255, 255, 0.016) 0%, transparent 70%),
    var(--bg);
  overflow: hidden;
}

/* 背景网格：淡淡的坐标纸感 */
.atlas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
/* 中心聚光 + 四角暗角：证物板被打了一束淡红的光 */
.atlas::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 44% at 47% 50%, rgba(255, 42, 42, 0.055) 0%, transparent 100%),
    radial-gradient(130% 120% at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.36) 100%);
  pointer-events: none;
}

/* 幽灵水印字（呼应联系区的 PROTOCOL 底字） */
/* 四角红框（呼应加载屏的取景框语言） */
.atlas__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent-line);
  z-index: 3;
  pointer-events: none;
}
.atlas__corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.atlas__corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.atlas__corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.atlas__corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

/* 空白处的十字定位标 */
.atlas__cross {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.35;
}
.atlas__cross::before,
.atlas__cross::after {
  content: '';
  position: absolute;
  background: var(--text-faint);
}
.atlas__cross::before { left: 50%; top: 0; width: 1px; height: 100%; }
.atlas__cross::after { top: 50%; left: 0; height: 1px; width: 100%; }

/* 底部坐标注记 */
.atlas__coord {
  position: absolute;
  bottom: 13px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.22);
  z-index: 3;
}

.atlas__hud {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.atlas__hud .accent { color: var(--accent); }

.atlas__strings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.atlas__strings path {
  fill: none;
  stroke: rgba(255, 42, 42, 0.5);
  stroke-width: 1;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}
.atlas__strings path.is-hot {
  stroke: var(--accent);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 4px rgba(255, 42, 42, 0.6));
}

/* 图钉：所有节点共用 */
.atlas .pin {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: #2a2a2a;
  box-shadow: 0 0 0 2px rgba(255, 42, 42, 0.14);
  position: relative;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.atlas .pin::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 中心：人物 ID 标签（图钉压住标签顶边） */
.atlas__center {
  position: absolute;
  left: var(--nx, 47%);
  top: var(--ny, 50%);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.atlas__center .pin {
  margin-bottom: -6px;
  position: relative;
  z-index: 3;
  background: #3a1414;
}
.atlas__center .pin::after { opacity: 1; }
.atlas__tag {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%),
    var(--panel-solid);
  padding: 10px 20px 10px 10px;
  transform: rotate(-1.6deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.atlas__tag-photo {
  width: 47px;
  height: 57px;
  flex: none;
  border: 1px solid var(--border-strong);
  background:
    repeating-linear-gradient(45deg, #1d1d1d 0 5px, #191919 5px 10px);
  overflow: hidden;
  position: relative;
}
.atlas__tag-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.06);
  display: block;
}
/* 照片上的取景角 */
.atlas__tag-photo::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 42, 42, 0.35);
  pointer-events: none;
}
.atlas__tag-info { text-align: left; }
.atlas__tag-id {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 4px;
}
.atlas__tag-name {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--text);
  white-space: nowrap;
}
.atlas__tag-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-top: 5px;
  text-transform: uppercase;
}

/* 能力节点 */
.atlas__node {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 210px;
  text-align: center;
  z-index: 2;
  cursor: default;
  /* 入场：随红线画出逐个浮现 */
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.7s ease var(--d, 0s), translate 0.7s ease var(--d, 0s);
}
/* 上方节点：文字在图钉上面（HTML 中 pin 放在最后，锚点对齐底部图钉） */
.atlas__node--flip {
  transform: translate(-50%, calc(-100% + 6px));
}
.section--atlas.is-in .atlas__node { opacity: 1; translate: 0 0; }

.atlas__node-en {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.22em;
  color: var(--text-faint);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.atlas__node-en i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.26);
  margin-right: 7px;
  letter-spacing: 0.1em;
}
.atlas__node-cn {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.35;
}
.atlas__node-cn b { font-weight: 500; }
.atlas__node-desc {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  color: var(--text-dim);
  line-height: 1.5;
}
.atlas__node:hover .pin { background: #3a1414; box-shadow: 0 0 10px rgba(255, 42, 42, 0.55); }
.atlas__node:hover .pin::after { opacity: 1; }
.atlas__node:hover .atlas__node-en { color: var(--accent); }

/* ══════════ 成长脉络 ══════════ */

.journey {
  position: relative;
  padding-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* 时间轴横线 */
.journey::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: var(--border-strong);
}

.journey__card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  padding: 22px 22px 20px;
  transition: border-color 0.35s ease, transform 0.35s ease;
  /* 入场 */
  opacity: 0;
  translate: 0 16px;
}
.section--journey.is-in .journey__card {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.7s ease var(--d, 0s), translate 0.7s ease var(--d, 0s),
    border-color 0.35s ease, transform 0.35s ease;
}
.journey__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: inset 2px 0 0 var(--accent);
}

/* 幽灵罗马数字水印 */
.journey__num {
  position: absolute;
  top: 2px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 88px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}

/* 时间轴年份刻度 */
.journey__tick {
  position: absolute;
  top: -50px;
  left: 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

/* 档案编号行 */
.journey__ref {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.24);
  text-transform: uppercase;
}
.journey__ref.is-active { color: rgba(255, 42, 42, 0.6); }

/* 卡片挂在时间轴上的钉 + 竖线 */
.journey__card::before {
  content: '';
  position: absolute;
  top: -29px;
  left: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--bg);
}
.journey__card::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 30px;
  width: 1px;
  height: 20px;
  background: rgba(255, 42, 42, 0.4);
}

.journey__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
/* 阶段章：像盖上去的红章 */
.journey__phase {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 3px 9px 2px;
  transform: rotate(-1.4deg);
  display: inline-block;
}
.journey__years {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-xs);
  color: var(--text-faint);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* 进行中：脉冲红点 */
.journey__years .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: dwLivePulse 2.2s ease-in-out infinite;
}
@keyframes dwLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}
.journey__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 0 0 7px;
}
.journey__org {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-sm);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  line-height: 1.7;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.journey__desc {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 16px;
  min-height: 68px;
}
.journey__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.journey__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 4px 8px;
  white-space: nowrap;
}

/* 总结语 */
.journey__coda {
  margin: 46px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--text-dim);
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.8s ease 0.45s, translate 0.8s ease 0.45s;
}
.journey__coda::before {
  content: '';
  display: block;
  width: 42px;
  height: 1px;
  background: var(--accent-line);
  margin: 0 auto 20px;
}
.section--journey.is-in .journey__coda { opacity: 1; translate: 0 0; }
.journey__coda mark {
  background: none;
  color: var(--text);
  border-bottom: 1px solid var(--accent-line);
}

/* ══════════ 响应式 ══════════ */

@media (max-width: 860px) {
  .atlas {
    height: auto;
    padding: 52px 18px 22px;
  }
  .atlas__strings,
  .atlas__cross,
  .atlas__coord,
  .atlas__corner,
  .atlas::after { display: none; }
  .journey__tick { display: none; }
  .slip { padding: 44px 20px 22px; }
  .slip__tag { left: 20px; }
  .slip__line { line-height: 2.4; }
  .atlas__center {
    position: static;
    transform: none;
    margin-bottom: 26px;
  }
  .atlas__center .pin { display: none; }
  .atlas__node,
  .atlas__node--flip {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    max-width: none;
    text-align: left;
    padding: 12px 2px;
    border-bottom: 1px dashed var(--border);
    flex-wrap: wrap;
  }
  .atlas__node .pin { width: 8px; height: 8px; align-self: center; order: -1; }
  .atlas__node-desc { width: 100%; padding-left: 16px; }

  .journey { grid-template-columns: 1fr; gap: 30px; padding-top: 26px; }
  .journey::before { display: none; }
  .journey__card::before { top: -20px; }
  .journey__card::after { top: -11px; height: 11px; }
  .journey__desc { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atlas__node,
  .journey__card,
  .journey__coda,
  .statement__line,
  .statement__sig {
    opacity: 1 !important;
    translate: 0 0 !important;
    transition: none !important;
  }
  .statement__line { clip-path: none !important; }
  .statement__line mark { background-size: 100% 0.07em !important; }
  .statement__stamp { opacity: 0.88 !important; transform: rotate(-9deg) !important; transition: none !important; }
  .stamp-tool { display: none !important; }
  .section--statement.stamp-thud .statement { animation: none !important; }
  .slip-lead,
  .slip { opacity: 1 !important; translate: 0 0 !important; transition: none !important; }
  .slip__stamp { opacity: 1 !important; animation: none !important; }
  .slip__sel select { background-size: 100% 1px !important; animation: none !important; }
  .journey__years .live-dot { animation: none; }
  .marquee__track { animation: none; }
}
