.page-home {
  --home-cut: 26px;
  background: var(--paper);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark-strong);
  padding: 48px 0 56px;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(201, 162, 39, .07) 0 1px, transparent 1px 48px),
    radial-gradient(circle at 84% 16%, rgba(31, 111, 107, .38), transparent 60%),
    radial-gradient(circle at 6% 92%, rgba(201, 162, 39, .16), transparent 52%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-light) 62%, transparent);
}

.page-home .hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

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

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

.page-home .hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.15rem, 8.6vw, 4.4rem);
  line-height: 1.14;
  letter-spacing: .01em;
  margin: 16px 0 18px;
  color: var(--on-dark-strong);
  max-width: 15em;
}

.page-home .hero__lede {
  color: var(--on-dark);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0 0 26px;
  max-width: 32em;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--on-dark);
}

.page-home .hero__facts .mono {
  color: var(--gold-light);
  font-size: .95rem;
  margin-right: 4px;
}

.page-home .hero__figure {
  margin: 0;
  position: relative;
}

.page-home .hero__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .hero__caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(245, 241, 231, .6);
}

/* ---------- 三条主线 ---------- */
.page-home .lanes {
  padding: 60px 0;
  background: var(--paper);
}

.page-home .lanes__head {
  max-width: 40em;
  margin-bottom: 32px;
}

.page-home .lanes__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.4vw, 2.2rem);
  line-height: 1.28;
  color: var(--ink);
  margin: 10px 0 12px;
}

.page-home .lanes__sub {
  color: var(--stone);
  line-height: 1.85;
  margin: 0;
}

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

.page-home .lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 26px;
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
}

.page-home .lane--jade {
  background: var(--jade);
  color: #F5F1E7;
}

.page-home .lane--gold {
  background: var(--gold);
  color: var(--ink);
}

.page-home .lane--ink {
  background: var(--ink-2);
  color: var(--on-dark);
}

.page-home .lane__num {
  font-size: clamp(2.4rem, 9vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.page-home .lane--jade .lane__num {
  color: rgba(245, 241, 231, .46);
}

.page-home .lane--gold .lane__num {
  color: rgba(14, 15, 18, .32);
}

.page-home .lane--ink .lane__num {
  color: var(--gold-light);
}

.page-home .lane__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin: 0;
}

.page-home .lane__fit,
.page-home .lane__gain {
  margin: 0;
  font-size: .92rem;
  line-height: 1.82;
}

.page-home .lane__fit {
  opacity: .88;
}

.page-home .lane__gain {
  font-weight: 500;
}

.page-home .lane__link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
  transition: gap .18s ease;
}

.page-home .lane__link:hover {
  gap: 14px;
}

/* ---------- 栏目路径 ---------- */
.page-home .structure {
  padding: 56px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .structure__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .structure h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.2vw, 2.15rem);
  line-height: 1.28;
  color: var(--ink);
  margin: 10px 0 12px;
}

.page-home .structure__lede {
  color: var(--stone);
  line-height: 1.88;
  margin: 0 0 22px;
  max-width: 38em;
}

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

.page-home .path-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.page-home .path-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .path-row__num {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-dark);
}

.page-home .path-row__text h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 6px;
  color: var(--ink);
}

.page-home .path-row__text p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.82;
  color: var(--stone);
}

.page-home .structure__note {
  position: relative;
  padding: 22px 22px 22px 24px;
  background: var(--ink-2);
  color: var(--on-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
}

.page-home .structure__note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--gold);
}

.page-home .v-note {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .3em;
  color: var(--gold-light);
  margin: 0 0 14px;
  height: 108px;
}

.page-home .structure__note-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.85;
  color: var(--on-dark);
}

/* ---------- 本期规则 ---------- */
.page-home .rules {
  padding: 60px 0;
  background: var(--ink);
  color: var(--on-dark);
}

.page-home .rules__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .rules h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.4vw, 2.2rem);
  line-height: 1.28;
  margin: 10px 0 20px;
  color: var(--on-dark-strong);
}

.page-home .rules__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .rules__list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  line-height: 1.88;
}

.page-home .rules__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

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

.page-home .rules__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(var(--home-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--home-cut));
}

.page-home .rules__caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(245, 241, 231, .58);
}

/* ---------- 路径卡 ---------- */
.page-home .paths {
  padding: 60px 0;
  background: var(--paper);
}

.page-home .paths__head {
  max-width: 40em;
  margin-bottom: 30px;
}

.page-home .paths h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5.4vw, 2.15rem);
  line-height: 1.28;
  color: var(--ink);
  margin: 10px 0 12px;
}

.page-home .paths__sub {
  color: var(--stone);
  line-height: 1.85;
  margin: 0;
}

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

.page-home .path-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, var(--home-cut) 100%, 0 calc(100% - var(--home-cut)));
}

.page-home .path-card__figure {
  margin: 0;
}

.page-home .path-card__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .path-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
  flex: 1;
}

.page-home .path-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.page-home .path-card__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .path-card__steps .step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--stone);
}

