.page-home {
  --home-axis-w: 168px;
  --home-pulse: 3s;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  gap: 30px;
  padding: clamp(20px, 4.5vw, 56px) 0 clamp(34px, 6vw, 84px);
}

@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(30px, 5vw, 68px);
  }
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--blue);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  max-width: 13em;
  font-size: clamp(31px, 5.1vw, 58px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}

.page-home .home-hero__lede {
  margin: 0 0 26px;
  max-width: 32em;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
  color: var(--graphite);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .home-hero__stamp {
  position: relative;
  display: inline-block;
}

.page-home .version-sheet {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  width: min(340px, calc(100vw - 44px));
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 60px -34px rgba(14, 22, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.page-home .version-sheet[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-home .version-sheet__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.page-home .version-sheet__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

/* ---------- 首屏坐标仪表盘 ---------- */
.page-home .home-hero__visual {
  min-width: 0;
}

.page-home .home-instrument {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.page-home .home-instrument img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
}

.page-home .home-instrument__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(220, 232, 255, 0.14) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(220, 232, 255, 0.14) 0 1px, transparent 1px 46px);
}

.page-home .home-instrument__pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 106, 43, 0.5);
  animation: home-pulse var(--home-pulse) var(--ease) infinite;
}

.page-home .home-instrument__pulse--a {
  top: 22%;
  left: 26%;
}

.page-home .home-instrument__pulse--b {
  top: 58%;
  right: 18%;
  animation-delay: 1.4s;
}

@keyframes home-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 43, 0.5);
  }
  55% {
    box-shadow: 0 0 0 14px rgba(255, 106, 43, 0);
  }
}

.page-home .home-instrument__readout {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: rgba(14, 22, 38, 0.76);
}

.page-home .home-instrument__rev {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.page-home .home-instrument__rev-note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue-pale);
}

/* ---------- 坐标轴 + 卡片流 ---------- */
.page-home .home-flow {
  display: grid;
  gap: 28px;
  padding-bottom: clamp(40px, 7vw, 96px);
}

@media (min-width: 1020px) {
  .page-home .home-flow {
    grid-template-columns: var(--home-axis-w) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
  }
}

.page-home .coord-axis {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .coord-axis::-webkit-scrollbar {
  display: none;
}

.page-home .coord-axis__caption {
  display: none;
}

.page-home .coord-axis__tick {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--mist);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .coord-axis__tick:hover {
  color: var(--blue-deep);
  background: var(--blue-pale);
}

@media (min-width: 1020px) {
  .page-home .coord-axis {
    position: sticky;
    top: 26px;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding: 0 0 0 18px;
    border-left: 2px solid var(--line);
  }

  .page-home .coord-axis__caption {
    display: block;
    margin: 0 0 14px 8px;
    color: var(--graphite);
  }

  .page-home .coord-axis__tick {
    margin-left: -18px;
    padding: 10px 14px 10px 26px;
    border-radius: 0 var(--pill) var(--pill) 0;
    background: transparent;
  }

  .page-home .coord-axis__tick::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 50%;
    width: 11px;
    height: 11px;
    margin-top: -6px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--mist);
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
  }

  .page-home .coord-axis__tick.is-active,
  .page-home .coord-axis__tick:hover {
    color: var(--blue-deep);
    background: var(--blue-pale);
  }

  .page-home .coord-axis__tick.is-active::before,
  .page-home .coord-axis__tick:hover::before {
    background: var(--blue);
    border-color: var(--blue);
  }
}

.page-home .home-flow__main {
  min-width: 0;
}

.page-home .home-flow__main > .section + .section {
  margin-top: clamp(48px, 7vw, 92px);
}

/* ---------- 通用小节头部 ---------- */
.page-home .section-head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .section-head h2 {
  margin: 12px 0 14px;
  max-width: 18em;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: break-word;
}

.page-home .section-lede {
  margin: 0;
  max-width: 38em;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--graphite);
}

/* ---------- 场景入口 ---------- */
.page-home .scene-band {
  margin: 0 0 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--blue-pale);
}

.page-home .scene-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 480;
  object-fit: cover;
}

.page-home .scene-band figcaption {
  padding: 12px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--graphite);
  background: var(--mist);
}

.page-home .scene-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .page-home .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-home .scene-card:hover,
.page-home .scene-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-card);
}

.page-home .scene-card__track {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.2s var(--ease);
}

.page-home .scene-card__dot {
  position: absolute;
  top: -4px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-46px);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.page-home .scene-card:hover .scene-card__track,
.page-home .scene-card:focus-visible .scene-card__track {
  background: var(--blue-pale);
}

