/* DESA SOKA / LIBRARY V2 — tactile editorial, made for responsive flipbooks.
   Separate layer: the original stylesheet is retained for admin compatibility. */
:root{--ink:#13283b;--ink2:#344759;--cyan:#12b5c8;--paper:#fcfbf8;--muted:#758395;--line:#e4e8e8;--white:#fff;--sans:'Manrope','DM Sans',system-ui,sans-serif;--serif:'Instrument Serif',Georgia,serif}
html{scroll-padding-top:85px}body{font-family:var(--sans);background:var(--paper);color:var(--ink);letter-spacing:-.025em}.shell{width:min(1230px,calc(100% - 76px))}.eyebrow{font:800 10px/1.5 var(--sans);letter-spacing:.17em;color:#328498}.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
/* Navigation */
.topbar{background:rgba(252,251,248,.96);border-color:#eae9e5;position:relative}.topbar-inner{height:78px}.brand-symbol{background:#153549;color:#fff;border-radius:4px 16px 4px 4px;box-shadow:0 4px 0 #9fcbd0;transform:translateY(-2px)}.brand-copy strong{font-family:var(--sans);letter-spacing:-.025em;font-size:14px;font-weight:800}.brand-copy small{font-size:9px;letter-spacing:.16em;color:#677d8a}.brand-mark{color:var(--cyan)}.top-nav{gap:30px}.top-nav>a{color:#3d5262;font-size:12px;font-weight:700}.top-nav>a:hover{color:#07879d}.top-nav .nav-pill{border-radius:5px;border-color:#143647;background:#143647;color:#fff!important;padding:12px 18px}.top-nav .nav-pill:hover{background:#0d6177}
/* The hero is an editorial book campaign, not a dashboard. */
.library-v2{overflow:hidden}.library-v2 .library-hero{background:#f7f5f0;color:var(--ink);position:relative}.library-v2 .library-hero:before{background:radial-gradient(ellipse 42% 67% at 73% 46%,rgba(124,211,210,.15),transparent 72%),repeating-linear-gradient(0deg,transparent 0 87px,rgba(11,65,83,.018) 88px 89px)}.library-v2 .hero-grid{min-height:650px;grid-template-columns:1fr 1fr;gap:26px;align-items:center}.library-v2 .hero-copy{padding:87px 0 83px;position:relative;z-index:2}.hero-kicker{font-size:10px;font-weight:800;letter-spacing:.15em;color:#667782;display:flex;align-items:center;gap:13px}.kicker-symbol{font-size:19px;color:#13a4b4}.kicker-split{height:12px;width:1px;background:#c0c9c9}.library-v2 .hero-copy h1{font-family:var(--sans);font-size:clamp(55px,5.9vw,90px);line-height:1.03;font-weight:800;letter-spacing:-.083em;margin:29px 0 25px;max-width:720px}.library-v2 .hero-copy h1 em{font:italic 1.08em/.95 var(--serif);letter-spacing:-.045em;color:#129caf}.library-v2 .hero-copy .hero-line-3{color:#152e40}.library-v2 .hero-copy p{font-size:14px;line-height:1.9;max-width:445px;color:#677581;letter-spacing:0;margin:0}.library-v2 .hero-buttons{display:flex;gap:25px;align-items:center;margin-top:31px}.library-v2 .hero-primary{background:#14384b;box-shadow:0 8px 20px #12394a16;border-radius:5px;color:white;font-weight:800;font-size:12px;padding:16px 21px;display:inline-flex;gap:29px;align-items:center}.library-v2 .hero-primary:hover{background:#096c7e;transform:translateY(-2px)}.library-v2 .hero-secondary{border:0;border-bottom:1px solid #93a4a7;border-radius:0;font-size:12px;padding:10px 0;color:#314a57;font-weight:800;display:inline-flex;gap:18px;align-items:center}.hero-proof{display:flex;align-items:center;gap:14px;margin-top:74px;color:#839099;font-size:9px;letter-spacing:.1em;font-weight:800}.proof-line{width:30px;height:1px;background:#7dbbc2}.hero-proof b{color:#159db1;padding:0 6px}
/* Hero 3D volumes; book art is native CSS, dynamically topped with a real cover. */
.library-v2 .hero-art{height:610px;transform:none;position:relative;perspective:1350px;align-self:center;display:block}.hero-art-halo{position:absolute;width:550px;height:440px;left:0;top:94px;border-radius:50%;background:radial-gradient(ellipse,#d9e9e51c 0%,#dbe6de3b 49%,transparent 72%)}.volume-back,.volume-second,.volume-front{position:absolute;top:89px;left:50%;width:278px;height:393px;border-radius:4px 12px 11px 4px;transform-style:preserve-3d;box-shadow:-18px 27px 44px #1a3f4745}.volume-back:before,.volume-second:before,.volume-front:before{position:absolute;content:"";top:4px;bottom:3px;left:-10px;width:12px;background:repeating-linear-gradient(90deg,#82959b 0 1px,#d5dfdf 1px 3px,#eff0e8 3px 4px);transform:skewY(-9deg);box-shadow:-6px 8px 10px #1b3d4247}.volume-back{z-index:1;background:#12394a;transform:translate(-20%,2%) rotate(13deg);padding:30px}.volume-back-text{font-size:37px;font-weight:800;letter-spacing:-.09em;color:#d5edeb;line-height:1}.volume-second{z-index:2;background:#20aeba;transform:translate(-52%,1%) rotate(3deg);display:flex;flex-direction:column;justify-content:space-between;padding:32px}.volume-second>span{color:#e7ffff;font-size:40px;line-height:1;letter-spacing:-.07em;font-weight:800}.volume-second>i{font-size:9px;font-style:normal;color:#d3f0ee;letter-spacing:.16em}.volume-front{z-index:3;background:#e8e9de;transform:translate(-81%,7%) rotate(-10deg);border-left:7px solid #d0d4cd;overflow:visible;padding:26px 23px;display:flex;flex-direction:column;justify-content:space-between;color:#163445;transition:transform .45s cubic-bezier(.2,.9,.2,1),box-shadow .45s}.volume-front:hover{transform:translate(-81%,-2%) rotate(-5deg);box-shadow:-29px 36px 60px #1a3f4754}.volume-front img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0 9px 9px 0}.volume-cover-top,.volume-cover-foot{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.12em;font-weight:800}.volume-cover-top span{font-size:20px;color:#00a2aa}.volume-cover-title small{display:block;margin-bottom:18px;font-size:10px;letter-spacing:.12em;color:#5f7e84}.volume-cover-title strong{font-size:44px;line-height:1;letter-spacing:-.08em;max-width:220px;display:block;overflow-wrap:anywhere}.volume-cover-title strong em{font:italic 1.1em var(--serif);color:#0096ac}.volume-cover-foot span{font-size:22px}.feature-caption{position:absolute;z-index:4;right:13px;bottom:37px;display:flex;flex-direction:column;align-items:flex-end;max-width:200px;gap:8px}.feature-caption-index{font-size:9px;font-weight:800;letter-spacing:.12em;color:#779397}.feature-caption strong{font-size:13px;line-height:1.4;text-align:right;color:#193748}.feature-caption a,.feature-caption .feature-static{font-size:11px;font-weight:700;color:#0594a7}.library-v2 .hero-bottom{height:58px;border-color:#e2dfd7;color:#8b9496;font-size:9px;letter-spacing:.12em}.library-v2 .hero-bottom a{color:#164252}
/* Collection */
.library-v2 .collection-section{padding-top:108px;padding-bottom:126px}.library-v2 .section-intro{align-items:flex-end}.library-v2 .section-intro h2{font-size:clamp(38px,4.7vw,65px);font-weight:800;line-height:1.13;letter-spacing:-.074em;margin:18px 0}.library-v2 .section-intro h2 em{font:italic 1.08em/.9 var(--serif);color:#0a9bac;letter-spacing:-.015em}.library-v2 .section-intro p{color:#75808a;font-size:13px;line-height:1.9}.library-v2 .small-stats b{font-size:38px;font-weight:800;letter-spacing:-.075em}.library-v2 .small-stats small{font-size:10px;letter-spacing:0;color:#818f95}.library-v2 .filterbar{background:white;border:1px solid #e3e6e4;border-radius:5px;box-shadow:0 10px 40px #1a46480a;margin-top:47px;padding:8px;gap:8px}.library-v2 .search-control{min-width:210px}.library-v2 .search-control input{font-size:12px;color:#1a3947}.library-v2 .filterbar select{font-size:12px;border-color:#ebefee;border-radius:4px;min-width:175px}.library-v2 .filterbar .button.dark{background:#163b4a;border-radius:4px;color:white;font-size:11px;font-weight:800;min-width:120px}.library-v2 .filterbar .button.dark:hover{background:#08798a}.library-v2 .catalog-meta{margin:44px 0 20px}.library-v2 .catalog-meta strong{font-size:12px}.library-v2 .catalog-meta>span{font-size:10px;letter-spacing:.12em;color:#8b999d}
.library-v2 .book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 22px}.library-v2 .book-card{min-width:0}.library-v2 .book-shelf{padding:20px 20px 26px;background:#f0f1ed;border:1px solid #e9ece6;display:flex;align-items:center;justify-content:center;min-height:350px;position:relative;overflow:hidden;transition:background .3s}.library-v2 .book-card:nth-child(4n + 2) .book-shelf{background:#eaf1f0}.library-v2 .book-card:nth-child(4n + 3) .book-shelf{background:#f0eee8}.library-v2 .book-card:nth-child(4n + 4) .book-shelf{background:#e9edef}.library-v2 .book-cover{width:min(88%,232px);height:auto;max-height:none;aspect-ratio:.75;background:#1f6c79;border:0;border-radius:1px 8px 8px 1px;box-shadow:-9px 13px 18px #253c4038,-2px 2px 0 #d7dfdc;position:relative;overflow:visible;transition:transform .4s cubic-bezier(.17,.84,.24,1),box-shadow .4s;transform:rotate(-3deg);display:block}.library-v2 .book-cover:before{content:"";position:absolute;left:-7px;top:1%;bottom:1%;width:8px;background:linear-gradient(90deg,#b8d2d1,#f4f7f3,#a8c0c3);transform:skewY(-7deg);box-shadow:-4px 5px 5px #29434b23;z-index:2}.library-v2 .book-cover:after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(90deg,#0c354535,transparent 12%,#fff2 42%,transparent 65%);border-radius:1px 8px 8px 1px}.library-v2 .book-card:hover .book-cover{transform:translateY(-11px) rotate(0deg);box-shadow:-13px 28px 28px #1b3b4445,-2px 2px 0 #d7dfdc}.library-v2 .book-card:hover .book-shelf{background:#e9f1ef}.library-v2 .book-cover.has-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:1px 8px 8px 1px}.library-v2 .book-cover-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:21px 18px;color:#efffff;border-radius:1px 8px 8px 1px;overflow:hidden}.library-v2 .book-card:nth-child(4n + 2) .book-cover{background:#254a64}.library-v2 .book-card:nth-child(4n + 3) .book-cover{background:#087e82}.library-v2 .book-card:nth-child(4n + 4) .book-cover{background:#285e60}.library-v2 .cover-top,.library-v2 .cover-bottom{font-size:8px;letter-spacing:.09em}.library-v2 .cover-center strong{font-size:clamp(20px,1.7vw,31px);line-height:1.14;letter-spacing:-.07em;overflow-wrap:anywhere;max-height:6.5em;overflow:hidden}.library-v2 .cover-center small{display:block;color:#a3e0dd;margin-bottom:13px}.library-v2 .cover-arrow{position:absolute;right:11px;bottom:9px;z-index:4;border-radius:50%;display:grid;place-items:center;background:#fff;color:#133a4a;width:32px;height:32px;opacity:0;transform:translateY(9px);transition:all .25s}.library-v2 .book-card:hover .cover-arrow{opacity:1;transform:none}.library-v2 .card-meta{display:flex;justify-content:space-between;margin:18px 0 9px;color:#6a8b8f;font-size:9px;font-weight:800;letter-spacing:.08em}.library-v2 .book-card h3{font-size:15px;line-height:1.5;font-weight:800;margin:0;color:#173547;min-height:2.9em;letter-spacing:-.04em}.library-v2 .book-card p{font-size:11px;margin:8px 0 15px;color:#81919a}.library-v2 .read-link{font-size:11px;font-weight:800;color:#117d8b;border-bottom:1px solid #a2d6d5;padding-bottom:6px;display:inline-flex;gap:15px}.library-v2 .pager{margin-top:50px}
/* Open book miniature */
.experience-section{background:#103748;color:white;padding:116px 0 122px;position:relative}.experience-section:after{position:absolute;inset:0;content:"";pointer-events:none;background:radial-gradient(circle at 24% 50%,#28607155,transparent 46%)}.experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center;position:relative;z-index:1}.experience-visual{min-height:390px;display:flex;align-items:center;justify-content:center;perspective:1000px}.open-book{display:grid;grid-template-columns:1fr 1fr;width:min(100%,540px);height:310px;transform:perspective(1100px) rotateY(-6deg) rotateX(6deg) rotate(-3deg);filter:drop-shadow(0 36px 26px #00121b99);position:relative}.open-book:before{content:"";position:absolute;z-index:4;left:calc(50% - 7px);top:0;bottom:0;width:14px;background:linear-gradient(90deg,#343c3d88,#fefbf125,#d6d9d455,#343c3d88)}.open-book:after{content:"";position:absolute;inset:5px -4px -7px;background:#d4d9d2;z-index:-1;border-radius:5px}.open-left,.open-right{background:#f4f1e9;color:#18333f;display:flex;flex-direction:column;justify-content:space-between;padding:27px 29px;box-shadow:inset 0 0 38px #6d736d24}.open-left{border-radius:6px 2px 2px 7px;border-left:7px solid #dfe2d9}.open-right{border-radius:2px 8px 8px 2px;border-right:6px solid #dfe2d9}.open-left>span{font-size:8px;letter-spacing:.15em;font-weight:800}.open-left strong{font-size:33px;letter-spacing:-.075em;line-height:1.15}.open-left strong em{font:italic 1.1em var(--serif);color:#0ca6a9}.open-left small,.open-right small{font-size:8px;color:#8d9794;letter-spacing:.1em}.open-right>i{font:italic 22px/1.2 var(--serif);letter-spacing:-.015em}.book-content-drawing{height:120px;display:flex;align-items:end;gap:7px;border-bottom:1px solid #a5b9b2}.book-content-drawing span{width:30%;height:50%;background:#9bcdd0}.book-content-drawing span:nth-child(2){height:90%;background:#128998}.book-content-drawing span:nth-child(3){height:68%;background:#50b9b7}.book-faux-lines span{display:block;background:#d3dbd5;height:3px;margin:5px 0}.book-faux-lines span:last-child{width:65%}.experience-copy .eyebrow{color:#a2d2d8}.experience-copy h2{font-size:clamp(43px,4.8vw,66px);line-height:1.1;letter-spacing:-.075em;margin:23px 0}.experience-copy h2 em{font:italic 1.1em var(--serif);color:#74dbe0;letter-spacing:-.025em}.experience-copy>p{color:#b7cbd0;font-size:14px;line-height:2;letter-spacing:0}.experience-features{margin:30px 0;border-top:1px solid #ffffff29}.experience-features>div{display:flex;gap:22px;border-bottom:1px solid #ffffff29;padding:17px 0;align-items:center}.experience-features b{font-size:11px;color:#68cdd5}.experience-features span{font-size:12px;color:#edf4f3}.experience-link{font-size:12px;font-weight:800;color:#8ae2e1;display:inline-flex;gap:20px;border-bottom:1px solid #80cfd0;padding-bottom:11px}.library-v2 .library-end{padding:100px 0;background:#e7f1ee}.library-v2 .library-end h2{font-size:clamp(43px,5vw,66px);font-weight:800;letter-spacing:-.077em}.library-v2 .library-end h2 em{font:italic 1.1em var(--serif);color:#148e9e}.library-v2 .site-footer,.site-footer{background:#0d2838}.site-footer .footer-inner{min-height:153px}.site-footer .footer-brand{font-size:21px}.site-footer .footer-brand p{color:#a3bdc8}
/* Reader: warm gallery stage, tactile book, floating control dock. */
.reader-v2{background:#fcfbf8}.reader-v2 .reader-heading{padding-top:54px;padding-bottom:37px;align-items:end}.reader-v2 .back-link{font-size:11px;color:#267586;font-weight:800;margin-bottom:24px}.reader-v2 .reader-title .eyebrow{margin-top:0}.reader-v2 .reader-title h1{font-size:clamp(31px,3vw,49px);line-height:1.13;letter-spacing:-.068em;font-weight:800;margin:11px 0;max-width:800px}.reader-v2 .reader-title p{font-size:12px;color:#7e8a94}.reader-v2 .reader-outline{border:1px solid #dbe5e3;border-radius:5px;background:white;font-weight:800;font-size:11px;padding:12px 16px;color:#2c5865}.reader-v2 .reader-outline:hover{background:#eaf5f2}.reader-v2 .reader-action{gap:9px}
.reader-v2 .reader-stage{background:#eeefeb;min-height:725px;padding:22px max(20px,calc((100vw - 1230px)/2)) 25px;position:relative;isolation:isolate;color:#254452;overflow:hidden;border-top:1px solid #e1e4dd;border-bottom:1px solid #d5dfd9;gap:12px}.reader-v2 .reader-stage:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse 40% 44% at 50% 38%,#ffffffd1,transparent 88%),repeating-linear-gradient(90deg,#cad0cb0c 0 1px,transparent 1px 109px);pointer-events:none}.reader-v2 .reader-stage:fullscreen{padding:20px 30px;min-height:100vh}.reader-v2 .reader-stage-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.12em;color:#67818a;gap:15px}.reader-v2 .reader-stage-top>div{display:flex;align-items:center;gap:9px}.reader-v2 .reader-live-dot{width:7px;height:7px;background:#0da7b9;border-radius:50%;box-shadow:0 0 0 5px #16b6c419}.reader-v2 .stage-note{color:#95a3a4}.reader-v2 .stage-top-right{gap:20px!important}.reader-v2 #reader-orientation{background:#ffffffb5;border:1px solid #dde6e4;padding:7px 10px;border-radius:4px;color:#47717f}.reader-v2 .reader-center{min-height:560px;flex:1;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;width:100%}.reader-v2 .reader-glow{position:absolute;z-index:-1;left:7%;right:7%;top:18%;bottom:16%;background:radial-gradient(ellipse at center,#fff8,transparent 74%);pointer-events:none}.reader-v2 .flipbook{height:550px;max-height:none;min-height:0;overflow:visible;width:100%;filter:none;display:flex;align-items:center;justify-content:center}.reader-v2 .flipbook .page{background:#fafaf7;box-shadow:inset 8px 0 12px #343f3610,inset -2px 0 4px #00000009}.reader-v2 .page-paper{background:#faf9f5;overflow:hidden}.reader-v2 .page-paper canvas{max-width:100%;max-height:100%;object-fit:contain}.reader-v2 .page-number{font-family:var(--sans);font-size:9px;color:#78898f;background:#faf9f5bd;border-radius:3px}.reader-v2 .reader-loading,.reader-v2 .reader-error{background:transparent;color:#1c3f4b;z-index:8}.reader-v2 .reader-loading h2,.reader-v2 .reader-error h3{font-family:var(--sans);font-weight:800;letter-spacing:-.06em;font-size:23px}.reader-v2 .reader-loading p,.reader-v2 .reader-error p{color:#87999a;font-size:12px}.reader-v2 .loading-wheel{border-color:#cbdcd8;border-top-color:#0a9aae}.reader-v2 .reader-alternative{border:1px solid #becfce;color:#286b79;border-radius:4px;font-weight:800}
.reader-v2 .reader-toolbar{height:62px;width:min(780px,100%);min-width:0;max-width:780px;background:#fff;box-shadow:0 16px 46px #1c3e4b24;border:1px solid #dce3df;border-radius:6px;padding:9px 14px;gap:12px;position:relative;z-index:10}.reader-v2 .reader-toolbar-group{display:flex;align-items:center;gap:4px}.reader-v2 .reader-toolbar button,.reader-v2 .reader-toolbar .toolbar-pdf{color:#2b4c5e;background:transparent;border:0;min-width:36px;min-height:36px;border-radius:4px;display:grid;place-items:center;font-size:22px;padding:5px;font-family:var(--sans)}.reader-v2 .reader-toolbar button:hover:not(:disabled),.reader-v2 .reader-toolbar .toolbar-pdf:hover{background:#eaf7f4;color:#078f9c}.reader-v2 .reader-counter{font-size:11px;font-weight:800;letter-spacing:.04em;min-width:85px;color:#224354;display:flex;align-items:center;justify-content:center;gap:8px}.reader-v2 .reader-counter .separator{color:#99adae}.reader-v2 .reader-toolbar input[type=range]{accent-color:#06a5b8;min-width:45px;max-width:280px}.reader-v2 .reader-tools-sep{width:1px;height:25px;background:#e5e8e7}.reader-v2 .reader-stage-hint{color:#819292;font-size:9px;letter-spacing:.13em;font-weight:800;display:flex;justify-content:space-between}.reader-v2 .reader-stage.pdf-landscape{min-height:645px}.reader-v2 .reader-stage.pdf-landscape .reader-center{min-height:480px}.reader-v2 .reader-stage.pdf-square{min-height:640px}.reader-v2 .flipbook-fallback .page{max-width:100%;height:100%}.reader-v2 .reader-details{padding-top:90px;padding-bottom:95px}.reader-v2 .reader-details h2{font-size:clamp(37px,4vw,56px);font-weight:800}.reader-v2 .reader-details h2 em{font:italic 1.1em var(--serif);color:#0c9bae}.reader-v2 .reader-details>div:nth-child(2)>p{color:#647d86;font-size:14px;line-height:1.9}.reader-v2 .details-pills span{background:#f1f5f1;border:1px solid #dfe9e6;color:#416b75;border-radius:4px;font-size:10px}
/* Reader panels */
.toc-panel,.thumb-panel{background:#fcfbf8;border-left:1px solid #dce6e2;box-shadow:-18px 0 64px #1b3a4450}.toc-head strong{font-family:var(--sans);font-weight:800}.toc-head small{color:#078da2}.thumb-page.active,.thumb-page:hover{background:#0b798a;border-color:#0b798a}.zoom-overlay{background:#eef0ed}.zoom-controls{background:#fff}.copy-toast{background:#174c5a;border-color:#108899}
/* Admin: leave existing inputs and layouts intact, adapt typography and palette. */
.dashboard h1,.edit-head h1,.auth-card h1{font-family:var(--sans);font-weight:800}.dashboard h1 em,.edit-head h1 em,.auth-card h1 em{color:#068ea0;font-family:var(--serif);font-style:italic}.dashboard-stats>div{border-radius:4px;background:#16404f}.dashboard-stats>div:nth-child(2){background:#146075}.dashboard-stats>div:nth-child(3){background:#147a85}.admin-table-card,.edit-panel,.auth-card{border-radius:5px}.button.dark{background:#173f50;border-radius:4px}.button.dark:hover{background:#067e90}.edit-panel,.auth-card{background:#fff}.status-pill{border-radius:4px}
@media (max-width:1090px){.library-v2 .hero-grid{grid-template-columns:1.04fr .96fr}.library-v2 .hero-copy h1{font-size:clamp(49px,6.6vw,76px)}.library-v2 .hero-art{transform:scale(.83);transform-origin:center}.experience-grid{gap:45px}.library-v2 .book-shelf{min-height:270px;padding:18px 12px 22px}}
@media (max-width:800px){.shell{width:calc(100% - 42px)}.topbar-inner{height:72px}.top-nav>a:not(.nav-pill){display:none}.library-v2 .hero-grid{grid-template-columns:1fr;gap:0}.library-v2 .hero-copy{padding:69px 0 0}.library-v2 .hero-copy h1{font-size:clamp(57px,10vw,83px)}.library-v2 .hero-copy p{max-width:560px}.hero-proof{margin-top:34px}.library-v2 .hero-art{height:490px;transform:scale(.84);transform-origin:center center;margin-top:-10px}.library-v2 .hero-bottom{margin-top:-30px}.library-v2 .section-intro{flex-direction:column;align-items:start}.library-v2 .collection-section{padding-top:75px;padding-bottom:95px}.library-v2 .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 18px}.library-v2 .book-shelf{min-height:340px;padding:20px}.library-v2 .book-cover{width:min(75%,240px)}.library-v2 .book-card h3{min-height:0}.experience-section{padding:80px 0}.experience-grid{grid-template-columns:1fr;gap:22px}.experience-visual{min-height:360px}.experience-copy h2{font-size:56px}.reader-v2 .reader-heading{align-items:start;flex-direction:column}.reader-v2 .reader-stage{padding:18px 14px 24px;min-height:620px}.reader-v2 .reader-center{min-height:460px}.reader-v2 .reader-toolbar{max-width:760px;width:100%}.reader-v2 .flipbook{height:430px}.reader-v2 .reader-stage.pdf-landscape{min-height:540px}.reader-v2 .reader-stage.pdf-landscape .reader-center{min-height:355px}.reader-v2 .reader-stage-hint{font-size:8px}}
@media (max-width:520px){.topbar-inner{gap:10px}.top-nav .nav-pill{padding:10px;font-size:9px}.brand-symbol{width:39px;height:39px}.brand-copy strong{font-size:11px}.brand-copy small{font-size:7px}.library-v2 .hero-copy{padding-top:52px}.library-v2 .hero-copy h1{font-size:clamp(47px,12.5vw,62px);line-height:1.08;margin-top:22px}.library-v2 .hero-copy p{font-size:12px}.library-v2 .hero-kicker{font-size:8px;gap:8px}.library-v2 .hero-buttons{gap:16px}.library-v2 .hero-primary{padding:14px 15px;font-size:10px;gap:17px}.library-v2 .hero-secondary{font-size:10px;gap:6px}.library-v2 .hero-art{height:390px;transform:scale(.64);transform-origin:center 42%;margin:-5px 0 -30px}.library-v2 .hero-bottom{margin-top:-30px;font-size:8px}.library-v2 .hero-bottom span:nth-child(2){display:none}.library-v2 .section-intro h2{font-size:43px}.library-v2 .small-stats b{font-size:30px}.library-v2 .book-grid{gap:30px 12px}.library-v2 .book-shelf{min-height:230px;padding:12px 5px 18px}.library-v2 .book-cover{width:75%}.library-v2 .book-cover-inner{padding:11px 9px}.library-v2 .cover-top,.library-v2 .cover-bottom{font-size:6px}.library-v2 .cover-center strong{font-size:clamp(13px,3.5vw,20px)}.library-v2 .cover-center small{font-size:6px}.library-v2 .card-meta{font-size:7px}.library-v2 .book-card h3{font-size:12px}.library-v2 .book-card p{font-size:10px}.library-v2 .read-link{font-size:10px}.library-v2 .filterbar select{min-width:0}.library-v2 .catalog-meta{margin-top:27px}.experience-section{padding:60px 0}.experience-visual{min-height:290px}.open-book{transform:scale(.78) rotate(-3deg);width:540px;flex:0 0 480px}.experience-copy h2{font-size:45px}.experience-copy>p{font-size:12px}.library-v2 .library-end{padding:70px 0}.library-v2 .library-end h2{font-size:44px}.reader-v2 .reader-title h1{font-size:32px}.reader-v2 .reader-stage-top{font-size:8px}.reader-v2 .stage-note{display:none}.reader-v2 .stage-top-right{gap:8px!important}.reader-v2 #reader-orientation{padding:6px;font-size:7px}.reader-v2 .reader-stage{min-height:465px;padding:13px 11px 18px}.reader-v2 .reader-center{min-height:310px}.reader-v2 .flipbook{height:292px}.reader-v2 .reader-stage.pdf-landscape{min-height:390px}.reader-v2 .reader-stage.pdf-landscape .reader-center{min-height:242px}.reader-v2 .reader-toolbar{height:52px;gap:4px;padding:6px 8px}.reader-v2 .reader-toolbar button,.reader-v2 .reader-toolbar .toolbar-pdf{min-width:27px;min-height:28px;font-size:18px;padding:2px}.reader-v2 .reader-toolbar .reader-counter{min-width:59px;font-size:10px;gap:5px}.reader-v2 .reader-toolbar input[type=range]{max-width:70px}.reader-v2 .reader-tools-sep{height:19px}.reader-v2 .reader-stage-hint{font-size:7px}.reader-v2 .reader-stage-hint span:last-child{display:none}.reader-v2 .reader-details{padding-top:60px;padding-bottom:70px}.reader-v2 .reader-details h2{font-size:39px}}
@media (prefers-reduced-motion:reduce){.volume-front,.library-v2 .book-cover,.library-v2 .hero-primary{transition:none!important}.library-v2 .book-card:hover .book-cover{transform:none}}
/* Narrow devices: keep the illustrated open book fully inside its column. */
@media (max-width:520px){
  .experience-visual{min-height:238px;overflow:visible}
  .experience-visual .open-book{width:min(100%,344px);height:220px;flex:0 1 auto;transform:rotate(-3deg)}
  .experience-visual .open-left,.experience-visual .open-right{padding:15px 13px}
  .experience-visual .open-left strong{font-size:22px}
  .experience-visual .open-right>i{font-size:15px}
  .experience-visual .book-content-drawing{height:80px}
  #reader-demo + .reader-v2 .open-book{width:min(95%,350px)!important;height:190px!important;transform:rotate(-1deg)!important}
  #reader-demo + .reader-v2 .open-left,#reader-demo + .reader-v2 .open-right{padding:16px 13px}
  #reader-demo + .reader-v2 .open-left strong{font-size:23px}
  #reader-demo + .reader-v2 .open-right>i{font-size:15px}
  #reader-demo + .reader-v2 .book-content-drawing{height:55px}
}

/* V2.1 performance: static shadow outside moving pages, not a GPU filter per frame. */
.reader-v2 .flipbook{position:relative;isolation:isolate}
.reader-v2 .flipbook::before{content:"";position:absolute;left:13%;right:13%;bottom:3%;height:18px;border-radius:50%;background:#233a3d25;box-shadow:0 14px 27px #102e383b;z-index:-1;pointer-events:none}
@media (prefers-reduced-motion:reduce){.reader-v2 .flipbook::before{box-shadow:0 7px 16px #102e3830}}
