/* 首页静态「案上五册」：纯 HTML/CSS，一次讲清五种服务，不加载 3D 或持续动画。 */
.home-hero h1.lede-slogan {
  max-width: 10.2em;
  font-size: clamp(40px, 4.8vw, 64px);
}
.home-hero-copy { max-width: 39em; }

.home-volume-shelf {
  padding-top: clamp(58px, 8vw, 92px);
  padding-bottom: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--border);
  overflow: hidden;
  scroll-margin-top: 66px;
}

.volume-shelf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.volume-shelf-heading p,
.volume-shelf-heading h2,
.volume-shelf-heading > span,
.volume-service-copy h3,
.volume-service-copy p,
.volume-service-note {
  margin: 0;
}

.volume-shelf-heading p {
  margin-bottom: 8px;
  color: var(--seal);
  font: 500 10.5px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.volume-shelf-heading h2 {
  color: var(--near-black);
  font: 500 clamp(28px, 3.4vw, 43px)/1.23 var(--display);
  letter-spacing: .045em;
}

.volume-shelf-heading > span {
  max-width: 24em;
  padding-bottom: 4px;
  color: var(--stone);
  font: 12px/1.65 var(--sans);
  letter-spacing: .045em;
  text-align: right;
}

.volume-service-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #29282b;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 14%, rgba(145, 130, 115, .12), transparent 29%),
    linear-gradient(155deg, #2a292d 0%, #222226 60%, #1c1c20 100%);
  color: #eee8df;
  box-shadow: 0 24px 58px rgba(25, 23, 21, .13);
}

.volume-service-frame::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(239, 232, 220, .075);
  border-radius: 9px;
  content: "";
  pointer-events: none;
}

.volume-service-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 29px 20px;
  border-bottom: 1px solid rgba(239, 232, 220, .11);
  color: rgba(239, 232, 220, .52);
  font: 500 8px/1.4 var(--sans);
  letter-spacing: .2em;
}

.volume-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.volume-service {
  --book-cover: #69403b;
  --book-cover-dark: #3d2422;
  --book-foil: #d8b994;
  min-width: 0;
}

.volume-service + .volume-service {
  border-left: 1px solid rgba(239, 232, 220, .11);
}

.volume-service--he {
  --book-cover: #45564f;
  --book-cover-dark: #28342f;
  --book-foil: #d0c7ab;
}

.volume-service--gua {
  --book-cover: #806943;
  --book-cover-dark: #4a3a24;
  --book-foil: #e1c798;
}

.volume-service--qimen {
  --book-cover: #3a5064;
  --book-cover-dark: #22303d;
  --book-foil: #c7d0d2;
}

.volume-service--xingpan {
  --book-cover: #62646a;
  --book-cover-dark: #36383d;
  --book-foil: #d8d0c4;
}

.volume-service > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.volume-service > a:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--book-foil);
  outline-offset: -2px;
}

.volume-static-book {
  position: relative;
  display: flex;
  width: min(72%, 150px);
  aspect-ratio: .63;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: clamp(34px, 4vw, 53px) auto 34px;
  padding: 16px 11px 18px 17px;
  border: 1px solid color-mix(in srgb, var(--book-foil) 34%, transparent);
  border-radius: 3px 6px 5px 3px;
  background:
    repeating-linear-gradient(18deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px),
    linear-gradient(130deg, rgba(255, 255, 255, .08), transparent 25%, rgba(0, 0, 0, .11) 100%),
    var(--book-cover);
  color: var(--book-foil);
  box-shadow:
    -8px 11px 0 -6px var(--book-cover-dark),
    5px 10px 0 -6px #d7cdbd,
    0 15px 22px rgba(0, 0, 0, .24),
    inset 0 0 0 7px color-mix(in srgb, var(--book-cover) 86%, #000);
}

.volume-static-book::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 12px;
  width: 7px;
  border-right: 1px solid rgba(0, 0, 0, .2);
  border-left: 1px solid rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--book-cover-dark) 78%, transparent);
  content: "";
}

