.hero.book-orbit-hero{height:660px;min-height:660px;display:flex;align-items:center;justify-content:flex-start;padding:0;background:radial-gradient(ellipse at 78% 48%,#14374b 0,#05243a 28%,#00162e 61%);overflow:hidden;isolation:isolate}.hero.book-orbit-hero:before{content:none}.hero.book-orbit-hero:after{content:'';position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,#d28d28,#ffe2a0,#d28d28)}.hero-stack-scene{position:absolute;left:0;bottom:0;width:32%;max-width:600px;height:100%;background:url('/assets/ime-stack-facing-right.webp') left bottom/190% auto no-repeat;pointer-events:none;z-index:0;mask-image:linear-gradient(90deg,#000 0,#000 92%,transparent 100%)}.book-orbit-hero .hero-content{position:relative;width:35%;max-width:none!important;flex-shrink:0;margin:0 0 0 32%;padding:35px 24px;z-index:3;text-align:left}.book-orbit-hero h1{font-size:clamp(2.25rem,3vw,3.0625rem);line-height:1.08;letter-spacing:-1px;margin:16px 0 24px;text-shadow:0 3px 12px #0004}.book-orbit-hero .hero-content>p{font-size:1rem;line-height:1.6;max-width:550px;margin:0 0 25px;text-align:left}.book-orbit-hero .eyebrow{justify-content:flex-start;max-width:none;margin:0;font-size:0.5625rem;letter-spacing:1.6px;text-align:left}.book-orbit-hero .eyebrow:before,.book-orbit-hero .eyebrow:after{display:none}.book-orbit-hero .actions{gap:12px;display:flex;flex-wrap:wrap;max-width:none;margin:0}.book-orbit-hero .actions .btn{font-size:0.9375rem;padding:11px 14px}.book-orbit-panel{width:33%;height:100%;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:2;min-width:0}.orbit-ambient{position:absolute;width:90%;aspect-ratio:1;border:1px solid #d1b47110;border-radius:50%;background:radial-gradient(ellipse,#8cb2bc10,transparent 70%);box-shadow:0 0 90px #3c7f9620;pointer-events:none}.orbit-ambient:before,.orbit-ambient:after{content:'';position:absolute;inset:10%;border:1px solid #d7b97e0b;border-radius:50%;transform:rotateX(55deg)}.orbit-ambient:after{transform:rotateY(55deg)}.cover-orbit{position:relative;width:100%;height:560px;display:grid;grid-template-columns:repeat(5,1fr);align-content:center;gap:9px;padding:20px;overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;outline:none;border-radius:30px}.cover-orbit.dragging{cursor:grabbing}.cover-orbit:focus-visible{box-shadow:inset 0 0 0 2px #f8c263}.orbit-book{width:80px;aspect-ratio:1;position:relative;display:flex;align-items:center;justify-content:center;padding:7px;border-radius:13px;background:linear-gradient(145deg,#ffffffed,#e0e7ebde);box-shadow:inset 0 1px 0 #fff9,0 8px 20px #0003;will-change:transform;transform-origin:center;pointer-events:none}.orbit-book img{width:100%;height:100%;object-fit:contain;display:block;border-radius:2px;background:transparent;border:0;pointer-events:none;-webkit-user-drag:none}.cover-orbit.orbit-live{display:block;padding:0}.orbit-live .orbit-book{position:absolute;top:50%;left:50%;margin-left:-40px;margin-top:-40px}.orbit-connections{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#c5b894;stroke-width:.55;opacity:.18;pointer-events:none}.orbit-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;z-index:60;padding:0 12px 14px}.orbit-controls>span{font:700 0.5rem 'Roboto Condensed',Arial,sans-serif;letter-spacing:1px;color:#c6d3dc;max-width:150px;line-height:1.5}.orbit-controls button{font:600 0.625rem Arial,sans-serif;border:1px solid #9f86574d;color:#f5d99f;background:#031a2ecc;border-radius:20px;padding:8px 10px;cursor:pointer;white-space:nowrap}.orbit-controls button:focus-visible{outline:2px solid #ffb64b;outline-offset:4px}
.real-home-books{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;align-items:end;padding:25px 25px 13px;perspective:1100px}.real-home-book{display:flex;align-items:center;flex-direction:column;gap:9px;min-width:0;transform:rotateY(-7deg);transition:transform .25s}.real-home-book:hover{transform:translateY(-7px) rotateY(0)}.real-home-book img{width:100%;height:235px;object-fit:contain;filter:drop-shadow(6px 8px 5px #23190d45)}.real-home-book span{font:700 0.75rem/1.2 'Roboto Condensed',Arial,sans-serif;text-align:center;min-height:30px}.featured-shelf .shelf-art{background:linear-gradient(0deg,#bc8d5f44,transparent 45%);padding-bottom:5px}.published-bookshelf{padding-top:45px;padding-bottom:55px}.bookshelf-intro{display:flex;gap:30px;justify-content:space-between;align-items:center;margin-bottom:28px}.bookshelf-intro>div{max-width:700px}.bookshelf-intro h2{font-size:2.5rem;line-height:1.15;margin:12px 0 18px}.bookshelf-intro p{font-size:1rem;line-height:1.6}.bookshelf-intro .btn{flex-shrink:0}.bookshelf-filters{display:grid;grid-template-columns:2fr 1fr;gap:18px;background:#f6f1e9;border:1px solid #e6d9c5;padding:20px;border-radius:9px;margin-bottom:15px}.bookshelf-filters .field{font-size:0.8125rem}.bookshelf-filters input,.bookshelf-filters select{font-size:0.9375rem;background:#fff}.published-cover-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:25px 22px;margin:25px 0}.published-cover-card[hidden],#bookshelf-empty[hidden],#bookshelf-more[hidden]{display:none!important}.published-cover-card{min-width:0;scroll-margin-top:130px}.published-cover-card>button{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;height:100%;padding:0 0 18px;border:1px solid #e4dccf;border-radius:8px;background:#fff;cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s}.published-cover-card>button:hover{transform:translateY(-5px);box-shadow:0 9px 25px #00172c17}.published-cover-card>button:focus-visible{outline:3px solid #e76b0b;outline-offset:3px}.published-cover-image{display:flex;justify-content:center;align-items:center;min-height:260px;background:linear-gradient(135deg,#f3efe8,#e7dfd1);padding:18px 16px}.published-cover-image img{height:225px;width:100%;object-fit:contain;filter:drop-shadow(4px 5px 4px #30231340)}.published-cover-card h3{font:700 1.1875rem/1.2 'Roboto Condensed',Arial,sans-serif;letter-spacing:0;padding:16px 16px 8px;margin:0}.cover-view-label{font:700 0.75rem 'Roboto Condensed',Arial,sans-serif;color:#b64d08;padding:6px 16px 0;margin-top:auto}.bookshelf-more{text-align:center;margin-top:25px}#cover-dialog{border:1px solid #b69c75;border-radius:12px;padding:22px;background:#fffdf8;color:#071d35;width:min(760px,92vw);max-height:92dvh;overflow:auto;margin:auto}#cover-dialog::backdrop{background:#001126db;backdrop-filter:blur(4px)}.cover-dialog-head{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.cover-dialog-head h2{font-size:1.75rem;line-height:1.2;letter-spacing:-.4px}.cover-dialog-head button{border:1px solid #d6b890;background:#fff8ec;color:#0b243d;border-radius:5px;width:35px;height:35px;cursor:pointer;font-size:1.625rem;flex-shrink:0}#cover-dialog-image{display:block;width:100%;height:min(70dvh,800px);object-fit:contain}#cover-dialog>p{font-size:0.75rem;text-align:center;margin-top:15px;color:#6b6e74}
@media(max-width:1150px){.hero.book-orbit-hero{height:640px;min-height:640px}.book-orbit-hero .hero-content{width:36%;margin-left:30%;padding:30px 17px}.hero-stack-scene{width:30%;background-size:190% auto}.book-orbit-panel{width:34%}.book-orbit-hero h1{font-size:2.25rem}.book-orbit-hero .hero-content>p{font-size:0.9375rem}.book-orbit-hero .eyebrow{font-size:0.5rem;letter-spacing:1px}.book-orbit-hero .actions .btn{font-size:0.875rem}.orbit-book{width:69px;padding:6px;border-radius:12px}.orbit-live .orbit-book{margin-left:-34.5px;margin-top:-34.5px}.cover-orbit{height:520px}.orbit-controls{gap:8px;padding-left:5px;padding-right:5px}.orbit-controls>span{font-size:0.4375rem;letter-spacing:.6px;max-width:115px}.orbit-controls button{font-size:0.5625rem}.published-cover-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.real-home-books{gap:14px;padding:22px 17px 12px}.real-home-book img{height:210px}.real-home-book span{font-size:0.6875rem}}
@media(max-width:900px) and (min-width:761px){.book-orbit-hero .hero-content{width:40%;margin-left:27%;padding:24px 10px}.hero-stack-scene{width:27%}.book-orbit-panel{width:33%}.book-orbit-hero h1{font-size:1.9375rem}.book-orbit-hero .hero-content>p{font-size:0.875rem}.orbit-book{width:59px;padding:5px}.orbit-live .orbit-book{margin-left:-29.5px;margin-top:-29.5px}.orbit-controls{flex-direction:column;gap:4px}.orbit-controls>span{max-width:none}}
@media(max-width:760px){.hero.book-orbit-hero{height:auto;min-height:0;padding:0 20px 34px;display:grid;grid-template-columns:44% 56%;align-items:center;background:radial-gradient(ellipse at 70% 26%,#173d51,#00162e 70%)}.hero-stack-scene{position:relative;left:auto;bottom:auto;grid-column:1;grid-row:1;width:calc(100% + 20px);height:295px;margin-left:-20px;background-size:195% auto;mask-image:linear-gradient(90deg,#000 0,#000 93%,transparent 100%)}.book-orbit-panel{width:100%;height:295px;grid-column:2;grid-row:1;max-width:none}.cover-orbit{height:260px;border-radius:15px}.orbit-book{width:44px;padding:4px;border-radius:8px}.orbit-live .orbit-book{margin-left:-22px;margin-top:-22px}.orbit-book:nth-of-type(n+25){display:none}.orbit-controls{gap:3px;padding:0;flex-direction:column}.orbit-controls>span{font-size:0.375rem;letter-spacing:.3px;max-width:none;text-align:center}.orbit-controls button{font-size:0.5rem;padding:6px 9px}.book-orbit-hero .hero-content{grid-column:1/-1;grid-row:2;width:100%;padding:20px 0 0;max-width:530px!important;margin:0 auto}.book-orbit-hero h1{font-size:2.4375rem;text-align:center;margin:15px 0 20px}.book-orbit-hero .eyebrow{font-size:0.5rem;letter-spacing:1.4px;justify-content:center;text-align:center}.book-orbit-hero .hero-content>p{text-align:center;font-size:0.9375rem;line-height:1.55;margin:0 0 24px;max-width:none}.book-orbit-hero .actions{max-width:340px;margin:auto;justify-content:center;flex-direction:column;align-items:stretch}.book-orbit-hero .actions .btn{font-size:1rem;justify-content:center}.orbit-ambient{width:95%}.real-home-books{gap:12px;padding:24px 18px 12px;overflow-x:auto;grid-template-columns:repeat(5,110px);justify-content:start;align-items:start;scroll-snap-type:x proximity}.real-home-book{scroll-snap-align:center;transform:none}.real-home-book img{height:170px}.real-home-book span{font-size:0.75rem}.bookshelf-intro{display:block}.bookshelf-intro h2{font-size:2rem}.bookshelf-intro .btn{margin-top:20px}.bookshelf-filters{grid-template-columns:1fr;padding:16px}.published-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px}.published-cover-image{min-height:210px;padding:16px 10px}.published-cover-image img{height:185px}.published-cover-card h3{font-size:1.0625rem;padding:14px 12px 7px}.cover-view-label{padding-left:12px}.cover-dialog-head h2{font-size:1.4375rem}#cover-dialog{padding:16px}}
@media(max-width:380px){.book-orbit-hero h1{font-size:2.1875rem}.hero.book-orbit-hero{padding-left:17px;padding-right:17px}.hero-stack-scene{margin-left:-17px;width:calc(100% + 17px)}.orbit-book{width:39px}.orbit-live .orbit-book{margin-left:-19.5px;margin-top:-19.5px}.published-cover-image{min-height:185px}.published-cover-image img{height:160px}}
@media(prefers-reduced-motion:reduce){.orbit-book{will-change:auto}.real-home-book,.published-cover-card>button{transition:none}}
/* Blend the left scene into the hero rather than showing an image edge. */
.hero-stack-scene{mask-image:linear-gradient(90deg,#000 0,#000 92%,transparent 100%),linear-gradient(180deg,transparent 0,transparent 20%,#000 35%);mask-composite:intersect}
@media(max-width:760px){.hero-stack-scene{mask-image:linear-gradient(90deg,#000 0,#000 93%,transparent 100%),linear-gradient(180deg,transparent 0,transparent 28%,#000 47%);mask-composite:intersect}}
/* Five stable shelf positions with independently staggered cover changes. */
.shelf-cover-stage{position:relative;width:100%;height:235px;display:grid;place-items:center}.real-home-book .shelf-cover-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.shelf-cover-next{opacity:0;transition:opacity .85s ease}.real-home-book.cover-crossfade .shelf-cover-next{opacity:1}.shelf-cover-current{transition:opacity .85s ease}.real-home-book.cover-crossfade .shelf-cover-current{opacity:0}.real-home-book .shelf-cover-title{height:45px;min-height:45px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.shelf-rotation-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 15px;padding:5px 14px 9px}.shelf-rotation-controls .book-note{background:none;font-size:.6875rem;color:#4d473f;line-height:1.5}.shelf-rotation-controls button{font:700 .75rem/1.4 Arial,sans-serif;color:#173148;background:#fff9ed;border:1px solid #856a45;border-radius:5px;padding:7px 12px;min-height:44px}.shelf-rotation-controls button[hidden]{display:none}.shelf-rotation-controls button:disabled{opacity:1;color:#4d473f;background:#f5ecde}.shelf-art .real-home-books{align-items:start}
@media(max-width:1150px){.shelf-cover-stage{height:210px}}
@media(max-width:760px){.shelf-cover-stage{height:170px}.shelf-rotation-controls .book-note{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.shelf-cover-next,.shelf-cover-current{transition:none}}
