.page-home {
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: clip;
}

/* ---------- 封面首屏 ---------- */
.page-home .cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 2.4rem) 0 clamp(3rem, 8vw, 5.6rem);
  border-bottom: 1px solid var(--line);
}

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

.page-home .cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: saturate(0.72);
}

.page-home .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 78% at 10% -6%, rgba(217, 169, 76, 0.22), transparent 58%),
    radial-gradient(96% 70% at 92% 104%, rgba(232, 121, 43, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(10, 26, 42, 0.66) 0%, var(--ink-900) 82%);
  pointer-events: none;
}

.page-home .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(201, 185, 138, 0.085) 0 1px, transparent 1px 92px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
  pointer-events: none;
}

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

.page-home .cover__crumb {
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

.page-home .cover__eyebrow {
  color: var(--gold);
}

.page-home .cover__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 7.4vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--ivory);
  max-width: 22ch;
  margin: 0.9rem 0 0;
}

.page-home .cover__lede {
  margin: clamp(1.1rem, 3vw, 1.7rem) 0 0;
  max-width: 58ch;
  font-size: clamp(1rem, 2.4vw, 1.075rem);
  line-height: 1.85;
  color: rgba(237, 231, 217, 0.82);
}

.page-home .cover__routes {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3.2rem);
}

/* ---------- 两条索引卡 ---------- */
.page-home .route-card {
  position: relative;
  background: linear-gradient(158deg, rgba(23, 57, 90, 0.9), rgba(16, 42, 64, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3veh, 1.25rem) clamp(1.25rem, 3vw, 1.85rem);
  padding-top: clamp(1.4rem, 3vw, 1.9rem);
  padding-bottom: clamp(1.4rem, 3vw, 1.9rem);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.page-home .route-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--orange));
}

.page-home .route-card--alt::before {
  background: linear-gradient(180deg, var(--jade), var(--gold));
}

.page-home .route-card:hover,
.page-home .route-card:focus-within {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-home .route-card__kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .route-card--alt .route-card__kicker {
  color: var(--jade);
}

.page-home .route-card__title {
  margin: 0.6rem 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  line-height: 1.28;
  color: var(--ivory);
}

.page-home .route-card__desc {
  margin: 0.75rem 0 0;
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(237, 231, 217, 0.8);
}

.page-home .route-card__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mist);
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease;
}

.page-home .route-card:hover .route-card__more,
.page-home .route-card:focus-within .route-card__more {
  max-height: 14rem;
  opacity: 1;
  margin-top: 0.75rem;
}

.page-home .route-card__btn {
  margin-top: 1.15rem;
  width: 100%;
}

/* ---------- 节律带 ---------- */
.page-home .band {
  background: var(--ink-900);
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.page-home .band__inner {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.page-home .band__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.page-home .band__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 30% 20%, rgba(63, 167, 150, 0.18), transparent 70%);
  pointer-events: none;
}

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

.page-home .band__copy .section-title {
  margin-top: 0.7rem;
}

.page-home .band__copy .lede {
  margin-top: 1rem;
  color: rgba(237, 231, 217, 0.8);
}

.page-home .stat-row {
  list-style: none;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.page-home .stat {
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 2px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-home .stat__num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(140deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .stat__label {
  font-size: 0.82rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--mist);
}

/* ---------- 两步演示 ---------- */
.page-home .walk {
  background: var(--ink-800);
  padding: clamp(3.4rem, 9vw, 6.4rem) 0;
  margin-top: -1px;
  clip-path: polygon(0 0, 100% 1.8rem, 100% 100%, 0 calc(100% - 1.8rem));
}

.page-home .walk__head .lede {
  margin-top: 1rem;
  color: rgba(237, 231, 217, 0.8);
}

.page-home .walk__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

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

.page-home .step {
  position: relative;
  padding: 0 0 1.9rem 3.4rem;
  margin-left: 1.1rem;
  border-left: 1px solid var(--line-strong);
}

.page-home .step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.page-home .step__index {
  position: absolute;
  left: -1.35rem;
  top: -0.25rem;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  background: linear-gradient(150deg, var(--gold), var(--orange));
  box-shadow: 0 10px 26px -14px rgba(217, 169, 76, 0.9);
}

.page-home .step__title {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.1rem, 3.2vw, 1.35rem);
  line-height: 1.34;
  color: var(--ivory);
}

.page-home .step__body {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.82;
  color: rgba(237, 231, 217, 0.76);
}

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

.page-home .walk__figure .figure__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

/* ---------- 十年时间轴 ---------- */
.page-home .chronicle {
  background: var(--ink-900);
  padding: clamp(3.2rem, 8vw, 6rem) 0;
}

.page-home .chronicle__inner {
  display: grid;
  gap: 2.4rem;
}

.page-home .chronicle__note {
  margin: 1rem 0 0;
  max-width: 34ch;
  font-size: 0.95rem;
  line-height: 1.82;
  color: rgba(237, 231, 217, 0.76);
}

.page-home .chronicle__figure {
  margin: 1.6rem 0 0;
}

.page-home .chronicle__figure .figure__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

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

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 14%, var(--gold) 86%, transparent);
  opacity: 0.45;
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 1.9rem 2.4rem;
}

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

