/* 首页 2026-10 · 图二精确还原：一纸定章 */
.page-home {
  --home-paper: #f6f1e7;
  --home-paper-soft: #faf7f0;
  --home-ink: #101d1a;
  --home-jade: #0b3b36;
  --home-muted: #6f716b;
  --home-gold: #9b7338;
  --home-red: #b33b2e;
  --home-line: rgba(48, 57, 51, .17);
  background: var(--home-paper-soft);
  color: var(--home-ink);
}

.page-home::before { display: none; }
.page-home main { overflow: hidden; }
.page-home .shell { width: min(1240px, calc(100% - 48px)); }
.page-home .section.motion-reveal,
.page-home .featured-essay.motion-reveal,
.page-home .essay-row.motion-reveal { opacity: 1; transform: none; }

/* 首页导航严格收敛到图二的四项 */
.page-home .main-nav a[href="/chart"],
.page-home .main-nav a[href="/cases"],
.page-home .main-nav a[href="/pet/form"],
.page-home .main-nav a[href="/account"] { display: none; }
.page-home .site-header {
  border-bottom: 1px solid rgba(31, 42, 37, .12);
  background: rgba(250, 247, 240, .96);
  backdrop-filter: none;
}
.page-home .site-header.is-scrolled { box-shadow: 0 9px 28px rgba(24, 34, 29, .06); }
.page-home .brand-symbol { display: none; }
.page-home .brand { gap: 13px; }
.page-home .brand > span:last-child { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 16px; }
.page-home .brand strong {
  padding-right: 16px;
  border-right: 1px solid rgba(16, 29, 26, .45);
  color: var(--home-ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .17em;
}
.page-home .brand small {
  color: #53605b;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .22em;
}
.page-home .nav-link { color: #2d3935; font-size: 14px; }

/* 首屏 */
.home-hero {
  min-height: 790px;
  display: flex;
  align-items: center;
  background-color: var(--home-paper);
  background-image: url('/images/home-hero-ink-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: screen;
  background-color: rgba(246, 241, 231, .68);
  border-bottom: 1px solid rgba(123, 94, 49, .12);
}
.hero-inner { position: relative; }
.hero-copy { width: min(610px, 52%); padding-block: 84px 96px; }
.research-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: var(--home-gold);
  font-size: 13px;
  letter-spacing: .18em;
}
.research-label span { width: 34px; height: 1px; background: var(--home-gold); }
.research-label b { font-weight: 600; }
.research-label em { color: #756b5d; font: 10px Georgia, serif; letter-spacing: .23em; }
.home-hero h1 {
  margin: 0;
  color: #0e1917;
  font-family: var(--serif);
  font-size: clamp(64px, 6.1vw, 90px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .055em;
}
.vermilion-seal {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 34px;
  margin: -18px 0 0 475px;
  border: 2px solid var(--home-red);
  color: var(--home-red);
  font-family: var(--serif);
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}
.home-hero #intro {
  max-width: 570px;
  margin: 34px 0 0;
  color: #515d58;
  font-size: 17px;
  line-height: 1.9;
}
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
/* 2026-10-15 全站排查：1024/1100/981 等宽度下文字栏只有约 508px，四个入口要约 585px，“预约咨询”被单独挤到第二行。
   手机端（≤700px，下方 grid 三列）不变；更宽时这一行不受文字栏限制、不折行，间距随屏宽收紧。 */
@media (min-width: 701px) {
  .hero-actions { flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 48px); gap: clamp(18px, 2.6vw, 34px); }
  .hero-actions a { white-space: nowrap; }
}
.hero-actions a { text-decoration: none; }
.hero-primary {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 28px;
  border: 1px solid var(--home-jade);
  background: var(--home-jade);
  color: #fbf7ee;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .08em;
  box-shadow: 0 12px 28px rgba(11, 59, 54, .12);
  transition: transform .24s ease, background-color .24s ease;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 2px 2px;
  border-bottom: 1px solid rgba(11, 59, 54, .5);
  color: var(--home-jade);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .06em;
}
.hero-link span,
.hero-primary span { transition: transform .24s ease; }
.home-sign { margin-top: 24px; }
.home-sign-link { display: inline-flex; gap: 10px; color: var(--home-jade); font-size: 13px; text-decoration: none; }

/* 案例库（继承原有版式，数据从案例库动态同步） */
.journal-section { padding: 86px 0 74px; background: var(--home-paper-soft); }
.journal-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--home-line);
}
.section-kicker { display: block; margin-bottom: 12px; color: var(--home-gold); font: 11px Georgia, serif; letter-spacing: .28em; }
.journal-title-line { display: flex; align-items: center; gap: 16px; }
.journal-heading h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--serif);
  font-size: clamp(44px, 4.3vw, 62px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .08em;
}
.vermilion-seal.small { width: 23px; height: 29px; margin: 0; font-size: 14px; }
.journal-heading p { margin: 13px 0 0; color: var(--home-muted); font-size: 15px; }
.all-articles {
  flex: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  padding: 0 3px 8px;
  border-bottom: 1px solid var(--home-gold);
  color: var(--home-ink);
  font-weight: 600;
  text-decoration: none;
}

