:root {
  color-scheme: light;
  --ink: #23241e;
  --dark: #191b18;
  --paper: #f8f4eb;
  --cream: #eee7d9;
  --red: #a63b2e;
  --salmon: #e38773;
  --muted: #5e5b52;
  --rule: #d6cdbd;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #cf654e; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 96px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px; color: var(--ink); background: var(--paper); }
.eyebrow { font: 700 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.section-label { color: var(--red); margin-bottom: 15px; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--dark); color: var(--paper); border-bottom: 1px solid #373831; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: bold 20px/1.08 var(--serif); white-space: nowrap; }
.brand small { display: block; margin-top: 5px; font: 700 9px/1.2 var(--mono); letter-spacing: 0.12em; color: #bfb6a4; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; background: var(--red); border-radius: 3px; color: #fff7e8; font: bold italic 27px/1 var(--serif); }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
nav a { color: #e6dfd2; text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover, .quiet-link:hover, .hero-figure a:hover { color: var(--salmon); }
.nav-books { padding: 8px 13px; border: 1px solid #62584a; border-radius: 3px; }
.nav-books span { padding-left: 3px; color: var(--salmon); }

.hero { color: var(--paper); background: radial-gradient(ellipse at 78% 30%, #33332a 0, transparent 55%), var(--dark); }
.hero-inner { display: grid; grid-template-columns: 1fr 0.88fr; align-items: center; gap: clamp(40px, 8vw, 120px); min-height: 584px; padding-block: 54px 42px; }
.hero-kicker { color: #e4d6bd; display: flex; align-items: center; gap: 12px; }
.hero-kicker span { width: 25px; height: 1px; background: var(--salmon); }
.hero-kicker b { margin-left: 8px; color: #b8aa93; font-size: 10px; }
h1 { font: normal clamp(84px, 11vw, 166px)/0.78 var(--serif); letter-spacing: -0.08em; margin: 28px 0 25px -0.045em; }
h1 em { font-weight: normal; }
h1 em span { color: var(--salmon); }
.hero-description { max-width: 410px; color: #e0d8c8; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 45px; padding: 9px 16px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.primary { background: var(--red); color: #fff9f1; }
.primary:hover { background: #8c2e23; }
.quiet-link { color: #f2ebdd; font-size: 14px; font-weight: 600; }
.quiet-link span { color: var(--salmon); }
.hero-figure { width: 100%; max-width: 482px; justify-self: end; }
.photo-frame { position: relative; display: flex; align-items: stretch; height: clamp(390px, 39vw, 484px); padding: 15px 15px 15px 37px; background: #e3d5b9; color: #2d2c22; box-shadow: 0 18px 42px #0d0e0b80; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; background: #aaa18f; }
.photo-edge { display: flex; justify-content: space-between; position: absolute; inset: 17px auto 17px 13px; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 9px/1 var(--mono); letter-spacing: 0.14em; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; color: #d0c5af; font: 700 11px/1.4 var(--mono); letter-spacing: 0.04em; }
.facts { background: #242620; border-top: 1px solid #444239; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-inner div { display: grid; align-content: center; gap: 5px; min-height: 101px; padding: 15px 20px; border-left: 1px solid #444239; }
.facts-inner div:last-child { border-right: 1px solid #444239; }
.facts strong { color: #f0e1c7; font: normal 34px/1 var(--serif); }
.facts span { color: #d2c7b4; font-size: 13px; }

h2 { font: normal clamp(46px, 6vw, 84px)/0.97 var(--serif); letter-spacing: -0.065em; }
h2 em { color: var(--red); font-weight: normal; }
.life-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(36px, 10vw, 140px); }
.section-intro { color: var(--muted); max-width: 38ch; margin-top: 25px; }
.text-link { display: inline-block; margin-top: 17px; font-size: 14px; font-weight: 700; color: var(--red); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 19px 0; border-bottom: 1px solid var(--rule); }
.timeline time { font: normal 27px/1.1 var(--serif); color: var(--red); }
.timeline h3 { font-size: 17px; line-height: 1.3; margin-bottom: 5px; }
.timeline p { color: var(--muted); font-size: 14px; }
.archive-video { display: grid; gap: 12px; max-width: 460px; margin: clamp(28px, 5vw, 55px) auto 0; padding: clamp(16px, 3vw, 24px); border-left: 4px solid var(--red); border-radius: 3px; background: var(--dark); color: var(--paper); }
.archive-video .eyebrow { color: #e4d6bd; margin-bottom: 4px; }
.archive-video h3 { font: bold clamp(22px, 3vw, 32px)/1.15 var(--serif); }
.archive-video-screen { position: relative; aspect-ratio: 4 / 3; min-height: 200px; background: #0f100e; }
.archive-video-screen iframe, .archive-video-preview { display: block; width: 100%; height: 100%; position: absolute; inset: 0; padding: 0; border: 0; }
.archive-video-preview { cursor: pointer; color: #fff9f1; background: transparent; }
.archive-video-preview img { width: 100%; height: 100%; object-fit: cover; }
.archive-video-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid currentColor; border-radius: 50%; background: var(--red); }
.archive-video-preview:hover .archive-video-icon { background: #8c2e23; }
.archive-video-action { justify-self: start; color: var(--salmon); font-size: 14px; font-weight: 700; }
.gallery { background: var(--cream); border-block: 1px solid var(--rule); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading > p { max-width: 29ch; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.gallery-image { display: block; position: relative; border: 7px solid #faf4e7; box-shadow: 0 1px 0 #c8baa3; background: #cfc0a3; }
.gallery-image img { width: 100%; aspect-ratio: 1.62; object-fit: cover; object-position: center 42%; filter: sepia(0.18); }
.gallery-image span { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 35px; height: 35px; background: var(--dark); color: white; }
.gallery-image:hover span { background: var(--red); }
.gallery-item figcaption { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.index { color: var(--red); font: 700 12px/1 var(--mono); border: 1px solid #cbbca4; padding: 7px; }
.gallery-item h3 { font: bold 19px/1.2 var(--serif); }
.gallery-item figcaption a { color: var(--muted); font-size: 12px; }

.search { display: flex; align-items: center; gap: 12px; max-width: 560px; padding: 0 13px; border: 1px solid #a79b87; border-radius: 3px; background: #fffcf6; color: var(--red); }
.search:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.search input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 15px 0 22px; }
.filters label { position: relative; }
.filters input { position: absolute; opacity: 0; }
.filters span { display: block; padding: 6px 12px; border: 1px solid #bdb2a0; border-radius: 3px; font-size: 13px; font-weight: 650; cursor: pointer; }
.filters span:hover { border-color: var(--red); }
.filters input:checked + span { background: var(--ink); color: #fff9ec; border-color: var(--ink); }
.filters input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.result-count { color: var(--muted); font: 700 12px/1.4 var(--mono); margin-bottom: 9px; }
.book-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--rule); }
.book-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.book-icon { display: grid; place-items: center; align-self: start; width: 33px; height: 39px; background: var(--cream); color: var(--red); border: 1px solid var(--rule); border-left: 3px solid var(--red); border-radius: 3px 2px 2px 3px; font: 700 11px/1 var(--mono); }
.book-row h3 { font: bold 21px/1.2 var(--serif); }
.book-meta { color: var(--muted); font-size: 13px; margin-top: 3px; }
.book-source { color: var(--red); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.book-source:hover { text-decoration: underline; }
.empty-state { margin-block: 16px; color: var(--muted); }
.outline { background: transparent; color: var(--ink); border-color: #a79b87; }
.outline:hover { border-color: var(--red); color: var(--red); }
.more { margin-top: 20px; }
.catalog { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 35px; padding: 24px 27px; background: var(--cream); border-left: 4px solid var(--red); }
.catalog .eyebrow { color: var(--red); }
.catalog h3 { margin: 4px 0; font: bold 27px/1.15 var(--serif); }
.catalog p:not(.eyebrow) { color: var(--muted); max-width: 63ch; font-size: 14px; }
.catalog .button { flex: none; }

footer { background: var(--dark); color: var(--paper); padding-block: 29px; }
.footer-sources { display: flex; flex-wrap: wrap; gap: 9px 23px; color: #e0d8c8; font-size: 13px; }
.footer-sources a { text-decoration: none; }
.footer-sources a:hover { text-decoration: underline; }
.back-top { display: grid; place-items: center; flex: none; width: 37px; height: 37px; border: 1px solid #635948; text-decoration: none; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 64px); }
  .section { padding-block: 74px; }
  .hero-inner { gap: 28px; min-height: 0; }
  .photo-frame { height: 395px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 8px; }
  .brand { gap: 7px; font-size: 16px; }
  .brand-mark { width: 29px; height: 29px; font-size: 21px; }
  .brand small { font-size: 7px; letter-spacing: 0.07em; }
  nav { gap: 9px; }
  nav a { font-size: 12px; }
  .nav-books { padding: 5px 6px; }
  .nav-books span { display: none; }
  .hero-inner, .life-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 42px 27px; gap: 31px; }
  .hero-figure { justify-self: start; }
  .photo-frame { height: clamp(330px, 104vw, 465px); }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .facts-inner div { min-height: 85px; padding: 12px; }
  .facts-inner div:nth-child(even) { border-right: 1px solid #444239; }
  .facts-inner div:nth-child(n+3) { border-top: 1px solid #444239; }
  .facts strong { font-size: 29px; }
  .facts span { font-size: 12px; }
  .section { padding-block: 58px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { margin-top: 13px; }
  .gallery-grid { gap: 24px; }
  .book-row { gap: 9px; }
  .book-row h3 { font-size: 18px; }
  .catalog { align-items: start; flex-direction: column; gap: 14px; padding: 18px; }
  .footer-inner { align-items: start; flex-wrap: wrap; }
  .footer-sources { order: 1; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
