.page-home {
  display: block;
  background: var(--pitch);
  color: var(--lamp);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-home .measure {
  max-width: 34em;
}

/* ---------- 首屏框景 ---------- */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  background: var(--night);
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(152deg, rgba(15, 59, 46, 0.95) 0%, rgba(8, 17, 15, 0.9) 46%, rgba(18, 58, 68, 0.92) 100%);
}

.page-home .hero-frame-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page-home .frame-gauge {
  height: 20px;
  border-bottom: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(to right, rgba(154, 168, 162, 0.7) 0 1px, transparent 1px 30px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 30px 8px;
}

.page-home .frame-gauge--bottom {
  border-bottom: 0;
  border-top: 1px solid var(--line-strong);
  background-position: left top;
  background-size: 30px 8px;
  opacity: 0.7;
}

.page-home .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  padding: 40px 0 44px;
}

.page-home .hero-rail {
  display: none;
}

.page-home .hero-core {
  min-width: 0;
}

.page-home .eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .hero-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(42px, 8.6vw, 112px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--lamp);
}

.page-home .hero-title .line {
  display: block;
}

.page-home .hero-title .line--cyan {
  color: var(--cyan);
}

.page-home .hero-title .line--dim {
  margin-top: 0.55em;
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-home .hero-lede {
  margin: 0 0 30px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(242, 246, 244, 0.82);
}

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

.page-home .hero-aside {
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.page-home .aside-title {
  margin: 0 0 14px;
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .aside-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
  color: rgba(242, 246, 244, 0.78);
}

.page-home .aside-list .mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.page-home .t-code--t1 { color: var(--cyan); }
.page-home .t-code--t2 { color: var(--orange); }
.page-home .t-code--t3 { color: var(--red); }

.page-home .aside-foot {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(242, 246, 244, 0.58);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: 60px 0;
}

.page-home .section-head {
  margin-bottom: 34px;
}

.page-home .section-label {
  margin: 0 0 12px;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-home .section-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.24;
  letter-spacing: 0.02em;
  color: var(--lamp);
}

.page-home .section-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(242, 246, 244, 0.74);
}

.page-home .band-deep {
  background: var(--deep);
}

.page-home .band-paper {
  background: var(--paper);
  color: var(--night);
}

.page-home .band-paper .section-title {
  color: var(--night);
}

.page-home .band-paper .section-label {
  color: var(--red);
}

.page-home .band-paper .section-note {
  color: rgba(8, 17, 15, 0.76);
}

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

/* ---------- 联赛矩阵 ---------- */
.page-home .matrix-section {
  background: var(--pitch);
}

.page-home .matrix-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.page-home .matrix-col {
  background: var(--pitch);
  padding: 16px 14px 18px;
  transition: opacity 220ms ease;
}

.page-home .matrix-col-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cyan);
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .matrix-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 8px;
  border-bottom: 1px dashed var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: background-color 180ms ease, padding-left 180ms ease;
}

.page-home .matrix-cell:last-child {
  border-bottom: 0;
}

.page-home .matrix-cell:hover,
.page-home .matrix-cell:focus-visible {
  background: rgba(35, 211, 211, 0.1);
  padding-left: 12px;
}

.page-home .matrix-cell:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .cell-code {
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
}

.page-home .cell-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(242, 246, 244, 0.5);
}

.page-home .matrix-aside {
  display: grid;
  gap: 14px;
}

.page-home .matrix-aside-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(242, 246, 244, 0.62);
}

/* ---------- 口径注释带 ---------- */
.page-home .note-band {
  background: var(--paper);
  color: var(--night);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: 26px 0;
}

.page-home .note-inner {
  display: grid;
  gap: 12px;
}

.page-home .note-label {
  margin: 0;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.page-home .note-text {
  margin: 0;
  max-width: 62em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(8, 17, 15, 0.82);
}

/* ---------- 档位对照 ---------- */
.page-home .tier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.page-home .tier-intro .section-note {
  margin-bottom: 26px;
}

.page-home .tier-intro .media-frame {
  max-width: 340px;
}

.page-home .tier-panel-side {
  min-width: 0;
}

.page-home .tier-tabs {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.page-home .tab-list {
  display: flex;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-strong);
}

.page-home .tab {
  flex: 1 1 0;
  appearance: none;
  border: 0;
  background: rgba(8, 17, 15, 0.55);
  color: rgba(242, 246, 244, 0.66);
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 6px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.page-home .tab:hover {
  color: var(--lamp);
}

.page-home .tab[aria-selected="true"] {
  background: var(--night);
  color: var(--lamp);
}

.page-home .tab[data-tier="T1"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--cyan); }
.page-home .tab[data-tier="T2"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--orange); }
.page-home .tab[data-tier="T3"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--red); }

.page-home .tab:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .tab-panel {
  padding: 26px 0 0;
}

.page-home .tab-panel[hidden] {
  display: none;
}

.page-home .tier-value {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--lamp);
}

.page-home .tier-unit {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(242, 246, 244, 0.6);
}

.page-home .tier-track {
  display: flex;
  gap: 3px;
  height: 8px;
  margin-bottom: 24px;
}

.page-home .tier-track .seg {
  display: block;
  height: 100%;
  background: rgba(154, 168, 162, 0.28);
}

.page-home .tier-track .seg--t1 { flex: 4 1 0; }
.page-home .tier-track .seg--t2 { flex: 5 1 0; }
.page-home .tier-track .seg--t3 { flex: 7 1 0; }

