:root {
  color-scheme: light;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); hyphens: auto; hyphenate-limit-chars: 6 3 3; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 3; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.hero { min-height: 100dvh; padding: clamp(64px, 8vw, 112px) clamp(24px, 6vw, 96px); display: grid; align-items: center; color: var(--paper); background: var(--night); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: clamp(48px, 8vw, 144px); align-items: center; }
h1 { margin: 0; font-size: clamp(4.6rem, 11vw, 10rem); font-weight: 400; line-height: 0.73; letter-spacing: -0.055em; }
h1, h2 { hyphens: none; overflow-wrap: normal; word-break: normal; }
.hero-author { margin: 32px 0 0; color: var(--accent); font: 600 clamp(1.25rem, 1.8vw, 1.65rem)/1 var(--sans); font-variant-caps: all-small-caps; letter-spacing: 0.14em; }
.baseline { margin: clamp(48px, 6vw, 80px) 0 0; font-size: clamp(1.7rem, 3vw, 3rem); font-style: italic; line-height: 1; }
blockquote { position: relative; margin: 0; padding: 48px 0 0 40px; border-left: 1px solid var(--accent); font-size: clamp(1.3rem, 2vw, 1.75rem); font-style: italic; line-height: 1.45; }
blockquote::before { content: "“"; position: absolute; top: -24px; left: 32px; color: var(--accent); font-size: 6rem; font-style: normal; line-height: 1; }
blockquote p { margin: 0 0 16px; }
main section { padding: clamp(88px, 12vw, 176px) clamp(24px, 8vw, 128px); }
.synopsis, .references, .resonance { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); column-gap: clamp(48px, 10vw, 160px); align-items: start; }
.section-heading h2 { margin: 0; font-size: clamp(3.2rem, 6vw, 6rem); font-weight: 400; line-height: 0.84; letter-spacing: -0.04em; }
.prose { max-width: 760px; }
.synopsis .section-heading, .synopsis .prose { margin: 0; }
.prose p { margin: 0 0 1.25em; font-size: clamp(1.45rem, 2.2vw, 2.05rem); line-height: 1.38; }
.prose p:first-child::first-letter { float: left; margin: 0.06em 0.08em 0 0; color: var(--accent); font-size: 4.4em; line-height: 0.72; }

.resonance { color: var(--paper); background: var(--night); }
.resonance > .section-heading { grid-column: 1; grid-row: 1; margin: 0; }
.resonance .section-heading h2 { max-width: 980px; }
.themes { grid-column: 2; width: 100%; max-width: none; }
.themes { margin: 0 0 80px; padding: 0; list-style: none; }
.themes li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--night-line); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.35; }
.themes li:last-child { border-bottom: 1px solid var(--night-line); }
.themes span { color: var(--highlight); font: 500 0.72rem/1.7 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }

.book-list a { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: baseline; min-height: 96px; padding: 24px 0; border-top: 1px solid var(--line); }
.reference-intro { margin: 0 0 32px; font-size: clamp(1.45rem, 2.2vw, 2.05rem); line-height: 1.38; }
.reference-context { margin: 40px 0 12px; font-size: clamp(1.45rem, 2.2vw, 2.05rem); font-style: italic; line-height: 1.4; }
.reference-source { margin: 0; color: var(--muted); font: 500 0.72rem/1.5 var(--sans); letter-spacing: 0.03em; }
.reference-source a { display: inline; min-height: 0; padding: 0; border: 0; }
.book-list > a:last-child { border-bottom: 1px solid var(--line); }
.book-list a:hover .book-title { color: var(--accent); }
.book-title { font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1; transition: color 180ms ease-out; }
.book-list a > span:last-child { color: var(--muted); font: 500 0.72rem/1.5 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }

footer { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(64px, 8vw, 112px) clamp(24px, 8vw, 128px) 24px; color: var(--paper); background: var(--night); }
.action-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; max-width: 720px; padding: 18px 28px; border: 1px solid var(--highlight); border-radius: 6px; color: var(--night); background: var(--highlight); box-shadow: 0 8px 24px var(--shadow); font: 400 clamp(0.88rem, 1.4vw, 1.05rem)/1.5 var(--sans); letter-spacing: 0.03em; text-align: center; }
.action-button strong { font-weight: 800; }
.action-button:hover { background: var(--paper); border-color: var(--paper); }
.copyright { margin: 40px 0 0; color: var(--copyright); font: 400 0.72rem/1.5 var(--sans); letter-spacing: 0.04em; }
.copyright a { text-decoration: none; }

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-grid, .synopsis, .references, .resonance { grid-template-columns: 1fr; }
  .synopsis, .references { row-gap: 56px; }
  .hero-grid { gap: 72px; padding: 32px 0; }
  h1 { max-width: 100%; font-size: clamp(3.5rem, 19vw, 6rem); }
  .quote-wrap { padding: 0 8px; }
  blockquote { margin: 0; padding-right: 12px; padding-left: 24px; }
  .themes li, .book-list a { grid-template-columns: 1fr; gap: 12px; }
  .resonance > .section-heading { grid-column: auto; grid-row: auto; margin-bottom: 72px; }
  .themes { grid-column: auto; }
  .themes { margin-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book-title { transition: none; }
}
