/* ============================================================
   page-home —— 首页专属样式（全部限定在 .page-home 作用域内）
   ============================================================ */

.page-home {
  --home-edge: clamp(20px, 4vw, 64px);
  --home-grain: rgba(31, 79, 70, 0.55);
  display: block;
  color: var(--text);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏分屏 ---------- */

.page-home .home-hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink-900);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero__story {
  padding: clamp(36px, 7vw, 104px) var(--home-edge) clamp(40px, 6vw, 84px);
}

.page-home .hero-context {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-hero__story h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  line-height: 1.2;
  letter-spacing: 0.004em;
  max-width: 17em;
}

.page-home .hero-lede {
  margin: 22px 0 0;
  max-width: 40em;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.9;
  color: var(--text);
}

.page-home .hero-lede--dim {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-home .hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 1px;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line);
}

.page-home .hero-metrics li {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  background: var(--ink-900);
}

.page-home .hero-metric__value {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold-hi);
}

.page-home .hero-metric__label {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

/* 首屏右侧：数据侧视觉 */

.page-home .home-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 400px;
  background: var(--ink-800);
  border-top: 1px solid var(--gold);
  overflow: hidden;
}

.page-home .visual-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: contrast(1.06) saturate(0.85);
}

.page-home .visual-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--home-grain) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grain) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 26, 23, 0.4) 0%, rgba(7, 26, 23, 0.12) 42%, rgba(7, 26, 23, 0.92) 100%);
  pointer-events: none;
}

.page-home .cat-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
}

.page-home .ring-stack {
  position: absolute;
  inset: 0 0 86px 0;
  z-index: 3;
  pointer-events: none;
}

.page-home .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.page-home .ring--a { width: min(36%, 190px); aspect-ratio: 1; }
.page-home .ring--b { width: min(52%, 272px); aspect-ratio: 1; }
.page-home .ring--c { width: min(68%, 354px); aspect-ratio: 1; }
.page-home .ring--d { width: min(84%, 436px); aspect-ratio: 1; }

.page-home #cat-slot-1:checked ~ .ring-stack .ring--a,
.page-home #cat-slot-2:checked ~ .ring-stack .ring--b,
.page-home #cat-slot-3:checked ~ .ring-stack .ring--c,
.page-home #cat-slot-4:checked ~ .ring-stack .ring--d {
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(63, 224, 208, 0.22);
  transform: translate(-50%, -50%) scale(1.04);
}

.page-home .ring-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.page-home .ring-core .mono {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.12em;
  color: var(--gold-hi);
}

.page-home .ring-core em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .cat-switch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
}

.page-home .cat-switch li {
  background: rgba(7, 26, 23, 0.88);
}

.page-home .cat-switch label {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 13px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.page-home .cat-switch .mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
}

.page-home #cat-slot-1:checked ~ .cat-switch label[for="cat-slot-1"],
.page-home #cat-slot-2:checked ~ .cat-switch label[for="cat-slot-2"],
.page-home #cat-slot-3:checked ~ .cat-switch label[for="cat-slot-3"],
.page-home #cat-slot-4:checked ~ .cat-switch label[for="cat-slot-4"] {
  color: var(--cyan);
  background: rgba(63, 224, 208, 0.09);
}

/* ---------- 横向时间轴带 ---------- */

.page-home .home-timeline {
  position: relative;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .timeline-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

.page-home .home-timeline .shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 7vw, 92px);
}

.page-home .timeline-intro {
  margin: 14px 0 0;
  max-width: 46em;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .timeline-track {
  display: flex;
  gap: 0;
  margin: 44px 0 0;
  padding: 0 0 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.page-home .timeline-track:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

.page-home .tl-node {
  position: relative;
  flex: 0 0 clamp(216px, 25vw, 296px);
  padding: 36px 24px 0 0;
  scroll-snap-align: start;
}

.page-home .tl-node::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
}

.page-home .tl-node::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.page-home .tl-node--now::before {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  opacity: 1;
}

.page-home .tl-node--now::after {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(63, 224, 208, 0.16);
}

.page-home .tl-node__year {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.05em;
  color: var(--gold-hi);
}

.page-home .tl-node--now .tl-node__year {
  color: var(--cyan);
}

.page-home .tl-node__tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .tl-node__title {
  margin: 14px 0 8px;
  font-size: 1.04rem;
  line-height: 1.5;
}

.page-home .tl-node__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 四类固定分类索引 ---------- */

.page-home .home-cats {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.page-home .cats-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}

.page-home .cats-texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-cats .shell {
  position: relative;
  z-index: 1;
}

.page-home .cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 40px;
  background: var(--line-soft);
  border: 1px solid var(--line);
}