.page-home .timeline__node {
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--gold);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

.page-home .timeline__item.is-visible .timeline__node {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 169, 76, 0.13);
}

.page-home .timeline__date {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .timeline__content h3 {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.05rem, 3vw, 1.28rem);
  line-height: 1.36;
  color: var(--ivory);
}

.page-home .timeline__content p {
  margin: 0.5rem 0 0;
  font-size: 0.94rem;
  line-height: 1.82;
  color: rgba(237, 231, 217, 0.74);
}

/* ---------- 换设备重登 ---------- */
.page-home .relogin {
  background: var(--ink-700);
  padding: clamp(3rem, 8vw, 5.4rem) 0;
}

.page-home .relogin__inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.page-home .relogin__copy .lede {
  margin-top: 1rem;
  color: rgba(237, 231, 217, 0.82);
}

.page-home .relogin__hint {
  margin: 1.2rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--jade);
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--mist);
  max-width: 42ch;
}

.page-home .relogin__card {
  background: rgba(10, 26, 42, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.page-home .relogin__card-title {
  margin: 0;
  font-size: 0;
}

.page-home .relogin__card .accordion__trigger {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold);
}

.page-home .relogin__steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.page-home .relogin__steps .step__title {
  font-size: 1.02rem;
}

/* ---------- 每月 5 日 ---------- */
.page-home .cycle {
  background: var(--ivory);
  color: var(--graphite);
  padding: clamp(2.6rem, 7vw, 4.6rem) 0;
}

.page-home .cycle__inner {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.page-home .cycle__stamp {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.15rem;
  border: 2px dashed rgba(217, 169, 76, 0.75);
  background: radial-gradient(circle at 40% 30%, rgba(217, 169, 76, 0.2), transparent 68%);
  color: var(--graphite);
}

.page-home .cycle__stamp-day {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .cycle__stamp-unit {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: #6b5a34;
}

.page-home .cycle__copy .section-title {
  color: var(--graphite);
}

.page-home .cycle__copy .measure {
  margin: 1rem 0 0;
  color: #3a4756;
}

.page-home .cycle__links {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .cycle__links .btn--ghost {
  color: var(--graphite);
  border-color: rgba(27, 38, 51, 0.32);
}

/* ---------- 分流导览 ---------- */
.page-home .wayfind {
  background: var(--ink-900);
  padding: clamp(3rem, 8vw, 5.6rem) 0 clamp(3.4rem, 9vw, 6rem);
}

.page-home .wayfind__head .section-title {
  margin-top: 0.7rem;
}

.page-home .wayfind__grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.page-home .wayfind__card {
  display: block;
  position: relative;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: linear-gradient(170deg, rgba(16, 42, 64, 0.85), rgba(10, 26, 42, 0.9));
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.page-home .wayfind__card--alt {
  background: linear-gradient(170deg, rgba(23, 57, 90, 0.9), rgba(10, 26, 42, 0.9));
}

.page-home .wayfind__card::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jade);
  opacity: 0.85;
}

.page-home .wayfind__card:hover,
.page-home .wayfind__card:focus {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-home .wayfind__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .wayfind__title {
  margin: 0.6rem 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  color: var(--ivory);
}

.page-home .wayfind__desc {
  margin: 0.6rem 0 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(237, 231, 217, 0.76);
}

.page-home .wayfind__go {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.page-home .wayfind__foot {
  margin: clamp(1.6rem, 4vw, 2.2rem) 0 0;
  font-size: 0.92rem;
  color: var(--mist);
}

.page-home .wayfind__foot a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .cover__routes {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }

  .page-home .route-card__btn {
    width: auto;
  }

  .page-home .wayfind__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 900px) {
  .page-home .band__inner {
    grid-template-columns: 5fr 7fr;
    gap: 3.2rem;
  }

  .page-home .walk__grid {
    grid-template-columns: 4fr 8fr;
    gap: 3.6rem;
  }

  .page-home .chronicle__inner {
    grid-template-columns: 4.5fr 7.5fr;
    gap: 3.6rem;
  }

  .page-home .relogin__inner {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }

  .page-home .cycle__inner {
    grid-template-columns: 3fr 9fr;
    gap: 3rem;
  }

  .page-home .cycle__stamp {
    width: 10rem;
    height: 10rem;
    justify-self: start;
  }
}

@media (hover: none) {
  .page-home .route-card__more {
    max-height: none;
    opacity: 1;
    margin-top: 0.75rem;
  }
}

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

  .page-home .route-card:hover,
  .page-home .route-card:focus-within,
  .page-home .wayfind__card:hover,
  .page-home .wayfind__card:focus {
    transform: none;
  }
}
