/* ============ 首页 page-home ============ */
.page-home {
  --home-cut: 22px;
  --home-pad: 22px;
  --home-line: rgba(216, 168, 78, .34);
  background: var(--ink-900);
  color: var(--paper);
  overflow-x: clip;
}

@media (min-width: 760px) {
  .page-home { --home-cut: 28px; --home-pad: 24px; }
}

@media (min-width: 1080px) {
  .page-home { --home-cut: 34px; }
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 44px) 0 52px;
  background:
    radial-gradient(112% 82% at 78% 4%, rgba(216, 168, 78, .15), transparent 62%),
    var(--ink-900);
  isolation: isolate;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -16%;
  width: 76%;
  height: 126%;
  background: linear-gradient(205deg, rgba(18, 70, 60, .92) 0%, rgba(10, 46, 39, .55) 46%, rgba(6, 33, 28, 0) 84%);
  -webkit-clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(114deg, rgba(216, 168, 78, .07) 0 1px, transparent 1px 92px);
  pointer-events: none;
}

.page-home .hero__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-home .hero__eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
}

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.2vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .hero__mark {
  color: var(--gold);
  white-space: nowrap;
}

.page-home .hero__lede {
  max-width: 48ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  color: var(--mist);
}

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

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-size: .94rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--home-line);
  background: var(--glass);
  color: var(--paper);
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}

.page-home .btn:hover {
  border-color: var(--gold);
  background: var(--glass-strong);
  transform: translateY(-2px);
}

.page-home .btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.page-home .btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-900);
  font-weight: 600;
}

.page-home .btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.page-home .hero__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hair);
  aspect-ratio: 4 / 3;
}

.page-home .hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}

.page-home .hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(6, 33, 28, 0) 38%, rgba(6, 33, 28, .66) 100%);
  pointer-events: none;
}

.page-home .hero__foot {
  position: relative;
  z-index: 1;
  margin-top: 38px;
}

.page-home .hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.page-home .hero__scroll:hover { color: var(--gold); }

.page-home .hero__scroll:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

.page-home .hero__scroll-bar {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .2s var(--ease);
}

.page-home .hero__scroll:hover .hero__scroll-bar { width: 78px; }

@media (min-width: 1000px) {
  .page-home .hero {
    padding: calc(var(--header-h) + 76px) 0 84px;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-home .hero__wrap {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 60px;
  }
  .page-home .hero__foot { margin-top: 56px; }
}

/* ---------- 区块节奏 ---------- */
.page-home .board,
.page-home .strand,
.page-home .net,
.page-home .closing {
  padding: 66px 0;
  position: relative;
}

@media (min-width: 1000px) {
  .page-home .board,
  .page-home .strand,
  .page-home .net,
  .page-home .closing {
    padding: 96px 0;
  }
}

.page-home .section-head {
  display: grid;
  gap: 10px;
  max-width: 62ch;
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair-soft);
}

.page-home .eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.4vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .lede {
  margin: 0;
  font-size: .97rem;
  line-height: 1.82;
  color: var(--mist);
}

/* ---------- Bento 信息板 ---------- */
.page-home .board-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
}

.page-home .cell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease);
}

.page-home .cell::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: var(--home-cut);
  height: var(--home-cut);
  background: var(--ink-900);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.page-home .cell:focus-within {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lift);
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

@media (hover: hover) {
  .page-home .cell:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lift);
  }
}

.page-home .cell__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: var(--home-pad) var(--home-pad) 22px;
}

.page-home .cell__no {
  margin: 0;
  color: var(--gold);
}

.page-home .cell__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.32;
  color: var(--paper);
}

.page-home .cell__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .cell__text--sub {
  font-size: .84rem;
  color: rgba(166, 182, 177, .78);
}

.page-home .cell__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--ink-700);
}

.page-home .cell__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  filter: saturate(.9) contrast(1.08);
  transition: opacity .25s var(--ease), transform .45s var(--ease);
}

@media (hover: hover) {
  .page-home .cell:hover .cell__media img {
    opacity: .84;
    transform: scale(1.04);
  }
}

.page-home .cell__link {
  position: relative;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-decoration: none;
}

.page-home .cell__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hair);
}

.page-home .cell__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s var(--ease);
}

.page-home .cell__link:hover::after,
.page-home .cell__link:focus-visible::after {
  transform: scaleX(1);
}

.page-home .cell__link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

@media (min-width: 760px) {
  .page-home .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .cell--b,
  .page-home .cell--e {
    grid-column: span 2;
  }
}