.page-home .tier-track[data-tier="T1"] .seg--t1 { background: var(--cyan); }
.page-home .tier-track[data-tier="T2"] .seg--t2 { background: var(--orange); }
.page-home .tier-track[data-tier="T3"] .seg--t3 { background: var(--red); }

.page-home .tier-sub {
  margin: 18px 0 6px;
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .tier-text {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(242, 246, 244, 0.78);
}

.page-home .tier-caveat {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.74;
  color: rgba(242, 246, 244, 0.6);
}

/* ---------- 形势与简史 ---------- */
.page-home .shape-section {
  background: var(--pitch);
}

.page-home .shape-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .shape-main .section-note {
  margin-bottom: 26px;
}

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

.page-home .shape-stats {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-home .shape-stats li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .stat-num {
  min-width: 5ch;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.page-home .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(242, 246, 244, 0.72);
}

/* ---------- 阅读路径 ---------- */
.page-home .path-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 34px;
}

.page-home .path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-home .path-col {
  padding: 22px 20px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--paper-line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.page-home .path-step {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.page-home .path-col-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  color: var(--night);
}

.page-home .path-col-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(8, 17, 15, 0.78);
}

.page-home .path-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: pathitem;
}

.page-home .path-list li {
  counter-increment: pathitem;
  position: relative;
  padding: 7px 0 7px 24px;
  border-bottom: 1px dashed var(--paper-line);
  font-size: 14px;
  line-height: 1.66;
  color: rgba(8, 17, 15, 0.8);
}

.page-home .path-list li::before {
  content: counter(pathitem, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
}

.page-home .path-link {
  display: inline-block;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}

.page-home .path-link:hover,
.page-home .path-link:focus-visible {
  color: var(--red);
}

.page-home .path-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .path-arrow {
  height: 26px;
  width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--red) 0 1px, transparent 1px 9px);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 9px 12px;
  opacity: 0.65;
}

/* ---------- 更新节奏 ---------- */
.page-home .rhythm-section {
  background: var(--pitch);
}

.page-home .rhythm-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .rhythm-node {
  position: relative;
  padding: 16px 0 0 20px;
  border-left: 1px solid var(--line-soft);
}

.page-home .node-mark {
  position: absolute;
  top: 15px;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--grid-line);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.page-home .node-mark.is-lit {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(35, 211, 211, 0.16);
}

.page-home .node-time {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yellow);
}

.page-home .node-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--lamp);
}

.page-home .node-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.76;
  color: rgba(242, 246, 244, 0.68);
}

/* ---------- 栏目状态 ---------- */
.page-home .status-section {
  background: var(--night);
  border-top: 1px solid var(--line);
}

.page-home .status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-home .status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.page-home .status-row {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .status-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 4px 14px 16px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background-color 180ms ease;
}

.page-home .status-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--orange);
}

.page-home .status-link:hover,
.page-home .status-link:focus-visible {
  background: rgba(255, 107, 44, 0.1);
}

.page-home .status-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-home .status-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--lamp);
}

.page-home .status-type {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(242, 246, 244, 0.58);
}

.page-home .ask-line {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--cyan);
  word-break: break-all;
}

.page-home .ask-note {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.72;
  color: rgba(242, 246, 244, 0.6);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .note-inner {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: baseline;
  }

  .page-home .note-label {
    margin: 0;
  }

  .page-home .path-grid {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
    align-items: stretch;
  }

  .page-home .path-arrow {
    height: auto;
    width: 100%;
    background-image: repeating-linear-gradient(180deg, var(--red) 0 1px, transparent 1px 9px);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 12px 9px;
  }
}

@media (min-width: 900px) {
  .page-home .section {
    padding: 96px 0;
  }

  .page-home .hero-layout {
    grid-template-columns: 54px minmax(0, 1fr) 262px;
    gap: 34px;
    padding: 74px 0 78px;
  }

  .page-home .hero-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--grid-line);
  }

  .page-home .rail-track {
    flex: 1 1 auto;
    width: 9px;
    min-height: 150px;
    border-left: 1px solid var(--line-strong);
    background-image: repeating-linear-gradient(to bottom, rgba(154, 168, 162, 0.7) 0 1px, transparent 1px 15px);
    background-repeat: repeat-y;
    background-position: left top;
    background-size: 8px 15px;
  }

  .page-home .hero-aside {
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    padding: 2px 0 0 22px;
  }

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

  .page-home .matrix:hover .matrix-col {
    opacity: 0.45;
  }

  .page-home .matrix:hover .matrix-col:hover {
    opacity: 1;
  }

  .page-home .matrix:focus-within .matrix-col {
    opacity: 0.45;
  }

  .page-home .matrix:focus-within .matrix-col:focus-within {
    opacity: 1;
  }

  .page-home .tier-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 46px;
  }

  .page-home .shape-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
  }

  .page-home .path-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .rhythm-line {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line-strong);
  }

  .page-home .rhythm-node {
    border-left: 0;
    border-right: 1px solid var(--line-soft);
    padding: 28px 18px 0 0;
  }

  .page-home .rhythm-node:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .page-home .node-mark {
    top: -5px;
    left: 0;
  }

  .page-home .status-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
  }
}

@media (min-width: 1180px) {
  .page-home .matrix-wrap {
    grid-template-columns: minmax(0, 1fr) 262px;
    gap: 32px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .matrix-col,
  .page-home .matrix-cell,
  .page-home .tab,
  .page-home .status-link,
  .page-home .node-mark {
    transition: none;
  }
}
