.page-home {
  --home-cut: 16px;
  --home-cut-sm: 10px;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ---------- 顶部上下文 ---------- */
.page-home .home-crumb {
  padding: calc(var(--gutter) * 0.55) 0 0;
}
.page-home .home-crumb .breadcrumb__link {
  color: var(--grey);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.page-home .home-crumb .breadcrumb__link[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(1.6rem, 4.5vw, 3.2rem) 0 clamp(2.6rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(120% 78% at 90% 4%, rgba(31, 122, 106, 0.16), transparent 62%),
    radial-gradient(95% 70% at 2% 94%, rgba(201, 154, 74, 0.16), transparent 66%),
    var(--warm);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(18, 59, 93, 0.045) 0 1px,
    transparent 1px 28px
  );
  pointer-events: none;
}
.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.page-home .home-hero__lead {
  min-width: 0;
}
.page-home .home-hero__title {
  margin: 0.7rem 0 0;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.9rem, 7.4vw, 4.05rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--blue);
}
.page-home .home-hero__title span {
  display: inline-block;
  margin-top: 0.16em;
  padding: 0.05em 0.2em 0.12em 0.12em;
  color: var(--green);
  background: linear-gradient(100deg, rgba(31, 122, 106, 0.2), rgba(31, 122, 106, 0.03));
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.page-home .home-hero__lede {
  margin: 1.1rem 0 0;
  max-width: 36em;
  font-size: clamp(0.95rem, 2.4vw, 1.06rem);
  line-height: 1.9;
  color: var(--ink);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.page-home .home-hero__fig {
  margin: 0;
  min-width: 0;
}
.page-home .home-hero__fig .figure__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* 首屏目录 */
.page-home .home-catalog {
  min-width: 0;
  padding: 1.1rem 1.05rem 1.25rem;
  background: var(--blue);
  color: var(--warm);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--home-cut)),
    calc(100% - var(--home-cut)) 100%,
    0 100%
  );
}
.page-home .home-catalog__title {
  margin: 0 0 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.page-home .home-catalog__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .home-catalog__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num text"
    "num meta";
  column-gap: 0.85rem;
  row-gap: 0.12rem;
  padding: 0.72rem 0.15rem;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.page-home .home-catalog__item:last-child .home-catalog__link {
  border-bottom: 0;
}
.page-home .home-catalog__num {
  grid-area: num;
  align-self: center;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.page-home .home-catalog__text {
  grid-area: text;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.page-home .home-catalog__meta {
  grid-area: meta;
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.5;
}
.page-home .home-catalog__link:hover,
.page-home .home-catalog__link:focus-visible {
  background: rgba(247, 243, 234, 0.08);
  padding-left: 0.55rem;
}

/* ---------- 章节通用 ---------- */
.page-home .home-path,
.page-home .home-region,
.page-home .home-index,
.page-home .home-support,
.page-home .home-entry {
  position: relative;
  overflow: hidden;
}
.page-home .home-path .chapter-head,
.page-home .home-region .chapter-head,
.page-home .home-index .chapter-head,
.page-home .home-support .chapter-head,
.page-home .home-entry .chapter-head {
  max-width: 52rem;
}
.page-home .home-path .lede,
.page-home .home-region .lede,
.page-home .home-support .lede {
  margin-top: 0.9rem;
  line-height: 1.9;
}

/* ---------- 两步路径 ---------- */
.page-home .home-path {
  background:
    linear-gradient(180deg, rgba(220, 235, 230, 0.9) 0%, rgba(220, 235, 230, 0.45) 62%, var(--warm) 100%);
}
.page-home .home-path__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
}
.page-home .home-path__flow {
  min-width: 0;
}
.page-home .path-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}
.page-home .path-flow__stage {
  min-width: 0;
  padding: 1.05rem 1rem 1.15rem;
  background: var(--warm);
  border-left: 4px solid var(--green);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--home-cut-sm)),
    calc(100% - var(--home-cut-sm)) 100%,
    0 100%
  );
}
.page-home .path-flow__num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.page-home .path-flow__title {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--blue);
}
.page-home .path-flow__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink);
}
.page-home .path-flow__spine {
  display: none;
}
.page-home .home-path__fig {
  margin: 1.1rem 0 0;
}
.page-home .home-path__fig .figure__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.page-home .home-path__tabs {
  min-width: 0;
  padding: 1rem;
  background: var(--warm);
  border: 1px solid var(--line);
  clip-path: polygon(
    0 0,
    calc(100% - var(--home-cut)) 0,
    100% var(--home-cut),
    100% 100%,
    0 100%
  );
}
.page-home .home-path__tabs .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.page-home .tab {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.48rem 1.05rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.page-home .tab:hover {
  background: rgba(31, 122, 106, 0.1);
}
.page-home .tab[aria-selected="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--warm);
}
.page-home .tabpanel {
  margin-top: 1rem;
  min-width: 0;
}
.page-home .tabpanel[hidden] {
  display: none;
}
.page-home .home-path__panel-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--green);
}
.page-home .home-path__tabs p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink);
}

/* ---------- 区域反馈中心 ---------- */
.page-home .home-region {
  background: var(--sand);
}
.page-home .region-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: clamp(1.5rem, 3.6vw, 2.4rem);
}
.page-home .region-map {
  min-width: 0;
}
.page-home .region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-home .region-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 82px;
  padding: 0.65rem 0.7rem;
  background: var(--mist);
  color: var(--blue);
  text-decoration: none;
  border-left: 3px solid var(--green);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.page-home .region-cell__name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}
