.page-home{
  --home-line: rgba(201,164,92,.45);
  --home-line-soft: rgba(201,164,92,.26);
  --home-cream-70: rgba(246,241,230,.78);
  --home-cream-55: rgba(246,241,230,.58);
  background: var(--cream);
  color: var(--char);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(28px,5vw,56px) 0 clamp(34px,5vw,62px);
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(31,90,75,.9) 0%, rgba(14,42,36,0) 62%),
    var(--ink-deep);
  color: var(--cream);
}
.page-home .home-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .6;
}
.page-home .home-hero__inner{
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px,4vw,42px);
}
.page-home .home-context{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--home-cream-55);
}
.page-home .home-context__dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(178,69,46,.24);
}
.page-home .home-context__sep{
  color: var(--gold);
}
.page-home .home-hero__tag{
  display: inline-block;
  margin-top: clamp(16px,2.4vw,24px);
}
.page-home .home-hero h1{
  margin: clamp(14px,2vw,20px) 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(29px,5.4vw,50px);
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--cream);
}
.page-home .home-hero__lede{
  margin: clamp(16px,2vw,22px) 0 0;
  max-width: 34em;
  font-size: clamp(15px,1.5vw,17px);
  line-height: 1.85;
  color: var(--home-cream-70);
}
.page-home .home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px,3vw,30px);
}
.page-home .home-hero__quick{
  list-style: none;
  margin: clamp(20px,3vw,28px) 0 0;
  padding: clamp(16px,2.4vw,20px) 0 0;
  border-top: 1px solid var(--home-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
}
.page-home .home-hero__quick a{
  color: var(--gold-soft);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.page-home .home-hero__quick a:hover,
.page-home .home-hero__quick a:focus-visible{
  color: var(--cream);
  border-bottom-color: var(--gold);
}
.page-home .home-hero__visual{
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--home-line);
  background: var(--jade);
}
.page-home .home-hero__visual img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}
.page-home .home-hero__visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,36,.1) 0%, rgba(14,42,36,.74) 100%);
  pointer-events: none;
}
.page-home .home-visual__grille{
  position: absolute;
  top: 14px;
  right: 14px;
  width: clamp(64px,9vw,104px);
  height: auto;
  color: var(--gold-soft);
  opacity: .45;
  z-index: 1;
}
.page-home .home-visual__panel{
  position: absolute;
  left: clamp(14px,2vw,22px);
  right: clamp(14px,2vw,22px);
  bottom: clamp(14px,2vw,22px);
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,164,92,.5);
  background: rgba(14,42,36,.8);
  color: var(--cream);
}
.page-home .home-visual__panel .panel-k{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold-soft);
}
.page-home .home-visual__panel .panel-v{
  font-family: var(--font-mono);
  font-size: 15px;
  margin-bottom: 4px;
}

/* ---------- 主体布局 ---------- */
.page-home .home-body{
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(34px,5vw,68px) var(--gutter) clamp(40px,6vw,80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px,3.5vw,44px);
}
.page-home .home-index__title{
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--sage);
}
.page-home .home-index .section-index{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.page-home .home-index .section-index__link{
  display: block;
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--home-line-soft);
  background: transparent;
  color: var(--ink-deep);
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.page-home .home-index .section-index__link:hover,
.page-home .home-index .section-index__link:focus-visible{
  border-color: var(--gold);
  background: rgba(201,164,92,.14);
}
.page-home .home-index .section-index__link.is-active,
.page-home .home-index .section-index__link[aria-current="true"]{
  border-color: var(--gold);
  background: var(--paper);
  color: var(--ink-deep);
  font-weight: 600;
}
.page-home .home-flow{
  min-width: 0;
}
.page-home .home-sec{
  scroll-margin-top: calc(var(--header-offset) + 24px);
}
.page-home .home-sec + .home-sec{
  margin-top: clamp(44px,7vw,86px);
}
.page-home .home-sec .section-head{
  margin-bottom: clamp(16px,2.4vw,24px);
}
.page-home .section-head__num{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--cinnabar);
}
.page-home .home-sec .section-title{
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px,3vw,32px);
  line-height: 1.32;
  color: var(--ink-deep);
}
.page-home .home-sec__lede{
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--char);
  opacity: .84;
}
.page-home .inline-link{
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid rgba(178,69,46,.4);
  padding-bottom: 1px;
}
.page-home .inline-link:hover,
.page-home .inline-link:focus-visible{
  border-bottom-color: var(--cinnabar);
}

