.page-home {
  --home-cut: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  --home-cut-b: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  --home-rule: 1px dashed rgba(43, 33, 24, 0.24);
  background: var(--paper);
  color: var(--oil);
  overflow-x: hidden;
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-block: clamp(22px, 4vw, 40px) clamp(36px, 6vw, 72px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background-image:
    linear-gradient(rgba(15, 42, 68, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 42, 68, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(#000 20%, transparent 82%);
  mask-image: linear-gradient(#000 20%, transparent 82%);
  pointer-events: none;
}

.page-home .home-context {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(16px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .home-context__dot {
  width: 9px;
  height: 9px;
  background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.page-home .hero__grid {
  position: relative;
  row-gap: clamp(26px, 4vw, 40px);
  align-items: start;
}

.page-home .hero__num {
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(84px, 23vw, 196px);
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.page-home .hero__num-fill {
  position: relative;
  z-index: 1;
  color: var(--ink-900);
}

.page-home .hero__num-stroke {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 2px var(--signal);
  transform: translate(10px, -10px);
}

.page-home .hero__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.page-home .hero__lead {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  line-height: 1.85;
  color: var(--ink-700);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__facts li {
  position: relative;
  padding-left: 15px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-700);
}

.page-home .hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--steppe);
}

.page-home .version-card {
  position: relative;
  min-height: 400px;
  padding: clamp(20px, 3.4vw, 32px);
  background: var(--ink-900);
  color: var(--paper);
  clip-path: var(--home-cut);
  overflow: hidden;
}

.page-home .version-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1);
}

.page-home .version-card__inner {
  position: relative;
  z-index: 1;
}

.page-home .version-card__label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(251, 247, 239, 0.62);
}

.page-home .version-card__num {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
  color: var(--paper);
}

.page-home .version-card__note {
  margin: 0 0 16px;
  max-width: 22em;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.78);
}

.page-home .copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
  background: transparent;
  border: 1px solid rgba(255, 122, 26, 0.6);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.page-home .copy-chip:hover {
  background: var(--signal);
  color: var(--ink-900);
}

.page-home .hero-index {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed rgba(251, 247, 239, 0.28);
}

.page-home .hero-index ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-index a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 10px;
  font-size: 14px;
  color: rgba(251, 247, 239, 0.86);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-home .hero-index a:hover {
  color: var(--paper);
  border-left-color: var(--signal);
  background: rgba(255, 122, 26, 0.1);
}

.page-home .hero-index .mono {
  font-size: 11px;
  color: var(--signal);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  position: relative;
  padding-block: clamp(38px, 6vw, 74px);
}

.page-home .section + .section::before,
.page-home .section + .section::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
}

.page-home .section + .section::before {
  top: 0;
  border-top: var(--home-rule);
}

.page-home .section + .section::after {
  top: -3px;
  right: auto;
  width: 7px;
  height: 7px;
  background: var(--signal);
}

.page-home .section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  margin-bottom: clamp(22px, 3.4vw, 34px);
}

.page-home .section-head__title {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: clamp(23px, 3.4vw, 36px);
  line-height: 1.22;
  color: var(--ink-900);
}

.page-home .section-head__lead {
  margin: 12px 0 0;
  max-width: 56em;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-700);
}

/* ---------- 入口矩阵 ---------- */
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 0 20px;
}

.page-home .filter-btn {
  padding: 7px 15px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid rgba(15, 42, 68, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .filter-btn:hover {
  border-color: var(--signal);
}

.page-home .filter-btn[aria-pressed="true"] {
  font-weight: 600;
  background: var(--signal-soft);
  border-color: var(--signal);
  color: var(--ink-900);
}

.page-home .filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.page-home .ent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 18px);
}

.page-home .ent-card {
  position: relative;
  padding: 16px 16px 22px;
  background: #fff;
  border: 1px solid rgba(15, 42, 68, 0.14);
  clip-path: var(--home-cut);
  overflow: hidden;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .ent-card:hover {
  background: var(--signal-soft);
  border-color: var(--signal);
  transform: translateY(-2px);
}

.page-home .ent-card[hidden] {
  display: none;
}

.page-home .ent-card__batch {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steppe);
}

.page-home .ent-card__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-900);
}

.page-home .ent-card__type {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink-700);
}

.page-home .ent-card__br {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}

.page-home .ent-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--signal);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-home .ent-card:hover .ent-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.page-home .ent-card--feature {
  padding: 0;
  background: var(--ink-900);
  border-color: var(--ink-900);
}

.page-home .ent-card--feature:hover {
  background: var(--ink-700);
  border-color: var(--signal);
}

.page-home .ent-card__img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.page-home .ent-card__body {
  padding: 16px 18px 24px;
}