@media (min-width: 1080px) {
  .page-home .board-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .page-home .cell--a { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .page-home .cell--b { grid-column: 6 / span 7; grid-row: 1; }
  .page-home .cell--c { grid-column: 6 / span 4; grid-row: 2; }
  .page-home .cell--d { grid-column: 10 / span 3; grid-row: 2; }
  .page-home .cell--e { grid-column: 1 / span 7; grid-row: 3; }
  .page-home .cell--f { grid-column: 8 / span 5; grid-row: 3; }
}

/* ---------- 演进节点 ---------- */
.page-home .strand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 26px;
}

.page-home .strand-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--ink-700));
}

.page-home .strand-item {
  position: relative;
  padding-left: 30px;
}

.page-home .strand-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--gold);
  transform: rotate(45deg);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

@media (hover: hover) {
  .page-home .strand-item:hover::before {
    transform: rotate(45deg) scale(1.28);
    background: var(--gold-soft);
  }
}

.page-home .strand-step {
  margin: 0 0 5px;
  color: var(--data);
}

.page-home .strand-name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.34;
  color: var(--paper);
}

.page-home .strand-note {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .strand__band {
  position: relative;
  margin: 44px 0 0;
  overflow: hidden;
  border: 1px solid var(--hair-soft);
}

.page-home .strand__band img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: .52;
  filter: saturate(.75) contrast(1.05);
}

.page-home .strand__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 33, 28, .28), rgba(6, 33, 28, .86));
  pointer-events: none;
}

.page-home .strand__band figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold-soft);
}

@media (min-width: 760px) {
  .page-home .strand__band img { height: 258px; }
}

@media (min-width: 1000px) {
  .page-home .strand-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    padding-top: 50px;
  }
  .page-home .strand-list::before {
    left: 0;
    right: 0;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--hair) 72%, transparent);
  }
  .page-home .strand-item {
    padding-left: 0;
    padding-right: 12px;
  }
  .page-home .strand-item::before {
    left: 0;
    top: 10px;
  }
}

/* ---------- 支撑结构 ---------- */
.page-home .net__body {
  display: grid;
  gap: 32px;
}

.page-home .net__copy p {
  margin: 0 0 16px;
  font-size: .97rem;
  line-height: 1.84;
  color: var(--mist);
}

.page-home .net__copy p:last-child { margin-bottom: 0; }

.page-home .net__lanes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
}

.page-home .lane {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 16px 18px;
  background: var(--ink-800);
  transition: background-color .18s var(--ease);
}

@media (hover: hover) {
  .page-home .lane:hover { background: var(--ink-700); }
}

.page-home .lane__id {
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: var(--gold);
}

.page-home .lane__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .lane__desc {
  grid-column: 2;
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--mist);
}

@media (min-width: 960px) {
  .page-home .net__body {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 56px;
    align-items: start;
  }
}

/* ---------- 咨询收束 ---------- */
.page-home .closing {
  background: linear-gradient(140deg, var(--ink-800), var(--ink-900) 72%);
  border-top: 1px solid var(--hair);
}

.page-home .closing__wrap {
  display: grid;
  gap: 32px;
}

.page-home .closing__copy .lede { margin-top: 14px; max-width: 52ch; }

.page-home .closing__panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--hair);
  background: var(--glass);
  align-content: start;
}

.page-home .closing__label {
  margin: 0;
  color: var(--mist);
}

.page-home .copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  background: rgba(6, 33, 28, .62);
  border: 1px solid var(--ink-700);
  color: var(--paper);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-home .copy-btn:hover {
  border-color: var(--gold);
  background: rgba(6, 33, 28, .92);
}

.page-home .copy-btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.page-home .copy-btn__mail {
  font-family: var(--font-mono);
  font-size: .84rem;
  letter-spacing: .03em;
}

.page-home .copy-btn__state { color: var(--mist); }

.page-home .copy-btn.is-copied .copy-btn__state { color: var(--data); }

.page-home .closing__phone {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--gold);
}

.page-home .closing__cta {
  margin-top: 6px;
  width: 100%;
}

@media (min-width: 900px) {
  .page-home .closing__wrap {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
    gap: 56px;
    align-items: center;
  }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .cell,
  .page-home .cell__media img,
  .page-home .cell__link::after,
  .page-home .strand-item::before,
  .page-home .hero__scroll-bar,
  .page-home .btn,
  .page-home .copy-btn {
    transition: color .18s linear, background-color .18s linear, border-color .18s linear;
    transform: none !important;
  }
}
