.page-home {
  --home-panel: #131313;
  --home-line: rgba(212, 175, 55, 0.22);
  --home-line-soft: rgba(212, 175, 55, 0.12);
  display: block;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home .shell {
  width: min(var(--shell), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.page-home .section-block {
  position: relative;
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .section-block--panel {
  background: linear-gradient(180deg, var(--ink-deep), var(--ink) 78%);
}

.page-home .section-block--channels {
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(15, 123, 108, 0.12), transparent 65%),
    var(--ink);
}

.page-home .section-block--rail {
  background:
    radial-gradient(80% 70% at 0% 100%, rgba(212, 175, 55, 0.1), transparent 62%),
    var(--ink);
}

.page-home .section-block--next {
  background: linear-gradient(180deg, var(--ink), var(--ink-deep));
  border-top: 1px solid var(--home-line-soft);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px) 0 clamp(48px, 7vw, 92px);
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(212, 175, 55, 0.2), transparent 60%),
    radial-gradient(85% 70% at -8% 108%, rgba(15, 123, 108, 0.14), transparent 64%),
    var(--ink);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gold-foil);
  clip-path: polygon(62% 100%, 100% 6%, 100% 100%);
  opacity: 0.1;
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 214, 122, 0.62), rgba(140, 107, 31, 0.04));
  clip-path: polygon(61.4% 100%, 99.4% 6%, 100% 6%, 62% 100%);
  pointer-events: none;
}

.page-home .hero__texture {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  mix-blend-mode: screen;
  filter: saturate(0.75);
  -webkit-mask-image: linear-gradient(100deg, transparent 4%, #000 46%);
  mask-image: linear-gradient(100deg, transparent 4%, #000 46%);
  pointer-events: none;
}

.page-home .hero__shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 5vw, 48px);
}

.page-home .hero__context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist-lt);
}

.page-home .hero__context i {
  width: 16px;
  height: 1px;
  background: var(--gold-dark);
}

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

.page-home .hero__title em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}

.page-home .hero__lede {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: rgba(245, 241, 230, 0.78);
}

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

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translateY(-2px);
}

.page-home .hero__metric {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-line);
  background: linear-gradient(150deg, rgba(212, 175, 55, 0.14), rgba(14, 14, 14, 0.76));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.page-home .hero__metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 2px;
  background: var(--gold-foil);
}

.page-home .hero__metric .metric__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist-lt);
}

.page-home .hero__number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 6px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.page-home .hero__number .metric__value {
  font-size: clamp(58px, 14vw, 104px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--gold-hi);
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
}

.page-home .hero__unit {
  font-size: clamp(18px, 3vw, 26px);
  color: var(--gold);
}

.page-home .hero__metric-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(185, 180, 166, 0.9);
}

/* ---------- 城市剪影色带 ---------- */
.page-home .city-band {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--home-line-soft);
  border-bottom: 1px solid var(--home-line-soft);
  background: var(--ink-deep);
  overflow: hidden;
}

.page-home .city-band__img {
  display: block;
  width: 100%;
  height: clamp(120px, 22vw, 260px);
  object-fit: cover;
  opacity: 0.72;
}

.page-home .city-band__caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(var(--shell), 100% - 2 * var(--gutter));
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist-lt);
  text-align: center;
}

/* ---------- 章节头 ---------- */
.page-home .section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 20px;
  align-items: start;
  margin-bottom: clamp(22px, 4vw, 44px);
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(38px, 9vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gold);
  -webkit-text-fill-color: transparent;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.3;
  color: var(--ivory);
}

.page-home .section-note {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--jade-lt);
}

.page-home .section-lede {
  margin: 0 0 20px;
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.9;
  color: rgba(245, 241, 230, 0.8);
}

.page-home .prose {
  max-width: var(--measure);
}

.page-home .prose p {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.9;
  color: rgba(245, 241, 230, 0.78);
}

.page-home .prose p:last-child {
  margin-bottom: 0;
}

/* ---------- 两栏分块 ---------- */
.page-home .split {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .split__full {
  margin-bottom: clamp(22px, 4vw, 38px);
}

/* ---------- 说明牌 ---------- */
.page-home .home-plate {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-line);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09), rgba(14, 14, 14, 0.7));
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.page-home .home-plate__title {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .home-plate__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-plate__list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--home-line-soft);
}

.page-home .home-plate__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--jade-lt);
}

.page-home .home-plate__val {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.86);
}

/* ---------- 订阅 ---------- */
.page-home .sub-block {
  margin-top: clamp(20px, 3vw, 30px);
}

.page-home .home-sub {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--home-line);
  background: rgba(14, 14, 14, 0.66);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-home .home-sub__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid var(--gold-dark);
  background: rgba(212, 175, 55, 0.08);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-home .home-sub__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory);
}

