/* NeuroVisionist illustrated bookshelf and responsive cover presentation. */
.book-object{container-type:inline-size;transform:rotateY(-9deg);max-width:300px!important}
.cover-type{padding:8% 12%;background:linear-gradient(180deg,#030a1090,transparent 45%,transparent 70%,#030a10cc);text-align:left;text-shadow:none}
.cover-brand{order:0;color:#e8e8df;font:600 7cqw/1 Arial,sans-serif;letter-spacing:.16em}
.cover-brand small{display:block;font:500 2.1cqw/1.7 Arial,sans-serif;letter-spacing:.3em;margin-top:2%}
.cover-series{order:1;font:500 2.3cqw/1.5 Arial,sans-serif!important;letter-spacing:.1em;margin:8% 0 4%;color:#9bc7cc}
.cover-type strong{order:2;font:600 10cqw/1.05 Arial,sans-serif!important;letter-spacing:-.04em;color:#f1eee4;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%}
.cover-type .distortium-title{font-size:9cqw!important;letter-spacing:-.055em}
.distortium-title>span{display:block;white-space:nowrap;font-size:9cqw}
.distortium-title>small{display:block;font:400 4.5cqw/1.3 Georgia,serif;letter-spacing:.02em;margin-top:5%}
.cover-author{order:4;margin-top:auto;margin-bottom:8%;font:500 2.8cqw/1.6 Arial,sans-serif!important;letter-spacing:.18em;color:#e0e4df}
.cover-imprint{display:none}
.cover-stage:before{width:85%;height:1px;bottom:20px;background:#75dce8;filter:blur(2px);box-shadow:0 0 20px 4px #60dcee45;transform:none;opacity:.65}
.book-front{border:1px solid #9bc7cc40;border-radius:1px 4px 4px 1px;box-shadow:inset 3px 0 6px #000b,1px 0 0 #7ea2ae}
.book-spine{background:linear-gradient(90deg,#02060a,#15242c,#03080d)}
.library{background:#040c17;padding-block:90px;isolation:isolate}
.library-bg{opacity:1;filter:none;background:radial-gradient(ellipse at 50% 20%,#143e5540,transparent 65%),radial-gradient(circle at 20% 40%,#76e8f240 0 1px,transparent 1.5px) 0 0/137px 173px,radial-gradient(circle at 70% 30%,#fff5 0 1px,transparent 1.5px) 0 0/223px 251px,linear-gradient(#030a13,#061626)}
.library:after{content:'';position:absolute;width:95%;height:70%;border:1px solid #7acedd20;border-radius:50%;left:2%;top:18%;transform:rotate(-24deg);pointer-events:none;z-index:-1}
.library .section-title{display:block;text-align:center;max-width:900px;margin:0 auto 45px}
.library .section-title .eyebrow{justify-content:center;color:#9bdde5}
.library .section-title h2{font:400 clamp(32px,4.8vw,62px)/1.12 Georgia,serif;text-transform:none;letter-spacing:-.02em;margin:20px 0}
.library .section-title h2 em{color:#a4e5e9;font-style:normal}
.library .section-note{max-width:540px;margin:16px auto;color:#adbec7;font-size:16px}
.library .book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 35px;max-width:1050px;margin:0 auto}
.library .book h3{font:400 19px/1.35 Georgia,serif;letter-spacing:0;color:#e6e9e5;margin:12px 0 6px}
.library .book .sample-link{font:italic 15px/1.5 Georgia,serif;color:#83e4ed}
.library .book-card-link{text-decoration:none;color:inherit;display:block}
.bookshelf-more{text-align:center;margin:50px auto 0}
.bookshelf-more .button{border:1px solid #a8c5c9;color:#c4e7eb;padding:16px 30px;letter-spacing:.15em}
.books-page{background:#040c17}
.books-page .sample-hero{text-align:center;margin:auto;max-width:900px}
.books-page .sample-hero h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.03em}
.books-page .sample-hero h1 span{color:#a4e5e9}
.books-page .sample-hero .lead{margin-inline:auto}
.books-page .story-card{border:0;background:transparent;text-align:center;padding:12px;min-width:0}
.books-page .story-number{display:none}
.books-page .story-card h2{font:400 21px/1.35 Georgia,serif;color:#edece3}
.books-page .story-card p{font-size:13px}
.books-page .story-card>b{font:italic 16px Georgia,serif;color:#83e4ed}
.books-page .story-grid{gap:45px 30px}
@media(max-width:700px){.library .book-grid,.books-page .story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.library .cover-stage,.books-page .cover-stage{padding:12px 5px 22px}.library .book h3,.books-page .story-card h2{font-size:16px}.library{padding-inline:5vw}.books-page .story-card{padding:0}.library .section-note{font-size:14px}.books-page .story-card p{display:none}.books-page .story-card>b{font-size:14px}}
@media(max-width:380px){.library .book-grid,.books-page .story-grid{gap:25px 10px}.library .book h3{font-size:14px}.library .book .sample-link{font-size:13px}}

/* Living ebook gallery: distant city, gentle levitation, and contained energy. */
.books-page{position:relative;isolation:isolate;background:linear-gradient(180deg,#030813 0%,#07101e 55%,#040914 100%)}
.ebook-world-backdrop{position:fixed;z-index:0;inset:0;overflow:hidden;pointer-events:none;background:none}
.books-page>.network-nav{z-index:20}
.books-page>main,.books-page>.footer,.books-page>nav.nvs-legal-links{position:relative;z-index:1}
.ebook-riverways{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:.72;mix-blend-mode:screen}
.ebook-river-glow{fill:none;stroke:url(#ebook-river-gradient);stroke-linecap:round;stroke-linejoin:round;filter:url(#ebook-river-soft-glow);opacity:.5}
.ebook-river-core{fill:none;stroke:url(#ebook-river-gradient);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:180 110;animation:ebook-river-flow 16s linear infinite;opacity:.87}
.ebook-river-shimmer{fill:none;stroke:url(#ebook-river-highlight);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:3 35;animation:ebook-river-flow 5.5s linear infinite;opacity:.95}
.ebook-river-core.river-reverse,.ebook-river-shimmer.river-reverse{animation-direction:reverse}
.river-motion-paused .ebook-riverways *{animation-play-state:paused!important}
@keyframes ebook-river-flow{to{stroke-dashoffset:-256}}
.ebook-world-backdrop:before{content:"";position:absolute;left:-4%;right:-4%;bottom:0;height:min(66vh,700px);opacity:.8;background:linear-gradient(180deg,#14243ad9,#091320 42%,#050a13);clip-path:polygon(0 100%,0 62%,3% 62%,3% 48%,8% 48%,8% 58%,12% 58%,12% 39%,16% 39%,16% 52%,20% 52%,20% 31%,23% 31%,23% 18%,25% 31%,28% 31%,28% 59%,33% 59%,33% 43%,36% 43%,36% 53%,40% 53%,40% 27%,44% 27%,44% 40%,47% 40%,47% 12%,49% 5%,51% 12%,51% 41%,54% 41%,54% 33%,58% 33%,58% 54%,62% 54%,62% 43%,66% 43%,66% 56%,70% 56%,70% 24%,73% 24%,73% 38%,76% 38%,76% 49%,81% 49%,81% 32%,85% 32%,85% 51%,89% 51%,89% 40%,93% 40%,93% 59%,97% 59%,97% 46%,100% 46%,100% 100%);filter:drop-shadow(0 -18px 35px #47bfe41c)}
.ebook-world-backdrop:after{content:"";position:absolute;left:0;right:0;bottom:0;height:min(39vh,390px);opacity:.43;background-image:radial-gradient(2px 3px at 8px 9px,#f4d69c 60%,transparent 100%),radial-gradient(2px 3px at 35px 25px,#75ddff 60%,transparent 100%),radial-gradient(2px 3px at 54px 7px,#b49bff 60%,transparent 100%);background-size:68px 46px,81px 61px,103px 72px;clip-path:polygon(0 23%,8% 23%,8% 0,16% 0,16% 30%,23% 30%,23% 10%,32% 10%,32% 35%,42% 35%,42% 5%,50% 5%,50% 34%,60% 34%,60% 0,69% 0,69% 27%,78% 27%,78% 12%,87% 12%,87% 33%,94% 33%,94% 4%,100% 4%,100% 100%,0 100%);mix-blend-mode:screen}
.books-page .story-card{--book-glow:#69dfff;position:relative}
.books-page .story-card:nth-child(3n + 2){--book-glow:#a98aff}
.books-page .story-card:nth-child(3n){--book-glow:#f0bd71}
.books-page .story-card .cover-stage{overflow:visible}
.books-page .story-card .cover-stage:before{width:82%;height:22%;bottom:8%;background:color-mix(in srgb,var(--book-glow),transparent 66%);box-shadow:0 0 42px 18px color-mix(in srgb,var(--book-glow),transparent 64%);filter:blur(24px);opacity:.7}
.books-page .story-card .cover-stage:after{content:"";position:absolute;z-index:0;left:50%;top:46%;width:88%;aspect-ratio:1;border:2px solid color-mix(in srgb,var(--book-glow),transparent 28%);border-radius:50%;background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--book-glow),transparent 74%),transparent 57%);box-shadow:0 0 32px color-mix(in srgb,var(--book-glow),transparent 46%),inset 0 0 26px color-mix(in srgb,var(--book-glow),transparent 62%);transform:translate(-50%,-50%) rotateX(68deg) rotateZ(-18deg);animation:book-power-orbit 19s linear infinite;opacity:.88}
.books-page .story-card .book-object{z-index:1;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--book-glow),transparent 60%)) drop-shadow(0 8px 16px #000a);animation:book-power-float 6.4s ease-in-out infinite}
.books-page .story-card:nth-child(3n + 2) .book-object{animation-delay:-2.1s}
.books-page .story-card:nth-child(3n) .book-object{animation-delay:-4.2s}
.books-page .story-card:hover .book-object{animation-play-state:paused;transform:rotateY(-4deg) translateY(-5px) scale(1.045);filter:drop-shadow(0 0 24px color-mix(in srgb,var(--book-glow),transparent 45%))}
.books-page .story-card .book-front{box-shadow:inset 4px 0 7px #0009,1px 0 1px #ffffff55,0 0 14px color-mix(in srgb,var(--book-glow),transparent 82%)}
.books-page .sample-hero{position:relative;z-index:1;padding-top:44px}
.books-page .book-world-note{margin:14px auto 0;color:#b6adf2;font:italic 15px/1.6 Georgia,serif;text-shadow:0 0 20px #9e80ff33}
.books-page .sample-hero:after{content:"";display:block;width:min(440px,72vw);height:1px;margin:28px auto 0;background:linear-gradient(90deg,transparent,#75e5ff88,#d4b5ff88,transparent);box-shadow:0 0 18px #65daff44}
.books-page .book-entry-actions{position:relative;z-index:1}
.books-page .story-grid{position:relative;isolation:isolate;padding-top:34px}
.books-page .story-card h2{text-shadow:0 2px 20px #000,0 0 20px color-mix(in srgb,var(--book-glow),transparent 80%)}
@keyframes book-power-float{0%,100%{transform:rotateY(-15deg) translateY(0) rotateZ(0)}50%{transform:rotateY(-12deg) translateY(-8px) rotateZ(-.6deg)}}
@keyframes book-power-orbit{to{transform:translate(-50%,-50%) rotateX(68deg) rotateZ(342deg)}}
@media(max-width:700px){.books-page .story-grid{padding-top:20px}.ebook-world-backdrop:before{height:52vh}.ebook-world-backdrop:after{height:30vh;opacity:.33}.ebook-riverways{opacity:.6}.books-page .story-card .cover-stage:after{width:82%}}
@media(prefers-reduced-motion:reduce){.ebook-riverways *{animation:none!important}}
@media(prefers-reduced-motion:reduce){.books-page .story-card .book-object,.books-page .story-card .cover-stage:after{animation:none!important}.books-page .story-card:hover .book-object{transform:rotateY(-8deg)}}

/* Illustrated editions selected by the author. */
.printed-cover .cover-type{display:none}
.printed-cover>img{object-fit:cover}
.cover-type strong{font-family:Georgia,serif!important;font-weight:400!important;color:#f1dcad;letter-spacing:-.02em}
.cover-brand{font-family:Georgia,serif;color:#ead4a4;letter-spacing:.2em}
.library .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px;gap:45px 65px}
.library .book-object{max-width:330px!important}
.library .section-title h2{color:#e7d3aa}
.library .section-title h2 em{color:#a4e5e9}
.bookshelf-more .button{border-color:#c5ae7e;color:#e4cfa5}
@media(max-width:700px){.library .book-grid{gap:28px 16px}.library .book-object{max-width:290px!important}}

/* Public imprint typography above the illustrated cover, including baked-in legacy credits. */
.printed-cover .cover-type{display:block;padding:0;background:none;pointer-events:none}
.printed-cover .cover-type>*{display:none}
.printed-cover .cover-type>.cover-author{display:flex;position:absolute;inset:86.5% 0 0;align-items:center;justify-content:center;margin:0;padding:0 5%;background:#04121e;color:#eed9a9;font:400 5.4cqw/1.2 Georgia,serif!important;letter-spacing:.16em;text-align:center;border-top:1px solid #bba06d66;text-transform:uppercase}

.books-page .story-card-link {
  display: block;
  color: inherit;
  border-radius: .5rem;
  text-underline-offset: .22em;
}
.books-page .story-card-link:hover h2,
.books-page .story-card-link:focus-visible h2 { color: #9af5ff; }
.books-page .story-card-link:focus-visible {
  outline: 2px solid #9af5ff;
  outline-offset: .35rem;
}

.library .book-grid, .books-page .story-grid { align-items: stretch; }
.library .book-card-link, .books-page .story-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.library .book-card-link .cover-stage, .books-page .story-card-link .cover-stage { width: 100%; }
.library .book-card-link .sample-link, .books-page .story-card-link .sample-paused { margin-top: auto; }
.books-page .story-card p { font-size: 1rem; }
.books-page .story-card .sample-paused { font-size: .8125rem; letter-spacing: .05em; line-height: 1.35; }
@media (max-width: 380px) {
  .library .book h3, .books-page .story-card h2 { font-size: 1.0625rem; }
  .books-page .story-card { padding-inline: .375rem; }
}
