.page-home {
  --local-muted: var(--c-muted);
  --local-line: var(--c-line);
  --local-card: #ffffff;
  --home-deep: var(--c-patina-deep);
  --home-signal: var(--c-signal);
  --home-cyan: var(--c-cyan);
  display: block;
}

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

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

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 60px;
  color: var(--c-paper);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(62, 127, 110, 0.55), transparent 62%),
    linear-gradient(160deg, var(--c-patina) 0%, var(--c-patina-deep) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(127, 216, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 216, 208, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(72% 62% at 72% 28%, #000 0%, transparent 76%);
  mask-image: radial-gradient(72% 62% at 72% 28%, #000 0%, transparent 76%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-signal), var(--c-cyan));
}

.page-home .home-hero__crumbs {
  position: relative;
  z-index: 2;
  margin-bottom: 26px;
}

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

.page-home .home-hero__crumbs li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(127, 216, 208, 0.85);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .home-hero__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(127, 216, 208, 0.75);
}

.page-home .home-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
}

.page-home .home-hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.6rem, 12vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--c-paper);
}

.page-home .home-hero__lede {
  max-width: 36em;
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(244, 241, 232, 0.82);
}

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

.page-home .home-hero .btn--outline {
  color: var(--c-cyan);
  border-color: rgba(127, 216, 208, 0.5);
  background: transparent;
}

.page-home .home-hero__aside {
  display: grid;
  gap: 16px;
}

.page-home .home-hero__figure {
  margin: 0;
  border: 1px solid rgba(127, 216, 208, 0.24);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(244, 241, 232, 0.05);
}

.page-home .home-hero__code {
  padding: 18px 20px;
  border: 1px solid rgba(127, 216, 208, 0.26);
  border-left: 4px solid var(--c-signal);
  border-radius: var(--radius-md);
  background: rgba(23, 59, 54, 0.6);
}

.page-home .home-hero__code-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(244, 241, 232, 0.6);
}

.page-home .home-hero__code-value {
  margin: 6px 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-cyan);
}

.page-home .home-hero__code-hint {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 241, 232, 0.72);
}

.page-home .home-hero__code-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 106, 43, 0.5);
  padding-bottom: 2px;
}

.page-home .home-hero__code-link:hover,
.page-home .home-hero__code-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

/* ---------- 三项事实 ---------- */

.page-home .home-facts {
  padding: 56px 0;
  background: var(--c-paper);
  color: var(--c-ink);
}

.page-home .home-facts__head {
  margin-bottom: 32px;
}

.page-home .home-facts__head .t-h2 {
  margin: 0 0 10px;
}

.page-home .home-facts__head .t-muted {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-muted);
}

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

.page-home .fact {
  padding: 22px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.page-home .fact__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  line-height: 1;
}

.page-home .fact__figure .t-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-patina);
  border-bottom: 4px solid var(--c-signal);
  padding-bottom: 4px;
}

.page-home .fact__unit {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-signal);
}

.page-home .fact__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.page-home .fact__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-muted);
}

/* ---------- 五类工艺 ---------- */

.page-home .home-crafts {
  padding: 56px 0;
  background: var(--c-paper-2);
  color: var(--c-ink);
}

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

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

.page-home .home-crafts__figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}

.page-home .home-crafts__figure .media-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-home .home-crafts__list .t-h2 {
  margin: 0 0 10px;
}

.page-home .home-crafts__list .lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .craft {
  border-top: 1px solid var(--c-line);
}

.page-home .craft:last-of-type {
  border-bottom: 1px solid var(--c-line);
}

.page-home .craft__summary {
  display: grid;
  grid-template-columns: 4.6em auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
}

.page-home .craft__summary::-webkit-details-marker {
  display: none;
}

.page-home .craft__summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--c-signal);
}

.page-home .craft[open] .craft__summary::after {
  content: "–";
}

.page-home .craft__no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-signal);
}

.page-home .craft__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.page-home .craft__hint {
  font-size: 13px;
  color: var(--c-muted);
}

.page-home .craft__body {
  padding: 0 4px 20px;
}

.page-home .craft__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .craft__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px !important;
}

.page-home .craft__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-patina);
}

.page-home .home-crafts__more {
  margin: 24px 0 0;
}

/* ---------- 交付分档 ---------- */

.page-home .home-tiers {
  padding: 56px 0;
  color: var(--c-paper);
  background: linear-gradient(180deg, var(--c-patina) 0%, var(--c-patina-deep) 100%);
}

.page-home .home-tiers .t-h2 {
  margin: 0 0 12px;
}

.page-home .home-tiers .lead {
  margin: 0;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 241, 232, 0.78);
}

.page-home .home-tl {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-tl__item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(127, 216, 208, 0.24);
}

.page-home .home-tl__item:first-child {
  border-top: 1px solid rgba(127, 216, 208, 0.24);
}

.page-home .home-tl__figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 8px;
}

.page-home .home-tl__figure .t-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-cyan);
}

.page-home .home-tl__unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-signal);
}

.page-home .home-tl__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}