.page-home .ent-card--feature .ent-card__name,
.page-home .ent-card--feature .ent-card__type,
.page-home .ent-card--feature .ent-card__batch,
.page-home .ent-card--feature .ent-card__br {
  color: var(--paper);
}

.page-home .ent-card--feature .ent-card__batch,
.page-home .ent-card--feature .ent-card__br {
  color: rgba(251, 247, 239, 0.7);
}

.page-home .entrances__more {
  margin: clamp(22px, 3vw, 34px) 0 0;
}

/* ---------- 栏目批次 ---------- */
.page-home .col-layout {
  row-gap: clamp(22px, 3vw, 34px);
}

.page-home .col-aside__inner {
  padding: 22px 22px 24px;
}

.page-home .col-aside__inner .btn {
  margin-top: 16px;
}

.page-home .col-aside__tag {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--steppe);
}

.page-home .col-aside__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-home .col-aside__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-700);
}

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

.page-home .col-item {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-bottom: var(--home-rule);
}

.page-home .col-item:first-child {
  border-top: var(--home-rule);
}

.page-home .col-item__batch {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--brick);
}

.page-home .col-item__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.page-home .col-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
}

/* ---------- 功能岛 ---------- */
.page-home .islands__map {
  display: block;
  width: 100%;
  height: clamp(110px, 18vw, 190px);
  margin-bottom: clamp(18px, 3vw, 28px);
  object-fit: cover;
  clip-path: var(--home-cut-b);
}

.page-home .islands {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 18px);
}

.page-home .island {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 186px;
  padding: 20px 20px 22px;
  text-decoration: none;
  clip-path: var(--home-cut-b);
  transition: transform 0.24s var(--ease), filter 0.24s var(--ease);
}

.page-home .island:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.page-home .island__num {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.page-home .island__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.page-home .island__text {
  margin: 0;
  flex: 1;
  font-size: 13.6px;
  line-height: 1.75;
}

.page-home .island__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .island--a {
  background: var(--ink-900);
  color: var(--paper);
}

.page-home .island--a .island__go {
  color: var(--signal);
}

.page-home .island--b {
  background: var(--signal);
  color: var(--ink-900);
}

.page-home .island--b .island__go {
  color: var(--ink-900);
}

.page-home .island--c {
  background: var(--steppe);
  color: #fff;
}

.page-home .island--c .island__go {
  color: var(--steppe-soft);
}

.page-home .island--d {
  background: var(--mist);
  color: var(--ink-900);
}

.page-home .island--d .island__go {
  color: var(--brick);
}

/* ---------- 回访路径 ---------- */
.page-home .steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .step {
  position: relative;
  padding: 18px 18px 22px;
  background: var(--mist);
  clip-path: var(--home-cut);
}

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

.page-home .step h3 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
}

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

/* ---------- 信任条 ---------- */
.page-home .trust {
  background: var(--ink-900);
  color: var(--paper);
}

.page-home .trust__sky {
  display: block;
  width: 100%;
  height: clamp(108px, 20vw, 200px);
  object-fit: cover;
  opacity: 0.9;
}

.page-home .trust__body {
  padding-block: clamp(28px, 5vw, 52px) clamp(36px, 6vw, 64px);
}

.page-home .trust h2 {
  margin: 0 0 12px;
  font-family: var(--font-editorial);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  color: var(--paper);
}

.page-home .trust__lead {
  margin: 0 0 24px;
  max-width: 52em;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(251, 247, 239, 0.78);
}

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

.page-home .legend__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(251, 247, 239, 0.16);
}

.page-home .legend__key {
  width: 9px;
  height: 9px;
  background: var(--steppe);
  flex: none;
}

.page-home .legend__label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--signal);
}

.page-home .legend__value {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.9);
}

.page-home .legend__value a {
  color: var(--signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, 0.45);
}

.page-home .legend__value a:hover {
  color: var(--signal-soft);
}

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

  .page-home .col-item {
    grid-template-columns: 88px 1fr;
    gap: 6px 18px;
    align-items: start;
  }

  .page-home .legend {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
  }
}

@media (min-width: 760px) {
  .page-home .islands {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 820px) {
  .page-home .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .step + .step::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 30px;
    width: 16px;
    border-top: 1px dashed var(--signal);
  }
}

@media (min-width: 980px) {
  .page-home .ent-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .ent-card--feature {
    grid-column: span 2;
  }

  .page-home .ent-card--feature .ent-card__img {
    height: 200px;
  }

  .page-home .col-aside__inner {
    position: sticky;
    top: 96px;
  }
}

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

  .page-home .version-card {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ent-card,
  .page-home .island,
  .page-home .ent-card__arrow,
  .page-home .copy-chip,
  .page-home .filter-btn {
    transition: none;
  }

  .page-home .ent-card:hover,
  .page-home .island:hover {
    transform: none;
  }
}

.placeholder { display: none; }
