/* A paper book, with measured pages so the excerpt never gets clipped. */
.flipbook{--book-height:580px;--book-type:16px;--book-paper:#fcf8f0;width:100%;max-width:1040px;margin-inline:auto;color:#233343;outline-offset:8px}
.book-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;font:500 11px/1.5 var(--sans);letter-spacing:.06em;text-transform:uppercase}
.book-topline i{margin-inline:8px;font-style:normal;color:#a18b70}
.book-size{display:flex;align-items:center;gap:9px;min-height:44px;padding:6px 0 6px 12px;border:0;background:transparent;font:500 11px/1.5 var(--sans);color:inherit}
.book-size>span:first-child{font:400 23px/1 var(--serif)}
.book-size[aria-pressed=true]{color:var(--wine)}
.book-stage{position:relative;perspective:2200px;isolation:isolate;touch-action:pan-y pinch-zoom}
.book-spread{position:relative;display:grid;grid-template-columns:1fr 1fr;border-radius:3px 6px 6px 3px;box-shadow:0 24px 48px -22px #0b1e3255,0 7px 12px -7px #0b1e3240,0 3px 0 #e0d8c9,0 5px 0 #f6f0e4,0 7px 0 #d7ccbb}
.book-spread[hidden],.book-controls[hidden],.book-hint[hidden],.book-source[hidden]{display:none}
.book-spread::after{content:"";position:absolute;inset:0 auto 0 50%;width:38px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#49331c13 40%,#49331c22 50%,#fff8 53%,transparent);pointer-events:none;z-index:3}
.book-page{position:relative;display:flex;flex-direction:column;min-width:0;box-sizing:border-box;height:var(--book-height);padding:29px 42px 24px;background:var(--book-paper);overflow:hidden}
.book-page:first-child{border-radius:3px 0 0 3px;background:linear-gradient(90deg,#fcf8f0 92%,#eee7da)}
.book-page:last-child{border-radius:0 5px 5px 0;background:linear-gradient(90deg,#eae2d3,#fcf8f0 8%)}
.book-running-head{flex:0 0 auto;display:flex;justify-content:space-between;gap:10px;margin:0 0 23px;padding-bottom:12px;border-bottom:1px solid #23334320;font:500 9px/1.4 var(--sans);letter-spacing:.13em;text-transform:uppercase;color:#7b776d}
.book-page-copy{flex:1;min-height:0;font:400 var(--book-type)/1.85 var(--serif);font-optical-sizing:auto;letter-spacing:0;text-align:left;overflow-wrap:break-word;hyphens:auto}
.book-page-copy p{margin:0 0 .85em;font:inherit;color:inherit}
.book-page-copy p:last-child{margin-bottom:0}
.book-page-copy p.book-continuation{margin-top:0}
.book-end{margin-top:35%!important;text-align:center;font-style:italic;color:#898173!important}
.book-folio{flex:0 0 auto;text-align:center;margin:20px 0 0;font:400 11px/1.4 var(--serif);color:#7b776d}
.book-measure{position:absolute!important;left:0;top:0;visibility:hidden;pointer-events:none;z-index:-1;border-radius:0!important}
.book-flip-leaf{position:absolute;top:0;width:50%;height:var(--book-height);z-index:5;transform-style:preserve-3d;pointer-events:none}
.book-flip-leaf.is-forward{left:50%;transform-origin:left center;animation:book-turn-forward .62s cubic-bezier(.42,.04,.25,1) both}
.book-flip-leaf.is-backward{left:0;transform-origin:right center;animation:book-turn-backward .62s cubic-bezier(.42,.04,.25,1) both}
.book-flip-leaf .book-page{position:absolute;inset:0;width:100%;backface-visibility:hidden;border-radius:0;background:var(--book-paper);box-shadow:0 0 14px #39281719}
.book-flip-leaf .book-flip-back{transform:rotateY(180deg);background:linear-gradient(90deg,#e9e0ce,#fcf8f0 20%)}
@keyframes book-turn-forward{0%{transform:rotateY(0)}50%{transform:rotateY(-90deg) translateZ(12px)}100%{transform:rotateY(-180deg)}}
@keyframes book-turn-backward{0%{transform:rotateY(0)}50%{transform:rotateY(90deg) translateZ(12px)}100%{transform:rotateY(180deg)}}
.book-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px}
.book-arrow{display:flex;justify-content:center;align-items:center;gap:14px;min-height:48px;min-width:113px;padding:10px 18px;border:1px solid #23334335;border-radius:2px;background:transparent;color:inherit;font:500 12px/1.5 var(--sans);transition:background .2s,color .2s}
.book-arrow:hover:not(:disabled){background:var(--navy);border-color:var(--navy);color:#fff}
.book-arrow:disabled{opacity:.3;cursor:default}
.book-arrow>span[aria-hidden]{font-size:22px;line-height:1}
.book-position{min-width:120px;max-width:220px;flex:1;text-align:center}
.book-counter{font:500 11px/1.5 var(--sans);letter-spacing:.04em;font-variant-numeric:tabular-nums}
.book-progress{height:2px;max-width:160px;margin:9px auto 0;background:#23334320;overflow:hidden}
.book-progress>span{display:block;height:100%;background:var(--wine);transition:width .3s}
.book-hint{text-align:center;font:400 11px/1.6 var(--sans);color:#767a7d;margin:18px 0 0}
.book-source{max-width:700px;margin:auto;padding:35px;background:var(--book-paper);font:400 18px/1.85 var(--serif)}
.flipbook.is-large-type{--book-type:19px}
.first-scene .first-scene-grid{grid-template-columns:1fr;gap:38px}
.first-scene .first-scene-grid>div:first-child{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;flex-wrap:wrap}
.first-scene .first-scene-grid h2{margin:0;font-size:clamp(40px,5vw,65px);line-height:1.1}
.first-scene .first-scene-grid>div:first-child>p{flex:0 0 100%;margin-bottom:-16px}
.first-scene .flipbook{color:var(--ink);margin-top:40px}
.first-scene .book-topline,.first-scene .book-controls,.first-scene .book-hint{color:var(--paper)}
.first-scene .book-arrow{border-color:#f7f4ef60}
.first-scene .book-arrow:hover:not(:disabled){background:var(--paper);color:var(--navy);border-color:var(--paper)}
.first-scene .book-progress{background:#f7f4ef40}
.first-scene .book-progress>span{background:#f7f4ef}
.first-scene .book-size[aria-pressed=true]{color:#ead4bd}
.reader-dialog.book-reader{background:#07131ce8;padding:24px;backdrop-filter:blur(9px)}
.reader-dialog.book-reader .reader-panel{width:min(1160px,100%);padding:25px 44px 30px;background:#f1eee7;max-height:calc(100dvh - 48px);overflow-y:auto}
.book-reader .reader-header{align-items:center;margin-bottom:6px}
.book-reader .reader-header h2{font:400 25px/1.2 var(--serif);letter-spacing:-.02em;margin:0}
.book-reader .reader-header .eyebrow{font-size:9px;margin:0 0 6px}
.book-reader .reader-header .reader-close{width:44px;height:44px;min-height:44px}
.book-reader .flipbook{--book-height:clamp(300px,calc(100dvh - 290px),580px)}
.reader-preview .section-heading{margin-bottom:35px}
.on-stage .feature-grid{grid-template-columns:1fr;max-width:820px;margin-inline:auto}
.on-stage .feature-story{padding-block:15px 0}
.on-stage .feature-story h2{font-size:clamp(80px,12vw,145px)}
.book-layout{grid-template-columns:1fr!important;max-width:820px;margin-inline:auto}
.post-card:not(:has(.post-image)) .post-body{padding-left:0}
.blog-posts .post-card:not(:has(.post-image)){grid-template-columns:1fr}
.notebook-row:not(:has(>img)){grid-template-columns:48px 1fr 40px}
@media(max-width:1000px){.book-page{padding-inline:30px}.flipbook{--book-height:540px;--book-type:15px}.flipbook.is-large-type{--book-type:18px}.reader-dialog.book-reader .reader-panel{padding-inline:25px}}
@media(max-width:700px){
 .flipbook{--book-height:520px;--book-type:16px;max-width:480px}
 .flipbook.is-large-type{--book-type:19px}
 .book-topline{font-size:9px;gap:12px;margin-bottom:16px;letter-spacing:.025em}
 .book-topline i{margin-inline:3px}
 .book-size{font-size:10px;gap:6px;padding-left:0}
 .book-size>span:first-child{font-size:21px}
 .book-spread{grid-template-columns:1fr}
 .book-spread::after{display:none}
 .book-page,.book-page:first-child,.book-page:last-child{padding:24px 27px 20px;border-radius:3px;background:linear-gradient(90deg,#eee7da,#fcf8f0 5%)}
 .book-running-head{font-size:8px;margin-bottom:19px;padding-bottom:10px}
 .book-folio{margin-top:16px}
 .book-controls{gap:12px;margin-top:26px}
 .book-arrow{min-width:94px;padding:9px 12px;gap:9px;font-size:11px}
 .book-position{min-width:80px}
 .book-counter{font-size:10px}
 .book-hint{font-size:10px;max-width:260px;margin-inline:auto}
 .book-flip-leaf{width:100%;left:0!important;transform-origin:left center!important}
 .book-flip-leaf.is-forward{animation:book-mobile-forward .4s ease both}
 .book-flip-leaf.is-backward{animation:book-mobile-backward .4s ease both}
 @keyframes book-mobile-forward{from{transform:translateX(0);opacity:1}to{transform:translateX(-10%) rotateY(-22deg);opacity:0}}
 @keyframes book-mobile-backward{from{transform:translateX(0);opacity:1}to{transform:translateX(10%) rotateY(22deg);opacity:0}}
 .first-scene .first-scene-grid{gap:30px}
 .first-scene .first-scene-grid>div:first-child{gap:25px}
 .first-scene .first-scene-grid>div:first-child>p{margin-bottom:-10px}
 .first-scene .first-scene-grid h2{font-size:43px}
 .reader-dialog.book-reader{padding:8px}
 .reader-dialog.book-reader .reader-panel{padding:17px 15px 20px;max-height:calc(100dvh - 16px)}
 .book-reader .reader-header{margin-bottom:8px}
 .book-reader .reader-header h2{font-size:23px}
 .book-reader .flipbook{--book-height:clamp(265px,calc(100dvh - 260px),590px)}
 .book-reader .book-page{padding-inline:23px}
 .book-reader .book-controls{margin-top:24px}
 .book-reader .book-hint{margin-top:12px}
 .notebook-row:not(:has(>img)){grid-template-columns:1fr 25px}
}
@media(prefers-reduced-motion:reduce){.book-flip-leaf{animation:none!important}.book-progress>span,.book-arrow{transition:none}}
@media(max-width:370px){.book-arrow{min-width:44px;padding-inline:10px;gap:0}.book-arrow>span:not([aria-hidden]){display:none}.book-topline{font-size:8px}.book-size{font-size:9px;gap:4px}}
