/* styles.css; original cascade order. */
:root {
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --ink: #211b18;
  --muted: #6c625b;
  --line: #ded2c2;
  --red: #8c2721;
  --red-dark: #631b18;
  --gold: #b58a3d;
  --teal: #2e6d68;
  --mist: #e8f0ed;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(44, 32, 22, 0.12);
}

/* Evidence governance and source notes, v16 */
.reference-hero {
  border-bottom: 1px solid rgba(118, 96, 70, 0.2);
}

.source-principle-section,
.citation-workflow-section,
.reference-invite-section {
  background: #f8f4ec;
}

.reference-catalog-section {
  background: #fffdf9;
}

.evidence-level-grid,
.source-bridge-grid,
.governance-grid,
.evidence-register {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(46, 109, 104, 0.22);
  background: var(--white);
}

.evidence-level-grid article,
.source-bridge-grid article,
.governance-grid article,
.evidence-register article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(46, 109, 104, 0.18);
}

.evidence-level-grid article:last-child,
.source-bridge-grid article:last-child,
.governance-grid article:nth-child(4n),
.evidence-register article:last-child {
  border-right: 0;
}

.evidence-level-grid span,
.source-bridge-grid span,
.governance-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.evidence-level-grid h3,
.source-bridge-grid h3,
.governance-grid h3,
.citation-workflow h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.evidence-level-grid p,
.source-bridge-grid p,
.governance-grid p,
.citation-workflow p,
.evidence-register p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reference-catalog {
  border-top: 1px solid rgba(118, 96, 70, 0.22);
}

.reference-catalog article {
  display: grid;
  grid-template-columns: 150px minmax(260px, 0.8fr) minmax(320px, 1.4fr);
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(118, 96, 70, 0.22);
}

.reference-catalog span {
  color: var(--teal);
  font-weight: 800;
}

.reference-catalog h3,
.reference-catalog p {
  margin: 0;
  line-height: 1.7;
}

.reference-catalog h3 {
  font-size: 21px;
}

.reference-catalog a {
  color: var(--red-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.citation-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(118, 96, 70, 0.22);
  background: var(--white);
  list-style: none;
}

.citation-workflow li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 26px;
  border-right: 1px solid rgba(118, 96, 70, 0.18);
  border-bottom: 1px solid rgba(118, 96, 70, 0.18);
}

.citation-workflow li:nth-child(2n) {
  border-right: 0;
}

.citation-workflow li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.citation-workflow > li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(140, 47, 57, 0.28);
  border-radius: 50%;
  color: var(--red-dark);
  font-weight: 800;
}

.evidence-register-section {
  background: #193a36;
  color: #fffaf1;
}

.evidence-register-section .section-heading p,
.evidence-register-section .eyebrow {
  color: #d9c9a6;
}

.evidence-register {
  border-color: rgba(255, 250, 241, 0.22);
  background: transparent;
}

.evidence-register article {
  border-color: rgba(255, 250, 241, 0.18);
}

.evidence-register strong {
  display: block;
  margin-bottom: 10px;
  color: #fffaf1;
  font-size: 20px;
}

.evidence-register p {
  color: rgba(255, 250, 241, 0.76);
}

.source-bridge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.data-governance-section {
  margin-top: 56px;
  padding: 56px 0 0;
  border-top: 1px solid rgba(118, 96, 70, 0.22);
  background: transparent;
}

.governance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.governance-grid article {
  border-bottom: 1px solid rgba(46, 109, 104, 0.18);
}

.governance-grid article:nth-child(3n) {
  border-right: 0;
}

.governance-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.reference-invite-section .section-inner > .btn {
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .evidence-level-grid,
  .governance-grid,
  .evidence-register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-level-grid article:nth-child(2n),
  .governance-grid article:nth-child(2n),
  .evidence-register article:nth-child(2n) {
    border-right: 0;
  }

  .evidence-level-grid article:nth-child(-n + 2),
  .evidence-register article:nth-child(-n + 2),
  .governance-grid article:not(:nth-last-child(-n + 2)) {
    border-bottom: 1px solid rgba(46, 109, 104, 0.18);
  }

  .governance-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .reference-catalog article {
    grid-template-columns: 130px minmax(220px, 0.8fr) minmax(280px, 1.2fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .evidence-level-grid,
  .source-bridge-grid,
  .governance-grid,
  .evidence-register,
  .citation-workflow {
    grid-template-columns: 1fr;
  }

  .evidence-level-grid article,
  .source-bridge-grid article,
  .governance-grid article,
  .evidence-register article,
  .citation-workflow li,
  .citation-workflow li:nth-child(2n) {
    padding: 21px;
    border-right: 0;
    border-bottom: 1px solid rgba(46, 109, 104, 0.18);
  }

  .evidence-level-grid article:last-child,
  .source-bridge-grid article:last-child,
  .governance-grid article:last-child,
  .evidence-register article:last-child,
  .citation-workflow li:last-child {
    border-bottom: 0;
  }

  .reference-catalog article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .citation-workflow li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .data-governance-section {
    margin-top: 40px;
    padding-top: 40px;
  }
}

/* International editions: preserve whole English words in compact mobile columns. */
html[lang^="en"] h1,
html[lang^="en"] h2,
html[lang^="en"] h3,
html[lang^="en"] p,
html[lang^="en"] a,
html[lang^="en"] strong {
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  line-break: auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.english-page {
  --red: #315f58;
  --red-dark: #203f3b;
  --gold: #9a7a45;
  --teal: #315f58;
  --paper: #f4f1ea;
  --paper-strong: #fffdf7;
  --mist: #e7efeb;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.english-page .brand {
  min-width: 230px;
}

.english-page .brand-mark {
  background: #203f3b;
}

.english-page .hero-section {
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.98) 0%, rgba(255, 253, 247, 0.92) 56%, rgba(231, 239, 235, 0.96) 100%);
}

.english-page .hero-copy h1 {
  max-width: 760px;
}

.english-board .board-note strong {
  color: #203f3b;
}

.traditional-page {
  --red: #7a2d28;
  --red-dark: #54201d;
  --gold: #a88345;
  --teal: #2f625d;
  --paper: #f5efe4;
  --paper-strong: #fffaf0;
  --mist: #e7efeb;
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Microsoft YaHei", Arial, sans-serif;
}

.traditional-page .brand {
  min-width: 210px;
}

.traditional-page .hero-section {
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.98) 0%, rgba(255, 250, 240, 0.92) 54%, rgba(231, 239, 235, 0.96) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}
a,
button,
.btn,
.header-cta,
.text-link,
.mobile-sticky a,
.mobile-cta a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(140, 39, 33, 0.12);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
.text-link:focus-visible,
.mobile-sticky a:focus-visible,
.mobile-cta a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(46, 109, 104, 0.42);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 210, 194, 0.76);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.hero-inner,
.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  width: min(1320px, calc(100% - 40px));
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-strong);
  background: var(--red-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #4c4039;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 24px rgba(44, 32, 22, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

body.nav-open .nav-toggle {
  gap: 0;
}

body.nav-open .nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -9px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.header-cta,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.btn.primary {
  color: white;
  background: var(--red);
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: var(--red-dark);
  background: var(--paper-strong);
  border-color: var(--line);
}

.btn.tertiary {
  color: var(--teal);
  background: var(--mist);
  border-color: rgba(46, 109, 104, 0.18);
}

.hero-section {
  padding: 64px 0 56px;
  background: #f6f1e8;
}

.compact-header .header-inner {
  justify-content: space-between;
}

.compact-header .brand {
  min-width: 0;
}

.landing-page .nav-links {
  display: none;
}

.douyin-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
}

.report-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-strong);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 52px;
  align-items: center;
}

.hero-copy,
.hero-visual,
.consulting-board {
  min-width: 0;
}

.hero-copy h1 span {
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: #4d443e;
  font-size: 19px;
}

.hero-actions,
.form-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.hero-actions-compact {
  margin-bottom: 18px;
}

.hero-quicklinks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 18px;
}

.hero-quicklinks a {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(222, 210, 194, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  color: #4d443e;
}

.hero-quicklinks strong,
.flagship-strip strong {
  display: block;
  margin-bottom: 6px;
}

.hero-quicklinks strong {
  color: var(--red-dark);
  font-size: 16px;
}

.hero-quicklinks span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.flagship-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 0 0 18px;
}

.flagship-strip article {
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(46, 109, 104, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(232, 240, 237, 0.78));
}

.flagship-strip strong {
  color: var(--teal);
  font-size: 17px;
}

.flagship-strip p {
  margin-bottom: 0;
  color: #4d443e;
  font-size: 0.95rem;
}

.outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 22px;
}

.outcome-strip span {
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(46, 109, 104, 0.2);
  border-radius: 8px;
  background: rgba(232, 240, 237, 0.72);
  color: #4d443e;
  font-size: 0.94rem;
}

.outcome-strip strong {
  display: block;
  color: var(--teal);
  margin-bottom: 4px;
}