.volume-static-book::after {
  position: absolute;
  right: 6px;
  bottom: -7px;
  left: 18px;
  height: 6px;
  border-radius: 0 0 3px 1px;
  background: repeating-linear-gradient(0deg, #ddd3c3 0 1px, #bfb39f 1px 2px);
  content: "";
  opacity: .82;
}

.volume-book-top {
  position: absolute;
  top: 17px;
  right: 9px;
  left: 24px;
  overflow: hidden;
  color: var(--book-foil);
  font: 500 6px/1.3 var(--sans);
  letter-spacing: .1em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.volume-static-book svg {
  position: absolute;
  top: 22%;
  left: 23%;
  width: 61%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  opacity: .78;
}

.volume-static-book strong {
  position: relative;
  z-index: 1;
  font: 500 clamp(22px, 2.2vw, 31px)/1 var(--display);
  letter-spacing: .11em;
  text-indent: .11em;
}

.volume-static-book small {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font: 500 6px/1.3 var(--sans);
  letter-spacing: .18em;
}

.volume-service-copy {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 23px clamp(17px, 2vw, 25px) 24px;
  border-top: 1px solid rgba(239, 232, 220, .11);
  background: rgba(255, 255, 255, .018);
}

.volume-service-copy > span {
  color: var(--book-foil);
  font: 500 9px/1.45 var(--sans);
  letter-spacing: .13em;
}

.volume-service-copy h3 {
  margin-top: 10px;
  color: #f3ede4;
  font: 500 clamp(20px, 2vw, 26px)/1.25 var(--display);
  letter-spacing: .08em;
}

.volume-service-copy p {
  margin-top: 13px;
  color: rgba(239, 232, 220, .61);
  font: 11.5px/1.75 var(--sans);
}

.volume-service-copy b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: #eee8df;
  font: 500 10px/1.4 var(--sans);
  letter-spacing: .1em;
}

.volume-service-copy b i {
  color: var(--book-foil);
  font: 400 17px/1 var(--display);
  font-style: normal;
}

.volume-service > a:hover .volume-service-copy,
.volume-service > a:focus-visible .volume-service-copy {
  background: rgba(255, 255, 255, .042);
}

.volume-service > a:hover .volume-service-copy b,
.volume-service > a:focus-visible .volume-service-copy b {
  color: var(--book-foil);
}

.volume-service-note {
  position: relative;
  z-index: 1;
  padding: 18px 29px 20px;
  border-top: 1px solid rgba(239, 232, 220, .12);
  color: rgba(239, 232, 220, .58);
  font: 10.5px/1.7 var(--sans);
  letter-spacing: .035em;
}

.volume-service-note b {
  margin-right: 10px;
  color: #eee8df;
  font-weight: 500;
}

@media (max-width: 980px) {
  .volume-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .volume-service:nth-child(4) { border-left: 0; }
  .volume-service:nth-child(n + 4) { border-top: 1px solid rgba(239, 232, 220, .11); }
  .volume-static-book { width: min(64%, 155px); }
  .volume-service-copy { min-height: 190px; }
}

@media (max-width: 700px) {
  .home-hero h1.lede-slogan {
    max-width: none;
    font-size: clamp(27px, 8.7vw, 34px);
  }

  .home-volume-shelf {
    padding-right: 0;
    padding-left: 0;
  }

  .volume-shelf-heading {
    display: block;
    padding: 0 22px;
  }

  .volume-shelf-heading > span {
    display: block;
    max-width: none;
    margin-top: 10px;
    text-align: left;
  }

  .volume-service-frame {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .volume-service-frame::before { inset: 9px; border-radius: 5px; }
  .volume-service-meta { padding: 20px 21px 17px; font-size: 7px; }
  .volume-service-grid { grid-template-columns: 1fr; }

  .volume-service + .volume-service,
  .volume-service:nth-child(4) {
    border-top: 1px solid rgba(239, 232, 220, .11);
    border-left: 0;
  }

  .volume-service > a {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
  }

  .volume-static-book {
    width: 86px;
    margin: 25px auto 30px;
    padding: 10px 8px 12px 13px;
    box-shadow:
      -6px 9px 0 -5px var(--book-cover-dark),
      4px 8px 0 -5px #d7cdbd,
      0 12px 18px rgba(0, 0, 0, .22),
      inset 0 0 0 5px color-mix(in srgb, var(--book-cover) 86%, #000);
  }

  .volume-static-book::before { left: 8px; width: 5px; }
  .volume-static-book::after { right: 4px; bottom: -5px; left: 12px; height: 4px; }
  .volume-book-top { top: 12px; right: 7px; left: 15px; font-size: 4px; }
  .volume-static-book strong { font-size: 19px; }
  .volume-static-book small { margin-top: 5px; font-size: 4.5px; }

  .volume-service-copy {
    min-height: 0;
    padding: 24px 22px 24px 19px;
    border-top: 0;
    border-left: 1px solid rgba(239, 232, 220, .1);
  }

  .volume-service-copy h3 { font-size: 22px; }
  .volume-service-copy p { max-width: 24em; }
  .volume-service-copy b { margin-top: 17px; }
  .volume-service-note { padding: 17px 22px 19px; }
}

@media (max-width: 390px) {
  .volume-service-meta span:last-child { display: none; }
  .volume-service > a { grid-template-columns: 111px minmax(0, 1fr); }
  .volume-static-book { width: 76px; }
  .volume-service-copy { padding-right: 18px; padding-left: 17px; }
}

/* ── 首页统一编辑语言：开卷、目录、档案、索引 ── */
.home-preview {
  border: 1px solid #c3bfb7;
  background:
    repeating-linear-gradient(0deg, rgba(35, 32, 28, .018) 0 1px, transparent 1px 5px),
    #d9d6cf;
  box-shadow: 17px 20px 0 rgba(45, 40, 34, .055), 0 25px 48px rgba(35, 32, 27, .11);
}

.home-preview-top { margin: 0; }

.home-preview-eyebrow { letter-spacing: .16em; }

.home-book {
  border-color: rgba(24, 24, 26, .2);
  box-shadow:
    inset 0 0 0 5px rgba(154, 70, 63, .028),
    inset 0 0 0 6px rgba(24, 24, 26, .045);
}

.home-method {
  position: relative;
  grid-template-columns: minmax(0, .78fr) minmax(460px, 1.22fr);
  gap: clamp(54px, 7.5vw, 96px);
  align-items: stretch;
  padding-top: clamp(78px, 8vw, 102px);
  padding-bottom: clamp(78px, 8vw, 102px);
}

.home-method-intro {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--near-black);
}

.home-method-intro::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--seal);
  content: "";
}

