.page-home {
  --home-cut: 14px;
  --home-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  display: block;
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
  padding-bottom: clamp(32px, 6vw, 72px);
}

/* ---------- 01 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 56px) clamp(18px, 3.4vw, 44px) clamp(30px, 5vw, 60px);
  background:
    radial-gradient(120% 90% at 92% 6%, rgba(224, 138, 46, 0.22) 0%, rgba(224, 138, 46, 0) 58%),
    linear-gradient(150deg, var(--deep-bronze) 0%, var(--bronze-soft) 46%, var(--ink) 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  box-shadow: var(--home-shadow);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
  opacity: 0.2;
  filter: contrast(1.08) saturate(0.85);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.45) 38%, #000 100%);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
}

.page-home .home-context {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-home .eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.page-home .home-hero h1 {
  margin: 0 0 16px;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(27px, 6vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-shadow: 0 1px 0 rgba(224, 179, 106, 0.28);
}

.page-home .home-hero .section-lead {
  max-width: 34em;
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: #cbd5cf;
}

.page-home .home-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-flag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid var(--line-gold);
}

.page-home .home-flag strong {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--copper-bright);
  font-variant-numeric: tabular-nums;
}

.page-home .home-flag span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .home-dir {
  position: relative;
  z-index: 1;
  padding: 20px 18px;
  background: rgba(18, 48, 42, 0.62);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .home-dir__title {
  margin: 0 0 10px;
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}

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

.page-home .home-dir__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper);
  text-decoration: none;
  font-size: 16px;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-dir__link:last-child {
  border-bottom: 0;
}

.page-home .home-dir__link:hover,
.page-home .home-dir__link:focus-visible {
  color: var(--copper-bright);
  padding-left: 12px;
  border-bottom-color: var(--line-gold);
}

.page-home .home-dir__hint {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .home-contact {
  position: relative;
  z-index: 2;
  padding: 22px 20px;
  background: linear-gradient(160deg, var(--bronze-mid) 0%, var(--bronze) 55%, var(--deep-bronze) 100%);
  border: 1px solid var(--line-gold);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42), -16px 0 56px rgba(224, 138, 46, 0.16);
}

.page-home .home-contact__title {
  margin: 0 0 12px;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .home-contact__row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(243, 238, 228, 0.18);
}

.page-home .home-contact__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--copper-bright);
}

.page-home .home-contact__value {
  font-family: var(--ff-mono);
  font-size: 17px;
  color: var(--paper);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.page-home .home-contact .contact-copy {
  padding: 0 0 2px;
  background: none;
  border: 0;
  border-bottom: 1px dashed var(--line-gold);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  word-break: break-all;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-contact .contact-copy:hover,
.page-home .home-contact .contact-copy:focus-visible {
  color: var(--copper-bright);
  border-bottom-color: var(--copper-bright);
}

.page-home .home-contact__note {
  margin: 14px 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #cfd8d2;
}

.page-home .home-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 主体与章节栏 ---------- */
.page-home .home-body {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) clamp(14px, 3.4vw, 44px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
}

.page-home .home-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.page-home .home-rail__title {
  display: none;
  margin: 0;
}

.page-home .home-rail .toc {
  display: flex;
  gap: 8px;
}

.page-home .home-rail .toc__link {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-decoration: none;
  background: rgba(31, 74, 61, 0.42);
  border: 1px solid var(--line);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-rail .toc__link:hover,
.page-home .home-rail .toc__link:focus-visible {
  color: var(--copper-bright);
  border-color: var(--line-gold);
}

.page-home .home-rail .toc__link.is-active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

.page-home .home-flow {
  display: block;
  min-width: 0;
}

.page-home .home-flow .panel {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px) clamp(16px, 3vw, 36px);
  background: linear-gradient(172deg, var(--bronze-soft) 0%, var(--deep-bronze) 58%, var(--ink) 132%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42));
}

.page-home .home-flow > .panel + .panel {
  margin-top: clamp(-22px, -1.4vw, -12px);
}

.page-home .home-sec__head {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(18px, 2.6vw, 28px);
}