.page-home .region-cell__hint {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--green);
}
.page-home .region-cell:hover,
.page-home .region-cell:focus-visible {
  background: var(--green);
  color: var(--warm);
  transform: translateY(-2px);
}
.page-home .region-cell:hover .region-cell__hint,
.page-home .region-cell:focus-visible .region-cell__hint {
  color: var(--mist);
}
.page-home .region-note {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--ink);
}
.page-home .region-side {
  min-width: 0;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.page-home .region-side .figure {
  margin: 0;
}
.page-home .region-side .figure__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.page-home .region-side__plate {
  background: var(--warm);
  border-left: 3px solid var(--gold);
}
.page-home .region-side__plate p {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 评价索引 ---------- */
.page-home .home-index {
  background: var(--blue);
  color: var(--warm);
}
.page-home .home-index__eyebrow {
  color: var(--gold);
}
.page-home .home-index__title {
  color: var(--warm);
  max-width: 30em;
}
.page-home .home-index__lede {
  color: rgba(247, 243, 234, 0.82);
}
.page-home .index-tabs {
  margin-top: clamp(1.5rem, 3.6vw, 2.4rem);
  min-width: 0;
}
.page-home .index-timeline {
  position: relative;
  display: flex;
  gap: 0.55rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line-light);
  overflow-x: auto;
  scrollbar-width: thin;
}
.page-home .index-timeline__node {
  flex: 0 0 auto;
  position: relative;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.page-home .index-timeline__node::before {
  content: "";
  position: absolute;
  top: -1.42rem;
  left: 1.1rem;
  width: 9px;
  height: 9px;
  background: var(--line-light);
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.page-home .index-timeline__node:hover {
  background: rgba(247, 243, 234, 0.1);
}
.page-home .index-timeline__node[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.page-home .index-timeline__node[aria-selected="true"]::before {
  background: var(--gold);
  transform: scale(1.35);
}
.page-home .index-tabs .tabpanel {
  margin-top: 1.35rem;
}
.page-home .index-pairs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}
.page-home .index-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line-light);
}
.page-home .index-pair:last-child {
  border-bottom: 0;
}
.page-home .index-pair p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.88);
}

/* ---------- 服务保障 ---------- */
.page-home .home-support {
  background: var(--mist);
}
.page-home .support-plates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3.6vw, 2.4rem);
}
.page-home .plate {
  min-width: 0;
  padding: 1.05rem 1rem 1.2rem;
  background: var(--warm);
  border-top: 3px solid var(--gold);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%
  );
}
.page-home .plate:nth-child(even) {
  border-top-color: var(--green);
}
.page-home .plate__title {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--blue);
}
.page-home .plate__title .mono {
  font-size: 1.18rem;
  color: var(--green);
}
.page-home .plate p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink);
}
.page-home .home-support__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  background: var(--warm);
  border-left: 4px solid var(--blue);
}
.page-home .home-support__strip p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink);
}

/* ---------- 常用入口带 ---------- */
.page-home .home-entry {
  background: var(--warm);
}
.page-home .entry-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
.page-home .entry-band__item {
  min-width: 0;
}
.page-home .entry-band__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  height: 100%;
  padding: 0.9rem 0.9rem 1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.page-home .entry-band__num {
  grid-area: num;
  align-self: start;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}
.page-home .entry-band__name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
}
.page-home .entry-band__desc {
  grid-area: desc;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--grey);
}
.page-home .entry-band__link:hover,
.page-home .entry-band__link:focus-visible {
  background: var(--mist);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* ---------- 响应式 ---------- */
@media (min-width: 34rem) {
  .page-home .region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .support-plates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 44rem) {
  .page-home .path-flow {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    align-items: stretch;
  }
  .page-home .path-flow__spine {
    display: block;
    align-self: center;
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--gold));
  }
  .page-home .path-flow__spine::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    transform: translateY(-50%) rotate(45deg);
  }
  .page-home .entry-band {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  }
  .page-home .index-pair {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0 1rem;
  }
}

@media (min-width: 62rem) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: start;
  }
  .page-home .home-hero__lead {
    grid-column: 1;
    grid-row: 1;
  }
  .page-home .home-catalog {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 1.35rem 1.25rem 1.5rem;
  }
  .page-home .home-hero__fig {
    grid-column: 1;
    grid-row: 2;
  }
  .page-home .home-path__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(1.5rem, 3vw, 2.8rem);
    align-items: start;
  }
  .page-home .home-path__flow {
    grid-column: 1;
    grid-row: 1;
  }
  .page-home .home-path__tabs {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 5.5rem;
  }
  .page-home .region-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    column-gap: clamp(1.5rem, 3vw, 2.6rem);
    align-items: start;
  }
  .page-home .region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .support-plates {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 78rem) {
  .page-home .home-hero__title {
    font-size: 4.3rem;
  }
}

@media (max-width: 26rem) {
  .page-home .region-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-home .region-cell {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-catalog__link,
  .page-home .region-cell,
  .page-home .entry-band__link,
  .page-home .tab,
  .page-home .index-timeline__node,
  .page-home .path-flow__spine::after {
    transition: none;
  }
  .page-home .region-cell:hover,
  .page-home .entry-band__link:hover,
  .page-home .entry-band__link:focus-visible {
    transform: none;
  }
}