.home-method-intro > p {
  margin-bottom: 14px;
  font-size: 9.5px;
  letter-spacing: .2em;
}

.home-method h2 {
  font-size: clamp(31px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .045em;
}

.home-method-intro > span {
  max-width: 35em;
  margin-top: 23px;
  font-size: 13px;
  line-height: 1.92;
}

.home-method-list {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(24, 24, 26, .19);
  background:
    linear-gradient(90deg, rgba(154, 70, 63, .028), transparent 11%, transparent 89%, rgba(82, 100, 88, .025)),
    #efede8;
  box-shadow: 12px 14px 0 rgba(37, 34, 30, .045);
}

.home-method-list::before {
  display: block;
  padding: 15px 20px 14px;
  border-bottom: 1px solid rgba(24, 24, 26, .13);
  color: var(--stone);
  font: 500 8px/1.3 var(--sans);
  letter-spacing: .2em;
  content: "READING METHOD · 03 STEPS";
}

.home-method-list li {
  grid-template-columns: 54px minmax(0, 1fr) 20px;
  gap: 17px;
  min-height: 105px;
  padding: 23px 21px;
  border-bottom-color: rgba(24, 24, 26, .13);
}

.home-method-list li:last-child { border-bottom: 0; }

.home-method-list i {
  width: 35px;
  height: 48px;
  border: 1px solid rgba(24, 24, 26, .25);
  border-radius: 1px 3px 2px 1px;
  background: #5f3935;
  box-shadow: inset 5px 0 0 rgba(0, 0, 0, .12), 3px 3px 0 -2px #cfc6b8;
  color: #ead7b9;
  font-size: 12px;
  transform: none;
}

.home-method-list li:nth-child(2) i { background: #45564f; color: #d0c7ab; }
.home-method-list li:nth-child(3) i { background: #3a5064; color: #c7d0d2; }

.home-method-list b {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .07em;
}

.home-method-list p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.7;
}

.home-method-list > li > span {
  align-self: center;
  color: var(--stone);
  font-size: 17px;
}

.home-continuity {
  position: relative;
  padding-top: 0;
  padding-bottom: clamp(72px, 8vw, 94px);
  background: transparent;
  color: #eee8df;
}

.home-continuity .after-book {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0 clamp(30px, 4vw, 52px) 28px;
  border: 1px solid #29282b;
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 8%, rgba(142, 113, 82, .14), transparent 26%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .009) 0 1px, transparent 1px 5px),
    linear-gradient(155deg, #2a292d 0%, #222226 60%, #1c1c20 100%);
  box-shadow: 0 24px 58px rgba(25, 23, 21, .13);
}

.home-continuity .after-book::before {
  display: block;
  margin: 0;
  padding: 21px 0 18px;
  border-bottom: 1px solid rgba(239, 232, 220, .11);
  color: rgba(239, 232, 220, .5);
  font: 500 8px/1.3 var(--sans);
  letter-spacing: .2em;
  content: "WENMINGSHU · YOUR ARCHIVE / DAILY · MONTHLY · ANNUAL";
}

.home-continuity .after-book-intro {
  grid-template-columns: minmax(150px, .38fr) minmax(0, 1.62fr);
  gap: 7px clamp(28px, 4vw, 58px);
  align-items: start;
  padding-top: 34px;
}

.home-continuity .after-book-intro > p {
  padding-top: 6px;
  color: #d9b58e;
  font-size: 9px;
  letter-spacing: .18em;
}

.home-continuity .after-book-intro h2 {
  color: #f1ebe2;
  font-size: clamp(29px, 3.15vw, 42px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: .055em;
  white-space: normal;
}

.home-continuity .after-book-title-tail { white-space: nowrap; }

.home-continuity .after-book-intro > span {
  max-width: 49em;
  margin-top: 7px;
  color: rgba(239, 232, 220, .61);
  font-size: 12.5px;
  line-height: 1.78;
  white-space: normal;
}

.home-continuity .after-book-register {
  color: #dfc09b;
  border-bottom-color: rgba(223, 192, 155, .5);
}

.home-continuity .after-book-steps {
  margin-top: 39px;
  border-color: rgba(239, 232, 220, .15);
}

.home-continuity .after-book-steps li,
.home-continuity .after-book-steps li + li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  min-height: 165px;
  padding: 24px 24px 22px 0;
  border-color: rgba(239, 232, 220, .13);
}

.home-continuity .after-book-steps li + li { padding-left: 24px; }
.home-continuity .after-book-steps li::before { content: none; }

.home-continuity .after-book-steps i {
  display: grid;
  width: 31px;
  height: 41px;
  border: 1px solid rgba(223, 192, 155, .55);
  place-items: center;
  color: #dfc09b;
  font: 500 13px/1 var(--display);
  font-style: normal;
}

.home-continuity .after-book-steps li > div::before {
  margin: 3px 0 19px;
  color: #d9b58e;
  font-size: 8.5px;
  letter-spacing: .17em;
}

.home-continuity .after-book-steps li:first-child > div::before { content: "每天"; }
.home-continuity .after-book-steps li:nth-child(2) > div::before { content: "每个节气"; }
.home-continuity .after-book-steps li:nth-child(3) > div::before { content: "每一年"; }

.home-continuity .after-book-steps b {
  color: #f1ebe2;
  font-size: 21px;
  font-weight: 500;
}

.home-continuity .after-book-steps p {
  max-width: 20em;
  margin-top: 8px;
  color: rgba(239, 232, 220, .58);
  font-size: 11.5px;
  line-height: 1.7;
  white-space: normal;
}

.home-continuity .after-book-steps li:first-child p {
  max-width: 20em;
  white-space: normal;
}

.home-continuity .after-book-foot {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 232, 220, .13);
  color: rgba(223, 192, 155, .78);
  font-size: 8.5px;
  letter-spacing: .19em;
}