.page-home .cat-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--ink-900);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background-color 220ms var(--ease);
}

.page-home .cat-card:hover,
.page-home .cat-card:focus-within {
  background: var(--ink-700);
}

.page-home .cat-card__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .cat-card__num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.page-home .cat-card__name {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 600;
}

.page-home .cat-card__win {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .cat-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.page-home .cat-card__ver {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .cat-card__link {
  font-size: 0.82rem;
  color: var(--gold-hi);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}

.page-home .cat-card__link:hover,
.page-home .cat-card__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 三项口径互链 ---------- */

.page-home .home-triad {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding: clamp(48px, 7vw, 96px) var(--home-edge);
  background: var(--ink-800);
  border-block: 1px solid var(--line);
}

.page-home .triad-list {
  margin-top: 34px;
}

.page-home .triad-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.page-home .triad-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .triad-item__idx {
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .triad-item__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.page-home .triad-item__desc {
  margin: 0;
  max-width: 44em;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .triad-item__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .triad-item__link:hover,
.page-home .triad-item__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .triad-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .triad-aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .triad-aside p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 最新一期校订摘要 ---------- */

.page-home .home-latest {
  padding-block: clamp(48px, 7vw, 92px);
}

.page-home .latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
}

.page-home .latest-version {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px clamp(20px, 2.4vw, 30px) 30px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}

.page-home .latest-version__num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
}

.page-home .latest-version__meta {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .latest-body h2 {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
}

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

.page-home .latest-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.8;
}

.page-home .latest-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .latest-list .dot {
  margin-top: 8px;
}

/* ---------- 口径咨询入口 ---------- */

.page-home .home-contact {
  padding-block: clamp(44px, 6vw, 78px);
  background: var(--ink-800);
  border-top: 1px solid var(--line);
}

.page-home .contact-card {
  display: grid;
  gap: 16px;
  max-width: 62ch;
  padding-left: 22px;
  border-left: 2px solid var(--cyan);
}

.page-home .contact-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.page-home .contact-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .contact-mail {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.24rem);
  letter-spacing: 0.03em;
  color: var(--cyan);
  word-break: break-all;
}

.page-home .contact-note {
  font-size: 0.82rem;
}

.page-home .contact-link {
  justify-self: start;
  font-size: 0.86rem;
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-home .contact-link:hover,
.page-home .contact-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 响应式 ---------- */

@media (min-width: 480px) {
  .page-home .cat-switch {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .page-home .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .latest-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: 58fr 42fr;
  }

  .page-home .home-hero__story {
    padding-left: max(var(--home-edge), calc((100vw - var(--maxw)) / 2));
  }

  .page-home .home-hero__visual {
    min-height: 580px;
    border-top: 0;
    border-left: 1px solid var(--gold);
  }

  .page-home .home-triad {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-triad,
  .page-home .home-cats .shell,
  .page-home .home-latest .shell,
  .page-home .home-contact .shell {
    padding-left: max(var(--home-edge), calc((100vw - var(--maxw)) / 2));
    padding-right: max(var(--home-edge), calc((100vw - var(--maxw)) / 2));
  }

  .page-home .home-timeline .shell {
    padding-left: max(var(--home-edge), calc((100vw - var(--maxw)) / 2));
    padding-right: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .ring,
  .page-home .cat-card,
  .page-home .cat-switch label,
  .page-home .cat-card__link,
  .page-home .triad-item__link,
  .page-home .contact-link {
    transition-duration: 0.01ms;
  }
}
<<<END>>>
