.page-home {
  --home-block-gap: clamp(20px, 3vw, 40px);
  --home-ladder-height: 200px;
  background: var(--rock-white);
  color: var(--ink);
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  padding-top: clamp(96px, 12vw, 132px);
}
.page-home .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--slate);
}
.page-home .breadcrumb li + li::before {
  content: "／";
  margin-right: .5em;
  color: var(--ink-45);
}
.page-home .breadcrumb a {
  color: var(--turquoise-deep);
  text-decoration: none;
}
.page-home .breadcrumb a:hover {
  color: var(--turquoise-bright);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding-bottom: clamp(40px, 6vw, 88px);
}
.page-home .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-block-gap);
  align-items: start;
}
.page-home .home-hero-copy > .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.page-home .home-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 7vw, 60px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.page-home .home-hero-copy .lead {
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: var(--ink-80);
}

.page-home .home-lookup {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-md);
  background: var(--limestone);
  border-left: 3px solid var(--gold);
}
.page-home .home-cert-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--ink-70);
}
.page-home .home-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-home .home-cert-input {
  flex: 1 1 190px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  letter-spacing: .34em;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--rock-white);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.page-home .home-cert-input::placeholder {
  color: var(--ink-45);
  letter-spacing: .3em;
}
.page-home .home-cert-input:focus {
  outline: none;
  border-color: var(--turquoise-bright);
  box-shadow: 0 0 0 3px rgba(20, 163, 143, .22);
}
.page-home .home-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .home-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--limestone);
}
.page-home .home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-home .home-photo--main {
  margin-top: clamp(26px, 4vw, 40px);
  aspect-ratio: 4 / 3;
}
.page-home .home-photo--half {
  aspect-ratio: 3 / 2;
}

.page-home .home-hero-visual {
  border-radius: var(--radius-lg);
  padding: clamp(14px, 2.4vw, 30px);
  background:
    radial-gradient(120% 120% at 12% 8%, rgba(14, 91, 82, .92) 0%, rgba(20, 26, 24, .98) 62%),
    linear-gradient(160deg, rgba(44, 110, 143, .28), rgba(20, 26, 24, 0));
  box-shadow: var(--shadow-float);
}
.page-home .home-hero-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 编号速查台 ---------- */
.page-home .home-readout-grid {
  margin-top: clamp(26px, 4vw, 44px);
  row-gap: 16px;
}
.page-home .home-readout-card {
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--rock-white);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
}
.page-home .home-readout-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(19px, 2vw, 22px);
}
.page-home .home-readout-card p {
  margin: 0;
  color: var(--ink-70);
  line-height: 1.8;
}
.page-home .home-readout-range {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--tibetan-red);
}
.page-home .home-readout-callout {
  margin-top: clamp(20px, 3vw, 32px);
  border-left-color: var(--tibetan-red);
  background: var(--rock-white);
}
.page-home .home-readout-callout p {
  margin: 0;
  line-height: 1.8;
  color: var(--ink-80);
}
.page-home .home-readout-callout-key {
  margin-bottom: 8px !important;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--tibetan-red);
}
.page-home .home-readout-note {
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ---------- 十二档阶梯 ---------- */
.page-home .home-tiers {
  background: var(--ink);
  color: var(--light-88);
}
.page-home .home-tiers h2 {
  margin: 6px 0 16px;
  color: var(--rock-white);
}
.page-home .home-tiers-lead {
  color: var(--light-80);
}
.page-home .home-tier-switch {
  position: relative;
  margin-top: clamp(24px, 3.4vw, 40px);
}
.page-home .home-tier-radio,
.page-home .home-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.page-home .home-tier-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(245, 241, 232, .08);
  width: fit-content;
  max-width: 100%;
}
.page-home .home-tier-tab {
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--light-80);
  transition: background var(--dur-mid) var(--ease), color var(--dur-mid) var(--ease);
}
.page-home .home-tier-tab .mono {
  margin-left: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--light-55);
}
.page-home .home-tier-tab:hover {
  background: rgba(245, 241, 232, .12);
}
#tier-entry:checked ~ .home-tier-tabs label[for="tier-entry"],
#tier-main:checked ~ .home-tier-tabs label[for="tier-main"],
#tier-flagship:checked ~ .home-tier-tabs label[for="tier-flagship"] {
  background: var(--turquoise-deep);
  color: var(--rock-white);
}
#tier-entry:checked ~ .home-tier-tabs label[for="tier-entry"] .mono,
#tier-main:checked ~ .home-tier-tabs label[for="tier-main"] .mono,
#tier-flagship:checked ~ .home-tier-tabs label[for="tier-flagship"] .mono {
  color: var(--gold);
}
.page-home .home-tier-radio:focus-visible ~ .home-tier-tabs {
  outline: 2px solid var(--turquoise-bright);
  outline-offset: 4px;
}

