.page-home {
  overflow-x: clip;
}

.page-home a:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--gh-bright);
  outline-offset: 3px;
}

.page-home .hm-num {
  font-family: var(--gh-font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--gh-gold);
  letter-spacing: -0.01em;
}

.page-home .hm-mono {
  font-family: var(--gh-font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gh-copper);
}

.page-home .hm-stats .hm-num {
  color: var(--gh-bright);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  overflow: hidden;
  background: var(--gh-mist);
  padding-block: clamp(1.6rem, 4vw, 3rem) clamp(4.5rem, 10vw, 8rem);
}

.page-home .hm-hero__blade {
  position: absolute;
  top: -10%;
  right: -34%;
  width: 76%;
  height: 100%;
  background: linear-gradient(158deg, var(--gh-forest) 10%, var(--gh-forest-deep) 88%);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.96;
}

.page-home .hm-hero__ribbon {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(84%, 48rem);
  height: clamp(2.4rem, 6.5vw, 5rem);
  background: linear-gradient(90deg, var(--gh-gold), var(--gh-bright));
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  transition: filter var(--gh-ease);
}

.page-home .hm-hero:hover .hm-hero__ribbon,
.page-home .hm-hero:focus-within .hm-hero__ribbon {
  filter: brightness(1.12) saturate(1.06);
}

.page-home .hm-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.page-home .hm-hero__title {
  font-family: var(--gh-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--gh-ink);
  margin: 0.7rem 0 0;
  max-width: 20ch;
}

.page-home .hm-hero__lede {
  margin: 1rem 0 0;
  max-width: 40ch;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.78;
  color: var(--gh-forest);
}

.page-home .hm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.2rem, 3vw, 1.9rem);
}

.page-home .hm-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gh-line);
}

.page-home .hm-hero__facts div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-home .hm-hero__facts dt {
  font-family: var(--gh-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gh-stone);
  text-transform: uppercase;
}

.page-home .hm-hero__facts dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gh-ink);
  font-weight: 600;
}

.page-home .hm-hero__facts dd .hm-num {
  font-size: 1.35rem;
  font-weight: 500;
}

.page-home .hm-hero__media {
  margin: 0;
  box-shadow: 0 18px 40px rgba(20, 19, 16, 0.18);
  border: 1px solid rgba(122, 74, 43, 0.45);
  background: var(--gh-forest-deep);
}

.page-home .hm-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-home .hm-hero__media .gh-media__caption {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---------- 通用小标题 ---------- */
.page-home .hm-head {
  max-width: 48rem;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.4rem);
}

.page-home .hm-head h2 {
  font-family: var(--gh-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--gh-forest);
  margin: 0.6rem 0 0;
}

.page-home .hm-head__lede {
  margin: 0.85rem 0 0;
  line-height: 1.78;
  color: var(--gh-forest);
  opacity: 0.86;
}

.page-home .hm-head--inverse h2 {
  color: var(--gh-mist);
}

.page-home .hm-head--inverse .hm-head__lede {
  color: var(--gh-mist);
  opacity: 0.76;
}

.page-home .hm-head--inverse .gh-eyebrow {
  color: var(--gh-bright);
}

/* ---------- 归档分类 ---------- */
.page-home .hm-archive {
  background: var(--gh-paper);
  padding-block: clamp(2.2rem, 5.5vw, 4.2rem);
  border-top: 1px solid var(--gh-line);
  border-bottom: 1px solid var(--gh-line);
}

.page-home .hm-archive__figure {
  margin: 0 0 clamp(1.2rem, 3vw, 2rem);
  max-height: 22rem;
  overflow: hidden;
  border-radius: 2px;
}

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

.page-home .hm-cols {
  display: grid;
  gap: 1px;
  background: var(--gh-line);
  border: 1px solid var(--gh-line);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .hm-col {
  background: var(--gh-mist);
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--gh-ease), box-shadow var(--gh-ease), background var(--gh-ease);
}

