.page-home{
  --home-edge: rgba(201,162,39,.28);
  --home-edge-strong: rgba(241,210,122,.5);
  --home-blue-deep: #2E5771;
  --home-grain: rgba(20,16,26,.9);
  background: var(--ink-purple);
  color: var(--on-dark);
}

.page-home h1,
.page-home h2,
.page-home h3{
  font-family: var(--serif);
  letter-spacing: .03em;
  line-height: 1.2;
}

/* ---------- 首屏门廊 ---------- */
.page-home .home-hero{
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(40px, 7vw, 84px);
  background:
    radial-gradient(62% 52% at 86% 4%, rgba(201,162,39,.18), rgba(43,27,61,0) 62%),
    linear-gradient(176deg, var(--night) 0%, var(--ink-purple) 48%, var(--ink-purple) 100%);
}
.page-home .home-hero::before{
  content: "";
  position: absolute;
  top: -10vw;
  right: -14vw;
  width: 66vw;
  height: 66vw;
  max-width: 740px;
  max-height: 740px;
  background: linear-gradient(148deg, rgba(62,107,138,.36), rgba(20,16,26,0) 68%);
  clip-path: polygon(46% 0, 100% 16%, 100% 100%, 0 76%);
  pointer-events: none;
}
.page-home .home-crumb{
  position: relative;
  z-index: 1;
  padding: clamp(14px, 2.4vw, 22px) 0 0;
}
.page-home .home-crumb__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.page-home .home-crumb__home{ color: rgba(237,230,218,.58); }
.page-home .home-crumb__sep{ color: var(--gold); }
.page-home .home-crumb__cur{ color: var(--gold-hi); }

.page-home .home-hero__grid{
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  align-items: center;
  padding-top: clamp(24px, 4vw, 44px);
}
.page-home .home-hero .eyebrow{
  color: var(--gold-hi);
  margin: 0 0 12px;
}
.page-home .home-hero__copy h1{
  margin: 0 0 18px;
  font-size: clamp(31px, 7vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: #F8F3E8;
  text-wrap: balance;
}
.page-home .home-hero__lead{
  margin: 0 0 26px;
  max-width: 52ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.92;
  color: rgba(237,230,218,.82);
}
.page-home .home-hero__acts{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.page-home .home-hero__acts .btn{
  font-size: 14px;
  padding: 12px 22px;
  letter-spacing: .04em;
}
.page-home .home-hero__hint{
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .09em;
  color: rgba(237,230,218,.55);
}
.page-home .home-hero__art{
  position: relative;
  margin: 0;
}
.page-home .home-hero__art img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--night);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 13%);
}
.page-home .home-hero__art::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 13%);
  box-shadow:
    inset 0 0 0 1px var(--home-edge-strong),
    inset 0 -70px 90px -50px var(--home-grain);
}