/* ---------- 目录地图 ---------- */
.page-home .home-map__figure{
  margin: clamp(18px,2.6vw,26px) 0 0;
}
.page-home .map-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(16px,2.4vw,22px);
}
.page-home .map-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px,2.4vw,26px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,164,92,.42);
  background: var(--paper);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.page-home .map-card:hover{
  border-color: var(--gold);
  transform: translateY(-2px);
}
.page-home .map-card h3{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px,2.1vw,22px);
  line-height: 1.42;
  color: var(--ink-deep);
}
.page-home .map-card p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--char);
  opacity: .84;
}
.page-home .map-card__link{
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cinnabar);
  text-decoration: none;
}
.page-home .map-card__link::after{
  content: "→";
  transition: transform .18s var(--ease);
}
.page-home .map-card__link:hover::after,
.page-home .map-card__link:focus-visible::after{
  transform: translateX(3px);
}
.page-home .map-card--ink{
  background: linear-gradient(148deg, var(--ink-nav) 0%, var(--ink-deep) 100%);
  border-color: var(--home-line);
}
.page-home .map-card--ink h3{
  color: var(--cream);
}
.page-home .map-card--ink p{
  color: var(--home-cream-70);
  opacity: 1;
}
.page-home .map-card--ink .map-card__link{
  color: var(--gold-soft);
}

/* ---------- 两栏路径 ---------- */
.page-home .paths-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .path-card{
  padding: clamp(18px,2.4vw,26px);
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.page-home .path-card--alt{
  border-left-color: var(--cinnabar);
}
.page-home .path-card__col{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cinnabar);
}
.page-home .path-card h3{
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px,2.3vw,25px);
  color: var(--ink-deep);
}
.page-home .path-card__list{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.page-home .path-card__list li{
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--char);
}
.page-home .path-card__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.page-home .path-card--alt .path-card__list li::before{
  background: var(--cinnabar);
}
.page-home .path-card__note{
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(201,164,92,.55);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--sage);
}
.page-home .home-paths__figure{
  margin: clamp(18px,2.6vw,26px) 0 0;
}

/* ---------- 浏览器适配 ---------- */
.page-home .browser-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px,3vw,34px);
  align-items: start;
}
.page-home .home-browser__figure{
  margin: 0;
}
.page-home .browser-list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .browser-list li{
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--char);
}
.page-home .browser-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.page-home .browser-list strong{
  display: block;
  font-size: 15px;
  color: var(--ink-deep);
  margin-bottom: 2px;
}
.page-home .fold{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--home-line-soft);
}
.page-home .fold summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.page-home .fold summary::-webkit-details-marker{
  display: none;
}
.page-home .fold summary::after{
  content: "+";
  font-family: var(--font-mono);
  color: var(--cinnabar);
  font-size: 16px;
  line-height: 1;
}
.page-home .fold[open] summary::after{
  content: "–";
}
.page-home .fold p{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--sage);
}

/* ---------- 版本与节奏 ---------- */
.page-home .version-band{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background: var(--ink-nav);
  color: var(--cream);
  border: 1px solid rgba(201,164,92,.4);
}
.page-home .version-band__num{
  font-family: var(--font-mono);
  font-size: clamp(17px,2vw,21px);
  color: var(--gold-soft);
  letter-spacing: .04em;
}
.page-home .version-band__note{
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-cream-70);
}
.page-home .quarter-line{
  list-style: none;
  margin: clamp(20px,3vw,28px) 0 0;
  padding: 0 0 0 4px;
}
.page-home .quarter-line li{
  position: relative;
  padding: 0 0 22px 26px;
  border-left: 1px solid var(--home-line);
}
.page-home .quarter-line li:last-child{
  padding-bottom: 0;
  border-left-color: transparent;
}
.page-home .quarter-line li::before{
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--cream);
}
.page-home .quarter-line__k{
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-deep);
}
.page-home .quarter-line p{
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--char);
  opacity: .84;
}
.page-home .version-tail{
  margin-top: clamp(18px,2.6vw,24px);
}

