.page-home {
  --home-rail: 88px;
  --home-grid-line: rgba(33, 243, 200, 0.06);
  color: var(--body);
}

.page-home .home-shell {
  display: grid;
  grid-template-columns: var(--home-rail) minmax(0, 1fr);
  column-gap: clamp(16px, 2.4vw, 40px);
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 左侧窄命令栏 */
.page-home .home-rail {
  position: sticky;
  top: calc(var(--bar-h) + 20px);
  align-self: start;
  height: calc(100vh - var(--bar-h) - 48px);
  padding-top: clamp(20px, 3vw, 40px);
}

.page-home .home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .home-rail__list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}

.page-home .home-rail__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 0;
  text-decoration: none;
}

.page-home .home-rail__num {
  flex: none;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
  background: rgba(18, 48, 40, 0.92);
  border: 1px solid var(--line);
  transition: color 0.2s var(--ease-hard), border-color 0.2s var(--ease-hard);
}

.page-home .home-rail__label {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
  transition: color 0.2s var(--ease-hard);
}

.page-home .home-rail__link:hover .home-rail__num,
.page-home .home-rail__link:focus-visible .home-rail__num {
  color: var(--cyan);
  border-color: rgba(33, 243, 200, 0.6);
}

.page-home .home-rail__link:hover .home-rail__label,
.page-home .home-rail__link:focus-visible .home-rail__label {
  color: var(--body);
}

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

/* 首屏 */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 4vw, 60px) 0 clamp(38px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--home-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(160deg, #000 0%, transparent 76%);
}

.page-home .home-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(760px, 58%);
  pointer-events: none;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.65) brightness(0.92);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 2%, rgba(5, 19, 15, 0.72) 44%, rgba(5, 19, 15, 0.22) 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero__kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.page-home .home-hero__title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--title);
}

.page-home .home-hero__sub {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
  color: var(--body);
}

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

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--title);
}

.page-home .home-stat__num em {
  font-style: normal;
  font-size: 0.56em;
  color: var(--dim);
  margin-left: 3px;
}

.page-home .home-stat__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.page-home .home-hero__aside {
  border: 1px solid rgba(33, 243, 200, 0.4);
  background: rgba(18, 48, 40, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 18px 16px 6px;
}

.page-home .home-hero__aside-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .home-hero__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-hero__nav li {
  border-top: 1px solid rgba(31, 74, 61, 0.85);
}

.page-home .home-hero__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 2px;
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s var(--ease-hard), padding-left 0.2s var(--ease-hard);
}

.page-home .home-hero__nav a:hover,
.page-home .home-hero__nav a:focus-visible {
  color: var(--cyan);
  padding-left: 8px;
}

.page-home .home-hero__navno {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

/* 章节骨架 */
.page-home .home-sec {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--bar-h) + 24px);
}

.page-home .home-sec:last-of-type {
  border-bottom: 0;
}

.page-home .home-sec__head {
  max-width: 760px;
}

.page-home .home-sec__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.page-home .home-no {
  padding: 3px 7px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  border: 1px solid rgba(33, 243, 200, 0.5);
  background: rgba(33, 243, 200, 0.08);
}

.page-home .home-sec__title {
  margin: 0;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--title);
}

.page-home .home-sec__lead {
  margin: 16px 0 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
}

.page-home .home-sec__body {
  margin-top: clamp(26px, 3.4vw, 44px);
}

.page-home .home-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--dim);
}

.page-home .home-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 243, 200, 0.4);
}

.page-home .home-note a:hover,
.page-home .home-note a:focus-visible {
  color: var(--title);
}

/* 01 入口 */
.page-home .home-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.page-home .home-entry__text p {
  margin: 0 0 16px;
  max-width: 42ch;
  line-height: 1.9;
}

.page-home .home-entry__more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 243, 200, 0.4);
}

.page-home .home-entry__more a:hover,
.page-home .home-entry__more a:focus-visible {
  color: var(--title);
}

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

.page-home .home-entry__facts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-entry__facts li:last-child {
  border-bottom: 0;
}

.page-home .home-entry__k {
  color: var(--dim);
}

.page-home .home-entry__v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--title);
}

/* 02 路径索引卡 */
.page-home .home-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .home-index__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), var(--ink-2));
  transition: border-color 0.2s var(--ease-hard), transform 0.24s var(--ease-hard);
}

.page-home .home-index__card:hover,
.page-home .home-index__card:focus-visible {
  border-color: rgba(33, 243, 200, 0.55);
  transform: translateY(-4px);
}

.page-home .home-index__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .home-index__card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--title);
}

.page-home .home-index__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
}

.page-home .home-index__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: var(--cyan);
  border-top: 1px solid var(--line);
}

/* 03 到站五件事 */
.page-home .home-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-actions li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--ink-2);
}

.page-home .home-actions__no {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .home-actions__t {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
}

.page-home .home-actions__d {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--body);
}

/* 04 射门统计 */
.page-home .home-shot__media {
  margin: 0 0 clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  overflow: hidden;
}

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

.page-home .home-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-metrics li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--card);
}

.page-home .home-metrics__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .home-metrics__name {
  font-size: 15px;
  color: var(--title);
}

