.page-home {
  display: block;
  --home-panel: var(--graphite);
  --home-line: var(--grid);
}

.page-home .home-top {
  padding-top: clamp(18px, 3.4vw, 40px);
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: clamp(16px, 2.6vw, 28px);
}

.page-home .breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

.page-home .breadcrumb a:hover,
.page-home .breadcrumb a:focus-visible {
  color: var(--cyan);
}

.page-home .breadcrumb span[aria-current="page"] {
  color: var(--mist);
}

/* ---------- 首屏框景 ---------- */

.page-home .hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(115% 85% at 92% -10%, rgba(53, 242, 230, 0.12), transparent 62%),
    var(--midnight);
}

.page-home .hero__pane {
  padding: clamp(22px, 4.4vw, 46px);
}

.page-home .hero .eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
}

.page-home .hero__ver {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
}

.page-home .hero__ver-num {
  font-family: var(--font-display);
  font-size: clamp(58px, 12vw, 132px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.page-home .hero__ver-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .hero h1 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 6vw, 50px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .hero .lede {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.86;
}

.page-home .hero__act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3.4vw, 32px);
}

.page-home .hero__stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-top: 1px solid var(--home-line);
  background: var(--deep-navy);
}

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

.page-home .hero__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: linear-gradient(to top, rgba(6, 20, 35, 0.96) 34%, rgba(6, 20, 35, 0.18));
}

.page-home .hero__stat-k {
  display: block;
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-home .hero__stat-v {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cyan);
}

/* ---------- 章节骨架 ---------- */

.page-home .home-sec {
  padding: clamp(46px, 8.5vw, 92px) 0;
}

.page-home .home-sec--alt {
  background: linear-gradient(180deg, rgba(11, 34, 57, 0.86), rgba(6, 20, 35, 0.94));
  border-block: 1px solid var(--home-line);
}

.page-home .home-head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-home .home-head__idx {
  display: block;
  margin-bottom: 12px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .home-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .home-head p {
  margin: 12px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

/* ---------- 三条主入口 ---------- */

.page-home .entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .entry {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease;
}

.page-home .entry:hover,
.page-home .entry:focus-within {
  border-color: var(--cyan);
}

.page-home .entry--shot {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(53, 242, 230, 0.1), transparent 58%),
    var(--home-panel);
}

.page-home .entry__media {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-navy);
}

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

.page-home .entry__tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .entry__title {
  margin: 0;
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ice);
}

.page-home .entry__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

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

.page-home .entry__list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
  opacity: 0.82;
}

.page-home .entry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.page-home .entry__link {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .entry__link:hover,
.page-home .entry__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

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

/* ---------- 覆盖与节奏 ---------- */

.page-home .metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .metric {
  background: var(--midnight);
  padding: clamp(16px, 2.6vw, 26px);
}

.page-home .metric__v {
  display: block;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .metric__k {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-home .trust {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .rhythm {
  margin-top: clamp(22px, 3.4vw, 34px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .rhythm__box {
  padding: clamp(20px, 3vw, 30px);
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .rhythm__box--plain {
  background: transparent;
  border-style: dashed;
}

.page-home .rhythm__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .rhythm__box--plain p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

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

.page-home .rhythm__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .rhythm__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-home .rhythm__num {
  margin-right: 7px;
  color: var(--orange);
  font-weight: 600;
}

/* ---------- 近期更新 ---------- */

.page-home .upd-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(18px, 2.8vw, 26px);
}

.page-home .updates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.page-home .updates__art {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--midnight);
}

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

.page-home .updates__cap {
  display: block;
  padding: 11px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
  border-top: 1px solid var(--home-line);
}

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

.page-home .upd {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 14px;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease;
}

.page-home .upd:hover {
  border-color: var(--cyan);
}

.page-home .upd__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .upd__meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .upd__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ice);
}

.page-home .upd__sum {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .upd .data-bar {
  margin-top: 2px;
}

/* ---------- 适用场景 ---------- */

.page-home .scenes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .scene {
  padding: 20px 20px 20px 24px;
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(158deg, rgba(53, 242, 230, 0.08), rgba(53, 242, 230, 0) 62%);
}

.page-home .scene__no {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-home .scene__t {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ice);
}

.page-home .scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .cta {
  margin-top: clamp(26px, 4.2vw, 46px);
  padding: clamp(22px, 3.4vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background:
    radial-gradient(95% 150% at 100% 0%, rgba(255, 122, 47, 0.16), transparent 60%),
    var(--midnight);
}

.page-home .cta__text h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ice);
}

.page-home .cta__text p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--steel);
}

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

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-home .scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 780px) {
  .page-home .cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .cta__act {
    justify-content: flex-end;
  }

  .page-home .rhythm {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

@media (min-width: 880px) {
  .page-home .hero__frame {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .page-home .hero__stage {
    border-top: 0;
    border-left: 1px solid var(--home-line);
    min-height: 460px;
  }

  .page-home .entries {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "shot hist"
      "pc pc";
  }

  .page-home .entry--shot {
    grid-area: shot;
  }

  .page-home .entry--hist {
    grid-area: hist;
  }

  .page-home .entry--pc {
    grid-area: pc;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 26px;
  }

  .page-home .entry--pc .entry__media {
    margin: 0;
  }

  .page-home .updates {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  }
}

@media (min-width: 1080px) {
  .page-home .updates__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .upd,
  .page-home .entry__link {
    transition: none;
  }
}
