#story>.jubilee-book{grid-column:1/-1;grid-row:2;order:1;width:110%;margin:0 -5% 18px;color:#382c20}
#story .book-stage{position:relative;display:grid;grid-template-columns:1fr 1fr;padding:24px 25px 30px;min-height:620px;perspective:1800px;background:#543226;border-radius:8px 12px 12px 8px;box-shadow:0 5px 8px #28180b30;isolation:isolate}
#story .book-page{position:relative;margin:0;min-width:0;padding:34px 30px 45px;background-color:#f3e8ce;background-image:radial-gradient(ellipse at bottom,#ad874319,transparent 65%),linear-gradient(90deg,#b49b6530,transparent 8%,transparent 87%,#7b633a30);border:1px solid #b9a58170;color:#382c20;font:16px/1.6 Georgia,serif;box-shadow:inset -8px 0 14px #49331416}
#story .book-page[hidden]{display:none}
#story .book-page:nth-child(even){background-image:linear-gradient(90deg,#66502e35,transparent 12%,transparent 90%,#ad874320);box-shadow:inset 8px 0 14px #49331412}
#story .book-page p{font:inherit;color:inherit;line-height:inherit;margin:0 0 15px;text-shadow:none}
#story .book-page h3{font:italic 32px/1.2 Georgia,serif;color:#315a5b;margin:0 0 24px;text-shadow:none}
#story .book-page-number{position:absolute;bottom:17px;left:0;right:0;text-align:center;font:12px Georgia,serif;color:#8b7652}
#story .book-page .book-kicker{font:10px/1.6 Georgia,serif;letter-spacing:.18em;color:#806537;text-align:center;margin-bottom:25px}
#story .book-title{text-align:center;padding-top:12px}
#story .book-title h3{font-size:34px}
#story .book-title p:last-child{text-align:left}
#story .book-flourish{display:block;font:44px/1 Georgia,serif;color:#95783e;text-align:center;margin:22px auto}
#story .book-photo{padding-top:35px;text-align:center}
#story .book-photo img{display:block;width:100%;height:auto;border:6px solid #e8dbc0;outline:1px solid #b4a181;transform:rotate(-2deg);margin:0 auto 30px}
#story .book-page .biog-stories{font:italic 38px/1.2 Georgia,serif;color:#9c452e;margin:22px 0}
#story .book-page .biog-stuff{font:bold 32px/1.1 Georgia,serif;color:#9c452e;margin:30px 0}
#story .book-page .biog-crave{font-size:22px;line-height:1.5}
#story .book-page .biog-turn{font-style:italic;font-size:23px;margin-top:35px}
#story .book-page .biog-opening-date{font:small-caps 19px/1.4 Georgia,serif;border-block:1px solid #ac9363;padding:15px 0;text-align:center;margin-top:30px}
#story .book-page .biog-vote{font:26px/1.4 Georgia,serif;text-align:center;margin:20px 0 35px}
#story .book-page .biog-vote em{color:#9c452e}
#story .book-page .biog-maxims{text-align:center;font-style:italic;line-height:1.9}
#story .book-page .biog-sclub{font:20px/1.5 'Comic Sans MS',cursive;color:#315a5b;transform:rotate(-3deg);text-align:center;margin:30px 0}
#story .book-page .biog-now{font:bold 25px/1.3 Georgia,serif;text-align:center;margin-top:30px}
#story .book-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px auto 0;max-width:500px;font:13px Georgia,serif}
#story .book-controls button{font:15px Georgia,serif;color:#3c4c45;background:#f5ecd7;border:1px solid #a48c5b;border-radius:3px;padding:10px 16px;cursor:pointer}
#story .book-controls button:disabled{opacity:.4;cursor:default}
#story .book-invitation{font:italic 16px Georgia,serif;text-align:center;margin:12px 0 0;color:#705b3c}
#story .book-corner{position:absolute;bottom:35px;width:34px;height:34px;border:0;background:transparent;color:#8c744b;font:30px Georgia,serif;cursor:pointer;z-index:5}
#story .book-corner-prev{left:27px}#story .book-corner-next{right:27px}
#story .book-corner:disabled{visibility:hidden}
#story .book-turning{position:absolute;top:24px;bottom:30px;width:calc(50% - 25px);right:25px;z-index:4;transform-origin:left center;backface-visibility:hidden;animation:bookTurn .65s ease-in-out forwards;pointer-events:none;box-sizing:border-box}
@keyframes bookTurn{to{transform:rotateY(-175deg)}}
#story .book-turning.reverse{left:25px;right:auto;transform-origin:right center;animation-name:bookBack}
@keyframes bookBack{to{transform:rotateY(175deg)}}
@media(max-width:700px){#story>.jubilee-book{width:108%;margin:0 -4% 18px}#story .book-stage{grid-template-columns:1fr;padding:12px;min-height:610px}#story .book-page{padding:28px 23px 45px;font-size:16px}#story .book-title h3{font-size:30px}#story .book-controls{gap:7px}#story .book-controls button{font-size:13px;padding:10px}#story .book-corner{bottom:16px}#story .book-corner-prev{left:14px}#story .book-corner-next{right:14px}#story .book-turning{top:12px;bottom:12px;width:calc(100% - 24px);right:12px}#story .book-turning.reverse{left:12px}}
@media(prefers-reduced-motion:reduce){#story .book-turning{animation:none}}
#story .book-stage{background:transparent url('storybook-antique.png') center/100% 100% no-repeat;padding:30px 38px 35px}
#story .book-page,#story .book-page:nth-child(even){background:none;border:0;box-shadow:none;padding-left:28px;padding-right:28px}
#story .book-turning{background:#f0e2c3!important;top:30px;bottom:35px;right:38px;width:calc(50% - 38px)}
#story .book-turning.reverse{left:38px}
@media(max-width:700px){#story .book-stage{background-size:200% 100%;background-position:right center;padding:24px 25px 28px 12px}#story .book-page{padding:22px 16px 40px}#story .book-turning{top:24px;bottom:28px;right:25px;width:calc(100% - 37px)}#story .book-turning.reverse{left:12px}}
#story .book-controls{position:relative;inset:auto;transform:none;width:100%;height:auto;background:none;box-shadow:none;border:0;z-index:2;flex-direction:row;padding:0}
/* A compact invitation on the wall; the full book opens in a reader. */
#story>.story-invitation{grid-column:1/-1;grid-row:2;order:1;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;width:100%;margin-bottom:20px}
#story .story-short .photo-print{width:100%;margin:0 0 24px;transform:rotate(-1deg)}
#story .story-short p{font:18px/1.65 Georgia,serif;color:#342d24;margin:0 0 16px}
#story .story-short .story-short-motto{font-style:italic;color:#315b62}
#story .story-book-invitation{text-align:center}
#story .story-cover{display:block;background:none;padding:0;border:0;box-shadow:none;width:125%;margin:0 -12.5%;cursor:pointer;transition:transform .2s}
#story .story-cover:hover{transform:rotate(-1deg) translateY(-4px)}
#story .story-cover img{width:100%;display:block}
#story .story-open{background:#f0e4c8;color:#3f3529;border:3px double #a48b55;padding:13px 24px;font:18px Georgia,serif;cursor:pointer}
#story .story-book-invitation p{font:italic 16px/1.6 Georgia,serif;color:#66553c;margin:14px 0}
#story #story-reader{position:fixed;inset:0;margin:auto;width:min(1240px,96vw);max-width:96vw;max-height:95dvh;padding:52px 20px 20px;border:0;border-radius:8px;background:#eee7da;color:#382c20;overflow:auto;box-shadow:0 12px 60px #0006}
#story #story-reader::backdrop{background:#142022c9;backdrop-filter:blur(5px)}
#story #story-reader .jubilee-book{width:100%;margin:0}
#story .story-close{position:absolute;top:9px;right:18px;border:0;background:none;color:#433627;font:16px Georgia,serif;padding:7px 10px;cursor:pointer;z-index:10}
#story .story-close span{font-size:25px;margin-left:12px}
#story #story-reader .book-stage{min-height:620px}
#story .book-sheet{position:absolute;top:30px;bottom:35px;left:50%;width:calc(50% - 38px);z-index:6;transform-origin:left center;transform-style:preserve-3d;pointer-events:none}
#story .book-sheet.backwards{left:38px;transform-origin:right center}
#story .book-sheet .sheet-face{position:absolute;inset:0;margin:0;box-sizing:border-box;backface-visibility:hidden;background:#f2e5c7 url('storybook-antique.png') right center/200% 112% no-repeat;border-radius:0 5px 5px 0;overflow:hidden}
#story .book-sheet .sheet-back{transform:rotateY(180deg);background-position:left center;border-radius:5px 0 0 5px}
#story .book-underlay{position:absolute;top:30px;bottom:35px;left:38px;width:calc(50% - 38px);z-index:3;box-sizing:border-box;pointer-events:none;background:#f2e5c7 url('storybook-antique.png') left center/200% 112% no-repeat}
#story .book-underlay.right-side{left:50%;background-position:right center}
@media(max-width:700px){#story>.story-invitation{grid-template-columns:1fr;gap:10px}#story .story-cover{width:112%;margin:0 -6%}#story #story-reader{width:98vw;max-width:98vw;max-height:98dvh;padding:46px 5px 15px}#story .book-sheet{top:24px;bottom:28px;left:12px;width:calc(100% - 37px)}#story .book-sheet.backwards{left:12px}#story .book-underlay{display:none}#story .story-short p{font-size:17px}}
@media(prefers-reduced-motion:reduce){#story .story-cover{transition:none}}

#story .story-close{position:sticky;top:0;display:block;margin:-43px 0 7px auto;background:#eee7da;border-radius:3px}
#story #story-reader .book-controls{position:sticky;bottom:0;background:#eee7da;padding:10px 8px;z-index:9}

/* Generous reader, with print safely inside the actual paper edges. */
#story #story-reader{width:min(1440px,98vw);max-width:98vw;max-height:97dvh;padding:44px 12px 12px}
#story #story-reader .book-stage{padding:40px 5.6% 42px;box-shadow:none}
#story #story-reader .book-page{padding:32px 38px 54px;font-size:17px;line-height:1.6}
#story #story-reader .book-photo img{width:94%;margin:8px auto 28px}
#story #story-reader .book-sheet{top:40px;bottom:42px;width:44.4%}
#story #story-reader .book-sheet.backwards,#story #story-reader .book-underlay{left:5.6%}
#story #story-reader .book-underlay{top:40px;bottom:42px;width:44.4%}
#story #story-reader .book-underlay.right-side{left:50%}
#story #story-reader .book-controls{position:relative;margin-top:5px;padding:8px}
#story #story-reader .story-close{margin-top:-36px;margin-bottom:8px}
@media(max-width:700px){
 #story #story-reader{padding:42px 5px 10px}
 #story #story-reader .book-stage{padding:26px 8% 30px 5%;min-height:620px}
 #story #story-reader .book-page{padding:24px 18px 48px;font-size:16px}
 #story #story-reader .book-sheet,#story #story-reader .book-sheet.backwards{top:26px;bottom:30px;left:5%;width:87%}
 #story #story-reader .book-title h3{font-size:28px}
}

@media(min-width:701px){
 #story #story-reader{padding-top:36px}
 #story #story-reader .book-stage{min-height:540px;padding-top:26px;padding-bottom:30px}
 #story #story-reader .book-page{padding-top:24px;padding-bottom:44px;font-size:16px;line-height:1.5}
 #story #story-reader .book-page p{margin-bottom:12px}
 #story #story-reader .book-photo img{width:auto;max-width:94%;max-height:32dvh}
 #story #story-reader .book-sheet,#story #story-reader .book-underlay{top:26px;bottom:30px}
}

/* Shoot-day photographs alongside their individual stories. */
#story #story-reader .book-biog-portrait{float:right;width:46%;height:auto;margin:3px 0 16px 20px;border:5px solid #e8dbc0;outline:1px solid #b4a181;transform:rotate(1deg);box-sizing:border-box}
#story #story-reader .book-page:has(.book-biog-portrait) h3{margin-bottom:18px}
@media(max-width:700px){#story #story-reader .book-biog-portrait{float:none;display:block;width:88%;margin:0 auto 22px;transform:rotate(-1deg)}}

/* The moving leaves use the same precise texture coordinates as the resting book. */
#story #story-reader .book-sheet .sheet-face,#story #story-reader .book-underlay{background-color:transparent;background-image:url('storybook-antique.png');background-repeat:no-repeat;border:0;border-radius:0;box-shadow:none;overflow:hidden}
#story #story-reader .book-sheet .sheet-face{width:100%;height:100%;inset:0;min-height:0}
#story #story-reader .book-stage{touch-action:pan-y}
#story #story-reader .book-page{user-select:text}
#story #story-reader .book-sheet{will-change:transform;pointer-events:none}
#story #story-reader .book-sheet .sheet-face:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#6c421b18,transparent 18%,transparent 85%,#6c421b12)}
#story .story-book-invitation{position:relative;isolation:isolate;padding:28px 10px 18px}
#story .story-book-invitation:before{content:'';position:absolute;z-index:-1;inset:-22px -12% 42px;background:url('storybook-velvet.png') center/100% 100% no-repeat;transform:rotate(3deg);pointer-events:none}
#story .story-book-invitation p{position:relative;display:inline-block;background:#f3e8d6eb;padding:6px 14px;border-radius:2px}
/* Keep the turning leaf inside the reader and avoid scrollbar jumps. */
#story #story-reader .book-stage{perspective:5000px;overflow:hidden}
#story #story-reader{overflow-x:hidden}

/* Approved shelf outside; peacock velvet belongs inside the open reader. */
#story .story-book-invitation:before{display:none}
#story .story-book-invitation{padding:0}
#story .story-cover{width:108%;margin:0 -4%}
#story .story-book-invitation p{background:none}
#story #story-reader{background:#173d3d url('storybook-velvet.png') center/cover;padding:44px 20px 20px;border:1px solid #7e713f}
#story #story-reader .story-close{background:#173735ed;color:#f2e5c3}
#story #story-reader .book-controls{background:#153330dd;color:#f2e5c3;border:1px solid #99835166;border-radius:4px}
#story #story-reader .book-invitation{color:#f1e3bf;text-shadow:0 1px 2px #000}
#story #story-reader .book-page-content{min-height:475px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
#story #story-reader .book-composed-3 .book-page-content,#story #story-reader .book-composed-4 .book-page-content{display:block}
#story #story-reader .book-illustration{margin:10px auto 0;width:95%;text-align:center;flex-shrink:0}
#story #story-reader .book-illustration img{display:block;max-width:100%;width:100%;height:190px;object-fit:cover;border:5px solid #eadfc3;box-sizing:border-box;outline:1px solid #ad95664d}
#story #story-reader .book-illustration figcaption{font:italic 12px/1.4 Georgia,serif;color:#78623e;margin-top:6px}
#story #story-reader .book-etching{width:70%}
#story #story-reader .book-etching img{height:185px;object-fit:contain;border:0;outline:0}
#story #story-reader .book-cutout img{height:190px;object-fit:contain;border:0;outline:0}
#story #story-reader .book-small-cutout{width:45%}
#story #story-reader .book-small-cutout img{height:145px;object-fit:contain;border:0;outline:0}
#story #story-reader .book-frontage{width:65%}
#story #story-reader .book-frontage img{height:215px;object-position:center 42%}
#story #story-reader .book-finale img{height:210px}
#story #story-reader .book-source{clear:both;font:10px/1.5 Georgia,serif;color:#7a6543;margin-top:16px}
#story #story-reader .book-source a{color:inherit;text-underline-offset:3px}
#story #story-reader .book-biog-portrait{object-fit:cover;width:48%;height:175px}
#story #story-reader .book-composed-4 .book-biog-portrait{object-position:left center}
#story #story-reader .book-composed-2 .book-photo{display:flex;flex-direction:column;min-height:475px;justify-content:space-around}
#story #story-reader .book-composed-2 .book-photo img{max-height:280px}
#story #story-reader .book-composed-6 .book-page-content,#story #story-reader .book-composed-10 .book-page-content{text-align:center;justify-content:space-around}
#story #story-reader .book-composed-7 .biog-stories{margin:8px 0}
@media(max-width:700px){
 #story #story-reader{padding:38px 5px 12px}
 #story #story-reader .book-page-content{min-height:500px;gap:14px}
 #story #story-reader .book-biog-portrait{float:none;width:90%;height:180px;margin:0 auto 18px}
 #story #story-reader .book-illustration img{height:170px}
 #story #story-reader .book-frontage img{height:220px}
}
/* Keep a complete spread and its navigation comfortable on laptop screens. */
#story #story-reader .book-stage{box-sizing:border-box}
@media(min-width:701px){
 #story #story-reader{padding-top:34px}
 #story #story-reader .book-page{font-size:15px;line-height:1.4;padding-top:20px;padding-bottom:36px}
 #story #story-reader .book-page-content{min-height:420px}
 #story #story-reader .book-composed-2 .book-photo{min-height:420px}
 #story #story-reader .book-title h3{font-size:30px;margin-bottom:16px}
 #story #story-reader .book-flourish{margin:12px auto;font-size:36px}
 #story #story-reader .book-kicker{margin-bottom:16px}
 #story #story-reader .book-biog-portrait{height:145px}
 #story #story-reader .book-etching img{height:155px}
}
@media(min-width:701px){
 #story #story-reader .book-frontage img{height:150px}
 #story #story-reader .biog-opening-date{margin-top:12px;padding:8px 0;font-size:17px}
 #story #story-reader .book-composed-8 .book-illustration img{height:160px}
}