.page-home .home-tl__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 241, 232, 0.72);
}

.page-home .home-tiers__note {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--c-signal);
  border-radius: var(--radius-sm);
  background: rgba(23, 59, 54, 0.55);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 241, 232, 0.82);
}

.page-home .home-tiers__figure {
  margin: 28px 0 0;
}

.page-home .home-tiers__figure img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(127, 216, 208, 0.22);
}

/* ---------- 区域授权 ---------- */

.page-home .home-regions {
  padding: 56px 0;
  background: var(--c-paper);
  color: var(--c-ink);
}

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

.page-home .home-regions__text .t-h2 {
  margin: 0 0 12px;
}

.page-home .home-regions__text .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .region-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .region-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-home .region-item__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 4px;
}

.page-home .region-item__code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--c-patina-2);
  border-radius: var(--radius-sm);
  color: var(--c-patina);
}

.page-home .region-item__name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.page-home .region-item__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-muted);
}

.page-home .home-regions__foot {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .home-regions__map {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.page-home .home-regions__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  white-space: nowrap;
  border: 1px solid var(--c-patina-2);
  border-radius: var(--radius-sm);
  background: var(--c-paper-2);
  color: var(--c-ink);
}

.page-home .map-node--n { left: 80%; top: 30%; }
.page-home .map-node--e { left: 75%; top: 75%; }
.page-home .map-node--s { left: 45%; top: 87.5%; }
.page-home .map-node--sw { left: 17.5%; top: 72.5%; }
.page-home .map-node--nw { left: 20%; top: 27.5%; }

.page-home .map-node--c {
  left: 50%;
  top: 50%;
  background: var(--c-patina);
  border-color: var(--c-patina);
  color: var(--c-paper);
  font-weight: 700;
}

/* ---------- 新用户路径 ---------- */

.page-home .home-start {
  padding: 56px 0;
  background: var(--c-paper-2);
  color: var(--c-ink);
}

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

.page-home .home-start__text .t-h2 {
  margin: 0 0 12px;
}

.page-home .home-start__text .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .start-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .start-step {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.page-home .start-step__no {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--c-signal);
}

.page-home .start-step .t-h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-ink);
}

.page-home .start-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-muted);
}

.page-home .home-start__note {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--c-patina-2);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-muted);
}

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

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

.page-home .home-start__figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}

.page-home .home-start__figure .media-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---------- 专栏 ---------- */

.page-home .home-column {
  padding: 56px 0;
  color: var(--c-paper);
  background: linear-gradient(170deg, var(--c-indigo) 0%, #2a2044 100%);
}

.page-home .home-column__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.page-home .home-column__intro .t-h2 {
  margin: 0 0 10px;
}

.page-home .home-column__intro .lead {
  margin: 0;
  max-width: 48em;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(244, 241, 232, 0.78);
}

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

.page-home .col-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid rgba(127, 216, 208, 0.22);
  border-radius: var(--radius-md);
  background: rgba(244, 241, 232, 0.05);
}

.page-home .col-item__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
}

.page-home .col-item .t-h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--c-paper);
}

.page-home .col-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 241, 232, 0.72);
}

.page-home .col-item__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-signal);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 106, 43, 0.5);
  align-self: flex-start;
}

.page-home .col-item__link:hover,
.page-home .col-item__link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}

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

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

  .page-home .col-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-column__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .craft__summary {
    grid-template-columns: 5em 6em 1fr auto;
    gap: 14px;
  }

  .page-home .craft__body {
    padding-left: calc(5em + 14px);
  }
}

@media (min-width: 820px) {
  .page-home .home-facts,
  .page-home .home-crafts,
  .page-home .home-tiers,
  .page-home .home-regions,
  .page-home .home-start,
  .page-home .home-column {
    padding: 78px 0;
  }

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

  .page-home .fact {
    border: 0;
    border-left: 1px solid var(--c-line);
    border-radius: 0;
    background: transparent;
    padding: 0 32px;
  }

  .page-home .fact:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .page-home .fact:last-child {
    padding-right: 0;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 30px 0 88px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 34px minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: start;
  }

  .page-home .home-hero__note {
    writing-mode: vertical-rl;
    justify-self: start;
    padding-top: 8px;
  }

  .page-home .home-hero__lede {
    font-size: 18px;
  }

  .page-home .home-crafts__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: start;
  }

  .page-home .home-crafts__figure {
    position: sticky;
    top: 120px;
  }

  .page-home .home-tl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-top: 36px;
  }

  .page-home .home-tl__item {
    position: relative;
    padding: 22px 0 0;
    border-bottom: 0;
    border-top: 3px solid rgba(127, 216, 208, 0.28);
  }

  .page-home .home-tl__item:first-child {
    border-top-color: rgba(127, 216, 208, 0.28);
  }

  .page-home .home-tl__item::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-signal);
  }

  .page-home .home-regions__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: center;
  }

  .page-home .home-regions__map {
    max-width: 420px;
  }

  .page-home .home-start__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__code-link,
  .page-home .col-item__link {
    transition: none;
  }
}
