.page-home {
  --hm-cut: 22px;
  --hm-rail-gap: clamp(.9rem, 2.2vw, 1.25rem);
  position: relative;
  overflow-x: clip;
  color: var(--fh-ink);
}

.page-home .hm-context {
  padding-top: clamp(1rem, 2.4vw, 1.6rem);
  padding-bottom: clamp(.6rem, 1.4vw, 1rem);
}

.page-home .hm-context .fh-kicker {
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  padding: 0 clamp(1rem, 3vw, 2.5rem) clamp(1.6rem, 4vw, 3rem);
}

.page-home .hm-hero__frame {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-radius);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(115% 90% at 6% 0%, rgba(255, 77, 26, .22) 0%, transparent 56%),
    radial-gradient(90% 85% at 100% 100%, rgba(30, 144, 255, .2) 0%, transparent 62%),
    linear-gradient(158deg, var(--fh-violet) 0%, var(--fh-black) 100%);
  box-shadow: 0 44px 100px -68px rgba(30, 144, 255, .95);
}

.page-home .hm-hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  opacity: .3;
}

.page-home .hm-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(104deg, rgba(7, 6, 15, .95) 0%, rgba(18, 11, 46, .74) 46%, rgba(7, 6, 15, .34) 100%);
}

.page-home .hm-hero__ticks {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  height: 16px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(199, 204, 216, .34) 0 1px, transparent 1px 36px);
  opacity: .75;
}

.page-home .hm-hero__ticks::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fh-orange) 26%, var(--fh-blue) 62%, transparent);
  opacity: .55;
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(2.6rem, 5vw, 4.2rem) clamp(1.15rem, 3.4vw, 3rem) clamp(1.7rem, 3.6vw, 2.8rem);
}

.page-home .hm-hero__title {
  margin: .55rem 0 1rem;
  font-family: var(--fh-font-display);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .96;
}

.page-home .hm-hero__title-top {
  display: block;
  font-family: var(--fh-font-mono);
  font-weight: 500;
  font-size: clamp(.85rem, 1.6vw, 1.1rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--fh-silver);
  margin-bottom: .7rem;
}

.page-home .hm-hero__title-main {
  display: block;
  font-size: clamp(2.35rem, 6.6vw, 5.1rem);
  background: linear-gradient(96deg, #FFFFFF 6%, var(--fh-orange) 48%, var(--fh-red) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-hero__lede {
  max-width: 44ch;
  margin: 0;
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.2rem, 2.6vw, 1.8rem);
}

.page-home .hm-hero__stats {
  list-style: none;
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
  padding: clamp(.9rem, 2vw, 1.2rem) 0 0;
  border-top: 1px solid var(--fh-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}

.page-home .hm-hero__stats strong {
  display: block;
  font-family: var(--fh-font-mono);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
  color: var(--fh-ink);
}

.page-home .hm-hero__stats strong em {
  font-style: normal;
  font-size: .5em;
  margin-left: .18em;
  color: var(--fh-orange);
}

.page-home .hm-hero__stats span {
  display: block;
  margin-top: .4rem;
  font-size: var(--fh-note);
  color: var(--fh-muted-soft);
}

/* ---------- 新人观赛入口卡（首屏第二栏） ---------- */
.page-home .hm-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1.2rem, 2.5vw, 1.85rem);
  margin-top: .35rem;
  border: 1px solid rgba(200, 255, 61, .4);
  border-radius: var(--fh-radius);
  background: linear-gradient(152deg, rgba(255, 77, 26, .18) 0%, rgba(18, 11, 46, .88) 54%, rgba(7, 6, 15, .92) 100%);
  box-shadow: 0 30px 70px -38px rgba(255, 77, 26, .88);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%);
}

