/* ===================================================================
   首页 · page-home
   =================================================================== */

.page-home {
  display: block;
  position: relative;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sand) 0%, #ffffff 46%, var(--glass) 100%);
  overflow-x: clip;
}

.page-home::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: min(1500px, 170vw);
  height: 680px;
  transform: translateX(-50%);
  background:
    radial-gradient(56% 60% at 18% 52%, rgba(63, 210, 199, .20), transparent 72%),
    radial-gradient(44% 50% at 84% 24%, rgba(255, 107, 74, .13), transparent 74%);
  pointer-events: none;
  z-index: 0;
}

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

/* ---------- 页面位置提示 ---------- */
.page-home .home-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist-deep);
}

.page-home .home-crumb strong {
  color: var(--deep);
  font-weight: 700;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4) 0 var(--sp-5);
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 640px;
}

.page-home .home-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(32px, 8.4vw, 56px);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--deep);
}

.page-home .home-hero h1 em {
  font-style: normal;
  display: inline-block;
  margin-top: .18em;
  background: linear-gradient(100deg, var(--tide) 0%, var(--wave) 46%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .home-hero .lede {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(15.5px, 1.7vw, 17px);
  line-height: 1.85;
  color: var(--mist-deep);
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-1);
}

.page-home .home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px var(--sp-3);
  margin: var(--sp-1) 0 0;
  padding: var(--sp-2) 0 0;
  list-style: none;
  border-top: 1px solid rgba(14, 106, 114, .16);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--tide);
}

/* 首屏入口矩阵 */
.page-home .home-hero__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep-2);
  box-shadow: var(--shadow-lift);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(168deg, rgba(6, 59, 69, .30) 0%, rgba(4, 37, 44, .82) 52%, rgba(4, 37, 44, .95) 100%);
}

.page-home .home-entry-wrap {
  position: relative;
  width: 100%;
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-entry__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--glass);
}

.page-home .home-entry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-entry {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--glass);
  background: rgba(230, 242, 241, .07);
  border: 1px solid rgba(230, 242, 241, .18);
  transition: transform .35s var(--ease), background .35s var(--ease),
              border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.page-home .home-entry__no {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
}

.page-home .home-entry__name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}

.page-home .home-entry__hint {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mist);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s var(--ease);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  transform: translateY(-3px);
  background: rgba(63, 210, 199, .15);
  border-color: rgba(63, 210, 199, .55);
  box-shadow: 0 16px 30px -22px rgba(63, 210, 199, .9);
}

.page-home .home-entry:hover .home-entry__hint,
.page-home .home-entry:focus-visible .home-entry__hint {
  max-height: 64px;
  opacity: 1;
}

/* ---------- 章节快捷导航 ---------- */
.page-home .home-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(14, 106, 114, .16);
  border-bottom: 1px solid rgba(14, 106, 114, .16);
  scrollbar-width: none;
}

.page-home .home-jump::-webkit-scrollbar {
  display: none;
}

.page-home .home-jump__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
  padding-right: 4px;
}

.page-home .home-jump a {
  flex: none;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(14, 106, 114, .22);
  font-size: 13px;
  text-decoration: none;
  color: var(--tide);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.page-home .home-jump a:hover,
.page-home .home-jump a:focus-visible,
.page-home .home-jump a[data-active] {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--glass);
}

/* ---------- 两条主线 ---------- */
.page-home .home-paths {
  padding: var(--sp-6) 0 var(--sp-5);
}

.page-home .home-paths__head {
  max-width: 42ch;
}

.page-home .home-paths__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--deep);
}

.page-home .home-paths__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.page-home .home-paths__media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.page-home .home-paths__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-paths__media .media__cap {
  display: block;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--mist-deep);
  background: var(--glass);
}

.page-home .home-paths__notes {
  display: grid;
  gap: var(--sp-3);
}

.page-home .home-note {
  position: relative;
  padding: var(--sp-3) var(--sp-3) var(--sp-3) calc(var(--sp-3) + 6px);
  background: var(--sand);
  border-radius: var(--r-md);
  border-left: 3px solid var(--tide);
}

.page-home .home-note--wave {
  border-left-color: var(--coral);
  background: linear-gradient(180deg, rgba(255, 107, 74, .07), rgba(251, 246, 236, 1) 70%);
}

.page-home .home-note__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--tide);
}

.page-home .home-note--wave .home-note__tag {
  color: var(--coral);
}

.page-home .home-note h3 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--deep);
}

.page-home .home-note p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist-deep);
}

