.page-home {
  --home-line: 1px solid var(--grid);
  --home-tight: 1px solid rgba(11, 20, 40, .18);
}

/* ---------------- 首屏 ---------------- */

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 9vw, 116px) 0 clamp(60px, 10vw, 130px);
  background-color: var(--ink-900);
}

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

.page-home .home-hero__cut {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.page-home .home-hero__cut::before,
.page-home .home-hero__cut::after {
  content: "";
  position: absolute;
  top: -35%;
  height: 175%;
  transform: rotate(9deg);
  transform-origin: 50% 50%;
}

.page-home .home-hero__cut::before {
  left: 54%;
  width: 32%;
  background: var(--draw-red);
  opacity: .15;
}

.page-home .home-hero__cut::after {
  left: 45%;
  width: 8%;
  background: var(--chart-cyan);
  opacity: .14;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(34px, 6vw, 56px);
  align-items: center;
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 6.6vw, 74px);
  line-height: 1.05;
  letter-spacing: -.01em;
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 44ch;
}

.page-home .home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.page-home .home-hero__clock {
  border-left: 1px solid var(--grid);
  padding-left: clamp(18px, 3.4vw, 42px);
}

.page-home .home-hero__clocklabel {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.page-home .home-hero__time {
  display: block;
  margin-top: 10px;
  font-size: clamp(72px, 15vw, 168px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--text-primary);
  text-shadow: 0 0 52px rgba(242, 178, 62, .38), 0 0 14px rgba(242, 178, 62, .22);
}

.page-home .home-hero__time::after {
  content: "";
  display: block;
  width: 42%;
  height: 3px;
  margin-top: 16px;
  background: var(--warm-gold);
}

.page-home .home-hero__clocknote {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------------- 版本时点对比 ---------------- */

.page-home .home-version {
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .home-version__grid {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
}

.page-home .home-scale {
  margin-top: 30px;
  padding: 18px 0;
  border-top: var(--home-line);
  border-bottom: var(--home-line);
  display: grid;
  gap: 18px;
}

.page-home .home-scale__row {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.page-home .home-scale__tick {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .home-scale__track {
  display: block;
  height: 10px;
  background: var(--ink-700);
  overflow: hidden;
}

.page-home .home-scale__fill {
  display: block;
  height: 100%;
}

.page-home .home-scale__row--current .home-scale__fill {
  width: 100%;
  background: var(--draw-red);
}

.page-home .home-scale__row--current .home-scale__tick {
  color: var(--draw-red);
}

.page-home .home-scale__row--legacy .home-scale__fill {
  width: 62%;
  background: var(--grid);
}

.page-home .home-scale__row--legacy .home-scale__tick {
  color: var(--text-muted);
}

.page-home .home-scale__tag {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.page-home .home-fold {
  margin-top: 24px;
}

.page-home .home-version__figure {
  margin: 0;
}

.page-home .home-frame {
  display: block;
  overflow: hidden;
  background: var(--ink-800);
}

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

.page-home .home-version__figure .home-frame {
  aspect-ratio: 2 / 1;
}

.page-home .home-version__meta {
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .home-chartcount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  padding: 20px 22px;
  background: var(--ink-700);
  border: var(--home-line);
}

.page-home .home-chartcount__label {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.page-home .home-chartcount__old {
  font-size: 30px;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--grid);
}

.page-home .home-chartcount__arrow {
  font-size: 18px;
  color: var(--grid);
}

.page-home .home-chartcount__new {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--warm-gold);
}

.page-home .home-chartcount__note {
  flex: 1 1 260px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------------- Bento 归档模块板 ---------------- */

.page-home .home-latest {
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .home-bento {
  margin-top: clamp(28px, 4vw, 46px);
}

.page-home .home-cell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--ink-700);
}

.page-home .home-cell--issue {
  background: var(--ink-800);
  border-left: 3px solid var(--draw-red);
}

.page-home .home-issue {
  margin: 0;
  font-size: clamp(50px, 8vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text-primary);
}

.page-home .home-issue::after {
  content: "";
  display: block;
  width: 62%;
  height: 3px;
  margin-top: 12px;
  background: var(--warm-gold);
}

.page-home .home-cell__meta {
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.page-home .home-cell__status {
  margin: 0;
}

.page-home .home-cell--issue .copy {
  align-self: flex-start;
  margin-top: 4px;
}

.page-home .home-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-balls li {
  min-width: 2.5rem;
  padding: 10px 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--ink-900);
  border: 1px solid var(--grid);
}

.page-home .home-cell--figure {
  margin: 0;
  gap: 10px;
}

.page-home .home-frame--square {
  aspect-ratio: 1 / 1;
}

.page-home .home-cell--fields {
  justify-content: flex-start;
}

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

.page-home .home-fields li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  color: var(--text-primary);
}

.page-home .home-fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 5px;
  height: 5px;
  background: var(--chart-cyan);
}

.page-home .home-cell--stat {
  justify-content: center;
  gap: 8px;
}

.page-home .home-stat__value {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.page-home .home-stat__label {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.page-home .home-stat__note {
  margin: 6px 0 0;
  padding-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: var(--home-line);
}

/* ---------------- 注数对照 ---------------- */

.page-home .home-notes {
  padding: clamp(52px, 8vw, 104px) 0;
}

.page-home .home-notes__grid {
  display: grid;
  gap: clamp(34px, 5vw, 60px);
  align-items: center;
}

.page-home .home-notes__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-line);
}

.page-home .home-notes__list li {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0 9px;
  border-bottom: var(--home-line);
  font-size: 15px;
  color: var(--text-muted);
}

.page-home .home-notes__list li span {
  font-size: 21px;
  font-weight: 700;
  color: var(--chart-cyan);
}

.page-home .home-notes__list li::after {
  content: "";
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 4px;
  background: var(--chart-cyan);
  opacity: .55;
  width: var(--w, 0%);
  min-width: 6px;
}

.page-home .home-notes__list li:nth-child(1) { --w: 4.2%; }
.page-home .home-notes__list li:nth-child(2) { --w: 8.6%; }
.page-home .home-notes__list li:nth-child(3) { --w: 14.3%; }
.page-home .home-notes__list li:nth-child(4) { --w: 26.9%; }
.page-home .home-notes__list li:nth-child(5) { --w: 46%; }

.page-home .home-notes__figure {
  margin: 0;
}

.page-home .home-frame--wide {
  aspect-ratio: 8 / 5;
}

/* ---------------- 三条去向（档案纸换气点） ---------------- */

.page-home .home-routes {
  padding: clamp(52px, 8vw, 104px) 0;
  color: var(--ink-900);
}

.page-home .home-routes__eyebrow {
  color: rgba(11, 20, 40, .62);
}

.page-home .home-routes__title {
  color: var(--ink-900);
}

.page-home .home-routes__grid {
  margin-top: clamp(28px, 4vw, 46px);
  display: grid;
  gap: 1px;
  background: rgba(11, 20, 40, .2);
  border: var(--home-tight);
}

.page-home .home-route {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color .24s var(--ease), transform .24s var(--ease);
}

.page-home .home-route:hover,
.page-home .home-route:focus-visible {
  background: #ffffff;
  transform: translateY(-2px);
}

.page-home .home-route__no {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--draw-red);
}

.page-home .home-route .h3 {
  margin: 0;
  color: var(--ink-900);
}

.page-home .home-route p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(11, 20, 40, .74);
}

.page-home .home-route__go {
  margin-top: auto;
  padding-top: 8px;
  font-size: 20px;
  color: var(--draw-red);
}

/* ---------------- 服务说明 ---------------- */

.page-home .home-service {
  padding: clamp(48px, 7vw, 92px) 0;
}

.page-home .home-service__grid {
  display: grid;
  gap: clamp(30px, 4.5vw, 52px);
  align-items: start;
}

.page-home .home-service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-home .home-facts {
  margin: 0;
  border-top: var(--home-line);
}

.page-home .home-facts > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: var(--home-line);
}

.page-home .home-facts dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.page-home .home-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  }

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

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

  .page-home .home-notes__grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
}

@media (max-width: 600px) {
  .page-home .home-scale__row {
    grid-template-columns: 4.6rem minmax(0, 1fr);
  }

  .page-home .home-scale__tag {
    grid-column: 2;
    white-space: normal;
  }

  .page-home .home-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .page-home .home-hero__clock {
    border-left: 0;
    border-top: 1px solid var(--grid);
    padding-left: 0;
    padding-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-route,
  .page-home .home-route:hover,
  .page-home .home-route:focus-visible {
    transition: none;
    transform: none;
  }
}
