.page-home {
  --home-cut: 10deg;
  --home-line: rgba(78, 62, 112, .62);
  --home-line-soft: rgba(78, 62, 112, .34);
  display: block;
  background: var(--c-bg);
  color: var(--c-paper);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .mono,
.page-home .home-count__num,
.page-home .home-scale__num,
.page-home .home-scale__year,
.page-home .home-path__k,
.page-home .home-sector__no,
.page-home .home-case__kicker,
.page-home .home-case__list li,
.page-home .home-contact__v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.page-home .home-eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: .26em;
  color: var(--c-gold);
}

.page-home .home-h2 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--c-paper);
}

.page-home .home-head__desc {
  margin: 0;
  max-width: 64ch;
  color: var(--c-muted);
  font-size: var(--fs-body);
}

.page-home .home-inline-link {
  color: var(--c-gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 169, 74, .55);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .home-inline-link:hover,
.page-home .home-inline-link:focus-visible {
  color: var(--c-paper);
  border-bottom-color: var(--c-gold-hi);
  outline: none;
}

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

.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4.6vw, 54px) 0 clamp(46px, 7vw, 96px);
}

.page-home .home-hero__wash {
  position: absolute;
  top: -6%;
  left: -12%;
  width: 124%;
  height: 118%;
  z-index: -2;
  background:
    radial-gradient(56% 50% at 76% 16%, rgba(217, 169, 74, .26) 0%, rgba(217, 169, 74, 0) 68%),
    radial-gradient(52% 48% at 12% 80%, rgba(47, 184, 198, .2) 0%, rgba(47, 184, 198, 0) 70%),
    radial-gradient(38% 38% at 46% 4%, rgba(232, 85, 138, .14) 0%, rgba(232, 85, 138, 0) 72%),
    linear-gradient(152deg, #241546 0%, #150B26 48%, #0B0614 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
  transform: rotate(calc(var(--home-cut) * -0.12));
  pointer-events: none;
}

.page-home .home-hero__grid-tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(167, 156, 192, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(167, 156, 192, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(158deg, #000 0%, rgba(0, 0, 0, .1) 74%);
  mask-image: linear-gradient(158deg, #000 0%, rgba(0, 0, 0, .1) 74%);
}

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

.page-home .home-hero__context {
  margin: 0 0 clamp(20px, 3vw, 34px);
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: .16em;
  color: var(--c-muted);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.page-home .home-hero__title-main {
  display: block;
  font-size: clamp(32px, 6vw, 68px);
  color: var(--c-paper);
}

.page-home .home-hero__title-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 3.2vw, 38px);
  line-height: 1.25;
  color: var(--c-gold-hi);
  text-shadow: 0 0 28px rgba(217, 169, 74, .3);
}

.page-home .home-hero__lede {
  margin: 0;
  max-width: 58ch;
  color: var(--c-muted);
  font-size: var(--fs-body);
}

.page-home .home-hero__counts {
  list-style: none;
  margin: clamp(24px, 3.4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--home-line-soft);
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-count {
  padding: 16px 16px 18px;
  background: linear-gradient(175deg, rgba(42, 26, 71, .72), rgba(21, 11, 38, .68));
}

.page-home .home-count__num {
  display: block;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold-hi);
  text-shadow: 0 0 24px rgba(243, 218, 154, .28);
}

.page-home .home-count__label {
  display: block;
  margin-top: 9px;
  font-size: var(--fs-meta);
  line-height: 1.45;
  color: var(--c-muted);
}

.page-home .home-hero__figure {
  margin: 0;
  position: relative;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--c-cabinet-2);
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .home-hero__cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 6, 20, .72);
  border: 1px solid rgba(217, 169, 74, .35);
  font-size: var(--fs-cap);
  color: var(--c-gold-hi);
  letter-spacing: .08em;
}

.page-home .home-paths {
  margin-top: clamp(32px, 4.4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .home-path {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 20px 20px 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, rgba(42, 26, 71, .74), rgba(21, 11, 38, .58));
  text-decoration: none;
  transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease;
}

.page-home .home-path:hover,
.page-home .home-path:focus-visible {
  border-color: var(--c-gold);
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -30px rgba(217, 169, 74, .75);
  outline: none;
}

.page-home .home-path__k {
  font-size: var(--fs-cap);
  letter-spacing: .2em;
  color: var(--c-teal);
}

.page-home .home-path__t {
  font-size: var(--fs-card);
  font-weight: 700;
  color: var(--c-paper);
  line-height: 1.3;
}

.page-home .home-path__d {
  font-size: var(--fs-meta);
  color: var(--c-muted);
  line-height: 1.6;
}

/* ------- 分屏骨架 ------- */

.page-home .home-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-home .home-flow {
  display: grid;
  gap: clamp(56px, 8vw, 104px);
  min-width: 0;
}

.page-home .home-rail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-rail__label {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: .26em;
  color: var(--c-muted);
}

.page-home .home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--home-line);
}