.featured-essay {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
}
.featured-essay figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; background: #e7dfd1; }
.featured-essay img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s cubic-bezier(.2,.72,.2,1); }
.essay-meta { color: var(--home-gold); font: 11px Georgia, var(--sans); letter-spacing: .12em; }
.featured-copy h3 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: .04em;
}
.essay-rule { display: block; width: 34px; height: 1px; margin: 24px 0; background: var(--home-gold); }
.featured-copy p { margin: 0; color: #59635e; font-size: 15px; line-height: 1.95; }
.featured-copy b { display: inline-flex; gap: 16px; margin-top: 26px; color: var(--home-jade); font-size: 14px; }

.essay-list { border-bottom: 1px solid var(--home-line); }
.essay-row {
  display: grid;
  grid-template-columns: 42px 180px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 142px;
  padding: 25px 4px;
  border-bottom: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease);
}
.essay-row:last-child { border-bottom: 0; }
.essay-no { align-self: start; padding-top: 4px; color: rgba(155,115,56,.75); font: 11px Georgia, serif; }
.essay-thumb {
  display: block;
  width: 180px;
  aspect-ratio: 5 / 3;
  background-image: url('/images/home-journal-thumbs.jpg');
  background-repeat: no-repeat;
  background-size: 300% 100%;
}
.essay-thumb.thumb-one { background-position: left center; }
.essay-thumb.thumb-two { background-position: center center; }
.essay-thumb.thumb-three { background-position: right center; }
.essay-row h3 { margin: 8px 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .04em; }
.essay-row p { margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.7; }
.essay-arrow { color: var(--home-jade); font-size: 22px; transition: transform .25s ease; }

/* hover 只交给有真实鼠标的设备。触屏上不存在“悬停离开”，若直接写 :hover，
   点一次后样式可能粘到下一次触摸；同时不再动画 padding，避免整行内容重排。 */