/* ---------- 城市与合作 ---------- */
.page-home .city-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .city-panel{
  padding: clamp(20px,2.6vw,28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--home-line);
  background: linear-gradient(160deg, var(--jade) 0%, var(--ink-deep) 100%);
  color: var(--cream);
}
.page-home .city-panel h3{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px,2.2vw,24px);
  color: var(--cream);
}
.page-home .city-panel p{
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--home-cream-70);
}
.page-home .city-stats{
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 12px;
}
.page-home .city-stat{
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(246,241,230,.08);
  border: 1px solid rgba(201,164,92,.3);
}
.page-home .city-stat dt{
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold-soft);
  font-family: var(--font-mono);
}
.page-home .city-stat dd{
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(22px,2.8vw,28px);
  line-height: 1.1;
  color: var(--cream);
}
.page-home .city-stat dd span{
  font-size: 12px;
  margin-left: 4px;
  color: var(--home-cream-55);
}
.page-home .city-panel__note{
  font-size: 13px;
  line-height: 1.78;
  color: var(--home-cream-55);
}
.page-home .city-coop{
  padding: clamp(20px,2.6vw,28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,164,92,.42);
  background: var(--paper);
}
.page-home .city-coop h3{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px,2.2vw,24px);
  color: var(--ink-deep);
}
.page-home .coop-list{
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .coop-list li{
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,164,92,.32);
}
.page-home .coop-list li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}
.page-home .coop-list__num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cinnabar);
  padding-top: 3px;
}
.page-home .coop-list__name{
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.page-home .coop-list li p{
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--char);
  opacity: .82;
}
.page-home .coop-list li p.coop-list__name{
  opacity: 1;
}
.page-home .city-coop__note{
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(201,164,92,.55);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--sage);
}
.page-home .home-cta{
  margin-top: clamp(20px,3vw,30px);
  padding: clamp(20px,3vw,32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  background: linear-gradient(140deg, rgba(232,213,168,.55) 0%, rgba(246,241,230,.9) 60%);
  display: grid;
  gap: 16px;
}
.page-home .home-cta__text{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px,2.1vw,21px);
  line-height: 1.6;
  color: var(--ink-deep);
}
.page-home .home-cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px){
  .page-home .paths-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .page-home .map-grid{
    grid-template-columns: repeat(6, minmax(0,1fr));
  }
  .page-home .map-card{
    grid-column: span 2;
  }
  .page-home .map-card--wide{
    grid-column: span 4;
  }
  .page-home .city-stats{
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

@media (min-width: 920px){
  .page-home .home-hero__inner{
    grid-template-columns: 55fr 45fr;
    align-items: stretch;
  }
  .page-home .home-hero__visual{
    min-height: 460px;
  }
  .page-home .city-grid{
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
  }
  .page-home .home-cta{
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1000px){
  .page-home .home-body{
    grid-template-columns: 210px minmax(0,1fr);
    align-items: start;
  }
  .page-home .home-index{
    position: sticky;
    top: calc(var(--header-offset) + 18px);
  }
  .page-home .home-index .section-index{
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-home .home-index .section-index__link{
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    border-color: transparent;
    border-left: 2px solid var(--home-line-soft);
    padding: 9px 12px;
    white-space: normal;
  }
  .page-home .home-index .section-index__link.is-active,
  .page-home .home-index .section-index__link[aria-current="true"]{
    border-left-color: var(--cinnabar);
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .page-home .browser-grid{
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .map-card,
  .page-home .map-card__link::after,
  .page-home .home-hero__quick a,
  .page-home .home-index .section-index__link{
    transition: none;
  }
  .page-home .map-card:hover{
    transform: none;
  }
}