.page-home .hm-entry__tag {
  align-self: flex-start;
  padding: .28rem .72rem;
  border-radius: 999px;
  background: var(--fh-lime);
  color: var(--fh-black);
  font-family: var(--fh-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.page-home .hm-entry__title {
  margin: 0;
  font-family: var(--fh-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
}

.page-home .hm-entry__body {
  margin: 0;
  font-size: var(--fh-note);
  line-height: 1.75;
  color: var(--fh-muted);
}

.page-home .hm-entry__img {
  display: block;
  width: 100%;
  height: clamp(128px, 26vw, 176px);
  object-fit: cover;
  border-radius: var(--fh-radius-sm);
  border: 1px solid rgba(199, 204, 216, .22);
}

.page-home .hm-entry__link {
  align-self: flex-start;
  padding-bottom: 2px;
  font-family: var(--fh-font-mono);
  font-size: 13.5px;
  color: var(--fh-lime);
  text-decoration: none;
  border-bottom: 1px dashed rgba(200, 255, 61, .55);
  transition: color .2s ease, border-color .2s ease;
}

.page-home .hm-entry__link::after {
  content: " →";
}

.page-home .hm-entry__link:hover,
.page-home .hm-entry__link:focus-visible {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ---------- 回归通道 ---------- */
.page-home .hm-return {
  padding: clamp(2.2rem, 5.5vw, 4.4rem) clamp(1rem, 3vw, 2.5rem);
}

.page-home .hm-return__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.4rem, 3.6vw, 3rem);
  align-items: center;
}

.page-home .hm-return__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-radius);
  overflow: hidden;
  background: linear-gradient(142deg, rgba(30, 144, 255, .2), rgba(7, 6, 15, .92));
}

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

.page-home .hm-return__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .34rem .68rem;
  border-radius: 7px;
  border: 1px solid rgba(71, 199, 255, .45);
  background: rgba(7, 6, 15, .82);
  color: var(--fh-cyan);
  font-family: var(--fh-font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
}

.page-home .hm-return__title {
  margin: .5rem 0 .9rem;
  font-family: var(--fh-font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--fh-ink);
}

.page-home .hm-return__lede {
  margin: 0 0 1.3rem;
  max-width: 48ch;
  font-size: var(--fh-body);
  line-height: 1.85;
  color: var(--fh-muted);
}

.page-home .hm-return__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}

.page-home .hm-return__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--fh-note);
  line-height: 1.75;
  color: var(--fh-muted);
}

.page-home .hm-return__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .9rem;
  height: 2px;
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-lime));
}

.page-home .hm-return__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* ---------- 今日赛道数据 ---------- */
.page-home .hm-data {
  position: relative;
  padding: clamp(2.2rem, 5.5vw, 4.4rem) clamp(1rem, 3vw, 2.5rem);
}

.page-home .hm-data::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 204, 216, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 204, 216, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(72% 62% at 50% 38%, #000 0%, transparent 76%);
}

.page-home .hm-data__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.page-home .hm-data__head {
  max-width: 30ch;
  margin-bottom: clamp(1.3rem, 3vw, 2.1rem);
}

.page-home .hm-data__head h2 {
  margin: .5rem 0 0;
  font-family: var(--fh-font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.page-home .hm-data__grid {
  display: grid;
  gap: var(--hm-rail-gap);
}

.page-home .hm-metrics {
  display: grid;
  gap: 1px;
  background: var(--fh-line);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  overflow: hidden;
}

.page-home .hm-metric {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.05rem, 2.3vw, 1.6rem);
  background: rgba(18, 11, 46, .74);
}

.page-home .hm-metric__value {
  font-family: var(--fh-font-mono);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--fh-ink);
}

.page-home .hm-metric__value em {
  font-style: normal;
  font-size: .42em;
  margin-left: .22em;
  color: var(--fh-orange);
}

.page-home .hm-metric__note {
  margin: 0;
  font-size: var(--fh-note);
  line-height: 1.72;
  color: var(--fh-muted);
}

.page-home .hm-data__side {
  display: grid;
  gap: var(--hm-rail-gap);
  align-content: start;
}

.page-home .hm-data__media {
  margin: 0;
  border: 1px solid var(--fh-line-strong);
  border-radius: var(--fh-radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(142, 45, 226, .22), rgba(7, 6, 15, .92));
}

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

.page-home .hm-data__media figcaption {
  padding: .7rem 1rem .85rem;
  font-size: var(--fh-note);
  color: var(--fh-muted-soft);
  border-top: 1px solid var(--fh-line);
}

.page-home .hm-folds {
  display: grid;
  gap: .55rem;
}

.page-home .hm-fold {
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius-sm);
  background: rgba(7, 6, 15, .62);
  overflow: hidden;
}

.page-home .hm-fold__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.05rem;
  background: transparent;
  border: 0;
  color: var(--fh-ink);
  text-align: left;
  cursor: pointer;
  font-family: var(--fh-font-body);
  font-size: .95rem;
  font-weight: 600;
}

.page-home .hm-fold__trigger:hover,
.page-home .hm-fold__trigger:focus-visible {
  color: var(--fh-cyan);
}

.page-home .hm-fold__label {
  display: block;
}

.page-home .hm-fold__body {
  padding: 0 1.05rem 1rem;
}

