.page-home {
  --home-rail-w: 176px;
  --home-col-gap: 48px;
  background-color: var(--navy);
  color: var(--paper);
}

/* ============ 首屏 ============ */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 9vw, 118px);
  background-color: var(--navy);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 84% 14%, rgba(53, 224, 200, .16), transparent 60%),
    radial-gradient(95% 75% at 6% 90%, rgba(212, 168, 83, .14), transparent 62%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(232, 226, 210, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 226, 210, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(78% 68% at 46% 42%, #000 0%, transparent 78%);
  mask-image: radial-gradient(78% 68% at 46% 42%, #000 0%, transparent 78%);
}

.page-home .hero-band {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(52%, 640px);
  height: 100%;
  pointer-events: none;
  background: var(--navy-2);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .85;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.page-home .hero-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 6.4vw, 3.9rem);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.14;
  color: var(--paper);
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--gold);
}

.page-home .hero-lede {
  margin: 0 0 30px;
  max-width: 34em;
  font-size: clamp(.95rem, 1.05vw, 1.0625rem);
  line-height: 1.85;
  color: rgba(244, 241, 232, .8);
}

.page-home .hero-media {
  position: relative;
  margin: 0;
  background: var(--navy-3);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(158deg, rgba(53, 224, 200, .22), transparent 46%, rgba(212, 168, 83, .24));
  mix-blend-mode: screen;
}

/* ============ 主体骨架 ============ */
.page-home .home-body {
  display: grid;
  gap: 40px;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

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

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

.page-home .home-main > .section + .section {
  margin-top: clamp(56px, 7.5vw, 96px);
}

.page-home .section-head {
  max-width: 44rem;
}

.page-home .eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .lede {
  margin: 0;
  font-size: clamp(.9375rem, 1.05vw, 1.0625rem);
  line-height: 1.85;
  color: rgba(244, 241, 232, .78);
}

/* ============ 四条入口 ============ */
.page-home .routes-visual {
  margin: 28px 0 36px;
  background: var(--navy-2);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.page-home .routes-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: .88;
}

.page-home .route-grid {
  display: grid;
  gap: 18px;
}

.page-home .route-card {
  --shift: 0px;
  display: block;
  padding: 24px 20px 22px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--edge);
  box-shadow: 6px 6px 0 -1px rgba(232, 226, 210, .16), 0 18px 32px -22px rgba(0, 0, 0, .7);
  transform: translateY(var(--shift));
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .route-card:hover,
.page-home .route-card:focus-visible {
  transform: translateY(calc(var(--shift) - 6px));
  border-color: var(--gold);
  box-shadow: 6px 6px 0 -1px rgba(212, 168, 83, .34), 0 26px 44px -22px rgba(0, 0, 0, .78);
}

.page-home .route-idx {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--clay);
}

.page-home .route-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--stone);
}

.page-home .route-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
}

.page-home .route-card p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-home .route-go {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.page-home .route-go::after {
  content: " →";
  color: var(--clay);
}

/* ============ 更新节奏 ============ */
.page-home .rhythm-inner {
  display: grid;
  gap: 32px;
  margin-top: 30px;
}

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

.page-home .tl-node {
  position: relative;
  padding: 0 0 28px 24px;
}

.page-home .tl-node:last-child {
  padding-bottom: 0;
}

.page-home .tl-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(53, 224, 200, .14);
}

.page-home .tl-node::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.page-home .tl-node:last-child::after {
  display: none;
}

.page-home .tl-when {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .tl-meta {
  margin-bottom: 8px;
}

.page-home .tl-node h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .tl-node p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.78;
  color: rgba(244, 241, 232, .72);
}

.page-home .rhythm-figure {
  margin: 0;
  background: var(--navy-3);
  border: 1px solid var(--line);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}

.page-home .rhythm-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ============ 可信信息 ============ */
.page-home .trust-band {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  background: var(--navy-2);
  border: 1px solid var(--line-strong);
}

.page-home .trust-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .14;
  pointer-events: none;
}

.page-home .trust-inner {
  position: relative;
  z-index: 1;
}

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

.page-home .trust-item {
  padding-left: 16px;
  border-left: 1px solid rgba(212, 168, 83, .42);
}

.page-home .trust-label {
  margin: 0 0 7px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--stone);
}

.page-home .trust-value {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: clamp(.9375rem, 1.3vw, 1.0625rem);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.5;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.page-home .trust-note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.72;
  color: rgba(244, 241, 232, .66);
}

.page-home .trust-anchor {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.95;
  color: rgba(244, 241, 232, .74);
}

.page-home .trust-anchor a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 200, .42);
}

.page-home .trust-anchor a:hover {
  border-bottom-color: var(--cyan);
}

/* ============ 快速查找 ============ */
.page-home .search-samples {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .search-sample {
  --shift: 0px;
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  text-decoration: none;
  background: rgba(18, 43, 82, .72);
  border: 1px solid var(--line);
  transform: translateY(var(--shift));
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
}

.page-home .search-sample:hover,
.page-home .search-sample:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(18, 43, 82, .96);
}

.page-home .sample-kicker {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .sample-query {
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--paper);
}

.page-home .sample-hit {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(244, 241, 232, .76);
}

.page-home .sample-hit::before {
  content: "↳ ";
  color: var(--gold);
}

.page-home .search-cta {
  margin-top: 30px;
}

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

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

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }

  .page-home .rhythm-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: 44px;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .home-body {
    grid-template-columns: var(--home-rail-w) minmax(0, 1fr);
    gap: var(--home-col-gap);
    align-items: start;
  }

  .page-home .home-rail {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 30px);
  }

  .page-home .route-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .route-card:nth-child(even) {
    --shift: 30px;
  }

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

@media (min-width: 1280px) {
  .page-home .route-grid {
    gap: 22px;
  }

  .page-home .home-main > .section + .section {
    margin-top: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .route-card,
  .page-home .search-sample {
    transition: none;
    transform: none;
  }

  .page-home .route-card:hover,
  .page-home .route-card:focus-visible,
  .page-home .search-sample:hover,
  .page-home .search-sample:focus-visible {
    transform: none;
  }
}
