.page-home {
  --home-cut: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  --home-cut-b: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  --home-cut-c: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

/* ---------- 上下文条 ---------- */
.page-home .home-context {
  padding-top: clamp(14px, 2.4vw, 22px);
}

.page-home .home-context__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--text-soft);
  font-family: var(--font-mono);
}

.page-home .home-context__sep {
  color: var(--stone);
}

.page-home .home-context .region-chip {
  font-family: var(--font-body);
}

/* ---------- 首屏分屏 ---------- */
.page-home .hero {
  display: grid;
  gap: clamp(26px, 4.5vw, 52px);
  align-items: center;
  padding-block: clamp(26px, 5vw, 60px) clamp(30px, 5vw, 64px);
}

.page-home .hero__copy .display-title {
  margin-block: 10px 18px;
  max-width: 16em;
  text-wrap: balance;
}

.page-home .hero__copy .lede {
  max-width: 46ch;
}

.page-home .hero__actions {
  margin-top: clamp(20px, 3vw, 30px);
  gap: 12px;
}

.page-home .hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.page-home .hero__quick a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

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

.page-home .hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px 42px 6px 42px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(255, 106, 26, .2), transparent 58%),
    linear-gradient(160deg, var(--night), var(--deep) 70%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.page-home .hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  mix-blend-mode: luminosity;
}

.page-home .hero__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 6%;
  z-index: 1;
}

.page-home .hero__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(11, 27, 43, .82);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.page-home .hero__badge .num {
  font-size: 22px;
  color: var(--orange);
  line-height: 1;
}

.page-home .hero__badge-text {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- 章节头 ---------- */
.page-home .section-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .section-head h2 {
  margin-block: 8px 12px;
}

/* ---------- 入口矩阵 ---------- */
.page-home .entries-band {
  position: relative;
  display: grid;
  gap: 0;
  margin-bottom: clamp(18px, 3vw, 28px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--carbon);
}

.page-home .entries-band img {
  display: block;
  width: 100%;
  height: clamp(120px, 22vw, 180px);
  object-fit: cover;
  opacity: .55;
}

.page-home .entries-band__note {
  margin: 0;
  padding: 12px clamp(14px, 2.5vw, 20px);
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(46, 214, 198, .09), transparent 62%);
}

.page-home .entries {
  display: grid;
  gap: 18px;
}

.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(155deg, var(--night), var(--deep));
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease);
  will-change: transform;
}

.page-home .entry__index {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--stone);
}

.page-home .entry__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.page-home .entry__desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-home .entry__go {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  opacity: .75;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-home .entry:hover .entry__go,
.page-home .entry:focus-visible .entry__go {
  opacity: 1;
  transform: translateX(4px);
}

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

.page-home .entry--a {
  clip-path: var(--home-cut);
  border-left: 3px solid var(--orange);
}

.page-home .entry--b {
  border-radius: 40px 6px 40px 6px;
  background: linear-gradient(200deg, rgba(46, 214, 198, .13), var(--deep) 62%);
  border-color: rgba(46, 214, 198, .3);
}

.page-home .entry--c {
  clip-path: var(--home-cut-c);
  background: linear-gradient(150deg, var(--carbon), var(--deep) 70%);
}

.page-home .entry--d {
  border-radius: 6px 6px 6px 6px;
  box-shadow: -10px -10px 0 -1px rgba(179, 106, 76, .32);
  background: linear-gradient(140deg, rgba(179, 106, 76, .2), var(--deep) 68%);
}

/* ---------- 数据面板 ---------- */
.page-home .stats-panel {
  padding: clamp(22px, 4vw, 40px);
}

.page-home .stats-panel__head {
  max-width: 54ch;
  margin-bottom: clamp(22px, 3.5vw, 34px);
}

.page-home .stats-panel__head h2 {
  margin-block: 8px 10px;
}

.page-home .stats {
  display: grid;
  gap: 18px;
}

.page-home .stat {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 16px 0 14px;
  border-top: 1px solid var(--line);
}

.page-home .stat__label {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--stone);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.page-home .stat__num {
  font-size: clamp(32px, 5.4vw, 46px);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -.02em;
}

.page-home .stat__unit {
  font-size: 13px;
  color: var(--text-soft);
}

.page-home .stat__note {
  margin: 6px 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.page-home .stat__gauge {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--clay) 38%, var(--cyan) 74%, rgba(46, 214, 198, .12) 100%);
  transform-origin: left center;
  transform: scaleX(.28);
  transition: transform .9s var(--ease);
}