.home-questions {
  position: relative;
  grid-template-columns: minmax(220px, .48fr) minmax(0, 1.52fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: stretch;
  padding-top: clamp(75px, 8vw, 96px);
  padding-bottom: clamp(75px, 8vw, 96px);
}

.home-questions-title {
  position: relative;
  margin: 0;
  padding-top: 27px;
  border-top: 2px solid var(--near-black);
}

.home-questions-title::after {
  display: block;
  margin-top: 28px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
  color: var(--stone);
  font: 500 8px/1.5 var(--sans);
  letter-spacing: .18em;
  content: "CATALOGUE 04 · CONCRETE QUESTIONS";
}

.home-questions-title > p {
  margin-bottom: 14px;
  font-size: 9.5px;
  letter-spacing: .2em;
}

.home-questions h2 {
  font-size: clamp(30px, 3.15vw, 42px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .05em;
}

.home-questions .asks { margin-top: 0; }

.home-questions .ask-prime {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  min-height: 154px;
  padding: 28px 27px 24px 82px;
  border: 1px solid rgba(24, 24, 26, .18);
  background:
    linear-gradient(90deg, rgba(154, 70, 63, .045), transparent 24%),
    #efede8;
}

.home-questions .ask-prime::before {
  position: absolute;
  top: 28px;
  left: 25px;
  color: var(--seal);
  font: 500 11px/1 var(--sans);
  letter-spacing: .12em;
  content: "01";
}

.home-questions .ask-prime::after {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 56px;
  border-left: 1px solid rgba(24, 24, 26, .13);
  content: "";
}

.home-questions .ask-prime .q {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .025em;
  transition: none;
}

.home-questions .ask-prime .tag { font-size: 9.5px; }
.home-questions .ask-prime .w { color: var(--seal); font-size: 10px; }

.home-questions .asks-lead {
  margin: 20px 0 0;
  padding: 13px 0 12px;
  border-top: 1px solid var(--border-soft);
  color: var(--stone);
  font-size: 8.5px;
  letter-spacing: .18em;
}

.home-questions .ask-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  border: 1px solid rgba(24, 24, 26, .16);
  border-right: 0;
}

.home-questions .ask-grid .ask,
.home-questions .ask-grid .ask:nth-child(3n + 2),
.home-questions .ask-grid .ask:nth-child(3n) {
  position: relative;
  display: flex;
  min-height: 158px;
  flex-direction: column;
  padding: 48px 21px 20px;
  border: 0;
  border-right: 1px solid rgba(24, 24, 26, .16);
  background: rgba(255, 255, 255, .13);
}

.home-questions .ask-grid .ask::before {
  position: absolute;
  top: 19px;
  left: 21px;
  color: var(--stone);
  font: 500 9px/1 var(--sans);
  letter-spacing: .13em;
  content: "02";
}

.home-questions .ask-grid .ask:nth-child(2)::before { content: "03"; }
.home-questions .ask-grid .ask:nth-child(3)::before { content: "04"; }

.home-questions .ask-grid .ask .q {
  font-size: 17px;
  line-height: 1.55;
  transition: none;
}

.home-questions .ask-grid .ask .w {
  margin-top: auto;
  padding-top: 17px;
  font-size: 9px;
  letter-spacing: .12em;
}

.home-questions .ask-grid .ask .w i { transition: none; }

.home-questions .ask-prime:hover,
.home-questions .ask-prime:focus-visible,
.home-questions .ask-grid .ask:hover,
.home-questions .ask-grid .ask:focus-visible {
  background-color: rgba(154, 70, 63, .045);
  outline: none;
}

.home-questions .ask-prime:focus-visible,
.home-questions .ask-grid .ask:focus-visible {
  box-shadow: inset 0 0 0 2px var(--seal);
}

.home-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(24, 24, 26, .2);
  background:
    repeating-linear-gradient(0deg, rgba(35, 32, 28, .012) 0 1px, transparent 1px 5px),
    rgba(231, 228, 221, .52);
}