.page-home .home-tempo {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-tempo li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 16px;
  background: var(--ink-2);
}

.page-home .home-tempo__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.page-home .home-tempo__num em {
  font-style: normal;
  font-size: 0.55em;
  margin-left: 2px;
}

.page-home .home-tempo__label {
  font-size: 13px;
  color: var(--dim);
}

/* 05 两步路径 */
.page-home .home-band {
  position: relative;
  margin: 0 0 clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-band img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
}

.page-home .home-band figcaption {
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.page-home .home-steps {
  list-style: none;
  margin: 0 0 clamp(24px, 3vw, 34px);
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-steps li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--card);
}

.page-home .home-steps b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .home-steps span {
  font-size: 16px;
  color: var(--title);
}

.page-home .home-steps small {
  font-size: 13px;
  line-height: 1.8;
  color: var(--dim);
}

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

.page-home .home-tab {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--body);
  background: rgba(18, 48, 40, 0.7);
  border: 1px solid var(--line);
  transition: color 0.18s var(--ease-hard), border-color 0.18s var(--ease-hard), background 0.18s var(--ease-hard);
}

.page-home .home-tab:hover,
.page-home .home-tab:focus-visible {
  color: var(--cyan);
  border-color: rgba(33, 243, 200, 0.6);
}

.page-home .home-tab[aria-selected="true"] {
  color: var(--ink);
  font-weight: 700;
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .home-tab[aria-selected="true"]:hover {
  color: var(--ink);
}

.page-home .home-panels {
  display: grid;
  gap: 16px;
}

.page-home .home-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-home .home-fixture {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid rgba(33, 243, 200, 0.35);
  transition: background 0.2s var(--ease-hard), border-left-color 0.2s var(--ease-hard);
}

.page-home .home-fixture:last-child {
  border-bottom: 0;
}

.page-home .home-fixture:hover,
.page-home .home-fixture:focus-within,
.page-home .home-fixture:focus-visible {
  background: var(--card);
  border-left-color: var(--cyan);
  outline: none;
}

.page-home .home-fixture__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.page-home .home-fixture__time {
  min-width: 56px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  color: var(--title);
}

.page-home .home-fixture__name {
  font-size: 14px;
  color: var(--body);
}

.page-home .home-fixture__state {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
  border: 1px solid var(--line);
}

.page-home .home-fixture__more {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.24s var(--ease-hard), opacity 0.2s var(--ease-hard), margin-top 0.24s var(--ease-hard);
}

.page-home .home-fixture:hover .home-fixture__more,
.page-home .home-fixture:focus-within .home-fixture__more,
.page-home .home-fixture:focus-visible .home-fixture__more {
  max-height: 90px;
  margin-top: 12px;
  opacity: 1;
}

.page-home .home-fixture__more li {
  padding: 3px 9px;
  font-size: 12px;
  color: var(--cyan);
  background: rgba(33, 243, 200, 0.08);
  border: 1px solid rgba(33, 243, 200, 0.3);
}

/* 06 服务通道 */
.page-home .home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
}

.page-home .home-contact__media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

.page-home .home-contact__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.9);
}

.page-home .home-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-contact__item {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--card);
}

.page-home .home-contact__k {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.page-home .home-contact__v {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--title);
  word-break: break-word;
}

.page-home .home-contact__v a {
  color: var(--title);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 243, 200, 0.4);
}

.page-home .home-contact__v a:hover,
.page-home .home-contact__v a:focus-visible {
  color: var(--cyan);
}

.page-home .home-contact__d {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--body);
}

.page-home .home-contact__more {
  margin: 22px 0 0;
  font-size: 14px;
}

.page-home .home-contact__more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 243, 200, 0.4);
}

.page-home .home-contact__more a:hover,
.page-home .home-contact__more a:focus-visible {
  color: var(--title);
}

/* 断点 */
@media (min-width: 640px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

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

@media (min-width: 880px) {
  .page-home .home-contact {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(270px, 0.8fr);
    align-items: end;
  }

  .page-home .home-entry {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

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

@media (max-width: 959px) {
  .page-home .home-shell {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .page-home .home-rail {
    position: sticky;
    top: var(--bar-h);
    z-index: 4;
    height: auto;
    margin: 0 calc(var(--gutter) * -1);
    padding: 8px var(--gutter);
    background: rgba(5, 19, 15, 0.94);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .page-home .home-rail__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .home-rail__list::before {
    display: none;
  }

  .page-home .home-rail__link {
    padding: 4px 0;
    white-space: nowrap;
  }

  .page-home .home-rail__label {
    writing-mode: horizontal-tb;
    letter-spacing: 0.12em;
  }

  .page-home .home-hero__bg {
    width: 100%;
    opacity: 0.5;
  }

  .page-home .home-hero__bg::after {
    background: linear-gradient(180deg, rgba(5, 19, 15, 0.82) 0%, rgba(5, 19, 15, 0.94) 65%, var(--ink) 100%);
  }
}

@media (max-width: 520px) {
  .page-home .home-actions li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .page-home .home-fixture__state {
    margin-left: 0;
  }
}
