@font-face{font-family:Madefor;src:url('fonts/WixMadeforDisplay-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Madefor Text';src:url('fonts/WixMadeforText-VariableFont_wght.ttf') format('truetype');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:Madefor;src:url('fonts/WixMadeforDisplay-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
:root{--paper:var(--site-background);--ink:#242823;--page:#faf9f5;--book-green:#8eaf91;--reading:0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.4 'Madefor Text',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:2px solid #345f41;outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:Madefor,Arial,sans-serif;font-weight:500;letter-spacing:-.065em;line-height:.94}img{display:block;width:100%;height:100%;object-fit:cover}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.skip{position:fixed;top:10px;left:10px;z-index:100;padding:12px;background:white;transform:translateY(-160%)}.skip:focus{transform:none}
.book-scene{height:460svh;position:relative}.book-stage{height:100svh;position:sticky;top:0;overflow:hidden;perspective:2000px;isolation:isolate}.masthead{position:absolute;left:0;top:0;right:0;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:30}.brand{font-family:Madefor,Arial,sans-serif;font-size:20px;display:flex;gap:9px;align-items:center;letter-spacing:-.04em}.brand-mark{width:34px;height:20px;border:2px solid;display:flex;align-items:center;justify-content:center;gap:3px}.brand-mark i{width:10px;height:9px;border-radius:0 0 8px 8px;background:currentColor}.masthead nav{display:flex;gap:5px;font-size:10px;text-transform:uppercase}.masthead nav a,.masthead nav button{padding:6px 14px;border:1px solid #aaafa3;border-radius:22px;background:transparent;font-size:10px}.masthead nav button{background:var(--ink);color:white;border-color:var(--ink)}.masthead nav span{font-size:8px;margin-left:8px;opacity:.65}.masthead-note{font-size:10px}.cover-composition{position:absolute;inset:90px 30px 70px;display:grid;grid-template-rows:repeat(3,1fr);gap:10px;z-index:0;pointer-events:none}.word-row{display:flex;gap:18px;align-items:center;min-width:0}.word-row>span{font:500 clamp(70px,14vw,260px)/.82 Madefor,Arial,sans-serif;letter-spacing:-.08em}.word-row i{height:2px;background:currentColor;flex:1;min-width:12px}.word-row small{font-size:10px;line-height:1.3;white-space:nowrap}.word-one small{font-family:Madefor;font-size:18px}.word-two>span{font-size:clamp(64px,12.8vw,235px)}
/* A fixed 960 × 640 spread: every part scales as one object. */
.book{position:absolute;left:0;top:0;width:960px;height:640px;transform-origin:0 0;transform-style:preserve-3d;will-change:transform;z-index:10;--cover-depth:8px;--book-green:#8eaf91}.book-back-board{position:absolute;left:50%;top:0;width:50%;height:100%;background:var(--book-green);transform:translateZ(-4px);box-shadow:0 15px 35px #1e332027;pointer-events:none}.paper,.cover-face.back,.flat-page,.leaf-face{background:var(--page);display:grid;grid-template-rows:18px minmax(0,1fr) 19px;gap:10px;padding:20px;overflow:hidden;color:var(--ink);font-size:14px;line-height:1.35}.paper{position:absolute;left:calc(50% + 3px);top:3px;bottom:3px;right:3px;backface-visibility:hidden;-webkit-backface-visibility:hidden}.page-meta,.page-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;letter-spacing:.025em;line-height:1.2}.page-footer{border-top:1px solid #aeb4a4;padding-top:7px;font-size:8px}.editorial-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));min-height:0;border:1px dotted #9aa38e;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(16.6667% - 1px),#b4baaa70 calc(16.6667% - 1px),#b4baaa70 16.6667%),repeating-linear-gradient(0deg,transparent 0,transparent calc(10% - 1px),#b4baaa70 calc(10% - 1px),#b4baaa70 10%)}.editorial-title{grid-column:1/-1;grid-row:1/4;padding:9px 10px;border-bottom:1px dotted #8c9680;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.editorial-title>span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:10px;letter-spacing:.03em;max-height:130px}.editorial-title h2{font-size:62px;line-height:.89;text-align:right;margin-left:auto;letter-spacing:-.075em}.editorial-number{grid-column:1/4;grid-row:4/8;font:500 176px/.86 Madefor,Arial,sans-serif;letter-spacing:-.09em;align-self:center;padding-right:15px;border-right:1px dotted #8c9680;white-space:nowrap}.editorial-story{grid-column:4/7;grid-row:4/8;padding:10px 9px;align-self:stretch}.micro-label{display:block;font-size:8px;letter-spacing:.06em;margin-bottom:10px}.editorial-story p{font-size:14px;line-height:1.32;text-wrap:pretty}.editorial-deck{grid-column:1/5;grid-row:8/11;padding:10px;border-top:1px dotted #8c9680;border-right:1px dotted #8c9680}.editorial-deck p{font-size:14px;line-height:1.3;max-width:27ch}.editorial-details{grid-column:5/7;grid-row:8/11;padding:10px;border-top:1px dotted #8c9680;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;letter-spacing:.025em}.mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr));gap:6px;min-height:0}.mosaic-image{padding:0;border:0;border-radius:0;min-width:0;min-height:0;overflow:hidden;background:#d5d9cc}.mosaic-image img{transition:transform .4s;pointer-events:none}.mosaic-image:hover img{transform:scale(1.045)}.mosaic-note{padding:9px 7px;border:1px dotted #9aa38e;min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:8px;justify-content:space-between}.mosaic-note>span{font-size:7px;letter-spacing:.02em;line-height:1.1}.mosaic-note p{font-size:12px;line-height:1.22;letter-spacing:-.025em}.mosaic-note i{font-style:normal;font-size:25px;line-height:1;text-align:right}.tile-a{grid-column:1/5;grid-row:1/3}.tile-b{grid-column:1/3;grid-row:3/5}.tile-c{grid-column:3/5;grid-row:3/4}.tile-d{grid-column:3/5;grid-row:4/6}.tile-e{grid-column:1/3;grid-row:5/6}.tile-f{grid-column:1/4;grid-row:6/8}.tile-g{grid-column:4/5;grid-row:6/8}.mosaic-layout-1 .tile-a{grid-column:1/3;grid-row:1/4}.mosaic-layout-1 .tile-b{grid-column:3/5;grid-row:1/3}.mosaic-layout-1 .tile-c{grid-column:3/5;grid-row:3/4}.mosaic-layout-1 .tile-d{grid-column:1/4;grid-row:4/6}.mosaic-layout-1 .tile-e{grid-column:4/5;grid-row:4/6}.mosaic-layout-1 .tile-f{grid-column:2/5;grid-row:6/8}.mosaic-layout-1 .tile-g{grid-column:1/2;grid-row:6/8}.mosaic-layout-2 .tile-a{grid-column:2/5;grid-row:1/4}.mosaic-layout-2 .tile-b{grid-column:1/3;grid-row:4/6}.mosaic-layout-2 .tile-c{grid-column:1/2;grid-row:1/3}.mosaic-layout-2 .tile-d{grid-column:3/5;grid-row:5/8}.mosaic-layout-2 .tile-e{grid-column:1/2;grid-row:3/4}.mosaic-layout-2 .tile-f{grid-column:1/3;grid-row:6/8}.mosaic-layout-2 .tile-g{grid-column:3/5;grid-row:4/5}.mosaic-layout-1 .tile-e p,.mosaic-layout-2 .tile-e p{font-size:10px}.mosaic-layout-2 .tile-g{flex-direction:row;align-items:center}.mosaic-layout-2 .tile-g p{font-size:10px}
.book-cover{position:absolute;inset:0 0 0 50%;transform-origin:left center;transform-style:preserve-3d;z-index:6;will-change:transform}.cover-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.front{background:var(--book-green);color:white;padding:34px 36px 30px;display:flex;flex-direction:column;justify-content:space-between;transform:translateZ(4px);box-shadow:inset 5px 0 7px #24482b28,0 15px 30px #1e332023}.cover-topline{display:flex;justify-content:space-between;gap:10px;font-size:11px;letter-spacing:.04em}.cover-number{font-family:Madefor;font-size:22px;line-height:1}.book-cover-title{font:500 62px/.92 Madefor,Arial,sans-serif;letter-spacing:-.06em}.cover-deck{font-size:20px;line-height:1.18;letter-spacing:-.025em;max-width:25ch}.cover-bottom{display:flex;justify-content:space-between;align-items:flex-end;font-size:9px;line-height:1.25}.cover-monogram{font:500 30px/.85 Madefor;letter-spacing:-.08em}.spine-word{position:absolute;bottom:115px;left:12px;writing-mode:vertical-rl;transform:rotate(180deg);font-size:7px;letter-spacing:.1em}.cover-face.back{transform:rotateY(180deg) translateZ(4px);border:3px solid var(--book-green);padding:17px;background:var(--page);box-shadow:0 15px 35px #1e332027}.cover-edge{position:absolute;display:block;background:var(--book-green);transform-style:preserve-3d;backface-visibility:visible}.edge-outer,.edge-spine{top:0;height:100%;width:8px;transform-origin:left center;transform:rotateY(90deg) translateX(-50%)}.edge-outer{left:100%}.edge-spine{left:0}.edge-top,.edge-bottom{left:0;width:100%;height:8px;transform-origin:center top;transform:rotateX(90deg) translateY(-50%)}.edge-top{top:0}.edge-bottom{top:100%}.book.is-open .front{visibility:hidden}.book-spine{position:absolute;left:50%;top:3px;bottom:3px;width:10px;transform:translateX(-50%);z-index:8;pointer-events:none;background:linear-gradient(90deg,transparent,#3b433b2b,transparent)}.turning-sheet{position:absolute;top:3px;bottom:3px;width:calc(50% - 3px);transform-style:preserve-3d;z-index:20;pointer-events:none}.turn-forward{left:50%;transform-origin:left center}.turn-backward{left:3px;transform-origin:right center}.leaf-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 8px 20px #2c392322}.leaf-back{transform:rotateY(180deg);background:var(--page)}
.reader-note{position:absolute;left:24px;top:50%;width:72px;transform:translateY(-50%);font-size:10px;opacity:0;z-index:4}.note-index{font-size:9px;letter-spacing:.04em}.note-line{display:block;width:25px;height:1px;background:#8d9888;margin:15px 0}.reader-note>p{font-size:11px;line-height:1.25;letter-spacing:-.02em}.reader-note small{display:block;font-size:9px;color:#7c8574;margin-top:9px}.reader-note .note-instruction{font-size:8px;color:#7c8574;margin-top:45px}.bookshelf{position:absolute;right:25px;top:50%;width:180px;transform:translateY(-50%);opacity:0;z-index:25}.shelf-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:8px;letter-spacing:.06em}.shelf-heading button{display:none;border:0;background:transparent;font-size:22px}.shelf-books{display:flex;flex-direction:column;gap:6px}.shelf-book{display:grid;grid-template-columns:17px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 9px;height:var(--spine-height);width:100%;border:1px solid #30423418;background:var(--spine-color);color:#10251b;text-align:left;box-shadow:inset 0 2px #ffffff1f,inset 0 -3px #1a322316,3px 4px 0 #273c2720;transform:translateX(var(--spine-offset)) rotate(var(--spine-angle));transform-origin:center;transition:transform .25s,box-shadow .25s}.shelf-book:hover:not(.selected){transform:translateX(calc(var(--spine-offset) - 12px)) rotate(0deg);box-shadow:inset 0 2px #ffffff1f,5px 6px 12px #273c2720}.shelf-book>span:first-child{font-size:8px;opacity:.7}.shelf-book strong{font-size:10px;font-weight:400;letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shelf-book .spine-mark{font-size:6px;letter-spacing:.02em}.shelf-book.selected{background:transparent;border:1px dashed #a4ad9b;box-shadow:none;opacity:.6;transform:translateX(var(--spine-offset)) rotate(0deg)}.shelf-note{font-size:9px;line-height:1.4;color:#7a8472;margin-top:20px}.reading-controls{position:absolute;left:calc((100% - 220px)/2);transform:translateX(-50%);display:flex;gap:14px;align-items:center;opacity:0;z-index:25;white-space:nowrap;font-size:10px}.reading-controls button{border:0;background:none;padding:6px 2px;font-size:10px}.reading-controls button:first-child,.reading-controls button:nth-child(3){font-size:19px;line-height:1}.reading-controls button:disabled{opacity:.25}.control-divider{height:12px;width:1px;background:#a7b09e}.reading-controls>a{color:#67745e;margin-left:8px}.scroll-cue{position:absolute;bottom:25px;left:50%;transform:translateX(-50%);text-align:center;font-size:8px;letter-spacing:.1em;z-index:5}.scroll-cue>div{display:grid;gap:4px;justify-content:center;margin-top:12px}.scroll-cue i{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.7}.scroll-cue i:nth-child(2){opacity:.4}.scroll-cue i:nth-child(3){opacity:.2}.reading-progress{position:absolute;right:0;top:0;width:3px;height:100%;background:#a6b5a420;z-index:30}.reading-progress i{display:block;width:100%;height:var(--progress,0%);background:#70977a}.library-end{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:35px 28px;border-top:1px solid #d8ddcf;font-size:11px}.library-end button{border:0;background:none;font-size:11px}.library-end a{border-bottom:1px solid #a9b19e;padding:4px 0}.image-viewer,.spread-viewer{border:0;padding:45px 20px 20px;background:var(--paper);color:var(--ink);max-width:96vw;max-height:95svh}.image-viewer::backdrop,.spread-viewer::backdrop{background:#1d2a20b3;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:15px;top:10px;padding:5px;border:0;background:transparent;font-size:12px}.image-viewer img{max-width:88vw;width:auto;max-height:78svh;height:auto;object-fit:contain}.image-viewer p{font-size:11px;margin-top:12px}.spread-viewer{width:min(1100px,96vw)}.spread-scroll{overflow:auto;max-height:84svh}.spread-large{width:960px;height:640px;display:grid;grid-template-columns:1fr 1fr;gap:0}.flat-page{height:640px;min-width:0}.flat-page:first-child{border-right:1px solid #b7bfac}.noscript-note{position:fixed;left:20px;bottom:20px;padding:20px;background:white;z-index:50}
@media(max-width:1100px) and (min-width:900px){.reader-note{display:none}.bookshelf{right:18px;width:165px}.shelf-book{gap:5px;padding:0 7px}.shelf-book strong{font-size:9px}}
@media(max-width:899px){.masthead{padding:18px 15px;gap:10px}.brand{font-size:18px}.brand-mark{width:29px;height:18px}.masthead-note{display:none}.masthead nav a,.masthead nav button{font-size:8px;padding:6px 10px}.cover-composition{inset:110px 15px 100px;gap:15px}.word-row{gap:10px}.word-row>span{font-size:23vw}.word-two>span{font-size:20.5vw}.word-row small{font-size:7px}.word-one small{font-size:10px}.word-three small{display:none}.reader-note{display:none}.bookshelf{right:0;top:0;bottom:0;width:230px;padding:80px 25px 25px;background:#e9ede3;transform:translateX(105%);transition:transform .4s;opacity:1!important;box-shadow:-10px 0 35px #22322218;overflow:auto}.bookshelf.drawer-open{transform:translateX(0)}.shelf-heading button{display:block}.shelf-book{height:42px}.shelf-heading{margin-bottom:22px}.shelf-note{margin-top:25px}.reading-controls{left:50%;gap:12px}.reading-controls>a{margin-left:0}.library-end{padding:25px 15px;flex-wrap:wrap;gap:18px;font-size:10px}.library-end p{width:100%}}
@media(max-height:520px){.masthead{padding-block:10px}.cover-composition{inset:65px 25px 35px}.word-row>span{font-size:20vh}.word-two>span{font-size:19vh}.scroll-cue{bottom:10px}.scroll-cue>div{display:none}.reading-controls{font-size:8px}.bookshelf{padding-top:45px}.shelf-books{gap:4px}.shelf-book{height:30px}.shelf-heading{margin-bottom:10px}.shelf-note{margin-top:10px}.shelf-heading button{font-size:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.book,.book-cover{will-change:auto}*,*:before,*:after{transition:none!important}}
/* Identical print surfaces on resting and turning pages: no reflow at handoff. */
.paper,.cover-face.back,.leaf-face,.flat-page{display:block;padding:0;border:0;background:transparent;overflow:visible}
.paper{left:50%;right:0;top:0;bottom:0;transform:translateZ(4px)}
.cover-face.back{background:var(--book-green);box-shadow:0 15px 35px #1e332027}
.page-content{position:absolute;top:3px;bottom:3px;display:grid;grid-template-rows:18px minmax(0,1fr) 19px;gap:10px;padding:20px;overflow:hidden;color:var(--ink);font:14px/1.35 'Madefor Text',Arial,sans-serif}
.page-content.side-left{left:3px;right:0;background:linear-gradient(90deg,var(--page) 88%,#eeece5 97%,#d9d6cd 100%)}
.page-content.side-right{left:0;right:3px;background:linear-gradient(90deg,#d9d6cd 0%,#eeece5 3%,var(--page) 10%)}
.book-spine{top:3px;bottom:3px;width:34px;z-index:32;transform:translateX(-50%) translateZ(8px);opacity:var(--crease-opacity,0);background:linear-gradient(90deg,transparent 0%,#5c564613 24%,#3e39262c 46%,#2723133a 50%,#3e39262c 54%,#5c564613 76%,transparent 100%)}
.turning-sheet{left:50%;top:0;bottom:0;width:50%;transform:translateZ(4px)}
.turn-backward{left:0}.leaf-face{box-shadow:0 8px 18px #2c39231c}.flat-page{position:relative;height:640px}.flat-page:first-child{border:0}
.mosaic-image img{transition:none}.mosaic-image:hover img{transform:none}
/* Aligned, identically sized spines. The selected book leaves an actual empty slot. */
.bookshelf{width:280px;right:25px}.shelf-books{gap:8px}
.shelf-book{position:relative;height:56px;width:100%;padding:0 12px;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;color:white;border:1px solid #ffffff24;transform:none;transition:box-shadow .2s;box-shadow:inset 0 2px #ffffff1f,inset 0 -3px #1a322316,2px 3px 0 #273c2714}
.shelf-book:hover:not(.selected){transform:none;box-shadow:inset 0 2px #ffffff1f,0 5px 12px #273c2720}
.shelf-book strong{font-family:Madefor,Arial,sans-serif;font-size:20px;font-weight:500;letter-spacing:-.035em;line-height:1.05}
.shelf-book>span:first-child{font-size:9px;opacity:1}.shelf-book .spine-mark{font-size:7px;letter-spacing:0}
.shelf-book.selected{transform:none;opacity:1;background:transparent;border:1px dashed #b0b8a6;box-shadow:none}.shelf-book.selected>*{visibility:hidden}
.book.in-flight{z-index:35}
/* Printed outer edge: it is the spine itself that docks, without an opacity fade. */
.edge-outer{overflow:hidden}
.physical-spine{position:absolute;left:50%;top:50%;width:640px;height:var(--cover-depth);transform:translate(-50%,-50%) rotate(-90deg);display:grid;grid-template-columns:calc(20px * var(--spine-print-scale,1)) minmax(0,1fr) auto;gap:calc(10px * var(--spine-print-scale,1));align-items:center;padding:0 calc(12px * var(--spine-print-scale,1));border:calc(1px * var(--spine-print-scale,1)) solid #ffffff24;background:var(--book-green);color:white;visibility:hidden;line-height:1.05;box-shadow:inset 0 calc(2px * var(--spine-print-scale,1)) #ffffff1f,inset 0 calc(-3px * var(--spine-print-scale,1)) #1a322316}
.spine-facing .physical-spine{visibility:visible}
.physical-spine>span:first-child{font:calc(9px * var(--spine-print-scale,1))/1.4 'Madefor Text',Arial,sans-serif}.physical-spine>span:last-child{font:calc(7px * var(--spine-print-scale,1))/1.4 'Madefor Text',Arial,sans-serif}
.physical-spine strong{font:500 calc(20px * var(--spine-print-scale,1))/1.05 Madefor,Arial,sans-serif;letter-spacing:calc(-.7px * var(--spine-print-scale,1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1100px) and (min-width:900px){.bookshelf{right:25px;width:280px}.shelf-book{padding:0 12px;gap:10px}.shelf-book strong{font-size:20px}}
@media(max-width:899px){.bookshelf{width:320px;right:0;padding:80px 20px 25px}.shelf-book{height:56px}.reading-controls{left:50%}.shelf-heading{margin-bottom:18px}}
@media(max-height:520px){.bookshelf{padding-top:40px}.shelf-books{gap:8px}.shelf-book{height:56px}.shelf-heading{margin-bottom:14px}}
.front{transform:translateZ(calc(var(--cover-depth)/2))}.cover-face.back{transform:rotateY(180deg) translateZ(calc(var(--cover-depth)/2))}
.edge-outer,.edge-spine{width:var(--cover-depth)}.edge-top,.edge-bottom{height:var(--cover-depth)}

.spine-docked .front,.spine-docked .back,.spine-docked .book-back-board{box-shadow:none}

/* Shelf-facing print belongs to the bound spine; the free page edge remains opposite. */
.edge-spine{overflow:hidden;transform:rotateY(-90deg) translateX(-50%)}

/* V4.2: full-height recessed joint on the cover face beside the binding. */
.front::before{content:'';position:absolute;left:8px;top:0;bottom:0;width:9px;border-radius:0;background:var(--book-green);box-shadow:inset 3px 0 4px #18392355,inset -1px 0 2px #ffffff30,1px 0 1px #ffffff2b;pointer-events:none}

/* V4.3 opening spread: cover-like titles and rules, with quiet paper grain. */
.opening-editorial{display:flex;flex-direction:column;min-height:0;padding-top:8px}
.opening-title{display:flex;flex-direction:column;gap:14px;width:100%;margin:0;font-weight:500;letter-spacing:-.065em;line-height:.94}
.opening-title-row{display:flex;align-items:center;gap:10px;width:100%;min-width:0}
.opening-title-row>span{white-space:nowrap;flex:none}
.opening-title-row i{display:block;height:1px;min-width:14px;flex:1;background:currentColor}
.opening-title-row.align-right{flex-direction:row-reverse}
.opening-location{display:flex;justify-content:space-between;gap:10px;margin-top:22px;font-size:9px;letter-spacing:.025em}
.opening-description{margin-top:28px;max-width:36ch;display:flex;flex-direction:column;gap:18px}
.opening-description p{font-size:15px;line-height:1.48}
.opening-description .opening-deck{font-size:22px;line-height:1.2;letter-spacing:-.035em}
.opening-colophon{display:flex;justify-content:space-between;align-items:flex-end;margin-top:auto;padding-top:18px;font-size:9px;line-height:1.35}
.page-content::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.035;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}

.three-line-opening .opening-title{gap:20px}.three-line-opening .opening-description{margin-top:18px}.three-line-opening .opening-description p{font-size:12px;line-height:1.5}.three-line-opening .opening-description .opening-deck{font-size:20px;line-height:1.2}

/* Sketch-inspired vertical date beside the opening description. */
.three-line-opening .opening-description{display:grid;grid-template-columns:minmax(0,1fr) 146px;gap:18px;max-width:none;min-height:166px;align-items:start}
.opening-date{position:relative;width:146px;height:166px;display:grid;place-items:center;align-self:end}
.opening-date time{display:block;width:166px;transform:rotate(-90deg);font:500 64px/.9 Madefor,Arial,sans-serif;letter-spacing:-.065em}
.opening-date time span{display:block;white-space:nowrap}

.opening-date time span:last-child{font-size:71px}

.opening-date time{font-weight:400}

.three-line-opening .opening-description{column-gap:25px}.three-line-opening .opening-description>p{text-align:justify;text-align-last:left;hyphens:none}

/* Two editorial plates on the opening right page. */
.opening-plates{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:22px;min-height:0;padding-top:8px}
.opening-plate{display:grid;grid-template-rows:74px minmax(0,1fr);gap:12px;min-height:0}
.opening-plate-heading{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:16px;align-items:center}
.opening-plate-heading h2{font:500 42px/.95 Madefor,Arial,sans-serif;letter-spacing:-.065em;text-wrap:balance}
.opening-plate-heading p{font-size:10px;line-height:1.4;margin:0}
.opening-plate-image{display:block;width:100%;height:100%;min-height:0}

/* Opening image headings: measured title-to-copy spacing. */
.opening-plate-heading{grid-template-columns:max-content minmax(0,1fr);gap:25px}
.opening-plate-heading h2{white-space:nowrap}
.opening-plate-heading p{text-align:justify;text-align-last:justify;hyphens:none}

.opening-plate{grid-template-rows:54px minmax(0,1fr);gap:6px}.opening-plate-heading h2{font-size:50px}.opening-plate-heading p{line-height:15.833333px}

/* Align title ink with the image edge and tighten the preceding image gap. */
.opening-plates{row-gap:8px}.opening-plate-heading{padding:0;margin:0}.opening-plate-heading h2{margin:0;padding:0;justify-self:start;text-align:left;transform:translateX(-2px)}

/* Page 2 is one full-bleed plate; editorial image pairs begin on page 4. */
.page-content.side-right:has(>.full-page-image){top:3px;bottom:3px;left:0;right:3px;padding:20px;display:block;background:linear-gradient(90deg,#d9d6cd 0%,#eeece5 3%,var(--page) 10%)}
.full-page-image{display:block;width:100%;height:100%;padding:0;border:0;margin:0}.full-page-image img{width:100%;height:100%;object-fit:cover}

/* Page 3: asymmetric editorial composition from the supplied sketch. */
.third-page-editorial{display:grid;grid-template-rows:minmax(0,1.35fr) minmax(0,1fr);gap:22px;padding-top:8px;min-height:0}
.third-upper{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:20px;min-height:0}
.third-lead{display:grid;grid-template-rows:54px minmax(0,1fr);gap:10px;min-height:0}
.third-lead h2{font-size:52px;line-height:.95;letter-spacing:-.065em;align-self:center}
.third-story{display:flex;flex-direction:column;gap:14px;min-height:0}
.third-story p,.third-detail p{font-size:11px;line-height:1.4;text-align:justify;text-align-last:left;margin:0}
.third-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;min-height:0}
.third-detail{display:flex;flex-direction:column;gap:14px;min-height:0}
.third-detail h2{font-size:38px;line-height:.95;letter-spacing:-.065em}
.third-image{display:block;width:100%;height:100%;min-height:0}

/* Cover-like rules fill the unused width of page 3 title rows. */
.third-lead h2,.third-detail h2{display:flex;align-items:center;gap:10px;width:100%;min-width:0}.third-lead h2>span,.third-detail h2>span{flex:0 1 auto}.third-lead h2>i,.third-detail h2>i{display:block;flex:1;min-width:12px;height:1px;background:currentColor}

/* V4.4: inside-book titles fill their row through font sizing. */
.opening-title-row i,.third-lead h2>i,.third-detail h2>i{display:none}
.opening-title,.third-lead h2,.third-detail h2{font-kerning:none;font-variant-ligatures:none}
.opening-title-row>span{line-height:.75}
.three-line-opening{padding-top:0}.three-line-opening .opening-title{gap:6px}
.three-line-opening .opening-location{display:none}
.three-line-opening .opening-description{margin-top:14px;min-height:126px}
.three-line-opening .opening-date{height:126px}
.three-line-opening .opening-date time{transform:rotate(-90deg) scale(.76)}
.third-lead{grid-template-rows:76px minmax(0,1fr)}
.third-lead h2,.third-detail h2{line-height:.85;gap:0}

.opening-editorial,.opening-title{min-width:0}.opening-title-row>span{letter-spacing:-.065em}

.three-line-opening .opening-title{gap:5px}.three-line-opening .opening-title-row>span{line-height:.82}.three-line-opening .opening-description{min-height:94px;margin-top:10px}.three-line-opening .opening-description>p{font-size:10px;line-height:1.4}.three-line-opening .opening-date{height:94px}.three-line-opening .opening-date time{transform:rotate(-90deg) scale(.56)}

/* V4.4 titles use uppercase throughout the library. */
h1,h2,h3,.shelf-book strong,#outside-title{text-transform:uppercase}

/* Align the page 3 lead title with the adjacent story’s first line. */
.third-lead h2{align-self:start;transform:none}

/* One spacing rule for the book’s internal composition. */
.book{--content-gap:10px}
.page-content,.opening-title,.opening-title-row,.three-line-opening .opening-title,.opening-description,.three-line-opening .opening-description,.opening-plates,.opening-plate,.opening-plate-heading,.third-page-editorial,.third-upper,.third-lead,.third-story,.third-lower,.third-detail,.mosaic,.mosaic-note{gap:10px}
.opening-editorial,.opening-plates,.third-page-editorial{padding-top:0}
.opening-location,.opening-description,.three-line-opening .opening-description{margin-top:10px}
.opening-colophon{padding-top:10px}
.third-lead,.opening-plate{grid-template-rows:max-content minmax(0,1fr)}
.opening-plate-heading h2{transform:none}

/* Page 5: one large plate, followed by two five-line text columns. */
.fifth-page-editorial{display:grid;grid-template-rows:max-content minmax(0,1fr) 70px;gap:10px;min-height:0}
.fifth-page-image{display:block;width:100%;height:100%;min-height:0}
.fifth-page-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0}
.fifth-page-copy p{font-size:11px;line-height:14px;text-align:justify;text-align-last:justify;margin:0}

/* Paired title/copy rows always share a single typographic height. */
.opening-plate-heading{align-items:start}.opening-plate-heading h2{font-kerning:none;font-variant-ligatures:none;line-height:.75}.opening-plate-heading p{margin:0}

/* Pages 7–8: full-bleed left plate and quiet offset right-page composition. */
.book-scene{height:540svh}
.page-content.side-left:has(>.full-bleed-left){top:3px;bottom:3px;left:3px;right:0;padding:20px;display:block;background:linear-gradient(90deg,var(--page) 88%,#eeece5 97%,#d9d6cd 100%)}
.full-bleed-left{display:block;width:100%;height:100%;padding:0;margin:0;border:0}
.reference-page{display:grid;grid-template-columns:122px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 132px;gap:10px;min-height:0}
.reference-note{grid-column:1;grid-row:1;display:flex;flex-direction:column;font-size:8px;line-height:1.35;gap:2px}
.reference-image{grid-column:2;grid-row:1;display:block;width:100%;height:100%;min-height:0}
.reference-copy{grid-column:2;grid-row:2;align-self:end;font-size:10px;line-height:1.35;text-align:justify;text-align-last:left;margin:0}
.reference-footer{border-top:0;padding-top:0}

/* V4.5: quiet catalogue pages, matching the spacious pages 7–8. */
.quiet-folio{display:grid;grid-template-columns:122px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 132px;gap:10px;min-height:0}
.quiet-note{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:6px;font-size:8px;line-height:1.4}
.quiet-note h2{font-family:Madefor,Arial,sans-serif;font-weight:500;font-size:10px;line-height:1.25;letter-spacing:0;text-wrap:pretty;margin:0}
.quiet-image{grid-column:2;grid-row:1;display:block;width:100%;height:100%;min-height:0}
.quiet-copy{grid-column:2;grid-row:2;align-self:end;font-size:11px;line-height:1.4;text-align:justify;text-align-last:left;margin:0}
.quiet-mirror{grid-template-columns:minmax(0,1fr) 122px}
.quiet-mirror .quiet-note{grid-column:2}
.quiet-mirror .quiet-image,.quiet-mirror .quiet-copy{grid-column:1}

/* Footer rule on all editorial pages; image-only pages have no footer. */
.page-content .page-footer{border-top:1px solid #aeb4a4;padding-top:7px}

/* Page 1 supporting text sits at the lower corners, above the footer. */
.three-line-opening .opening-description{margin-top:auto;align-items:end;width:100%;flex-shrink:0}
.three-line-opening .opening-date{justify-self:end;width:76px}

.three-line-opening .opening-date{grid-template-columns:minmax(0,1fr)}

.three-line-opening .opening-date{transform:translateY(-12px)}

/* Pages 9–14 continue the catalogue layout and share its folios. */
.book-scene { height: 870svh; }

.crossing-layout {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin-right: -20px;
}
.side-right .crossing-layout {
  grid-template-columns: minmax(0, 1fr) 108px;
  margin-right: 0;
  margin-left: -20px;
}
.side-right .crossing-layout .spread-note { grid-area: 1 / 2; }
.side-right .crossing-plate { grid-area: 1 / 1; }
.crossing-plate { position: relative; width: 100%; height: 340px; }
.crossing-plate img,
.crossing-plate:hover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: none;
}
.side-right .crossing-plate img { left: -100%; }
.crossing-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #302c242c, transparent 7%);
  pointer-events: none;
}
.side-right .crossing-plate::after {
  background: linear-gradient(to right, #302c242c, transparent 7%);
}
.spread-note { font-size: 11px; line-height: 1.4; }
.spread-note h2 { font: 500 12px/1.25 Madefor, Arial, sans-serif; margin-bottom: 6px; }
.spread-note p { margin: 0; }
.detail-layout, .closing-layout {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 0;
}
.detail-plate, .closing-plate { width: 100%; aspect-ratio: 16 / 10; }
.detail-offset { width: 76%; justify-self: end; align-content: end; }
.detail-layout .spread-note, .closing-layout .spread-note { max-width: 31ch; }
.closing-detail { width: 78%; align-content: start; }
.closing-overview { align-content: end; }

/* The date uses the same height as the description and shares its lower edge. */
.three-line-opening .opening-description {
  grid-template-columns: minmax(0, 1fr) 100px;
  min-height: 0;
  align-items: stretch;
}
.three-line-opening .opening-date {
  position: relative;
  display: block;
  align-self: stretch;
  width: 100%;
  height: auto;
  transform: none;
}
.opening-date svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  font: 400 100px Madefor, Arial, sans-serif;
}
.shelf-book strong, .physical-spine strong { text-transform: none; }

.opening-title-ink {
  display: block;
  flex: none;
  align-self: start;
  overflow: visible;
  fill: currentColor;
  font: 500 100px Madefor, Arial, sans-serif;
  letter-spacing: -6.5px;
}
.opening-title-ink.align-right { align-self: end; }

.designer-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  height: 100svh;
  grid-template-rows: minmax(0, 1fr);
  padding: clamp(16px, 3svh, 48px) clamp(24px, 5vw, 80px);
  background: var(--paper);
}
.designer-copy, .designer-image {
  display: grid;
  gap: 10px;
}
.designer-copy { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.designer-copy { container-type: inline-size; }
.designer-copy h2 {
  margin-block: clamp(4px, 1svh, 16px) clamp(8px, 2svh, 28px);
  font-size: clamp(44px, 7.2vw, 124px);
}
.designer-description {
  display: flex;
  flex-direction: column;
  max-width: 62ch;
  overflow: auto;
}
.designer-description p + p { margin-top: 16px; }
.designer-bottom { margin-top: auto; padding-top: 16px; }
:is(.designer-title, .mobile-title-lines) {
  display: grid;
  gap: clamp(6px, 1.5svh, 12px);
}
:is(.designer-title, .mobile-title-lines) .word-row { gap: 12px; }
:is(.designer-title, .mobile-title-lines) .word-row > span {
  font-size: clamp(24px, min(18.3cqi, 9svh), 124px);
}

.mobile-title-lines { display: none; }
@media (max-width: 899px) {
  .desktop-title-text { display: none; }
  .mobile-title-lines {
    display: grid;
    container-type: inline-size;
    text-transform: uppercase;
  }
}
.designer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.designer-contact a {
  text-align: center;
  min-width: 100px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.designer-image { grid-template-rows: minmax(0, 1fr) auto; }
.designer-image img {
  contain: size;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  background: #000;
}
@media (max-width: 720px) {
  .designer-spread { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; }
  .designer-copy { grid-template-rows: auto; }
  .designer-description { overflow: visible; }
  .designer-image { grid-template-rows: auto auto; }
  .designer-image img { contain: none; height: auto; }
}

.logo-banner {
  background: var(--paper);
  color: #111;
  overflow: hidden;
  padding-block: clamp(28px, 5vw, 64px) 20px;
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-roll 34s linear infinite;
}
.logo-row {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  gap: clamp(40px, 6vw, 96px);
  min-width: 100vw;
  margin: 0;
  padding: 0 clamp(20px, 3vw, 48px);
  list-style: none;
  white-space: nowrap;
  font: 500 clamp(22px, 3vw, 42px)/1.2 Madefor, Arial, sans-serif;
}
.logo-row .mark-north { font-weight: 400; letter-spacing: -.06em; }
.logo-row .mark-form { font-size: .63em; letter-spacing: .13em; }
.logo-row .mark-common { font-family: Georgia, serif; font-style: italic; }
.logo-row .mark-stone { font-size: .75em; letter-spacing: .09em; }
.logo-row .mark-fern { font-family: Georgia, serif; letter-spacing: -.055em; }
.logo-row .mark-plot { font-size: .68em; border: 1px solid; padding: .35em .55em; }
.logo-pause {
  display: block;
  margin: 20px clamp(24px, 5vw, 80px) 0 auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  font-size: 10px;
}
.logo-banner:hover .logo-track,
.logo-banner.is-paused .logo-track { animation-play-state: paused; }
@keyframes logo-roll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .logo-track { width: 100%; animation: none; }
  .logo-row { min-width: 0; flex: 1; flex-wrap: wrap; row-gap: 20px; }
  .logo-row[aria-hidden], .logo-pause { display: none; }
}

.project-locations {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 80px);
  background: var(--paper);
}
.service-area-map { display: block; }
.locations-map img, .service-area-map {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}
.locations-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5.5vw, 88px);
}
.locations-copy p { max-width: 46ch; }
.locations-list {
  max-width: 46ch;
  padding: 0;
  margin: 22px 0;
  list-style: decimal inside;
}
.locations-list li { padding: 7px 0; border-bottom: 1px solid #aeb4a4; }
.locations-list li::marker { color: #375d43; font-weight: 500; }
.locations-copy a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .project-locations { grid-template-columns: minmax(0, 1fr); }
  .locations-map img, .service-area-map { max-height: 420px; }
}

.project-locations {
  padding-bottom: clamp(84px, 10vw, 156px);
  border-bottom: 1px solid #aeb4a4;
}
.locations-map .page-footer { border-top: 0; }
.project-locations + .library-end { border-top: 0; }
.map-plot {
  position: relative;
  width: min(100%, 540px);
  margin-inline: auto;
}
.locations-map .map-plot img { max-height: none; }
.map-pins, .map-callout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.map-pin::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #658566;
}
.map-pin[aria-label="Dorridge"]::before,
.map-pin:hover::before,
.map-pin[aria-pressed="true"]::before {
  inset: 2px;
  background: #375d43;
  border: 1px solid var(--paper);
}
.map-callout { z-index: 1; overflow: visible; }
.map-callout[hidden] { display: none; }
.map-callout path { fill: none; stroke: #375d43; stroke-width: 1; }
.map-callout text {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 4;
  paint-order: stroke;
  font: 500 11px 'Madefor Text', Arial, sans-serif;
}
.locations-label { margin-top: 24px; }
.locations-list { margin: 8px 0 12px; }
.locations-note { margin-bottom: 16px; color: #52634f; font-size: 12px; }

.design-process {
  --process-rule: #aeb4a4;
  --process-green: #375d43;
  background: var(--paper);
  border-bottom: 1px solid var(--process-rule);
}
.process-stage {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 64px);
}
.process-stage > h2 { font-size: clamp(24px, 3vw, 48px); }
.process-ring { display: flex; gap: 10px; }
.process-ring a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--process-rule);
  font: 500 17px/1 Madefor, Arial, sans-serif;
}
.process-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 60px);
  padding-block: 24px;
  border-top: 1px solid var(--process-rule);
  scroll-margin-top: 20px;
}
.process-step[hidden] { display: none; }
.process-folio { margin-bottom: 10px; color: #52634f; font-size: 10px; letter-spacing: .08em; }
.process-copy h3 { margin-bottom: 18px; font-size: clamp(36px, 5vw, 78px); }
.process-copy table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 12px; }
.process-copy th, .process-copy td { border-bottom: 1px solid var(--process-rule); padding: 8px 0; text-align: left; }
.process-copy th { width: 32%; padding-right: 12px; font-weight: 500; }
.process-diagram { width: 100%; max-height: 52svh; }
.design-process + .library-end { border-top: 0; }

.design-process.is-pinned { height: 370svh; }
.is-pinned .process-stage {
  --stage-inset: clamp(24px, 4vw, 64px);
  position: sticky;
  top: 0;
  height: 100svh;
  padding: var(--stage-inset);
  grid-template-columns: clamp(150px, 16vw, 240px) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.is-pinned .process-stage > h2 { grid-column: 1 / -1; }
.is-pinned .process-ring {
  --radius: min(calc(16vw - 45px), 195px, 29svh);
  position: relative;
  align-self: stretch;
  margin-left: calc(-1 * var(--stage-inset));
}
.is-pinned .process-ring::before {
  content: '';
  position: absolute;
  box-sizing: border-box;
  width: var(--radius);
  height: calc(2 * var(--radius));
  top: 50%;
  left: 0;
  border: 1px solid var(--process-rule);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  transform: translateY(-50%);
}
.is-pinned .process-ring a {
  --angle: calc(var(--offset) * 40deg);
  position: absolute;
  left: calc((var(--radius) + 29px) * cos(var(--angle)));
  top: calc(50% + (var(--radius) + 29px) * sin(var(--angle)));
  transform: translate(-50%, -50%) rotate(var(--angle));
  border: 0;
  background: transparent;
  color: #67745e;
  font-size: 24px;
}
.process-progress { display: none; }
.is-pinned .process-progress {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--radius);
  height: calc(2 * var(--radius));
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
}
.process-progress path {
  fill: none;
  stroke: var(--process-green);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.is-pinned .process-ring a { z-index: 1; }
.is-pinned .process-ring a::before {
  content: '';
  position: absolute;
  left: calc(50% - 29px);
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.is-pinned .process-ring a[aria-current] {
  width: 48px;
  color: var(--ink);
  font-size: 43px;
}
.process-ring a[hidden] { display: none; }
.is-pinned .process-panels { align-self: center; }
.is-pinned .process-step { border-top: 0; padding: 0; }
@media (max-width: 600px) {
  .process-step { grid-template-columns: minmax(0, 1fr); }
  .process-diagram { max-height: 250px; }
}

.project-gallery {
  display: grid;
  --gallery-gap: 5px;
  grid-template-rows: 1.3fr .85fr 1.2fr .85fr 1.15fr .95fr;
  height: 300svh;
  gap: var(--gallery-gap);
}
.gallery-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-gap);
  min-height: 0;
}
.gallery-band > figure {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.gallery-band img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}
.gallery-band > figure:nth-child(1) { grid-area: a; }
.gallery-band > figure:nth-child(2) { grid-area: b; }
.gallery-band > figure:nth-child(3) { grid-area: c; }
.gallery-band > figure:nth-child(4) { grid-area: d; }
.gallery-band.large-left { grid-template-areas: "a a a a b b" "a a a a b b" "a a a a c c"; }
.gallery-band.large-right { grid-template-areas: "b b a a a a" "c c a a a a" "c c a a a a"; }
.gallery-band.wide-top { grid-template-areas: "a a a a b b" "a a a a b b" "c c c d d d"; }
.gallery-band.wide-bottom { grid-template-areas: "a a a b b b" "c c d d d d" "c c d d d d"; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  padding: clamp(44px, 7vw, 110px) clamp(24px, 5vw, 80px);
  background: var(--paper);
}
.footer-info { container-type: inline-size; }
.footer-title { display: grid; gap: 12px; margin-bottom: clamp(30px, 5vw, 64px); }
.footer-title .word-row > span { font-size: clamp(30px, 14cqi, 116px); }
.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
  padding-top: 18px;
  border-top: 1px solid #aeb4a4;
  font-size: 12px;
}
.footer-directory > * { display: grid; gap: 8px; }
.footer-directory h3 { margin-bottom: 6px; font: 500 10px/1.2 'Madefor Text', Arial, sans-serif; letter-spacing: .07em; }
.footer-directory a { overflow-wrap: anywhere; }
.footer-directory a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-book-link {
  display: grid;
  justify-items: center;
  align-self: center;
  gap: 38px;
  cursor: pointer;
  container-type: inline-size;
}
.footer-book {
  position: relative;
  display: block;
  width: 480px;
  height: 640px;
  zoom: calc(min(86cqi, 360px) / 480px);
  transform: rotate(8deg);
}
.footer-book .front { transform: none; }
.footer-book-label { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 780px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .footer-book { zoom: calc(min(72cqi, 320px) / 480px); }
}
@media (max-width: 520px) {
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
}

@font-face {
  font-family: Caveat;
  src: url('fonts/Caveat-Latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
.reviews-spread {
  padding: clamp(36px, 5vw, 80px) clamp(24px, 6vw, 96px);
  background: var(--paper);
  border-top: 1px solid #aeb4a4;
  border-bottom: 1px solid #aeb4a4;
}
.reviews-spread h2 {
  margin-bottom: clamp(24px, 4vw, 52px);
  font-size: clamp(30px, 4vw, 56px);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(30px, 5vw, 68px) clamp(12px, 2.4vw, 34px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.review {
  --note-tilt: -2deg;
  --note-offset: 0px;
  --pin-x: 50%;
  --crease-angle: 119deg;
  position: relative;
  grid-column: span 4;
  min-width: 0;
  padding: 38px clamp(18px, 2.5vw, 34px) 25px;
  margin-top: var(--note-offset);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 200' preserveAspectRatio='none'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.025 .045' numOctaves='3' seed='8'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.17'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)'/%3E%3C/svg%3E") center / 100% 100%,
    linear-gradient(var(--crease-angle), transparent 23%, #6d624a0d 31%, #fff7 34%, transparent 42%, #665b460d 67%, #fff6 70%, transparent 80%),
    #fff;
  background-blend-mode: soft-light, normal, normal;
  box-shadow: 0 1px 2px #25332926, 2px 6px 12px #2533291c;
  color: #233d2c;
  font: 400 clamp(20px, 2vw, 26px)/1.14 Caveat, 'Bradley Hand', cursive;
  transform: rotate(var(--note-tilt));
  transform-origin: var(--pin-x) 10px;
}
.review::before {
  content: '';
  position: absolute;
  top: 9px;
  left: var(--pin-x);
  width: 13px;
  height: 13px;
  border: 1px solid #344d37;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #80937a, #4a654d 55%, #304e38);
  box-shadow: 2px 3px 3px #25332945;
  transform: translateX(-50%);
  pointer-events: none;
}
.review:nth-child(2) { --note-tilt: 1.5deg; --note-offset: 23px; --pin-x: 47%; }
.review:nth-child(3) { --note-tilt: -1deg; --note-offset: 7px; --pin-x: 55%; }
.review:nth-child(4) { grid-column: 3 / span 4; --note-tilt: 1.6deg; --pin-x: 48%; }
.review:nth-child(5) { --note-tilt: -1.6deg; --note-offset: 16px; --pin-x: 53%; }
.review:nth-child(even) { --crease-angle: 67deg; }
.review-stars {
  display: flex;
  gap: 5px;
  width: fit-content;
  margin-bottom: 12px;
  color: #526946;
}
.review-stars i {
  display: block;
  width: 16px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(49% 1%, 63% 34%, 99% 39%, 72% 61%, 81% 97%, 49% 77%, 16% 95%, 26% 60%, 0 36%, 35% 33%);
  transform: rotate(-7deg);
  forced-color-adjust: none;
}
.review-stars i:nth-child(even) { transform: rotate(8deg) scale(.93); }
@media (forced-colors: active) {
  .review-stars i { background: CanvasText; }
}
.review blockquote {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  text-wrap: pretty;
}
.review figcaption {
  font-size: 23px;
  text-align: right;
}
@media (max-width: 840px) {
  .reviews-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .review, .review:nth-child(4) { grid-column: span 2; }
  .review:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 510px) {
  .reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .reviews-grid > .review { grid-column: 1; margin-top: 0; transform: none; }
}

/* The narrow reader frames one leaf of the same physical spread. */
.book-track, .book-window, .book-crop { display: contents; }

.has-mobile-book { height: auto; }
.has-mobile-book .book-stage {
  position: relative;
  height: auto;
  overflow: visible;
  perspective: none !important;
}
:root { --masthead-height: 60px; }
html { scroll-padding-top: var(--masthead-height); }
.masthead {
  position: fixed;
  inset: 0 0 auto;
  height: var(--masthead-height);
  padding: 0 clamp(12px, 3.5vw, 36px);
  gap: 12px;
  background: var(--paper);
  border-bottom: 1px solid #d5dbd1;
  z-index: 40;
}
.masthead .brand {
  gap: 7px;
  min-height: 44px;
  line-height: 1;
}
.masthead .brand-mark { flex: 0 0 26px; }
.masthead-brand-description {
  display: block;
  margin-top: 3px;
  font: 10px/1 'Madefor Text', Arial, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.masthead nav { gap: clamp(0px, calc((100vw - 900px) / 32), 14px); }
.masthead :is(nav a, .site-menu-toggle) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
  white-space: nowrap;
}
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) and (max-width: 1080px) {
  .masthead:not(.mobile-masthead) nav a { padding-inline: 4px; }
}
.masthead .site-menu-toggle { display: none; }
.mobile-masthead { position: sticky; }
.mobile-masthead .site-menu-toggle { display: inline-flex; }
.mobile-masthead nav {
  position: absolute;
  inset: 100% 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
  max-height: calc(100dvh - var(--masthead-height));
  overflow: auto;
  padding: 8px 12px 12px;
  background: var(--paper);
  border-bottom: 1px solid #d5dbd1;
}
.mobile-masthead .site-menu-toggle[aria-expanded="false"] + nav { display: none; }
.mobile-masthead nav a { font-size: 14px; }
.is-pinned .process-stage { padding-top: calc(var(--stage-inset) + var(--masthead-height)); }

.has-mobile-book :is(.reader-note, .reading-progress, .control-divider, #enlarge-spread, #shelf-close, .shelf-note) {
  display: none;
}
.book-opening-range { display: none; }
.has-mobile-book .book-track { display: block; }
/* In-flow space lets the reader pin through the opening and stay pinned once open. */
.has-mobile-book .book-opening-range {
  display: block;
  height: clamp(144px, 24svh, 224px);
}
.has-mobile-book .book-track::after {
  content: "";
  display: block;
  height: clamp(160px, 33svh, 280px);
}
.has-mobile-book .book-window {
  display: block;
  position: sticky;
  top: var(--masthead-height);
  z-index: 20;
}
.has-mobile-book .book-crop {
  display: block;
  position: relative;
  width: min(100%, 560px, calc((100svh - var(--masthead-height) - 102px) * 520 / 660));
  aspect-ratio: 520 / 660;
  margin-inline: auto;
  overflow: clip;
  perspective: 2000px;
}
.has-mobile-book .cover-composition {
  inset: 3% clamp(12px, 4vw, 24px);
  container-type: inline-size;
  gap: 0;
}
.has-mobile-book .cover-composition .word-row { gap: clamp(5px, 2cqi, 12px); }
.has-mobile-book .cover-composition .word-row > span { font-size: 24cqi; }
.has-mobile-book .cover-composition .word-one { align-self: start; }
.has-mobile-book .cover-composition .word-one > span { font-size: 22cqi; }
.has-mobile-book .cover-composition .word-two > span { font-size: 21cqi; }
.has-mobile-book .cover-composition .word-row small { display: none; }
.has-mobile-book .cover-composition .word-row i { min-width: 6px; }

/* The contact shadow sits under the cropped 3D spread and fades within the stage. */
.has-mobile-book .book-crop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 48% 15% at 50% 83%, #263a2b38, #263a2b18 49%, transparent 100%);
}
.has-mobile-book :is(.book-back-board, .cover-face.front, .cover-face.back) { box-shadow: none; }
.book-flight-layer {
  position: fixed;
  inset: 0;
  z-index: 39;
  pointer-events: none;
}
.book-flight-layer :is(.book-back-board, .cover-face.front, .cover-face.back) { box-shadow: none; }
.mobile-book-flight .book-crop::before { visibility: hidden; }
.has-mobile-book.mobile-book-open .book {
  transition: transform 620ms cubic-bezier(.27, .7, .23, 1);
}
.has-mobile-book .scroll-cue {
  z-index: 15;
  bottom: 4px;
  pointer-events: none;
}
.has-mobile-book .scroll-cue > div { display: none; }
.has-mobile-book.mobile-book-open .scroll-cue { visibility: hidden; }
.has-mobile-book .reading-controls {
  position: relative;
  inset: auto !important;
  transform: none;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  justify-items: center;
  gap: 0 8px;
  width: min(100% - 32px, 460px);
  margin: 0 auto;
  padding-block: 4px;
  background: var(--paper);
  font-size: 14px;
}
.has-mobile-book .reading-controls button {
  width: 44px;
  min-height: 44px;
  font-size: 23px;
}
.has-mobile-book .bookshelf {
  position: relative;
  inset: auto;
  transform: none;
  width: min(100% - 40px, 500px);
  padding: 18px 0 38px;
  margin-inline: auto;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.has-mobile-book .shelf-heading { font-size: 12px; }
.has-mobile-book .shelf-book { height: 46px; }
.has-mobile-book .shelf-book strong { font-size: 16px; }
.has-mobile-book .shelf-book.selected {
  color: #233d2c;
  border: 1px solid #6d8571;
  background: #e2e8de;
}
.has-mobile-book:not(.mobile-book-flight) .shelf-book.selected > * { visibility: visible; }
.mobile-book-flight .shelf-book.selected { background: transparent; border: 1px dashed #b0b8a6; }

/* Explicitly switch faces when the cover passes the edge-on point. */
.book-cover .back, .book-cover.show-inner-face .front { visibility: hidden; }
.book-cover.show-inner-face .back { visibility: visible; }

.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.map-legend::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  background: #41664d;
}
.locations-map .page-footer { font-size: 11px; }
.map-attribution {
  display: block;
  margin-top: 8px;
  color: #59665a;
  font-size: 10px;
}
