/* V9.2 — independent visual layer. No scripts or external services. */
.catalogue-banner.cinematic-banner{position:relative;display:grid;grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);isolation:isolate;overflow:hidden;align-items:center;gap:0;padding:0;min-height:220px;border-left:4px solid #c7a66b;border-radius:11px;background:radial-gradient(ellipse at 75% 100%,#5b4627 0%,transparent 51%),linear-gradient(112deg,#061c15 0%,#0b3025 52%,#12261c 100%);box-shadow:0 7px 20px #192a1b14;color:#fff8e9}
.cinematic-banner::before{content:"";position:absolute;z-index:-1;inset:0 0 0 36%;background:linear-gradient(90deg,#0b2c21 0%,#09281bbb 24%,#0a221955 80%),url('cinematic/library.webp') center/cover;opacity:.7}
.cinematic-copy{position:relative;z-index:2;min-width:0;padding:25px 0 25px clamp(20px,4vw,50px)}
.cinematic-copy>span{display:block;color:#dfbd7a;font-size:10px;letter-spacing:.16em;font-weight:700}
.cinematic-banner .cinematic-copy h1{font:400 clamp(29px,3.6vw,51px)/1.03 var(--serif);letter-spacing:-.035em;margin:10px 0 17px;max-width:530px;text-wrap:balance;color:#fff3d8;text-shadow:0 2px 15px #0008}
.cinematic-cta{display:inline-flex;align-items:center;gap:12px;border:1px solid #f8e1ae;border-radius:40px;padding:9px 17px;color:#183327;background:linear-gradient(115deg,#fff2d3,#dcc090);font:650 13px/1.4 var(--sans);box-shadow:0 4px 18px #0004;text-align:center;max-width:100%}
.cinematic-cta:hover{background:#fff4dc;text-decoration:none}.cinematic-cta:focus-visible,.cinematic-control:focus-visible{outline:2px solid #fff0bd;outline-offset:4px}
.cinematic-stage{position:relative;height:220px;width:100%;overflow:hidden;perspective:900px;pointer-events:none;isolation:isolate;--book-w:clamp(57px,9vw,112px)}
.cinematic-glow{position:absolute;inset:49% 0 0;background:radial-gradient(ellipse at 50% 70%,#ffca6d44,transparent 66%);z-index:0}
.cinematic-glow::before{content:"";position:absolute;left:5%;right:5%;bottom:12%;height:28%;border-radius:50%;background:#f7af3a22;filter:blur(14px)}
.cinematic-book{width:var(--book-w);aspect-ratio: .69;position:absolute;top:46%;left:50%;transform-style:preserve-3d;animation:book-orbit 16s linear infinite;will-change:transform,left;filter:drop-shadow(6px 13px 9px #0009)}
.cinematic-book.midnight{--cover:url('cinematic/midnight.webp');--edge:#0e3640;animation-delay:0s}.cinematic-book.mountain{--cover:url('cinematic/mountain.webp');--edge:#b8a17b;animation-delay:-4s}.cinematic-book.ruby{--cover:url('cinematic/ruby.webp');--edge:#6c292d;animation-delay:-8s}.cinematic-book.emerald{--cover:url('cinematic/emerald.webp');--edge:#165741;animation-delay:-12s}
.cinematic-cover{position:absolute;inset:0;border-radius:4px 2px 2px 4px;background:linear-gradient(115deg,#ffffff1a,transparent 22%,transparent 80%,#0002),var(--cover) center/cover;border:2px solid var(--edge);box-shadow:inset 4px 0 7px #0007,inset 0 0 0 1px #e5c27e90;transform:rotateY(-11deg)}
.cinematic-cover::before{content:"";position:absolute;top:2%;bottom:-1%;left:100%;width:11%;transform:skewY(14deg);transform-origin:left top;background:repeating-linear-gradient(0deg,#a98b50 0px,#e6c792 1px,#f7dfaa 2px,#d1ad70 3px);border-right:3px solid var(--edge);border-radius:0 2px 3px 0;box-shadow:inset -3px 0 4px #5a361a88}
.cinematic-cover::after{content:"";position:absolute;inset:4% 5%;border:1px solid #e5be7680;border-radius:2px;box-shadow:inset 0 0 12px #0002;pointer-events:none}
/* All four covers cycle through the same four visible positions and pass behind the front row on return. */
@keyframes book-orbit{0%,100%{left:12%;transform:translate(-50%,-50%) translateY(13px) rotate(-9deg) scale(.72);z-index:2;opacity:1}25%{left:36%;transform:translate(-50%,-50%) translateY(-2px) rotate(-5deg) scale(.94);z-index:4;opacity:1}50%{left:63%;transform:translate(-50%,-50%) translateY(-5px) rotate(5deg) scale(1.05);z-index:5;opacity:1}75%{left:86%;transform:translate(-50%,-50%) translateY(8px) rotate(10deg) scale(.79);z-index:3;opacity:1}87.5%{left:49%;transform:translate(-50%,-50%) translateY(-30px) rotate(0deg) scale(.51);z-index:1;opacity:.6}}
.cinematic-ribbon{position:absolute;z-index:6;left:4%;right:4%;top:30%;height:52%;border-radius:50%;transform:rotate(-8deg);border-bottom:2px solid #ffd38b;box-shadow:0 8px 13px -9px #fff0b0,0 13px 21px -15px #f9a62a;pointer-events:none}
.cinematic-ribbon::after{content:"";position:absolute;bottom:-3px;left:15%;width:50%;height:3px;border-radius:50%;background:linear-gradient(90deg,transparent,#ffe1a0,#fff5c8,transparent);filter:blur(1px);animation:light-glide 4s ease-in-out infinite alternate;box-shadow:0 0 11px #ffd17a}
@keyframes light-glide{from{transform:translateX(-20%);opacity:.45}to{transform:translateX(70%);opacity:1}}
.cinematic-pause{position:absolute;right:15px;bottom:13px;width:1px;height:1px;opacity:0;z-index:8}.cinematic-control{position:absolute;z-index:7;right:12px;bottom:9px;display:flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #efcf9166;border-radius:20px;background:#08261ed9;color:#ffebc5;font:500 10px/1.4 var(--sans);cursor:pointer}.cinematic-pause:focus-visible~.cinematic-control{outline:2px solid #fff0bd;outline-offset:3px}.cinematic-pause:checked~.cinematic-stage *,.cinematic-pause:checked~.cinematic-stage *::after{animation-play-state:paused}.cinematic-pause:checked~.cinematic-control .pause-symbol{color:#f2bf67}.cinematic-pause:checked~.cinematic-control{background:#3c4932}
@media(max-width:760px){.catalogue-banner.cinematic-banner{grid-template-columns:1fr 1fr;min-height:195px}.cinematic-stage{height:195px;--book-w:clamp(49px,11vw,82px)}.cinematic-copy{padding:18px 0 18px 18px}.cinematic-banner .cinematic-copy h1{font-size:clamp(24px,4.6vw,34px)}.cinematic-copy>span{font-size:9px;letter-spacing:.1em}}
@media(max-width:520px){.catalogue-banner.cinematic-banner{grid-template-columns:1fr;min-height:0}.cinematic-copy{padding:20px 16px 0;text-align:center}.cinematic-banner .cinematic-copy h1{font-size:29px;max-width:100%;margin:8px 0 12px}.cinematic-stage{height:155px;--book-w:clamp(51px,18vw,76px)}.cinematic-banner::before{inset:32% 0 0;background:linear-gradient(180deg,#0b2c21,transparent),url('cinematic/library.webp') center/cover}.cinematic-control{bottom:5px;right:6px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.cinematic-book,.cinematic-ribbon::after{animation:none}.cinematic-book.midnight{left:12%;transform:translate(-50%,-50%) rotate(-9deg) scale(.72);z-index:2}.cinematic-book.mountain{left:36%;transform:translate(-50%,-50%) rotate(-5deg) scale(.94);z-index:4}.cinematic-book.ruby{left:63%;transform:translate(-50%,-50%) rotate(5deg) scale(1.05);z-index:5}.cinematic-book.emerald{left:86%;transform:translate(-50%,-50%) rotate(10deg) scale(.79);z-index:3}.cinematic-pause,.cinematic-control{display:none}}

.cinematic-banner .cinematic-copy h1 em{display:block;color:#e5c181;font-weight:400;font-style:italic;letter-spacing:-.035em}
@media(min-width:761px){.cinematic-banner .cinematic-copy h1{font-size:clamp(29px,3.2vw,47px)}}
@media(max-width:520px){.cinematic-banner .cinematic-copy h1 em{display:inline}}

/* V9.3: full-colour, independently moving classic book artwork. */
.catalogue-banner.cinematic-banner{grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);min-height:252px;background:radial-gradient(ellipse at 78% 105%,#75532477,transparent 52%),linear-gradient(110deg,#061c15,#08271e 50%,#10251d)}
.cinematic-banner::before{inset:0;background:linear-gradient(90deg,#061e17 4%,#08251cb0 43%,#0a21195c 78%),url('cinematic/atmosphere.webp') center/cover;opacity:.85}
.cinematic-stage{height:252px;--book-w:clamp(76px,11.2vw,147px);perspective:1000px;container-type:inline-size}
.cinematic-book{aspect-ratio:2/3;top:48%;left:50%;width:var(--book-w);filter:drop-shadow(6px 13px 8px #000a);animation:classic-orbit 20s linear infinite;will-change:transform}
.cinematic-book.midnight{--cover:url('cinematic/pride.webp');--edge:#1d5037;animation-delay:0s}
.cinematic-book.mountain{--cover:url('cinematic/dracula.webp');--edge:#5e2023;animation-delay:-5s}
.cinematic-book.ruby{--cover:url('cinematic/alice.webp');--edge:#c4a269;animation-delay:-10s}
.cinematic-book.emerald{--cover:url('cinematic/gatsby.webp');--edge:#1a3436;animation-delay:-15s}
.cinematic-cover{inset:0;transform:rotateY(-12deg);transform-style:preserve-3d;border:1px solid var(--edge);border-radius:3px 1px 1px 3px;background:var(--cover) center/100% 100% no-repeat;box-shadow:inset 3px 0 5px #0007,inset 0 0 0 1px #d9bc7a55}
.cinematic-cover::before{top:1%;bottom:0;left:100%;width:12%;transform:skewY(14deg);background:repeating-linear-gradient(0deg,#ad905e 0,#f4ddb0 1px,#ead09d 2px,#c7a66f 3px);border-right:3px solid var(--edge);border-radius:0 2px 2px 0}
.cinematic-cover::after{inset:0;border:0;border-radius:inherit;box-shadow:inset 0 0 7px #0003;background:linear-gradient(125deg,#ffffff12,transparent 22%,transparent 82%,#0002)}
/* 20-second loop. The four books follow the same path at different phases;
   the return passes behind the foreground books. Transform-only movement. */
@keyframes classic-orbit{
 0%,100%{transform:translate(-50%,-50%) translate3d(-35cqw,17px,0) rotate(-10deg) rotateY(-8deg) scale(.73);z-index:2;opacity:1}
 25%{transform:translate(-50%,-50%) translate3d(-13cqw,1px,0) rotate(-5deg) rotateY(-2deg) scale(.93);z-index:4;opacity:1}
 50%{transform:translate(-50%,-50%) translate3d(12cqw,-2px,0) rotate(4deg) rotateY(5deg) scale(1.04);z-index:5;opacity:1}
 75%{transform:translate(-50%,-50%) translate3d(34cqw,13px,0) rotate(10deg) rotateY(13deg) scale(.78);z-index:3;opacity:1}
 83%{transform:translate(-50%,-50%) translate3d(22cqw,-30px,0) rotate(6deg) rotateY(20deg) scale(.62);z-index:1;opacity:.83}
 91%{transform:translate(-50%,-50%) translate3d(-19cqw,-31px,0) rotate(-5deg) rotateY(-15deg) scale(.62);z-index:1;opacity:.83}
}
.cinematic-glow{inset:32% 0 0;background:radial-gradient(ellipse at 55% 80%,#f7b35138,transparent 66%)}
.cinematic-ribbon{top:32%;height:52%;left:2%;right:3%;border-bottom:2px solid #ffe1a0;box-shadow:0 3px 5px -2px #ffcd6b,0 7px 12px -5px #f9a12c,0 17px 24px -14px #f9a12c;transform:rotate(-7deg)}
.cinematic-ribbon::after{height:4px;filter:blur(.7px);box-shadow:0 0 12px #ffd17a}
@media(max-width:760px){.catalogue-banner.cinematic-banner{grid-template-columns:1fr 1.2fr;min-height:213px}.cinematic-stage{height:213px;--book-w:clamp(62px,12vw,100px)}}
@media(max-width:520px){.catalogue-banner.cinematic-banner{grid-template-columns:1fr;min-height:0}.cinematic-stage{height:184px;--book-w:clamp(63px,22vw,90px)}.cinematic-banner::before{inset:0;background:linear-gradient(180deg,#071f17,#0b2b2080),url('cinematic/atmosphere.webp') center/cover}.cinematic-control{bottom:6px}}
@media(prefers-reduced-motion:reduce){.cinematic-book{animation:none;left:50%}.cinematic-book.midnight{transform:translate(-50%,-50%) translateX(-35cqw) rotate(-10deg) scale(.73)}.cinematic-book.mountain{transform:translate(-50%,-50%) translateX(-13cqw) rotate(-5deg) scale(.93)}.cinematic-book.ruby{transform:translate(-50%,-50%) translateX(12cqw) rotate(4deg) scale(1.04)}.cinematic-book.emerald{transform:translate(-50%,-50%) translateX(34cqw) rotate(10deg) scale(.78)}}
@media(min-width:761px){.cinematic-stage{--book-w:clamp(76px,10.5vw,139px)}.cinematic-book{top:50%}}