.page-home .stat:nth-child(2) .stat__gauge { transform: scaleX(.4); }
.page-home .stat:nth-child(3) .stat__gauge { transform: scaleX(.56); }
.page-home .stat:nth-child(4) .stat__gauge { transform: scaleX(.7); }

.page-home .stat.is-visible .stat__gauge {
  transform: scaleX(1);
}

/* ---------- 赛前流程 ---------- */
.page-home .flow {
  display: grid;
  gap: clamp(20px, 3.4vw, 36px);
  align-items: start;
}

.page-home .flow__figure {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--carbon);
  clip-path: var(--home-cut-b);
}

.page-home .flow__figure img {
  display: block;
  width: 100%;
  height: clamp(180px, 30vw, 260px);
  object-fit: cover;
  opacity: .62;
}

.page-home .flow__body h2 {
  margin-block: 8px 18px;
}

.page-home .steps {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: none;
}

.page-home .step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.page-home .step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 26, .55);
  color: var(--orange);
  font-size: 14px;
  line-height: 1;
}

.page-home .step__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-family: var(--font-display);
  letter-spacing: -.005em;
}

.page-home .step__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-dim);
}

/* ---------- 服务地区 ---------- */
.page-home .area {
  display: grid;
  gap: clamp(22px, 3.6vw, 40px);
  padding: clamp(22px, 4vw, 40px);
  background: linear-gradient(165deg, rgba(94, 107, 79, .26), var(--deep) 58%);
  border: 1px solid var(--line);
  border-radius: 4px 4px 4px 4px;
  clip-path: var(--home-cut);
}

.page-home .area__copy h2 {
  margin-block: 8px 14px;
}

.page-home .area__lede {
  max-width: 52ch;
  margin: 0 0 clamp(18px, 3vw, 26px);
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.78;
}

.page-home .area__facts {
  display: grid;
  gap: 12px;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.page-home .fact {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(179, 106, 76, .6);
}

.page-home .fact dt {
  font-size: 12px;
  letter-spacing: .12em;
  font-family: var(--font-mono);
  color: var(--stone);
  text-transform: uppercase;
}

.page-home .fact dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text);
}

.page-home .area__actions {
  gap: 10px;
}

.page-home .area__figure {
  margin: 0;
  align-self: stretch;
  display: grid;
  gap: 10px;
}

.page-home .area__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px 28px 4px 28px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-home .area__figure figcaption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-soft);
  font-family: var(--font-mono);
}

/* ---------- 收束 ---------- */
.page-home .closer {
  position: relative;
  padding: clamp(26px, 4.5vw, 48px) clamp(20px, 4vw, 44px);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(255, 106, 26, .22), transparent 58%),
    linear-gradient(150deg, var(--night), var(--deep));
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .closer h2 {
  margin-block: 8px 12px;
  max-width: 20em;
}

.page-home .closer__lede {
  max-width: 52ch;
  margin: 0 0 clamp(20px, 3vw, 28px);
  color: var(--text-dim);
  line-height: 1.75;
}

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

.page-home .closer__hint {
  margin: clamp(20px, 3vw, 26px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-soft);
}

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

  .page-home .area__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
  }
}

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

  .page-home .entry--b {
    margin-top: 26px;
  }

  .page-home .entry--c {
    margin-top: -26px;
  }

  .page-home .flow__figure img {
    height: clamp(240px, 28vw, 340px);
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-home .hero__visual {
    aspect-ratio: 1 / 1;
    margin-right: -8px;
  }

  .page-home .flow {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: stretch;
  }

  .page-home .flow__figure img {
    height: 100%;
    min-height: 320px;
  }

  .page-home .area {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
  }

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

@media (min-width: 1180px) {
  .page-home .entry {
    padding: 30px 30px 26px;
  }

  .page-home .entries {
    gap: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry,
  .page-home .entry__go,
  .page-home .stat__gauge,
  .page-home .hero__quick a {
    transition: none;
  }

  .page-home .entry:hover,
  .page-home .entry:focus-visible {
    transform: none;
  }

  .page-home .stat__gauge,
  .page-home .stat.is-visible .stat__gauge {
    transform: scaleX(1);
  }
}