.home-footer::before { display: none; }

.home-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 calc(-1 * var(--fpad));
  padding: 15px var(--fpad) 13px;
  border-bottom: 1px solid rgba(24, 24, 26, .13);
  color: var(--stone);
  font: 500 8px/1.3 var(--sans);
  letter-spacing: .2em;
}

.home-footer-cover {
  position: relative;
  margin: 0 calc(-1 * var(--fpad));
  padding: clamp(38px, 4.5vw, 56px) var(--fpad) 0;
  background:
    radial-gradient(circle at 83% 8%, rgba(142, 113, 82, .15), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .009) 0 1px, transparent 1px 5px),
    linear-gradient(155deg, #2a292d 0%, #222226 60%, #1c1c20 100%);
  color: #eee8df;
}

.home-footer-cover::before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(239, 232, 220, .07);
  content: "";
  pointer-events: none;
}

.home-footer-lead,
.home-footer-links {
  position: relative;
  z-index: 1;
}

.home-footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: start;
}

.home-footer .f-id {
  gap: 19px;
  align-items: center;
}

.home-footer .f-id .seal-sq {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--seal);
  color: #f6f3ef;
  font-size: 16px;
}

.home-footer .f-brand {
  color: #f1ebe2;
  font-size: 23px;
  letter-spacing: .22em;
}

