/* ===== 首页专属样式 · 作用域 .page-home ===== */

.page-home {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background: var(--indigo);
  overflow: hidden;
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
}

.page-home .home-hero__narrative {
  position: relative;
  background: var(--crimson);
  padding: calc(var(--header-h) + 32px) 22px 46px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.page-home .home-hero__narrative::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 162, 39, 0.32);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-home .home-hero__eyebrow {
  color: var(--gold);
}

.page-home .home-hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 10vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--cloud);
  margin: 0;
}

.page-home .home-hero__subtitle {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.1;
  color: var(--gold);
  margin: -6px 0 0;
  letter-spacing: 0.06em;
}

.page-home .home-hero__lede {
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
  margin: 6px 0 0;
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-home .home-fact {
  min-width: 96px;
}

.page-home .home-fact dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 4px;
}

.page-home .home-fact dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--cloud);
}

.page-home .home-fact .num {
  color: var(--gold);
}

.page-home .home-hero__visual {
  position: relative;
  min-height: 320px;
  background: var(--indigo);
  overflow: hidden;
}

.page-home .home-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  mix-blend-mode: luminosity;
}

.page-home .home-hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .hero-map__contours path {
  fill: none;
  stroke: rgba(175, 192, 216, 0.24);
  stroke-width: 1;
}

.page-home .hero-map__ticks line {
  stroke: rgba(175, 192, 216, 0.18);
  stroke-width: 1;
  stroke-dasharray: 2 10;
}

.page-home .hero-map__path {
  fill: none;
  stroke: url(#homePathGrad);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: homePathDraw 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.page-home .hero-map__node {
  fill: var(--gold);
  opacity: 0;
  animation: homeNodeIn 0.6s ease 1.5s forwards;
}

.page-home .hero-map__node--end {
  filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.95));
}

.page-home .home-hero__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

@keyframes homePathDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes homeNodeIn {
  from { opacity: 0; transform: scale(0.4); transform-origin: center; }
  to { opacity: 1; }
}

/* ---------- 通用章节 ---------- */
.page-home .home-section {
  position: relative;
  padding: 58px 0;
}

.page-home .section-head {
  margin-bottom: 30px;
}

.page-home .section-head .lede {
  margin-top: 12px;
  color: var(--ink-soft);
}

.page-home .eyebrow--on-dark {
  color: var(--gold);
}

/* ---------- 模块速览 ---------- */
.page-home .home-section--modules::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(58, 66, 82, 0.06) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(58, 66, 82, 0.06) 0 1px, transparent 1px 52px);
  pointer-events: none;
}

.page-home .home-section--modules > .wrap {
  position: relative;
}

.page-home .modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .home-cut {
  background: var(--gold);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  padding: 1px;
  display: flex;
}

.page-home .home-cut--accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
}

.page-home .module-panel {
  background: var(--cloud);
  clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.page-home .module-panel .tag {
  align-self: flex-start;
}

.page-home .module-panel__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.page-home .module-panel__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .module-panel__figure {
  margin: 2px 0 0;
  height: 158px;
  overflow: hidden;
  position: relative;
  background: var(--indigo);
}

.page-home .module-panel__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .module-panel__foot {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.page-home .module-panel__foot .num {
  color: var(--gold-ink);
}

.page-home .module-panel__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 31, 43, 0.35);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.page-home .module-panel__link:hover,
.page-home .module-panel__link:focus-visible {
  color: var(--gold-ink);
  border-color: var(--gold);
}

/* ---------- 期号带 ---------- */
.page-home .home-section--epochs {
  background: var(--indigo);
  color: var(--cloud);
  overflow: hidden;
}

.page-home .epochs-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.page-home .home-section--epochs .wrap {
  position: relative;
}

.page-home .home-section--epochs .lede {
  color: rgba(247, 243, 234, 0.76);
}

.page-home .epoch-strip {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 6px 20px 22px;
  scrollbar-width: thin;
}

.page-home .epoch-strip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.page-home .epoch-strip__track {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.page-home .epoch-chip {
  scroll-snap-align: start;
  min-width: 158px;
  padding: 18px 18px 16px;
  background: rgba(30, 46, 78, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .epoch-chip--lead {
  background: rgba(122, 31, 43, 0.62);
  border-color: var(--gold);
}

.page-home .epoch-chip__id {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-home .epoch-chip__note {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .epoch-chip .tag {
  align-self: flex-start;
}

/* ---------- 路径三步 ---------- */
.page-home .home-section--steps {
  background: var(--paper);
}

.page-home .steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: step;
  border-left: 2px solid var(--line);
}

.page-home .step {
  position: relative;
  padding: 18px 4px 20px 22px;
}

.page-home .step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 26px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--paper);
}

.page-home .step__index {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
  margin-bottom: 6px;
}

.page-home .step__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  margin: 0 0 8px;
  color: var(--ink);
}

.page-home .step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 40em;
}

.page-home .steps-visual {
  margin: 0;
  position: relative;
  background: var(--indigo);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  overflow: hidden;
}

.page-home .steps-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-home .steps-visual figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
  margin: 0;
}

