.page-home {
  --ph-gap: clamp(14px, 2vw, 22px);
  --ph-radius: 14px;
  --ph-shadow: 0 22px 52px -32px rgba(0, 0, 0, .92);
  display: block;
}

/* ---------- 页面上下文 ---------- */
.page-home .ph-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1.1rem;
  padding-top: clamp(14px, 2.4vw, 26px);
  border-bottom: 1px solid var(--line);
  padding-bottom: .85rem;
}

.page-home .ph-context__path {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--cyan-300);
}

.page-home .ph-context__note {
  margin: 0;
  font-size: .8rem;
  color: var(--gray-300);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .ph-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
  padding-top: clamp(18px, 3vw, 34px);
}

.page-home .ph-collage__status {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  background:
    radial-gradient(140% 110% at 0% 0%, rgba(24, 199, 216, .14), transparent 62%),
    linear-gradient(180deg, rgba(18, 59, 92, .88), rgba(11, 42, 69, .9));
}

.page-home .ph-collage__status-title {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--gray-300);
  text-transform: uppercase;
}

.page-home .ph-collage__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .ph-collage__list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.page-home .ph-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: .48em;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(62, 213, 152, .16);
  animation: ph-breathe 2.9s var(--ease) infinite;
}

.page-home .ph-dot--warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(242, 184, 75, .16);
  animation-delay: .7s;
}

@keyframes ph-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.86); }
}

.page-home .ph-collage__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
}

.page-home .ph-collage__foot {
  margin: 0;
  font-size: .7rem;
  line-height: 1.6;
  color: var(--gray-300);
}

.page-home .ph-collage__main {
  display: flex;
  flex-direction: column;
  gap: .95rem;
  padding: clamp(1.25rem, 2.8vw, 2.2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--ph-radius);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(24, 199, 216, .17), transparent 58%),
    radial-gradient(90% 130% at 0% 100%, rgba(231, 168, 62, .13), transparent 62%),
    linear-gradient(155deg, rgba(18, 59, 92, .96), rgba(11, 42, 69, .96));
  box-shadow: var(--ph-shadow);
}

.page-home .ph-collage__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.72rem, 5.4vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .ph-collage__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--gray-300);
}

.page-home .ph-collage__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.page-home .ph-collage__traits {
  list-style: none;
  margin: 0;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .5rem;
  font-size: .84rem;
  color: var(--gray-300);
}

.page-home .ph-collage__traits li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.page-home .ph-collage__traits .mono {
  color: var(--gold-300);
  font-size: .72rem;
}

.page-home .ph-collage__visual {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(18, 59, 92, .8), rgba(6, 26, 46, .9));
  display: flex;
  flex-direction: column;
}

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

.page-home .ph-collage__visual figcaption,
.page-home .ph-triage__figure figcaption,
.page-home .ph-tunes__figure figcaption {
  padding: .6rem .85rem;
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--gray-300);
  border-top: 1px solid var(--line);
}

.page-home .ph-collage__hint {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid rgba(231, 168, 62, .34);
  border-radius: var(--ph-radius);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(231, 168, 62, .18), transparent 66%),
    linear-gradient(165deg, rgba(11, 42, 69, .94), rgba(6, 26, 46, .94));
}

.page-home .ph-collage__hint-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--gray-300);
}

.page-home .ph-collage__hint .btn {
  align-self: flex-start;
}

/* ---------- 通用章节头 ---------- */
.page-home .ph-section {
  margin-top: clamp(48px, 7.5vw, 92px);
}

.page-home .ph-head {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  max-width: 68ch;
  padding-bottom: clamp(1.1rem, 2.2vw, 1.8rem);
}

.page-home .ph-head__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.36rem, 3.6vw, 2.1rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .ph-head__lead {
  margin: 0;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--gray-300);
}

/* ---------- 四类入口 ---------- */
.page-home .ph-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

.page-home .ph-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.15rem 1.2rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(18, 59, 92, .86), rgba(11, 42, 69, .92));
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.page-home .ph-entry::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ph-accent, var(--cyan-500));
}

.page-home .ph-entry::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--ph-accent, var(--cyan-500));
  opacity: .09;
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}

.page-home .ph-entry:hover,
.page-home .ph-entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ph-accent, var(--cyan-500));
  box-shadow: 0 20px 40px -26px var(--ph-accent, var(--cyan-500));
}

.page-home .ph-entry:hover::after,
.page-home .ph-entry:focus-visible::after {
  opacity: .18;
  transform: scale(1.15);
}

.page-home .ph-entry--cyan { --ph-accent: var(--cyan-500); }
.page-home .ph-entry--gold { --ph-accent: var(--gold-500); }
.page-home .ph-entry--green { --ph-accent: var(--ok); }
.page-home .ph-entry--slate { --ph-accent: var(--gray-300); }

.page-home .ph-entry__idx {
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--ph-accent, var(--cyan-500));
}

.page-home .ph-entry__name {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-home .ph-entry__desc {
  margin: 0;
  font-size: .88rem;
  line-height: 1.72;
  color: var(--gray-300);
}

.page-home .ph-entry__go {
  margin-top: auto;
  padding-top: .55rem;
  font-size: .82rem;
  color: var(--ph-accent, var(--cyan-500));
}

/* ---------- 大屏排查三步 ---------- */
.page-home .ph-triage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

.page-home .ph-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--ph-gap);
  counter-reset: ph-step;
}

.page-home .ph-step {
  position: relative;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  background: linear-gradient(165deg, rgba(11, 42, 69, .9), rgba(6, 26, 46, .9));
}

.page-home .ph-step::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-500), transparent);
}

.page-home .ph-step__num {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--cyan-300);
}

