.page-home {
  --home-gap: clamp(18px, 3.4vw, 40px);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(20px, 4vw, 56px)) 0 clamp(44px, 7vw, 96px);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(77, 216, 255, .12), transparent 56%),
    radial-gradient(90% 80% at 92% 6%, rgba(200, 255, 62, .10), transparent 62%),
    var(--ink-900);
  isolation: isolate;
}

.page-home .home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: .3;
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(233, 229, 216, .05) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, rgba(7, 18, 13, .6) 0%, rgba(7, 18, 13, .94) 72%, var(--ink-900) 100%);
}

.page-home .home-hero__crumb ol {
  list-style: none;
  margin: 0 0 clamp(18px, 3vw, 34px);
  padding: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .home-hero__since {
  color: var(--lime);
  margin: 0 0 .9em;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 6.2vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin: 0 0 .45em;
  max-width: 17ch;
  color: var(--text);
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--lime);
  display: inline-block;
}

.page-home .home-hero__deck {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.075rem);
  line-height: 1.9;
  color: var(--text);
  opacity: .86;
}

/* 拼贴主体 */
.page-home .home-hero__board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(32px, 5vw, 68px);
}

.page-home .home-hero__index {
  order: 3;
}

.page-home .home-hero__index > p {
  margin: 0 0 .9em;
  color: var(--muted);
}

.page-home .home-hero__index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.page-home .home-hero__index a {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color .24s var(--ease), border-color .24s var(--ease);
}

.page-home .home-hero__index a:hover,
.page-home .home-hero__index a:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
}

.page-home .home-figure {
  order: 1;
  position: relative;
  padding: 0 0 26px;
}

.page-home .home-figure__num {
  display: block;
  font-size: clamp(5.2rem, 16vw, 9.5rem);
  line-height: .82;
  font-weight: 700;
  letter-spacing: -.05em;
  color: var(--lime);
}

.page-home .home-figure__cap {
  display: block;
  margin-top: .8em;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.7;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .home-figure__line {
  display: block;
  width: 64px;
  height: 2px;
  margin: 20px 0 16px;
  background: var(--amber);
}

.page-home .home-figure__note {
  margin: 0;
  max-width: 30ch;
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--text);
  opacity: .78;
}

/* 三块拼贴入口 */
.page-home .home-hero__cards {
  order: 2;
  display: grid;
  gap: 14px;
}

.page-home .home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(160deg, rgba(20, 48, 31, .96), rgba(12, 28, 21, .92));
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .home-card:hover,
.page-home .home-card:focus-within {
  transform: translateY(-4px);
  border-left-color: var(--lime);
  box-shadow: 0 22px 44px -30px rgba(200, 255, 62, .5);
}

.page-home .home-card > p.wm-label {
  margin: 0;
  color: var(--blue);
}

.page-home .home-card__head {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.28;
  letter-spacing: -.015em;
  color: var(--text);
}

.page-home .home-card__body {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.82;
  color: var(--muted);
}

.page-home .home-card__visual {
  margin: 4px -8px 0;
  border: 1px solid var(--line);
}

.page-home .home-card__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 1;
  filter: saturate(.9) contrast(1.05);
}

.page-home .home-card__meta {
  margin: 0;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--text);
  opacity: .8;
}

.page-home .home-card__meta .wm-num {
  font-size: 1.35rem;
  color: var(--amber);
  margin-right: .3em;
}

.page-home .home-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 62, .45);
  transition: border-color .24s var(--ease), color .24s var(--ease);
}

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

/* 斜切过渡带 */
.page-home .home-seam {
  position: relative;
  height: clamp(90px, 16vw, 190px);
  overflow: hidden;
  background: var(--pitch-950);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.page-home .home-seam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: grayscale(.4) contrast(1.15);
}

.page-home .home-seam::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(96deg, rgba(7, 18, 13, .7) 0 12px, rgba(12, 28, 21, .35) 12px 26px);
}

/* ---------- 通用区块骨架 ---------- */
.page-home .home-band {
  position: relative;
  padding: clamp(48px, 8vw, 108px) 0;
}

.page-home .home-band--pitch {
  background: var(--pitch-950);
}

.page-home .home-band--paper {
  background: var(--paper);
  color: var(--paper-ink);
  --text: var(--paper-ink);
  --muted: #5B6553;
  --line: #CFC8B4;
  --line-strong: #B4AC93;
}

.page-home .home-band--plans {
  background:
    radial-gradient(80% 70% at 88% 10%, rgba(255, 165, 58, .12), transparent 62%),
    var(--ink-900);
}

.page-home .home-band__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.page-home .home-band__head--single {
  max-width: 62ch;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.page-home .home-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: .35em 0 .55em;
  color: var(--text);
}

.page-home .home-band__lede {
  margin: 0;
  max-width: 54ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

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

.page-home .home-band__fig img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: cover;
  filter: grayscale(.28) contrast(1.06);
  border: 1px solid var(--line);
}

.page-home .home-band__fig figcaption {
  margin-top: 12px;
  max-width: 34ch;
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1.7;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .home-band__foot {
  margin-top: clamp(30px, 5vw, 58px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.page-home .home-band__foot p {
  margin: 0;
  max-width: 68ch;
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 时间轴 ---------- */
.page-home .home-timeline {
  margin-top: clamp(30px, 5vw, 56px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.page-home .home-timeline:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.page-home .home-timeline__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 272px);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) 6px;
}

.page-home .home-timeline__node {
  position: relative;
  scroll-snap-align: start;
  padding-top: 92px;
}

.page-home .home-timeline__node::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  right: -22px;
  height: 1px;
  background: var(--line-strong);
}

.page-home .home-timeline__node:last-child::before {
  right: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.page-home .home-timeline__year {
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--lime);
}

.page-home .home-timeline__dot {
  position: absolute;
  top: 45px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 62, .16);
}

.page-home .home-timeline__node:last-child .home-timeline__dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 165, 58, .2);
}