/* ---------- 章节索引条 ---------- */
.page-home .home-rail{
  position: sticky;
  top: var(--bar-h);
  z-index: 5;
  background: rgba(20,16,26,.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--home-edge);
  border-bottom: 1px solid var(--home-edge);
}
.page-home .home-rail__inner{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-home .home-rail__inner::-webkit-scrollbar{ display: none; }
.page-home .home-rail__readout{
  margin: 0;
  flex: 0 0 auto;
  padding-right: 13px;
  border-right: 1px solid var(--home-edge);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gold);
  white-space: nowrap;
}
.page-home .home-rail__list{
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}
.page-home .home-rail__link{
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(237,230,218,.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.page-home .home-rail__link:hover,
.page-home .home-rail__link:focus-visible{
  color: var(--gold-hi);
  border-color: var(--home-edge-strong);
  background: rgba(201,162,39,.1);
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec{
  position: relative;
  padding: clamp(46px, 7vw, 90px) 0;
}
.page-home .home-sec--night{
  background: var(--ink-purple);
  color: var(--on-dark);
}
.page-home .home-sec--paper{
  background: var(--paper);
  color: var(--on-light);
}
.page-home .home-sec--sand{
  background: var(--sand);
  color: var(--on-light);
}

.page-home .home-head{
  max-width: 66ch;
  margin-bottom: clamp(24px, 4vw, 42px);
}
.page-home .home-head--tight{ margin-bottom: 22px; }
.page-home .home-head__num{
  display: inline-block;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--home-edge);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
}
.page-home .home-head__title{
  margin: 0 0 14px;
  font-size: clamp(24px, 4.2vw, 38px);
  font-weight: 800;
}
.page-home .home-head__lead{
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.86;
  color: rgba(237,230,218,.78);
}
.page-home .home-sec--paper .home-head__lead,
.page-home .home-sec--sand .home-head__lead{
  color: rgba(36,22,49,.76);
}
.page-home .home-sec--paper .home-head__num,
.page-home .home-sec--sand .home-head__num{
  border-bottom-color: rgba(201,162,39,.55);
  color: #96760F;
}

/* ---------- 双入口 ---------- */
.page-home .home-split{
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.page-home .home-entries{
  display: grid;
  gap: 16px;
}
.page-home .home-entry{
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(201,162,39,.22);
  border-radius: 10px;
  background: linear-gradient(158deg, rgba(232,213,181,.09), rgba(20,16,26,.22));
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.page-home .home-entry:hover,
.page-home .home-entry:focus-within{
  transform: translateY(-2px);
  border-color: var(--home-edge-strong);
  box-shadow: 0 14px 28px -20px rgba(0,0,0,.9);
}
.page-home .home-entry h3{
  margin: 14px 0 10px;
  font-size: clamp(19px, 2.4vw, 23px);
  color: #F6F1E6;
}
.page-home .home-entry p{
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.86;
  color: rgba(237,230,218,.78);
}
.page-home .home-tag{
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11.5px;
  letter-spacing: .08em;
  border: 1px solid transparent;
}
.page-home .home-tag--gold{
  color: #2B1B3D;
  background: rgba(201,162,39,.9);
  border-color: rgba(241,210,122,.8);
}
.page-home .home-tag--blue{
  color: #EAF1F6;
  background: var(--stone-blue);
  border-color: rgba(62,107,138,.9);
}
.page-home .home-entry__link{
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--gold-hi);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--home-edge-strong);
  transition: color var(--ease), border-color var(--ease);
}
.page-home .home-entry__link:hover,
.page-home .home-entry__link:focus-visible{
  color: #FFF6DA;
  border-bottom-color: #FFF6DA;
}
.page-home .home-entry__link--dark{
  color: var(--home-blue-deep);
  border-bottom-color: rgba(46,87,113,.6);
}
.page-home .home-entry__link--dark:hover,
.page-home .home-entry__link--dark:focus-visible{
  color: #1B3A4F;
  border-bottom-color: #1B3A4F;
}

/* ---------- 图片 ---------- */
.page-home .home-figure{
  position: relative;
  margin: 0;
}
.page-home .home-figure img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(.94) contrast(1.03);
}
.page-home .home-figure::after{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: auto;
  bottom: 34px;
  border-radius: 10px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(201,162,39,.32),
    inset 0 -60px 80px -52px rgba(20,16,26,.85);
}
.page-home .home-figure figcaption{
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: rgba(237,230,218,.5);
}
.page-home .home-sec--paper .home-figure figcaption,
.page-home .home-sec--sand .home-figure figcaption{
  color: rgba(36,22,49,.58);
}
.page-home .home-figure--wide{ margin-top: clamp(24px, 4vw, 40px); }
.page-home .home-figure--wide img{ aspect-ratio: 10 / 7; }
.page-home .home-figure--tall img{ aspect-ratio: 3 / 4; }

/* ---------- 归档卡片 ---------- */
.page-home .home-cards{
  display: grid;
  gap: 16px;
}
.page-home .home-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2.6vw, 22px);
  border: 1px solid rgba(201,162,39,.55);
  border-radius: 10px;
  background: var(--sand);
  color: var(--on-light);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.page-home .home-card:hover,