.page-home .ph-step__title {
  margin: .45rem 0 .4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}

.page-home .ph-step__text {
  margin: 0 0 .75rem;
  font-size: .89rem;
  line-height: 1.74;
  color: var(--gray-300);
}

.page-home .ph-detail {
  border-top: 1px dashed var(--line-strong);
  padding-top: .65rem;
}

.page-home .ph-detail > summary {
  cursor: pointer;
  list-style: none;
  font-size: .84rem;
  color: var(--cyan-300);
  display: flex;
  align-items: center;
  gap: .45rem;
  transition: color .28s var(--ease);
}

.page-home .ph-detail > summary::-webkit-details-marker {
  display: none;
}

.page-home .ph-detail > summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: .95rem;
  line-height: 1;
  color: var(--gold-300);
}

.page-home .ph-detail[open] > summary::before {
  content: "–";
}

.page-home .ph-detail > summary:hover {
  color: var(--cyan-500);
}

.page-home .ph-detail p {
  margin: .6rem 0 0;
  font-size: .86rem;
  line-height: 1.76;
  color: var(--gray-300);
}

.page-home .ph-triage__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(18, 59, 92, .78), rgba(6, 26, 46, .9));
  display: flex;
  flex-direction: column;
}

.page-home .ph-triage__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 月调记录 ---------- */
.page-home .ph-tunes__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

.page-home .ph-tunes__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .ph-tune {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(18, 59, 92, .62), rgba(11, 42, 69, .7));
  overflow: hidden;
  transition: border-color .3s var(--ease);
}

.page-home .ph-tune[open] {
  border-color: rgba(24, 199, 216, .38);
}

.page-home .ph-tune > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: .35rem .8rem;
  padding: .85rem 1rem;
  transition: background .28s var(--ease);
}

.page-home .ph-tune > summary::-webkit-details-marker {
  display: none;
}

.page-home .ph-tune > summary:hover {
  background: rgba(24, 199, 216, .07);
}

.page-home .ph-tune__when {
  grid-column: 1 / 2;
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--gray-300);
}

.page-home .ph-tune__ver {
  grid-column: 2 / 3;
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 168, 62, .45);
  color: var(--gold-300);
}

.page-home .ph-tune__name {
  grid-column: 1 / -1;
  font-size: .95rem;
  color: var(--ink);
}

.page-home .ph-tune__panel {
  padding: 0 1rem 1rem;
  border-top: 1px dashed var(--line);
  padding-top: .75rem;
}

.page-home .ph-tune__panel p {
  margin: 0 0 .5rem;
  font-size: .85rem;
  line-height: 1.74;
  color: var(--gray-300);
}

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

.page-home .ph-tunes__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(18, 59, 92, .7), rgba(6, 26, 46, .9));
  display: flex;
  flex-direction: column;
  align-self: start;
}

.page-home .ph-tunes__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

/* ---------- 服务能力 ---------- */
.page-home .ph-cap__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ph-gap);
}

.page-home .ph-cap__item {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan-500);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(18, 59, 92, .55), rgba(6, 26, 46, .68));
}

.page-home .ph-cap__item:nth-child(2n) {
  border-left-color: var(--gold-500);
}

.page-home .ph-cap__num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.page-home .ph-cap__label {
  margin: .4rem 0 0;
  font-size: .82rem;
  line-height: 1.68;
  color: var(--gray-300);
}

.page-home .ph-cap__link {
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
  align-self: flex-start;
}

/* ---------- 场景入口 ---------- */
.page-home .ph-scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
}

.page-home .ph-scene {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--ph-radius);
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(155deg, rgba(11, 42, 69, .82), rgba(6, 26, 46, .86));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-home .ph-scene:hover,
.page-home .ph-scene:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(24, 199, 216, .5);
}

.page-home .ph-scene__text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.74;
  color: var(--gray-300);
}

/* ---------- 底部排查带 ---------- */
.page-home .ph-band {
  margin-top: clamp(48px, 7.5vw, 92px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gap);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--ph-radius);
  background:
    radial-gradient(110% 140% at 0% 0%, rgba(24, 199, 216, .2), transparent 62%),
    linear-gradient(150deg, rgba(18, 59, 92, .95), rgba(6, 26, 46, .95));
  box-shadow: var(--ph-shadow);
}

.page-home .ph-band__title {
  margin: .35rem 0 .6rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.28rem, 3.4vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}

.page-home .ph-band__text p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.78;
  color: var(--gray-300);
}

.page-home .ph-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.1rem;
}

.page-home .ph-band__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(6, 26, 46, .7);
  align-self: center;
}

.page-home .ph-band__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .ph-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 880px) {
  .page-home .ph-collage {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .page-home .ph-collage__status {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }

  .page-home .ph-collage__main {
    grid-column: 4 / 13;
    grid-row: 1;
  }

  .page-home .ph-collage__visual {
    grid-column: 4 / 9;
    grid-row: 2;
  }

  .page-home .ph-collage__hint {
    grid-column: 9 / 13;
    grid-row: 2;
  }

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

  .page-home .ph-triage__grid {
    grid-template-columns: 6fr 5fr;
    align-items: start;
  }

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

  .page-home .ph-tune > summary {
    grid-template-columns: auto auto 1fr;
  }

  .page-home .ph-tune__name {
    grid-column: 3 / 4;
  }

  .page-home .ph-band {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .page-home .ph-cap__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-home .ph-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-dot {
    animation: none;
  }

  .page-home .ph-entry,
  .page-home .ph-scene,
  .page-home .ph-tune,
  .page-home .ph-detail > summary {
    transition: none;
  }

  .page-home .ph-entry:hover,
  .page-home .ph-scene:hover {
    transform: none;
  }
}
