:root {
  --paper: #f7f7f3;
  --ink: #20221f;
  --secondary: #545851;
  --line: #d6d8d0;
  --accent: #865338;
  --header: 64px;
  --page-edge: clamp(22px, 3.8vw, 80px);
  --media-edge: clamp(21px, 2.75vw, 69px);
  --copy-left: clamp(34px, 4.15vw, 104px);
  --copy-right: clamp(42px, 5.25vw, 132px);
  --body-size: clamp(1.125rem, 1.42vw, 1.36rem);
  --turn-height: 56px;
  --column-gap: clamp(52px, 8.5svh, 100px);
  --ease: cubic-bezier(.22,.65,.26,1);
  font: 100% var(--body);
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; -webkit-text-size-adjust: 100%; overflow-anchor:none; }
body { margin:0; font:400 1rem/1.5 var(--body); }
button, select, input, a { -webkit-tap-highlight-color:transparent; }
button, select, input { font:inherit; }
button, a { color:inherit; }
button { background:none; border:0; padding:0; cursor:pointer; }
button:disabled { cursor:default; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
img, video { display:block; max-width:100%; }
[hidden] { display:none!important; }
.sr-only, .skip:not(:focus) { position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.skip:focus { position:fixed; z-index:40; top:4px;left:12px;background:var(--paper);padding:10px; }
.masthead { position:sticky;top:0;z-index:9;height:var(--header);display:flex;align-items:center;padding-inline:var(--page-edge);background:var(--paper); }
.identity, .wordmark { display:inline-flex;align-items:center;gap:9px; }
.wordmark, .publication { min-height:44px; }
.wordmark span { font:700 17px/1.5 var(--brand-face);font-optical-sizing:auto;font-variation-settings:normal;letter-spacing:-.03em; }
.mast-divider { height:14px;width:1px;background:#bdbfb6;margin-inline:1px; }
.publication { font-size:17px;letter-spacing:-.012em;color:var(--secondary); }
.publication:hover,.turn-page button:hover,.restart:hover,.source-link:hover { color:var(--accent); }
.bookend { position:relative;isolation:isolate;overflow:hidden;margin:0 clamp(8px,1vw,20px) clamp(8px,1vw,20px);border-radius:6px;scroll-margin-top:var(--header); }
.cover { display:flex;align-items:flex-end;height:calc(100svh - var(--header) - clamp(8px,1vw,20px));min-height:365px;background:#383f35;color:#fffefa; }
.cover picture,.cover picture img,.closing picture img { width:100%;height:100%;display:block;object-fit:cover; }
.cover picture,.cover::after { position:absolute;inset:0;z-index:-1; }
.cover::after { content:"";background:linear-gradient(77deg,#111810a6 0%,#12191050 42%,transparent 73%),linear-gradient(0deg,#1518115c,transparent 55%); }
.cover-copy { padding:clamp(32px,5.15vw,111px) clamp(30px,5vw,108px); }
.cover h1,.closing h2 { margin:0;font:400 clamp(3.25rem,6.1vw,7.25rem)/1.025 var(--display);font-variation-settings:"opsz" 30;letter-spacing:-.045em; }
.cover h1 { max-width:16ch;text-wrap:balance; }
.cover-enter { display:inline-flex;align-items:center;min-height:44px;padding:8px 22px;margin-top:clamp(24px,4svh,43px);border-radius:24px;font-size:1rem;font-weight:500;background:var(--paper);color:var(--ink); }
.cover-enter:hover { background:white; }
.closing { display:grid;grid-template-columns:1fr 1fr;min-height:calc(100svh - var(--header) - 14px);color:#f6f7ef;background:#242a25; }
.closing-copy { display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(32px,5vw,108px); }
.closing h2 { font-size:clamp(3.15rem,5.6vw,6.75rem); }
.contact-person { display:grid;gap:2px;margin:clamp(28px,5svh,59px) 0 13px;font-size:var(--body-size); }
.contact-person strong { font-weight:500; }.contact-person span,.restart { color:#c3c9bf; }
.contact-email { font-size:clamp(1.12rem,1.7vw,2rem);letter-spacing:-.02em; }
.restart { display:inline-flex;min-height:40px;align-items:center;margin-top:clamp(36px,7.5svh,86px);font-size:.94rem; }
.closing picture { position:relative;min-width:0; }.closing picture img { position:absolute;inset:0; }

.spread { position:relative; }
.reading-frame { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start; }
.stage-column { position:sticky;top:var(--header);min-width:0;padding:24px var(--media-edge);height:calc(100svh - var(--header));display:flex;align-items:center;justify-content:center; }
.plate { margin:0;width:100%;max-width:940px;min-width:0; }
.exhibit-frame { position:relative;width:100%;height:min(calc((50vw - 2 * var(--media-edge)) * .79),calc(100svh - var(--header) - 120px));min-height:130px;isolation:isolate;overflow:hidden;background:#e9ebe4;border-radius:3px; }
.scene-layers,.scene,.first-plate { position:absolute;inset:0;overflow:hidden; }
.first-plate img { width:100%;height:100%;object-fit:cover; }
.scene { z-index:1;isolation:isolate;opacity:0;pointer-events:none;background:#ebede6;transition:opacity .34s var(--ease); }
.scene.active { opacity:1;pointer-events:auto; }.scene.exiting { z-index:0;opacity:1;pointer-events:none; }.scene.ready-first { transition:none; }
.plate-foot { display:flex;align-items:center;gap:8px;min-height:44px;padding:3px 0;color:#4e524b;font:400 .875rem/1.35 var(--body); }
.caption-text,.caption-picker { min-width:0; }
.caption-picker { position:relative;display:inline-flex;align-items:center;max-width:calc(100% - 74px); }
.caption-picker select { appearance:none;display:block;width:100%;min-width:0;max-width:100%;padding:8px 21px 8px 0;border:0;border-radius:0;text-overflow:ellipsis;background:transparent;color:inherit;cursor:pointer;line-height:1.3; }
.caption-picker svg { position:absolute;right:0;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.25;pointer-events:none; }
.plate-tools { display:flex;align-items:center;gap:5px;margin-left:auto; }
.tool { display:grid;place-items:center;width:34px;height:36px;color:#4e544c;border-radius:3px; }
.tool:hover { background:#e8ebe3;color:var(--ink); }
.tool svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round; }
.tool .collapse,.tool .play,[aria-pressed=true] .pause,.figure-dialog[open] .expand { display:none; }
[aria-pressed=true] .play,.figure-dialog[open] .collapse { display:block; }
.source-link { display:inline-flex;align-items:center;min-height:33px;font-size:.83rem;color:var(--secondary); }
.copy-column { min-width:0; }
#reader { width:100%;padding:clamp(46px,8.5svh,108px) var(--copy-right) clamp(56px,12svh,144px) var(--copy-left); }
.chapter { max-width:39rem;scroll-margin-top:calc(var(--header) + 22px); }
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus { outline:none; }
.chapter+.chapter { margin-top:var(--column-gap); }
.chapter h2 { font:400 clamp(1.72rem,2.3vw,2.75rem)/1.19 var(--display);font-variation-settings:"opsz" 25;letter-spacing:-.029em;margin:0 0 clamp(22px,3.5svh,40px);text-wrap:balance; }
.beat { font:400 var(--body-size)/1.61 var(--body);font-variation-settings:"opsz" 18;letter-spacing:0;color:#2b2e2a;margin:0;overflow-wrap:break-word; }
.beat+.beat { margin-top:clamp(23px,3.8svh,43px); }
.phrase { display:inline; }
.ink-control { display:inline;padding:0;margin:0;border:0;color:inherit;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit; }
.ink-control:hover,.ink-control[aria-pressed=true] { color:var(--accent); }
.turn-page { display:none; }
.guided .spread { height:var(--story-height,auto); }
.guided .reading-frame { position:sticky;top:var(--header);height:calc(100svh - var(--header));align-items:stretch;grid-template-rows:minmax(0,1fr); }
.guided .stage-column { position:static;height:100%; }
.guided .copy-column { display:flex;flex-direction:column;min-height:0; }
.guided .text-window { flex:1;min-height:0;overflow:clip;position:relative;mask-image:linear-gradient(to bottom,transparent,#000 9px,#000 calc(100% - 15px),transparent); }
.guided #reader { transform:translate3d(0,var(--read-y,0px),0);padding-bottom:calc(var(--text-height,65svh) * .8); }
.guided .turn-page { display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;height:var(--turn-height);margin-inline:var(--copy-left) var(--copy-right);border-top:1px solid var(--line);max-width:39rem;color:var(--secondary); }
.turn-page button { min-height:40px;font-size:.9rem; }
body:has(dialog[open]) { overflow:hidden; }
dialog { color:var(--ink); }
.index-panel { position:fixed;inset:calc(var(--header) - 2px) auto auto var(--page-edge);margin:0;width:min(390px,calc(100% - 2 * var(--page-edge)));max-height:calc(100dvh - var(--header) - 10px);border:1px solid var(--line);border-radius:7px;padding:22px 27px;background:var(--paper);box-shadow:0 8px 32px #171e1717; }
dialog::backdrop { background:#21292055; }
.panel-head { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.panel-head h2 { margin:0;font:400 1.55rem/1.2 var(--body);letter-spacing:-.025em; }
.close-dialog { width:34px;min-height:36px;font-size:24px;line-height:1; }
.index-panel nav a { display:block;padding:9px 0;font-size:1rem;line-height:1.35; }.index-panel nav a:hover,.index-panel [aria-current=true] { color:var(--accent); }
.figure-dialog { inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;margin:0;padding:clamp(12px,2vw,28px);background:var(--paper); }
.figure-dialog[open] { display:grid;place-items:center; }
.figure-dialog .plate { max-width:none;height:100%;display:flex;flex-direction:column; }
.figure-dialog .exhibit-frame { flex:1;min-height:0;height:auto; }
.figure-dialog .plate-foot { min-height:46px; }
.paused .scene,.paused .scene * { animation-play-state:paused!important;transition-duration:.001ms!important; }
@media(max-width:840px){
  :root { --header:51px;--page-edge:clamp(18px,5.4vw,39px);--media-edge:clamp(11px,3.6vw,32px);--copy-left:clamp(21px,6vw,48px);--copy-right:var(--copy-left);--body-size:1.095rem;--column-gap:clamp(45px,7svh,78px);--turn-height:42px;--phone-stage:clamp(172px,29.5svh,275px); }
  .reading-frame { display:block; }.stage-column { height:auto;position:static; }.guided .reading-frame { display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--phone-stage) minmax(0,1fr); }
  .stage-column,.guided .stage-column { padding:0 var(--media-edge); }
  .stage-column .plate { height:100%;display:flex;flex-direction:column;align-items:stretch;max-width:760px; }
  .stage-column .exhibit-frame { min-height:0;flex:1;height:auto; }
  .stage-column .plate-foot { min-height:31px;height:31px;flex:none;gap:5px;font-size:.8rem; }
  .tool { width:30px;height:30px; }.tool svg { width:15px; }.plate-tools { gap:2px; }.source-link { min-height:28px; }
  #reader { padding-top:23px; }.chapter { max-width:42rem; }.chapter h2 { font-size:clamp(1.6rem,4.7vw,2rem);margin-bottom:17px; }.beat+.beat { margin-top:21px; }
  .turn-page button { min-height:39px; }.guided .turn-page { max-width:none; }.stage-column .caption-picker select { padding-top:5px;padding-bottom:5px; }
  .cover-copy { padding:0 var(--page-edge) clamp(37px,7svh,70px); }.cover h1 { font-size:clamp(2.5rem,8.4vw,4.45rem);max-width:15ch; }
}
@media(max-width:700px){
  .closing { min-height:calc(100svh - var(--header) - 8px);display:flex;flex-direction:column-reverse; }
  .closing picture { height:31svh;min-height:146px; }.closing-copy { padding:26px var(--page-edge);flex:1; }
  .closing h2 { font-size:clamp(2.7rem,9vw,4.4rem); }.contact-person { margin-top:20px; }.restart { margin-top:24px; }
}
@media(max-height:510px){:root{--header:42px;--turn-height:34px}.cover{min-height:240px}.stage-column{padding-block:8px}.turn-page button{min-height:30px}}
@media(max-width:840px) and (max-height:510px){:root{--phone-stage:clamp(81px,27svh,120px)}.stage-column .plate-foot{height:27px;min-height:27px}.stage-column .tool{height:26px}.guided .turn-page{height:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
@media print{.masthead,.stage-column,.turn-page,.bookend picture,.cover-enter,.restart,.skip,dialog{display:none!important}.bookend,.guided .reading-frame,.guided .spread,.copy-column,.text-window,.closing{position:static!important;display:block!important;height:auto!important;min-height:0;background:white;color:black;overflow:visible!important}.cover::after{display:none}.cover-copy,.closing-copy,#reader,.guided #reader{padding:0!important;transform:none!important}.chapter{max-width:none!important}.cover h1,.closing h2,.chapter h2{font-size:20pt;margin:15px 0 6px}.beat{font-size:11pt;line-height:1.45}.beat+.beat,.chapter+.chapter{margin-top:9px}}