/* ---------- 数据可溯 ---------- */
.page-home .home-section--trust {
  background: var(--indigo);
  color: var(--cloud);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .trust-title {
  color: var(--cloud);
  margin: 8px 0 0;
}

.page-home .trust-text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.78);
  max-width: 40em;
}

.page-home .trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .btn--ghost-dark {
  color: var(--mist);
  border-color: rgba(175, 192, 216, 0.5);
}

.page-home .btn--ghost-dark:hover,
.page-home .btn--ghost-dark:focus-visible {
  color: var(--cloud);
  border-color: var(--gold);
}

.page-home .trust-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(201, 162, 39, 0.26);
  border: 1px solid rgba(201, 162, 39, 0.26);
}

.page-home .trust-stat {
  background: var(--indigo);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .trust-stat strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.page-home .trust-stat span {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 243, 234, 0.68);
}

/* ---------- 继续读 ---------- */
.page-home .home-section--reading {
  background: var(--paper);
}

.page-home .reading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.page-home .reading-col__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  color: var(--ink);
}

.page-home .post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .post-item__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 18px 20px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-left: 3px solid var(--crimson);
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-home .post-item__link:hover,
.page-home .post-item__link:focus-visible {
  transform: translateX(5px);
  border-left-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.page-home .post-item__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
}

.page-home .post-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.page-home .post-item__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .reading-col--faq .fold {
  border-bottom: 1px solid var(--line);
}

.page-home .fold-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 17px 30px 17px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.page-home .fold-trigger::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s ease;
}

.page-home .fold-trigger[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(-135deg);
}

.page-home .fold-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-home .fold-panel {
  padding: 0 30px 18px 0;
}

.page-home .fold-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .reading-col__more {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 31, 43, 0.35);
  padding-bottom: 2px;
}

.page-home .reading-col__more:hover,
.page-home .reading-col__more:focus-visible {
  color: var(--gold-ink);
  border-color: var(--gold);
}

/* ---------- 滚动显现 ---------- */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-home [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-home .home-section {
    padding: 76px 0;
  }

  .page-home .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-cut--accent {
    grid-column: 1 / -1;
  }

  .page-home .module-panel--media {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "tag figure"
      "title figure"
      "text figure"
      "foot figure"
      "link figure";
    align-items: start;
    column-gap: 26px;
  }

  .page-home .module-panel--media .tag { grid-area: tag; }
  .page-home .module-panel--media .module-panel__title { grid-area: title; }
  .page-home .module-panel--media .module-panel__text { grid-area: text; }
  .page-home .module-panel--media .module-panel__foot { grid-area: foot; align-self: end; }
  .page-home .module-panel--media .module-panel__link { grid-area: link; }
  .page-home .module-panel--media .module-panel__figure {
    grid-area: figure;
    height: 100%;
    min-height: 190px;
    margin: 0;
  }

  .page-home .trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .reading-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 980px) {
  .page-home .home-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
    min-height: 100vh;
    min-height: 100svh;
  }

  .page-home .home-hero__narrative {
    padding: 132px 54px 76px 48px;
    justify-content: center;
    gap: 20px;
  }

  .page-home .home-hero__visual {
    min-height: 100svh;
  }

  .page-home .home-hero__title {
    font-size: clamp(48px, 5.2vw, 76px);
  }

  .page-home .home-hero__subtitle {
    font-size: clamp(38px, 4.2vw, 62px);
  }

  .page-home .home-section {
    padding: 96px 0;
  }

  .page-home .home-section--modules::after {
    content: "01 / 三大模块";
    position: absolute;
    right: 26px;
    top: 96px;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--mist);
    writing-mode: vertical-rl;
  }

  .page-home .modules-grid {
    grid-template-columns: 1.06fr 0.94fr 1.1fr;
    align-items: stretch;
    gap: 22px;
  }

  .page-home .home-cut--accent {
    grid-column: auto;
  }

  .page-home .module-panel--media {
    display: flex;
    grid-template-areas: none;
  }

  .page-home .module-panel--media .module-panel__figure {
    height: 168px;
    min-height: 0;
    width: 100%;
  }

  .page-home .epoch-strip {
    padding-left: calc((100vw - var(--wrap-max)) / 2 + 20px);
    padding-right: 20px;
  }

  .page-home .steps-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 48px;
    align-items: start;
  }

  .page-home .steps-visual {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-home .trust-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
}

/* ---------- 降低动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home .hero-map__path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .page-home .hero-map__node {
    animation: none;
    opacity: 1;
  }

  .page-home .post-item__link:hover,
  .page-home .post-item__link:focus-visible {
    transform: none;
  }

  .page-home .epoch-strip {
    scroll-behavior: auto;
  }
}
<<<END>>>
