.page-home {
  display: block;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(92px, 13vw, 148px) 0 clamp(44px, 6vw, 80px);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background:
    radial-gradient(120% 84% at 84% 8%, rgba(200, 169, 106, 0.22), transparent 62%),
    linear-gradient(178deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--cream);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
}

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

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 169, 106, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 106, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

.page-home .home-hero__inner {
  position: relative;
}

.page-home .home-hero__head {
  max-width: 44rem;
}

.page-home .home-hero__eyebrow {
  color: var(--gold-soft);
}

.page-home .home-hero h1 {
  margin: 16px 0 0;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.05rem, 6vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .home-hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(0.9875rem, 1.5vw, 1.0625rem);
  line-height: 1.85;
  color: rgba(247, 244, 238, 0.82);
}

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

/* ---------- 四张章节预览卡 ---------- */
.page-home .home-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(32px, 5vw, 56px);
}

.page-home .path-card {
  --shift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 21px 19px 19px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 169, 106, 0.28);
  background: linear-gradient(165deg, rgba(30, 51, 80, 0.94), rgba(11, 27, 43, 0.96));
  color: var(--cream);
  text-decoration: none;
  transform: translateY(var(--shift));
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.page-home .path-card:hover,
.page-home .path-card:focus-visible {
  transform: translateY(calc(var(--shift) - 5px));
  border-color: var(--gold);
  box-shadow: 0 20px 38px -20px rgba(0, 0, 0, 0.8);
}

.page-home .path-card__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-home .path-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

.page-home .path-card__desc {
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(247, 244, 238, 0.72);
}

.page-home .path-card__tag {
  margin-top: 6px;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 106, 0.42);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

/* ---------- 版本与归类 ---------- */
.page-home .home-version {
  background: var(--paper);
}

.page-home .home-version__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-version__lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

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

.page-home .home-version__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .home-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--cinnabar);
}

.page-home .home-version .link-arrow {
  margin-top: 24px;
}

.page-home .version-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--navy-2), var(--navy));
  color: var(--cream);
}

.page-home .version-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 169, 106, 0.55) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .version-panel__caption {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-home .version-panel__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(200, 169, 106, 0.18);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .version-stat {
  background: var(--navy);
  padding: 16px 14px;
}

.page-home .version-stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.62);
}

.page-home .version-stat__num {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.page-home .version-stat__unit {
  margin-left: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(247, 244, 238, 0.66);
}

/* ---------- 规则速查两步 ---------- */
.page-home .home-steps {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

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

.page-home .home-steps__figure .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(11, 27, 43, 0.7);
}

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

.page-home .home-steps__figure .media-frame__caption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--stone);
}

.page-home .home-steps__body .section-title {
  margin-top: 12px;
}

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

.page-home .step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.page-home .step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
}

.page-home .step-item__text h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}

.page-home .step-item__text p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .home-steps__note {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .home-steps__body .link-arrow {
  margin-top: 20px;
}

/* ---------- 资料与小屏 ---------- */
.page-home .home-res__lede {
  margin: 16px 0 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-home .res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(24px, 3.6vw, 38px);
}

.page-home .res-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--cream);
}

.page-home .res-card--mobile {
  border-color: transparent;
  background: linear-gradient(158deg, var(--navy-2), var(--navy));
  color: var(--cream);
}

.page-home .res-card__figure .media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
}

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

.page-home .res-card__text h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--navy);
}

.page-home .res-card--mobile .res-card__text h3 {
  color: var(--cream);
}

.page-home .res-card__text p {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .res-card--mobile .res-card__text p {
  color: rgba(247, 244, 238, 0.78);
}

.page-home .res-card__meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .res-card__meta li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.8125rem;
  color: var(--navy-2);
}

.page-home .res-card__meta .mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
}

.page-home .res-card__text .link-arrow {
  display: inline-block;
  margin-top: 18px;
}

.page-home .res-card--mobile .link-arrow {
  color: var(--gold-soft);
}

/* ---------- 案例合集 ---------- */
.page-home .home-cases {
  background: var(--paper);
}

.page-home .home-cases__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.page-home .home-cases__head .section-title {
  margin-top: 12px;
}

.page-home .home-cases__lede {
  margin: 16px 0 0;
  max-width: 60ch;
  font-size: 0.9875rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-home .case-list {
  list-style: none;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 32px;
  border-top: 1px solid var(--line);
}

.page-home .case-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .case-item .tag {
  align-self: flex-start;
}

.page-home .case-item h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

.page-home .case-item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.page-home .case-item__time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

/* ---------- 联络 ---------- */
.page-home .home-contact {
  padding-bottom: clamp(52px, 7vw, 96px);
}

.page-home .home-contact__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.6vw, 44px);
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(200, 169, 106, 0.18), transparent 58%),
    linear-gradient(150deg, var(--navy-2), var(--navy));
  color: var(--cream);
}

.page-home .home-contact__eyebrow {
  color: var(--gold-soft);
}

.page-home .home-contact h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--cream);
}

.page-home .home-contact__intro p {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(247, 244, 238, 0.78);
}

.page-home .home-contact__intro .btn {
  margin-top: 22px;
}

.page-home .contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(200, 169, 106, 0.24);
}

.page-home .contact-row__label {
  min-width: 58px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .contact-row__value {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.92);
  word-break: break-word;
}

.page-home .home-contact__hint {
  margin: 18px 0 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.6);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .home-paths {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .case-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .home-paths {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-home .home-paths > :nth-child(2) {
    --shift: 26px;
  }

  .page-home .home-paths > :nth-child(3) {
    --shift: 10px;
  }

  .page-home .home-paths > :nth-child(4) {
    --shift: 32px;
  }

  .page-home .home-version__grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .home-steps__grid {
    grid-template-columns: 5fr 6fr;
  }

  .page-home .res-grid {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }

  .page-home .res-card--mobile .res-card__figure {
    flex: 1;
  }

  .page-home .res-card--mobile .media-frame--tall {
    height: 100%;
  }

  .page-home .res-card--mobile .media-frame--tall img {
    height: 100%;
  }

  .page-home .case-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-contact__box {
    grid-template-columns: 6fr 5fr;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero {
    padding-top: 156px;
  }

  .page-home .home-paths {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-card,
  .page-home .path-card:hover,
  .page-home .path-card:focus-visible {
    transform: translateY(var(--shift));
    transition: none;
  }
}
</PAGE_CSS>