.page-home .home-note__link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tide);
  text-decoration: none;
  border-bottom: 2px solid rgba(14, 106, 114, .28);
  padding-bottom: 2px;
  transition: color .28s var(--ease), border-color .28s var(--ease);
}

.page-home .home-note__link:hover,
.page-home .home-note__link:focus-visible {
  color: var(--coral);
  border-color: var(--coral);
}

/* ---------- 栏目索引 ---------- */
.page-home .home-index {
  position: relative;
  padding: var(--sp-6) 0;
  margin: var(--sp-3) 0 var(--sp-4);
  background: var(--deep);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .home-index::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 220px;
  background: radial-gradient(52% 100% at 50% 100%, rgba(63, 210, 199, .22), transparent 70%);
  pointer-events: none;
}

.page-home .home-index__head,
.page-home .home-index__clusters {
  position: relative;
  z-index: 1;
  padding-inline: var(--sp-3);
}

.page-home .home-index__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.28;
  font-weight: 800;
  color: var(--glass);
}

.page-home .home-index__head .eyebrow {
  color: var(--gold);
}

.page-home .home-index__lede {
  margin: 10px 0 0;
  max-width: 46ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(230, 242, 241, .72);
}

.page-home .home-index__clusters {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.page-home .home-cluster__title {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--wave);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 242, 241, .18);
}

.page-home .home-cluster--accent .home-cluster__title {
  color: var(--gold);
}

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

.page-home .home-cluster__list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-size: 15px;
  color: var(--glass);
  transition: background .28s var(--ease), transform .28s var(--ease), color .28s var(--ease);
}

.page-home .home-cluster__list .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--gold);
}

.page-home .home-cluster__list a:hover,
.page-home .home-cluster__list a:focus-visible {
  background: rgba(230, 242, 241, .10);
  color: #ffffff;
  transform: translateX(4px);
}

/* ---------- 服务触角 ---------- */
.page-home .home-reach {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6) 0 var(--sp-5);
  align-items: start;
}

.page-home .home-reach__copy h2 {
  margin: 8px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(23px, 4.2vw, 34px);
  line-height: 1.28;
  font-weight: 800;
  color: var(--deep);
}

.page-home .home-reach__copy p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist-deep);
  max-width: 40ch;
}

.page-home .home-reach__copy .btn {
  margin-top: var(--sp-1);
}

.page-home .home-reach__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

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

.page-home .home-reach__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(14, 106, 114, .16);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-home .home-reach__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) var(--sp-2);
  background: var(--sand);
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 5.6vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--tide);
}

.page-home .home-stat__unit {
  font-size: .6em;
  color: var(--gold);
  margin-left: 2px;
}

.page-home .home-stat__label {
  font-size: 12.5px;
  letter-spacing: .03em;
  color: var(--mist-deep);
}

/* ---------- 起步三步 ---------- */
.page-home .home-steps {
  padding: var(--sp-5) 0 var(--sp-6);
}

.page-home .home-steps__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.4vw, 36px);
  line-height: 1.28;
  font-weight: 800;
  color: var(--deep);
  max-width: 20ch;
}

.page-home .home-steps__lede {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--mist-deep);
}

.page-home .home-steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-step {
  position: relative;
  padding: var(--sp-3);
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid rgba(14, 106, 114, .14);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.page-home .home-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 74, .42);
}

.page-home .home-step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--deep), var(--tide));
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.page-home .home-step__title {
  margin: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.42;
  font-weight: 800;
  color: var(--deep);
}

.page-home .home-step p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist-deep);
}

.page-home .home-step__link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 74, .3);
  padding-bottom: 2px;
  transition: border-color .28s var(--ease), color .28s var(--ease);
}

.page-home .home-step__link:hover,
.page-home .home-step__link:focus-visible {
  color: var(--tide);
  border-color: var(--tide);
}

/* ---------- 最近更新 ---------- */
.page-home .home-updates {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: var(--sp-6) 0;
  margin-bottom: var(--sp-4);
  border-top: 1px solid rgba(14, 106, 114, .18);
  border-bottom: 1px solid rgba(14, 106, 114, .18);
}

.page-home .home-updates__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--deep-2);
  box-shadow: var(--shadow-soft);
}

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

.page-home .home-updates__head h2 {
  margin: 8px 0 var(--sp-3);
  font-family: var(--font-serif);
  font-size: clamp(23px, 4.2vw, 33px);
  line-height: 1.28;
  font-weight: 800;
  color: var(--deep);
}

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