.page-home .scene-card:hover .scene-card__dot,
.page-home .scene-card:focus-visible .scene-card__dot {
  transform: translateX(0);
  background: var(--orange);
}

.page-home .scene-card__no {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--blue);
}

.page-home .scene-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.page-home .scene-card__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .scene-card__go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
}

/* ---------- 路径对照 ---------- */
.page-home .paths-panel {
  position: relative;
  padding: clamp(18px, 3.4vw, 34px);
  border-radius: var(--r-lg);
  background: var(--ink);
  overflow: hidden;
}

.page-home .paths-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 84% 10%, rgba(11, 95, 255, 0.34), transparent 58%);
}

.page-home .paths-svg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.page-home .paths-grid line {
  stroke: rgba(220, 232, 255, 0.12);
  stroke-width: 1;
}

.page-home .paths-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: home-draw 1.2s var(--ease) forwards;
  transition: stroke-width 0.2s var(--ease);
}

.page-home .paths-line--old {
  stroke: rgba(220, 232, 255, 0.42);
  animation-delay: 0.15s;
}

.page-home .paths-line--new {
  stroke: var(--orange);
  animation-delay: 0.6s;
}

.page-home .paths-line:hover {
  stroke-width: 5;
}

@keyframes home-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.page-home .paths-node {
  fill: var(--ink);
  stroke: rgba(220, 232, 255, 0.42);
  stroke-width: 2;
  opacity: 0;
  animation: home-fade-in 0.5s var(--ease) 1.1s forwards;
}

.page-home .paths-node--mid {
  stroke: var(--orange);
}

.page-home .paths-node--end {
  fill: var(--orange);
  stroke: var(--orange);
}

@keyframes home-fade-in {
  to {
    opacity: 1;
  }
}

.page-home .paths-legend {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 232, 255, 0.16);
}

@media (min-width: 640px) {
  .page-home .paths-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.page-home .paths-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--blue-pale);
}

.page-home .paths-legend__swatch {
  flex: 0 0 auto;
  width: 22px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
}

.page-home .paths-legend__item--old .paths-legend__swatch {
  background: rgba(220, 232, 255, 0.42);
}

.page-home .paths-legend__item--new .paths-legend__swatch {
  background: var(--orange);
}

/* ---------- 本期更新 ---------- */
.page-home .update-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .update-item {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 780px) {
  .page-home .update-item {
    grid-template-columns: 100px minmax(0, 1fr) 92px;
    align-items: start;
    gap: 20px;
  }
}

.page-home .update-item__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .update-item__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .update-item .up-mark {
  justify-self: start;
}

@media (min-width: 780px) {
  .page-home .update-item .up-mark {
    justify-self: end;
  }
}

.page-home .updates-foot {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .updates-foot a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 手机阅读 ---------- */
.page-home .mobile-panel {
  display: grid;
  gap: 22px;
}

@media (min-width: 860px) {
  .page-home .mobile-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
  }
}

.page-home .mobile-panel__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--blue-pale);
}

.page-home .mobile-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .mobile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.page-home .mobile-list__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .mobile-list__item:last-child {
  border-bottom: 0;
}

.page-home .mobile-list__no {
  font-size: 15px;
  color: var(--blue);
  padding-top: 2px;
}

.page-home .mobile-list__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

/* ---------- 找不到时 ---------- */
.page-home .ask-band {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(42, 33, 24, 0.12);
  background: var(--paper);
}

@media (min-width: 880px) {
  .page-home .ask-band {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
}

.page-home .ask-band h2 {
  margin: 12px 0 14px;
  max-width: 16em;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.34;
  color: var(--brown);
}

.page-home .ask-band__lede {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--brown);
}

.page-home .ask-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .ask-band__channels {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid rgba(42, 33, 24, 0.1);
}

.page-home .ask-channel {
  display: grid;
  gap: 4px;
}

.page-home .ask-channel dt {
  margin: 0;
  color: var(--graphite);
}

.page-home .ask-channel dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ---------- 页脚上方地域纹理 ---------- */
.page-home .region-band {
  position: relative;
  margin: 0;
  line-height: 0;
  overflow: hidden;
}

.page-home .region-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 520;
  object-fit: cover;
  opacity: 0.72;
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-instrument__pulse,
  .page-home .paths-line,
  .page-home .paths-node {
    animation: none;
  }

  .page-home .paths-line {
    stroke-dashoffset: 0;
  }

  .page-home .paths-node {
    opacity: 1;
  }

  .page-home .scene-card,
  .page-home .scene-card__dot,
  .page-home .scene-card__track,
  .page-home .coord-axis__tick {
    transition: none;
  }
}
