.page-home {
  --home-dusk-deep: #2a2440;
  --home-tilt: -1.2deg;
}

/* ---------------- 首屏 ---------------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2.5rem, 7vw, 5rem);
  background:
    radial-gradient(120% 90% at 86% 0%, rgba(217, 164, 65, 0.22) 0%, rgba(217, 164, 65, 0) 58%),
    linear-gradient(180deg, var(--c-sand) 0%, var(--c-sand-deep) 100%);
}

.page-home .hero__dune {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(110px, 18vw, 210px);
  pointer-events: none;
}

.page-home .hero__dune svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

.page-home .hero__context {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rock);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .hero__title {
  margin: 0.75rem 0 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--c-night);
}

.page-home .hero__title-em {
  display: block;
  color: var(--c-danxia);
}

.page-home .hero__desc {
  max-width: 46ch;
  margin: clamp(1.1rem, 3vw, 1.6rem) 0 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.85;
  color: var(--c-teal);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.page-home .hero__footnote {
  margin: clamp(1.2rem, 3vw, 1.8rem) 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--c-rock);
}

.page-home .hero__art {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-s) var(--radius-l) var(--radius-l) var(--radius-l);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 7% 100%);
  background: linear-gradient(140deg, var(--c-danxia), var(--c-terracotta) 55%, var(--c-sandgold));
}

.page-home .hero__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.94;
}

.page-home .hero__anchor {
  margin-top: clamp(2rem, 5vw, 3rem);
  max-width: 44rem;
  padding: clamp(1.15rem, 3vw, 1.85rem);
  border: 1px solid var(--c-teal-28);
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, rgba(31, 166, 160, 0.13), rgba(246, 239, 226, 0.92));
  box-shadow: var(--shadow-soft);
}

.page-home .hero__anchor-label {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-night);
}

.page-home .hero__anchor-hint {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-rock);
}

.page-home .hero__anchor-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--c-turquoise);
  border-radius: var(--radius-pill);
  background: rgba(184, 227, 223, 0.4);
}

.page-home .hero__anchor-icon {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--c-turquoise);
  border-radius: 50%;
  position: relative;
}

.page-home .hero__anchor-icon::after {
  content: "";
  position: absolute;
  right: -0.42rem;
  bottom: -0.32rem;
  width: 0.5rem;
  height: 2px;
  background: var(--c-turquoise);
  transform: rotate(45deg);
}

.page-home .hero__anchor-text {
  font-size: 0.875rem;
  color: var(--c-teal-72);
}

.page-home .hero__anchor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .chip {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-paleturq);
  color: var(--c-teal);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

/* ---------------- 通用标题 ---------------- */
.page-home .section-title {
  margin: 0.6rem 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.22;
  color: var(--c-night);
}

/* ---------------- 站内检索 ---------------- */
.page-home .retrieval {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--c-sand);
}

.page-home .retrieval__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.page-home .retrieval__copy .lead {
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
  max-width: 48ch;
  color: var(--c-teal);
}

.page-home .retrieval__list {
  display: grid;
  gap: 0.85rem;
  margin: clamp(1.25rem, 3vw, 1.8rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .retrieval__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-teal-72);
}

.page-home .retrieval__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--c-turquoise);
  transform: rotate(45deg);
}

.page-home .retrieval__more {
  margin: clamp(1.2rem, 3vw, 1.7rem) 0 0;
}

.page-home .retrieval__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-l);
  transform: rotate(var(--home-tilt));
  box-shadow: var(--shadow-soft);
}

.page-home .retrieval__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.25rem, 6vw, 3.5rem);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--c-teal-28);
}

.page-home .stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--c-sand);
}

.page-home .stat__num {
  font-size: clamp(1.4rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-danxia);
}

.page-home .stat__label {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--c-rock);
}

/* ---------------- 每周三节奏 ---------------- */
.page-home .rhythm {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(158deg, var(--c-dusk) 0%, var(--home-dusk-deep) 62%, var(--c-teal) 150%);
  color: var(--c-sand);
}

.page-home .rhythm::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -22%;
  width: min(46rem, 78vw);
  height: min(46rem, 78vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.22) 0%, rgba(217, 164, 65, 0) 62%);
  pointer-events: none;
}

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

.page-home .rhythm .eyebrow {
  color: var(--c-sandgold);
}

.page-home .rhythm .section-title {
  color: var(--c-sand);
}

.page-home .rhythm .lead {
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
  max-width: 52ch;
  color: var(--c-sand-72);
}

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

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

