@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Noto+Serif+TC:wght@400;500;700;900&display=swap');

:root {
  --ink: #232b25;
  --green: #5c7263;
  --green-deep: #41544a;
  --paper: #f5f4ee;
  --mist: #e9ece3;
  --gold: #a98c55;
  --gold-light: #dcc79a;
  --line: rgba(35, 43, 37, 0.2);
  --content: 1120px;
  --reading: 740px;
  --serif: 'Noto Serif TC', 'PMingLiU', 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
main, section, header, footer { width: 100%; max-width: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper); background: var(--green-deep); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

[data-site-header] { position: sticky; z-index: 100; top: 0; }
.site-header {
  border-bottom: 1px solid rgba(169, 140, 85, 0.34);
  background: rgba(245, 244, 238, 0.96);
  backdrop-filter: blur(10px);
}
.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 auto;
  padding: 10px 0;
}
.brand { flex: 0 0 auto; color: var(--gold); text-decoration: none; }
.brand-title { display: inline-block; padding: 4px 11px 5px; border: 1px solid rgba(169, 140, 85, 0.72); box-shadow: 4px 4px 0 rgba(169, 140, 85, 0.18); font-size: clamp(23px, 2vw, 27px); font-weight: 900; letter-spacing: 0.12em; line-height: 1.2; white-space: nowrap; }
.main-nav { flex: 0 1 auto; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  color: var(--paper);
  border-radius: 999px;
  background: var(--green-deep);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease;
}
.nav-link:hover { background: var(--ink); transform: translateY(-1px); }
.nav-link[aria-current='page'] { background: #2f4338; font-weight: 900; }
.nav-link--buy { background: var(--gold); }
.nav-link--buy:hover { background: #8f7545; }

.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }
.reading-center { width: min(100%, var(--reading)); margin-inline: auto; }
.section { padding: clamp(72px, 7vw, 108px) 0; }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--deep { color: var(--paper); background: var(--green-deep); }
.section--ink { color: var(--paper); background: var(--ink); }
.section--compact { padding: clamp(54px, 6vw, 82px) 0; }
.section + .section { border-top: 1px solid rgba(169, 140, 85, 0.17); }
.section-number {
  width: min(calc(100% - 40px), var(--content));
  display: block;
  margin: 0 auto 22px;
  color: rgba(169, 140, 85, 0.5);
  font: 500 clamp(48px, 6vw, 82px)/1 Georgia, serif;
  text-align: right;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.section--deep .eyebrow, .section--ink .eyebrow { color: var(--gold-light); }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.35; text-wrap: balance; }
h1 { font-size: clamp(46px, 4.4vw, 60px); }
h2 { font-size: clamp(36px, 3.5vw, 48px); }
h3 { font-size: clamp(24px, 2.2vw, 31px); }
h4 { font-size: 22px; }
.lede {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.85;
  text-wrap: pretty;
}
.section--deep .lede, .section--ink .lede { color: rgba(245, 244, 238, 0.84); }
.section-heading { margin-bottom: clamp(38px, 5vw, 64px); }
.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: clamp(34px, 5vw, 72px);
}
.section-heading--split .lede { margin: 0; }
.editorial-heading-stack h2 { max-width: none; white-space: nowrap; }
.editorial-heading-stack .lede { margin-top: 16px; }
.gold { color: var(--gold-light); }
.rule { width: 62px; height: 1px; margin: 26px 0; background: var(--gold); }
.meta-line { color: var(--green); font-size: 16px; letter-spacing: 0.12em; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  color: var(--paper);
  border: 1px solid var(--green-deep);
  border-radius: 999px;
  background: var(--green-deep);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { border-color: var(--gold); transform: translateY(-1px); }
.button--outline { color: var(--green-deep); background: transparent; }
.button--light { color: var(--paper); border-color: rgba(245, 244, 238, 0.55); background: transparent; }
.button--small { min-height: 40px; padding: 7px 18px; }
.button:disabled { cursor: not-allowed; opacity: 0.55; transform: none; }
.text-link { color: var(--green-deep); font-weight: 700; text-decoration-color: var(--gold); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.page-hero { padding: clamp(48px, 5vw, 64px) 0; background: var(--mist); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.26fr);
  align-items: end;
  gap: clamp(36px, 6vw, 80px);
}
.page-hero-grid--single { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { max-width: 880px; }
.page-hero .lede { color: var(--green-deep); }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
}
.content-grid--single { grid-template-columns: minmax(0, 1fr); }
.aside-note { position: sticky; top: 100px; padding-top: 22px; border-top: 2px solid var(--gold); }
.aside-note p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.prose { max-width: var(--reading); font-size: clamp(18px, 1.45vw, 20px); line-height: 1.95; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; text-wrap: pretty; }
.prose h3 { margin: 2em 0 0.8em; }
.prose h4 { margin: 1.8em 0 0.7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.55em; }

/* 關於本書：流程線、能力軸線、垂直列表與章節時間軸。 */
.concept-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 50px);
  margin-top: 52px;
}
.concept-step { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.concept-step::before { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; content: ''; border-radius: 50%; background: var(--gold); }
.concept-step .index { display: block; margin-bottom: 18px; color: var(--gold); font: 500 16px/1.4 var(--mono); }
.concept-step h3 { font-size: 28px; }
.concept-step p { margin: 12px 0 0; font-size: 18px; line-height: 1.7; }
.ability-timeline { counter-reset: ability; }
.ability-step {
  counter-increment: ability;
  display: grid;
  grid-template-columns: 72px minmax(170px, 0.42fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.ability-step:last-child { border-bottom: 1px solid var(--line); }
.ability-step::before { color: var(--gold); content: '0' counter(ability); font: 500 24px/1 var(--mono); }
.ability-step strong { font-size: 22px; }
.ability-step p { margin: 0; font-size: 18px; }
.trap-editorial { margin-top: 34px; }
.trap-entry {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.42fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(245, 244, 238, 0.26);
}
.trap-entry:last-child { border-bottom: 1px solid rgba(245, 244, 238, 0.26); }
.trap-entry b { color: var(--gold-light); font: 500 19px/1 var(--mono); }
.trap-entry strong { font-size: 23px; }
.trap-entry span { color: rgba(245, 244, 238, 0.72); font-size: 18px; }
.toc-timeline { border-left: 1px solid rgba(169, 140, 85, 0.55); padding-left: clamp(26px, 4vw, 54px); }
.toc-part { position: relative; padding: 0 0 44px; }
.toc-part::before { position: absolute; top: 8px; left: calc(clamp(26px, 4vw, 54px) * -1 - 6px); width: 11px; height: 11px; content: ''; border-radius: 50%; background: var(--gold); }
.toc-part:last-child { padding-bottom: 0; }
.toc-part .part-label { color: var(--gold); font-size: 16px; font-weight: 700; letter-spacing: 0.12em; }
.toc-part h3 { margin-top: 6px; }
.toc-part ol, .toc-part ul { margin: 22px 0 0; padding-left: 1.35em; }
.toc-part li { margin-bottom: 16px; font-size: 19px; }
.toc-part small { display: block; margin-top: 3px; color: var(--green); font-size: 16px; }
.quote-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(38px, 6vw, 82px); }
.book-quote { margin: 0; padding: 30px 0; border-top: 1px solid var(--line); }
.book-quote blockquote { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.75; }
.book-quote cite { display: block; margin-top: 18px; color: var(--green); font-size: 16px; font-style: normal; }

/* 推薦文章：同頁展開的編輯式長文。 */
details.editorial-details { border-top: 1px solid var(--gold); }
details.editorial-details:last-child { border-bottom: 1px solid var(--line); }
.editorial-details summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(116px, auto);
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.editorial-details summary::-webkit-details-marker { display: none; }
.detail-no { color: var(--gold); font: 500 20px/1 var(--mono); }
.detail-title strong { display: block; font-size: clamp(21px, 2vw, 28px); }
.detail-title span { display: block; margin-top: 5px; color: var(--green); font-size: 18px; line-height: 1.55; }
.section--deep .detail-title span { color: rgba(245, 244, 238, 0.75); }
.detail-icon { justify-self: end; color: var(--green-deep); border-bottom: 1px solid var(--gold); font-size: 16px; font-weight: 700; white-space: nowrap; }
.detail-icon::before { content: '展開閱讀 ＋'; }
details.editorial-details[open] .detail-icon::before { content: '收合內容 −'; }
.detail-body { padding: 0 0 54px 72px; }
.detail-pull { margin: 0 0 32px; padding: 18px 0 18px 24px; color: var(--green-deep); border-left: 2px solid var(--gold); font-size: 21px; font-weight: 700; line-height: 1.75; }
.detail-body .prose { max-width: 780px; }
.endorser-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(18px, 2.5vw, 38px); }
.endorser-entry { min-width: 0; break-inside: avoid; padding: 15px 0 20px; border-top: 1px solid rgba(245, 244, 238, 0.26); container-type: inline-size; }
.endorser-entry strong { display: block; color: var(--gold-light); font-size: 20px; }
.endorser-entry span { display: block; margin-top: 5px; color: rgba(245, 244, 238, 0.75); font-size: clamp(6px, calc(96cqw / var(--role-length)), 14px); line-height: 1.6; white-space: nowrap; }
.endorser-entry--two-lines span { font-size: clamp(13px, 1.2vw, 16px); line-height: 1.55; white-space: pre-line; }

/* 作者介紹：自然圖文與文字連結。 */
.author-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
}
.portrait-frame { margin: 0; }
.portrait-frame img { width: 100%; max-height: 760px; object-fit: contain; object-position: center top; }
.author-layout .portrait-frame { position: sticky; top: 98px; }
.author-prose { max-width: 760px; }
.author-prose h2 { font-size: clamp(34px, 3vw, 43px); white-space: nowrap; }
.author-prose p:first-child { font-size: 20px; }
.author-links { margin-top: 42px; }
.author-link { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.author-link:last-child { border-bottom: 1px solid var(--line); }
.author-link span { color: var(--green); font-size: 16px; font-weight: 700; letter-spacing: 0.08em; }
.author-link a { font-size: 18px; overflow-wrap: anywhere; }
.author-preface .section-heading { margin-bottom: 30px; }
.preface-preview { max-width: 900px; }
.preface-details { margin-top: 26px; }
.preface-details summary { grid-template-columns: minmax(0, 1fr) auto; }
.preface-details .detail-title strong { font-size: clamp(25px, 2.4vw, 32px); }

/* 量表：背景色與細線界定操作區，不使用巨大外框。 */
.quiz-shell { width: min(100%, 940px); margin: 0 auto; color: var(--paper); background: var(--green-deep); }
.quiz-head { display: grid; grid-template-columns: 86px 1fr 210px; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(220, 199, 154, 0.34); }
.quiz-count { color: var(--gold-light); font: 500 16px/1 var(--mono); }
.quiz-progress { height: 2px; background: rgba(245, 244, 238, 0.22); }
.quiz-progress i { display: block; width: 0; height: 100%; background: var(--gold-light); transition: width 240ms ease; }
.quiz-dim { justify-self: end; font-size: 16px; text-align: right; }
.quiz-body { min-height: 440px; display: grid; align-content: center; padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 64px); }
.score-guide__line { height: 4px; display: grid; grid-template-columns: 0.44fr 0.56fr; margin: 28px 0 16px; background: rgba(65, 84, 74, 0.18); }
.score-guide__line span { background: rgba(65, 84, 74, 0.48); }
.score-guide__line i { background: var(--gold); }
.score-guide__labels { display: grid; grid-template-columns: 1fr 0.72fr; gap: 20px; }
.score-guide__labels span { color: var(--green-deep); font-size: 16px; line-height: 1.65; }
.score-guide__labels span:last-child { text-align: right; }
.score-guide__labels b { display: block; color: var(--ink); font-size: 18px; }
.quiz-instructions-layout { width: min(calc(100% - 40px), 920px); display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: clamp(42px, 7vw, 84px); }
.quiz-instructions__copy { max-width: 620px !important; }
.quiz-instructions__copy .lede { margin-bottom: 0; }
.score-guide { max-width: 520px; margin-top: 32px; padding-top: 17px; border-top: 2px solid var(--gold); }
.score-guide > .eyebrow { margin-bottom: 0; }
.score-guide__line { margin-block: 18px 12px; }
.quiz-instructions__king { width: min(100%, 160px); margin: 0; justify-self: center; }
.quiz-instructions__king img { width: 100%; max-height: 280px; object-fit: contain; }
.quiz-question { max-width: 720px; margin: 0 auto; text-align: center; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.58; text-wrap: pretty; }
.quiz-question__line { display: block; }
.scale-options { max-width: 640px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 34px auto 10px; }
.scale-option { min-height: 52px; color: var(--paper); border: 1px solid rgba(245, 244, 238, 0.44); border-radius: 999px; background: transparent; cursor: pointer; transition: 160ms ease; }
.scale-option:hover, .scale-option:focus-visible { color: var(--ink); border-color: var(--gold-light); background: var(--gold-light); }
.scale-legend { max-width: 640px; display: flex; justify-content: space-between; margin: 0 auto; color: rgba(245, 244, 238, 0.72); font-size: 16px; }
.quiz-controls { display: flex; justify-content: space-between; margin-top: 32px; }
.link-button { padding: 6px 0; color: var(--paper); border: 0; border-bottom: 1px solid rgba(220, 199, 154, 0.5); background: transparent; cursor: pointer; }
.quiz-result { display: none; }
.quiz-result.is-active { display: block; }
.quiz-stage.is-hidden { display: none; }
.result-summary { text-align: center; }
.result-score { color: var(--gold-light); font-size: 18px; }
.result-name { margin-top: 10px; font-size: clamp(34px, 4vw, 48px); }
.result-coord { margin-top: 7px; color: var(--gold-light); }
.result-description { max-width: 720px; margin: 22px auto 0; color: rgba(245, 244, 238, 0.86); font-size: 18px; }
.quadrant-map { max-width: 600px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 36px auto; }
.quadrant-cell { min-height: 90px; display: grid; align-content: center; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(220, 199, 154, 0.4); text-align: center; }
.quadrant-cell span { color: rgba(245, 244, 238, 0.7); font-size: 16px; }
.quadrant-cell.is-active { color: var(--gold-light); border-top-color: var(--gold-light); }
.ability-bars { max-width: 680px; display: grid; gap: 15px; margin: 0 auto; }
.ability-bar { display: grid; grid-template-columns: 120px 1fr 42px; align-items: center; gap: 14px; font-size: 17px; }
.bar-track { height: 4px; background: rgba(245, 244, 238, 0.2); }
.bar-track i { display: block; width: 0; height: 100%; background: var(--gold-light); transition: width 520ms ease; }
.advice-note { max-width: 720px; margin: 38px auto 0; padding-left: 24px; border-left: 1px solid rgba(220, 199, 154, 0.52); }
.advice-note p { color: rgba(245, 244, 238, 0.84); }
.result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.quiz-note { max-width: 820px; margin: 24px auto 0; color: var(--green-deep); font-size: 16px; }

