/* A quiet reading companion, with the original book cover. */
:root {
  color-scheme: light;
  --paper: #faf7f0;
  --paper-deep: #f1ebe1;
  --ink: #302d32;
  --muted: #68616a;
  --plum: #765366;
  --plum-deep: #593c4c;
  --gold: #96743a;
  --line: #ded5cb;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", Georgia, serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.9 var(--sans);
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}
body, button, input { font-family: var(--sans); }
a { color: var(--plum-deep); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: #402737; }
.skip-link { position: fixed; top: -6rem; left: 16px; z-index: 1000; min-height: 44px; padding: 9px 18px; border-radius: 6px; background: var(--plum-deep); color: #fffaf5; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fffaf5; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 4px;
  border-radius: 3px;
}
::selection { background: #e8d6df; color: #30232a; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { color: var(--ink); overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h2 { margin: 0 0 22px; font-size: clamp(25px, 2.8vw, 32px); line-height: 1.55; letter-spacing: .035em; }
h3 { margin: 0 0 18px; font-size: clamp(22px, 2.3vw, 27px); line-height: 1.65; }
section[id] { scroll-margin-top: 28px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1140px, calc(100% - 48px));
  min-height: 84px;
  margin-inline: auto;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 17px; font-weight: 750; line-height: 1.5; text-decoration: none; letter-spacing: -.025em; }
.brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .03em; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; text-decoration: none; }
main { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.breadcrumb { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li { min-width: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 9px; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  padding: 48px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 16px; color: var(--plum); font-size: 13px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; }
h1 { margin: 0 0 23px; font-family: var(--serif); font-size: clamp(34px, 4.5vw, 52px); line-height: 1.45; letter-spacing: .015em; }
h1 .book-subtitle { display: block; margin-top: 16px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.8; font-weight: 500; letter-spacing: .03em; }
.authors { margin-bottom: 25px; font-size: 14px; color: var(--muted); }
.lead { max-width: 36em; font-size: 17px; line-height: 2; }
.reading-meta { margin: 22px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 25px;
  border: 1px solid var(--plum-deep);
  border-radius: 7px;
  background: var(--plum-deep);
  color: #fffaf5;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease;
}
.button:hover { background: #442d3a; border-color: #442d3a; color: #fffaf5; }
.hero-art { display: grid; place-items: center; min-width: 0; padding: 18px 16px 24px; background: radial-gradient(ellipse at 50% 57%, #e9dfcd 0, #f1e9dd 47%, transparent 70%); }
.book-cover-image {
  display: block;
  width: min(100%, 276px);
  height: auto;
  box-shadow: 0 14px 28px #4b3d2a24;
}
.reading-layout { display: grid; grid-template-columns: 220px minmax(0, 780px); align-items: start; justify-content: space-between; gap: 54px; padding: 60px 0 84px; }
.toc { position: sticky; top: 28px; min-width: 0; max-height: calc(100dvh - 56px); overflow-y: auto; padding: 20px 17px; border: 1px solid var(--line); border-radius: 12px; background: #f5efe6; }
.toc h2 { margin: 0 7px 12px; font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.6; }
.toc ol { padding: 0; margin: 0; list-style: none; }
.toc li + li { margin-top: 3px; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 9px 7px; border-radius: 6px; font-size: 14px; line-height: 1.75; text-decoration: none; }
.toc a:hover { background: #eae0d7; }
.reading-layout article { min-width: 0; max-width: 780px; }
.reading-layout article > section + section { margin-top: 58px; }
.intro { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.intro p:not(.eyebrow) { line-height: 2; }
.concepts > h2 { margin-bottom: 34px; }
.concept { position: relative; margin-top: 30px; padding-top: 27px; border-top: 1px solid var(--line); }
.concept:first-of-type { margin-top: 0; }
.concept-number { display: block; margin-bottom: 9px; color: var(--plum); font-family: Georgia, serif; font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; }
.concept-summary { line-height: 2; }
.reading-lens { margin: 23px 0 15px; padding: 20px 23px; border-left: 3px solid #ad8c62; border-radius: 0 10px 10px 0; background: #f0e9e3; }
.reading-lens h4 { margin: 0 0 8px; font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.8; color: var(--plum-deep); }
.reading-lens p { font-size: 15px; line-height: 1.95; }
.source-link { color: var(--muted); font-size: 12px; line-height: 1.8; }
.source-link a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.takeaways { padding: 28px 30px; border: 1px solid #d8c9d0; border-radius: 12px; background: #f3edf0; }
.takeaways h2 { font-size: 26px; }
.takeaways ul { padding-left: 1.3em; margin: 0; }
.takeaways li { padding-left: .2em; }
.takeaways li + li { margin-top: 14px; }
.takeaways li::marker { color: var(--plum); }
.book-info { padding-top: 10px; }
.book-info dl { display: grid; grid-template-columns: 108px minmax(0, 1fr); margin: 0 0 28px; border-top: 1px solid var(--line); font-size: 15px; }
.book-info dt, .book-info dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.book-info dt { padding-right: 16px; color: var(--muted); }
.book-info dd { min-width: 0; overflow-wrap: anywhere; }
.reading-note { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.summary-scope { color: var(--muted); font-size: 13px; }
.intro h3 { margin-top: 28px; font-size: 22px; }
.key-terms { margin: 22px 0; }
.key-terms h4 { margin: 0 0 12px; font-size: 16px; }
.key-terms dl { margin: 0; padding-left: 18px; border-left: 2px solid var(--line); }
.key-terms dt { color: var(--plum-deep); font-weight: 700; font-size: 15px; }
.key-terms dd { margin: 5px 0 16px; font-size: 15px; line-height: 1.9; }
.book-purchase { margin-top: 24px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.book-purchase .purchase-heading { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.book-purchase .purchase-disclosure { margin: 5px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.purchase-options { display: flex; flex-wrap: wrap; gap: 8px; }
.purchase-options a { display: flex; flex: 1 1 150px; flex-direction: column; justify-content: center; align-items: center; gap: 2px; min-height: 54px; padding: 8px 12px; border: 1px solid #aa919e; border-radius: 6px; background: #f3edf0; color: var(--plum-deep); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.purchase-options a:hover { background: #e9dfe5; }
.purchase-options small { font-size: 11px; font-weight: 400; }
@media (max-width: 540px) {
 .purchase-options a { flex-basis: 100%; flex-direction: row; justify-content: space-between; gap: 10px; min-height: 44px; }
}
.sources { padding-top: 30px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 24px; }
.sources ol { padding-left: 1.4em; margin: 0 0 18px; font-size: 14px; line-height: 1.9; }
.sources li { padding-left: .2em; margin-bottom: 9px; }
.sources a { display: inline-block; padding-block: 8px; min-height: 44px; overflow-wrap: anywhere; }
.sources p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.site-footer { padding: 28px 24px 38px; border-top: 1px solid var(--line); background: var(--paper-deep); color: var(--muted); text-align: center; font-size: 13px; }
.site-footer p { margin-bottom: 6px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(220px, 1fr); gap: 25px; }
  .reading-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 20px; }
  .site-header, main { width: calc(100% - 40px); }
  .site-header { min-height: 74px; gap: 14px; }
  .brand { font-size: 15px; }
  .back-link { font-size: 13px; }
  .breadcrumb { margin-top: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 26px 0 44px; }
  h1 { font-size: clamp(31px, 7.2vw, 43px); }
  h1 .book-subtitle { margin-top: 14px; font-size: 17px; }
  .lead { font-size: 16px; }
  .hero-art { padding: 12px 16px 18px; }
  .book-cover-image { width: min(100%, 222px); }
  .reading-layout { display: block; padding: 30px 0 52px; }
  .toc { position: static; max-height: none; overflow: visible; padding: 16px; margin-bottom: 38px; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
  .toc li + li { margin-top: 0; }
  .reading-layout article > section + section { margin-top: 44px; }
  .reading-lens { padding: 17px 18px; }
  .takeaways { padding: 23px 22px; }
  section[id] { scroll-margin-top: 20px; }
}
@media (max-width: 400px) {
  .site-header, main { width: calc(100% - 32px); }
  .site-header { gap: 10px; }
  .brand { font-size: 14px; }
  .back-link { max-width: 8em; text-align: right; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .book-info dl { grid-template-columns: 82px minmax(0, 1fr); }
  .book-info dt { padding-right: 10px; }
  .reading-lens { padding: 16px; }
  .takeaways { padding: 21px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { --paper: #fff; --ink: #000; --muted: #444; }
  body { background: #fff; font-size: 11pt; }
  .site-header, main { width: 100%; max-width: none; }
  .site-header { min-height: 0; padding-bottom: 12pt; }
  .skip-link, .back-link, .breadcrumb, .toc, .hero-art, .hero .button, .site-footer, .book-purchase { display: none; }
  .hero { display: block; padding: 18pt 0; }
  h1 { font-size: 26pt; }
  h1 .book-subtitle { font-size: 14pt; }
  .reading-layout { display: block; padding: 20pt 0; }
  .reading-layout article { max-width: none; }
  .concept, .reading-lens, .takeaways, .book-info { break-inside: avoid; }
  .reading-layout article > section + section { margin-top: 24pt; }
  a { color: #000; }
}
