.page-home {
  --home-panel: rgba(16, 51, 31, 0.5);
  --home-line: rgba(200, 255, 61, 0.16);
}

.page-home img {
  max-width: 100%;
}

/* ---------- 首屏框景 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 13vw, 148px) 0 clamp(48px, 7vw, 88px);
  background: var(--pitch-950);
  border-bottom: 2px solid var(--line-600);
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-home .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(4, 21, 14, 0.95) 0%, rgba(4, 21, 14, 0.82) 44%, rgba(4, 21, 14, 0.38) 100%),
    repeating-linear-gradient(90deg, rgba(200, 255, 61, 0.05) 0 1px, transparent 1px 72px);
}

.page-home .hero__frame {
  position: absolute;
  inset: clamp(12px, 2.6vw, 30px);
  z-index: 1;
  border: 2px solid rgba(200, 255, 61, 0.3);
  pointer-events: none;
}

.page-home .hero__frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(200, 255, 61, 0.14);
}

.page-home .hero__tick {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--lime-400);
}

.page-home .hero__tick--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.page-home .hero__tick--tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.page-home .hero__tick--bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.page-home .hero__tick--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.page-home .hero__gauge {
  position: absolute;
  top: 14%;
  bottom: 14%;
  right: -1px;
  width: 6px;
  background: repeating-linear-gradient(to bottom, var(--lime-400) 0 2px, transparent 2px 14px);
  opacity: 0.55;
}

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

.page-home .hero__ctx {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-400);
}

.page-home .hero__ctx-chip {
  padding: 3px 9px;
  border: 2px solid var(--violet-500);
  color: var(--violet-tint);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.page-home .hero__ctx-sep {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--line-600);
}

.page-home .hero__title {
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  max-width: 14em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink-50);
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--lime-400);
}

.page-home .hero__lead {
  margin: 0 0 clamp(24px, 3.4vw, 36px);
  max-width: 34em;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.78;
  color: var(--ink-50);
  opacity: 0.86;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.page-home .hero__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
  padding-top: 24px;
  border-top: 2px solid rgba(200, 255, 61, 0.22);
  max-width: 940px;
}

.page-home .hero__metric dt {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  color: var(--lime-400);
}

.page-home .hero__metric dd {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-400);
}

/* ---------- 章节骨架 ---------- */
.page-home .blk {
  position: relative;
  padding: clamp(54px, 8vw, 104px) 0;
  background: var(--pitch-950);
}

.page-home .blk--alt {
  background: var(--pitch-900);
  border-top: 2px solid var(--line-600);
  border-bottom: 2px solid var(--line-600);
}

.page-home .chapter-head {
  max-width: 920px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .chapter-head__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.page-home .chapter-head__tag .chapter__rule {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 2px;
  background: var(--lime-400);
}

.page-home .chapter-head__tag .eyebrow {
  color: var(--lime-400);
}

.page-home .chapter-head__title {
  margin: 0 0 14px;
  max-width: 22em;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink-50);
}

.page-home .chapter-head__desc {
  margin: 0;
  max-width: 42em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-400);
}

/* ---------- 通用图片块 ---------- */
.page-home .shot {
  margin: 0;
}

.page-home .shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--line-600);
  object-fit: cover;
}

.page-home .shot figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-400);
}

/* ---------- 01 版本亮点 ---------- */
.page-home .version__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

.page-home .version__points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--line-600);
}

.page-home .version__point {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx title"
    "idx text";
  gap: 4px 16px;
  padding: 20px 16px;
  border-bottom: 2px solid var(--line-600);
  border-left: 2px solid transparent;
  background: rgba(16, 51, 31, 0.32);
  transition: background 0.16s var(--ease), border-left-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.page-home .version__point:hover {
  background: rgba(16, 51, 31, 0.72);
  border-left-color: var(--lime-400);
  transform: translateX(4px);
}

.page-home .version__idx {
  grid-area: idx;
  align-self: start;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--lime-400);
}

.page-home .version__point h3 {
  grid-area: title;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink-50);
}

.page-home .version__point p {
  grid-area: text;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--ink-400);
}

.page-home .version__shot img {
  aspect-ratio: 3 / 4;
}

/* ---------- 02 案例标签墙 ---------- */
.page-home .cases__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 20px;
  margin-inline: calc(var(--gutter) * -1);
}

.page-home .case-tile {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 2px solid var(--line-600);
  background: var(--home-panel);
  text-decoration: none;
  color: var(--ink-50);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.16s var(--ease);
}

.page-home .case-tile:hover {
  transform: translateY(-4px);
  border-color: var(--lime-400);
  box-shadow: var(--shadow-hard);
  background: rgba(16, 51, 31, 0.78);
}

