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

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px));
  padding-bottom: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(20, 81, 47, 0.68), transparent 62%),
    radial-gradient(70% 55% at 0% 100%, rgba(14, 59, 42, 0.55), transparent 72%),
    var(--ink-black);
  border-bottom: 2px solid var(--line);
}

.page-home .hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.page-home .hm-hero__crumb {
  margin-bottom: 22px;
}

.page-home .hm-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 8.2vw, 66px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.page-home .hm-hero__lede {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.78;
  color: #C3D0C8;
}

.page-home .hm-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 2px solid var(--line);
}

.page-home .hm-fact {
  display: grid;
  gap: 4px;
  min-width: 96px;
}

.page-home .hm-fact__v {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  color: var(--neon);
  line-height: 1.1;
}

.page-home .hm-fact__l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--note);
}

/* 章节索引 */
.page-home .hm-chapters {
  list-style: none;
  margin: clamp(30px, 5vw, 46px) 0 0;
  padding: 0;
  border-top: 2px solid var(--line);
}

.page-home .hm-chapter {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 15px 12px 15px 8px;
  border-bottom: 2px solid var(--line);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.page-home .hm-chapter:hover,
.page-home .hm-chapter:focus-visible {
  border-left-color: var(--neon);
  background: rgba(182, 255, 60, 0.07);
  transform: translateX(4px);
  outline: none;
}

.page-home .hm-chapter__no {
  font-size: 13px;
  color: var(--neon);
  padding-top: 3px;
}

.page-home .hm-chapter__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .hm-chapter__meta {
  grid-column: 2;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--note);
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.page-home .hm-chapter:hover .hm-chapter__meta,
.page-home .hm-chapter:focus-visible .hm-chapter__meta {
  max-height: 44px;
  opacity: 1;
  margin-top: 6px;
}

/* 首屏侧栏 */
.page-home .hm-hero__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .hm-progress {
  padding: clamp(16px, 2.4vw, 22px);
}

.page-home .hm-progress__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hm-progress__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.page-home .hm-progress__name {
  font-size: 14px;
  font-weight: 600;
}

.page-home .hm-progress__track {
  position: relative;
  display: block;
  height: 10px;
  background: rgba(242, 246, 239, 0.1);
  border: 1px solid var(--line);
}

.page-home .hm-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--pitch-green), var(--neon));
}

.page-home .hm-progress__val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-progress__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--note);
}

.page-home .hm-hero__figure {
  margin: 0;
}

.page-home .hm-hero__figure .media__frame {
  border: 2px solid var(--line);
  overflow: hidden;
}

.page-home .hm-hero__figure .media__img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

/* ---------- 区块骨架 ---------- */
.page-home .hm-band {
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .hm-band--dark {
  background: var(--ink-black);
  color: var(--paper);
}

.page-home .hm-band--green {
  background: linear-gradient(160deg, var(--deep-green), var(--ink-black) 88%);
  color: var(--paper);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.page-home .hm-band--paper {
  background: var(--paper);
  color: var(--ink-black);
  border-bottom: 2px solid var(--line-on-paper);
}

.page-home .hm-band__head {
  max-width: 68ch;
}

.page-home .hm-band__head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.page-home .hm-title {
  margin: 12px 0 0;
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.page-home .hm-lede {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.78;
  color: #C3D0C8;
  max-width: 64ch;
}

.page-home .hm-band--paper .hm-lede {
  color: var(--note-on-paper);
}

.page-home .hm-band--paper .eyebrow {
  color: var(--deep-green);
}

.page-home .hm-band__figure {
  margin: clamp(34px, 5vw, 56px) 0 0;
}

/* ---------- 组别 ---------- */
.page-home .hm-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
  margin-top: clamp(30px, 5vw, 52px);
}

.page-home .hm-group {
  background: var(--ink-black);
  padding: 24px 22px 28px;
  transition: background-color 0.25s ease;
}

.page-home .hm-group:hover {
  background: var(--deep-green);
}

.page-home .hm-group__code {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .hm-group__name {
  margin: 12px 0 0;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .hm-group__desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--note);
}

/* ---------- 第 18 轮快照 ---------- */
.page-home .hm-snap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 36px);
  margin-top: clamp(30px, 5vw, 52px);
}

.page-home .hm-snap__panel {
  padding: clamp(16px, 2.4vw, 24px);
}

.page-home .hm-snap__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .hm-snap__figure {
  margin: 0;
}

.page-home .hm-snap__figure .media__frame {
  border: 2px solid var(--line-on-paper);
  overflow: hidden;
}

.page-home .hm-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
}

.page-home .hm-table {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--paper);
}

.page-home .hm-table th,
.page-home .hm-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.page-home .hm-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--note);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.page-home .hm-table tbody th {
  font-weight: 600;
  font-size: 14px;
}

.page-home .hm-table tbody tr:last-child th,
.page-home .hm-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .hm-table .num {
  font-variant-numeric: tabular-nums;
  color: var(--neon);
}

