/* ═══════════════════════════════════════════
   page-home · 档案首页
   ═══════════════════════════════════════════ */

.page-home {
  --home-gutter: clamp(18px, 4vw, 56px);
  --home-radius: 2px;
  --home-tick-w: 6px;
  --home-num-xl: clamp(72px, 14vw, 140px);
}

/* ── 通用主内容容器 ── */
.page-home .wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}

/* ── 首屏 ── */
.page-home .hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  padding-block: clamp(28px, 5vw, 64px) clamp(32px, 6vw, 72px);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.4) brightness(0.7);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(201, 214, 226, 0.018) 14px 15px
    ),
    linear-gradient(180deg, rgba(10, 22, 34, 0.3), var(--navy-900) 88%);
  pointer-events: none;
}

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

.page-home .hero__inner .crumbs {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

/* H1 */
.page-home .hero__title {
  margin: 0.2em 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 0.24em;
}

.page-home .hero__title-num {
  font-family: var(--font-mono);
  font-size: var(--home-num-xl);
  color: var(--amber);
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
}

.page-home .hero__title-text {
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
  color: var(--paper);
  max-width: 12em;
}

.page-home .hero__lede {
  margin-top: clamp(16px, 2.5vw, 26px);
  max-width: 36em;
  color: var(--line);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}

/* 首屏右侧数据卡 */
.page-home .hero__cards {
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (min-width: 900px) {
  .page-home .hero__cards {
    padding-top: clamp(8px, 2vw, 20px);
  }
}

.page-home .hero__stat {
  border-radius: var(--home-radius);
  padding: 14px 16px;
  background: var(--navy-600);
  border: 1px solid rgba(201, 214, 226, 0.14);
  transition: border-color 0.24s var(--ease);
}

.page-home .hero__stat:hover {
  border-color: var(--amber);
}

.page-home .hero__stat .card__value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.page-home .hero__stat--yellow .card__value { color: var(--yellow); }
.page-home .hero__stat--red .card__value     { color: var(--red); }
.page-home .hero__stat--amber .card__value   { color: var(--amber); }

/* 赛季刻度 */
.page-home .hero__scale-wrap {
  margin-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid rgba(201, 214, 226, 0.12);
  padding-top: clamp(12px, 2vw, 20px);
}

.page-home .hero__scale-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.page-home .hero__scale-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .hero__scale-count b {
  color: var(--amber);
  font-weight: 700;
}

.page-home .hero__scale {
  display: grid;
  grid-template-columns: repeat(38, 1fr);
  gap: 3px;
  height: 20px;
}

.page-home .hero__tick {
  border-radius: 1px;
  background: rgba(201, 214, 226, 0.12);
  transition: background 0.3s var(--ease);
}

.page-home .hero__tick.is-past {
  background: var(--mist);
  opacity: 0.45;
}

.page-home .hero__tick.is-now {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(223, 166, 58, 0.5);
  height: 28px;
  margin-top: -4px;
}

/* ── 分区通用 ── */
.page-home .section {
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(201, 214, 226, 0.08);
}

.page-home .section--paper {
  background: var(--paper);
  color: var(--ink);
  border-top: none;
}

.page-home .section--paper .section__title,
.page-home .section--paper .kicker {
  color: var(--ink);
}

.page-home .section--paper .kicker {
  color: var(--amber-ink);
}

/* ── 轮次索引 ── */
.page-home .rounds {
  background: var(--navy-700);
}

.page-home .rounds__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 860px) {
  .page-home .rounds__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

.page-home .rounds__desc {
  color: var(--line);
  font-size: 15px;
  line-height: 1.78;
  max-width: 44em;
}

.page-home .rounds__desc + .rounds__desc {
  margin-top: 14px;
  color: var(--mist);
}

.page-home .rounds__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(20px, 3vw, 30px);
}

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

.page-home .rounds__img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid rgba(201, 214, 226, 0.14);
  object-fit: cover;
  aspect-ratio: 10 / 7;
  filter: saturate(0.5) brightness(0.9);
}

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

