/* Noto Serif SC, 345-character heading/quotation subset. License: assets/fonts/OFL.txt. */
@font-face {
  font-family: "Noto Serif SC Headings";
  src: url("assets/fonts/noto-serif-sc-headings.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  --paper:#f6f3eb;
  --paper-deep:#eee9dc;
  --ink:#29362f;
  --text-secondary:#4f5c50;
  --text-tertiary:#616653;
  --muted:var(--text-tertiary);
  --text-on-cover:#e0dfcf;
  --text-on-cover-secondary:#bfc3b4;
  --focus:#806a3e;
  --line:#d7d2c4;
  --gold:#b9a579;
  --cover:#202e29;
  --serif:"Noto Serif SC Headings","Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",serif;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  --ease:cubic-bezier(.2,.7,.25,1);
}
* {
  box-sizing:border-box;
}
html {
  margin:0;
  scroll-padding-top:32px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
button,a,summary {
  -webkit-tap-highlight-color:transparent;
}
button {
  font:inherit;
  cursor:pointer;
  color:inherit;
}
button:disabled {
  cursor:default;
  opacity:.35;
}
button,summary {
  touch-action:manipulation;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:5px;
}
h1,h2,h3,p,blockquote {
  margin:0;
}
h1,h2,h3 {
  font-weight:500;
}
p {
  overflow-wrap:anywhere;
}
button {
  border:0;
  background:none;
}
main:focus {
  outline:none;
}
a {
  color:inherit;
}
svg {
  display:block;
  max-width:100%;
}
.skip-link {
  position:fixed;
  top:-80px;
  left:24px;
  padding:12px 20px;
  background:var(--paper);
  color:var(--ink);
  z-index:30;
}
.skip-link:focus {
  top:12px;
}
.site-header {
  height:84px;
  padding:0 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}
.brand {
  padding:8px 0;
  letter-spacing:.2em;
  font-size:16px;
  display:flex;
  align-items:center;
  gap:16px;
  min-height:44px;
}
.brand span {
  color:var(--gold);
  font-size:23px;
  font-weight:400;
}
.header-caption {
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.2em;
  color:var(--muted);
}
.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  min-height:50px;
  padding:12px 28px;
  border:1px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  font-size:16px;
  letter-spacing:.08em;
  transition:transform .2s var(--ease),background .2s,border-color .2s;
}
.btn:not(:disabled):hover {
  transform:translateY(-2px);
  background:#354b3f;
  border-color:#354b3f;
}
.btn:not(:disabled):active {
  transform:translateY(0);
}
.btn.secondary {
  color:var(--ink);
  background:transparent;
}
.btn.secondary:hover {
  background:var(--paper-deep);
}
.text-button {
  position:relative;
  min-height:44px;
  padding:8px 0;
  font-family:var(--sans);
  font-size:13px;
  line-height:1.5;
  color:var(--muted);
  transition:color .2s;
}
.text-button::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:7px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s var(--ease);
}
.text-button:hover {
  color:var(--ink);
}
.text-button:hover::after {
  transform:scaleX(1);
}
.page-in {
  animation:page-enter .5s var(--ease) both;
}
@keyframes page-enter {
  from {
    opacity:0;
    transform:translateY(8px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}
/* The cover is a single typographic composition, followed directly by the quiz. */
body[data-screen="home"] {
  background:var(--cover);
  color:var(--paper);
}
body[data-screen="home"] .site-header {
  border:0;
  color:#e5e0d2;
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:2;
}
body[data-screen="home"] .header-caption {
  color:var(--text-on-cover-secondary);
}
body[data-screen="home"] .brand {
  font-size:14px;
}
.cover {
  min-height:100svh;
  display:grid;
  place-items:center;
  text-align:center;
  padding:112px 24px 48px;
  position:relative;
}
.cover-inner {
  position:relative;
  width:100%;
  max-width:720px;
}
.cover-eyebrow {
  font-size:13px;
  color:#c9b88f;
  letter-spacing:.7em;
  text-indent:.7em;
  margin-bottom:30px;
}
.cover h1 {
  font-size:clamp(72px,8.1vw,116px);
  font-weight:500;
  line-height:1.08;
  letter-spacing:.045em;
}
.cover h1 span {
  display:block;
}
.cover h1 .title-first {
  font-size:.77em;
  letter-spacing:.22em;
  text-indent:.22em;
  margin-bottom:3px;
}
.cover h1 em {
  font-style:normal;
  color:#c5ad77;
}
.cover-english {
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  color:var(--text-on-cover-secondary);
  font-size:18px;
  letter-spacing:.045em;
  margin-top:22px;
}
.cover-divider {
  height:1px;
  width:48px;
  background:#b9a57985;
  margin:34px auto 26px;
}
.cover-copy {
  font-size:19px;
  letter-spacing:.12em;
  line-height:1.95;
  color:var(--text-on-cover);
}
.cover-actions {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-top:34px;
}
.cover-start {
  min-width:218px;
  background:#c5ad77;
  color:#202e29;
  border-color:#c5ad77;
  gap:45px;
}
.cover-start:not(:disabled):hover {
  background:#dcc596;
  border-color:#dcc596;
}
.cover-preview {
  color:#b8baa9;
  font-family:var(--serif);
  font-size:14px;
  letter-spacing:.12em;
}
.cover-preview:hover {
  color:var(--paper);
}
/* One question at a time, with generous line spacing and no side dashboard. */
.quiz-layout {
  max-width:748px;
  padding:52px 24px 64px;
  margin:0 auto;
}
.question-topline {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  font-family:var(--sans);
  font-size:13px;
  letter-spacing:.12em;
  color:var(--muted);
}
.question-count {
  font-family:Georgia,serif;
  font-size:25px;
  letter-spacing:.04em;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.question-count span {
  font-size:15px;
  color:var(--muted);
}
.progress-track {
  height:2px;
  background:#ddd8cc;
  margin-top:12px;
  overflow:hidden;
}
.progress-track>span {
  display:block;
  height:100%;
  background:#8b815f;
  transition:width .3s var(--ease);
}
.question-panel h1 {
  margin-top:36px;
  font-size:32px;
  letter-spacing:.05em;
  line-height:1.5;
}
.question-body {
  font-size:20px;
  line-height:1.9;
  margin-top:14px;
  max-width:680px;
}
.options {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:30px;
}
.option {
  display:grid;
  grid-template-columns:24px minmax(0,1fr) 16px;
  gap:18px;
  align-items:baseline;
  width:100%;
  min-height:66px;
  padding:17px 24px;
  text-align:left;
  border:1px solid var(--line);
  background:#ffffff26;
  transition:border-color .18s,background .18s,transform .18s var(--ease);
}
.option:hover {
  border-color:#a9ae9c;
  background:#eeeede;
  transform:translateY(-1px);
}
.option.selected {
  border-color:#536553;
  background:#e8ebdf;
}
.option-letter {
  font-family:Georgia,serif;
  font-size:16px;
  font-style:italic;
  color:var(--text-tertiary);
}
.option.selected .option-letter {
  color:var(--text-secondary);
}
.option-text {
  font-size:17px;
  line-height:1.8;
}
.option-check {
  font-family:var(--sans);
  font-size:13px;
  color:var(--text-secondary);
  visibility:hidden;
}
.option.selected .option-check {
  visibility:visible;
}
.question-bottom {
  display:flex;
  justify-content:flex-end;
  margin-top:7px;
}
.skip-option {
  min-height:44px;
  padding:8px 0;
  font-family:var(--sans);
  font-size:13px;
  color:var(--muted);
}
.skip-option:hover,.skip-option.chosen {
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:5px;
}
.quiz-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:24px;
}
.quiz-nav .btn {
  min-width:160px;
}
/* The result reads like the opening pages of a small book. */
.result-wrap {
  width:min(100% - 64px,824px);
  margin:0 auto;
  padding:32px 0 64px;
}
.demo-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-family:var(--sans);
  font-size:12px;
  color:var(--muted);
  padding:0 0 20px;
}
.result-hero {
  max-width:580px;
  margin:16px auto 88px;
  text-align:center;
  padding:54px 56px 44px;
  border-top:3px solid #aa9365;
  border-bottom:1px solid var(--line);
  background:#efeada;
}
.eyebrow {
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.3em;
  color:var(--text-tertiary);
}
.result-hero h1 {
  font-size:clamp(36px,4.5vw,54px);
  letter-spacing:.1em;
  line-height:1.4;
  margin-top:22px;
  overflow-wrap:anywhere;
}
.scholar-identity-hero {
  font-size:14px;
  line-height:1.8;
  color:var(--text-tertiary);
  margin-top:12px;
}
.ornament {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  color:#ab966a;
  font-size:14px;
  margin:24px 0;
}
.ornament span {
  width:36px;
  height:1px;
  background:#c5baa0;
}
.profile-line {
  font-size:21px;
  line-height:2.1;
  text-align:left;
}
.focus-tag {
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid #d8d0bc;
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.2em;
  color:var(--text-tertiary);
}
.results-section {
  margin-top:64px;
}
.section-head {
  display:flex;
  align-items:baseline;
  gap:24px;
  border-bottom:1px solid var(--line);
  padding-bottom:20px;
  margin-bottom:30px;
}
.section-head h2 {
  font-size:28px;
  letter-spacing:.06em;
  line-height:1.6;
}
.section-number {
  font:italic 21px/1.4 Georgia,serif;
  min-width:24px;
  color:#79633f;
}
.reading-body {
  font-size:18px;
  line-height:2.1;
}
.reading-body p+p {
  margin-top:22px;
}
.answer-notes {
  border-left:1px solid #b9b79f;
  margin:32px 0;
  padding:0 0 0 28px;
}
.evidence-title {
  font-family:var(--sans);
  font-size:12px;
  letter-spacing:.08em;
  color:var(--muted);
  margin-bottom:16px;
}
.evidence+.evidence {
  margin-top:20px;
}
.evidence small {
  font-family:var(--sans);
  font-size:12px;
  color:var(--muted);
}
.evidence p {
  font-size:18px;
  line-height:1.9;
  margin-top:5px;
}
details {
  margin-top:22px;
}
summary {
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  gap:14px;
  min-height:44px;
  font-family:var(--sans);
  font-size:13px;
  color:var(--text-secondary);
}
summary::-webkit-details-marker {
  display:none;
}
summary::before {
  content:"+";
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1;
  color:var(--text-tertiary);
}
details[open]>summary::before {
  content:"−";
}
summary:hover {
  color:var(--ink);
}
details>p {
  margin-top:8px;
  font-size:16px;
  line-height:2;
}
.blindspot {
  border-top:1px solid var(--line);
  padding-top:10px;
}
.tags {
  display:flex;
  flex-wrap:wrap;
  column-gap:16px;
  row-gap:6px;
  margin:20px 0 0;
  font-family:var(--sans);
  color:var(--text-tertiary);
  font-size:12px;
  line-height:1.8;
}
.scholar-prompts {
  margin:32px 0 12px;
  padding:28px 32px;
  background:#eeeee2;
}
.scholar-prompts>p:not(.evidence-title) {
  font-size:18px;
  line-height:1.9;
}
.scholar-prompts>p+p:not(.evidence-title) {
  margin-top:16px;
}
.scholar-prompts small {
  display:block;
  font-family:var(--sans);
  font-size:11px;
  color:var(--text-tertiary);
  margin-top:22px;
}
.other-scholars {
  padding-top:8px;
}
.also-scholars {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  margin-top:16px;
}
.also-scholars h3 {
  font-size:21px;
  margin-bottom:8px;
}
.also-scholars p {
  font-size:16px;
  line-height:1.95;
}
.bridge>div+div {
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.bridge-label {
  font-family:var(--sans);
  font-size:12px;
  color:var(--muted);
  letter-spacing:.08em;
}
.bridge-memory {
  font-size:20px;
  line-height:1.9;
  margin-top:12px;
}
.bridge-question {
  font-size:24px;
  line-height:1.9;
  margin-top:12px;
}
.books-section .section-head {
  margin-bottom:0;
}
.book-card {
  display:grid;
  grid-template-columns:126px minmax(0,1fr);
  gap:36px;
  padding:36px 0;
  border-bottom:1px solid var(--line);
  align-items:start;
}
.book-cover {
  background:var(--cover);
  aspect-ratio:2/3;
  display:flex;
  flex-direction:column;
  padding:14px 14px 16px;
  color:#344334;
  border-left:4px solid #0000000a;
  box-shadow:3px 5px 8px #27382a0d;
}
.cover-number {
  font-family:Georgia,serif;
  font-size:13px;
  padding-bottom:8px;
  border-bottom:1px solid #485d3a32;
}
.cover-title {
  font-size:20px;
  line-height:1.45;
  margin-top:14px;
  word-break:break-all;
}
.cover-author {
  margin-top:auto;
  font-size:10px;
  line-height:1.5;
  padding-top:12px;
}
.book-title-row {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:20px;
}
.book-title-row h3 {
  font-size:25px;
  line-height:1.6;
}
.book-title-row .text-button {
  flex:none;
  padding-top:5px;
  min-height:44px;
}
.book-meta {
  font-family:var(--sans);
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  margin-top:6px;
}
.book-question {
  font-size:18px;
  line-height:1.9;
  margin-top:22px;
}
.book-description {
  font-size:16px;
  line-height:2;
  margin-top:12px;
  color:var(--text-secondary);
}
.book-content details {
  margin-top:14px;
}
.book-content details p {
  font-size:15px;
  line-height:1.95;
  color:var(--text-secondary);
}
.result-end {
  display:flex;
  justify-content:center;
  gap:44px;
  margin-top:64px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
/* Dialog and feedback share the same type and colour system. */
dialog {
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--line);
  padding:36px;
  max-width:480px;
  width:calc(100% - 40px);
}
dialog::backdrop {
  background:#1a272273;
  backdrop-filter:blur(3px);
}
dialog h2 {
  font-size:24px;
  line-height:1.6;
  margin-bottom:16px;
}
dialog p {
  font-size:16px;
  line-height:1.9;
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.dialog-actions .btn {
  font-size:14px;
  min-height:44px;
  padding:10px 18px;
}
.toast {
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translate(-50%,12px);
  background:#293b30;
  color:var(--paper);
  padding:12px 22px;
  max-width:calc(100% - 32px);
  width:max-content;
  font-family:var(--sans);
  font-size:13px;
  line-height:1.7;
  opacity:0;
  pointer-events:none;
  z-index:40;
  transition:opacity .2s,transform .2s;
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
}
noscript {
  display:block;
  margin:32px;
}
@media(min-width:1600px) {
  .cover-inner {
    max-width:800px;
  }
  .cover h1 {
    font-size:126px;
  }
}
@media(max-height:760px) and (min-width:641px) {
  .cover {
    padding-top:88px;
    padding-bottom:32px;
  }
  .cover-eyebrow {
    margin-bottom:20px;
  }
  .cover h1 {
    font-size:92px;
  }
  .cover-english {
    margin-top:14px;
  }
  .cover-divider {
    margin:22px auto 18px;
  }
  .cover-actions {
    margin-top:24px;
  }
  .cover-copy {
    font-size:18px;
  }
  .quiz-layout {
    padding-top:36px;
  }
  .question-panel h1 {
    margin-top:24px;
  }
  .options {
    margin-top:24px;
  }
}
@media(max-width:768px) {
  .site-header {
    height:72px;
    padding:0 28px;
  }
  .result-wrap {
    width:calc(100% - 56px);
  }
  .result-hero {
    max-width:540px;
    margin-bottom:60px;
  }
  .results-section {
    margin-top:48px;
  }
  .book-card {
    gap:28px;
    grid-template-columns:112px minmax(0,1fr);
  }
  .section-head h2 {
    font-size:26px;
  }
  .quiz-layout {
    padding-top:36px;
  }
}
@media(max-width:540px) {
  .site-header {
    height:68px;
    padding:0 24px;
  }
  .brand {
    font-size:14px;
    gap:10px;
  }
  .header-caption {
    font-size:10px;
    letter-spacing:.12em;
  }
  .cover {
    min-height:100svh;
    padding:112px 24px 52px;
  }
  .cover-eyebrow {
    font-size:12px;
    letter-spacing:.5em;
    margin-bottom:34px;
  }
  .cover h1 {
    font-size:clamp(56px,15.5vw,76px);
    line-height:1.2;
    letter-spacing:.025em;
  }
  .cover h1 .title-first {
    font-size:.85em;
    margin-bottom:4px;
  }
  .cover-english {
    font-size:14px;
    margin-top:22px;
    letter-spacing:.02em;
  }
  .cover-divider {
    margin:30px auto 24px;
  }
  .cover-copy {
    font-size:17px;
    line-height:2;
  }
  .cover-actions {
    margin-top:32px;
    gap:10px;
  }
  .cover-start {
    min-width:208px;
    min-height:50px;
  }
  .cover-preview {
    font-size:13px;
  }
  .quiz-layout {
    padding:24px 24px 40px;
  }
  .question-panel h1 {
    font-size:27px;
    letter-spacing:.02em;
    margin-top:26px;
  }
  .question-body {
    font-size:18px;
    line-height:1.9;
    margin-top:14px;
  }
  .question-count {
    font-size:23px;
  }
  .options {
    gap:12px;
    margin-top:26px;
  }
  .option {
    padding:16px 14px;
    gap:12px;
    grid-template-columns:18px minmax(0,1fr) 12px;
  }
  .option-text {
    font-size:16px;
    line-height:1.85;
  }
  .option-letter {
    font-size:15px;
  }
  .question-bottom {
    margin-top:6px;
  }
  .skip-option {
    font-size:12px;
  }
  .quiz-nav {
    margin-top:20px;
  }
  .quiz-nav .btn {
    min-width:142px;
    padding:11px 20px;
    gap:20px;
    font-size:15px;
  }
  .result-wrap {
    width:calc(100% - 40px);
    padding-top:20px;
  }
  .demo-banner {
    gap:16px;
    padding:0 4px 20px;
    font-size:11px;
  }
  .demo-banner .text-button {
    font-size:12px;
  }
  .result-hero {
    margin:8px 0 48px;
    padding:36px 28px 30px;
  }
  .result-hero h1 {
    font-size:38px;
    letter-spacing:.04em;
    margin-top:20px;
  }
  .eyebrow {
    font-size:11px;
    letter-spacing:.2em;
  }
  .scholar-identity-hero {
    font-size:13px;
  }
  .ornament {
    margin:22px 0;
  }
  .profile-line {
    font-size:19px;
    line-height:2;
  }
  .focus-tag {
    font-size:11px;
    margin-top:24px;
  }
  .results-section {
    margin-top:44px;
  }
  .section-head {
    gap:14px;
    padding-bottom:16px;
    margin-bottom:24px;
  }
  .section-head h2 {
    font-size:23px;
    letter-spacing:.025em;
  }
  .section-number {
    font-size:18px;
    min-width:20px;
  }
  .reading-body {
    font-size:17px;
    line-height:2;
  }
  .answer-notes {
    padding-left:18px;
    margin:26px 0;
  }
  .evidence p {
    font-size:17px;
  }
  .evidence small,.evidence-title {
    font-size:11px;
  }
  .scholar-prompts {
    padding:22px 20px;
    margin-top:26px;
  }
  .scholar-prompts>p:not(.evidence-title) {
    font-size:17px;
  }
  .tags {
    font-size:11px;
    gap:6px 12px;
  }
  .also-scholars {
    grid-template-columns:1fr;
    gap:24px;
  }
  .bridge-memory {
    font-size:18px;
  }
  .bridge-question {
    font-size:21px;
  }
  .book-card {
    grid-template-columns:78px minmax(0,1fr);
    gap:18px;
    padding:28px 0;
  }
  .book-cover {
    padding:10px 8px 12px;
    min-height:126px;
    aspect-ratio:auto;
  }
  .cover-number {
    font-size:10px;
    padding-bottom:5px;
  }
  .cover-title {
    font-size:15px;
    line-height:1.45;
    margin-top:10px;
  }
  .cover-author {
    font-size:8px;
    padding-top:12px;
  }
  .book-title-row {
    display:block;
  }
  .book-title-row h3 {
    font-size:21px;
    line-height:1.6;
  }
  .book-meta {
    font-size:11px;
  }
  .book-title-row .text-button {
    font-size:11px;
    min-height:36px;
    margin-top:2px;
  }
  .book-question {
    font-size:17px;
    margin-top:10px;
  }
  .book-description {
    font-size:15px;
    line-height:2;
    margin-top:12px;
  }
  .book-content details p {
    font-size:14px;
  }
  .book-content summary {
    font-size:12px;
  }
  .result-end {
    gap:36px;
    margin-top:48px;
  }
  dialog {
    padding:28px 24px;
  }
  .toast {
    font-size:12px;
  }
}
@media(max-width:350px) {
  .site-header {
    padding:0 18px;
  }
  .header-caption {
    font-size:9px;
  }
  .quiz-layout {
    padding-left:18px;
    padding-right:18px;
  }
  .result-hero {
    padding-left:22px;
    padding-right:22px;
  }
  .section-head h2 {
    font-size:21px;
  }
  .book-card {
    grid-template-columns:64px minmax(0,1fr);
    gap:14px;
  }
  .cover-title {
    font-size:13px;
  }
  .book-title-row h3 {
    font-size:19px;
  }
  .cover-author {
    font-size:7px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
@media print {
  .site-header,.demo-banner,.result-end,.text-button,.toast {
    display:none!important;
  }
  .result-wrap {
    width:100%;
    padding:0;
  }
  .result-hero {
    break-inside:avoid;
  }
  .book-card {
    break-inside:avoid;
  }
  .results-section {
    margin-top:32px;
  }
  body {
    background:white;
  }
}
/* Keep names and dates whole;
give book descriptions the full phone column. */
.question-body {
  text-wrap:pretty;
}
.scholar-original-name {
  font-family:Georgia,serif;
  font-size:18px;
  line-height:1.5;
  font-style:italic;
  color:var(--text-tertiary);
  margin-top:26px;
}
.scholar-original-name+h1 {
  margin-top:4px;
}
.scholar-dates {
  display:block;
  font-family:Georgia,serif;
  font-size:13px;
  letter-spacing:.12em;
  white-space:nowrap;
  margin-top:8px;
}
.profile-line {
  text-wrap:balance;
  text-align:center;
}
@media(max-width:540px) {
  .scholar-original-name {
    font-size:17px;
    margin-top:22px;
  }
  .book-card {
    row-gap:0;
  }
  .book-content {
    display:contents;
  }
  .book-cover {
    grid-column:1;
    grid-row:1;
  }
  .book-title-row {
    grid-column:2;
    grid-row:1;
  }
  .book-question,.book-description,.book-content>details {
    grid-column:1 / -1;
  }
  .book-question {
    margin-top:20px;
  }
  .book-title-row .text-button {
    min-height:44px;
  }
  .book-description,.book-content details p {
    font-size:16px;
  }
  .book-question {
    font-size:18px;
  }
  .book-content details {
    margin-top:16px;
  }
  .book-content summary {
    font-size:13px;
  }
}
@media(max-height:760px) and (min-width:641px) {
  .result-wrap {
    padding-top:20px;
  }
  .demo-banner {
    padding-bottom:8px;
  }
  .result-hero {
    margin-top:8px;
    padding:36px 48px 28px;
  }
  .result-hero .ornament {
    margin:20px 0;
  }
  .result-hero .focus-tag {
    margin-top:24px;
    padding-top:16px;
  }
}
@media(max-width:540px) {
  .option {
    padding-top:14px;
    padding-bottom:14px;
  }
  .options {
    margin-top:22px;
  }
  .question-panel h1 {
    margin-top:24px;
  }
}
/* Answer excerpts keep the reading suggestions connected to this visit. */
.answer-connection+.answer-connection {
  margin-top:30px;
  padding-top:26px;
  border-top:1px solid var(--line);
}
.answer-connection .evidence {
  margin-bottom:12px;
}
.connection-copy {
  font-size:16px;
  line-height:2;
  color:var(--text-secondary);
}
.basis-title {
  display:block;
  font-family:var(--sans);
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.book-basis {
  padding:8px 0;
  border-bottom:1px solid var(--line);
}
@media(max-width:540px) {
  .connection-copy {
    font-size:16px;
  }
  .book-basis {
    grid-column:1 / -1;
  }
  .answer-connection+.answer-connection {
    margin-top:24px;
    padding-top:22px;
  }
}
/* Real portraits and book jackets, toned in the page without changing the originals. */
.result-hero {
  max-width:680px;
  padding-left:48px;
  padding-right:48px;
}
.scholar-heading {
  display:grid;
  grid-template-columns:148px minmax(0,1fr);
  align-items:center;
  gap:32px;
  margin:32px 0 28px;
  text-align:left;
}
.scholar-portrait {
  width:148px;
  height:188px;
  overflow:hidden;
  background:#efeada;
}
.scholar-portrait img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:grayscale(1) contrast(.86) brightness(1.06);
  opacity:.76;
  mix-blend-mode:multiply;
}
.result-hero .scholar-original-name {
  margin-top:0;
  font-size:17px;
  line-height:1.6;
}
.scholar-details h1 {
  font-size:clamp(32px,3.5vw,46px);
  letter-spacing:.055em;
  margin-top:8px;
  line-height:1.5;
}
.scholar-details .scholar-identity-hero {
  font-size:13px;
  line-height:1.8;
  margin-top:10px;
}
.scholar-details .scholar-dates {
  font-size:12px;
  margin-top:8px;
}
.result-hero .ornament {
  margin-top:26px;
}
.book-cover {
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  aspect-ratio:auto;
  display:block;
  min-height:0;
}
.book-cover img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:grayscale(1) contrast(.82) brightness(1.08);
  opacity:.78;
  mix-blend-mode:multiply;
}
.book-sequence {
  display:block;
  font:italic 13px/1.4 Georgia,serif;
  letter-spacing:.08em;
  color:var(--text-tertiary);
  margin-bottom:8px;
}
.book-title-row .text-button {
  margin-top:20px;
}
.credit-entry a,.image-credit-list a {
  text-decoration-color:#a9ac97;
  text-underline-offset:4px;
}
.credit-note {
  font-family:var(--sans);
  font-size:12px!important;
  color:var(--muted);
  margin-top:18px;
}
.image-credit-list {
  padding-left:20px;
  margin:20px 0;
  line-height:2.2;
  font-size:14px;
}
.image-credit-list a:hover {
  text-decoration-thickness:2px;
}
.result-end {
  gap:32px;
  flex-wrap:wrap;
}
@media(max-width:768px) {
  .scholar-heading {
    grid-template-columns:128px minmax(0,1fr);
    gap:26px;
  }
  .scholar-portrait {
    width:128px;
    height:166px;
  }
  .scholar-details h1 {
    font-size:36px;
  }
  .result-hero {
    padding-left:36px;
    padding-right:36px;
  }
}
@media(max-width:540px) {
  .result-hero {
    padding:32px 24px 26px;
  }
  .scholar-heading {
    grid-template-columns:94px minmax(0,1fr);
    gap:20px;
    margin:28px 0 24px;
  }
  .scholar-portrait {
    width:94px;
    height:126px;
  }
  .result-hero .scholar-original-name {
    font-size:13px;
    line-height:1.55;
  }
  .scholar-details h1 {
    font-size:clamp(22px,6.8vw,29px);
    margin-top:6px;
    letter-spacing:.025em;
    line-height:1.5;
  }
  .scholar-details .scholar-identity-hero {
    font-size:11px;
    margin-top:6px;
    line-height:1.75;
  }
  .scholar-details .scholar-dates {
    font-size:10px;
    letter-spacing:.07em;
    margin-top:7px;
  }
  .result-hero .ornament {
    margin-top:24px;
  }
  .book-card {
    grid-template-columns:90px minmax(0,1fr);
    gap:0 20px;
  }
  .book-cover {
    min-height:0;
    padding:0;
  }
  .book-sequence {
    font-size:11px;
    margin-bottom:5px;
  }
  .book-title-row .text-button {
    margin-top:0;
  }
  .result-end {
    gap:26px;
  }
  .image-credit-list {
    font-size:13px;
  }
}
@media(max-width:350px) {
  .scholar-heading {
    grid-template-columns:80px minmax(0,1fr);
    gap:14px;
  }
  .scholar-portrait {
    width:80px;
    height:108px;
  }
  .result-hero {
    padding-left:20px;
    padding-right:20px;
  }
  .scholar-details h1 {
    font-size:22px;
  }
  .result-hero .scholar-original-name {
    font-size:12px;
  }
  .book-card {
    grid-template-columns:78px minmax(0,1fr);
    gap:0 16px;
  }
}
/* Mobile safety: keep fixed overlays and the iPhone home indicator clear. */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-height: 84px;
  --bottom-clearance: 96px;
}
html {
  scroll-padding-top: calc(var(--header-height) + var(--safe-top) + 16px);
}
body {
  padding-bottom: calc(var(--bottom-clearance) + var(--safe-bottom));
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: calc(var(--header-height) + var(--safe-top));
  padding-top: var(--safe-top);
  background: var(--paper);
}
body[data-screen="home"] .site-header {
  padding-top: var(--safe-top);
  background: var(--cover);
}
.cover {
  padding-top: calc(112px + var(--safe-top));
}
.quiz-nav {
  flex-wrap: wrap;
}
.quiz-nav > button {
  flex-shrink: 0;
}
.profile-line {
  width: 100%;
  max-width: 34em;
  margin-inline: auto;
  text-wrap: balance;
  overflow-wrap: normal;
}
.phrase {
  display: inline-block;
  white-space: nowrap;
}
.toast {
  bottom: calc(var(--bottom-clearance) + var(--safe-bottom));
}
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
}
@media (max-width: 540px) {
  :root {
    --header-height: 68px;
  }
  .profile-line {
    width: calc(100% + 24px);
    max-width: none;
    margin-inline: -12px;
    font-size: 19px;
    line-height: 1.9;
  }
}
/* Shared interaction and reading styles. All owned controls meet a 44px target. */
button, summary, .skip-link {
  min-width: 44px;
  min-height: 44px;
}
a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
:where(button, a, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
body[data-screen="home"] :focus-visible {
  outline-color: #e0c68d;
}
.text-button, .skip-option, .disclosure-button, summary {
  color: var(--text-secondary);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
}
.text-button::after {
  content: none;
}
:is(.text-button, .skip-option, .disclosure-button, summary):hover {
  background: var(--paper-deep);
  border-color: #9a9e8e;
}
.disclosure-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.disclosure-icon {
  width: 1em;
  font-size: 18px;
  line-height: 1;
}
.disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s var(--ease);
}
.disclosure-panel.is-open {
  grid-template-rows: 1fr;
}
.disclosure-inner {
  overflow: hidden;
}
.also-scholars {
  padding-block: 8px;
}
.disclosure-panel:not(.is-open) .also-scholars {
  visibility: hidden;
}
.tags {
  gap: 8px 18px;
  color: var(--text-tertiary);
}
.tag {
  display: inline-block;
}
.cover-guide {
  max-width: 28em;
  margin: 22px auto 0;
  font: 14px/1.9 var(--sans);
  color: var(--text-on-cover-secondary);
}
.cover-actions {
  margin-top: 24px;
}
.cover-copy, .reading-body, .evidence p, .connection-copy, .book-description,
.book-question, .bridge-memory, .bridge-question, .option-text, .question-body,
.also-scholars p, .scholar-prompts p, details > p {
  letter-spacing: 0;
}
.brand, .header-caption, .question-topline, .eyebrow, .focus-tag, .evidence-title, .bridge-label {
  letter-spacing: .07em;
}
.question-body {
  width: 100%;
  max-width: none;
}
.question-panel h1 {
  overflow-wrap: normal;
}
.book-title-row .text-button {
  padding: 10px 12px;
  min-height: 44px;
  font-size: 13px;
}
.credit-entry a, .image-credit-list a {
  padding-block: 8px;
}
@media (max-width: 540px) {
  .cover {
    padding-inline: 24px;
  }
  .cover-guide {
    max-width: 24em;
    margin-top: 20px;
  }
  .quiz-nav {
    gap: 12px;
  }
  .quiz-nav .btn {
    min-width: 138px;
  }
  .question-bottom {
    margin-top: 12px;
  }
  .header-caption {
    font-size: 11px;
  }
  .eyebrow, .focus-tag {
    font-size: 12px;
  }
  .tags, .evidence small, .evidence-title, .scholar-prompts small, .book-meta {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .disclosure-panel {
    transition: none;
  }
}
/* Keep long reading text in the system sans, with one serif voice for headings. */
h1, h2, h3, .profile-line {
  font-family: var(--serif);
  font-weight: 500;
}
.cover h1, .result-hero h1, .scholar-details h1 {
  font-weight: 500;
}