.page-home .home-timeline__what {
  margin: 0;
  font-size: .9rem;
  line-height: 1.86;
  color: var(--text);
  opacity: .8;
}

/* ---------- 实时节奏 ---------- */
.page-home .home-now__head {
  max-width: 64ch;
}

.page-home .home-now__lede {
  margin: 0 0 clamp(24px, 4vw, 44px);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.page-home .home-rhythm__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--paper-ink);
}

.page-home .home-rhythm {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}

.page-home .home-rhythm__cap {
  caption-side: top;
  text-align: left;
  padding: 14px 0 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-rhythm th,
.page-home .home-rhythm td {
  text-align: left;
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.72;
}

.page-home .home-rhythm thead th {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  font-weight: 500;
}

.page-home .home-rhythm tbody th {
  font-weight: 700;
  color: var(--paper-ink);
  white-space: nowrap;
}

.page-home .home-rhythm tbody td {
  color: var(--muted);
}

.page-home .home-rhythm tbody td:last-child {
  color: var(--paper-ink);
}

/* ---------- 使用场景 ---------- */
.page-home .home-users {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-user {
  position: relative;
  padding: clamp(20px, 3vw, 30px) clamp(18px, 2.6vw, 28px) clamp(22px, 3vw, 32px);
  background: rgba(20, 48, 31, .55);
  border: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.page-home .home-user:hover {
  background: rgba(20, 48, 31, .9);
  border-color: var(--line-strong);
}

.page-home .home-user__idx {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--blue);
  margin-bottom: 14px;
}

.page-home .home-user__head {
  margin: 0 0 .7em;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-home .home-user__body {
  margin: 0;
  font-size: .9rem;
  line-height: 1.88;
  color: var(--muted);
}

.page-home .home-users__foot {
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  align-items: start;
}

.page-home .home-users__foot p {
  margin: 0;
  max-width: 62ch;
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 订阅档位 ---------- */
.page-home .home-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .home-plan {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: rgba(12, 28, 21, .7);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-plan--feature {
  border-color: var(--lime);
  background: linear-gradient(155deg, rgba(200, 255, 62, .1), rgba(12, 28, 21, .9) 62%);
}

.page-home .home-plan > p.wm-label {
  margin: 0;
  color: var(--muted);
}

.page-home .home-plan--feature > p.wm-label {
  color: var(--lime);
}

.page-home .home-plan__head {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -.02em;
  color: var(--text);
}

.page-home .home-plan__body {
  margin: 0;
  font-size: .9rem;
  line-height: 1.86;
  color: var(--muted);
}

.page-home .home-plan__tag {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--text);
  opacity: .84;
}

.page-home .home-plan__tag .wm-num {
  font-size: 1.3rem;
  color: var(--amber);
  margin-right: .35em;
}

.page-home .home-plans__foot {
  margin-top: clamp(26px, 4vw, 44px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
}

.page-home .home-plans__note {
  margin: 0;
  max-width: 56ch;
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--muted);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-band__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  }

  .page-home .home-band__head--single {
    grid-template-columns: 1fr;
  }

  .page-home .home-users__foot,
  .page-home .home-plans__foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-hero__index ol {
    flex-direction: column;
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__board {
    grid-template-columns: minmax(130px, .72fr) minmax(220px, 1.28fr) minmax(360px, 2.1fr);
    align-items: start;
  }

  .page-home .home-hero__index {
    order: 1;
  }

  .page-home .home-figure {
    order: 2;
  }

  .page-home .home-hero__cards {
    order: 3;
    grid-template-columns: 1.42fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: start;
  }

  .page-home .home-card--contract {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .page-home .home-card--draw {
    grid-column: 2;
    grid-row: 1;
    transform: translateY(-10px);
  }

  .page-home .home-card--form {
    grid-column: 2;
    grid-row: 2;
    transform: translateY(14px);
  }

  .page-home .home-card--draw:hover,
  .page-home .home-card--draw:focus-within {
    transform: translateY(-14px);
  }

  .page-home .home-card--form:hover,
  .page-home .home-card--form:focus-within {
    transform: translateY(10px);
  }

  .page-home .home-plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .page-home .home-plan--feature {
    transform: translateY(-14px);
  }

  .page-home .home-users {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  .page-home .home-user:nth-child(1) { grid-column: span 3; }
  .page-home .home-user:nth-child(2) { grid-column: span 3; }
  .page-home .home-user:nth-child(3) { grid-column: span 2; }
  .page-home .home-user:nth-child(4) { grid-column: span 2; }
  .page-home .home-user:nth-child(5) { grid-column: span 2; }

  .page-home .home-band__title {
    max-width: 22ch;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero__title {
    max-width: 19ch;
  }

  .page-home .home-figure__note {
    max-width: 26ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card,
  .page-home .home-user,
  .page-home .home-card__link,
  .page-home [data-reveal] {
    transition: none;
  }

  .page-home .home-card--draw,
  .page-home .home-card--form,
  .page-home .home-plan--feature {
    transform: none;
  }

  .page-home .home-card:hover,
  .page-home .home-card:focus-within {
    transform: none;
  }
}