.page-home .hm-col:hover,
.page-home .hm-col:focus-within {
  transform: translateY(-2px);
  background: var(--gh-paper);
  box-shadow: 0 10px 24px rgba(20, 19, 16, 0.1);
}

.page-home .hm-col .gh-index {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  color: var(--gh-copper);
}

.page-home .hm-col h3 {
  font-family: var(--gh-font-display);
  font-size: 1.16rem;
  line-height: 1.4;
  color: var(--gh-forest);
  margin: 0;
}

.page-home .hm-col p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--gh-ink);
  opacity: 0.84;
}

.page-home .hm-col__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: auto 0 0;
  padding: 0.5rem 0 0;
}

/* ---------- 更新节奏 ---------- */
.page-home .hm-cadence {
  position: relative;
  background: var(--gh-forest);
  color: var(--gh-mist);
  padding-block: clamp(2.4rem, 6vw, 4.6rem);
}

.page-home .hm-cadence::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--gh-gold), var(--gh-bright) 42%, transparent 92%);
  opacity: 0.85;
}

.page-home .hm-cadence__grid {
  display: grid;
  gap: clamp(1.4rem, 3.5vw, 2.4rem);
}

.page-home .hm-weeks {
  display: grid;
  gap: 0.7rem;
}

.page-home .hm-week {
  border: 1px solid var(--gh-line-gold);
  background: rgba(252, 247, 238, 0.05);
  padding: 0.95rem 1.05rem;
  transition: transform var(--gh-ease), background var(--gh-ease), border-color var(--gh-ease);
}

.page-home .hm-week:hover,
.page-home .hm-week:focus-within {
  transform: translateY(-2px);
  background: rgba(252, 247, 238, 0.11);
  border-color: rgba(232, 180, 90, 0.55);
}

.page-home .hm-week__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
}

.page-home .hm-week__head .gh-index {
  margin: 0;
  color: var(--gh-bright);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.page-home .hm-week__head h3 {
  margin: 0;
  font-family: var(--gh-font-display);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--gh-mist);
}

.page-home .hm-week__line {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--gh-mist);
  opacity: 0.8;
}

.page-home .hm-week__more p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--gh-bright);
}

.page-home .hm-weeks__foot {
  margin: 0.6rem 0 0;
}

.page-home .hm-feedback {
  border: 1px solid var(--gh-line-gold);
  background: rgba(20, 19, 16, 0.22);
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
}

.page-home .hm-feedback h3 {
  margin: 0;
  font-family: var(--gh-font-display);
  font-size: 1.15rem;
  color: var(--gh-mist);
}

.page-home .hm-feedback__lede {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gh-mist);
  opacity: 0.76;
}

.page-home .hm-feedback__list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.page-home .hm-feedback__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(232, 180, 90, 0.24);
}

.page-home .hm-feedback__list .hm-mono {
  color: var(--gh-bright);
  font-size: 0.76rem;
}

.page-home .hm-feedback__type {
  font-size: 0.9rem;
  color: var(--gh-mist);
}

.page-home .hm-feedback__note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--gh-bright);
}

/* ---------- 导出 ---------- */
.page-home .hm-export {
  background: var(--gh-mist);
  padding-block: clamp(2.4rem, 6vw, 4.4rem);
}

.page-home .hm-export__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.page-home .hm-export__copy h2 {
  font-family: var(--gh-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--gh-forest);
  margin: 0.6rem 0 0;
}

.page-home .hm-export__copy p {
  margin: 0.9rem 0 0;
  line-height: 1.78;
  color: var(--gh-ink);
  opacity: 0.86;
}

.page-home .hm-export__list {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-home .hm-export__list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 0.55rem 0;
  border-top: 1px solid var(--gh-line);
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--gh-ink);
}

.page-home .hm-export__list .hm-mono {
  color: var(--gh-gold);
  font-weight: 600;
}

.page-home .hm-export__media {
  margin: 0;
  border: 1px solid var(--gh-line);
  box-shadow: 0 12px 28px rgba(20, 19, 16, 0.1);
  background: var(--gh-paper);
}

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