.page-home .hm-fold__body p {
  margin: 0;
  font-size: var(--fh-note);
  line-height: 1.78;
  color: var(--fh-muted);
}

.page-home .hm-rail {
  margin-top: clamp(1.5rem, 3.2vw, 2.4rem);
  padding-top: clamp(1rem, 2.2vw, 1.5rem);
  border-top: 1px solid var(--fh-line);
}

.page-home .hm-rail__label {
  margin: 0 0 .75rem;
  font-family: var(--fh-font-mono);
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--fh-muted-soft);
}

.page-home .hm-rail__list {
  list-style: none;
  margin: 0;
  padding: 0 0 .55rem;
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .hm-rail__list li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}

/* ---------- 服务导航 ---------- */
.page-home .hm-ways {
  padding: clamp(2.2rem, 5.5vw, 4.4rem) clamp(1rem, 3vw, 2.5rem);
}

.page-home .hm-ways__inner {
  max-width: 1280px;
  margin: 0 auto;
}

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

.page-home .hm-ways__head h2 {
  margin: .5rem 0 0;
  font-family: var(--fh-font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.page-home .hm-ways__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.85rem, 1.9vw, 1.2rem);
  margin-top: clamp(1.3rem, 3vw, 2.1rem);
}

.page-home .hm-way {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.1rem, 2.3vw, 1.6rem);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: linear-gradient(158deg, rgba(18, 11, 46, .72), rgba(7, 6, 15, .62));
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}

.page-home .hm-way::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fh-orange), var(--fh-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.page-home .hm-way:hover,
.page-home .hm-way:focus-visible {
  border-color: rgba(255, 77, 26, .6);
  transform: translateY(-3px);
}

.page-home .hm-way:hover::before,
.page-home .hm-way:focus-visible::before {
  transform: scaleX(1);
}

.page-home .hm-way__tag {
  font-family: var(--fh-font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--fh-cyan);
}

.page-home .hm-way__title {
  font-family: var(--fh-font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
}

.page-home .hm-way__body {
  font-size: var(--fh-note);
  line-height: 1.72;
  color: var(--fh-muted);
}

.page-home .hm-way__go {
  margin-top: auto;
  padding-top: .6rem;
  font-family: var(--fh-font-mono);
  font-size: 12.5px;
  color: var(--fh-lime);
}

.page-home .hm-way__go::after {
  content: " →";
}

.page-home .hm-way--feature {
  border-color: rgba(255, 77, 26, .38);
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(255, 77, 26, .22) 0%, transparent 58%),
    linear-gradient(158deg, rgba(18, 11, 46, .85), rgba(7, 6, 15, .7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hm-cut)), calc(100% - var(--hm-cut)) 100%, 0 100%);
}

.page-home .hm-way--feature .hm-way__title {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
}

.page-home .hm-way--feature .hm-way__body {
  max-width: 52ch;
}

/* ---------- 天山收尾 ---------- */
.page-home .hm-land {
  position: relative;
  padding: clamp(3rem, 7vw, 5.6rem) clamp(1rem, 3vw, 2.5rem) clamp(3.4rem, 8vw, 6.4rem);
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 11, 46, .76) 58%, rgba(7, 6, 15, .94) 100%);
}

.page-home .hm-land__ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(110px, 17vw, 210px);
  display: block;
  pointer-events: none;
  opacity: .62;
}

.page-home .hm-land__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-home .hm-land__title {
  margin: .5rem 0 1rem;
  font-family: var(--fh-font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
}

.page-home .hm-land__body {
  margin: 0 0 1.6rem;
  max-width: 62ch;
  font-size: var(--fh-body);
  line-height: 1.9;
  color: var(--fh-muted);
}

.page-home .hm-land__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

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

@media (min-width: 700px) {
  .page-home .hm-ways__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .hm-way--feature {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, .88fr);
    align-items: start;
  }
  .page-home .hm-entry {
    margin-top: 1.6rem;
  }
  .page-home .hm-return__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
  .page-home .hm-data__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
  }
  .page-home .hm-ways__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .hm-way--feature {
    grid-column: span 12;
  }
  .page-home .hm-way:not(.hm-way--feature) {
    grid-column: span 3;
  }
}

@media (min-width: 1240px) {
  .page-home .hm-hero__grid {
    padding-right: clamp(2rem, 4vw, 3.6rem);
  }
  .page-home .hm-data__grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-way,
  .page-home .hm-entry__link {
    transition: none;
  }
  .page-home .hm-way:hover,
  .page-home .hm-way:focus-visible {
    transform: none;
  }
}