@media (hover: hover) and (pointer: fine) {
  .hero-primary:hover { transform: translateY(-2px); background: #124942; }
  .hero-link:hover span,
  .hero-primary:hover span { transform: translateX(5px); }
  .featured-essay:hover img { transform: scale(1.025); }
  .essay-row:hover { background: rgba(255, 255, 255, .3); }
  .essay-row:hover .essay-arrow { transform: translateX(6px); }
}

/* 山水收尾，复用同一幅原始素材并换裁切 */
.home-closing {
  min-height: 470px;
  display: flex;
  align-items: center;
  background-color: var(--home-paper);
  background-image: url('/images/home-hero-ink-bg.jpg');
  background-position: center bottom;
  background-size: cover;
  background-blend-mode: screen;
  background-color: rgba(246, 241, 231, .7);
  border-top: 1px solid rgba(123, 94, 49, .12);
}
.closing-inner { padding-block: 72px; text-align: center; }
.closing-inner blockquote {
  max-width: 920px;
  margin: 22px auto 30px;
  color: var(--home-ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .055em;
}
.closing-action {
  display: inline-flex;
  gap: 20px;
  min-height: 50px;
  align-items: center;
  padding: 0 4px;
  border-bottom: 1px solid var(--home-gold);
  color: var(--home-jade);
  font-weight: 600;
  text-decoration: none;
}

.page-home .footer { padding-block: 32px; background: #0a3a35; color: rgba(250,247,240,.72); }
.page-home .footer .shell { font-size: 12px; line-height: 1.8; }

@media (max-width: 980px) {
  .home-hero { min-height: 740px; background-position: 43% center; }
  .hero-copy { width: min(620px, 67%); }
  .featured-essay { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 700px) {
  .page-home .shell { width: min(100% - 30px, 1240px); }
  .page-home .brand > span:last-child { grid-template-columns: auto; row-gap: 1px; }
  .page-home .brand strong { padding: 0; border: 0; font-size: 22px; }
  .page-home .brand small { font-size: 9px; }
  .page-home .menu-button b { display: none; }
  .page-home .menu-button { width: 48px; min-width: 48px; padding: 0 12px; border: 0; background: transparent; }

  .home-hero {
    min-height: 0;
    align-items: flex-start;
    background-position: 61% center;
    background-size: cover;
  }
  .hero-copy { width: 100%; padding: 64px 0 72px; }
  .research-label { margin-bottom: 27px; font-size: 10px; }
  .research-label em { display: none; }
  .home-hero h1 { font-size: clamp(46px, 13.4vw, 60px); line-height: 1.24; }
  .vermilion-seal { width: 23px; height: 29px; margin: -14px 0 0 76%; font-size: 14px; }
  .home-hero #intro { margin-top: 25px; padding-right: 12px; font-size: 14px; line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 28px; }
  .hero-primary { grid-column: 1 / -1; min-height: 56px; }
  .hero-link { justify-content: center; min-height: 48px; padding-inline: 5px; border: 1px solid rgba(11,59,54,.36); font-size: 14px; }

  .journal-section { padding: 58px 0 50px; }
  .journal-heading { align-items: flex-start; padding-bottom: 24px; }
  .journal-heading h2 { font-size: 39px; }
  .journal-heading p { max-width: 15em; font-size: 13px; line-height: 1.7; }
  .all-articles { padding-top: 33px; font-size: 13px; }
  .featured-essay { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 34px; }
  .featured-copy h3 { font-size: 28px; }
  .featured-copy p { font-size: 14px; line-height: 1.85; }
  .essay-row { grid-template-columns: 28px 82px minmax(0,1fr) auto; gap: 10px; min-height: 132px; padding-block: 22px; }
  .essay-thumb { width: 82px; }
  .essay-row h3 { font-size: 21px; line-height: 1.45; }
  .essay-row p { display: none; }
  .essay-meta { font-size: 9px; }
  .essay-arrow { font-size: 18px; }

  .home-closing { min-height: 410px; background-position: 56% bottom; }
  .closing-inner { padding-block: 64px; }
  .closing-inner blockquote { font-size: 29px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-primary, .hero-link span, .hero-primary span, .featured-essay img, .essay-row, .essay-arrow { transition: none; transform: none; }
}

/* ---------- 免费在线排盘（2026-10-17 SEO 可见导航） ---------- */
.home-tools { padding: 72px 0 64px; background: var(--home-paper, #faf7f0); }
.home-tools h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 6vw, 46px); color: var(--ink); letter-spacing: .02em; }
.home-tools-lead { margin: 12px 0 28px; color: var(--home-muted, #6b6f68); font-size: 15px; max-width: 640px; }
.home-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-tool { position: relative; display: block; padding: 20px 20px 18px 74px; border: 1px solid var(--line, #e6dfd0); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.home-tool:hover { border-color: var(--home-gold, #a87b2c); transform: translateY(-2px); }
.home-tool i { position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid #b8322a; border-radius: 8px; color: #b8322a; font: 700 20px var(--serif); font-style: normal; transform: rotate(-4deg); }
.home-tool h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.home-tool p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--home-muted, #6b6f68); }
@media (max-width: 860px) { .home-tools-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .home-tools { padding: 52px 0 46px; } .home-tools-grid { grid-template-columns: 1fr; gap: 10px; } .home-tool { padding: 16px 16px 14px 66px; } .home-tool i { left: 16px; top: 16px; } }