.page-home .hm-table .num--alt {
  color: var(--orange);
}

.page-home .hm-offsides {
  padding: clamp(16px, 2.4vw, 22px);
}

.page-home .hm-offsides__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .hm-offsides__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.page-home .hm-offsides__row:last-child {
  border-bottom: 0;
}

.page-home .hm-offsides__row .num {
  font-size: 18px;
  font-weight: 700;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

/* ---------- V4 ---------- */
.page-home .hm-v4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.page-home .hm-v4__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hm-v4__list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: #C3D0C8;
}

.page-home .hm-v4__k {
  font-size: 13px;
  color: var(--neon);
  letter-spacing: 0.08em;
}

.page-home .hm-v4 .btn {
  margin-top: 26px;
}

.page-home .hm-v4__visual {
  display: grid;
  gap: 18px;
}

.page-home .hm-v4__figure {
  margin: 0;
}

.page-home .hm-v4__figure .media__frame {
  border: 2px solid var(--neon);
  box-shadow: var(--shadow-brut);
  overflow: hidden;
}

.page-home .hm-dotgrid {
  width: 100%;
  height: auto;
  max-height: 96px;
  color: var(--neon);
  opacity: 0.75;
}

/* ---------- 会员权益 ---------- */
.page-home .hm-tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
  margin-top: clamp(30px, 5vw, 52px);
}

.page-home .hm-tier__card {
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  align-content: start;
}

.page-home .hm-tier__card--member {
  background: linear-gradient(150deg, var(--deep-green), var(--panel));
}

.page-home .hm-tier__name {
  margin: 14px 0 0;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 800;
}

.page-home .hm-tier__card .tag {
  margin-top: 0;
}

.page-home .hm-tier__price {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .hm-tier__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-home .hm-tier__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #C3D0C8;
}

.page-home .hm-tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--neon);
}

.page-home .hm-tier__card--member .hm-tier__list li::before {
  background: var(--orange);
}

.page-home .hm-tier__card--member .hm-tier__list li {
  color: var(--paper);
}

.page-home .hm-tier__card .btn {
  margin-top: 24px;
  justify-self: start;
}

.page-home .hm-reach {
  list-style: none;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 2px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
}

.page-home .hm-reach__item {
  display: grid;
  gap: 5px;
}

.page-home .hm-reach__v {
  font-size: clamp(20px, 3.2vw, 26px);
  font-weight: 700;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-reach__l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--note);
}

/* ---------- 档案与地域 ---------- */
.page-home .hm-archive {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 54px);
  align-items: start;
}

.page-home .hm-archive__lead .btn {
  margin-top: 26px;
}

.page-home .hm-archive__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  background: var(--line-on-paper);
  border: 2px solid var(--line-on-paper);
}

.page-home .hm-archive__card {
  background: var(--archive);
  padding: 24px 22px 28px;
}

.page-home .hm-archive__n {
  display: block;
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--deep-green);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-archive__h {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.page-home .hm-archive__p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--note-on-paper);
}

/* ---------- 专栏 ---------- */
.page-home .hm-posts {
  list-style: none;
  margin: clamp(30px, 5vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  background: var(--line);
  border: 2px solid var(--line);
}

.page-home .hm-post {
  background: var(--ink-black);
}

.page-home .hm-post__link {
  display: block;
  padding: clamp(22px, 3vw, 30px);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.25s ease;
}

.page-home .hm-post__link:hover,
.page-home .hm-post__link:focus-visible {
  background: var(--deep-green);
  outline: none;
}

.page-home .hm-post__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .hm-post__h {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.page-home .hm-post__p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--note);
}

.page-home .hm-post__more {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--neon);
  border-bottom: 2px solid var(--neon);
  padding-bottom: 3px;
}

.page-home .hm-column__foot {
  margin: 30px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--note);
}

.page-home .hm-inline-link {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--neon);
}

.page-home .hm-inline-link:hover,
.page-home .hm-inline-link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 图片基线 ---------- */
.page-home .media__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .media__cap {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--note);
}

.page-home .hm-band--paper .media__cap {
  color: var(--note-on-paper);
}

/* ---------- 断点 ---------- */
@media (max-width: 899px) {
  .page-home .hm-chapter__meta {
    max-height: none;
    opacity: 1;
    margin-top: 6px;
  }

  .page-home .hm-brand-scroll-hint {
    display: none;
  }
}

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

  .page-home .hm-reach {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .hm-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-archive__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(280px, 1fr);
    gap: clamp(34px, 5vw, 76px);
  }

  .page-home .hm-title {
    max-width: 24ch;
  }

  .page-home .hm-snap {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  }

  .page-home .hm-v4 {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  }

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

  .page-home .hm-archive {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .page-home .hm-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  .page-home .hm-hero__side {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-chapter,
  .page-home .hm-chapter__meta,
  .page-home .hm-group,
  .page-home .hm-post__link {
    transition: none;
  }

  .page-home .hm-chapter:hover,
  .page-home .hm-chapter:focus-visible {
    transform: none;
  }
}