.page-home .home-sec__head .section-title {
  margin: 0 0 12px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(21px, 3.6vw, 33px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .home-sec__head .section-lead {
  max-width: 46em;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #c3ccc6;
}

/* ---------- 02 回访路径 ---------- */
.page-home .home-path {
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-path__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-path__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.page-home .home-path__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

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

.page-home .home-step {
  position: relative;
  padding: 16px 16px 16px 56px;
  background: rgba(10, 12, 11, 0.45);
  border-left: 1px solid var(--line-gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.page-home .home-step__num {
  position: absolute;
  left: 14px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(224, 138, 46, 0.12);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
}

.page-home .home-step__title {
  margin: 0 0 6px;
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .home-step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: #bfc9c3;
}

.page-home .home-step__more {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin var(--dur) var(--ease);
}

.page-home .home-step:hover .home-step__more,
.page-home .home-step:focus-within .home-step__more {
  max-height: 7em;
  opacity: 1;
  margin-top: 8px;
}

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

.page-home .home-path__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .img-frame__caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 03 内容中心 ---------- */
.page-home .home-docs__figure {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
}

.page-home .home-docs__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  opacity: 0.88;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .home-docs__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
}

.page-home .home-docs__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--paper);
  color: #1a1f1c;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-home .home-docs__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.page-home .home-docs__card-title {
  margin: 0;
  font-family: var(--ff-head);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: #12211c;
}

.page-home .home-docs__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #37403b;
}

.page-home .home-docs__link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1b5343;
  text-decoration: none;
  border-bottom: 1px solid var(--copper);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-docs__link:hover,
.page-home .home-docs__link:focus-visible {
  color: #a85d12;
  border-bottom-color: var(--amber);
}

/* ---------- 04 批次摘要 ---------- */
.page-home .home-batch__list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .home-batch__item {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-batch__tag {
  justify-self: start;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  border: 1px solid rgba(224, 138, 46, 0.45);
  background: rgba(224, 138, 46, 0.08);
}

.page-home .home-batch__title {
  margin: 0;
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .home-batch__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #bfc9c3;
}

.page-home .home-batch__foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(18px, 2.4vw, 26px);
}

/* ---------- 05 服务标准 ---------- */
.page-home .home-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .home-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--ink-deep);
}

.page-home .home-metric__num {
  font-family: var(--ff-head);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--copper-bright);
  font-variant-numeric: tabular-nums;
}

.page-home .home-metric__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .home-metric__desc {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #a9b4ae;
}

.page-home .home-quality__note {
  position: relative;
  z-index: 1;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--copper);
  font-size: 13.5px;
  line-height: 1.85;
  color: #b7c1bb;
}

/* ---------- 06 年度入口 ---------- */
.page-home .home-annual {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  background: linear-gradient(104deg, var(--copper) 0%, #9c6d2e 52%, var(--deep-bronze) 100%);
  border: 1px solid var(--line-gold);
  color: var(--ink);
}

.page-home .home-annual__inner {
  position: relative;
  z-index: 1;
  max-width: 46em;
}

.page-home .home-annual .eyebrow {
  color: #2a1c08;
}

.page-home .home-annual .section-title {
  margin: 0 0 10px;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(21px, 3.4vw, 30px);
  line-height: 1.3;
  color: #10150f;
}

.page-home .home-annual__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #1d2419;
}

.page-home .home-annual__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-annual__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--copper-bright);
  border: 1px solid rgba(224, 179, 106, 0.5);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .home-annual__cta:hover,
.page-home .home-annual__cta:focus-visible {
  background: var(--amber);
  color: #14100a;
  border-color: var(--amber);
}

/* ---------- 中等屏 ---------- */
@media (min-width: 640px) {
  .page-home .home-docs__meta {
    font-size: 12px;
  }

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

  .page-home .home-annual {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .home-hero__lead {
    grid-column: 1 / -1;
  }

  .page-home .home-flow > .panel:nth-child(odd) {
    margin-right: 14px;
  }

  .page-home .home-flow > .panel:nth-child(even) {
    margin-left: 14px;
  }

  .page-home .home-batch__item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px 18px;
    align-items: start;
  }

  .page-home .home-batch__title,
  .page-home .home-batch__desc {
    grid-column: 2;
  }

  .page-home .home-batch__tag {
    grid-row: 1 / span 2;
  }
}

@media (min-width: 900px) {
  .page-home .home-path__body {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .home-hero__grid {
    grid-template-columns: 5fr 4fr 3fr;
    gap: clamp(18px, 2vw, 26px);
  }

  .page-home .home-hero__lead {
    grid-column: auto;
  }

  .page-home .home-body {
    grid-template-columns: 178px minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 2.2vw, 30px);
  }

  .page-home .home-rail {
    position: sticky;
    top: 112px;
    display: block;
    overflow: visible;
    align-self: start;
  }

  .page-home .home-rail__title {
    display: block;
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--mist);
  }

  .page-home .home-rail .toc {
    display: grid;
    gap: 2px;
  }

  .page-home .home-rail .toc__link {
    white-space: normal;
    padding: 9px 0 9px 12px;
    background: none;
    border: 0;
    border-left: 2px solid transparent;
  }

  .page-home .home-rail .toc__link:hover,
  .page-home .home-rail .toc__link:focus-visible {
    color: var(--copper-bright);
    border-left-color: var(--line-gold);
  }

  .page-home .home-rail .toc__link.is-active {
    color: var(--amber);
    background: none;
    border-left-color: var(--amber);
  }

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

@media (hover: none) {
  .page-home .home-step__more {
    max-height: none;
    opacity: 1;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-dir__link,
  .page-home .home-step__more,
  .page-home .home-contact .contact-copy,
  .page-home .home-annual__cta,
  .page-home .home-rail .toc__link,
  .page-home .home-docs__link {
    transition: none;
  }
}