.page-home .home-rail__link {
  display: block;
  margin-left: -1px;
  padding: 9px 0 9px 16px;
  border-left: 2px solid transparent;
  font-size: var(--fs-meta);
  color: var(--c-muted);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible,
.page-home .home-rail__link.is-active,
.page-home .home-rail__link[aria-current="true"] {
  color: var(--c-gold-hi);
  border-left-color: var(--c-gold);
  outline: none;
}

.page-home .home-rail__figure {
  margin: 6px 0 0;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-rail__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

/* ------- 年份刻度 ------- */

.page-home .home-band {
  display: grid;
  gap: clamp(24px, 3.4vw, 38px);
}

.page-home .home-scale {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-scale__item {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 2px;
}

.page-home .home-scale__num {
  font-size: clamp(15px, 2.4vw, 20px);
  font-weight: 700;
  color: var(--c-teal);
}

.page-home .home-scale__bar {
  position: relative;
  display: block;
  width: 100%;
  max-width: 54px;
  height: clamp(64px, 11vw, 104px);
  border-radius: 10px 10px 3px 3px;
  background: rgba(78, 62, 112, .28);
  overflow: hidden;
}

.page-home .home-scale__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar-h, 50%);
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, var(--c-gold-hi) 0%, var(--c-gold) 58%, rgba(217, 169, 74, .3) 100%);
}

.page-home .home-scale__item:nth-child(1) .home-scale__bar { --bar-h: 56%; }
.page-home .home-scale__item:nth-child(2) .home-scale__bar { --bar-h: 78%; }
.page-home .home-scale__item:nth-child(3) .home-scale__bar { --bar-h: 89%; }
.page-home .home-scale__item:nth-child(4) .home-scale__bar { --bar-h: 100%; }
.page-home .home-scale__item:nth-child(5) .home-scale__bar { --bar-h: 89%; }

.page-home .home-scale__year {
  font-size: clamp(12px, 2.2vw, 15px);
  color: var(--c-paper);
}

.page-home .home-band__foot {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--home-line-soft);
  max-width: 68ch;
  color: var(--c-muted);
  font-size: var(--fs-meta);
}

/* ------- 方向矩阵 ------- */

.page-home .home-matrix {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-home .home-matrix__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .home-sector {
  padding: 16px 16px 18px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(172deg, rgba(42, 26, 71, .58), rgba(21, 11, 38, .5));
  transition: border-color .22s ease, transform .22s ease;
}

.page-home .home-sector:hover {
  border-color: rgba(47, 184, 198, .7);
  transform: translateY(-3px);
}

.page-home .home-sector__no {
  display: block;
  font-size: var(--fs-cap);
  letter-spacing: .18em;
  color: var(--c-gold);
}

.page-home .home-sector__name {
  margin: 8px 0 6px;
  font-size: var(--fs-card);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-paper);
}

.page-home .home-sector__size {
  margin: 0;
  font-size: var(--fs-meta);
  color: var(--c-muted);
}

.page-home .home-sector__size .mono {
  color: var(--c-teal);
  font-size: calc(var(--fs-meta) + 1px);
}

.page-home .home-sector__bar {
  display: block;
  margin-top: 14px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(78, 62, 112, .5);
  overflow: hidden;
}

.page-home .home-sector__bar > i {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-teal), var(--c-gold));
}

.page-home .home-sector:nth-child(1) .home-sector__bar > i { width: 48%; }
.page-home .home-sector:nth-child(2) .home-sector__bar > i { width: 29%; }
.page-home .home-sector:nth-child(3) .home-sector__bar > i { width: 36%; }
.page-home .home-sector:nth-child(4) .home-sector__bar > i { width: 17%; }
.page-home .home-sector:nth-child(5) .home-sector__bar > i { width: 60%; }
.page-home .home-sector:nth-child(6) .home-sector__bar > i { width: 100%; }
.page-home .home-sector:nth-child(7) .home-sector__bar > i { width: 54%; }
.page-home .home-sector:nth-child(8) .home-sector__bar > i { width: 23%; }
.page-home .home-sector:nth-child(9) .home-sector__bar > i { width: 34%; }

.page-home .home-matrix__figure {
  margin: 0;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-cabinet-2);
}