.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.cred-strip span {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(222, 210, 194, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
}

.cred-strip strong {
  display: block;
  color: var(--red-dark);
  font-size: 22px;
}

.cred-strip small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-visual {
  min-height: 500px;
  display: grid;
  place-items: center;
}

.scenario-page .hero-section {
  padding: 62px 0 58px;
}

.scenario-page .hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.72fr);
  gap: 44px;
}

.scenario-page .hero-copy h1 {
  max-width: 700px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
}

.scenario-page .hero-lede {
  max-width: 640px;
}

.scenario-page .hero-actions {
  max-width: 720px;
}

.scenario-hero-visual {
  min-height: 430px;
  place-items: center end;
}

.scenario-path-card {
  width: min(100%, 430px);
  border: 1px solid rgba(115, 80, 42, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.path-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.path-card-head span {
  color: var(--teal);
  font-weight: 800;
}

.path-card-head strong {
  max-width: 170px;
  color: var(--red-dark);
  text-align: right;
  line-height: 1.35;
}

.path-flow {
  position: relative;
  min-height: 250px;
  border: 1px dashed rgba(140, 39, 33, 0.22);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(rgba(181, 138, 61, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 61, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}

.path-node.main {
  width: 108px;
  height: 108px;
  margin: 10px auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(140, 39, 33, 0.22);
}

.path-branch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.path-branch span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(246, 241, 232, 0.94);
  font-weight: 800;
}

.path-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 5px solid var(--teal);
  background: rgba(232, 240, 237, 0.78);
}

.path-result b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.path-result p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.path-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.path-mini-grid span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 109, 104, 0.16);
  border-radius: 6px;
  background: rgba(232, 240, 237, 0.66);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.consulting-board {
  width: min(100%, 470px);
  border: 1px solid rgba(115, 80, 42, 0.24);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.partner-visual-card {
  width: min(100%, 500px);
  display: grid;
  gap: 14px;
}

.partner-hero-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(115, 80, 42, 0.22);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.partner-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.partner-hero-photo figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.partner-board {
  width: 100%;
  box-shadow: 0 10px 24px rgba(56, 35, 24, 0.08);
}

.not-found-visual {
  min-height: 360px;
  place-items: center end;
}

.not-found-visual .partner-hero-photo {
  width: min(100%, 500px);
}

.board-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.board-top span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--red-dark);
  background: var(--paper);
  font-weight: 700;
  font-size: 14px;
}

.decision-map {
  position: relative;
  height: 260px;
  border: 1px dashed rgba(140, 39, 33, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(rgba(181, 138, 61, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 61, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-node {
  position: absolute;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(33, 27, 24, 0.14);
  color: var(--ink);
  background: var(--paper-strong);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(44, 32, 22, 0.1);
}

.node-main {
  left: calc(50% - 41px);
  top: 88px;
  color: white;
  background: var(--red);
}

.node-one {
  left: 28px;
  top: 28px;
}

.node-two {
  right: 30px;
  top: 34px;
}

.node-three {
  left: calc(50% - 41px);
  bottom: 24px;
}

.map-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: rgba(46, 109, 104, 0.5);
}

.line-a {
  left: 107px;
  top: 92px;
  width: 118px;
  transform: rotate(23deg);
}

.line-b {
  right: 112px;
  top: 100px;
  width: 118px;
  transform: rotate(157deg);
}

.line-c {
  left: calc(50% + 1px);
  top: 170px;
  width: 70px;
  transform: rotate(90deg);
}

.board-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
}

.board-note p {
  margin: 4px 0 0;
  color: #42514f;
}

.section-band {
  background: var(--paper);
}

.section-inner {
  padding: 72px 0;
}

#sample,
#booking {
  scroll-margin-top: 92px;
}

#wechat-contact {
  scroll-margin-top: 96px;
}

#deliverables,
#value-check {
  scroll-margin-top: 96px;
}

.result-hero .hero-inner {
  align-items: center;
}

.result-hero h1 {
  max-width: 12em;
  font-size: 52px;
  line-height: 1.08;
}

.result-board {
  width: min(100%, 520px);
  min-height: 440px;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(191, 154, 84, 0.62);
  border-radius: 8px;
  color: #f8f3e9;
  background: #172b27;
  box-shadow: 0 18px 42px rgba(23, 43, 39, 0.18);
}

.result-board-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 214, 151, 0.32);
}

.result-board-head span,
.result-board-head strong {
  display: block;
}

.result-board-head span {
  margin-bottom: 6px;
  color: #e9c77d;
  font-size: 0.82rem;
  font-weight: 900;
}

.result-board-head strong {
  font-size: 1.18rem;
  line-height: 1.55;
}

.result-board-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-board-list div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(244, 214, 151, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.result-board-list span,
.result-board-list strong,
.result-board-list small {
  display: block;
}

.result-board-list span {
  margin-bottom: 10px;
  color: #e9c77d;
  font-weight: 900;
}

.result-board-list small {
  margin-top: 5px;
  color: rgba(248, 243, 233, 0.72);
  line-height: 1.45;
}

.result-board > p {
  margin: 0;
  color: rgba(248, 243, 233, 0.78);
}

.result-delivery-grid .delivery-card {
  min-height: 290px;
}

.deliverable-format {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--red-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.manifest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.manifest-layout > * {
  min-width: 0;
}

.deliverable-manifest {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.manifest-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.manifest-row:last-child {
  border-bottom: 0;
}

.manifest-row > span {
  color: var(--red-dark);
  font-weight: 900;
}

.manifest-row strong,
.manifest-row p {
  display: block;
}

.manifest-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.manifest-row em {
  color: var(--teal);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
}

.report-preview {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #172b27;
}

.report-preview img {
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.report-preview figcaption {
  padding: 18px 20px;
  color: rgba(248, 243, 233, 0.82);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
}

.split-heading > p {
  color: var(--muted);
}

.path-grid,
.service-grid,
.case-grid,
.proof-grid {
  display: grid;
  gap: 18px;
}

.path-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.case-grid,
.proof-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.case-proof-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-proof-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.case-proof-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.case-proof-tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gold);
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.case-proof-card h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.55;
}

.case-proof-card p {
  color: var(--muted);
}

.case-proof-facts {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
}

.case-proof-facts div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(222, 210, 194, 0.82);
}

.case-proof-facts dt {
  color: var(--teal);
  font-weight: 900;
}

.case-proof-facts dd {
  margin: 0;
  color: var(--muted);
}

.case-proof-card .text-link {
  margin-top: auto;
}

.case-proof-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.case-proof-standard {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-proof-standard span {
  min-width: 0;
  padding: 14px 16px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.case-proof-standard span:last-child {
  border-right: 0;
}

.case-proof-standard strong {
  display: block;
  margin-bottom: 3px;
  color: var(--teal);
}

.case-proof-note {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.case-proof-note strong {
  color: var(--teal);
}

.case-proof-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-proof-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.case-proof-grid-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-proof-grid-mini .case-proof-body {
  padding: 18px;
}

.case-proof-grid-mini .case-proof-card h3 {
  font-size: 1rem;
}

.wechat-contact-card.case-proof-contact {
  margin: 0;
  grid-template-columns: 1fr;
}

.case-proof-contact .wechat-qr-card {
  width: min(100%, 210px);
  justify-self: center;
}

.case-proof-contact .contact-methods {
  align-items: flex-start;
}

.delivery-grid,
.material-grid,
.method-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.path-card,
.service-card,
.case-card,
.proof-item,
.insight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.insight-card {
  min-height: auto;
  background: var(--white);
}

.insight-card strong {
  display: inline-flex;
  min-width: 52px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(181, 138, 61, 0.14);
}

.insight-card p {
  color: var(--muted);
}

.path-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.path-card p,
.service-card p,
.case-card p {
  color: var(--muted);
}

.path-card a,
.text-link {
  margin-top: auto;
  color: var(--red-dark);
  font-weight: 800;
}

.path-index {
  width: fit-content;
  min-width: 44px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mist);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.service-card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
}

.service-card.accent {
  border-color: rgba(140, 39, 33, 0.32);
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.card-head span {
  flex: 0 0 auto;
  color: var(--red-dark);
  font-weight: 800;
}

.service-card ul,
.prep-list ul {
  padding-left: 20px;
  color: #4d443e;
}

.service-example {
  margin: 14px 0 18px;
  padding: 14px 0 14px 16px;
  border-left: 4px solid rgba(23, 92, 85, 0.28);
  background: linear-gradient(90deg, rgba(230, 239, 236, 0.72), rgba(230, 239, 236, 0));
}

.service-example strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
}

.service-example p {
  margin: 0;
  color: #514843;
}

.dark-band {
  color: var(--paper-strong);
  background: #241d1a;
}

.dark-band .eyebrow {
  color: #d0b478;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.proof-item {
  border-color: rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.07);
}

.proof-item span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #241d1a;
  background: #d0b478;
  font-weight: 900;
}

.proof-item p {
  color: #d7cdc1;
}

.case-card span {
  color: var(--teal);
  font-weight: 800;
}

.delivery-card,
.material-card,
.method-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
}

.delivery-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.delivery-card > span,
.material-card > span,
.method-card > span,
.process-step > span {
  color: var(--teal);
  font-weight: 900;
}