.page-home .timeline__item {
  position: relative;
  padding: 1.1rem 0 1.1rem 1.75rem;
  border-left: 1px solid rgba(246, 239, 226, 0.24);
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.6rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-sandgold);
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.2);
}

.page-home .timeline__date {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--c-sandgold);
}

.page-home .timeline__title {
  margin: 0.45rem 0 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-sand);
}

.page-home .timeline__text {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-sand-72);
}

.page-home .rhythm__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--c-sand-16);
}

.page-home .rhythm__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .rhythm__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.page-home .fact__num {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: var(--c-sandgold);
}

.page-home .fact__label {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--c-sand-54);
}

.page-home .rhythm__link {
  margin: 1.5rem 0 0;
}

.page-home .link-underline--sand {
  color: var(--c-paleturq);
}

/* ---------------- 两条路径 ---------------- */
.page-home .paths {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--c-sand);
}

.page-home .paths__head .lead {
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
  max-width: 52ch;
  color: var(--c-teal-72);
}

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

.page-home .paths__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-s) var(--radius-l) var(--radius-s) var(--radius-l);
}

.page-home .paths__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .paths__cards {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.page-home .path {
  position: relative;
  overflow: hidden;
  padding: clamp(1.35rem, 3.5vw, 2.1rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--c-teal-08);
  background: var(--c-sand-deep);
}

.page-home .path--old {
  background: linear-gradient(150deg, rgba(163, 58, 43, 0.1), rgba(217, 164, 65, 0.16));
}

.page-home .path__index {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--c-terracotta);
}

.page-home .path__title {
  margin: 0.5rem 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  color: var(--c-night);
}

.page-home .path__text {
  margin: 0.75rem 0 0;
  font-size: 0.9875rem;
  line-height: 1.8;
  color: var(--c-teal);
}

.page-home .path__list {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-teal-72);
}

.page-home .path__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 2px;
  background: var(--c-terracotta);
}

.page-home .path .btn {
  margin-top: 1.35rem;
}

/* ---------------- 近期动态 ---------------- */
.page-home .feed {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(198deg, var(--c-sand-deep) 0%, var(--c-sand) 100%);
}

.page-home .feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .feed__hint {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-rock);
}

.page-home .feed__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.page-home .filter-btn {
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--c-teal-28);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--c-teal);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}

.page-home .filter-btn:hover {
  transform: translateY(-1px);
  background: rgba(184, 227, 223, 0.5);
}

.page-home .filter-btn[data-active] {
  background: var(--c-turquoise);
  border-color: var(--c-turquoise);
  color: var(--c-sand);
}

.page-home .feed__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.page-home .feed-item {
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border-radius: var(--radius-m);
  border: 1px solid var(--c-teal-08);
  background: rgba(246, 239, 226, 0.85);
  transition: transform var(--dur-mid) var(--ease-soft);
}

.page-home .feed-item[hidden],
.page-home .feed-item[data-hidden] {
  display: none;
}

.page-home .feed-item__meta {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-danxia);
}

.page-home .feed-item__title {
  margin: 0.55rem 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--c-night);
}

.page-home .feed-item__text {
  margin: 0.6rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--c-teal-72);
}

.page-home .feed__tail {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  max-width: 60ch;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--c-rock);
}

/* ---------------- 响应式 ---------------- */
@media (min-width: 640px) {
  .page-home .hero .hero__desc {
    font-size: 1.0625rem;
  }

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

@media (min-width: 768px) {
  .page-home .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-home .rhythm__body {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .hero__art {
    margin-top: clamp(1.5rem, 4vw, 3rem);
  }

  .page-home .hero__anchor {
    margin-left: 7%;
    margin-top: clamp(2.5rem, 6vw, 4rem);
  }

  .page-home .retrieval__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .page-home .paths__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }

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

  .page-home .path--old {
    margin-left: clamp(1.5rem, 4vw, 3rem);
  }

  .page-home .paths__figure {
    align-self: end;
  }
}

@media (min-width: 1060px) {
  .page-home .feed__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .feed-item:nth-child(3n + 2) {
    transform: translateY(1.6rem);
  }

  .page-home .feed-item:nth-child(3n + 2):hover {
    transform: translateY(1.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .feed-item,
  .page-home .filter-btn,
  .page-home .retrieval__figure {
    transition: none;
    transform: none;
  }

  .page-home .retrieval__figure {
    transform: rotate(0deg);
  }
}
