:root {
  --paper: #f6f2e9;
  --paper-light: #fffdf7;
  --ink: #292e2b;
  --muted: #676c61;
  --line: #d6d6c9;
  --olive: #4b5741;
  --olive-dark: #35422e;
  --rust: #925842;
  --serif: 'GN Serif', Georgia, 'Times New Roman', serif;
  --sans: 'GN Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main:focus { outline: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1440px; margin: auto; padding: 30px 5%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { text-decoration: none; font: 700 24px/1.2 var(--serif); letter-spacing: -.8px; }
.wordmark span { display: block; margin-top: 8px; font: 400 10px/1.3 var(--sans); text-transform: uppercase; letter-spacing: 1.4px; }
.site-header nav { display: flex; gap: 33px; align-items: center; font-size: 13px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--rust); }
.site-header nav a:last-child { color: var(--olive); }
.eyebrow { font: 600 10px/1.5 var(--sans); text-transform: uppercase; letter-spacing: 2px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; padding: 13px 23px; text-decoration: none; font: 500 13px/1.5 var(--sans); transition: background .15s, border-color .15s; border-radius: 2px; }
.primary { background: var(--olive); color: white; }
.primary:hover { background: var(--olive-dark); }
.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.secondary:hover:not(:disabled) { border-color: var(--olive); background: #eaeade; }
.text-link { display: inline-block; font-size: 13px; text-decoration-thickness: 1px; }
.quiet-button { border: 0; background: transparent; padding: 10px 2px; min-height: 44px; font-size: 12px; }
.quiet-button:hover { color: var(--rust); }
.quiet-button span { margin-left: 8px; font-size: 22px; vertical-align: middle; line-height: 1; }
.hero { max-width: 1280px; padding: 83px 5% 78px; margin: auto; display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 9%; }
.hero-copy > .eyebrow { color: var(--olive); margin-bottom: 23px; }
.hero-title { font-size: clamp(63px, 7vw, 100px); line-height: 1.06; letter-spacing: -5px; margin: 0 0 25px -6px; }
.hero-subtitle { font: italic 18px/1.75 var(--serif); max-width: 350px; color: var(--olive); margin-bottom: 24px; }
.hero-description { font-size: 14px; line-height: 1.9; max-width: 375px; color: #555c52; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 29px; }
.edition-notice { margin: 24px 0 0; max-width: 390px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.notice-mark { font-weight: 700; }
.hero-art { position: relative; padding: 15px 7px 28px; transform: rotate(1.2deg); }
.hero-page { position: relative; width: 100%; background: #fffdf7; box-shadow: 0 15px 35px #28312221, 2px 3px 3px #28312216; border: 1px solid #dcd9ca; }
.hero-page > svg { width: 100%; aspect-ratio: 2/3; object-fit: contain; }
.hero-page { aspect-ratio: 2/3; }
.paper-behind { position: absolute; inset: 17px 10px 34px 4px; background: #e7e2d5; transform: rotate(-5deg); border: 1px solid #d0cbbb; box-shadow: 0 8px 12px #1f25100b; }
.art-caption { position: relative; margin: 22px 0 0; font: 400 9px/1.5 var(--sans); text-transform: uppercase; text-align: center; letter-spacing: 1.7px; color: var(--muted); }
.preview-unavailable { min-height: 500px; display: grid; place-items: center; padding: 35px; font: 25px/1.8 var(--serif); }
.collection-intro { max-width: 1152px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 55px; }
.collection-intro > .eyebrow { color: var(--olive); margin: 5px 0 0; max-width: 200px; }
.collection-intro > p:last-child { font: 15px/1.9 var(--serif); margin: 0; max-width: 750px; }
.collection { max-width: 1280px; padding: 65px 5% 40px; margin: auto; scroll-margin-top: 35px; }
.section-heading { display: flex; gap: 25px; align-items: baseline; justify-content: space-between; margin-bottom: 31px; }
.section-heading h2 { margin: 0; font-size: 29px; letter-spacing: -1px; }
.section-heading p { font-size: 12px; color: var(--muted); margin: 0; }
.volume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.volume-cover { height: 240px; background: #e3e5d9; display: flex; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; padding: 25px 42px 0; border-bottom: 1px solid #c7cbbd; }
.volume-cover > svg { width: 100%; height: auto; flex-shrink: 0; transform: rotate(-3deg); box-shadow: 1px 6px 13px #222c1b29; border: 1px solid #e8e4d8; transition: transform .25s; }
.volume-cover:hover > svg { transform: rotate(0) translateY(-4px); }
.volume-tone-1 .volume-cover { background: #e6dfd0; border-color: #d1c9b9; }
.volume-tone-2 .volume-cover { background: #dfe4e3; border-color: #c6d0cf; }
.cover-number { position: absolute; top: 13px; left: 16px; font: 11px/1 var(--sans); color: #59624f; }
.volume-card-copy { padding-top: 21px; }
.volume-card-copy .eyebrow { font-size: 9px; letter-spacing: 1.7px; color: var(--muted); margin-bottom: 7px; }
.volume-card h3 { font-size: 21px; line-height: 1.45; letter-spacing: -.5px; margin-bottom: 7px; }
.volume-card h3 a { text-decoration: none; }
.volume-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.volume-range { font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.volume-card .text-link { font-size: 11px; }
.reading-note { max-width: 1152px; margin: 28px auto 75px; border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 55px; }
.reading-note h2 { font-size: 20px; line-height: 1.5; max-width: 210px; }
.reading-note p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 33px 5% 40px; max-width: 1440px; margin: auto; display: flex; gap: 17px 30px; flex-wrap: wrap; justify-content: space-between; font-size: 10px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer > p:first-child { flex-basis: 100%; font: italic 13px/1.5 var(--serif); color: var(--olive); }
.site-footer a { text-decoration: none; }
.opening-state, .missing-state { min-height: 55vh; max-width: 800px; margin: auto; padding: 80px 5%; }
.opening-state > p { font: 25px/1.5 var(--serif); }
.missing-state h1 { font-size: clamp(30px, 6vw, 50px); line-height: 1.35; }
.missing-state p { max-width: 580px; }
.missing-state .text-link { margin: 15px; }
.no-script { position: fixed; inset: 0; background: var(--paper); padding: 15vh 10%; z-index: 99; }
.volume-detail { max-width: 1000px; padding: 38px 5% 90px; margin: auto; }
.back-link { display: inline-block; font-size: 12px; margin-bottom: 50px; text-decoration: none; color: var(--muted); }
.volume-heading { max-width: 670px; }
.volume-heading > .eyebrow { color: var(--olive); margin-bottom: 15px; }
.volume-heading h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.25; letter-spacing: -2px; margin-bottom: 20px; }
.volume-heading > .button { margin-top: 26px; }
.downloads { margin-top: 28px; }
.downloads .eyebrow { display: block; color: var(--muted); margin-bottom: 13px; font-size: 9px; }
.download-links { display: flex; flex-wrap: wrap; gap: 10px 23px; }
.download-links a { font-size: 12px; }
.volume-contents { border-top: 1px solid var(--line); margin-top: 42px; padding-top: 30px; }
.volume-contents h2 { font-size: 25px; }
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-list li { border-bottom: 1px solid var(--line); }
.chapter-list a { padding: 18px 0; display: grid; grid-template-columns: 100px 1fr 50px; align-items: baseline; gap: 20px; text-decoration: none; }
.chapter-list a:hover .chapter-name { color: var(--rust); }
.chapter-section { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.chapter-name { font-family: var(--serif); font-size: 15px; }
.chapter-page { font-size: 11px; color: var(--muted); text-align: right; white-space: nowrap; }
body[data-view='read'] { background: #efeee6; }
body[data-view='read'] .site-header { padding-top: 18px; padding-bottom: 18px; }
body[data-view='read'] .wordmark { font-size: 19px; }
body[data-view='read'] .wordmark span { display: none; }
.reader { max-width: 1360px; padding: 28px 4% 55px; margin: auto; }
.reader-heading { display: flex; justify-content: space-between; gap: 25px; align-items: center; padding-bottom: 21px; }
.reader-volume-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.reader-heading h1 { margin: 5px 0 0; font-size: 24px; line-height: 1.4; letter-spacing: -.5px; }
.reader-tools { display: flex; gap: 22px; align-items: center; }
.reading-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #d3d6c9; padding: 16px 0 20px; }
.view-switch { border: 1px solid #c7ccbd; padding: 3px; display: inline-flex; border-radius: 3px; }
.mode-button { border: 0; background: transparent; padding: 7px 14px; min-height: 35px; font-size: 11px; border-radius: 2px; }
.mode-button.selected { color: white; background: var(--olive); }
.mode-button:not(.selected):hover { background: #e1e4d9; }
.page-indicator { font-size: 11px; margin: 0; color: #626958; }
.reader-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 35px; align-items: start; }
.visual-column { min-width: 0; }
.page-figure { margin: 0; }
.artboard { position: relative; width: 100%; max-width: 750px; margin: auto; background: var(--paper-light); border: 1px solid #dad7ca; box-shadow: 0 5px 20px #252e1c10; isolation: isolate; overflow: hidden; }
.artboard > svg { width: 100%; height: 100%; }
.artboard > svg text { user-select: text; -webkit-user-select: text; }
.plate-tools{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin:.8rem 0}
.artwork-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem;margin:0 0 .65rem}
.artwork-tools [aria-pressed="true"]{font-weight:600}
.volume-overview-cover{width:min(100%,420px);margin:1.8rem auto 2.5rem;background:var(--paper-light);box-shadow:0 4px 18px #252e1c14}
.volume-overview-cover>svg{display:block;width:100%;height:auto;aspect-ratio:2/3}
.artboard.art-enlarged{overflow:auto;max-height:72vh;touch-action:pan-x pan-y pinch-zoom}
.artboard.art-enlarged>svg{max-width:none;flex:none;display:block}
.artboard.art-enlarged:focus{outline:2px solid var(--rust);outline-offset:3px}
.artboard > svg [data-source-panel] { cursor: pointer; }
.artboard > svg [data-source-panel]:focus { outline: 3px solid var(--rust); outline-offset: 4px; }
.artboard.loading { aspect-ratio: 2/3; display: grid; place-items: center; }
.is-focused .artboard { max-width: 800px; }
.art-loading { font: italic 15px/1.6 var(--serif); color: var(--muted); }
.page-caption { font-size: 10px; color: var(--muted); padding: 12px 2px 8px; line-height: 1.7; text-align: center; }
.panel-hotspots { position: absolute; inset: 0; }
.panel-hotspot { position: absolute; border: 2px solid transparent; padding: 0; background: transparent; border-radius: 2px; }
.panel-hotspot span { position: absolute; right: 10px; bottom: 10px; background: var(--olive); color: white; padding: 7px 10px; font-size: 10px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.panel-hotspot:hover, .panel-hotspot:focus-visible { border-color: #4b574199; }
.panel-hotspot:hover span, .panel-hotspot:focus-visible span { opacity: 1; transform: none; }
.panel-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 9px 0 18px; }
.panel-chip { font-size: 10px; text-decoration: none; border: 1px solid #c9cebf; padding: 6px 11px; min-height: 34px; display: inline-flex; align-items: center; border-radius: 2px; }
.panel-chip:hover { border-color: var(--olive); }
.panel-chip.active { color: var(--olive-dark); background: #dfe4d5; border-color: #a5af98; }
.page-navigation { display: flex; justify-content: space-between; gap: 20px; }
.page-navigation .button { min-width: 130px; }
.keyboard-hint { text-align: center; font-size: 9px; color: #747a6b; margin: 17px 0 0; }
.reading-companion { font-size: 12px; padding-top: 1px; }
.transcript { border-top: 2px solid var(--olive); border-bottom: 1px solid #c7ccbd; }
.transcript > summary { padding: 17px 23px 17px 0; cursor: pointer; list-style: none; position: relative; }
.transcript > summary::-webkit-details-marker { display: none; }
.transcript > summary::after { content: '+'; position: absolute; right: 2px; top: 15px; font-size: 21px; font-weight: 400; }
.transcript[open] > summary::after { content: '−'; }
.transcript > summary > span:first-child { display: block; font: 17px/1.5 var(--serif); margin-bottom: 5px; }
.summary-note { display: block; font-size: 10px; color: var(--muted); }
.transcript-content { padding-bottom: 20px; }
.panel-transcript + .panel-transcript { border-top: 1px solid #d3d6c9; margin-top: 22px; padding-top: 20px; }
.panel-transcript h3 { font: 600 9px/1.6 var(--sans); text-transform: uppercase; letter-spacing: 1.5px; color: var(--olive); margin: 0 0 12px; }
.scene-title { font: italic 12px/1.6 var(--serif); color: var(--muted); }
.transcript-line { font-size: 13px; line-height: 1.8; margin-bottom: 13px; white-space: pre-line; }
.transcript-line.quote { border-left: 2px solid #a0a88e; padding-left: 12px; font-family: var(--serif); }
.text-kind { display: block; font: 600 9px/1.5 var(--sans); margin-bottom: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; }
.speaker { font-weight: 600; }
.image-description { color: #616958; background: #e5e8dd; padding: 13px; margin-top: 16px; }
.image-description h4 { font: 600 9px/1.5 var(--sans); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px; }
.image-description p { margin: 0; line-height: 1.8; font-size: 11px; }
.analogy-limit { font-size: 11px; line-height: 1.8; padding-left: 12px; border-left: 2px solid var(--rust); margin-top: 15px; }
.page-sources { margin-top: 29px; }
.page-sources h2 { font: 17px/1.5 var(--serif); margin-bottom: 10px; }
.page-sources > p { font-size: 11px; line-height: 1.8; color: var(--muted); }
.source-button { background: transparent; text-align: left; width: 100%; border: 0; border-top: 1px solid #c7ccbd; padding: 13px 2px; font-size: 11px; line-height: 1.65; color: var(--olive-dark); }
.source-button:last-child { border-bottom: 1px solid #c7ccbd; }
.source-button:hover { color: var(--rust); }
.source-choice-title { display: block; }
.source-choice-attribution { display: block; margin-top: 5px; font-size: .88em; line-height: 1.65; color: var(--muted); }
.reader-edition-note { font-size: 9px; color: #777c6f; margin-top: 24px; }
.share-field { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; background: #e4e8db; padding: 15px; margin-bottom: 18px; }
.share-field label { font-size: 11px; }
.share-field input { min-width: 150px; flex: 1; border: 1px solid #bbc3ad; padding: 8px; font-size: 12px; background: var(--paper-light); }
.art-unavailable { min-height: 350px; display: grid; place-items: center; }
.art-preparing { min-height: 250px; }
.art-error { text-align: center; padding: 35px; max-width: 510px; }
.art-error h2 { font-size: 23px; line-height: 1.5; }
.art-error p { font-size: 13px; }
.art-error .button { margin: 8px; }
.art-error .quiet-button { display: block; margin: auto; }
.art-error-note { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; padding: 10px; background: #fff8e6f5; color: #6e482c; font-size: 11px; text-align: center; }
.inline-button { background: transparent; border: 0; padding: 4px 0; text-decoration: underline; font: inherit; }
.volume-end { max-width: 750px; border-top: 1px solid #c7ccbd; margin-top: 28px; padding-top: 23px; }
.volume-end > .eyebrow { color: var(--muted); font-size: 9px; }
.volume-end .downloads { margin-top: 10px; }
dialog { color: var(--ink); border: 1px solid #d0d0c2; padding: 0; background: var(--paper-light); box-shadow: 0 20px 80px #151d1c33; }
dialog::backdrop { background: #1c2724a3; backdrop-filter: blur(3px); }
.source-dialog { width: min(1100px, calc(100% - 64px)); max-width: none; max-height: calc(100dvh - 70px); border-radius: 3px; }
.dialog-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 12px 32px; background: var(--paper-light); border-bottom: 1px solid var(--line); }
.dialog-bar > .eyebrow { font-size: 9px; }
.source-content { padding: 38px 42px 45px; }
.source-content > h2 { font-size: 30px; line-height: 1.5; margin-bottom: 16px; max-width: 850px; letter-spacing: -.5px; }
.source-attribution { font-size: 14px; color: var(--olive); font-weight: 600; margin-bottom: 18px; }
.source-works, .source-locators { display: flex; gap: 12px 25px; flex-wrap: wrap; align-items: baseline; }
.source-works { font: 16px/1.7 var(--serif); }
.source-works p, .source-locators p { margin-bottom: 8px; }
.source-work-he { font-family: 'GN Hebrew', 'Times New Roman', serif; font-size: 23px; }
.source-locators { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.source-locators [lang='he'] { font-size: 17px; }
.source-passage-navigation { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 24px; margin: 19px 0 25px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--olive-dark); }
.citation-context-note { flex-basis: 100%; font-size: 10px; color: var(--muted); }
.source-context { background: #eef0e7; border-left: 2px solid #99a389; padding: 20px 23px 3px; margin: 20px 0 32px; }
.source-context-section { margin-bottom: 21px; }
.source-context-section h3 { font: 600 10px/1.6 var(--sans); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px; color: var(--olive); }
.source-context-section p, .source-context-section li { font-size: 13px; line-height: 1.9; margin-bottom: 9px; }
.source-context-section ul { padding-left: 18px; margin-top: 0; }
.passage-title { font-size: 22px; margin-bottom: 20px; }
.language-labels, .bilingual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.language-labels { font-size: 9px; letter-spacing: 1.6px; color: var(--muted); padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.bilingual-row { padding: 23px 0; border-bottom: 1px solid #e0e0d5; }
.bilingual-row.is-cited { background: #f0f3e9; border-left: 2px solid #869477; margin-left: -13px; margin-right: -13px; padding-left: 11px; padding-right: 13px; row-gap: 12px; scroll-margin-top: 90px; }
.bilingual-row.is-cited:focus { outline: none; }
.cited-passage-label { grid-column: 1 / -1; display: flex; gap: 15px; flex-wrap: wrap; justify-content: space-between; align-items: baseline; font: 600 9px/1.7 var(--sans); color: var(--olive-dark); letter-spacing: 1px; text-transform: uppercase; }
.cited-passage-label .inline-button { font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bilingual-row p { margin: 0; white-space: pre-line; }
.bilingual-row .hebrew { font: 22px/1.95 'GN Hebrew', 'Times New Roman', serif; }
.bilingual-row .english { font: 14px/1.95 var(--serif); }
.bilingual-passage { margin-bottom: 28px; scroll-margin-top: 90px; }
.source-language-navigation .inline-button[aria-pressed='true'] { font-weight: 600; text-decoration-thickness: 2px; }
.bilingual-passage:focus { outline: none; }
.bilingual-passage[data-language='english'] .hebrew,
.bilingual-passage[data-language='hebrew'] .english,
.bilingual-passage[data-language='english'] .language-labels span:first-child,
.bilingual-passage[data-language='hebrew'] .language-labels span:last-child { display: none; }
.bilingual-passage[data-language='english'] .bilingual-row,
.bilingual-passage[data-language='hebrew'] .bilingual-row,
.bilingual-passage[data-language='english'] .language-labels,
.bilingual-passage[data-language='hebrew'] .language-labels { grid-template-columns: 1fr; }
.bilingual-passage[data-language='english'] .english { max-width: 78ch; }
.source-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.source-discussion-nav { padding: 16px 0; margin: 8px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-discussion-nav > .eyebrow { font-size: 9px; color: var(--muted); margin-bottom: 9px; }
.source-discussion-nav > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.source-tab { border: 1px solid var(--line); background: transparent; font-size: 11px; padding: 8px 11px; text-align: left; }
.source-tab.active { border-color: #a6af97; background: #e7ebdf; color: var(--olive-dark); }
.chapters-dialog { width: min(780px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 65px); }
.chapters-dialog .dialog-bar { padding: 14px 25px; }
.chapters-dialog h2 { font-size: 18px; margin: 0; }
#chapters-content { padding: 10px 30px 35px; }
.chapters-dialog .chapter-list a { grid-template-columns: 80px 1fr 40px; gap: 12px; }

@media (min-width: 1600px) {
  .reader { max-width: 1500px; }
  .reader-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 55px; }
  .artboard { max-width: 850px; }
}

@media (max-width: 1180px) {
  .collection-intro, .reading-note { margin-left: 5%; margin-right: 5%; }
  .reader-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 25px; }
  .hero { gap: 7%; }
}

@media (max-width: 900px) {
  .hero { gap: 6%; padding-top: 55px; }
  .hero-title { font-size: 68px; letter-spacing: -3px; }
  .hero-subtitle { font-size: 15px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 16px; }
  .hero-actions .text-link { font-size: 11px; }
  .volume-cover { padding-left: 30px; padding-right: 30px; height: 210px; }
  .volume-grid { gap: 35px 22px; }
  .volume-card h3 { font-size: 18px; }
  .reader-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; }
  .reader-heading h1 { font-size: 22px; }
  .reader-tools { gap: 14px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 20px; }
  .site-header { padding: 22px 6%; gap: 15px; }
  .wordmark { font-size: 20px; }
  .wordmark span { font-size: 8px; letter-spacing: .9px; max-width: 180px; line-height: 1.6; }
  .site-header nav { gap: 15px; font-size: 10px; }
  .site-header nav a:first-child { display: none; }
  .site-header nav a:last-child { max-width: 100px; text-align: right; }
  .hero { grid-template-columns: 1fr; padding: 45px 7% 40px; gap: 36px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.8px; margin-bottom: 20px; }
  .hero-title { font-size: clamp(65px, 14vw, 96px); margin-left: -3px; margin-bottom: 24px; letter-spacing: -3px; }
  .hero-title br { display: none; }
  .hero-title br::after { content: ' '; }
  .hero-subtitle { max-width: none; font-size: 16px; margin-bottom: 19px; }
  .hero-description { font-size: 13px; max-width: 470px; }
  .hero-actions { margin-top: 23px; }
  .edition-notice { margin-top: 20px; font-size: 10px; }
  .hero-art { max-width: 390px; margin: 0 auto; width: 100%; padding: 4px 15px 0; }
  .hero-page > svg { max-height: 500px; }
  .paper-behind { inset: 9px 20px 30px 11px; }
  .art-caption { font-size: 8px; letter-spacing: 1.3px; }
  .collection-intro { margin: 0 7%; padding: 25px 0; display: block; }
  .collection-intro > .eyebrow { max-width: none; margin-bottom: 14px; font-size: 9px; }
  .collection-intro > p:last-child { font-size: 13px; line-height: 1.95; }
  .collection { padding: 37px 7% 30px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: 27px; margin-bottom: 8px; }
  .section-heading p { font-size: 11px; }
  .volume-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .volume-cover { height: 190px; padding: 26px 20px 0; }
  .volume-card-copy { padding-top: 15px; }
  .volume-card-copy .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .volume-card h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.4px; }
  .volume-range { font-size: 9px; line-height: 1.7; }
  .cover-number { left: 10px; top: 10px; font-size: 9px; }
  .volume-card .text-link { font-size: 10px; }
  .reading-note { display: block; margin: 12px 7% 40px; padding-top: 25px; }
  .reading-note h2 { max-width: none; margin-bottom: 13px; font-size: 20px; }
  .reading-note p { font-size: 12px; }
  .site-footer { display: block; padding: 27px 7%; }
  .site-footer p, .site-footer a { display: block; margin-bottom: 12px; }
  .site-footer > p:first-child { font-size: 12px; }
  .volume-detail { padding: 27px 7% 50px; }
  .back-link { margin-bottom: 35px; }
  .volume-heading h1 { font-size: 43px; letter-spacing: -1.5px; }
  .volume-heading .edition-notice { font-size: 11px; }
  .chapter-list a { grid-template-columns: 65px 1fr 35px; gap: 10px; padding: 17px 0; }
  .chapter-section { font-size: 8px; letter-spacing: .5px; }
  .chapter-name { font-size: 13px; }
  .chapter-page { font-size: 10px; }
  .download-links { gap: 12px 20px; }
  .download-links a { font-size: 11px; }
  body[data-view='read'] .site-header { padding: 15px 5%; }
  body[data-view='read'] .wordmark { font-size: 17px; }
  body[data-view='read'] .site-header nav { font-size: 9px; }
  .reader { padding: 20px 4% 35px; }
  .reader-heading { padding: 0 1% 16px; gap: 15px; align-items: flex-start; }
  .reader-volume-label { font-size: 9px; }
  .reader-heading h1 { font-size: 20px; line-height: 1.5; margin-top: 6px; }
  .reader-tools { flex-direction: column; align-items: flex-end; gap: 0; flex-shrink: 0; }
  .reader-tools .quiet-button { font-size: 10px; padding: 3px 0; min-height: 32px; }
  .reading-controls { padding: 12px 0 16px; gap: 10px; }
  .mode-button { padding: 6px 10px; font-size: 10px; min-height: 33px; }
  .page-indicator { font-size: 9px; text-align: right; max-width: 135px; }
  .reader-layout { display: block; }
  .artboard { width: 100%; box-shadow: 0 3px 13px #252e1c10; }
  .is-focused .artboard { width: 100%; }
  .page-caption { font-size: 9px; padding: 10px 3px 7px; }
  .panel-navigation { gap: 6px; margin-bottom: 15px; }
  .panel-chip { padding: 6px 10px; font-size: 10px; min-height: 36px; }
  .page-navigation .button { min-width: 116px; min-height: 46px; padding: 12px 20px; font-size: 12px; }
  .keyboard-hint { display: none; }
  .reading-companion { margin: 27px 2% 0; }
  .transcript > summary { padding: 17px 25px 17px 0; }
  .transcript > summary > span:first-child { font-size: 19px; }
  .summary-note { font-size: 10px; }
  .transcript-content { padding-top: 7px; padding-bottom: 24px; }
  .panel-transcript h3 { font-size: 10px; }
  .transcript-line { font-size: 16px; line-height: 1.85; margin-bottom: 17px; }
  .image-description { padding: 16px; margin-top: 20px; }
  .image-description p { font-size: 13px; }
  .image-description h4 { font-size: 9px; }
  .scene-title { font-size: 14px; }
  .analogy-limit { font-size: 13px; }
  .page-sources { margin-top: 25px; }
  .page-sources h2 { font-size: 19px; }
  .page-sources > p { font-size: 12px; }
  .source-button { font-size: 13px; padding: 15px 2px; }
  .reader-edition-note { font-size: 10px; }
  .volume-end { margin: 25px 2% 0; }
  .source-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 20px); border-radius: 3px; }
  .dialog-bar { padding: 7px 17px; gap: 15px; }
  .dialog-bar > .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .dialog-bar .quiet-button { font-size: 10px; }
  .source-content { padding: 24px 20px 30px; }
  .source-content > h2 { font-size: 24px; line-height: 1.5; }
  .source-attribution { font-size: 13px; }
  .source-works { gap: 0 15px; font-size: 15px; }
  .source-work-he { font-size: 22px; }
  .source-locators { gap: 0 15px; font-size: 11px; }
  .source-context { padding: 16px 16px 1px; margin-top: 18px; }
  .source-context-section h3 { font-size: 9px; }
  .source-context-section p, .source-context-section li { font-size: 12px; line-height: 1.85; }
  .language-labels { display: none; }
  .bilingual-row { display: block; padding: 24px 0; }
  .bilingual-row.is-cited { margin-left: -8px; margin-right: -8px; padding-left: 8px; padding-right: 8px; scroll-margin-top: 85px; }
  .cited-passage-label { margin-bottom: 18px; font-size: 8px; }
  .bilingual-row:first-of-type { padding-top: 12px; }
  .bilingual-row .hebrew { font-size: 23px; line-height: 1.95; margin-bottom: 22px; }
  .bilingual-row .english { font-size: 14px; line-height: 1.95; }
  .source-footer { align-items: flex-start; flex-direction: column; }
  .source-footer .button { width: 100%; }
  .chapters-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 30px); }
  .chapters-dialog .dialog-bar { padding: 10px 19px; }
  .chapters-dialog h2 { font-size: 15px; }
  #chapters-content { padding: 4px 20px 30px; }
  .chapters-dialog .chapter-list a { grid-template-columns: 60px 1fr 30px; gap: 10px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 62px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { padding: 12px 17px; }
  .volume-cover { height: 160px; padding-left: 17px; padding-right: 17px; }
  .volume-card h3 { font-size: 15px; }
  .reader-heading h1 { font-size: 18px; }
  .reader-tools .quiet-button { font-size: 9px; }
  .page-indicator { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .reading-controls, .reader-tools, .reading-companion, .panel-navigation, .page-navigation, .keyboard-hint, .panel-hotspots, .page-caption, .volume-end, .skip-link { display: none !important; }
  body { background: white; }
  .reader { padding: 0; }
  .reader-layout { display: block; }
  .reader-heading { margin-bottom: 10px; padding: 0; }
  .reader-heading h1 { font-size: 14pt; }
  .artboard { max-width: none; box-shadow: none; border: 0; break-inside: avoid; }
}