.delivery-card h3,
.material-card h3,
.method-card h3,
.process-step h3 {
  margin-top: 8px;
}

.delivery-card p,
.material-card p,
.method-card p,
.process-step p {
  color: var(--muted);
}

.compact-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.compact-list li + li {
  margin-top: 4px;
}

.scenario-page .delivery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.scenario-page .delivery-card {
  min-height: auto;
  gap: 8px;
  padding: 18px 20px;
}

.scenario-page .delivery-card h3 {
  margin: 4px 0 6px;
}

.scenario-page .delivery-card p {
  margin-bottom: 0;
}

.scenario-page .delivery-card .compact-list {
  margin-top: 12px;
  padding: 12px 14px 12px 32px;
  border-radius: 8px;
  border: 1px solid rgba(38, 113, 106, .14);
  background: rgba(38, 113, 106, .055);
  line-height: 1.58;
  font-size: 14px;
}

.scenario-page .delivery-card .compact-list li + li {
  margin-top: 2px;
}

@media (max-width: 1180px) {
  .scenario-page .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.delivery-lines {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.delivery-lines b {
  color: var(--red-dark);
}

.process-step {
  min-height: 230px;
  border-left: 4px solid rgba(46, 109, 104, 0.36);
}

.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 38px;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: white;
  background: var(--teal);
  line-height: 1.2;
  white-space: nowrap;
}

.material-card ul,
.method-card ul {
  padding-left: 20px;
  color: #4d443e;
}

.scope-note {
  margin-top: 22px;
  border-left: 4px solid var(--red);
  padding: 16px 18px;
  color: #4d443e;
  background: rgba(140, 39, 33, 0.06);
}

.study-list {
  display: grid;
  gap: 22px;
}

.study-card {
  display: grid;
  gap: 22px;
  border: 1px solid rgba(23, 92, 85, 0.18);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(54, 39, 29, 0.06);
}

.study-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #efe8dc;
}

.study-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  display: block;
  object-fit: cover;
  filter: saturate(.96) contrast(1.02);
}

.study-image figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 244, 218, .55);
  border-radius: 8px;
  color: #fff8e6;
  background: rgba(30, 23, 16, .68);
  font-weight: 800;
  line-height: 1.55;
}

.study-head {
  display: grid;
  gap: 10px;
  max-width: 940px;
}

.study-head span {
  color: var(--teal);
  font-weight: 900;
}

.study-head h3 {
  margin: 0;
  font-size: 26px;
}

.study-head p {
  margin: 0;
  color: var(--muted);
}

.study-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.study-flow > div {
  min-height: 142px;
  padding-left: 16px;
  border-left: 4px solid rgba(23, 92, 85, 0.28);
}

.study-flow strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.study-flow p,
.study-result p {
  margin: 0;
  color: var(--muted);
}

.study-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fit-section {
  background: var(--white);
}

.ziwei-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.palace {
  position: relative;
  min-height: 138px;
  border: 1px solid rgba(115, 80, 42, 0.26);
  border-radius: 6px;
  padding: 14px;
  background: #fffaf0;
}

.palace b,
.palace span,
.palace em,
.palace small {
  display: block;
}

.palace b {
  color: var(--red-dark);
  font-size: 18px;
}

.palace span {
  margin-top: 6px;
  color: #2d524f;
  font-weight: 800;
}

.palace em {
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
}

.palace i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-style: normal;
  font-weight: 900;
}

.ziwei-sample-section .section-inner {
  width: min(1600px, calc(100% - 40px));
}

.chart-cell.is-selected {
  outline: 3px solid rgba(255, 205, 94, 0.82);
  outline-offset: 2px;
}

.chain-filter.active {
  color: #ff4b66;
  background: rgba(255, 61, 93, 0.18);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper-strong);
}

.fit-card.positive {
  border-color: rgba(46, 109, 104, 0.28);
}

.fit-card.caution {
  border-color: rgba(140, 39, 33, 0.24);
}

.fit-card ul {
  padding-left: 20px;
  color: #4d443e;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 36px;
  align-items: start;
}

.booking-copy p {
  color: var(--muted);
}

.prep-list {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.booking-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(140, 39, 33, 0.24);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-form[hidden] {
  display: none !important;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: #463a34;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 109, 104, 0.12);
}

.question-hint-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: -8px;
}

