.essay-sheet{padding:calc(var(--header) + 30px) var(--gutter) 110px;display:grid;grid-template-columns:1fr minmax(0,4fr) 1fr;gap:40px;background:var(--paper);color:var(--ink)}
.essay-sheet>h2{font-size:clamp(32px,4.4vw,64px);line-height:1;align-self:end;margin-bottom:65px}
.essay-primary{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 24px;gap:18px}
.essay-primary .image-open{min-height:0}
.essay-primary img{width:100%;height:100%;object-fit:contain}
.essay-primary figcaption{font-size:10px;color:var(--muted)}
.essay-footer{position:absolute;inset:auto var(--gutter) var(--controls-bottom);display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px}
.essay-footer button{min-height:44px}
.essay-controls{display:flex;gap:26px;color:var(--muted)}
.essay-controls button[aria-pressed=true]{color:var(--ink);text-decoration:underline;text-underline-offset:6px}
.essay-dark{--ink:#f6f4f0;--muted:#96928a;--line:#393732;background:#000;color:var(--ink)}
.essay-text .panel-copy p{font-size:17px;line-height:1.7}
.essay-text .panel-copy p:first-child{font:32px/1.17 Oranienbaum,serif;margin-bottom:30px}
.essay-text .panel-copy .essay-signature{font-size:12px;color:var(--muted);margin-top:40px}
.chapter-sheet{padding:calc(var(--header) + 22px) var(--gutter) 116px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:32px;background:var(--paper);color:var(--ink);touch-action:pan-y pinch-zoom}
.chapter-heading{display:flex;justify-content:space-between;align-items:baseline;gap:28px}
.chapter-heading h2{font-size:clamp(40px,4.6vw,68px);line-height:1}
.chapter-tabs{display:flex;align-items:center;gap:28px;font-size:13px;color:var(--muted)}
.chapter-tabs button{min-height:44px;white-space:nowrap;text-underline-offset:8px;text-decoration-thickness:1px}
.chapter-tabs [aria-selected=true]{color:var(--ink);text-decoration:underline}
.chapter-panel{min-height:0;display:grid;grid-template-rows:minmax(0,1fr)}
.chapter-panel[hidden]{display:none}
.chapter-panel .essay-primary{width:100%;max-width:1160px;margin-inline:auto}
.chapter-dark{--ink:#f6f4f0;--muted:#aaa69e;--line:#393732;background:#000}
.chapter-panel .study-stage{width:100%;height:100%}
.portfolio-divider{display:flex;flex-direction:column;justify-content:center;gap:30px;padding:var(--header) var(--gutter) 80px;background:var(--paper);color:var(--ink)}
.portfolio-divider h2{font-size:clamp(48px,11vw,180px);line-height:1;letter-spacing:-.025em}
.portfolio-divider>a{position:absolute;bottom:56px;left:var(--gutter);font-size:15px;min-height:44px;display:flex;align-items:center}
@media(max-width:759px){
 .chapter-sheet{padding-top:calc(var(--header) + 20px);padding-bottom:calc(var(--controls-bottom) + 60px);gap:20px}
 .chapter-heading{display:block}
 .chapter-heading h2{font-size:42px}
 .chapter-tabs{margin-top:14px;gap:26px;font-size:12px}
 .chapter-panel .essay-primary{grid-template-rows:minmax(0,1fr) auto;gap:12px}
 .chapter-panel .essay-primary figcaption{font-size:9px;line-height:1.5}
 .chapter-panel .essay-footer{font-size:11px;gap:12px}
}
@media(max-height:670px) and (max-width:759px){.chapter-sheet{padding-top:calc(var(--header) + 8px);padding-bottom:calc(var(--controls-bottom) + 54px);gap:14px}.chapter-heading h2{font-size:34px}.chapter-tabs{margin-top:4px}}
@media(max-height:480px) and (min-width:600px){.chapter-sheet{padding-top:calc(var(--header) + 4px);padding-bottom:80px;gap:10px}.chapter-heading h2{font-size:32px}.chapter-panel .essay-primary{gap:6px;grid-template-rows:minmax(0,1fr) 14px}.chapter-panel .essay-footer,.chapter-panel .study-controls{bottom:25px}.portfolio-divider>a{bottom:30px}}
@media(max-width:759px){
 .essay-sheet{padding:calc(var(--header) + 24px) var(--gutter) 128px;display:flex;flex-direction:column;gap:26px}
 .essay-sheet>h2{order:2;align-self:start;margin:0;font-size:38px}
 .essay-primary{flex:1;grid-template-rows:minmax(0,1fr) auto;gap:16px}
 .essay-primary figcaption{font-size:9px;line-height:1.5}
 .essay-footer{font-size:11px;bottom:44px;gap:16px}
 .essay-controls{gap:20px}
 .essay-text .panel-copy p{font-size:15px}
 .essay-text .panel-copy p:first-child{font-size:29px}
}
@media(max-height:670px) and (max-width:759px){.essay-sheet{padding-top:calc(var(--header) + 8px);padding-bottom:110px;gap:18px}.essay-sheet>h2{font-size:31px}.essay-primary{gap:10px}}
@media(max-height:480px) and (min-width:600px){.essay-sheet{padding:calc(var(--header) + 8px) var(--gutter) 80px;display:grid;grid-template-columns:1fr 4fr 1fr;gap:20px}.essay-sheet>h2{order:0;font-size:32px;align-self:end;margin-bottom:42px}.essay-primary{height:100%;gap:10px}.essay-footer{bottom:25px}}
.manifesto-dialog{width:min(810px,100%)}
.author-manifesto-copy p{font:clamp(24px,3.4vw,32px)/1.32 Oranienbaum,serif;margin-bottom:35px;text-wrap:pretty}
.author-manifesto-copy p:first-child{font-size:clamp(33px,4vw,46px);line-height:1.12;margin-bottom:48px}
.legend-dialog{--ink:#e9e5dc;--muted:#8e8a81;--line:#393732;width:min(860px,100%);background:#11110f;color:var(--ink);padding-bottom:80px}
.legend-dialog .panel-bar{margin-bottom:58px}
.legend-dialog .panel-bar h2{max-width:490px;font-size:clamp(36px,5vw,58px)}
.legend-copy{max-width:670px}
.legend-copy h3{font:10px Liberation,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:56px 0 30px;color:var(--muted)}
.legend-copy h3:first-child{margin-top:0}
.legend-copy p{font:clamp(23px,3.1vw,32px)/1.32 Oranienbaum,serif;margin:0 0 32px}
.panel-copy .story-signature{font:11px/1.5 Liberation,Arial,sans-serif;color:var(--muted);margin:55px 0 0}

@media(max-width:759px){.legend-dialog .panel-bar{margin-bottom:35px}.legend-dialog .panel-bar h2{font-size:35px}.legend-copy p{font-size:24px;line-height:1.35;overflow-wrap:break-word}.legend-copy h3{margin-top:42px}.author-manifesto-copy p{font-size:26px}.author-manifesto-copy p:first-child{font-size:33px}}
@media(max-width:359px){.legend-copy p{font-size:21px}.legend-dialog .panel-bar h2{font-size:31px}.author-manifesto-copy p{font-size:24px}.author-manifesto-copy p:first-child{font-size:29px}}
