/* ============================================
   page-home · 首页
   ============================================ */

.page-home {
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(0deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--step) var(--step);
  background-position: 0 0;
  color: var(--silver);
  overflow-x: hidden;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home .section {
  padding-block: clamp(64px, 10vh, 140px);
}

.page-home .eyebrow {
  display: block;
  margin-bottom: 18px;
}

.page-home .h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--mist);
  margin: 0;
}

/* ---------- 首屏 ---------- */

.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(120px, 18vh, 200px) 0 clamp(64px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

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

.home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: contrast(1.08) saturate(0.75);
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 14, 0.72) 0%,
    rgba(11, 13, 14, 0.18) 38%,
    rgba(11, 13, 14, 0.96) 100%
  );
}

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

.home-hero__kicker {
  font-family: var(--font-narrow);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 clamp(20px, 4vh, 36px);
}

.home-hero__title {
  font-family: var(--font-cn);
  font-weight: 900;
  font-size: clamp(46px, 12vw, 168px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--mist);
  margin: 0;
  animation: ph-hero-rise 900ms var(--ease) 120ms both;
}

.home-hero__rule {
  height: 1px;
  width: 100%;
  background: var(--cyan);
  transform-origin: left;
  margin: clamp(24px, 4vh, 44px) 0;
  animation: ph-rule-grow 700ms var(--ease) 620ms both;
}

.home-hero__lede {
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--silver);
  margin: 0 0 clamp(32px, 5vh, 52px);
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mist);
  padding: 12px 0;
  position: relative;
}

.home-hero__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 1px;
  background: var(--cyan);
  transition: width 0.45s var(--ease);
}

.home-hero__cta:hover::after,
.home-hero__cta:focus-visible::after {
  width: 100%;
}

.home-hero__cta-mark {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.home-hero__cta:hover .home-hero__cta-mark {
  transform: translateY(4px);
}

@keyframes ph-hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ph-rule-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---------- 入口索引 ---------- */

.home-index__head {
  max-width: 62ch;
  margin-bottom: clamp(40px, 7vh, 80px);
}

.home-index__head .lede {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--silver);
}

.home-index__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.home-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.home-index__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
  transition: background-color 0.35s var(--ease);
}

.home-index__item:hover {
  background: rgba(22, 224, 208, 0.04);
}

.home-index__num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding-top: 4px;
}

.home-index__link {
  font-family: var(--font-cn);
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -0.01em;
  color: var(--mist);
  transition: color 0.25s var(--ease);
}

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

.home-index__desc {
  grid-column: 2;
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 46ch;
}

.home-index__figure {
  margin: 0;
  position: relative;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}

.home-index__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}

/* ---------- 这次改动在哪里 ---------- */

.home-changes__head {
  margin-bottom: clamp(32px, 5vh, 56px);
}

.home-changes__band {
  margin: 0 0 clamp(40px, 7vh, 72px);
  overflow: hidden;
}

.home-changes__band img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.home-changes__grid {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

.home-change {
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}

.home-change__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 16px;
}

.home-change .h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--mist);
  margin: 0 0 12px;
}

.home-change p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 40ch;
}

/* ---------- 按场景找路 ---------- */

.home-paths__head {
  margin-bottom: clamp(32px, 5vh, 56px);
}

.home-paths__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.home-paths__figure {
  margin: 0;
}

.home-paths__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
}

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

.home-path {
  border-bottom: 1px solid var(--hair);
  padding: 28px 0;
}

.home-path:first-child {
  border-top: 1px solid var(--hair);
}

.home-path__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 12px;
}

.home-path h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.4;
  color: var(--mist);
  margin: 0 0 10px;
}

.home-path p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 46ch;
}

.home-path__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  position: relative;
  padding-bottom: 3px;
}

.home-path__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.4s var(--ease);
}

.home-path__link:hover::after,
.home-path__link:focus-visible::after {
  width: 100%;
}

/* ---------- 更新节拍 ---------- */

.home-cadence {
  background: var(--ink-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.home-cadence__head {
  margin-bottom: clamp(32px, 5vh, 56px);
}

.home-cadence__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.home-cadence__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hair);
}

.home-cadence__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.home-cadence__row p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 56ch;
}

.home-cadence__links {
  list-style: none;
  margin: clamp(32px, 5vh, 56px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.home-cadence__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--mist);
  position: relative;
  padding-bottom: 3px;
}

.home-cadence__links a::before {
  content: "→";
  color: var(--cyan);
  font-size: 14px;
}

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

/* ---------- 滚动显现（页面级兜底） ---------- */

.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.page-home [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 移动端优先：媒体查询 ---------- */

@media (min-width: 760px) {
  .home-index__item {
    grid-template-columns: 72px 1fr;
    padding: 26px 0;
  }

  .home-changes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .home-index__layout {
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(48px, 6vw, 80px);
  }

  .home-paths__layout {
    grid-template-columns: 1fr 1.5fr;
  }

  .home-cadence__row {
    grid-template-columns: 120px 1fr;
    gap: 24px;
  }
}

/* ---------- 减少动态 ---------- */

@media (prefers-reduced-motion: reduce) {
  .home-hero__title,
  .home-hero__rule {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .home-hero__cta::after,
  .home-hero__cta-mark,
  .home-path__link::after {
    transition: none;
  }

  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.12s linear;
  }
}
