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

.page-home {
  --home-axis-line: rgba(11, 27, 58, .16);
  --home-glow: rgba(127, 196, 232, .14);
}

/* ---------- 首屏：框景 + 年份刻度 ---------- */

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 clamp(44px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(127, 196, 232, .16) 0%, transparent 58%),
    linear-gradient(180deg, #071229 0%, #0B1B3A 100%);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  align-items: center;
}

.page-home .home-hero__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.9vw, 20px);
  padding: clamp(26px, 3.6vw, 44px) clamp(20px, 3vw, 38px) clamp(26px, 3.8vw, 46px);
  border: 1px solid var(--line-dark);
  background: rgba(7, 18, 41, .55);
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(127, 196, 232, .16);
  pointer-events: none;
}

.page-home .home-hero__ticks {
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--ice) 0 1px, transparent 1px 26px);
  opacity: .6;
  pointer-events: none;
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--cream);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.9;
  color: rgba(245, 241, 232, .82);
}

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

.page-home .home-hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 8px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .05em;
  color: rgba(214, 235, 247, .7);
}

.page-home .home-hero__meta .num {
  display: inline-block;
  margin-right: 7px;
  font-size: 19px;
  line-height: 1;
  color: var(--ice);
}

.page-home .home-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-dark);
}

/* ---------- 通用区块间距 ---------- */

.page-home .home-snapshot,
.page-home .home-run,
.page-home .home-cadence {
  background: var(--paper);
}

.page-home .home-snapshot .section__desc,
.page-home .home-run .section__desc,
.page-home .home-cadence .section__title + p {
  max-width: 62ch;
  color: var(--stone);
  line-height: 1.8;
}

/* ---------- 数据快照 ---------- */

.page-home .home-snapshot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .home-snap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 172px;
  padding: clamp(20px, 2.6vw, 28px) clamp(16px, 2vw, 22px);
  background: var(--paper);
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.page-home .home-snap:hover {
  transform: translateY(-2px);
  background: var(--ice-soft);
}

.page-home .home-snap__num {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--navy);
}

.page-home .home-snap:first-child .home-snap__num {
  color: var(--referee);
}

.page-home .home-snap__label {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--charcoal);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-snap p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--stone);
}

/* ---------- 年份轴 ---------- */

.page-home .home-axis {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  border: 1px solid var(--home-axis-line);
  background: var(--home-axis-line);
  counter-reset: phase;
}

.page-home .home-axis__phase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 20px 28px;
  background: var(--cream);
  transition: background .35s var(--ease);
}

.page-home .home-axis__phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--clay);
  opacity: .85;
}

.page-home .home-axis__phase:hover {
  background: var(--ice-soft);
}

.page-home .home-axis__years {
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--navy);
}

.page-home .home-axis__count {
  font-size: 22px;
  line-height: 1;
  color: var(--referee);
}

.page-home .home-axis__phase p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--stone);
}

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

.page-home .home-timeline__media {
  margin: clamp(30px, 5vw, 48px) 0 0;
  border: 1px solid var(--line-strong);
}

/* ---------- 跑动四类 ---------- */

.page-home .home-run__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.page-home .home-run__media {
  border: 1px solid var(--line-strong);
  margin: 0;
}

.page-home .home-run__list {
  list-style: none;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-run__list li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-run__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--stone);
}

.page-home .home-pos {
  display: inline-block;
  justify-self: start;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--turf);
  background: rgba(47, 125, 79, .08);
  border: 1px solid rgba(47, 125, 79, .42);
}

.page-home .home-run__note {
  margin: 20px 0 12px;
  padding-left: 14px;
  border-left: 2px solid var(--ice);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--charcoal);
}

/* ---------- 季票 / 点球入口 ---------- */

.page-home .home-entry .section__head--light .section__title {
  color: var(--cream);
}

.page-home .home-entry .section__head--light .section__desc {
  max-width: 60ch;
  color: rgba(214, 235, 247, .72);
  line-height: 1.8;
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.page-home .home-entry__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--navy);
}

.page-home .home-entry__media {
  margin: 0 0 6px;
  border: 1px solid var(--line-dark);
}

.page-home .home-entry__tag {
  align-self: flex-start;
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--clay);
  border: 1px solid rgba(181, 116, 74, .55);
}

.page-home .home-entry__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.25;
  color: var(--cream);
}

.page-home .home-entry__card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(214, 235, 247, .74);
}

.page-home .home-entry__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-dark);
}

.page-home .home-entry__facts dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: rgba(214, 235, 247, .55);
}

.page-home .home-entry__facts dd {
  margin: 5px 0 0;
  font-size: 24px;
  line-height: 1;
  color: var(--ice);
}

.page-home .home-entry__card .link--ice {
  margin-top: auto;
  padding-top: 10px;
  color: var(--ice);
}

/* ---------- 更新节奏 ---------- */

.page-home .home-cadence__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.page-home .home-cadence__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .home-cadence__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-cadence__num {
  font-size: 34px;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--clay);
}

.page-home .home-cadence__list h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--charcoal);
}

.page-home .home-cadence__list p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- 页尾行动区 ---------- */

.page-home .home-cta {
  background: var(--navy-deep);
  color: var(--cream);
  border-top: 1px solid var(--line-dark);
}

.page-home .home-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 40px);
  align-items: center;
}

.page-home .home-cta__text .kicker {
  color: var(--ice);
}

.page-home .home-cta__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  color: var(--cream);
}

.page-home .home-cta__text p {
  margin: 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(214, 235, 247, .76);
}

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

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

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

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

  .page-home .home-run__list li {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 22px;
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .home-cadence__grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .page-home .home-run__grid {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
    gap: clamp(30px, 4vw, 54px);
  }

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

  .page-home .home-cta__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, auto);
  }
}

@media (min-width: 980px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(30px, 3.4vw, 52px);
  }

  .page-home .home-hero__media {
    aspect-ratio: 4 / 3.4;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-snap,
  .page-home .home-axis__phase {
    transition: none;
  }

  .page-home .home-snap:hover {
    transform: none;
  }
}