.home-footer .f-line {
  display: block;
  margin-top: 9px;
  color: rgba(239, 232, 220, .58);
  font-size: 12px;
  letter-spacing: .08em;
}

.home-footer-cta > span,
.home-footer-cta > small {
  display: block;
  font-family: var(--sans);
}

.home-footer-cta > span {
  margin-bottom: 9px;
  color: #d9b58e;
  font-size: 9px;
  letter-spacing: .18em;
}

.home-footer-cta > a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 16px 13px 18px;
  border: 1px solid rgba(239, 232, 220, .34);
  background: rgba(255, 255, 255, .025);
  color: #f1ebe2;
  text-decoration: none;
  transition-property: background, border-color, color, transform;
  transition-duration: 160ms;
  transition-timing-function: ease;
}

.home-footer-cta > a b {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .06em;
}

.home-footer-cta > a i {
  font-size: 17px;
  font-style: normal;
}

.home-footer-cta > a:hover {
  border-color: #eee8df;
  background: #eee8df;
  color: #222226;
}

.home-footer-cta > a:active { transform: scale(.96); }

.home-footer-cta > a:focus-visible,
.home-footer-links a:focus-visible {
  outline: 2px solid #dfc09b;
  outline-offset: 3px;
}

.home-footer-cta > small {
  margin-top: 9px;
  color: rgba(239, 232, 220, .42);
  font-size: 9.5px;
  letter-spacing: .07em;
}

.home-footer .home-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: clamp(38px, 4.2vw, 50px) 0 0;
  border-top: 1px solid rgba(239, 232, 220, .13);
  gap: 0;
}

.home-footer-link-group {
  min-width: 0;
  padding: 24px 42px 25px 0;
}

.home-footer-link-group + .home-footer-link-group {
  padding-right: 0;
  padding-left: 42px;
  border-inline-start: 1px solid rgba(239, 232, 220, .13);
}

.home-footer-link-group > p {
  margin: 0 0 7px;
  color: rgba(223, 192, 155, .8);
  font: 500 9px/1.4 var(--sans);
  letter-spacing: .16em;
}

.home-footer-link-group > p i {
  margin-inline-end: 10px;
  color: #d9b58e;
  font-style: normal;
}

.home-footer-link-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 27px;
}

.home-footer .home-footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 10px 0;
  color: rgba(239, 232, 220, .72);
  font-size: 12.5px;
  letter-spacing: .055em;
  transition-property: color;
  transition-duration: 140ms;
  transition-timing-function: ease;
}

.home-footer .home-footer-links a:hover { color: #f1ebe2; }

.home-footer .home-footer-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 13px 32px;
  align-items: center;
  border-top-color: rgba(24, 24, 26, .13);
  padding-top: 17px;
}

.home-footer .home-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 25px;
  margin: 0;
}