.page-home .home-ladder {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  height: var(--home-ladder-height);
  margin: clamp(26px, 3.6vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-ladder li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  font-size: 10px;
  color: var(--light-55);
}
.page-home .home-ladder li::before {
  content: "";
  display: block;
  width: 100%;
  height: 20%;
  margin-bottom: 8px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(20, 163, 143, .55), rgba(14, 91, 82, .85));
  transition: background var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.page-home .home-ladder li:nth-child(1)::before { height: 18%; }
.page-home .home-ladder li:nth-child(2)::before { height: 25%; }
.page-home .home-ladder li:nth-child(3)::before { height: 32%; }
.page-home .home-ladder li:nth-child(4)::before { height: 40%; }
.page-home .home-ladder li:nth-child(5)::before { height: 48%; }
.page-home .home-ladder li:nth-child(6)::before { height: 56%; }
.page-home .home-ladder li:nth-child(7)::before { height: 64%; }
.page-home .home-ladder li:nth-child(8)::before { height: 72%; }
.page-home .home-ladder li:nth-child(9)::before { height: 80%; }
.page-home .home-ladder li:nth-child(10)::before { height: 88%; }
.page-home .home-ladder li:nth-child(11)::before { height: 94%; }
.page-home .home-ladder li:nth-child(12)::before { height: 100%; }

#tier-entry:checked ~ .home-ladder li:nth-child(-n+3)::before,
#tier-main:checked ~ .home-ladder li:nth-child(n+4):nth-child(-n+8)::before,
#tier-flagship:checked ~ .home-ladder li:nth-child(n+9)::before {
  background: linear-gradient(180deg, var(--amber), var(--tibetan-red));
  box-shadow: 0 0 0 1px rgba(201, 162, 39, .5);
}
#tier-entry:checked ~ .home-ladder li:nth-child(-n+3),
#tier-main:checked ~ .home-ladder li:nth-child(n+4):nth-child(-n+8),
#tier-flagship:checked ~ .home-ladder li:nth-child(n+9) {
  color: var(--gold);
}

.page-home .home-tier-panels {
  margin-top: clamp(22px, 3vw, 34px);
}
.page-home .home-tier-panel {
  display: none;
  max-width: 62ch;
}
#tier-entry:checked ~ .home-tier-panels .is-entry,
#tier-main:checked ~ .home-tier-panels .is-main,
#tier-flagship:checked ~ .home-tier-panels .is-flagship {
  display: block;
}
.page-home .home-tier-panel h3 {
  margin: 0 0 10px;
  color: var(--rock-white);
  font-size: clamp(19px, 2.1vw, 23px);
}
.page-home .home-tier-panel p {
  margin: 0 0 12px;
  color: var(--light-80);
  line-height: 1.8;
}
.page-home .home-tier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .home-tier-tags .tag {
  background: rgba(245, 241, 232, .1);
  color: var(--light-88);
}

/* ---------- 八类型号族 ---------- */
.page-home .home-families-wrap h2 {
  margin: 6px 0 16px;
}
.page-home .home-families {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: clamp(26px, 4vw, 46px);
}
.page-home .home-family {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  background: var(--limestone);
  border: 1px solid transparent;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 6px;
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.page-home .home-family:nth-child(2n) {
  border-radius: 6px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding-block: 30px 22px;
}
.page-home .home-family:nth-child(3n) {
  border-radius: var(--radius-lg) 6px var(--radius-lg) var(--radius-lg);
  padding-block: 24px 34px;
}
.page-home .home-family:hover,
.page-home .home-family:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lift);
}
.page-home .home-family-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--turquoise-deep);
  color: var(--gold);
  font-size: 17px;
  letter-spacing: .08em;
}
.page-home .home-family h3 {
  margin: 4px 0 0;
  font-size: clamp(18px, 1.9vw, 21px);
}
.page-home .home-family p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-70);
}
.page-home .home-family-go {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--turquoise-deep);
}
.page-home .home-family:hover .home-family-go {
  color: var(--tibetan-red);
}

/* ---------- 两道工序 ---------- */
.page-home .home-process h2 {
  margin: 6px 0 16px;
}
.page-home .home-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-block-gap);
  margin-top: clamp(26px, 4vw, 44px);
}
.page-home .home-process-col {
  padding: clamp(20px, 2.6vw, 28px);
  background: var(--rock-white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--prayer-blue);
}
.page-home .home-process-place {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--turquoise-deep);
}
.page-home .home-node-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: node;
}
.page-home .home-node-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-80);
  border-bottom: 1px solid var(--ink-06);
}
.page-home .home-node-list li:last-child {
  border-bottom: none;
}
.page-home .home-node-list .mono {
  flex: none;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--tibetan-red);
}
.page-home .home-process-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--slate);
}
.page-home .home-process-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: clamp(28px, 4vw, 48px);
  background: var(--ink-12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-home .home-process-strip-item {
  padding: 20px 22px;
  background: var(--rock-white);
}
.page-home .home-process-strip-key {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
  background: var(--ink);
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.page-home .home-process-strip-item p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-80);
}