.page-home .home-matrix__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-matrix__cap {
  padding: 10px 16px 12px;
  border-top: 1px solid var(--home-line-soft);
  font-size: var(--fs-cap);
  color: var(--c-muted);
  letter-spacing: .06em;
}

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

/* ------- 案例并置 ------- */

.page-home .home-cases {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

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

.page-home .home-case {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(164deg, rgba(42, 26, 71, .72), rgba(11, 6, 20, .6));
}

.page-home .home-case--offset {
  border-color: rgba(232, 85, 138, .34);
}

.page-home .home-case__kicker {
  margin: 0;
  font-size: var(--fs-cap);
  letter-spacing: .22em;
  color: var(--c-rose);
}

.page-home .home-case--offset .home-case__kicker {
  color: var(--c-teal);
}

.page-home .home-case__title {
  margin: 10px 0 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-paper);
}

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

.page-home .home-case__list li {
  display: grid;
  place-items: center;
  padding: 12px 0;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  font-size: var(--fs-meta);
  color: var(--c-muted);
  background: rgba(11, 6, 20, .42);
}

.page-home .home-case__note {
  margin: 16px 0 0;
  font-size: var(--fs-meta);
  color: var(--c-muted);
}

/* ------- 反馈节奏 ------- */

.page-home .home-feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-home .home-feedback__figure {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(70% 70% at 50% 45%, rgba(47, 184, 198, .18), rgba(11, 6, 20, .9));
}

.page-home .home-feedback__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .home-feedback__desc {
  margin: 0 0 22px;
  max-width: 62ch;
  color: var(--c-muted);
  font-size: var(--fs-body);
}

.page-home .home-feedback__steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--home-line-soft);
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-feedback__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: rgba(21, 11, 38, .78);
  font-size: var(--fs-meta);
  color: var(--c-paper);
}

.page-home .home-feedback__steps .mono {
  color: var(--c-gold);
  letter-spacing: .14em;
}

/* ------- 归档规则 ------- */

.page-home .home-rules {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-home .home-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  counter-reset: rule;
}

.page-home .home-rules__list li {
  counter-increment: rule;
  position: relative;
  padding: 18px 20px 18px 58px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(172deg, rgba(42, 26, 71, .52), rgba(21, 11, 38, .42));
  font-size: var(--fs-meta);
  line-height: 1.75;
  color: var(--c-paper);
}

.page-home .home-rules__list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  font-family: var(--mono);
  font-size: var(--fs-meta);
  color: var(--c-gold);
  letter-spacing: .06em;
}

.page-home .home-rules__list .mono {
  color: var(--c-teal);
}

/* ------- 联系与提交 ------- */

.page-home .home-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 44px);
  padding: clamp(24px, 3.6vw, 46px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 86% 6%, rgba(217, 169, 74, .15), rgba(217, 169, 74, 0) 62%),
    radial-gradient(90% 110% at 4% 96%, rgba(232, 85, 138, .1), rgba(232, 85, 138, 0) 66%),
    linear-gradient(160deg, #22143B 0%, #150B26 72%);
  box-shadow: var(--shadow-card);
}

.page-home .home-contact__text {
  margin: 0 0 14px;
  max-width: 60ch;
  color: var(--c-muted);
  font-size: var(--fs-body);
}

.page-home .home-contact__aside {
  margin: 0;
  font-size: var(--fs-meta);
  color: var(--c-muted);
}

.page-home .home-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .home-contact__list li {
  padding: 16px 18px;
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-md);
  background: rgba(11, 6, 20, .54);
}

.page-home .home-contact__k {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-cap);
  letter-spacing: .22em;
  color: var(--c-muted);
}

.page-home .home-contact__v {
  display: block;
  margin-top: 7px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-paper);
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

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

  .page-home .home-rules__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

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

  .page-home .home-case--offset {
    margin-top: 36px;
  }

  .page-home .home-feedback__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(36px, 4.4vw, 64px);
  }

  .page-home .home-hero__figure {
    transform: translateY(-16px) rotate(-1deg);
  }

  .page-home .home-contact__panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .home-frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: clamp(36px, 4vw, 68px);
    align-items: start;
  }

  .page-home .home-rail {
    position: sticky;
    top: calc(var(--header-h) + 22px);
    max-height: calc(100vh - var(--header-h) - 44px);
    overflow-y: auto;
    padding-right: 4px;
  }
}

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

  .page-home .home-path:nth-child(even) {
    margin-top: 18px;
  }

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

@media (max-width: 999px) {
  .page-home .home-rail__figure img {
    max-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-path,
  .page-home .home-sector,
  .page-home .home-hero__figure {
    transition: none;
    transform: none;
  }

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