/* Quack V38 – scoped adjustments */
.q38 .film-back{display:flex!important;justify-content:center!important;align-items:center!important;padding:0!important;width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:999px!important;font-family:Arial,sans-serif!important;font-size:23px!important;line-height:1!important;transform:none!important}
.q38 .film-back:hover{transform:translateX(-3px)!important}
/* Optical alignment of A; keep original Quack art uncompressed. */
.q38 .quack-poster-lockup{left:calc(50% + 17px)!important;bottom:clamp(5px,1vh,14px)!important;transform:translateX(-50%)!important}
.q38 .quack-poster-lockup>.film-logo{width:min(605px,75vw)!important;height:auto!important;max-height:61vh!important;aspect-ratio:auto!important;object-fit:contain!important;position:relative!important;top:clamp(16px,2.4vh,32px)!important}
.q38 .film-hero-footer{position:relative!important;top:clamp(-28px,-2vh,-13px)!important}
.q38 .film-hero-details{gap:4px!important}
.q38 .film-role-under-logo{font-size:clamp(14px,1.25vw,19px)!important;line-height:1.25!important}
.q38 .film-meta{display:flex!important;align-items:baseline!important;justify-content:center!important;flex-wrap:wrap!important;gap:clamp(8px,1.6vw,23px)!important;margin:0!important;font-size:clamp(11px,1.07vw,16px)!important;line-height:1.4!important}
.q38 .film-meta>*{font-size:inherit!important;font-weight:400!important;line-height:1.4!important;letter-spacing:.02em!important;margin:0!important}
.q38 .film-hero-vignette{background:linear-gradient(90deg,#07020305 0%,#07020300 57%,rgba(12,4,5,.12) 86%,rgba(7,2,3,.24) 100%),linear-gradient(180deg,transparent 8%,rgba(6,1,2,.02) 45%,rgba(6,1,2,.31) 69%,rgba(6,1,2,.88) 94%,#060203 100%)!important}
/* Quotation – white words consistent, only red meaning words larger; no image silhouettes. */
.q38 .statement{background:linear-gradient(180deg,#020101 0%,#020101 54%,#0e0505 77%,#210c0a 100%)!important;min-height:100svh!important;padding-bottom:clamp(80px,10vh,145px)!important}
.q38 .v33-quote-line,.q38 .v33-second{font-size:clamp(22px,3.2vw,51px)!important;letter-spacing:-.04em!important;line-height:1.4!important;align-items:baseline!important}
.q38 .v33-quote-piece:not(.v33-focus){font-weight:320!important;font-size:1em!important;color:#f3eeeb!important}
.q38 .v33-focus{font-size:1.43em!important;font-weight:690!important;color:#793432!important;isolation:isolate!important;mix-blend-mode:normal!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;-webkit-text-stroke:0!important}
.q38 .v33-focus:hover,.q38 .v33-focus:focus-visible{color:#a04a42!important;filter:none!important;scale:1.04!important}
.q38 .v33-quote-piece{overflow:visible!important;clip-path:none!important;mask:none!important;-webkit-mask:none!important}
/* Black-to-wine red blends into the full story background, no hard band. */
.q38 .story-section{background:linear-gradient(180deg,#210c0a 0%,#32130e 45%,#391610 100%)!important;overflow:visible!important;isolation:isolate!important}
.q38 .story-image,.q38 .story-contents{opacity:0!important;transform:translateY(60px) scale(.985)!important;filter:blur(9px)!important;transition:opacity .95s cubic-bezier(.19,.75,.25,1),transform 1.15s cubic-bezier(.19,.75,.25,1),filter 1s ease!important;will-change:auto}
.q38 .story-contents{transition-delay:.12s!important}
.q38 .story-section.v38-visible .story-image,.q38 .story-section.v38-visible .story-contents{opacity:1!important;transform:translateY(0) scale(1)!important;filter:blur(0)!important}
/* Stills: single shared 6px border at internal edges, no double outlines or gaps. */
.q38 .film-stills .q19-film-grid{gap:0!important;row-gap:0!important;column-gap:0!important;border-top:6px solid #080303!important;border-left:6px solid #080303!important;overflow:hidden!important}
.q38 .film-stills .q19-shot,.q38 .film-stills .q19-shot:nth-child(n){border:0!important;border-right:6px solid #080303!important;border-bottom:6px solid #080303!important;box-shadow:none!important;outline:none!important;overflow:hidden!important;cursor:zoom-in!important;filter:none!important;border-radius:0!important;aspect-ratio:2.35!important}
.q38 .film-stills .q19-shot img{width:100%!important;height:100%!important;object-fit:cover!important;filter:brightness(.94) saturate(.9)!important;transition:filter .55s ease!important;transform:none!important}
.q38 .film-stills .q19-shot:hover img{filter:brightness(1.08) saturate(1)!important;transform:none!important}
.q38 .film-stills .q19-shot.q25-rise{transition:opacity .85s cubic-bezier(.17,.8,.2,1),translate .9s cubic-bezier(.17,.8,.2,1)!important}
/* Laurels retain original image with no additional stroke or holder. */
.q38 .quack-awards-content,.q38 .quack-awards-laurels,.q38 .quack-awards-laurels img{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;mix-blend-mode:normal!important;filter:none!important}
/* Scroll driven paper book: one self-contained fixed stage, cover closed on entry. */
.q38 .production{overflow:visible!important;padding:90px 0 0!important;contain:none!important}
.q38 .production>.section-head{margin-bottom:0!important}
.q38 .q38-book-walk{position:relative;height:600vh;min-height:1800px;isolation:isolate}
.q38 .q38-book-stage{position:sticky;top:0;height:100vh;height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(15px,2.2vh,25px);box-sizing:border-box;padding:clamp(55px,7vh,80px) 18px clamp(35px,6vh,60px);overflow:hidden}
.q38 .q38-book-chapters{width:min(1040px,94vw);display:flex;gap:clamp(18px,3vw,46px);align-items:center;justify-content:flex-start;flex:none;margin-bottom:4px;}
.q38 .q38-book-chapter{font-family:inherit;color:#d7b7b4a1;font-size:clamp(16px,1.7vw,25px);line-height:1.4;letter-spacing:.04em;cursor:pointer;padding:8px 3px 11px;border:0;border-bottom:2px solid transparent;background:none;position:relative;transition:color .46s ease,border-color .4s ease,transform .4s ease!important}
.q38 .q38-book-chapter.is-active{color:#faf0eb;border-color:#c78880;transform:translateY(-2px)}
.q38 .q38-book-object{position:relative;width:min(1040px,94vw);height:min(64vh,650px);min-height:300px;max-height:640px;flex:none;perspective:2800px;transition:width .78s cubic-bezier(.18,.82,.17,1);user-select:none;-webkit-user-select:none;touch-action:pan-y;cursor:grab}
.q38 .q38-book-object.is-closed{width:min(455px,72vw);cursor:default}
.q38 .q38-book-object.is-dragging{cursor:grabbing}
.q38 .q38-book-spread{position:absolute;inset:0;display:block;box-shadow:0 24px 58px rgba(0,0,0,.49),0 50px 90px rgba(0,0,0,.23);border:2px solid #3b2522;background:#e7dfd3;perspective:2700px;opacity:1;transition:opacity .4s ease;overflow:visible}
.q38 .q38-book-object.is-closed .q38-book-spread{opacity:0;pointer-events:none}
.q38 .q38-book-page{position:absolute;top:0;bottom:0;width:50%;box-sizing:border-box;background:#f5f0e7;border:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.q38 .q38-book-left{left:0;border-right:1px solid #a99b88;background:linear-gradient(90deg,#eee4d6,#fbf6ec 95%)}
.q38 .q38-book-right{right:0;border-left:1px solid #a99b88;background:linear-gradient(90deg,#efe7da,#f9f4ec 94%)}
.q38 .q38-page-media{height:100%;width:100%;box-sizing:border-box;display:grid;grid-template-rows:1fr;gap:clamp(7px,1vh,10px);padding:clamp(12px,1.3vw,20px);align-items:stretch}
.q38 .q38-page-media.is-double{grid-template-rows:repeat(2,minmax(0,1fr));}
.q38 .q38-page-media img{display:block;max-width:100%;min-width:0;min-height:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none;user-select:none}
.q38 .q38-page-turn{position:absolute;top:0;bottom:0;right:0;width:50%;transform-origin:left center;transform-style:preserve-3d;z-index:4;will-change:transform;pointer-events:none}
.q38 .q38-page-turn>.q38-book-page{inset:0;width:100%;height:100%;border:0;}
.q38 .q38-turn-front{transform:rotateY(0deg);background:linear-gradient(90deg,#efe6d9,#faf6ed)}
.q38 .q38-turn-back{transform:rotateY(180deg);background:linear-gradient(90deg,#eee2d2,#faf6ed)}
.q38 .q38-book-spine{position:absolute;top:0;bottom:0;left:calc(50% - 10px);width:20px;pointer-events:none;z-index:5;background:linear-gradient(90deg,transparent,#34261b1c 45%,#fff8f037 53%,transparent)}
.q38 .q38-book-cover{position:absolute;inset:0;z-index:9;background:#2a090a;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(16px,2vw,28px);border:1px solid #451d1b;box-shadow:0 25px 70px rgba(0,0,0,.55);transform-origin:left center;transition:opacity .46s ease,transform .78s cubic-bezier(.18,.82,.17,1),visibility .5s;}
.q38 .q38-book-object:not(.is-closed) .q38-book-cover{opacity:0;transform:rotateY(-105deg);visibility:hidden;pointer-events:none}
.q38 .q38-book-cover-photo,.q38 .q38-book-cover-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.q38 .q38-book-cover-photo{filter:brightness(.38) saturate(.78)}
.q38 .q38-book-cover-shade{background:linear-gradient(180deg,#25050685,#1c07073a 42%,#0c0303ed)}
.q38 .q38-book-cover-logo{position:relative;width:86%;max-height:40%;height:auto;object-fit:contain;filter:drop-shadow(0 6px 14px #08020288)}
.q38 .q38-book-cover-caption{position:relative;color:#fff3ef;font-size:clamp(20px,2.2vw,29px);letter-spacing:.16em;display:flex;flex-direction:column;align-items:center;gap:12px}
.q38 .q38-book-cover-caption small{font-size:13px;color:#dcb7b1;letter-spacing:.2em}
/* Crew without all-category opacity toggling prevents the entrance flicker. */
.q38 .credits{padding-block:clamp(130px,12vw,190px) clamp(205px,17vw,285px)!important}
.q38 .credits .c-item dt{white-space:nowrap!important;overflow-wrap:normal!important;word-break:keep-all!important}
.q38 .credits .c-item{grid-template-columns:minmax(87px,.94fr) minmax(0,1.4fr)!important}
.q38 .credits .c-item,.q38 .credits.v33-credit-ready .c-item{opacity:1!important;filter:none!important;transform:none!important;transition:none!important;}
.q38 .credits .credit-column{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
.q38 .credits .credit-column.v38-entered{animation:q38Crew .85s cubic-bezier(.17,.8,.2,1) both!important}
@keyframes q38Crew{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
/* Original logo appears in next project. */
.q38 .next-film[href="reincarnate.html"] strong{display:flex!important;justify-content:center;align-items:center!important;min-height:80px!important}
.q38 .q38-rebirth-logo{width:clamp(120px,15vw,205px)!important;height:clamp(115px,13vw,175px)!important;max-width:100%!important;object-fit:contain!important;filter:drop-shadow(0 5px 11px #0006)!important}
@media(max-width:720px){
 .q38 .quack-poster-lockup{left:calc(50% + 6px)!important;bottom:10px!important}
 .q38 .quack-poster-lockup>.film-logo{top:15px!important;width:min(420px,81vw)!important}
 .q38 .film-meta{gap:3px 8px!important;font-size:10px!important;line-height:1.35!important}
 .q38 .film-role-under-logo{font-size:13px!important}
 .q38 .v33-quote-line,.q38 .v33-second{font-size:clamp(16px,4.6vw,26px)!important;white-space:nowrap!important;gap:0!important}
 .q38 .v33-focus{font-size:1.31em!important}
 .q38 .q38-book-object{width:min(490px,91vw)!important;height:min(58vh,510px);min-height:315px}
 .q38 .q38-book-object.is-closed{width:min(310px,73vw)!important}
 .q38 .q38-book-left,.q38 .q38-book-spine,.q38 .q38-page-turn{display:none!important}
 .q38 .q38-book-right{left:0;right:0;width:100%}
 .q38 .q38-book-stage{padding:70px 11px 37px}
 .q38 .q38-book-chapters{width:95%;gap:17px}
 .q38 .q38-book-chapter{font-size:clamp(13px,3.7vw,17px);}
 .q38 .credits .c-item dt{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.q38 .q38-book-object,.q38 .q38-book-cover{transition:none!important}.q38 .story-image,.q38 .story-contents{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}.q38 .credits .credit-column.v38-entered{animation:none!important}}
/* V38 final polish: no last-moment opacity reset, just one steady column entrance. */
.q38 .credits.q38-crew-ready .credit-column{opacity:0!important;transform:translateY(26px)!important;filter:none!important;transition:opacity .86s cubic-bezier(.18,.78,.25,1),transform .95s cubic-bezier(.18,.78,.25,1)!important;animation:none!important}
.q38 .credits.q38-crew-ready .credit-column.v38-entered{opacity:1!important;transform:translateY(0)!important;filter:none!important;animation:none!important}
.q38 .quack-awards-laurels img{mix-blend-mode:screen!important}

/* Keep long assistant-credit names on one line where desktop width allows. */
@media(min-width:901px){.q38 .credits .c-item.v38-no-wrap dd{white-space:nowrap!important;overflow:visible!important;font-size:clamp(10px,.88vw,12px)!important;letter-spacing:-.035em!important}}