/* ---------- 三步入场 ---------- */
.page-home .home-start {
  background: linear-gradient(150deg, var(--turquoise-deep) 0%, #0a3f39 68%, var(--ink) 100%);
  color: var(--light-88);
}
.page-home .home-start h2 {
  margin: 6px 0 16px;
  color: var(--rock-white);
}
.page-home .home-start-lead {
  color: var(--light-80);
}
.page-home .home-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-step {
  padding: clamp(20px, 2.6vw, 28px);
  background: rgba(245, 241, 232, .07);
  border: 1px solid rgba(245, 241, 232, .16);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 5px;
}
.page-home .home-step-no {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--gold);
}
.page-home .home-step h3 {
  margin: 0 0 10px;
  color: var(--rock-white);
  font-size: clamp(19px, 2vw, 22px);
}
.page-home .home-step p {
  margin: 0 0 16px;
  line-height: 1.8;
  color: var(--light-80);
}
.page-home .home-start-links {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--light-80);
}
.page-home .home-start-links a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, .55);
}
.page-home .home-start-links a:hover {
  color: var(--rock-white);
  border-bottom-color: var(--rock-white);
}

/* ---------- 动态索引 ---------- */
.page-home .home-news {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--light-88);
}
.page-home .home-news-bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.page-home .home-news-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}
.page-home .home-news-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 26, 24, .94) 0%, rgba(20, 26, 24, .72) 55%, rgba(14, 91, 82, .78) 100%);
}
.page-home .home-news-inner {
  position: relative;
  z-index: 1;
}
.page-home .home-news h2 {
  margin: 6px 0 0;
  color: var(--rock-white);
}
.page-home .home-tabs {
  position: relative;
  margin-top: clamp(24px, 3.4vw, 38px);
}
.page-home .home-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(245, 241, 232, .09);
  width: fit-content;
  max-width: 100%;
}
.page-home .home-tab-label {
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--light-80);
  transition: background var(--dur-mid) var(--ease), color var(--dur-mid) var(--ease);
}
.page-home .home-tab-label:hover {
  background: rgba(245, 241, 232, .13);
}
#news-tab-craft:checked ~ .home-tab-bar label[for="news-tab-craft"],
#news-tab-pick:checked ~ .home-tab-bar label[for="news-tab-pick"],
#news-tab-stock:checked ~ .home-tab-bar label[for="news-tab-stock"] {
  background: var(--gold);
  color: var(--ink);
}
.page-home .home-tab-input:focus-visible ~ .home-tab-bar {
  outline: 2px solid var(--turquoise-bright);
  outline-offset: 4px;
}
.page-home .home-tab-panels {
  margin-top: clamp(20px, 3vw, 30px);
}
.page-home .home-tab-panel {
  display: none;
}
#news-tab-craft:checked ~ .home-tab-panels .is-craft,
#news-tab-pick:checked ~ .home-tab-panels .is-pick,
#news-tab-stock:checked ~ .home-tab-panels .is-stock {
  display: block;
}
.page-home .home-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 70ch;
}
.page-home .home-news-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(245, 241, 232, .16);
}
.page-home .home-news-list li:last-child {
  border-bottom: none;
}
.page-home .home-news-list a {
  color: var(--light-88);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.8;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.page-home .home-news-list a:hover,
.page-home .home-news-list a:focus-visible {
  color: var(--gold);
  border-bottom-color: rgba(201, 162, 39, .6);
}
.page-home .home-news-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: clamp(24px, 3.4vw, 36px) 0 0;
}
.page-home .home-news-foot-text {
  font-size: 13px;
  color: var(--light-55);
}

/* ---------- 栅格回落 ---------- */
.page-home .home-readout-card.col-4,
.page-home .home-readout-card.col-6,
.page-home .home-readout-card.col-8 {
  grid-column: 1 / -1;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .home-families {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .home-process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(36px, 5vw, 76px);
  }
  .page-home .home-hero-visual {
    position: sticky;
    top: 96px;
  }
  .page-home .home-readout-card.col-4 {
    grid-column: span 4;
  }
  .page-home .home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .page-home .home-process-grid > .home-photo--half:first-of-type {
    grid-row: 1;
    grid-column: 1;
  }
  .page-home .home-process-col {
    grid-column: 2;
  }
  .page-home .home-process-grid > .home-process-col:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }
  .page-home .home-process-grid > .home-photo--half:last-of-type {
    grid-row: 2;
    grid-column: 2;
  }
  .page-home .home-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-home .home-process-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-family,
  .page-home .home-tier-tab,
  .page-home .home-tab-label,
  .page-home .home-ladder li::before,
  .page-home .home-news-list a {
    transition: none;
  }
  .page-home .home-family:hover,
  .page-home .home-family:focus-visible {
    transform: none;
  }
}
