.page-home {
  --hm-split: minmax(0, 5fr) minmax(0, 6fr);
  --hm-block-gap: clamp(28px, 4vw, 56px);
  color: var(--body-ink);
  background: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-block-gap);
  padding-block: clamp(28px, 5vw, 64px) clamp(52px, 8vw, 110px);
}

.page-home .hm-hero__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-home .hm-hero__lead h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--pale);
  max-width: 18ch;
}

.page-home .hm-hero__lede {
  margin: 0;
  max-width: 52ch;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--body-ink);
}

.page-home .hm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .hm-hero__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 轮次锚点 */
.page-home .hm-round {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--ice);
  background: linear-gradient(150deg, rgba(29, 24, 64, 0.78), rgba(11, 60, 58, 0.36));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-home .hm-round__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 4px;
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums slashed-zero;
  font-size: clamp(66px, 13vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ice);
  text-shadow: 0 0 42px rgba(138, 221, 255, 0.18);
}

.page-home .hm-round__unit {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ice);
  -webkit-text-stroke: 0;
}

.page-home .hm-round__note {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* 内容目录 */
.page-home .hm-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-index__item {
  border-bottom: 1px solid var(--line);
}

.page-home .hm-index__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--body-ink);
  transition: color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.page-home .hm-index__link:hover,
.page-home .hm-index__link:focus-visible {
  color: var(--ice);
  transform: translateX(3px);
}

.page-home .hm-index__no {
  font-size: 12.5px;
  color: var(--ice);
}

.page-home .hm-index__txt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.page-home .hm-index__hint {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 首屏媒体 */
.page-home .hm-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(29, 24, 64, 0.9), rgba(6, 21, 35, 0.7));
}

.page-home .hm-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hm-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -14deg,
    rgba(138, 221, 255, 0.06) 0 1px,
    transparent 1px 9px
  );
}

/* ---------- 分区通用 ---------- */
.page-home .hm-section {
  padding-block: clamp(52px, 7vw, 104px);
  border-top: 1px solid var(--line);
}

.page-home .hm-section__head {
  max-width: 68ch;
  margin-bottom: clamp(26px, 4vw, 48px);
}

.page-home .hm-section__head h2 {
  position: relative;
  margin: 10px 0 14px;
  padding-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-home .hm-section__head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 420px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-ice), transparent);
}

.page-home .hm-section__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-ink);
}

/* ---------- 赛程排布 ---------- */
.page-home .hm-schedule {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-block-gap);
  align-items: start;
}

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

.page-home .hm-sched__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 6px 16px;
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .hm-sched__item:hover {
  border-left-color: var(--amber);
  transform: translateX(2px);
}

.page-home .hm-sched__no {
  grid-row: span 2;
  font-size: 13px;
  color: var(--ice);
  padding-top: 3px;
}

.page-home .hm-sched__body {
  min-width: 0;
}

.page-home .hm-sched__title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-home .hm-sched__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .hm-sched__time {
  grid-column: 2;
  justify-self: start;
  align-self: start;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--aurora);
  white-space: nowrap;
}

.page-home .hm-schedule__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 60, 58, 0.28);
}

.page-home .hm-schedule__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .hm-schedule__figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

/* ---------- 本轮更新 ---------- */
.page-home .hm-updates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-block-gap);
  align-items: start;
}

.page-home .hm-updates__main {
  min-width: 0;
}

.page-home .hm-group {
  margin: 26px 0 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ice);
  text-transform: none;
}

.page-home .hm-group:first-child {
  margin-top: 0;
}

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

.page-home .hm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  padding-left: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .hm-row:hover {
  border-left-color: var(--ice);
  transform: translateX(2px);
}

.page-home .hm-row__body {
  min-width: 0;
}

.page-home .hm-row__title {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-home .hm-row__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--mist);
}

.page-home .hm-row__time {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 3px;
}

.page-home .hm-updates__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--aurora);
  border-radius: var(--radius);
  background: rgba(11, 60, 58, 0.3);
}

.page-home .hm-bars {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.page-home .hm-bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
}

.page-home .hm-bar-row__name {
  font-size: 13px;
  color: var(--body-ink);
}

.page-home .hm-bar-row__val {
  font-size: 13px;
  color: var(--ice);
  text-align: right;
}

.page-home .hm-updates__figure {
  margin: 4px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .hm-updates__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .hm-updates__side .side-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.74;
  color: var(--mist);
  padding-left: 12px;
  border-left: 2px solid var(--wine);
}

/* ---------- 客户端 ---------- */
.page-home .hm-client {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hm-block-gap);
  align-items: start;
}

.page-home .hm-client__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-plat {
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .hm-plat:hover {
  border-left-color: var(--amber);
}

.page-home .hm-plat__name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--pale);
}

.page-home .hm-plat__ver {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--ink);
  background: var(--ice);
  border-radius: var(--radius);
}