/* ---------- 场景与规模 ---------- */
.page-home .hm-scenes {
  background: var(--gh-paper);
  padding-top: clamp(2.4rem, 6vw, 4.4rem);
  border-top: 1px solid var(--gh-line);
}

.page-home .hm-scenes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .hm-scenes__list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--gh-line);
}

.page-home .hm-scenes__list h3 {
  margin: 0;
  font-family: var(--gh-font-display);
  font-size: 1.05rem;
  color: var(--gh-copper);
  letter-spacing: 0.01em;
}

.page-home .hm-scenes__list p {
  margin: 0.35rem 0 0;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--gh-ink);
  opacity: 0.82;
}

.page-home .hm-stats {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  background: var(--gh-moss);
  color: var(--gh-paper);
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
}

.page-home .hm-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.4rem;
}

.page-home .hm-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-left: 2px solid rgba(232, 180, 90, 0.45);
  padding-left: 0.7rem;
}

.page-home .hm-stat .hm-num {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.1;
}

.page-home .hm-stat__label {
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.86;
}

/* ---------- 三步路径 ---------- */
.page-home .hm-path-sec {
  background: var(--gh-mist);
  padding-block: clamp(2.4rem, 6vw, 4.6rem);
}

.page-home .hm-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.page-home .hm-path__node {
  position: relative;
  background: var(--gh-paper);
  border: 1px solid var(--gh-line);
  padding: clamp(1.05rem, 2.6vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--gh-ease), box-shadow var(--gh-ease);
}

.page-home .hm-path__node:hover,
.page-home .hm-path__node:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 19, 16, 0.11);
}

.page-home .hm-path__node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.7rem;
  bottom: -1.25rem;
  width: 2px;
  height: 1.25rem;
  background: linear-gradient(180deg, var(--gh-copper), transparent);
}

.page-home .hm-path__num {
  font-family: var(--gh-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  color: var(--gh-copper);
}

.page-home .hm-path__node h3 {
  margin: 0;
  font-family: var(--gh-font-display);
  font-size: 1.14rem;
  color: var(--gh-forest);
}

.page-home .hm-path__node p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--gh-ink);
  opacity: 0.84;
}

.page-home .hm-path__node .gh-btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .hm-path__foot {
  margin: clamp(1.5rem, 4vw, 2.4rem) 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--gh-line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.2rem;
  font-size: 0.92rem;
}

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

.page-home .hm-path__foot a:hover {
  color: var(--gh-copper);
}

/* ---------- 响应式 ---------- */
@media (min-width: 40rem) {
  .page-home .hm-scenes__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (min-width: 48rem) {
  .page-home .hm-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .hm-week__more {
    overflow: hidden;
  }

  .page-home .hm-cadence__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 52rem) {
  .page-home .hm-hero__blade {
    right: -10%;
    width: 54%;
    top: -6%;
    height: 108%;
  }

  .page-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .page-home .hm-hero__media {
    margin-top: 3rem;
  }

  .page-home .hm-stats__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .hm-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .page-home .hm-path__node:not(:last-child)::after {
    left: auto;
    right: -1.6rem;
    top: 50%;
    bottom: auto;
    width: 1.6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gh-copper), transparent);
  }
}

@media (min-width: 56rem) {
  .page-home .hm-export__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

@media (hover: hover) and (min-width: 48rem) {
  .page-home .hm-week__more {
    max-height: 0;
    opacity: 0;
    transition: max-height 240ms var(--gh-ease), opacity 200ms var(--gh-ease);
  }

  .page-home .hm-week:hover .hm-week__more,
  .page-home .hm-week:focus-within .hm-week__more {
    max-height: 9rem;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-col,
  .page-home .hm-week,
  .page-home .hm-path__node,
  .page-home .hm-hero__ribbon,
  .page-home .hm-week__more {
    transition: none;
  }
}
