/* The instrument: pinned RED scroll film. Same behaviour at every width; only values change. */
.instrument{height:500svh;position:relative;background:#241b24}
.instrument-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;perspective:1400px;perspective-origin:50% 50%;background:radial-gradient(120% 70% at 50% 100%,#3a3340 0%,#2a2230 35%,transparent 70%),radial-gradient(90% 60% at 50% 30%,#2a1f2b 0%,#1a131b 55%,#120d13 100%),#110a11}/* the camera frames are alpha-matted; this CSS field (fitted to the Kling studio: top-centre #241a24, corners #110a11, floor #413a41) IS the backdrop, so it is seamless at any aspect */
.instrument-ambient{display:none}
.instrument-turn{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform,opacity,clip-path;--print:0;background:linear-gradient(180deg,rgba(52,44,56,var(--print)),rgba(30,22,32,var(--print)))}
.instrument-vinyl{position:absolute;left:50%;top:50%;width:var(--pw,560px);height:var(--ph,683px);margin:calc(var(--ph,683px) * -.5) 0 0 calc(var(--pw,560px) * -.5);opacity:0;pointer-events:none;border-radius:3px;box-sizing:border-box;border:solid #f1ede5;border-width:calc(var(--pw,560px) * .05) calc(var(--pw,560px) * .05) calc(var(--pw,560px) * .27);background:transparent;z-index:2}
.instrument-vinyl:after{content:'';position:absolute;inset:0;box-shadow:0 0 0 1px rgba(0,0,0,.3) inset}
.instrument-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;--jolt:1px}
.instrument-film,.instrument-poster{object-fit:cover}.instrument-film{scale:1}
.instrument-film.is-ticking{animation:instrument-jolt 90ms steps(2,end)}
@keyframes instrument-jolt{0%{transform:translate3d(var(--jolt),0,0)}50%{transform:translate3d(calc(var(--jolt) * -1),0,0)}100%{transform:none}}
.instrument-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.instrument-stage[data-ready=true] .instrument-poster{visibility:hidden}
.instrument-stage:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,#080a0a,transparent 22%,transparent 80%,#080a0a)}
.instrument-veil{position:absolute;inset:0;z-index:4;pointer-events:none;background:#0a0809;opacity:var(--veil,0)}
.instrument-copy{position:absolute;z-index:3;left:6%;top:24%;width:44%;pointer-events:none;opacity:0;will-change:transform,opacity}
.instrument-copy .eyebrow{display:block;margin-bottom:22px;color:#ded5c7}
.instrument-copy h2{font-weight:400;font-size:clamp(56px,7.2vw,122px);line-height:.96;letter-spacing:-.06em;margin:0 0 24px}
.instrument-copy h2 em{font-family:'Instrument Serif',Georgia,serif;font-weight:400}
.instrument-copy p{font-size:14px;line-height:1.8;color:#d5d0c7;max-width:34ch}
.instrument-legend{position:absolute;z-index:3;right:6%;bottom:8%;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none;opacity:0;text-align:right}
.instrument-legend strong{font-weight:400;font-size:clamp(20px,2.2vw,30px);letter-spacing:-.03em}
.instrument-legend small{font-size:9px;letter-spacing:.14em;color:#c7c1b5;font-variant-numeric:tabular-nums}
.instrument-cue{position:absolute;z-index:3;left:6%;bottom:6%;font-size:9px;letter-spacing:.14em;color:#eee5d7;display:flex;align-items:center;gap:14px;pointer-events:none}
.instrument-cue b{display:block;width:34px;height:1px;background:#c7bda7}
.instrument-note{position:absolute;z-index:3;right:6%;top:118px;font-size:9px;letter-spacing:.1em;color:#8f8a80;pointer-events:none}
@media(max-width:760px){.instrument{height:460svh}.instrument-copy{left:7%;top:auto;bottom:22%;width:86%;text-shadow:0 2px 24px #0008}.instrument-copy h2{font-size:clamp(46px,11.5vw,74px)}.instrument-copy p{font-size:12px}.instrument-legend{right:7%;bottom:max(34px,env(safe-area-inset-bottom))}.instrument-legend strong{font-size:18px}.instrument-cue{bottom:36px;left:7%}.instrument-note{top:92px;right:7%;font-size:8px}}
@media(max-height:500px) and (orientation:landscape){.instrument-copy{top:22%;bottom:auto;width:50%}.instrument-copy h2{font-size:44px}.instrument-legend{bottom:20px}.instrument-cue{bottom:18px}}

/* Stills: the Sony chapter. The sensor slides out as the visitor scrolls, frames from the films ride past. */
.stills{height:360svh;position:relative;background:#0b0b0c}
.stills-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate;background:#0b0b0c}
.stills-camera{position:absolute;inset:0}
.stills-camera img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.stills-strip{position:absolute;left:0;right:0;top:50%;z-index:3;display:flex;gap:clamp(14px,2vw,28px);transform:translate3d(var(--strip,0px),-50%,0);will-change:transform;pointer-events:none;padding-left:52vw}
.stills-strip figure{flex:0 0 auto;width:clamp(180px,22vw,340px);aspect-ratio:4/5;margin:0;overflow:clip;background:#151515;opacity:var(--strip-o,0)}
.stills-strip img{width:100%;height:100%;object-fit:cover;display:block}
.stills-strip figcaption{position:absolute;left:0;bottom:0;padding:14px;font-size:8px;letter-spacing:.13em;color:#e7e1d6;background:linear-gradient(transparent,#0007)}
.stills-strip figure{position:relative}
.stills-copy{position:absolute;z-index:4;left:6%;top:26%;width:40%;pointer-events:none;opacity:var(--copy-o,0);transform:translate3d(0,calc((1 - var(--copy-o,0)) * 18px),0)}
.stills-copy .eyebrow{display:block;margin-bottom:22px;color:#ded5c7}
.stills-copy h2{font-weight:400;font-size:clamp(52px,6.6vw,112px);line-height:.98;letter-spacing:-.06em;margin:0 0 22px}
.stills-copy h2 em{font-family:'Instrument Serif',Georgia,serif;font-weight:400}
.stills-copy p{font-size:14px;line-height:1.8;color:#d5d0c7;max-width:34ch}
.stills-copy a{pointer-events:auto;margin-top:22px}
.stills-stage:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.3),transparent 25%,transparent 70%,rgba(0,0,0,.5))}
.stills-note{position:absolute;z-index:4;right:6%;bottom:6%;font-size:9px;letter-spacing:.12em;color:#9a948a;pointer-events:none;text-align:right}
@media(max-width:760px){.stills{height:330svh}.stills-camera img{object-position:42% 50%}.stills-strip{top:auto;bottom:30%;transform:translate3d(var(--strip,0px),0,0);padding-left:60vw}.stills-strip figure{width:46vw}.stills-copy{left:7%;top:16%;width:86%;text-shadow:0 2px 24px #0008}.stills-copy h2{font-size:clamp(42px,10.5vw,66px)}.stills-copy p{font-size:12px}.stills-note{right:7%;bottom:max(34px,env(safe-area-inset-bottom));font-size:8px}}
@media(max-height:500px) and (orientation:landscape){.stills-copy{top:20%;width:48%}.stills-copy h2{font-size:42px}.stills-strip figure{width:160px}}

/* Finale: the gold frame over the sea, film playing while on screen, copy riding the scroll. */
.finale{height:170svh;position:relative;background:#06070a}
.finale-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;isolation:isolate}
.finale-film{position:absolute;inset:-6%;transform:scale(var(--film-scale,1.06)) translate3d(0,var(--film-y,0px),0);will-change:transform}
.finale-film{background:#06070a}.finale-film video{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
.finale-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(6,7,10,.55),rgba(6,7,10,.05) 30%,rgba(6,7,10,.1) 60%,rgba(6,7,10,.85))}
.finale-copy{position:absolute;z-index:2;left:0;right:0;bottom:9%;display:flex;flex-direction:column;align-items:flex-start;transform:translate3d(0,var(--copy-y,0px),0);opacity:var(--copy-o,1)}
.finale-copy .eyebrow{color:#f0e2c6}
.finale-copy h2{font-size:clamp(3.4rem,8.4vw,9.4rem);line-height:.94;letter-spacing:-.05em;margin:0 0 22px;text-shadow:0 2px 40px #0008}
.finale-copy h2 em{color:#f3d9a6}
.finale-copy p{max-width:40ch;font-size:clamp(15px,1.15vw,18px);line-height:1.65;color:#efe9dd;text-shadow:0 1px 20px #0009;margin:0 0 30px}
.finale-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.finale-actions .action{background:#f3d9a6;color:#1a1408;min-height:50px;padding-inline:26px}
.finale .casting-note{margin-top:38px;display:flex;gap:14px;align-items:center;font-size:12px;color:#d9d2c4}
.finale .casting-note a{color:#f3d9a6;min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px){.finale{height:150svh}.finale-copy{bottom:max(28px,env(safe-area-inset-bottom));}.finale-copy h2{font-size:clamp(2.9rem,12.5vw,4.6rem)}.finale-copy p{font-size:15px;max-width:30ch;margin-bottom:24px}.finale-actions{gap:18px}.finale .casting-note{margin-top:26px;flex-direction:column;align-items:flex-start;gap:4px}}
@media(max-width:760px) and (max-height:650px) and (orientation:portrait){.finale-copy{bottom:max(20px,env(safe-area-inset-bottom))}.finale-copy h2{font-size:clamp(2.5rem,11.5vw,3.3rem);margin-bottom:16px}.finale-copy p{font-size:14px;line-height:1.55;max-width:none;margin-bottom:18px}.finale-actions{gap:8px}.finale .casting-note{margin-top:18px}}
@media(max-height:500px) and (orientation:landscape){.finale-copy{bottom:16px}.finale-copy h2{font-size:2.8rem;margin-bottom:10px}.finale-copy p{display:none}.finale .casting-note{display:none}}

/* Prints thrown onto the camera print, inside the same stage. Flat, no 3D. */
.instrument-pile{position:absolute;inset:0;z-index:3;pointer-events:none}
.instrument-pile .vinyl{position:absolute;left:50%;top:50%;width:var(--pw,560px);height:var(--ph,683px);margin:calc(var(--ph,683px) * -.5) 0 0 calc(var(--pw,560px) * -.5);border-radius:3px;background:linear-gradient(#f5f1ea,#ebe6dc);box-shadow:0 1px 0 #fff inset,0 18px 40px rgba(0,0,0,.5);opacity:0;will-change:transform}
.instrument-pile .vinyl .label{position:absolute;left:5%;right:5%;top:5%;height:calc(var(--pw,560px) * .9);overflow:hidden;border-radius:1px;box-shadow:0 0 0 1px rgba(0,0,0,.3) inset;background:#111}
.instrument-pile .vinyl .label img{width:100%;height:100%;object-fit:cover;display:block}
.instrument-pile .vinyl .shadow,.instrument-pile .vinyl .edge{display:none}
.instrument-copy2{position:absolute;z-index:4;left:6%;top:22%;width:40%;pointer-events:none;opacity:0;will-change:transform,opacity}
.instrument-copy2 .eyebrow{display:block;margin-bottom:20px;color:#ded5c7}
.instrument-copy2 h2{font-size:clamp(50px,6.6vw,108px);line-height:.96;margin:0 0 18px}
.instrument-copy2 p{font-size:14px;line-height:1.75;color:#d5d0c7;max-width:36ch}
.instrument-copy2 a{pointer-events:auto;margin-top:18px}
@media(max-width:760px){.instrument-pile .vinyl,.instrument-vinyl{top:66%}.instrument-copy2 p{display:none}.instrument-copy2 a{margin-top:10px}.instrument-copy2{left:7%;top:12%;width:86%;text-shadow:0 2px 24px #0008}.instrument-copy2 h2{font-size:clamp(42px,10.5vw,66px)}.instrument-copy2 p{font-size:12px;max-width:30ch}.instrument-pile .vinyl,.instrument-vinyl{--pw:min(74vw,56vmin)!important;--ph:calc(min(74vw,56vmin) * 1.22)!important}}
/* the chapter gradient (was in vinyls.css) */
.film-selection{background:radial-gradient(90% 70% at var(--gx,25%) var(--gy,20%),#171a1f 0%,#0c0e11 45%,#07080a 100%)}
@media(prefers-reduced-motion:no-preference){.film-selection{animation:chapter-drift 26s ease-in-out infinite alternate}}
@keyframes chapter-drift{from{--gx:22%;--gy:18%}to{--gx:72%;--gy:62%}}
@property --gx{syntax:'<percentage>';inherits:true;initial-value:25%}
@property --gy{syntax:'<percentage>';inherits:true;initial-value:20%}
.crown-chapter{background:transparent}
/* audit 17 Oct: every text link is a 44 px target in both axes */
.footer a:not(.wordmark),.text-link,.header nav a,.mobile-nav a{min-width:44px;min-height:44px;display:inline-flex;align-items:center}

@media(orientation:portrait){.instrument-stage:after{background:linear-gradient(180deg,#080a0a,transparent 18%,transparent 90%,#080a0a)}}

/* Keep the current camera part clear of the fixed studio assistant on phones. */
@media(max-width:760px), (max-height:500px) and (orientation:landscape){.instrument-legend{bottom:calc(88px + env(safe-area-inset-bottom))}}