.page-home .hm-plat__desc {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.74;
  color: var(--mist);
}

.page-home .hm-plat__link {
  font-size: 13.5px;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-ice);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .hm-plat__link:hover,
.page-home .hm-plat__link:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

.page-home .hm-client__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(29, 24, 64, 0.7), rgba(6, 21, 35, 0.5));
}

.page-home .hm-client__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.75;
}

.page-home .hm-client__figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--line);
}

/* ---------- 内容规模 ---------- */
.page-home .hm-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .hm-stat {
  padding: 22px 20px;
  background: var(--ink);
  border-left: 2px solid var(--ice);
}

.page-home .hm-stat--aurora {
  border-left-color: var(--aurora);
}

.page-home .hm-stat--amber {
  border-left-color: var(--amber);
}

.page-home .hm-stat__value {
  margin: 0 0 6px;
  font-family: var(--font-num);
  font-weight: 700;
  font-variant-numeric: tabular-nums slashed-zero;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pale);
}

.page-home .hm-stat__value span {
  font-size: 0.5em;
  color: var(--ice);
  margin-left: 2px;
}

.page-home .hm-stat--aurora .hm-stat__value {
  color: var(--aurora);
}

.page-home .hm-stat--amber .hm-stat__value {
  color: var(--amber);
}

.page-home .hm-stat__label {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ice);
}

.page-home .hm-stat__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .hm-workflow {
  margin-top: clamp(30px, 4vw, 52px);
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(29, 24, 64, 0.42);
}

.page-home .hm-flow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 14px 0 16px;
  padding: 0;
  counter-reset: hm-flow;
}

.page-home .hm-flow li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 16px 0 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  color: var(--body-ink);
}

.page-home .hm-flow li:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.page-home .hm-flow .num {
  font-size: 12px;
  color: var(--aurora);
}

.page-home .hm-workflow__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--mist);
  max-width: 76ch;
}

/* ---------- 行动区 ---------- */
.page-home .hm-cta {
  border-top: 1px solid var(--line);
}

.page-home .hm-cta__inner {
  position: relative;
  padding: clamp(30px, 5vw, 58px) clamp(22px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(29, 24, 64, 0.9) 0%, rgba(6, 21, 35, 0.95) 62%),
    linear-gradient(0deg, rgba(255, 154, 69, 0.08), transparent 68%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-home .hm-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(138, 221, 255, 0.05) 0 1px,
    transparent 1px 96px
  );
}

.page-home .hm-cta__inner h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  color: var(--pale);
}

.page-home .hm-cta__lede {
  margin: 0 0 22px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--body-ink);
}

.page-home .hm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .hm-cta__links {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hm-cta__links a {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-ice);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .hm-cta__links a:hover,
.page-home .hm-cta__links a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

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

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

  .page-home .hm-sched__item {
    grid-template-columns: auto minmax(0, 1fr) 108px;
  }

  .page-home .hm-sched__no {
    grid-row: auto;
  }

  .page-home .hm-sched__time {
    grid-column: 3;
    justify-self: end;
    text-align: right;
  }
}

/* ---------- 桌面：左右分屏 ---------- */
@media (min-width: 980px) {
  .page-home .hm-hero {
    grid-template-columns: 4fr 7fr;
    gap: clamp(40px, 5vw, 84px);
    align-items: start;
  }

  .page-home .hm-hero__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "round index"
      "media index";
    gap: 20px 24px;
    align-items: start;
  }

  .page-home .hm-round {
    grid-area: round;
  }

  .page-home .hm-index {
    grid-area: index;
  }

  .page-home .hm-hero__media {
    grid-area: media;
  }

  .page-home .hm-schedule {
    grid-template-columns: 5fr 4fr;
    gap: clamp(36px, 4.5vw, 76px);
  }

  .page-home .hm-updates {
    grid-template-columns: 7fr 4fr;
    gap: clamp(36px, 4.5vw, 76px);
  }

  .page-home .hm-client {
    grid-template-columns: 5fr 5fr;
    gap: clamp(36px, 4.5vw, 76px);
    align-items: stretch;
  }

  .page-home .hm-client__figure {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .page-home .hm-client__figure img {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

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

  .page-home .hm-stats .hm-stat:first-child {
    border-left-width: 3px;
  }
}

/* ---------- 大屏 ---------- */
@media (min-width: 1240px) {
  .page-home .hm-hero {
    grid-template-columns: 5fr 8fr;
  }

  .page-home .hm-round {
    padding: 26px 26px 24px;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hm-index__link,
  .page-home .hm-sched__item,
  .page-home .hm-row,
  .page-home .hm-plat {
    transition: none;
  }

  .page-home .hm-index__link:hover,
  .page-home .hm-index__link:focus-visible,
  .page-home .hm-sched__item:hover,
  .page-home .hm-row:hover {
    transform: none;
  }
}
</main>