.question-hint-grid span {
  border: 1px solid rgba(46, 109, 104, 0.18);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--teal);
  background: rgba(46, 109, 104, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.form-actions {
  margin: 4px 0 0;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.copy-output {
  min-height: 130px;
  display: none;
  color: #473d37;
  background: var(--paper-strong);
}

.copy-output.is-visible {
  display: block;
}

.contact-nudge {
  max-width: 760px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  margin: -2px 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(140, 39, 33, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: #4d443e;
}

.contact-nudge > * {
  min-width: 0;
}

.contact-nudge strong {
  color: var(--red-dark);
}

.contact-nudge span {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-nudge a,
.contact-email {
  color: var(--red-dark);
  font-weight: 900;
  text-underline-offset: 3px;
}

.contact-trigger-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 22px;
  align-items: stretch;
}

.contact-trigger-layout .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.contact-trigger-layout .section-heading p:last-child {
  color: var(--muted);
}

.contact-trigger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-trigger-card,
.quick-contact-card,
.direct-contact-card {
  border: 1px solid rgba(46, 109, 104, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-trigger-card {
  min-height: 190px;
  padding: 22px;
}

.contact-trigger-card span {
  display: inline-flex;
  min-width: 42px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(181, 138, 61, 0.14);
  font-weight: 900;
}

.contact-trigger-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 20px;
  line-height: 1.35;
}

.contact-trigger-card p,
.quick-contact-card li,
.quick-contact-card p,
.direct-contact-card p {
  color: var(--muted);
}

.quick-contact-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, #fffdf8 0%, #f4ead8 100%);
}

.quick-contact-card h3,
.direct-contact-card strong {
  margin-bottom: 0;
  color: var(--ink);
}

.quick-contact-card ul {
  margin: 0;
  padding-left: 20px;
}

.quick-contact-card .btn {
  justify-self: start;
  margin-top: 2px;
}

.direct-contact-card {
  margin: 22px 0 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(232, 240, 237, 0.72));
}

.direct-contact-card strong,
.direct-contact-card a {
  display: block;
}

.direct-contact-card p {
  margin: 8px 0 10px;
}

.direct-contact-card a {
  color: var(--red-dark);
  font-weight: 900;
}

.wechat-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 16px;
  align-items: center;
}

.wechat-contact-copy {
  min-width: 0;
}

.wechat-qr-card {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(46, 109, 104, 0.16);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.wechat-qr-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.wechat-qr-card figcaption {
  margin-top: 8px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.contact-methods .btn {
  min-height: 42px;
}

.contact-methods .text-link {
  margin-top: 0;
}

.site-footer {
  padding: 34px 0 78px;
  color: #d9d0c5;
  background: #1c1715;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #bfb2a8;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: #f6e7d6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-sticky {
  display: none;
}

@media (min-width: 981px) and (max-width: 1320px) {
  .header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: min(42vw, 280px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 6px;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    bottom: auto;
    z-index: 15;
    width: min(420px, calc(100vw - 40px));
    max-height: calc(100vh - 96px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 18px;
    border: 1px solid rgba(222, 210, 194, 0.82);
    border-radius: 8px;
    color: #4c4039;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: -18px 0 42px rgba(44, 32, 22, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .22s ease, opacity .18s ease, visibility .18s ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 30;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 12;
    background: rgba(24, 20, 18, 0.34);
  }

  body.nav-open .nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(222, 210, 194, 0.72);
  }
}

@media (max-width: 980px) {
  .result-hero h1 {
    max-width: 12em;
    font-size: 46px;
  }

  .header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: min(42vw, 280px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 6px;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    bottom: auto;
    z-index: 15;
    width: min(86vw, 320px);
    max-height: calc(100vh - 96px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 18px;
    border: 1px solid rgba(222, 210, 194, 0.82);
    border-radius: 8px;
    color: #4c4039;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: -18px 0 42px rgba(44, 32, 22, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .22s ease, opacity .18s ease, visibility .18s ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 30;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 12;
    background: rgba(24, 20, 18, 0.34);
  }

  body.nav-open .nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(222, 210, 194, 0.72);
  }

  .hero-inner,
  .split-heading,
  .proof-layout,
  .booking-layout,
  .case-proof-booking-layout,
  .manifest-layout,
  .fit-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .path-grid,
  .service-grid,
  .case-grid,
  .proof-grid,
  .case-proof-grid,
  .case-proof-grid-compact,
  .case-proof-grid-mini,
  .delivery-grid,
  .material-grid,
  .insight-grid,
  .method-grid,
  .process-track,
  .study-flow,
  .fit-columns,
  .professional-grid {
    grid-template-columns: 1fr;
  }

  .case-proof-standard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-proof-standard span:nth-child(2) {
    border-right: 0;
  }

  .case-proof-standard span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .case-proof-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .study-result {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .douyin-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .ziwei-hero .hero-inner {
    grid-template-columns: 1fr;
  }

  .scenario-page .hero-inner {
    grid-template-columns: 1fr;
  }

  .scenario-hero-visual {
    min-height: auto;
    place-items: start;
  }

  .scenario-path-card {
    width: min(100%, 620px);
  }

  .palace,
  .center-palace,
  .palace-1,
  .palace-2,
  .palace-3,
  .palace-4,
  .palace-5,
  .palace-6,
  .palace-7,
  .palace-8,
  .palace-9,
  .palace-10,
  .palace-11,
  .palace-12 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .result-hero h1 {
    font-size: 32px;
  }

  .home-page .hero-section .hero-quicklinks,
  .home-page .hero-section .flagship-strip,
  .home-page .hero-section .outcome-strip,
  .home-page .hero-section .cred-strip,
  .home-page .hero-section .hero-visual {
    display: none;
  }

  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: auto;
    max-width: none;
    margin: 0 14px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: calc(100vw - 146px);
  }

  .nav-links {
    width: min(88vw, 320px);
    padding: 12px 18px;
  }

  .question-hint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card,
  .insight-card {
    min-height: auto;
    padding: 20px;
  }

  .case-proof-body {
    padding: 18px;
  }

  .case-proof-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-proof-standard {
    grid-template-columns: 1fr;
  }

  .case-proof-standard span,
  .case-proof-standard span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-proof-standard span:last-child {
    border-bottom: 0;
  }

  .result-board {
    min-height: auto;
    padding: 20px;
  }

  .result-board-list {
    grid-template-columns: 1fr;
  }

  .result-delivery-grid .delivery-card {
    min-height: auto;
  }

  .manifest-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .manifest-row em {
    grid-column: 2;
  }

  .report-preview img {
    min-height: 240px;
  }

  .service-card,
  .delivery-card,
  .professional-card,
  .material-card,
  .method-card {
    width: min(100%, 360px);
    max-width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .path-card,
  .insight-card,
  .study-card {
    width: min(100%, 360px);
    max-width: 100%;
  }

  .hero-section {
    padding: 42px 0 44px;
  }

  .section-inner {
    padding: 54px 0;
  }

  h1 {
    width: min(100%, 10.8em);
    max-width: calc(100vw - 56px);
    font-size: 30px;
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
    hyphens: auto;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    width: min(100%, 18em);
    font-size: 17px;
    max-width: 18em;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
    hyphens: auto;
  }

  body:not(.english-page) h1,
  body:not(.english-page) .hero-lede {
    word-break: normal;
    line-break: strict;
  }

  body:not(.english-page) :where(h2, h3, p, li, a, strong, small) {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  body.english-page h1,
  body.english-page .hero-lede {
    overflow-wrap: normal;
    word-break: normal;
    line-break: auto;
  }

  body.english-page h1 {
    width: min(100%, 10.8em);
    max-width: 10.8em;
  }

  body.english-page .hero-lede {
    width: min(100%, 19em);
    max-width: 19em;
  }

  .hero-copy,
  .hero-visual,
  .hero-actions,
  .hero-quicklinks,
  .outcome-strip,
  .consulting-board {
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions,
  .form-actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .section-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-quicklinks {
    grid-template-columns: 1fr;
  }

  .hero-quicklinks a,
  .path-card,
  .insight-card {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }

  .path-card p,
  .insight-card p,
  .study-card p,
  .delivery-card p,
  .service-card p,
  .material-card p,
  .professional-card p,
  .method-card p {
    width: min(100%, 20em);
    max-width: 20em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .flagship-strip,
  .cred-strip {
    grid-template-columns: 1fr;
  }

  .flagship-strip article,
  .cred-strip article {
    width: min(100%, 360px);
    max-width: 100%;
    min-width: 0;
  }

  .flagship-strip p,
  .cred-strip p,
  .board-note p {
    width: min(100%, 20em);
    max-width: 20em;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .outcome-strip {
    grid-template-columns: 1fr;
  }

  .consulting-board {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: 16px;
  }

  .board-top {
    grid-template-columns: 1fr;
  }

  .decision-map {
    height: 230px;
  }

  .map-node {
    width: 70px;
    height: 70px;
    font-size: 14px;
  }

  .node-main {
    left: calc(50% - 35px);
    top: 82px;
  }

  .node-one {
    left: 18px;
  }

  .node-two {
    right: 46px;
  }

  .node-three {
    left: calc(50% - 35px);
  }

  .line-a,
  .line-b,
  .line-c {
    display: none;
  }

  .card-head {
    display: grid;
  }

  .study-card {
    padding: 22px;
  }

  .study-head h3 {
    font-size: 22px;
  }

  .study-flow > div {
    min-height: auto;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-sticky {
    position: fixed;
    left: 8px;
    right: auto;
    bottom: 0;
    z-index: 12;
    display: grid;
    width: min(374px, calc(100% - 16px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid rgba(222, 210, 194, 0.9);
    border-radius: 8px 8px 0 0;
    background: var(--white);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-sticky a {
    min-width: 0;
    min-height: 58px;
    display: grid;
    place-items: center;
    font-weight: 900;
    padding: 0 8px;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
  }

  .mobile-sticky a:first-child {
    color: var(--red-dark);
    background: var(--paper-strong);
  }

  .mobile-sticky a:last-child {
    color: white;
    background: var(--red);
  }

  .mobile-sticky.mobile-sticky-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-sticky.mobile-sticky-three a {
    min-height: 64px;
    padding: 0 6px;
    border-right: 1px solid rgba(222, 210, 194, .72);
    font-size: 13px;
  }

  .mobile-sticky.mobile-sticky-three a:last-child {
    border-right: 0;
  }
}

/* Ancient method translated into modern reasoning */
.ancient-modern-strip {
  padding: 64px 0;
  border-top: 1px solid rgba(140, 47, 57, 0.12);
  border-bottom: 1px solid rgba(46, 109, 104, 0.14);
  background: #f4f1e8;
}

.ancient-modern-strip .section-heading {
  margin-bottom: 28px;
}

.ancient-modern-strip .section-heading h2 {
  max-width: 18em;
}

.ancient-modern-strip .section-heading > p,
.ancient-modern-strip .split-heading > p {
  max-width: 42em;
  color: #4f5a56;
}

.ancient-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ancient-modern-card {
  min-width: 0;
  padding: 24px 22px;
  border: 1px solid rgba(67, 78, 72, 0.16);
  border-top: 3px solid #8c2f39;
  border-radius: 6px;
  background: #fffdf8;
}

.ancient-modern-card:nth-child(2) {
  border-top-color: #2e6d68;
}

.ancient-modern-card:nth-child(3) {
  border-top-color: #a18445;
}

.ancient-modern-card > span {
  display: block;
  margin-bottom: 9px;
  color: #8c2f39;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.ancient-modern-card:nth-child(2) > span {
  color: #2e6d68;
}

.ancient-modern-card:nth-child(3) > span {
  color: #80682f;
}

.ancient-modern-card strong {
  display: block;
  margin-bottom: 8px;
  color: #182b27;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 20px;
  line-height: 1.45;
}

.ancient-modern-card p {
  margin: 0;
  color: #59635f;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .ancient-modern-strip {
    padding: 48px 0;
  }

  .ancient-modern-grid {
    grid-template-columns: 1fr;
  }

  .ancient-modern-card {
    padding: 21px 19px;
  }
}

/* Full-site reading architecture */
.reading-trail {
  border-bottom: 1px solid rgba(67, 78, 72, 0.12);
  background: #f7f4ec;
}

.reading-trail-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #68716d;
  font-size: 13px;
}

.reading-trail-path {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.reading-trail-path a {
  color: #2e6d68;
}

.reading-trail-path strong {
  overflow: hidden;
  color: #403832;
  font-weight: 700;
  text-overflow: ellipsis;
}

.reading-trail-next {
  flex: 0 0 auto;
  color: #8c2f39;
  font-weight: 800;
}

.nowrap-term {
  white-space: nowrap;
}

.compact-method-strip {
  padding: 38px 0;
}

.compact-method-strip .section-heading {
  margin-bottom: 20px;
}

.compact-method-strip .section-heading h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}

.compact-method-strip .ancient-modern-grid {
  gap: 12px;
}

.compact-method-strip .ancient-modern-card {
  padding: 17px 18px;
}

.compact-method-strip .ancient-modern-card strong {
  font-size: 17px;
}

.compact-method-strip .ancient-modern-card p {
  font-size: 14px;
  line-height: 1.65;
}

.case-disclosure {
  padding: 34px 0;
  color: #f8f4ea;
  background: #20332f;
}

.case-disclosure-head {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(320px, 1.3fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.case-disclosure .eyebrow {
  color: #d9c182;
}

.case-disclosure h2 {
  margin: 0;
  color: #fffdf8;
  font-size: clamp(25px, 2.6vw, 36px);
}

.case-disclosure-head > p {
  margin: 0;
  color: rgba(255, 253, 248, .72);
  line-height: 1.75;
}

.case-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.case-disclosure-grid > div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.case-disclosure-grid > div:last-child {
  border-right: 0;
}

.case-disclosure-grid span,
.case-disclosure-grid strong {
  display: block;
}

.case-disclosure-grid span {
  margin-bottom: 7px;
  color: #d9c182;
  font-size: 12px;
  font-weight: 800;
}

.case-disclosure-grid strong {
  margin-bottom: 6px;
  color: #fffdf8;
  line-height: 1.45;
}

.case-disclosure-grid p {
  margin: 0;
  color: rgba(255, 253, 248, .68);
  font-size: 14px;
  line-height: 1.65;
}

.home-case-disclosure {
  padding: 20px 0;
  border-top: 1px solid rgba(140, 47, 57, .14);
  border-bottom: 1px solid rgba(46, 109, 104, .14);
  background: #eef2ed;
}

.home-case-disclosure .section-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.home-case-disclosure strong {
  color: #183a35;
}

.home-case-disclosure p {
  margin: 0;
  color: #58645f;
  line-height: 1.7;
}

.home-case-disclosure a {
  color: #8c2f39;
  font-weight: 800;
}

.footer-reading {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-reading strong {
  margin-bottom: 3px;
  color: #fffdf8;
}

.footer-reading a {
  color: #d9d0c5;
}

.footer-reading a:hover {
  color: #fffdf8;
}

.site-footer .footer-inner.footer-layout-three,
.site-footer .footer-inner:has(.footer-reading) {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .55fr) minmax(260px, .75fr);
}

.site-footer {
  padding: 46px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-inner.footer-layout-three {
  gap: clamp(34px, 4vw, 68px);
  align-items: start;
}

.footer-inner.footer-layout-two {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.footer-inner > div:first-child > strong,
.footer-contact-title {
  display: block;
  margin: 0 0 10px;
  color: #fffdf8;
  font-size: 15px;
}

.footer-reading {
  min-width: 0;
}

.footer-compact-reading {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
}

.footer-compact-reading strong {
  margin-bottom: 3px;
  color: #fffdf8;
}

.footer-compact-reading a {
  color: #d9d0c5;
  line-height: 1.65;
}

.footer-compact-reading a:hover {
  color: #fffdf8;
}

.footer-reading a,
.footer-contact a,
.footer-contact span {
  line-height: 1.65;
}

.footer-contact {
  min-width: 0;
  align-content: start;
}

.footer-contact a {
  overflow-wrap: anywhere;
  text-decoration-color: rgba(246, 231, 214, .52);
}

.footer-contact span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

@media (min-width: 901px) and (max-width: 1120px) {
  .site-footer .footer-inner.footer-layout-three {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr);
  }

  .footer-layout-three > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 900px) {
  .reading-trail-next {
    display: none;
  }

  .case-disclosure-head,
  .home-case-disclosure .section-inner,
  .site-footer .footer-inner.footer-layout-three,
  .site-footer .footer-inner.footer-layout-two,
  .site-footer .footer-inner:has(.footer-reading) {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 38px 0 112px;
  }

  .footer-contact span {
    display: grid;
    gap: 7px;
  }

  .footer-inner.footer-layout-three,
  .footer-inner.footer-layout-two {
    gap: 28px;
  }

  .footer-inner.footer-layout-three > * + *,
  .footer-inner.footer-layout-two > * + * {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .case-disclosure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-disclosure-grid > div:nth-child(2) {
    border-right: 0;
  }

  .case-disclosure-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
}

@media (max-width: 560px) {
  .reading-trail-inner {
    width: min(100% - 28px, 1160px);
  }

  .case-disclosure-grid {
    grid-template-columns: 1fr;
  }

  .case-disclosure-grid > div,
  .case-disclosure-grid > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .case-disclosure-grid > div:last-child {
    border-bottom: 0;
  }
}
/* daoxue conversion page refresh 2026-06-09 */
.daoxue-page {
  background: #f4f0e8;
  color: #1f2d29;
}

.sr-hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sr-hero .hero-lede {
  max-width: 760px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.8;
}

.sr-hero .eyebrow {
  color: #f4d38c;
}

.sr-service-grid .service-card {
  border-color: #e4d5bb;
}

@media (max-width: 980px) {
}

@media (max-width: 640px) {

  .sr-hero .hero-lede {
    font-size: 16px;
    line-height: 1.7;
  }

  .sr-hero-inner,
  .section-inner {
    width: min(1180px, calc(100% - 24px));
  }

  .sr-hero-copy,
  .sr-hero-media,
  .sr-hero .hero-lede,
  .mystic-grid article,
  .mystic-method div {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-break: anywhere;
  }
}

.mystic-page .site-header {
  border-bottom: 1px solid rgba(176, 125, 50, .32);
}

.mystic-hero .hero-lede {
  color: rgba(255, 247, 226, .9);
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

.mystic-hero .flagship-strip span {
  display: block;
  min-height: 92px;
  padding: 14px 15px;
  border: 1px solid rgba(227, 184, 105, .34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 246, 224, .16), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.mystic-hero .flagship-strip strong {
  color: #ffd88a;
}

.mystic-hero .flagship-strip small {
  color: rgba(255, 255, 255, .84);
  line-height: 1.55;
}

.mystic-page .section-heading h2 {
  color: #17241f;
}

.mystic-page .service-card,
.mystic-page .delivery-card,
.mystic-page .material-card {
  border-color: #d8b77c;
}

.mystic-page .service-card h3,
.mystic-page .delivery-card h3,
.mystic-page .material-card h3 {
  color: #17241f;
}

.mystic-page .text-link {
  color: #7d4219;
  font-weight: 900;
}

@media (max-width: 1100px) {
}

@media (max-width: 640px) {

  .mystic-hero .hero-lede {
    max-width: 20em;
    word-break: normal;
  }

  .mystic-hero .flagship-strip {
    gap: 10px;
    margin-top: 10px;
  }

  .mystic-hero .flagship-strip span {
    min-height: auto;
    padding: 13px 14px;
  }
}

.photo-case-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(186, 137, 64, .10), transparent 34%),
    linear-gradient(180deg, rgba(28, 20, 14, .02), rgba(28, 20, 14, .06));
}

.lead-photo-section .section-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.photo-case-card {
  padding: 0;
  overflow: hidden;
}

.photo-case-stack {
  display: grid;
  gap: 22px;
}

.photo-analysis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 0;
  align-items: stretch;
}

.photo-analysis-layout.reverse {
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
}

.photo-analysis-layout.reverse .photo-analysis {
  order: 2;
}

.photo-analysis {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #17130d;
}

.photo-analysis img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
}

.photo-analysis::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(17, 12, 8, .72));
  pointer-events: none;
}

.photo-analysis figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 12px 14px;
  border: 1px solid rgba(238, 213, 158, .35);
  border-radius: 14px;
  color: #fff8e8;
  background: rgba(18, 13, 8, .68);
  backdrop-filter: blur(8px);
  font-size: 14px;
  line-height: 1.6;
}

.photo-reading {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 252, 244, .96), rgba(251, 245, 232, .96));
}

.lead-photo-section .photo-case-card {
  border-color: rgba(23, 92, 85, 0.14);
  box-shadow: 0 16px 40px rgba(58, 42, 24, .07);
}

.lead-photo-section .photo-analysis,
.lead-photo-section .photo-analysis img {
  min-height: 320px;
}

.lead-photo-section .photo-analysis figcaption {
  max-width: 440px;
}

.lead-photo-section .photo-reading {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px;
}

.photo-reading h3 {
  margin: 12px 0 18px;
  font-size: 24px;
  line-height: 1.45;
  color: #23190e;
}

.lead-photo-section .photo-reading h3 {
  margin: 0;
  font-size: 23px;
}

.lead-photo-section .photo-reading > p {
  margin: 0;
  max-width: 54ch;
}

.reading-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #6d4218;
  background: #f7e6bf;
  border: 1px solid #e2c783;
  font-weight: 700;
  font-size: 13px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reading-grid div {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #ead8ac;
  background: rgba(255, 255, 255, .72);
}

.reading-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #7b4617;
}

.reading-grid p,
.photo-note {
  margin: 0;
  color: #4e4235;
  line-height: 1.75;
}

.lead-reading-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lead-reading-points > div {
  min-height: 100%;
  padding: 12px 13px;
  border: 1px solid #ead8ac;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .56);
}

.lead-reading-points strong {
  display: block;
  margin-bottom: 5px;
  color: #7b4617;
  font-size: 14px;
}

.lead-reading-points p {
  margin: 0;
  color: #5a4d40;
  font-size: 14px;
  line-height: 1.6;
}

.photo-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #d5b979;
}

@media (max-width: 900px) {
  .photo-analysis-layout,
  .photo-analysis-layout.reverse {
    grid-template-columns: 1fr;
  }

  .photo-analysis-layout.reverse .photo-analysis {
    order: 0;
  }

  .photo-analysis,
  .photo-analysis img {
    min-height: 260px;
  }

  .photo-reading {
    padding: 22px;
  }

  .lead-photo-section .section-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .lead-photo-section .photo-analysis,
  .lead-photo-section .photo-analysis img {
    min-height: 220px;
  }

  .lead-photo-section .photo-analysis figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  .lead-photo-section .photo-reading {
    padding: 18px;
  }

  .reading-grid {
    grid-template-columns: 1fr;
  }

  .lead-reading-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.photo-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-teaser-card {
  overflow: hidden;
  border: 1px solid #e1cfaa;
  border-radius: 22px;
  background: rgba(255, 252, 244, .96);
  box-shadow: 0 20px 52px rgba(58, 42, 24, .10);
}

.photo-teaser-card img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}

.photo-teaser-card div {
  padding: 20px;
}

.photo-teaser-card span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #6d4218;
  background: #f7e6bf;
  border: 1px solid #e2c783;
  font-size: 13px;
  font-weight: 800;
}

.photo-teaser-card h3 {
  margin: 12px 0 10px;
  color: #22180f;
  font-size: 20px;
  line-height: 1.45;
}

.photo-teaser-card p {
  margin: 0 0 14px;
  color: #5d5349;
  line-height: 1.7;
}

.lead-photo-teaser-section .section-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.lead-photo-teaser-section .section-heading {
  margin-bottom: 24px;
}

.lead-photo-teaser-section .photo-teaser-grid {
  gap: 16px;
}

.lead-photo-teaser-section .photo-teaser-card {
  box-shadow: 0 16px 40px rgba(58, 42, 24, .08);
}

.lead-photo-teaser-section .photo-teaser-card img {
  height: 196px;
}

.lead-photo-teaser-section .photo-teaser-card div {
  padding: 18px;
}

.photo-submit-guide {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e0c996;
  border-radius: 18px;
  background: #fff8e6;
}

.photo-submit-guide h3 {
  margin: 0 0 10px;
  color: #7b4617;
}

.photo-submit-guide ul {
  margin: 0;
  padding-left: 20px;
  color: #51463a;
  line-height: 1.75;
}

.evidence-grid .material-card {
  background: rgba(255, 252, 244, .98);
}

.professional-standard-section {
  background:
    linear-gradient(135deg, rgba(255, 248, 230, .94), rgba(238, 230, 210, .78)),
    radial-gradient(circle at 20% 20%, rgba(125, 66, 25, .10), transparent 32%);
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.standard-grid article {
  padding: 22px;
  border: 1px solid #d9bd81;
  border-radius: 20px;
  background: rgba(255, 252, 244, .96);
  box-shadow: 0 18px 42px rgba(58, 42, 24, .08);
}

.standard-grid span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #7b4617;
  background: #f7e6bf;
  border: 1px solid #e2c783;
  font-size: 13px;
  font-weight: 900;
}

.standard-grid h3 {
  margin: 12px 0 10px;
  color: #20170e;
  font-size: 20px;
  line-height: 1.45;
}

.standard-grid p {
  margin: 0;
  color: #5b5045;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .contact-nudge {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 14px;
  }

  .contact-nudge strong,
  .contact-nudge span,
  .contact-nudge a {
    display: block;
    white-space: normal;
  }

  .contact-nudge span {
    margin: 8px 0;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .contact-methods {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-methods .btn {
    width: 100%;
  }

  .wechat-contact-card {
    grid-template-columns: 1fr;
  }

  .wechat-qr-card {
    width: min(100%, 220px);
  }

  .contact-trigger-layout {
    grid-template-columns: 1fr;
  }

  .contact-trigger-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact-card .btn {
    width: 100%;
  }

  .photo-teaser-grid {
    grid-template-columns: 1fr;
  }

  .photo-teaser-card img {
    height: 240px;
  }

  .standard-grid {
    grid-template-columns: 1fr;
  }

  .lead-photo-teaser-section .section-inner {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .lead-photo-teaser-section .photo-teaser-card img {
    height: 208px;
  }

  .lead-photo-teaser-section .photo-teaser-card div {
    padding: 16px;
  }
}

/* Integrated consultation case library */
.integrated-hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  display: flex;
  align-items: flex-end;
  color: #fffdf8;
  background-color: #263f3a;
  background-image: url("/assets/generated/dreamina_20260612/consulting-report-case-wide.webp");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.integrated-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(19, 31, 29, 0.72);
}

.integrated-hero-layout {
  width: min(1180px, calc(100% - 40px));
  padding-top: 88px;
  padding-bottom: 72px;
}

.integrated-hero .hero-copy {
  max-width: 830px;
}

.integrated-hero h1 {
  margin: 12px 0 18px;
  max-width: 800px;
  color: #fffdf8;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

.integrated-hero .eyebrow,
.integrated-hero .hero-lede {
  color: #f6efe2;
}

.integrated-hero .hero-lede {
  max-width: 790px;
  font-size: 19px;
}

.integrated-hero .btn.secondary {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.55);
  background: rgba(20, 32, 30, 0.45);
}

.evidence-notice {
  background: #25201d;
  color: #fffaf1;
}

.evidence-notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.evidence-notice-grid > div {
  min-width: 0;
  padding: 26px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.evidence-notice-grid > div:last-child {
  border-right: 0;
}

.evidence-notice-grid span,
.evidence-notice-grid strong,
.evidence-notice-grid p {
  display: block;
}

.evidence-notice-grid span {
  color: #d8b466;
  font-size: 13px;
  font-weight: 800;
}

.evidence-notice-grid strong {
  margin-top: 5px;
  font-size: 17px;
}

.evidence-notice-grid p {
  margin: 5px 0 0;
  color: #d5cec6;
  font-size: 14px;
}

.integration-method-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.integration-method-grid article {
  min-width: 0;
  padding: 22px 20px;
  border-top: 3px solid var(--teal);
  background: var(--paper-strong);
}

.integration-method-grid span,
.case-flow-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.integration-method-grid h3,
.case-flow-grid h3 {
  margin: 8px 0;
  font-size: 19px;
}

.integration-method-grid p,
.case-flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.method-boundary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 22px;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: #f1e5df;
}

.method-boundary strong {
  color: var(--red-dark);
}

.method-boundary p {
  margin: 0;
}

.case-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-index-grid a {
  min-width: 0;
  padding: 24px 20px;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background-color 160ms ease, color 160ms ease;
}

.case-index-grid a:last-child {
  border-right: 0;
}

.case-index-grid a:hover,
.case-index-grid a:focus-visible {
  color: #fff;
  background: var(--teal);
}

.case-index-grid span,
.case-index-grid strong,
.case-index-grid small {
  display: block;
}

.case-index-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.case-index-grid a:hover span,
.case-index-grid a:focus-visible span {
  color: #f0d08c;
}

.case-index-grid strong {
  margin-top: 12px;
  font-size: 19px;
}

.case-index-grid small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.case-index-grid a:hover small,
.case-index-grid a:focus-visible small {
  color: #e9f2ef;
}

.integrated-case {
  scroll-margin-top: 88px;
  padding: 84px 0;
}

.integrated-case > .section-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.integrated-case-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.integrated-case-head h2 {
  margin: 8px 0 16px;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
}

.integrated-case-head p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.integrated-case-head img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.case-evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-evidence-strip span {
  min-width: 0;
  padding: 16px 20px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.case-evidence-strip span:last-child {
  border-right: 0;
}

.case-evidence-strip b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.dual-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.dual-track-grid section {
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.section-band .dual-track-grid section {
  background: #fffdf8;
}

.track-label {
  display: inline-block;
  padding: 4px 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.track-label.tradition {
  background: var(--red);
}

.track-label.modern {
  background: var(--teal);
}

.dual-track-grid h3 {
  margin: 14px 0 12px;
  font-size: 23px;
}

.dual-track-grid ul {
  margin: 0;
  padding-left: 21px;
  color: var(--muted);
}

.dual-track-grid li + li {
  margin-top: 8px;
}

.case-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.case-flow-grid > div {
  min-width: 0;
  padding: 22px 20px;
  border-top: 3px solid var(--gold);
  background: var(--mist);
}

.metric-table {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
}

.metric-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.metric-table th,
.metric-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.metric-table th {
  color: #fff;
  background: #315f58;
  font-size: 14px;
}

.metric-table td {
  color: #5d554e;
}

.metric-table tr:last-child td {
  border-bottom: 0;
}

.metric-table td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.case-next {
  margin-top: 20px;
  text-align: right;
}

.reference-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-links a {
  min-width: 0;
  padding: 22px 20px;
  color: var(--ink);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.reference-links a:last-child {
  border-right: 0;
}

.reference-links strong,
.reference-links span {
  display: block;
}

.reference-links strong {
  color: var(--teal);
}

.reference-links span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.integrated-cta {
  border-top: 4px solid var(--teal);
}

@media (max-width: 1080px) {
  .integration-method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-index-grid a:nth-child(3) {
    border-right: 0;
  }

  .case-flow-grid,
  .reference-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-links a:nth-child(2) {
    border-right: 0;
  }

  .reference-links a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .integrated-hero {
    min-height: 590px;
    background-position: 62% center;
  }

  .integrated-hero-layout {
    width: calc(100% - 28px);
    padding-top: 76px;
    padding-bottom: 52px;
  }

  .integrated-hero h1 {
    max-width: 12em;
    font-size: 42px;
  }

  .integrated-hero .hero-lede {
    font-size: 16px;
  }

  .evidence-notice-grid,
  .integration-method-grid,
  .case-index-grid,
  .integrated-case-head,
  .case-evidence-strip,
  .dual-track-grid,
  .case-flow-grid,
  .reference-links,
  .method-boundary {
    grid-template-columns: 1fr;
  }

  .evidence-notice-grid > div,
  .case-index-grid a,
  .case-evidence-strip span,
  .reference-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evidence-notice-grid > div {
    border-color: rgba(255, 255, 255, 0.16);
  }

  .evidence-notice-grid > div:last-child,
  .case-index-grid a:last-child,
  .case-evidence-strip span:last-child,
  .reference-links a:last-child {
    border-bottom: 0;
  }

  .integrated-case {
    padding: 58px 0;
  }

  .integrated-case-head {
    gap: 26px;
  }

  .integrated-case-head h2 {
    font-size: 32px;
  }

  .dual-track-grid section {
    padding: 22px 20px;
  }

  .case-next {
    text-align: left;
  }

  .integrated-mobile-sticky {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Cultural homepage: a quieter first impression for readers arriving through traditional culture. */
.home-page .hero-section {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fffdf8;
  background:
    linear-gradient(90deg, rgba(15, 31, 28, 0.97) 0%, rgba(15, 31, 28, 0.95) 42%, rgba(15, 31, 28, 0.86) 72%, rgba(15, 31, 28, 0.72) 100%),
    url('/assets/sanrui-luoshu.svg') center / cover no-repeat;
}

.home-page .hero-inner {
  display: block;
}

.home-page .hero-copy {
  max-width: 860px;
}

.home-page .hero-copy h1 {
  max-width: 860px;
  color: #fffdf8;
}

.home-page .hero-section .eyebrow {
  color: #d8c38c;
}

.home-page .hero-section .hero-lede {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.86);
  line-height: 1.85;
}

.home-page .hero-section .btn.secondary {
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(15, 31, 28, 0.58);
}

.home-page .hero-section .btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(15, 31, 28, 0.78);
}

.home-page .hero-section .contact-nudge {
  border-color: rgba(216, 195, 140, 0.34);
  background: rgba(9, 22, 20, 0.62);
  color: #fffdf8;
}

.home-page .hero-section .contact-nudge strong,
.home-page .hero-section .contact-nudge a {
  color: #e4cf95;
}

.home-page .hero-section .contact-nudge span {
  color: rgba(255, 253, 248, 0.76);
}

.home-page .hero-section .hero-quicklinks {
  margin-top: 22px;
}

.home-page .hero-section .hero-quicklinks a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(9, 22, 20, 0.7);
  backdrop-filter: blur(8px);
}

.home-page .hero-section .hero-quicklinks strong {
  color: #e4cf95;
}

.home-page .hero-section .hero-quicklinks span {
  color: rgba(255, 253, 248, 0.72);
}

.culture-path-section .path-card {
  display: flex;
  flex-direction: column;
  border-top: 3px solid rgba(140, 47, 57, 0.78);
}

.culture-path-section .path-index {
  color: var(--teal);
}

.method-translation {
  display: grid;
  gap: 10px;
  flex: 1;
  margin: 4px 0 18px;
}

.method-translation p {
  margin: 0;
  padding: 11px 12px;
  border-left: 3px solid rgba(46, 109, 104, 0.42);
  background: rgba(232, 240, 237, 0.62);
}

.method-translation p:first-child {
  border-left-color: rgba(140, 47, 57, 0.48);
  background: rgba(140, 47, 57, 0.055);
}

.method-translation strong {
  display: block;
  margin-bottom: 3px;
  color: var(--red-dark);
}

.method-translation p:last-child strong {
  color: var(--teal);
}

.consultation-mode-section {
  color: #fffdf8;
  background: #182b27;
}

.consultation-mode-section .section-heading h2 {
  color: #fffdf8;
}

.consultation-mode-section .section-heading > p,
.consultation-mode-section .split-heading > p {
  color: rgba(255, 253, 248, 0.72);
}

.consultation-mode-section .eyebrow {
  color: #d8c38c;
}

.consultation-mode-section .process-step {
  border-color: rgba(255, 255, 255, 0.14);
  border-left-color: rgba(216, 195, 140, 0.72);
  background: rgba(255, 253, 248, 0.06);
}

.consultation-mode-section .process-step > span {
  color: #182b27;
  background: #d8c38c;
}

.consultation-mode-section .process-step h3 {
  color: #fffdf8;
}

.consultation-mode-section .process-step p {
  color: rgba(255, 253, 248, 0.72);
}

.consultation-mode-section .btn.secondary {
  color: #fffdf8;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 253, 248, 0.06);
}

@media (max-width: 680px) {
  .home-page .hero-section {
    min-height: 620px;
    padding: 58px 0 54px;
    background-position: 63% center;
  }

  .home-page .hero-copy h1 {
    max-width: 8em;
    font-size: 42px;
  }

  .home-page .hero-section .hero-lede {
    max-width: 21em;
    font-size: 16px;
  }
}
.page-next-section,
.page-specific-framework,
.method-case-path,
.consulting-evidence-photo,
.case-disclosure {
  scroll-margin-top: 96px;
}

/* Trust-depth edition: background, review standards and evidence states. */
.trust-fact-section {
  padding: 34px 0;
  border-top: 1px solid rgba(181, 138, 61, 0.22);
  border-bottom: 1px solid rgba(181, 138, 61, 0.22);
  background: #efe8dc;
}

.home-trust-fact-section {
  padding: 64px 0;
}

.trust-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-fact {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(118, 96, 70, 0.2);
  border-top: 3px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.86);
}

.trust-fact > span,
.trust-standard-card > span,
.report-audit-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.trust-fact h3,
.trust-standard-card h3,
.report-audit-grid h3 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.42;
}

.trust-fact p,
.trust-standard-card p,
.report-audit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.trust-standard-section {
  background: #f8f4ec;
}

.trust-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-standard-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(46, 109, 104, 0.2);
  border-left: 4px solid rgba(46, 109, 104, 0.72);
  border-radius: 6px;
  background: var(--white);
}

.about-hero .hero-copy {
  max-width: 880px;
}

.about-photo-section .photo-reading h2 {
  margin: 14px 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.about-page .study-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-page .proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-report-sample {
  background: #efe8dc;
}

.report-audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(118, 96, 70, 0.2);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.report-audit-grid article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(118, 96, 70, 0.18);
}

.report-audit-grid article:last-child {
  border-right: 0;
}

.engagement-standard-section .study-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .trust-fact-grid,
  .report-audit-grid,
  .about-page .proof-grid,
  .engagement-standard-section .study-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-audit-grid article:nth-child(2) {
    border-right: 0;
  }

  .report-audit-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(118, 96, 70, 0.18);
  }
}

@media (max-width: 760px) {
  .home-trust-fact-section {
    padding: 46px 0;
  }

  .trust-fact-grid,
  .trust-standard-grid,
  .report-audit-grid,
  .about-page .study-list,
  .about-page .proof-grid,
  .engagement-standard-section .study-list {
    grid-template-columns: 1fr;
  }

  .trust-fact,
  .trust-standard-card,
  .report-audit-grid article {
    padding: 20px;
  }

  .report-audit-grid article,
  .report-audit-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(118, 96, 70, 0.18);
  }

  .report-audit-grid article:last-child {
    border-bottom: 0;
  }
}

.evidence-ledger-section {
  background: #f1ece3;
}

.evidence-ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(46, 109, 104, 0.22);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.evidence-ledger-card {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid rgba(46, 109, 104, 0.18);
}

.evidence-ledger-card:last-child {
  border-right: 0;
}

.evidence-ledger-card > span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

.evidence-ledger-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.evidence-ledger-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cross-case-evidence-section {
  background: #f8f4ec;
}

.cross-case-evidence-section .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.table-scroll-hint {
  display: none;
}

.cross-case-evidence-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  border: 1px solid rgba(118, 96, 70, 0.22);
  background: var(--white);
}

.cross-case-evidence-table th,
.cross-case-evidence-table td {
  padding: 16px 18px;
  border-right: 1px solid rgba(118, 96, 70, 0.16);
  border-bottom: 1px solid rgba(118, 96, 70, 0.16);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.cross-case-evidence-table th {
  color: var(--red-dark);
  background: #eee6da;
  font-size: 14px;
}

.cross-case-evidence-table td:first-child {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .evidence-ledger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-ledger-card:nth-child(2) {
    border-right: 0;
  }

  .evidence-ledger-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(46, 109, 104, 0.18);
  }
}

@media (max-width: 680px) {
  .table-scroll-hint {
    display: block;
    margin: -6px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
  }

  .evidence-ledger-grid {
    grid-template-columns: 1fr;
  }

  .evidence-ledger-card,
  .evidence-ledger-card:nth-child(2) {
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(46, 109, 104, 0.18);
  }

  .evidence-ledger-card:last-child {
    border-bottom: 0;
  }
}



.email-draft-hidden { display: none; }

@font-face { font-family: 'Sanrui Serif SC'; src: url('/assets/fonts/sanrui-serif-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
h1, h2, .eyebrow, .section-index, .panel-title, .brand strong { font-family: 'Sanrui Serif SC', 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }
.eyebrow { letter-spacing: .14em; }
.brand-mark { border: 2px solid currentColor; border-radius: 6px; }
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.contrast-card { padding: 14px 18px; border-radius: 10px; font-size: 14.5px; line-height: 1.7; }
.contrast-card strong { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .08em; }
.contrast-card.is-old { background: rgba(140,47,57,.05); border: 1px dashed rgba(140,47,57,.28); color: #59635f; }
.contrast-card.is-new { background: rgba(46,109,104,.07); border: 1px solid rgba(46,109,104,.28); color: #182b27; }
.contrast-card.is-new strong { color: #2e6d68; }
.contrast-card.is-old strong { color: #8c2f39; }
@media (max-width: 680px) { .contrast-grid { grid-template-columns: 1fr; } }



/* theme.css; original cascade order. */
/* ============================================================
   三睿顾问 · 全站统一主题层 theme.css
   设计令牌与全站共享组件（页头导航 / 页脚 / 按钮 / 面包屑 / 移动快捷栏）
   所有页面在本文件之后加载自己的页面样式；本层是"同一个网站"的视觉底座。
   ============================================================ */

:root {
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --ink: #211b18;
  --muted: #6c625b;
  --line: #ded2c2;
  --red: #8c2721;
  --red-dark: #631b18;
  --gold: #b58a3d;
  --teal: #2e6d68;
  --mist: #e8f0ed;
  --white: #fffdf8;
  --shadow: 0 18px 48px rgba(44, 32, 22, 0.12);
  --serif: 'Sanrui Serif SC', 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

@font-face {
  font-family: 'Sanrui Serif SC';
  src: url('/assets/fonts/sanrui-serif-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
.mobile-sticky a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(46, 109, 104, 0.42);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.eyebrow,
.section-index,
.panel-title,
.brand strong {
  font-family: var(--serif);
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .14em;
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 210, 194, 0.76);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 6px;
  color: var(--paper-strong);
  background: var(--red-dark);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #4c4039;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 24px rgba(44, 32, 22, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

body.nav-open .nav-toggle {
  gap: 0;
}

body.nav-open .nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -9px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- 按钮 ---------- */

.header-cta,
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.btn.primary {
  color: white;
  background: var(--red);
}

.header-cta:hover,
.btn.primary:hover {
  background: var(--red-dark);
}

.btn.secondary {
  color: var(--red-dark);
  background: var(--paper-strong);
  border-color: var(--line);
}

.btn.tertiary {
  color: var(--teal);
  background: var(--mist);
  border-color: rgba(46, 109, 104, 0.18);
}

/* ---------- 阅读路径（面包屑） ---------- */

.reading-trail {
  border-bottom: 1px solid rgba(67, 78, 72, 0.12);
  background: #f7f4ec;
}

.reading-trail-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #68716d;
  font-size: 13px;
}

.reading-trail-path {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.reading-trail-path a {
  color: #2e6d68;
}

.reading-trail-path strong {
  overflow: hidden;
  color: #403832;
  font-weight: 700;
  text-overflow: ellipsis;
}

.reading-trail-next {
  flex: 0 0 auto;
  color: #8c2f39;
  font-weight: 800;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 46px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #d9d0c5;
  background: #1c1715;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 26px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #bfb2a8;
}

.footer-inner > div:first-child > strong,
.footer-contact-title {
  display: block;
  margin: 0 0 10px;
  color: #fffdf8;
  font-size: 15px;
}

.footer-reading {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
}

.footer-reading strong {
  margin-bottom: 3px;
  color: #fffdf8;
}

.footer-reading a {
  color: #d9d0c5;
}

.footer-reading a:hover {
  color: #fffdf8;
}

.footer-reading a,
.footer-contact a,
.footer-contact span {
  line-height: 1.65;
}

.footer-contact {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-contact a {
  color: #f6e7d6;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(246, 231, 214, .52);
  text-underline-offset: 3px;
}

.footer-contact span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.site-footer .footer-inner.footer-layout-three,
.site-footer .footer-inner:has(.footer-reading) {
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .55fr) minmax(260px, .75fr);
}

.footer-inner.footer-layout-three {
  gap: clamp(34px, 4vw, 68px);
  align-items: start;
}

.footer-inner.footer-layout-two {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

/* ---------- 移动快捷栏 ---------- */

.mobile-sticky {
  display: none;
}

/* ---------- 工具页统一钩子 ---------- */

body.tool-page {
  background: var(--white);
}

body.tool-page::before {
  display: none;
}

.service-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid rgba(46, 109, 104, 0.28);
  border-radius: 999px;
  color: var(--teal);
  background: var(--mist);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.service-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a9a94;
}

.service-state.is-online i {
  background: #2e9e6b;
}

/* ---------- 响应式：页头 ---------- */

@media (min-width: 981px) and (max-width: 1320px) {
  .header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: min(42vw, 280px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 6px;
  }

  .header-cta,
  .service-state {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    bottom: auto;
    z-index: 15;
    width: min(420px, calc(100vw - 40px));
    max-height: calc(100vh - 96px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 18px;
    border: 1px solid rgba(222, 210, 194, 0.82);
    border-radius: 8px;
    color: #4c4039;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: -18px 0 42px rgba(44, 32, 22, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .22s ease, opacity .18s ease, visibility .18s ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 30;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 12;
    background: rgba(24, 20, 18, 0.34);
  }

  body.nav-open .nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(222, 210, 194, 0.72);
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: min(42vw, 280px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 6px;
  }

  .header-cta,
  .service-state {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    bottom: auto;
    z-index: 15;
    width: min(86vw, 320px);
    max-height: calc(100vh - 96px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 18px;
    border: 1px solid rgba(222, 210, 194, 0.82);
    border-radius: 8px;
    color: #4c4039;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: -18px 0 42px rgba(44, 32, 22, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .22s ease, opacity .18s ease, visibility .18s ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 30;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 12;
    background: rgba(24, 20, 18, 0.34);
  }

  body.nav-open .nav-links {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(222, 210, 194, 0.72);
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: auto;
    max-width: none;
    margin: 0 14px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    max-width: calc(100vw - 146px);
  }

  .site-footer {
    padding: 38px 0 112px;
  }

  .mobile-sticky {
    position: fixed;
    left: 8px;
    right: auto;
    bottom: 0;
    z-index: 12;
    display: grid;
    width: min(374px, calc(100% - 16px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid rgba(222, 210, 194, 0.9);
    border-radius: 8px 8px 0 0;
    background: var(--white);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-sticky a {
    min-width: 0;
    min-height: 58px;
    display: grid;
    place-items: center;
    font-weight: 900;
    padding: 0 8px;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
  }

  .mobile-sticky a:first-child {
    color: var(--red-dark);
    background: var(--paper-strong);
  }

  .mobile-sticky a:last-child {
    color: white;
    background: var(--red);
  }
}

/* ---------- 响应式：页脚 ---------- */

@media (min-width: 901px) and (max-width: 1120px) {
  .site-footer .footer-inner.footer-layout-three {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr);
  }

  .footer-layout-three > div:first-child {
    grid-column: 1 / -1;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 900px) {
  .reading-trail-next {
    display: none;
  }

  .site-footer .footer-inner.footer-layout-three,
  .site-footer .footer-inner.footer-layout-two,
  .site-footer .footer-inner:has(.footer-reading) {
    grid-template-columns: 1fr;
  }

  .footer-contact span {
    display: grid;
    gap: 7px;
  }

  .footer-inner.footer-layout-three,
  .footer-inner.footer-layout-two {
    gap: 28px;
  }

  .footer-inner.footer-layout-three > * + *,
  .footer-inner.footer-layout-two > * + * {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}

/* 卡片内主按钮 */
.delivery-card .btn { margin-top: 16px; }

/* 首页免费工具区四列 */
.tools-free-section .delivery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .tools-free-section .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tools-free-section .delivery-grid { grid-template-columns: 1fr; } }

/* Keep the full desktop header between the mobile and wide-desktop breakpoints. */
@media (min-width: 981px) and (max-width: 1320px) {
  .header-inner { display: flex; align-items: center; gap: 14px; padding: 0; }
  .nav-toggle { display: none; }
  .header-cta, .service-state { display: inline-flex; }
  .nav-links {
    position: static; width: auto; max-height: none; display: flex;
    flex-direction: row; align-items: center; gap: 14px; margin-left: auto;
    padding: 0; border: 0; border-radius: 0; background: transparent;
    box-shadow: none; overflow: visible; opacity: 1; visibility: visible;
    pointer-events: auto; transform: none; transition: none;
  }
  .nav-links a { padding: 8px 0; border-bottom: 0; }
}