.page-home .home-card:focus-within{
  transform: translateY(-2px);
  border-color: #B98F1B;
  box-shadow: 0 16px 30px -22px rgba(43,27,61,.9);
}
.page-home .home-card__top{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.page-home .home-card__batch{
  padding: 3px 8px;
  border: 1px solid rgba(201,162,39,.6);
  border-radius: 5px;
  background: rgba(201,162,39,.24);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink-purple);
}
.page-home .home-card__time{
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--home-blue-deep);
  white-space: nowrap;
}
.page-home .home-card__title{
  margin: 0;
  font-size: 19px;
  line-height: 1.42;
  color: var(--ink-purple);
}
.page-home .home-card__desc{
  margin: 0;
  flex: 1 1 auto;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(43,27,61,.82);
}
.page-home .home-card__go{
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--home-blue-deep);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(46,87,113,.65);
  transition: color var(--ease), border-color var(--ease);
}
.page-home .home-card__go:hover,
.page-home .home-card__go:focus-visible{
  color: #142A38;
  border-bottom-color: #142A38;
}

/* ---------- 四步指引 ---------- */
.page-home .home-steps{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}
.page-home .home-step{
  position: relative;
  padding-left: 54px;
}
.page-home .home-step__num{
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 21px;
  letter-spacing: .04em;
  color: var(--gold);
}
.page-home .home-step h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: #F6F1E6;
}
.page-home .home-step p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: rgba(237,230,218,.76);
}
.page-home .home-steps__foot{
  margin: clamp(24px, 4vw, 36px) 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(237,230,218,.7);
}
.page-home .home-steps__foot a{
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid var(--home-edge-strong);
}

/* ---------- 移动端 ---------- */
.page-home .home-mobile{
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}
.page-home .home-mobile__list{
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.page-home .home-mobile__list li{
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(36,22,49,.84);
}
.page-home .home-mobile__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.22);
}

/* ---------- 服务与备案 ---------- */
.page-home .home-facts{
  margin: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--home-edge);
  border-radius: 10px;
  overflow: hidden;
  background: var(--home-edge);
}
.page-home .home-facts__row{
  padding: 18px 20px;
  background: var(--ink-purple);
}
.page-home .home-facts dt{
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--gold);
}
.page-home .home-facts dd{
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(237,230,218,.84);
  word-break: break-word;
}
.page-home .home-more{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 38px);
}
.page-home .home-more a{
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--home-edge);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(237,230,218,.84);
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.page-home .home-more a:hover,
.page-home .home-more a:focus-visible{
  color: var(--gold-hi);
  border-color: var(--home-edge-strong);
  background: rgba(201,162,39,.1);
}
.page-home .home-legal{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(237,230,218,.45);
}
.page-home .home-legal a{
  color: rgba(237,230,218,.7);
  text-decoration: none;
  border-bottom: 1px solid var(--home-edge);
}
.page-home .home-legal a:hover,
.page-home .home-legal a:focus-visible{
  color: var(--gold-hi);
}

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

@media (min-width: 900px){
  .page-home .home-hero__grid{
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(32px, 4vw, 56px);
  }
  .page-home .home-hero__copy{ grid-column: 1 / 6; }
  .page-home .home-hero__art{ grid-column: 6 / 13; }
  .page-home .home-hero__art img{
    aspect-ratio: 16 / 10;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 17%);
  }
  .page-home .home-hero__art::after{
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 17%);
  }
  .page-home .home-split{ grid-template-columns: 1.3fr .85fr; }
  .page-home .home-mobile{ grid-template-columns: .8fr 1.2fr; }
}

@media (min-width: 980px){
  .page-home .home-cards{ grid-template-columns: repeat(3, 1fr); }
  .page-home .home-steps{
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .page-home .home-step{
    padding: 30px 22px 0 0;
    border-top: 1px solid rgba(201,162,39,.3);
  }
  .page-home .home-step:last-child{ padding-right: 0; }
  .page-home .home-step__num{
    top: 0;
    left: 0;
    transform: translateY(-50%);
    padding-right: 12px;
    background: var(--ink-purple);
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-entry,
  .page-home .home-card,
  .page-home .home-rail__link,
  .page-home .home-more a{
    transition: none;
  }
  .page-home .home-entry:hover,
  .page-home .home-card:hover{
    transform: none;
  }
}