.page-home .home-update {
  display: grid;
  gap: 6px;
  padding: var(--sp-3) 0;
  border-top: 1px solid rgba(14, 106, 114, .16);
}

.page-home .home-update:last-child {
  border-bottom: 1px solid rgba(14, 106, 114, .16);
}

.page-home .home-update__cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--gold);
  background: rgba(6, 59, 69, .9);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  justify-self: start;
}

.page-home .home-update__text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 46ch;
}

.page-home .home-update__link {
  justify-self: start;
  font-size: 13px;
  font-weight: 700;
  color: var(--tide);
  text-decoration: none;
  border-bottom: 2px solid rgba(14, 106, 114, .26);
  padding-bottom: 1px;
  transition: color .28s var(--ease), border-color .28s var(--ease);
}

.page-home .home-update__link:hover,
.page-home .home-update__link:focus-visible {
  color: var(--coral);
  border-color: var(--coral);
}

.page-home .home-updates__more {
  margin: var(--sp-3) 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--mist-deep);
}

.page-home .home-updates__more a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 74, .32);
  padding-bottom: 1px;
}

/* ---------- 收尾行动 ---------- */
.page-home .home-closing {
  padding: var(--sp-3) 0 var(--sp-6);
}

.page-home .home-closing__inner {
  position: relative;
  padding: var(--sp-5) var(--sp-3);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 130% at 8% 0%, rgba(63, 210, 199, .22), transparent 58%),
    radial-gradient(90% 120% at 100% 100%, rgba(255, 107, 74, .22), transparent 62%),
    linear-gradient(150deg, var(--deep) 0%, var(--deep-2) 100%);
  overflow: hidden;
}

.page-home .home-closing__inner .eyebrow {
  color: var(--gold);
}

.page-home .home-closing__inner h2 {
  margin: 8px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.6vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--glass);
  max-width: 22ch;
}

.page-home .home-closing__inner p {
  margin: 0 0 var(--sp-4);
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(230, 242, 241, .78);
}

.page-home .home-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 窄屏补充 ---------- */
@media (hover: none) {
  .page-home .home-entry__hint {
    max-height: 64px;
    opacity: .86;
  }
}

/* ---------- 中型屏幕 ---------- */
@media (min-width: 720px) {
  .page-home .home-hero {
    padding: var(--sp-5) 0 var(--sp-6);
  }

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

  .page-home .home-hero__panel {
    min-height: 460px;
  }

  .page-home .home-index__head,
  .page-home .home-index__clusters {
    padding-inline: var(--sp-4);
  }

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

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

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

  .page-home .home-updates {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--sp-5);
    align-items: start;
  }

  .page-home .home-updates__figure {
    position: sticky;
    top: 108px;
  }

  .page-home .home-closing__inner {
    padding: var(--sp-6) var(--sp-5);
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1000px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--sp-5);
    align-items: stretch;
    padding: var(--sp-5) 0 var(--sp-6);
  }

  .page-home .home-hero__copy {
    padding-top: var(--sp-2);
  }

  .page-home .home-hero__panel {
    min-height: 100%;
    max-height: 620px;
  }

  .page-home .home-jump {
    justify-content: center;
    gap: 10px;
  }

  .page-home .home-paths__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: var(--sp-5);
    align-items: start;
  }

  .page-home .home-paths__media {
    position: sticky;
    top: 108px;
  }

  .page-home .home-index__clusters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-5);
  }

  .page-home .home-index__head,
  .page-home .home-index__clusters {
    padding-inline: var(--sp-5);
  }

  .page-home .home-reach {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: var(--sp-5);
  }

  .page-home .home-reach__figure {
    align-self: stretch;
  }

  .page-home .home-reach__figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 300px;
  }

  .page-home .home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
  }

  .page-home .home-closing__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: var(--sp-5);
  }

  .page-home .home-closing__inner .eyebrow,
  .page-home .home-closing__inner h2,
  .page-home .home-closing__inner p {
    grid-column: 1;
  }

  .page-home .home-closing__inner p {
    margin-bottom: 0;
  }

  .page-home .home-closing__actions {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry,
  .page-home .home-entry__hint,
  .page-home .home-note__link,
  .page-home .home-step,
  .page-home .home-step__link,
  .page-home .home-update__link,
  .page-home .home-jump a,
  .page-home .home-cluster__list a {
    transition: none;
  }

  .page-home .home-step:hover,
  .page-home .home-entry:hover {
    transform: none;
  }
}
</final>
</final>