/* ── 牌面与停牌 ── */
.page-home .cards {
  background: var(--navy-900);
}

.page-home .cards .section__head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .cards__list {
  display: grid;
  gap: 8px;
}

.page-home .cards__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  padding: 16px 18px;
  background: var(--navy-600);
  border: 1px solid rgba(201, 214, 226, 0.1);
  border-radius: var(--home-radius);
  transition: border-color 0.22s var(--ease), transform 0.18s var(--ease);
  cursor: default;
}

.page-home .cards__row:hover,
.page-home .cards__row:focus-visible {
  border-color: var(--amber);
  outline: none;
}

.page-home .cards__row:focus-visible {
  box-shadow: 0 0 0 2px rgba(223, 166, 58, 0.55);
}

.page-home .cards__info {
  min-width: 0;
}

.page-home .cards__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .cards__note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.6;
}

.page-home .cards__hover {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}

.page-home .cards__row:hover .cards__hover,
.page-home .cards__row:focus-visible .cards__hover {
  max-height: 3em;
  opacity: 1;
  margin-top: 6px;
}

/* ── 案例合集 ── */
.page-home .cases {
  background: var(--navy-700);
  overflow: hidden;
}

.page-home .cases__band {
  margin-top: clamp(20px, 3vw, 32px);
}

.page-home .cases__band .band__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px var(--home-gutter) 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mist) transparent;
}

.page-home .cases__card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
  background: var(--navy-600);
  border: 1px solid rgba(201, 214, 226, 0.1);
  border-radius: var(--home-radius);
  overflow: hidden;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .cases__card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.page-home .cases__card--lead {
  flex-basis: min(360px, 86vw);
}

.page-home .cases__media {
  margin: 0;
  overflow: hidden;
}

.page-home .cases__media-img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.75);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-home .cases__body {
  padding: 16px 18px 20px;
}

.page-home .cases__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.page-home .cases__text {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.68;
}

.page-home .cases__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(16px, 2.5vw, 24px);
}

/* ── 小屏阅读 ── */
.page-home .small__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 760px) {
  .page-home .small__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

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

.page-home .small__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}

.page-home .small__step-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-ink);
  font-variant-numeric: tabular-nums;
}

.page-home .small__step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .small__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3c4a58;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}

/* ── 更新列表 ── */
.page-home .updates {
  background: var(--navy-900);
}

.page-home .updates__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 860px) {
  .page-home .updates__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

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

.page-home .updates__item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(201, 214, 226, 0.08);
  display: grid;
  gap: 4px;
}

.page-home .updates__item:first-child {
  border-top: 1px solid rgba(201, 214, 226, 0.08);
}

.page-home .updates__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-home .updates__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .updates__text {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.65;
}

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

.page-home .updates__img {
  width: 100%;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid rgba(201, 214, 226, 0.1);
  object-fit: cover;
  aspect-ratio: 8 / 5;
  filter: saturate(0.35) brightness(0.85);
}

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

/* ── 可信与入口 ── */
.page-home .trust__inner {
  max-width: 54em;
}

.page-home .trust__title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}

.page-home .trust__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: #2f3d4a;
}

.page-home .trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

/* ── 移动端修正 ── */
@media (max-width: 899px) {
  .page-home .hero__title-num {
    --home-num-xl: clamp(64px, 18vw, 100px);
  }
}

@media (max-width: 640px) {
  .page-home .hero__scale {
    grid-template-columns: repeat(19, 1fr);
    gap: 4px;
  }

  .page-home .hero__tick:nth-child(even) {
    display: none;
  }

  .page-home .cases__card {
    flex-basis: min(268px, 82vw);
  }

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

  .page-home .cards__row .badge {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .cards__row,
  .page-home .cases__card,
  .page-home .hero__tick,
  .page-home .cards__hover {
    transition: none;
  }

  .page-home .cards__row:hover,
  .page-home .cases__card:hover {
    transform: none;
  }
}
</final>
</result>
