.theme-coin {--paper:#102720;--ink:#f5edd8;--muted:#c2d0c2;--surface:#1d3730;--accent:#f1d59a;color-scheme:dark}
.theme-route,.theme-index {--paper:#fff2dc;--ink:#302f27;--muted:#585548;--surface:#eedec0;--accent:#6b4022;color-scheme:light}
.theme-bell {--paper:#fce8d3;--surface:#f4d4ad;--ink:#371f1d;--muted:#604742;--accent:#86402b;--display:inherit;--display-weight:850;--display-spacing:-.062em;color-scheme:light}
.theme-coin .edition-cover {width:min(94%,84rem);padding:0;background:#031812;gap:0;grid-template-columns:1fr 1.2fr}
.theme-coin .edition-copy,.theme-bell .edition-copy {padding:clamp(1.5rem,4.2vw,4.8rem)}
.theme-coin .edition-cover img,.theme-bell .edition-cover img {height:100%;object-fit:cover}
.theme-coin .edition-cover figure,.theme-bell .edition-cover figure {align-self:stretch}
.theme-route .edition-cover {width:var(--width);grid-template-columns:.84fr 1.16fr}
.theme-route .edition-cover img {box-shadow:0 .6rem 1.1rem #80634326}
.theme-bell .edition-cover {background:#ffd4ac;gap:0;padding:0;width:min(94%,84rem)}
.theme-bell .edition-cover h1 {font-size:clamp(3.1rem,5.25vw,5.7rem)}
.edition .story-canvas {aspect-ratio:auto;height:auto;overflow:visible}
.edge-tray {padding:clamp(1rem,2vw,2.5rem);background:#071b16;display:grid;gap:1.3rem}
.edge-tray figure,.room-strip figure,.script-strip figure,.script-strip blockquote {margin:0}
.edge {height:clamp(1.5rem,3vw,3rem);border-radius:45% / 15%;background:linear-gradient(180deg,#dbcb9f,#756e5f 52%,#b6ab92)}
.edge-1,.edge-2 {position:relative;background:repeating-linear-gradient(94deg,#c6bba4 0 3px,#726e65 4px,#534f46 5px,#e1d0b0 8px)}
.edge-2::after {content:"";position:absolute;inset:0 34% 0 39%;background:linear-gradient(175deg,#b9ab91,#81776a)}
.edge-tray figcaption {font-size:.86rem;margin-top:.35rem}
.room-strip {display:grid;grid-template-columns:repeat(3,1fr);gap:.3rem}
.room {background-image:url(route.webp);background-size:300% auto;background-position:0 68%;aspect-ratio:.88}
.room-1 {background-position:50% 68%}.room-2 {background-position:100% 68%}
.room-strip figcaption {font-weight:700;margin:.45em 0}
.is-scrolling .room-strip {display:block;max-width:min(95%,32svh);margin:auto}
.is-scrolling .room-strip figure {display:none}
.is-scrolling[data-scroll-step="0"] .room-strip figure:first-child,.is-scrolling[data-scroll-step="1"] .room-strip figure:nth-child(2),.is-scrolling[data-scroll-step="2"] .room-strip figure:last-child {display:block}
.script-strip {display:grid;gap:1rem;background:#fff6e8;padding:clamp(1rem,2vw,2.5rem)}
.script-strip figcaption {font:700 .78rem/1.4 ui-monospace,monospace;text-transform:uppercase;letter-spacing:.045em;color:#774e3a}
.script-strip blockquote {font:400 clamp(1.35rem,2.7vw,2.75rem)/1.14 Editorial,Georgia,serif;color:#391d1a}
/* Keep the punch line out of sight until the reader reaches the return. */
.is-scrolling[data-scroll-step="0"] .script-strip figure:nth-child(n+2),
.is-scrolling[data-scroll-step="1"] .script-strip figure:last-child {visibility:hidden}
.practice {border-block:1px solid var(--rule)}
.edition .collection-return a {color:var(--accent);text-underline-offset:.2em}
.field-index {width:var(--width);margin:clamp(2.1rem,6vw,5.5rem) auto}
.field-index>p {color:var(--muted);max-width:48ch;margin:1rem 0 2rem;font-size:1.12rem}
.field-index nav {display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,2.1rem)}
.field-index a {color:var(--ink);text-decoration:none}
.field-index a:hover h2,.field-index a:focus-visible h2 {text-decoration:underline}
.field-index img {width:100%;aspect-ratio:1.6;object-fit:cover;display:block}
.field-index nav span {display:block;font-size:.86rem;margin:.75rem 0 .35rem}
.edition .field-index nav h2 {font-size:clamp(1.7rem,3vw,3rem)}
@media(max-width:760px) {
 .theme-coin .edition-cover,.theme-route .edition-cover,.theme-bell .edition-cover {grid-template-columns:1fr}
 .theme-coin .edition-cover .edition-copy,.theme-bell .edition-cover .edition-copy {padding:1.45rem 5% 1rem}
 .theme-coin .edition-cover img,.theme-bell .edition-cover img {aspect-ratio:2.4;height:auto;object-position:50% 60%}
 .theme-bell .edition-cover h1 {font-size:clamp(2.9rem,10.6vw,4rem)}
 .is-scrolling .room-strip {max-width:min(100%,22svh)}
 .edge-tray,.script-strip {padding:.75rem;gap:.55rem}
 .field-index nav {grid-template-columns:1fr}
 .field-index a {display:grid;grid-template-columns:30% 1fr;gap:0 1rem;align-items:center}
 .field-index img {grid-row:1/3;aspect-ratio:1.1}
 .field-index nav span {align-self:end;margin:0}
 .field-index nav h2 {align-self:start}
}