.page-home .home-sub__text small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-lt);
}

.page-home .home-sub.is-on {
  border-color: var(--coral);
  background: rgba(228, 87, 46, 0.12);
}

.page-home .home-sub.is-on .home-sub__box {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: inset 0 0 0 4px var(--ink-deep);
}

.page-home .sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .sub-chip {
  padding: 6px 13px;
  border: 1px solid rgba(53, 180, 156, 0.45);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--jade-lt);
}

.page-home .radial {
  margin: 0;
}

.page-home .radial img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
  opacity: 0.9;
}

.page-home .radial figcaption {
  max-width: 30em;
  margin: 14px auto 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mist-lt);
  text-align: center;
}

/* ---------- 频道索引 ---------- */
.page-home .chan-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .chan__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--home-line-soft);
  background: linear-gradient(120deg, rgba(26, 26, 26, 0.9), rgba(14, 14, 14, 0.9));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .chan__link:hover,
.page-home .chan__link:focus-visible {
  border-color: var(--gold);
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.1), rgba(14, 14, 14, 0.9));
  transform: translateX(4px);
}

.page-home .chan__tag {
  grid-row: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 123, 108, 0.9);
  color: var(--ivory);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.page-home .chan__name {
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--ivory);
}

.page-home .chan__desc {
  grid-column: 2 / -1;
  grid-row: 2;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(185, 180, 166, 0.92);
}

.page-home .chan__go {
  grid-row: 1;
  font-family: var(--font-mono);
  color: var(--gold);
}

/* ---------- 收藏 ---------- */
.page-home .mark-side {
  display: grid;
  gap: 18px;
}

.page-home .mark-figure {
  margin: 0;
}

.page-home .mark-figure img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.88;
}

.page-home .fav-card {
  padding: 18px 20px;
  border: 1px solid var(--home-line);
  background: rgba(14, 14, 14, 0.72);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.page-home .fav-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .home-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .home-fav__mark {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  transition: background 0.25s var(--ease);
}

.page-home .home-fav.is-active {
  background: var(--gold-foil);
  border-color: var(--gold-hi);
  color: var(--ink-deep);
}

.page-home .home-fav.is-active .home-fav__mark {
  background: var(--ink-deep);
}

.page-home .fav-card__name {
  margin: 14px 0 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  color: var(--ivory);
}

.page-home .fav-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist-lt);
}

/* ---------- 数据条 ---------- */
.page-home .rail {
  padding-top: 3px;
  background: var(--gold-foil);
  opacity: 0.98;
}

.page-home .rail__track {
  display: grid;
  gap: 1px;
  background: var(--home-line-soft);
}

.page-home .rail__item {
  display: grid;
  gap: 6px;
  padding: 20px 18px;
  background: var(--ink-deep);
}

.page-home .rail__item .metric__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(30px, 6.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-hi);
}

.page-home .rail__item .metric__label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--mist-lt);
}

.page-home .rail__note {
  max-width: 46em;
  margin: clamp(18px, 3vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(185, 180, 166, 0.92);
}

/* ---------- 下一步 ---------- */
.page-home .next-head {
  margin-bottom: clamp(22px, 4vw, 36px);
}

.page-home .next-head .section-lede {
  margin-bottom: 0;
}

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

.page-home .next-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--home-line-soft);
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.92), rgba(14, 14, 14, 0.92));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .next-card:hover,
.page-home .next-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.page-home .next-card__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .next-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--ivory);
}

.page-home .next-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(185, 180, 166, 0.94);
}

.page-home .next-card__go {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--jade-lt);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-home .chan-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 960px) {
  .page-home .hero__shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
    align-items: center;
  }

  .page-home .hero__right {
    display: flex;
    justify-content: flex-end;
  }

  .page-home .hero__metric {
    width: min(100%, 360px);
  }

  .page-home .split--a,
  .page-home .split--c {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-home .split--b {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-home .split--c .split__main {
    order: 1;
  }

  .page-home .split--c .mark-side {
    order: 2;
  }

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

  .page-home .chan__desc {
    grid-column: 2 / 3;
  }

  .page-home .chan__go {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (min-width: 1200px) {
  .page-home .hero {
    padding-bottom: clamp(72px, 8vw, 110px);
  }

  .page-home .section-head {
    gap: 20px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .btn,
  .page-home .chan__link,
  .page-home .next-card,
  .page-home .home-sub,
  .page-home .home-fav {
    transition: none;
  }

  .page-home .btn:hover,
  .page-home .chan__link:hover,
  .page-home .next-card:hover {
    transform: none;
  }
}