.page-home .step__idx {
  font-size: .8rem;
  color: var(--gold-dark);
  padding-top: .28em;
}

.page-home .path-card__more {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.page-home .path-card__more summary {
  cursor: pointer;
  list-style: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--jade);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.page-home .path-card__more summary::-webkit-details-marker {
  display: none;
}

.page-home .path-card__more summary::after {
  content: "＋";
  color: var(--gold-dark);
  font-size: .95rem;
}

.page-home .path-card__more[open] summary::after {
  content: "－";
}

.page-home .path-card__more .accordion__body p {
  margin: 10px 0 0;
  font-size: .88rem;
  line-height: 1.85;
  color: var(--stone);
}

.page-home .path-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--line);
  transition: gap .18s ease, color .18s ease;
}

.page-home .path-card__link:hover {
  gap: 14px;
  color: var(--jade);
}

/* ---------- 更新节奏 ---------- */
.page-home .updates {
  padding: 52px 0;
  background: var(--ink-2);
  color: var(--on-dark);
}

.page-home .updates__head {
  max-width: 42em;
  margin-bottom: 28px;
}

.page-home .updates h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.05rem);
  line-height: 1.3;
  margin: 10px 0 12px;
  color: var(--on-dark-strong);
}

.page-home .updates__sub {
  margin: 0;
  line-height: 1.85;
  font-size: .94rem;
}

.page-home .updates__stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 28px;
}

.page-home .updates .stat {
  background: var(--ink-2);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .updates .stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  line-height: 1;
  color: var(--gold-light);
}

.page-home .updates .stat__label {
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--on-dark);
}

/* ---------- 常用入口 ---------- */
.page-home .entry {
  padding: 60px 0;
  background: var(--paper);
}

.page-home .entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .entry h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 10px 0 12px;
}

.page-home .entry__lede {
  color: var(--stone);
  line-height: 1.85;
  margin: 0 0 24px;
  max-width: 38em;
}

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

.page-home .entry__group h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}

.page-home .entry__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .entry__group a {
  display: inline-block;
  font-size: .91rem;
  line-height: 1.7;
  color: var(--jade);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}

.page-home .entry__group a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.page-home .entry__rail {
  border-left: 1px solid var(--line-soft);
  padding-left: 20px;
}

.page-home .entry__rail-title {
  font-size: .74rem;
  letter-spacing: .28em;
  color: var(--gold-dark);
  margin: 0 0 14px;
}

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

.page-home .entry__rail-list a {
  font-size: .88rem;
  color: var(--stone);
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.page-home .entry__rail-list a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* 锚点定位后给目标区块一条金色顶线 */
.page-home #lanes:target,
.page-home #structure:target,
.page-home #rules:target,
.page-home #paths:target,
.page-home #updates:target {
  box-shadow: inset 0 4px 0 var(--gold);
}

/* ---------- 结尾 ---------- */
.page-home .outro {
  padding: 44px 0;
  background: var(--jade);
  color: #F5F1E7;
}

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

.page-home .outro__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.8rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.page-home .outro__text {
  margin: 0;
  font-size: .94rem;
  line-height: 1.85;
  color: rgba(245, 241, 231, .86);
  max-width: 40em;
}

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

.page-home .outro .btn--ghost {
  color: #F5F1E7;
  border-color: rgba(245, 241, 231, .48);
}

.page-home .outro .btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ---------- 断点 ---------- */
@media (min-width: 600px) {
  .page-home .entry__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

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

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

@media (min-width: 860px) {
  .page-home .hero {
    padding: 72px 0 84px;
  }

  .page-home .hero__grid {
    grid-template-columns: 68px minmax(0, 1fr) minmax(248px, 320px);
    gap: 40px;
    align-items: start;
  }

  .page-home .hero__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .34em;
    color: var(--gold);
  }

  .page-home .hero__rail-word {
    color: var(--gold-light);
  }

  .page-home .hero__rail-line {
    inline-size: 1px;
    block-size: 92px;
    background: var(--line);
  }

  .page-home .hero__rail-note {
    color: rgba(245, 241, 231, .55);
  }

  .page-home .hero__actions {
    gap: 14px;
  }

  .page-home .lanes {
    padding: 76px 0;
  }

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

  .page-home .structure,
  .page-home .rules,
  .page-home .paths,
  .page-home .entry {
    padding: 76px 0;
  }

  .page-home .structure__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 46px;
    align-items: start;
  }

  .page-home .rules__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 46px;
    align-items: center;
  }

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

  .page-home .updates {
    padding: 64px 0;
  }
}

@media (min-width: 960px) {
  .page-home .entry__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }

  .page-home .entry__main {
    grid-column: 1 / span 8;
  }

  .page-home .entry__rail {
    grid-column: 10 / span 3;
    position: sticky;
    top: 104px;
    align-self: start;
  }

  .page-home .outro__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px 40px;
  }

  .page-home .outro__title,
  .page-home .outro__text {
    grid-column: 1;
  }

  .page-home .outro__links {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
}
