.page-home {
  --home-body: #C6D3EC;
  --home-gap: clamp(18px, 3vw, 30px);
  display: block;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(26px, 4.5vw, 54px) 0 clamp(44px, 7vw, 84px);
  border-bottom: var(--hair);
  background:
    radial-gradient(1100px 520px at 78% 6%, rgba(0, 229, 255, .16), transparent 62%),
    radial-gradient(760px 460px at 4% 96%, rgba(255, 107, 53, .12), transparent 66%),
    linear-gradient(160deg, var(--c-deep) 0%, var(--c-slate) 52%, var(--c-deep) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(108, 122, 156, .16) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(108, 122, 156, .16) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(142deg, #000 0%, transparent 66%);
  mask-image: linear-gradient(142deg, #000 0%, transparent 66%);
}

.page-home .home-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.page-home .home-context {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  color: var(--c-muted);
}

.page-home .home-context span {
  color: var(--c-cyan-soft);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--c-paper);
  text-wrap: balance;
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  color: var(--home-body);
  font-size: var(--fs-body);
  line-height: 1.8;
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .home-hero__fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.page-home .home-hero__fact b {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-cyan);
  letter-spacing: .01em;
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__frame {
  position: relative;
  overflow: hidden;
  border: var(--hair-cyan);
  background: var(--c-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%);
}

.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.85) brightness(.7) contrast(1.08);
}

.page-home .home-hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.page-home .home-hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: .65;
  animation: home-scan 7s linear infinite;
}

@keyframes home-scan {
  0% { top: 2%; }
  100% { top: 98%; }
}

.page-home .home-hero__caption {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  color: var(--c-muted);
  text-align: right;
}

/* ---------- 通用区块间距 ---------- */
.page-home .home-paths .section__head,
.page-home .home-metrics .section__head,
.page-home .home-news .section__head {
  max-width: 780px;
}

/* ---------- 核心路径 ---------- */
.page-home .home-paths__layout {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(24px, 3.5vw, 40px);
}

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

.page-home .home-paths__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: saturate(.9) brightness(.76);
}

.page-home .home-paths__cards {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .home-path {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 24px;
  background: var(--c-slate);
  border: var(--hair);
  transition: transform var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.page-home .home-path::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--track-line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--speed) ease;
}

.page-home .home-path:hover,
.page-home .home-path:focus-within {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  background: var(--c-mid);
}

.page-home .home-path:hover::after,
.page-home .home-path:focus-within::after {
  transform: scaleX(1);
}

.page-home .home-path__index {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .18em;
  color: var(--c-orange);
}

.page-home .home-path__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-paper);
}

.page-home .home-path__text {
  margin: 10px 0 0;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--home-body);
}

.page-home .home-path__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .home-path__metrics li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.page-home .home-path__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-cyan);
}

.page-home .home-path__unit {
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  color: var(--c-muted);
}

.page-home .home-path__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .06em;
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--speed) ease, color var(--speed) ease;
}

.page-home .home-path__link::after {
  content: "→";
  transition: transform var(--speed) ease;
}

.page-home .home-path__link:hover,
.page-home .home-path__link:focus-visible {
  border-bottom-color: var(--c-cyan);
}

.page-home .home-path__link:hover::after,
.page-home .home-path__link:focus-visible::after {
  transform: translateX(4px);
}

/* ---------- 数据条 ---------- */
.page-home .home-metrics__strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  margin: clamp(24px, 3.5vw, 36px) 0 0;
  padding: 0;
  list-style: none;
  background: rgba(108, 122, 156, .3);
  border: var(--hair);
}

.page-home .home-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 18px 22px;
  background: var(--c-deep);
}

.page-home .home-metric__value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-cyan);
}

.page-home .home-metric--orange .home-metric__value {
  color: var(--c-orange);
}

.page-home .home-metric--lime .home-metric__value {
  color: var(--c-lime);
}

.page-home .home-metric__label {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--c-muted);
}

/* ---------- 青训梯队 ---------- */
.page-home .home-youth__layout {
  display: grid;
  gap: var(--home-gap);
}

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

.page-home .home-youth__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: saturate(.88) brightness(.74);
}

.page-home .home-youth__ages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-youth__points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .home-youth__points li {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--home-body);
}

.page-home .home-youth__points b {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-cyan);
  margin-right: 8px;
}

.page-home .home-youth__body .btn {
  margin-top: 26px;
}

/* ---------- 动态 ---------- */
.page-home .home-news__layout {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(22px, 3vw, 34px);
}

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

.page-home .home-news__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: saturate(.8) brightness(.7);
}

.page-home .home-news__body .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.page-home .home-news__body .tab {
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .12em;
  color: var(--c-muted);
  background: transparent;
  border: var(--hair);
  cursor: pointer;
  transition: color var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.page-home .home-news__body .tab:hover {
  color: var(--c-paper);
  border-color: var(--c-cyan);
}

.page-home .home-news__body .tab[aria-selected="true"] {
  color: var(--c-deep);
  background: var(--c-cyan);
  border-color: var(--c-cyan);
}

.page-home .home-feed {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--hair);
}

.page-home .home-feed__item {
  display: grid;
  gap: 5px 20px;
  padding: 16px 0;
  border-bottom: var(--hair);
}

.page-home .home-feed__when {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  color: var(--c-orange);
}

.page-home .home-feed__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--home-body);
}

.page-home .home-news__more {
  margin: 18px 0 0;
}

.page-home .home-news__more .home-path__link {
  margin-top: 0;
}

/* ---------- 咨询入口 ---------- */
.page-home .home-cta {
  border-top: var(--hair);
  background:
    linear-gradient(115deg, rgba(0, 229, 255, .12) 0%, rgba(0, 229, 255, 0) 46%),
    linear-gradient(285deg, rgba(255, 107, 53, .1) 0%, rgba(255, 107, 53, 0) 42%),
    var(--c-deep);
}

.page-home .home-cta__inner {
  display: grid;
  gap: 22px;
  padding-block: clamp(38px, 6vw, 66px);
}

.page-home .home-cta__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-paper);
}

.page-home .home-cta__text {
  max-width: 54ch;
  margin: 12px 0 0;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--home-body);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .page-home .home-feed__item {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: baseline;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .home-paths__layout {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    align-items: stretch;
  }

  .page-home .home-youth__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .page-home .home-news__layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
}

@media (min-width: 820px) {
  .page-home .home-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .home-cta__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1100px) {
  .page-home .home-path {
    padding: 26px 30px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__scan {
    animation: none;
    top: 46%;
    opacity: .3;
  }

  .page-home .home-path,
  .page-home .home-path::after,
  .page-home .home-path__link::after {
    transition: none;
  }

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