.home-footer .home-footer-legal a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 0;
  color: var(--olive);
  font-size: 11.5px;
  letter-spacing: .06em;
}

.home-footer .home-footer-legal a:hover,
.home-footer .home-footer-base .f-disc a:hover { color: var(--seal); }

.home-footer .home-footer-legal a:focus-visible,
.home-footer .home-footer-base .f-disc a:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}

.home-footer .home-footer-base .f-made {
  justify-self: end;
  font-size: 11px;
}

.home-footer .home-footer-base .f-disc {
  grid-column: 1 / -1;
  max-width: 78em;
  margin-top: 0;
  padding-top: 13px;
  border-top: 1px solid rgba(24, 24, 26, .09);
}

.home-footer .home-footer-base .f-disc a {
  color: inherit;
  text-decoration-color: rgba(91, 91, 86, .42);
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .home-method {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-method-intro > span { max-width: 48em; }

  .home-continuity .after-book-intro {
    grid-template-columns: 1fr;
  }

  .home-continuity .after-book-intro > p { grid-row: auto; }

  .home-questions {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-questions-title::after { margin-top: 20px; }
}

@media (max-width: 820px) {
  .home-continuity .after-book-steps {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .home-continuity .after-book-steps li,
  .home-continuity .after-book-steps li + li {
    min-height: 0;
    padding: 22px 0;
    border-left: 0;
  }

  .home-continuity .after-book-steps li + li {
    border-top: 1px solid rgba(239, 232, 220, .13);
  }

  .home-continuity .after-book-steps p,
  .home-continuity .after-book-steps li:first-child p {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding-top: 27px;
    padding-bottom: 34px;
  }

  .home-hero .lede-grid { gap: 0; }
  .home-hero .kicker { margin-bottom: 12px; }

  .home-hero-copy {
    max-width: 28em;
    margin: 15px 0 20px;
    font-size: 14px;
    line-height: 1.72;
  }

  .home-hero-actions { gap: 8px; }

  .home-primary-link {
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
  }

  .home-primary-note {
    font-size: 10.5px;
    line-height: 1.6;
    letter-spacing: .04em;
  }

  .home-secondary-links {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 0 16px;
  }

  .home-quiet-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 7px 0;
    border-bottom: 0;
    font-size: 11.5px;
    line-height: 1.45;
    letter-spacing: .04em;
  }

  .home-preview:not(.is-desk) { display: none; }

  .home-preview.is-desk {
    margin-top: 30px;
    box-shadow: 10px 12px 0 rgba(45, 40, 34, .05), 0 18px 34px rgba(35, 32, 27, .09);
  }

  .home-volume-shelf {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .volume-shelf-heading { margin-bottom: 18px; }
  .volume-shelf-heading > span { display: none; }
  .volume-service-frame::before,
  .volume-service-meta,
  .volume-static-book,
  .volume-service-note { display: none; }

  .volume-service > a { display: block; }

  .volume-service-copy {
    min-height: 0;
    padding: 18px 22px 19px;
    border-top: 0;
    border-left: 0;
    background: transparent;
  }

  .volume-service-copy h3 {
    margin-top: 6px;
    font-size: 21px;
  }

  .volume-service-copy p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.65;
  }

  .volume-service-copy b {
    margin-top: 10px;
    padding-top: 0;
  }

  .home-method {
    gap: 22px;
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .home-method-intro { padding-top: 22px; }
  .home-method h2 { font-size: 30px; }
  .home-method-list { box-shadow: 8px 9px 0 rgba(37, 34, 30, .04); }
  .home-method-list li { grid-template-columns: 46px minmax(0, 1fr) 16px; gap: 12px; min-height: 0; padding: 16px 17px; }
  .home-method-list i { width: 31px; height: 43px; }
  .home-method-list b { font-size: 17px; }
  .home-method-list p { display: none; }

  .home-continuity {
    padding-right: 0;
    padding-bottom: 52px;
    padding-left: 0;
  }

  .home-continuity .after-book {
    padding-right: 22px;
    padding-left: 22px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .home-continuity .after-book::before {
    margin: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .home-continuity .after-book-intro { padding-top: 28px; }
  .home-continuity .after-book-intro h2 { font-size: 29px; }
  .home-continuity .after-book-intro > span { margin-top: 8px; }
  .home-continuity .after-book { padding-bottom: 25px; }
  .home-continuity .after-book-steps,
  .home-continuity .after-book-foot,
  .home-questions { display: none; }

  .home-footer-meta { font-size: 7.5px; }

  .home-footer-cover {
    padding: 31px var(--fpad) 0;
  }

  .home-footer-cover::before { inset: 9px; }

  .home-footer-lead {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-footer .f-id { gap: 16px; }
  .home-footer .f-id .seal-sq { width: 40px; height: 40px; font-size: 14px; }
  .home-footer .f-brand { font-size: 20px; }
  .home-footer .f-line { font-size: 11px; }

  .home-footer-cta {
    margin-top: 27px;
    padding-top: 24px;
    border-top: 1px solid rgba(239, 232, 220, .13);
  }

  .home-footer-cta > a {
    min-height: 54px;
    padding-inline: 16px;
  }

  .home-footer .home-footer-links {
    margin-top: 31px;
  }

  .home-footer-link-group {
    padding: 22px 15px 22px 0;
  }

  .home-footer-link-group + .home-footer-link-group {
    padding-right: 0;
    padding-left: 15px;
  }

  .home-footer-link-group > div {
    flex-direction: column;
    gap: 0;
  }

  .home-footer .home-footer-links a {
    width: 100%;
    min-height: 44px;
    padding: 11px 0;
  }

  .home-footer .home-footer-base {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 15px;
  }

  .home-footer .home-footer-legal {
    gap: 0 23px;
  }

  .home-footer .home-footer-legal a { min-height: 40px; }

  .home-footer .home-footer-base .f-made {
    justify-self: start;
    margin-top: 3px;
  }

  .home-footer .home-footer-base .f-disc {
    margin-top: 11px;
    padding-top: 14px;
  }
}

@media (max-width: 360px) {
  .home-footer-meta span:last-child { display: none; }
}

/* 术语入口（首页 → /baike 的唯一内链，见 index.html 注释） */
.home-lexicon {
  position: relative;
  grid-template-columns: minmax(220px, .48fr) minmax(0, 1.52fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: stretch;
  padding-top: clamp(75px, 8vw, 96px);
  padding-bottom: clamp(75px, 8vw, 96px);
}

.home-lexicon-title {
  position: relative;
  margin: 0;
  padding-top: 27px;
  border-top: 2px solid var(--near-black);
}

.home-lexicon-title::after {
  display: block;
  margin-top: 28px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
  color: var(--stone);
  font: 500 8px/1.5 var(--sans);
  letter-spacing: .18em;
  content: "CATALOGUE 05 · LEXICON";
}

.home-lexicon-title > p {
  margin-bottom: 14px;
  font-size: 9.5px;
  letter-spacing: .2em;
}

.home-lexicon h2 {
  font-size: clamp(30px, 3.15vw, 42px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .05em;
}

.lexicon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
}

.lex {
  display: grid;
  gap: 7px;
  padding: 20px 21px;
  background: var(--ivory);
  color: var(--near-black);
  text-decoration: none;
  transition: background 160ms ease;
}

.lex b {
  font: 500 17px/1.3 var(--display);
  letter-spacing: .05em;
}

.lex span {
  color: var(--olive);
  font: 400 12.5px/1.75 var(--sans);
}

.lex:hover {
  background: #efede8;
}

.lex:hover b {
  color: var(--seal);
}

.lexicon-all {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--stone);
  color: var(--olive);
  font: 600 13px/1 var(--display);
  letter-spacing: .07em;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, gap 160ms ease;
}

.lexicon-all:hover {
  gap: 22px;
  border-color: var(--seal);
  color: var(--seal);
}

.lexicon-all b {
  color: var(--seal);
  font-family: var(--mono);
  font-weight: 400;
}

@media (max-width: 900px) {
  .home-lexicon { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .home-lexicon-title::after { display: none; }
  .lexicon-grid { grid-template-columns: minmax(0, 1fr); }
}