/* 讀者回響：引文流與無外層卡片的表單。 */
.reader-wall { min-height: 260px; display: grid; align-items: center; }
.reader-empty { position: relative; padding: 48px 76px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reader-empty::after { position: absolute; right: 0; bottom: -18px; color: var(--gold); content: '”'; font: 400 104px/1 Georgia, serif; }
.reader-empty__mark { position: absolute; top: -4px; left: 0; color: var(--gold); font: 400 104px/1 Georgia, serif; }
.reader-empty h3 { margin-top: 12px; }
.reader-empty p { max-width: none; margin: 14px 0 0; color: var(--green-deep); font-size: 18px; white-space: nowrap; }
.reader-flow { columns: 2; column-gap: clamp(38px, 6vw, 82px); }
.reader-quote { break-inside: avoid; padding: 26px 0; border-top: 1px solid var(--line); }
.reader-quote blockquote { margin: 0; font-size: 22px; line-height: 1.75; }
.reader-quote cite { display: block; margin-top: 16px; color: var(--green); font-size: 16px; font-style: normal; }
.submission-area { max-width: 900px; margin: 0 auto; }
.submission-state { display: grid; gap: 4px; margin-bottom: 28px; padding: 15px 0 15px 20px; color: var(--green-deep); border-left: 3px solid var(--gold); }
.submission-state strong { font-size: 20px; }
.submission-state span { font-size: 17px; }
.submission-privacy { margin: 0 0 28px; padding-bottom: 18px; color: var(--green-deep); border-bottom: 1px solid var(--line); font-size: 17px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.field { margin-bottom: 18px; }
.field--wide { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-weight: 700; }
.field label span, .field-note { color: var(--green); font-size: 16px; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 13px 2px; color: var(--ink); border: 0; border-bottom: 1px solid rgba(65, 84, 74, 0.48); border-radius: 0; outline: none; background: transparent; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field input:disabled, .field textarea:disabled { cursor: not-allowed; opacity: 0.62; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 25px; font-size: 17px; }
.consent input { margin-top: 0.55em; }
.form-message { min-height: 30px; margin: 13px 0 0; color: var(--green-deep); }
.form-message.is-error { color: var(--gold); }
.form-success { display: none; padding: 42px 0; text-align: center; }
.form-success.is-active { display: block; }
.submission-form.is-hidden { display: none; }

/* V3：第二層維持出版展示節奏，僅收斂真正過大的空白。 */
@media (min-width: 761px) {
  body:not([data-page='home']) { font-size: 18px; line-height: 1.8; }
  body:not([data-page='home']) .section { padding: clamp(72px, 6vw, 88px) 0; }
  body:not([data-page='home']) .section--compact { padding: clamp(58px, 5vw, 72px) 0; }
  body:not([data-page='home']) .page-hero { padding: clamp(48px, 4.5vw, 62px) 0; }
  body:not([data-page='home']) .page-hero-grid { gap: clamp(40px, 5vw, 68px); }
  body:not([data-page='home']) .page-hero h1 { max-width: 840px; font-size: clamp(48px, 4.5vw, 58px); line-height: 1.28; }
  body:not([data-page='home']) h2 { font-size: clamp(38px, 3.5vw, 48px); }
  body:not([data-page='home']) h3 { font-size: clamp(24px, 2.2vw, 30px); }
  body:not([data-page='home']) .lede { max-width: 760px; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.78; }
  body:not([data-page='home']) .section-heading { margin-bottom: clamp(38px, 4vw, 54px); }
  body:not([data-page='home']) .content-grid { gap: clamp(52px, 6vw, 82px); }
  body:not([data-page='home']) .prose { max-width: 760px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.9; }

  body[data-page='recommendations'] .editorial-details summary { padding-block: 20px; }
  body[data-page='recommendations'] .endorser-entry { padding: 14px 0 18px; }
  body[data-page='author'] .author-layout { gap: clamp(54px, 7vw, 92px); }
  body[data-page='author'] .portrait-frame img { max-height: 680px; }
  body[data-page='author'] .author-links { margin-top: 34px; }
  body[data-page='author'] .author-link { padding: 13px 0; }
  body[data-page='author'] .author-preface .section-heading { margin-bottom: 28px; }
  body[data-page='author'] .preface-details { margin-top: 24px; }
}

/* 關於本書：以作者定位開場，再由可展開目錄承接深度內容。 */
.about-intro { padding-block: clamp(46px, 4vw, 58px) !important; }
.about-intro__layout { width: min(calc(100% - 40px), 1000px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.5fr); align-items: center; gap: clamp(36px, 5vw, 66px); }
.about-intro .prose { max-width: 720px; }
.about-intro #book-position-title { color: var(--green-deep); }
.about-intro__text { margin-top: 12px !important; color: var(--ink); font-weight: 900; }
.about-intro__portrait { width: 100%; max-width: 260px; margin: 0; justify-self: end; }
.about-intro__portrait img { width: 100%; max-height: 360px; object-fit: contain; object-position: center bottom; }

.chapter-index { border-bottom: 1px solid var(--line); }
.chapter-part-heading { display: grid; grid-template-columns: 1fr; align-items: baseline; gap: 5px; margin-top: 58px; padding-bottom: 18px; }
.chapter-part-heading:first-child { margin-top: 0; }
.chapter-part-heading span { color: var(--gold); font-size: 17px; font-weight: 700; letter-spacing: 0.12em; }
.chapter-part-heading h3 { font-size: clamp(25px, 2.4vw, 32px); }
.chapter-details { border-top: 1px solid var(--line); }
.chapter-details summary { display: grid; grid-template-columns: 72px minmax(0, 1fr) 160px; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; transition: color 160ms ease, border-color 160ms ease; }
.chapter-details summary::-webkit-details-marker { display: none; }
.chapter-details summary:hover { color: var(--green-deep); }
.chapter-details summary:hover .chapter-action { color: var(--gold); }
.chapter-no { color: var(--gold); font: 500 18px/1 var(--mono); }
.chapter-title strong { display: block; font-size: clamp(22px, 2vw, 28px); line-height: 1.45; }
.chapter-title small { display: block; margin-top: 5px; color: var(--green); font-size: 17px; line-height: 1.55; }
.chapter-action { justify-self: end; color: var(--green-deep); border-bottom: 1px solid currentColor; font-size: 17px; font-weight: 700; white-space: nowrap; }
.chapter-action span:last-child { display: none; }
.chapter-details[open] .chapter-action span:first-child { display: none; }
.chapter-details[open] .chapter-action span:last-child { display: inline; }
.chapter-details[open] > summary { border-bottom: 1px solid rgba(169, 140, 85, 0.48); }
.chapter-body { padding: 52px 0 76px 96px; }
.chapter-body > .prose, .chapter-intro { max-width: 800px; }
.chapter-intro > p:last-child { max-width: 800px; font-size: 19px; line-height: 1.8; }
.chapter-subsection { max-width: 980px; margin-top: 58px; padding-top: 38px; border-top: 1px solid var(--line); }
.core-action-line, .intro-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.intro-promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.core-action-line article, .intro-promises article { padding-top: 16px; border-top: 1px solid var(--line); }
.core-action-line span { color: var(--gold); font: 500 15px/1 var(--mono); }
.core-action-line strong, .intro-promises strong { display: block; margin-top: 8px; font-size: 23px; }
.intro-promises strong { color: var(--gold); font-size: clamp(28px, 2.7vw, 36px); line-height: 1.3; }
.core-action-line p, .intro-promises p { margin: 8px 0 0; font-size: 16px; line-height: 1.65; }
.chapter-split-copy > span, .chapter-split-copy > strong, .chapter-text-line { display: block; }
.chapter-split-copy > strong { margin-top: 16px; color: var(--green-deep); font-weight: 900; }
.chapter-text-line + .chapter-text-line { margin-top: 8px; }

.ability-path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ability-path::before { position: absolute; top: 8px; right: 0; left: 0; height: 1px; content: ''; background: rgba(169, 140, 85, 0.65); }
.ability-path article { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0 10px; padding-top: 28px; }
.ability-path article::before { position: absolute; top: 2px; left: 0; width: 13px; height: 13px; content: ''; border-radius: 50%; background: var(--gold); }
.ability-path article:not(:last-child)::after { position: absolute; top: -4px; right: 0; color: var(--gold); content: '→'; font-size: 18px; }
.ability-path span { color: var(--gold); font: 500 15px/1 var(--mono); }
.ability-path strong { min-width: 0; color: var(--gold); font-size: clamp(23px, 2vw, 29px); line-height: 1.25; white-space: nowrap; }
.ability-path p { grid-column: 1 / -1; margin: 12px 0 0; font-size: 16px; line-height: 1.6; }

.ability-quadrant { width: 100%; margin: 52px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.ability-quadrant figcaption { width: 100%; max-width: none; text-align: left; }
.ability-quadrant figcaption h3 { font-size: clamp(30px, 3vw, 40px); }
.ability-quadrant figcaption p { margin: 14px 0 0; color: var(--green-deep); font-size: 18px; line-height: 1.75; }
.quadrant-plot { position: relative; width: min(84%, 600px); min-height: 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); margin: 34px 0 32px; border: 1px solid rgba(65, 84, 74, 0.42); background: #fff; }
.quadrant-plot::before, .quadrant-plot::after { position: absolute; z-index: 1; content: ''; background: rgba(65, 84, 74, 0.42); }
.quadrant-plot::before { top: 50%; right: 0; left: 0; height: 1px; }
.quadrant-plot::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.quadrant-zone { min-width: 0; display: grid; grid-template-rows: auto auto auto; align-content: center; gap: 8px; padding: 18px 16px; background: #fff; }
.quadrant-zone > * { position: relative; z-index: 2; }
.quadrant-zone strong { align-self: center; font-size: clamp(36px, 4vw, 50px); line-height: 1.12; white-space: nowrap; }
.quadrant-zone span { color: var(--green); font-size: 16px; font-weight: 700; }
.quadrant-zone p { margin: 0; font-size: 17px; }
.quadrant-zone--focus { color: var(--ink); background: #fff; }
.quadrant-zone--focus strong { color: var(--gold); }
.quadrant-zone--focus span, .quadrant-zone--focus p { color: var(--green-deep); }
.quadrant-axis { position: absolute; z-index: 3; color: var(--green-deep); font-size: 20px; font-weight: 900; letter-spacing: 0.06em; }
.quadrant-axis--y { top: -36px; left: 0; }
.quadrant-axis--x { right: 0; bottom: -38px; }

.hazard-signals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.hazard-signals article { position: relative; text-align: center; }
.hazard-signals strong { min-height: 82px; display: flex; align-items: center; justify-content: center; padding: 14px 12px; color: var(--paper); border-radius: 50%; background: radial-gradient(ellipse at 50% 42%, #526b5d 0 42%, var(--green-deep) 72%, #293a31 100%); box-shadow: inset 0 9px 16px rgba(0, 0, 0, 0.24), 0 11px 0 rgba(169, 140, 85, 0.23), 0 18px 22px rgba(35, 43, 37, 0.2); font-size: clamp(20px, 1.65vw, 24px); line-height: 1.3; }
.hazard-signals p { margin: 28px 0 0; color: var(--gold); font-size: 17px; font-weight: 900; line-height: 1.5; }
.hazard-signals .hazard-eats { color: var(--green-deep); }
.hazard-signals b { color: var(--gold); font-size: 20px; font-weight: 900; }

/* 次頁：縮短首屏，讓內容更快進入視線。 */
body[data-page='recommendations'] main > .section--paper { padding-block: clamp(46px, 4vw, 58px); }
body[data-page='recommendations'] main > .section--paper > .container { width: min(calc(100% - 40px), 1000px); }
body[data-page='recommendations'] main > .section--paper .section-heading { margin-bottom: 26px; }
.recommendation-detail { border-top: 4px solid var(--paper) !important; }
.recommendation-detail > summary { padding-inline: 22px !important; color: var(--paper); background: var(--green-deep); }
.recommendation-detail > summary:hover, .recommendation-detail[open] > summary { color: var(--paper); background: var(--ink); }
.recommendation-detail .detail-no { color: var(--gold-light); }
.recommendation-detail .detail-title span { color: var(--gold-light); font-weight: 900; }
.recommendation-credit--stack > span { margin-top: 0; }
.recommendation-detail .detail-icon { color: var(--paper); border-color: var(--gold-light); }
.recommendation-detail > .detail-body { padding: 38px 36px 54px; }

body[data-page='readers'] main > .section--paper { padding-block: clamp(44px, 4vw, 56px); }
body[data-page='readers'] main > .section--paper > .container { width: min(calc(100% - 40px), 1000px); }
body[data-page='readers'] main > .section--paper .section-heading { margin-bottom: 24px; }
body[data-page='readers'] .reader-wall { min-height: 220px; }
body[data-page='readers'] .reader-empty { min-height: 240px; display: grid; align-content: center; padding: 54px 84px; color: var(--paper); border: 0; background: var(--green-deep); }
body[data-page='readers'] .reader-empty h3 { font-size: clamp(34px, 3.6vw, 48px); }
body[data-page='readers'] .reader-empty p { color: rgba(245, 244, 238, 0.82); }
body[data-page='readers'] .reader-empty__mark, body[data-page='readers'] .reader-empty::after { color: var(--gold-light); }

.chapter-static { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 24px; padding: 23px 0; border-top: 1px solid var(--line); }
.chapter-static--appendix { grid-template-columns: repeat(2, minmax(0, 1fr)); color: var(--green-deep); font-size: 17px; }
.about-quote-carousel { display: grid; min-height: 280px; align-content: center; border-bottom: 1px solid var(--line); }
.about-quote-line { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.about-quote-line blockquote { margin: 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.65; }
.reader-invitation span { display: block; }

.detail-title .preface-action__open { display: none; }
.preface-details[open] .preface-action__closed { display: none; }
.preface-details[open] .detail-title .preface-action__open { display: inline; }
.preface-details .detail-icon::before { content: '＋'; }
.preface-details[open] .detail-icon::before { content: '−'; }

.site-footer { padding: 46px 0; color: rgba(245, 244, 238, 0.75); background: var(--ink); }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.footer-title { color: var(--paper); font-size: 19px; font-weight: 700; }
.footer-meta { margin-top: 5px; font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: 16px; }
.footer-links a:hover { color: var(--gold-light); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1180px) {
  .header-inner { width: min(calc(100% - 28px), var(--content)); gap: 14px; }
  .nav-list { gap: 6px; }
  .nav-link { padding-inline: 13px; font-size: 16px; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 150px; }
  .header-inner { justify-content: center; flex-wrap: wrap; padding-block: 11px 13px; }
  .brand { width: 100%; text-align: center; }
  .main-nav { width: 100%; }
  .nav-list { justify-content: center; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 120px; }
  .page-hero-grid--single { grid-template-columns: minmax(0, 1fr); }
  .content-grid { grid-template-columns: 1fr; gap: 38px; }
  .aside-note { position: static; }
  .author-layout { gap: 54px; }
  .ability-path { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ability-path::before { display: none; }
  .ability-path article { border-top: 1px solid rgba(169, 140, 85, 0.55); }
  .ability-path article::before, .ability-path article::after { display: none; }
  .author-prose h2 { white-space: normal; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 190px; }
  body { font-size: 17px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .section { padding: 68px 0; }
  .nav-link { min-height: 39px; padding: 7px 12px; font-size: 16px; }
  .page-hero { padding: 42px 0; }
  .page-hero-grid, .section-heading--split, .content-grid, .author-layout { grid-template-columns: 1fr; }
  .quiz-instructions-layout { grid-template-columns: 1fr; gap: 26px; }
  .quiz-instructions__king { width: 120px; justify-self: end; }
  .editorial-heading-stack h2 { white-space: normal; }
  .section-heading--split { gap: 20px; }
  .aside-note, .author-layout .portrait-frame { position: static; }
  .concept-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ability-step, .trap-entry { grid-template-columns: 50px minmax(0, 1fr); gap: 14px 18px; }
  .ability-step p, .trap-entry span { grid-column: 2; }
  .quote-flow { grid-template-columns: 1fr; }
  .detail-body { padding-left: 0; }
  .endorser-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-flow { columns: 1; }
  .author-layout .portrait-frame { width: min(82%, 430px); }
  .quiz-head { grid-template-columns: 74px 1fr; }
  .quiz-dim { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .quiz-body { min-height: 410px; padding-inline: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .reader-empty { padding: 54px 34px; }
  .reader-empty p { white-space: normal; }
  .field--wide { grid-column: auto; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .about-intro__layout { grid-template-columns: 1fr; gap: 26px; }
  .about-intro__portrait { width: min(64%, 260px); justify-self: start; }
  .chapter-part-heading { grid-template-columns: 1fr; gap: 5px; margin-top: 48px; }
  .chapter-details summary { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; }
  .chapter-action { grid-column: 2; justify-self: start; }
  .chapter-body { padding: 42px 0 60px; }
  .core-action-line, .intro-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ability-path { grid-template-columns: 1fr; gap: 24px; }
  .ability-path article { padding-top: 18px; }
  .ability-path strong { min-height: 0; }
  .hazard-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hazard-signals strong { min-height: 0; }
  .quadrant-plot { min-height: 340px; }
  .quadrant-zone { padding: 16px 14px; }
  .quadrant-axis--y { top: -28px; left: 0; writing-mode: horizontal-tb; }
  .chapter-static { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .chapter-static--appendix { grid-template-columns: 1fr; }
  .preface-details summary { grid-template-columns: minmax(0, 1fr) auto; }
  .recommendation-detail > .detail-body { padding-inline: 0; }
  body[data-page='readers'] .reader-empty { min-height: 230px; padding: 50px 42px; }
}

@media (max-width: 480px) {
  .header-inner { width: calc(100% - 20px); }
  .brand-title { padding: 3px 8px 4px; font-size: 21px; }
  .nav-list { gap: 6px; }
  .nav-link { padding-inline: 10px; font-size: 15px; }
  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .concept-sequence { grid-template-columns: 1fr; }
  .editorial-details summary { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .detail-icon { grid-column: 2; justify-self: start; margin-top: 8px; }
  .detail-title span { font-size: 16px; }
  .scale-options { gap: 7px; }
  .scale-option { min-height: 48px; }
  .quadrant-map { grid-template-columns: 1fr; gap: 12px; }
  .ability-bar { grid-template-columns: 92px 1fr 34px; font-size: 15px; }
  .author-link { grid-template-columns: 86px 1fr; }
  .core-action-line, .intro-promises, .hazard-signals { grid-template-columns: 1fr; }
  .endorser-index { grid-template-columns: 1fr; }
  .quadrant-plot { width: 100%; min-height: 360px; }
  .quadrant-zone { padding: 14px; }
  .quadrant-zone strong { font-size: clamp(24px, 7vw, 31px); }
  .quadrant-zone span, .quadrant-zone p { font-size: 14px; }
}

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