.page-home .case-tile:focus-visible {
  outline: 2px solid var(--lime-400);
  outline-offset: 3px;
}

.page-home .case-tile__num {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--cyan-400);
}

.page-home .case-tile .plate {
  align-self: flex-start;
}

.page-home .case-tile__title {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink-50);
}

.page-home .case-tile__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--ink-400);
}

/* ---------- 03 主客场 ---------- */
.page-home .versus__layout {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-home .versus__shot {
  display: flex;
  flex-direction: column;
}

.page-home .versus__shot img {
  flex: 1 1 auto;
  min-height: 240px;
  height: 100%;
}

.page-home .versus__panel {
  display: grid;
  gap: 14px;
}

.page-home .versus__side {
  position: relative;
  padding: 18px 16px 22px;
  border: 2px solid var(--line-600);
  background: var(--home-panel);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.page-home .versus__side--home { border-top: 6px solid var(--lime-400); }
.page-home .versus__side--away { border-top: 6px solid var(--orange-500); }

.page-home .versus__side:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard);
}

.page-home .versus__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.page-home .versus__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-50);
}

.page-home .versus__stats {
  display: grid;
  gap: 16px;
  margin: 0;
}

.page-home .versus__stat dt {
  margin: 0 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--ink-400);
}

.page-home .versus__stat dd {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1;
}

.page-home .versus__side--home .versus__stat dd { color: var(--lime-400); }
.page-home .versus__side--away .versus__stat dd { color: var(--orange-500); }

.page-home .versus__bar {
  height: 8px;
  background: rgba(30, 87, 56, 0.55);
  overflow: hidden;
}

.page-home .versus__bar span {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: var(--lime-400);
}

.page-home .versus__bar--orange span {
  background: var(--orange-500);
}

.page-home .versus__note {
  margin: clamp(20px, 3vw, 30px) 0 20px;
  max-width: 46em;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink-400);
}

/* ---------- 04 栏目怎么选 ---------- */
.page-home .picker__list {
  list-style: none;
  margin: 0 0 clamp(22px, 3vw, 34px);
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .picker__item {
  padding: 22px 18px 24px;
  border: 2px solid var(--line-600);
  background: var(--home-panel);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.page-home .picker__item:hover {
  transform: translateY(-4px);
  border-color: var(--lime-400);
  box-shadow: var(--shadow-hard);
}

.page-home .picker__num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--violet-500);
}

.page-home .picker__item h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--ink-50);
}

.page-home .picker__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-400);
}

.page-home .picker__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 05 更新节奏 ---------- */
.page-home .rhythm__media {
  margin: clamp(20px, 4vw, 40px) 0;
}

.page-home .rhythm__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top: 2px solid var(--line-600);
  border-bottom: 2px solid var(--line-600);
}

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

.page-home .rhythm__item {
  position: relative;
  padding-left: 22px;
  border-left: 2px solid var(--line-600);
}

.page-home .rhythm__dot {
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--lime-400);
  border: 2px solid var(--pitch-900);
}

.page-home .rhythm__dot--orange { background: var(--orange-500); }
.page-home .rhythm__dot--violet { background: var(--violet-500); }

.page-home .rhythm__phase {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--ink-400);
}

.page-home .rhythm__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.14rem;
  color: var(--ink-50);
}

.page-home .rhythm__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-400);
}

/* ---------- 06 服务与联系 ---------- */
.page-home .support__grid {
  display: grid;
  gap: 18px;
}

.page-home .support__card {
  padding: 24px 20px 26px;
  border: 2px solid var(--line-600);
  background: var(--home-panel);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.page-home .support__card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-400);
  box-shadow: var(--shadow-hard);
}

.page-home .support__k {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--lime-400);
}

.page-home .support__v {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-50);
  word-break: break-word;
}

.page-home .support__note {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--ink-400);
}

.page-home .support__card:last-child .support__note {
  margin-bottom: 18px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }

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

  .page-home .cases__rail {
    grid-auto-columns: 46%;
  }

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

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

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

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

  .page-home .cases__rail {
    grid-auto-columns: 32%;
  }
}

@media (min-width: 980px) {
  .page-home .versus__layout {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

@media (min-width: 1000px) {
  .page-home .cases__rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-home .hero {
    padding-top: 76px;
  }

  .page-home .hero__title {
    max-width: none;
    font-size: 1.95rem;
  }

  .page-home .hero__gauge {
    display: none;
  }

  .page-home .versus__stat dd {
    font-size: 1.5rem;
  }
}

.page-home {
  --w: 1rem;
}
