/* One storytelling house, individually crafted display shelves.
   Further shelf themes: data-shelf-theme="deeptech" and data-shelf-theme="food".
   Use actual approved story assets when opening a new collection. */
:root{--lib-ink:#233c32;--lib-muted:#687164;--lib-line:#c6b89c}
.wonder-library,.library-proof{position:relative;padding:clamp(54px,7vw,100px) 0;color:var(--lib-ink)}
.wonder-library>.wrap,.library-proof>.wrap{max-width:1270px}
.library-chapter{color:#a34a33;letter-spacing:.19em;margin:0 0 15px}
.library-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.75fr);gap:clamp(25px,6vw,90px);align-items:end;margin:0 0 32px}
.library-intro h2{font-family:var(--serif);font-size:clamp(45px,5.6vw,81px);line-height:.99;font-weight:400;letter-spacing:-.046em}
.library-intro h2 em{font-weight:400;font-style:italic;color:#a34a33}
.library-intro p{font-size:clamp(18px,1.8vw,23px);line-height:1.4;max-width:36ch;color:var(--lib-muted)}
.library-index{display:flex;flex-wrap:wrap;gap:0 28px;border-top:1px solid #b9a88b;border-bottom:1px solid #b9a88b;padding:14px 0;margin-bottom:12px}
.library-index a{font-family:var(--sans);font-size:13px;line-height:1.5;padding:4px 0;color:var(--lib-ink);white-space:nowrap}
.library-index a span{font-size:10px;margin-right:7px;color:#9c6046;letter-spacing:.1em}
.library-index a:hover,.library-inline-link:hover,.shelf-next:hover{color:#a34a33;text-decoration:underline;text-underline-offset:5px}
.library-collection{--back:#dce4d7;--back-top:#c4d0bf;--back-bottom:#e9ecdf;--wood:#9a7952;--wood-dark:#694a2c;--wood-light:#c6aa7e;--trim:#ae9365;--spine:#61725d;--shelf-color:#3a5b48;--frame:#a68a61;margin-top:44px;scroll-margin-top:24px}
.library-collection[data-shelf-theme="innovation"]{--back:#d5dee0;--back-top:#b7c6cb;--back-bottom:#e8ebdf;--wood:#797d79;--wood-dark:#434e4c;--wood-light:#a3aba4;--trim:#ad9368;--spine:#4b626b;--shelf-color:#435c66;--frame:#74817f}
.library-collection[data-shelf-theme="story"]{--back:#e5d3ca;--back-top:#cbb2a8;--back-bottom:#f0e1d6;--wood:#966e5c;--wood-dark:#543c36;--wood-light:#bf9981;--trim:#ad845e;--spine:#825655;--shelf-color:#834f4b;--frame:#9b786a}
.library-collection[data-shelf-theme="deeptech"]{--back:#d7dce2;--back-top:#aebdc8;--back-bottom:#edf0f2;--wood:#82919d;--wood-dark:#41505a;--wood-light:#c7d0d6;--trim:#a6b9c8;--spine:#425766;--shelf-color:#3a5365;--frame:#7f95a1}
.library-collection[data-shelf-theme="food"]{--back:#ebd9bb;--back-top:#e2c6a0;--back-bottom:#f6ead1;--wood:#bd825c;--wood-dark:#76472f;--wood-light:#dcad83;--trim:#b18d55;--spine:#a26548;--shelf-color:#995b42;--frame:#b88f65}
.shelf-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px}
.shelf-kicker{font:600 11px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--shelf-color);margin-bottom:10px}
.shelf-kicker span{display:inline-block;border:1px solid currentColor;padding:4px 6px;letter-spacing:.08em;border-radius:2px;margin-right:8px}
.shelf-heading h3{font-family:var(--serif);font-size:clamp(31px,3.2vw,48px);font-weight:400;letter-spacing:-.035em;line-height:1.07;margin:0 0 8px}
.shelf-heading p{font-size:clamp(16px,1.65vw,20px);color:var(--lib-muted);line-height:1.4;max-width:65ch}
.shelf-ornament{flex:0 0 120px;color:var(--shelf-color);opacity:.6}
.shelf-ornament svg{width:100%;height:auto;display:block}
.shelf-cabinet{border:1px solid var(--frame);border-radius:3px 3px 2px 2px;box-shadow:0 13px 23px -16px #5946285f,0 3px 8px #5a482013;overflow:hidden;position:relative;background:var(--back)}
.shelf-tier{position:relative;background:linear-gradient(180deg,var(--back-top),var(--back) 38%,var(--back-bottom) 100%);box-shadow:inset 10px 0 14px -14px #2c2c238c,inset -10px 0 14px -14px #2c2c238c,inset 0 11px 17px -17px #302d2690}
.shelf-tier:before{content:"";position:absolute;pointer-events:none;top:0;left:0;right:0;height:7px;background:linear-gradient(#2c34241a,transparent)}
.shelf-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,42px);padding:clamp(22px,3.5vw,48px) clamp(22px,3.5vw,48px) 20px;align-items:start}
.shelf-volume{min-width:0;position:relative;display:flex;flex-direction:column;align-self:stretch}
.shelf-book-link{display:block;min-width:0;text-decoration:none;color:var(--lib-ink);position:relative}
.shelf-object{position:relative;padding:5px 8px 10px 7px;perspective:1000px}
.shelf-book{position:relative;isolation:isolate;aspect-ratio:16/9;transform-origin:50% 100%;transform:rotate(-.5deg);transition:transform .24s cubic-bezier(.22,.8,.3,1),box-shadow .24s;box-shadow:3px 7px 8px #352c2640,13px 15px 18px -12px #382e2560;border-radius:2px 3px 3px 2px;background:#f8f2df;overflow:visible}
.shelf-volume:nth-child(2) .shelf-book{transform:rotate(.35deg)}
.shelf-volume:nth-child(3) .shelf-book{transform:rotate(-.15deg)}
.shelf-book img{position:relative;z-index:2;width:100%;height:100%;object-fit:cover;display:block;border-radius:2px 3px 3px 2px;outline:1px solid #332d281d;outline-offset:-1px}
.shelf-book:after{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,#0000003a 0,#00000015 1.3%,#ffffff42 1.8%,transparent 3%,transparent 96%,#ffffff1c 100%)}
.shelf-spine{position:absolute;z-index:1;top:1px;bottom:-5px;width:8px;left:-5px;border-radius:3px 0 0 3px;background:linear-gradient(90deg,#0003,transparent 55%),var(--spine);box-shadow:inset -2px 0 2px #0003}
.shelf-pages{position:absolute;z-index:0;left:1px;right:0;bottom:-7px;height:9px;transform:skewX(-20deg);transform-origin:right;background:repeating-linear-gradient(0deg,#e1d5ba 0,#e1d5ba 1px,#f6efdc 1px,#f6efdc 3px);border-bottom:2px solid var(--spine);border-right:1px solid #b4a68a}
.shelf-open-mark{position:absolute;right:19px;bottom:21px;z-index:4;display:grid;place-items:center;width:32px;height:32px;background:#fffaf0;color:var(--lib-ink);border:1px solid #b4a58a;border-radius:50%;font:500 17px var(--sans);box-shadow:0 2px 10px #0002;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s}
.shelf-book-link:hover .shelf-book,.shelf-book-link:focus-visible .shelf-book{transform:translateY(-8px) rotate(0deg);box-shadow:5px 16px 22px -8px #332b2666}
.shelf-book-link:hover .shelf-open-mark,.shelf-book-link:focus-visible .shelf-open-mark{opacity:1;transform:none}
.shelf-book-label{padding:11px 6px 0;min-height:119px}
.shelf-book-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font:600 10px/1.5 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--shelf-color);margin-bottom:7px}
.shelf-book-label h4{font:400 clamp(23px,2.25vw,32px)/1.08 var(--serif);letter-spacing:-.035em;margin:0 0 5px}
.shelf-book-label p{font-size:clamp(15px,1.48vw,18px);line-height:1.25;color:#46584d;margin:0;max-width:30ch}
.shelf-download{display:inline-flex;align-items:center;gap:5px;margin:11px 6px 0;align-self:flex-start;font:600 11px/1.5 var(--sans);letter-spacing:.08em;color:var(--shelf-color);padding:4px 0;text-decoration:none}
.shelf-download:not(.shelf-preview-note):hover{text-decoration:underline;text-underline-offset:3px}
.shelf-preview-note{font-weight:400;opacity:.8}
.library-rail{height:26px;position:relative;display:flex;justify-content:center;align-items:center;background:linear-gradient(180deg,var(--wood-light) 0,var(--wood-light) 3px,var(--wood) 4px,var(--wood) 70%,var(--wood-dark) 100%);box-shadow:0 -1px 0 #ffffff60,0 -5px 8px #453b2520,0 5px 8px #2c251930;z-index:2;border-top:1px solid var(--trim);border-bottom:1px solid var(--wood-dark)}
.library-rail:before{content:"";position:absolute;inset:3px 0 2px;opacity:.38;background:repeating-linear-gradient(2deg,transparent 0 5px,#fff3 6px,transparent 7px 12px,#3e321c16 13px)}
.library-rail-plaque{position:relative;font:500 8px/1.2 var(--sans);letter-spacing:.12em;color:#f8f0dc;padding:3px 12px;border:1px solid #fff6;border-radius:1px;background:#31271f35}
.shelf-after{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0 0;min-height:24px}
.shelf-next,.library-inline-link{font:500 14px/1.4 var(--sans);color:var(--lib-ink);text-decoration:underline;text-underline-offset:4px}
.shelf-next span{margin-left:6px}
.shelf-disclosure{font:400 11px/1.5 var(--sans);color:var(--lib-muted);max-width:65ch}
.shelf-swipe{display:none;font:500 11px/1.4 var(--sans);color:var(--lib-muted)}
.library-transition{margin-top:45px;display:grid;grid-template-columns:66px 1fr auto;align-items:center;gap:20px;padding:25px 0 5px;border-top:1px solid var(--lib-line)}
.library-transition img{width:60px;height:60px;object-fit:contain}
.library-transition .small{color:#a34a33;margin-bottom:5px}
.library-transition p{font:400 clamp(23px,3vw,37px)/1.1 var(--serif);letter-spacing:-.025em}
.library-proof{padding-top:clamp(44px,6vw,78px);padding-bottom:clamp(44px,6vw,78px)}
.proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.proof-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:18px;align-items:center;padding:0 0 20px;border-bottom:1px solid var(--lib-line)}
.proof-feature .small{color:#946746;font-size:10px}
.proof-feature h3{font:400 clamp(28px,3vw,41px)/1.1 var(--serif);margin:5px 0}
.proof-feature p{font:400 17px/1.35 var(--serif);color:var(--lib-muted);margin:0 0 12px}
.proof-image{display:block;position:relative;aspect-ratio:1.15;overflow:hidden;border:1px solid #c6b89c;border-radius:3px;box-shadow:0 6px 12px #5a482015;background:#dfd4bc}
.proof-image img{position:absolute;max-width:none;width:180%;height:100%;right:0;top:0;object-fit:cover;object-position:right center}
.library-studio-bridge{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:45px;margin-top:36px;padding:28px 0;border-bottom:1px solid var(--lib-line);align-items:center}
.library-studio-bridge .small{color:#a34a33;margin-bottom:10px}
.library-studio-bridge h3{font:400 clamp(31px,3.3vw,47px)/1.05 var(--serif);letter-spacing:-.035em;margin:0 0 12px}
.library-studio-bridge p{font-size:20px;line-height:1.4;color:var(--lib-muted);max-width:48ch}
.library-bridge-actions{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.library-wall{display:flex;align-items:center;gap:12px;margin:24px 0 0;color:var(--lib-muted)}
.library-wall p{font-size:16px;line-height:1.4;flex:1}
.library-wall p em{color:#a34a33}
.library-wall img{width:30px;height:30px}
#pricing.co-section{background:transparent;padding:clamp(45px,6vw,90px) 0}
#pricing .co-heading h2{font-family:var(--serif);font-weight:400}
#pricing .co-tier{border-radius:5px;box-shadow:none;background:#fcf8ee60;border-color:#c6b89c;padding:clamp(20px,2.5vw,34px)}
#pricing .co-tier.co-primary{background:#e1e8da8c;color:var(--lib-ink);border-color:#9baa92}
#pricing .co-primary .co-kicker,#pricing .co-primary .co-small{color:#61735f}
#pricing .co-primary .co-button{background:#233c32;color:#fff8e8;border-color:#233c32}
#pricing .co-button,#pricing .co-outline{border-radius:3px}
#pricing .co-price{font-family:var(--serif)}
#pricing .co-price.co-from{font-size:clamp(24px,2.7vw,39px)}
#pricing .co-heading p{font-family:var(--serif);font-size:clamp(18px,1.8vw,23px);color:var(--lib-muted)}
#pricing .co-tier p:not(.co-small){font-family:var(--serif);font-size:18px}
.hero-copy .script-title{white-space:normal}
@media(max-width:1000px){.proof-feature{grid-template-columns:1fr;gap:13px}.proof-image{aspect-ratio:1.7}.proof-image img{width:170%;object-position:right 45%}.shelf-book-label{min-height:127px}}
@media(max-width:760px){.library-intro{grid-template-columns:1fr;gap:18px}.library-intro h2{font-size:clamp(44px,10vw,65px)}.library-index{gap:8px 20px;margin-bottom:8px}.library-collection{margin-top:35px}.shelf-heading{gap:10px}.shelf-ornament{flex-basis:73px}.shelf-books{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:22px;padding:26px 22px 21px;gap:25px;scrollbar-width:thin;scrollbar-color:var(--wood-light) transparent}.shelf-volume{flex:0 0 min(69vw,300px);scroll-snap-align:start}.shelf-book-label{min-height:102px}.shelf-book-label h4{font-size:26px}.shelf-book-label p{font-size:16px}.shelf-open-mark{opacity:1;transform:none;right:16px;bottom:19px;width:28px;height:28px;font-size:15px}.shelf-swipe{display:block}.shelf-after{flex-wrap:wrap;gap:6px}.library-transition{grid-template-columns:40px 1fr;gap:13px;margin-top:32px}.library-transition img{width:38px;height:44px}.library-transition>a{grid-column:2}.library-studio-bridge{grid-template-columns:1fr;gap:20px}.library-wall{flex-wrap:wrap}.library-wall>a{margin-left:42px}.proof-grid{gap:19px}.proof-feature h3{font-size:32px}}
@media(max-width:460px){.proof-grid{grid-template-columns:1fr}.proof-feature{grid-template-columns:1fr 1fr;gap:13px}.proof-feature .small{font-size:8px}.proof-feature p{font-size:15px}.proof-image{aspect-ratio:1.1}.shelf-ornament{display:none}.shelf-volume{flex-basis:74vw}.library-index a{font-size:12px}.shelf-book-label{min-height:90px}.library-wall{gap:8px}.library-wall p{min-width:200px}}
@media(prefers-reduced-motion:reduce){.shelf-book,.shelf-open-mark{transition:none}.shelf-book-link:hover .shelf-book,.shelf-book-link:focus-visible .shelf-book{transform:none}}

/* The covers physically rest on a single ledge, with catalogue labels beneath. */
.shelf-books{--shelf-pad:clamp(22px,3.5vw,48px);--shelf-gap:clamp(18px,3vw,42px);gap:var(--shelf-gap);padding:var(--shelf-pad) var(--shelf-pad) 18px}
.shelf-object{padding-bottom:18px}
.shelf-book{z-index:2}
.shelf-object:after{content:"";pointer-events:none;position:absolute;left:calc(var(--shelf-gap) / -2);right:calc(var(--shelf-gap) / -2);bottom:0;height:11px;z-index:1;background:linear-gradient(180deg,var(--wood-light) 0 2px,var(--wood) 2px 8px,var(--wood-dark) 100%);box-shadow:0 4px 6px #473b2c2e;border-top:1px solid var(--trim)}
.shelf-volume:first-child .shelf-object:after{left:calc(var(--shelf-pad) * -1)}
.shelf-volume:last-child .shelf-object:after{right:calc(var(--shelf-pad) * -1)}
.shelf-book-label{padding-top:13px}
.shelf-open-mark{bottom:29px}
.library-rail{margin:0!important;height:17px;isolation:isolate}
.library-rail-plaque{font-size:7px;padding:1px 10px}
@media(max-width:760px){.shelf-books{--shelf-pad:22px;--shelf-gap:25px;padding:26px var(--shelf-pad) 20px}.shelf-volume{max-width:calc(100vw - 98px)}.shelf-open-mark{bottom:27px}.library-rail{height:17px}}
