.gaze-character{position:absolute;pointer-events:none;overflow:hidden;isolation:isolate;opacity:0;transition:opacity 1.8s ease;filter:saturate(.5) brightness(.76) contrast(1.25);z-index:0;--portrait:none;--portrait-ratio:.75;--gaze-x:0px;--gaze-y:0px;mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%)}.gaze-character.is-present{opacity:.88}.gaze-pose{position:absolute;inset:0;background-image:var(--portrait);background-size:200% auto;background-position-y:top;background-repeat:no-repeat;transition:opacity 1.4s ease,transform 1.8s cubic-bezier(.22,.65,.25,1)}.gaze-to-book{background-position-x:left;opacity:1;transform:translateX(-2%) rotateY(-6deg)}.gaze-to-visitor{background-position-x:right;opacity:0;transform:translateX(3%) rotateY(7deg)}.gaze-character.watching .gaze-to-book{opacity:0;transform:translateX(-5%) rotateY(-15deg)}.gaze-character.watching .gaze-to-visitor{opacity:1;transform:translate(var(--gaze-x),var(--gaze-y)) rotateY(0deg)}.gaze-shadow{position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#07110da6,transparent 32%,#07110d10 68%,#07110d55),linear-gradient(0deg,#07110d80,transparent 35%);mix-blend-mode:multiply}.case-stage>.gaze-character{width:420px;height:600px;right:-130px;top:-140px;z-index:0}.case-stage .book-reader{z-index:3}.case-stage .feature-caption{z-index:4}.case-stage .evidence-tag{top:130px;right:-10px;opacity:.6}.book-hero{position:relative;isolation:isolate;overflow:hidden}.book-hero>.gaze-character{width:490px;height:700px;right:-85px;top:-105px}.book-intro,.book-object{position:relative;z-index:2}.detail.full .book-hero{background:#181e1b;--ink:#f6eee0;color:var(--ink)}.detail.full .book-hero .breadcrumb{color:var(--ink)}.cover-link{position:relative;isolation:isolate;overflow:hidden}.cover-link>.gaze-character{width:105%;height:auto;aspect-ratio:var(--portrait-ratio,.75);right:-28%;top:-2%;z-index:0}.cover-link>img{position:relative;z-index:2}.cover-link:has(.gaze-character) img{max-width:65%;margin-left:0;transform:translateX(-13%) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(var(--lift,0px))}.home .book-card .cover-link:has(.gaze-character){background:#172922!important;min-height:430px}.detail .related .cover-link:has(.gaze-character){background:#182923!important;min-height:430px}.cover-link>.gaze-character.is-present{opacity:1;filter:saturate(.6) brightness(.92) contrast(1.2)}.cover-link>.gaze-character .gaze-shadow{background:linear-gradient(90deg,#14221a80,transparent 50%),linear-gradient(0deg,#14221a80,transparent 24%)}.gaze-character[data-character="ravenhurst"]{filter:saturate(.45) brightness(.72) contrast(1.35)}
@media(max-width:1100px){.case-stage>.gaze-character{width:360px;height:520px;right:-90px;top:-105px}.book-hero>.gaze-character{width:390px;height:570px;right:-90px;top:-75px}.home .book-card .cover-link:has(.gaze-character){min-height:400px}}@media(max-width:760px){.case-stage>.gaze-character{width:280px;height:430px;right:-55px;top:-80px}.case-stage .evidence-tag{top:130px;right:-10px}.book-hero>.gaze-character{width:310px;height:470px;right:-70px;top:auto;bottom:70px}.book-hero .book-object{width:100%}.cover-link>.gaze-character{width:112%;right:-35%;top:0}.cover-link:has(.gaze-character) img{max-width:65%}.home .book-card .cover-link:has(.gaze-character){padding-inline:24px;min-height:330px}.detail .related .cover-link:has(.gaze-character){min-height:350px}}@media(max-width:420px){.home .book-card .cover-link:has(.gaze-character){min-height:410px}}
@media(prefers-reduced-motion:reduce){.gaze-character,.gaze-pose{transition:none!important}.gaze-to-book{opacity:0;transform:none}.gaze-to-visitor{opacity:1;transform:none!important}.gaze-character.is-present{opacity:.85}}

/* The featured figure belongs to the entire scene, from its top edge to the exit link. */
.home .hero>.gaze-character{top:0;bottom:60px;right:-2%;height:calc(100% - 60px);width:auto;aspect-ratio:3/4;z-index:0;mask-image:linear-gradient(#000 0%,#000 93%,transparent);-webkit-mask-image:linear-gradient(#000 0%,#000 93%,transparent)}
.home .hero>.gaze-character .gaze-shadow{background:linear-gradient(90deg,#101d1a 0%,#101d1a55 25%,transparent 55%),linear-gradient(0deg,#101d1a70,transparent 30%)}
.home .hero>.gaze-character.is-present{opacity:.95}
.book-hero>.gaze-character{top:0;bottom:0;right:-3%;width:auto;height:100%;aspect-ratio:3/4}
.gaze-character.is-present{animation:character-breath 6s ease-in-out infinite;transform-origin:50% 100%}
.gaze-to-book{transform:translateX(-5%) rotateY(-12deg) rotate(-1deg)}
.gaze-character.watching .gaze-to-visitor{transform:translate(var(--gaze-x),var(--gaze-y)) rotateY(0deg) rotate(1deg)}
@keyframes character-breath{0%,100%{transform:translateY(0) rotate(-.7deg) scale(1)}50%{transform:translateY(-9px) rotate(.7deg) scale(1.018)}}
@media(max-width:760px){.home .hero>.gaze-character{top:0;right:-65%;bottom:100px;height:calc(100% - 100px);width:auto;opacity:.65}.home .hero>.gaze-character .gaze-shadow{background:linear-gradient(90deg,#101d1a 0%,#101d1ab3 38%,#101d1a30 70%),linear-gradient(0deg,#101d1a66,transparent)}.home .hero-copy{text-shadow:0 2px 16px #101d1a}.book-hero>.gaze-character{top:0;bottom:0;height:100%;width:auto;right:-85%;opacity:.5}}
@media(prefers-reduced-motion:reduce){.gaze-character.is-present{animation:none!important}}
@media(min-width:761px){.home .hero>.gaze-character{right:-10%}.case-stage .book-reader{transform:translateX(-45px)}}
.home .hero>.gaze-character{mask-image:linear-gradient(90deg,transparent,#000 18%),linear-gradient(#000 93%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%),linear-gradient(#000 93%,transparent);-webkit-mask-composite:source-in}
.case-stage .evidence-tag{top:auto;bottom:90px;right:-10px;opacity:.3}

/* Let each portrait emerge from the scene; keep its face above the book. */
.detail .book-hero:has(>.gaze-character){grid-template-columns:1.05fr 1fr;gap:4%;min-height:850px;align-items:center}
.detail .book-hero>.gaze-character{right:-6%;top:0;bottom:0;height:100%;width:auto;aspect-ratio:3/4;mix-blend-mode:luminosity;filter:saturate(.25) brightness(.86) contrast(1.12);mask-image:linear-gradient(90deg,transparent 0%,#000 35%,#000 82%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 22%,#000 94%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 35%,#000 82%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 22%,#000 94%,transparent 100%);-webkit-mask-composite:source-in}
.detail .book-hero>.gaze-character.is-present{opacity:.9}
.detail .book-hero>.gaze-character .gaze-shadow{background:linear-gradient(90deg,#07110d99,transparent 55%),linear-gradient(0deg,#07110d77,transparent 35%)}
.detail .book-hero:has(>.gaze-character) .book-object{align-self:end;justify-self:start;padding:265px 0 0;width:100%;max-width:none;margin:0}
.detail .book-hero:has(>.gaze-character) .book-object .book-reader{--book-width:220px;margin-left:0;margin-right:auto;margin-bottom:90px;transform:translateX(-25px)}
.detail .book-hero:has(>.gaze-character) .book-object .file-stamp{max-width:220px;text-align:center;margin:0 0 25px}
@media(min-width:761px) and (max-width:1100px){.detail .book-hero:has(>.gaze-character){grid-template-columns:1.1fr 1fr;min-height:800px}.detail .book-hero:has(>.gaze-character) .book-object .book-reader{--book-width:190px;transform:translateX(-10px)}}
@media(max-width:760px){.detail .book-hero:has(>.gaze-character){grid-template-columns:1fr;gap:10px;min-height:0}.detail .book-hero>.gaze-character{top:auto;bottom:0;height:650px;right:-105px;width:487px;aspect-ratio:auto;mask-image:linear-gradient(90deg,transparent 0%,#000 32%,#000 78%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 22%,#000 80%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 32%,#000 78%,transparent 100%),linear-gradient(0deg,transparent 0%,#000 22%,#000 80%,transparent 100%)}.detail .book-hero:has(>.gaze-character) .book-object{min-height:620px;padding:320px 0 0;justify-self:stretch}.detail .book-hero:has(>.gaze-character) .book-object .book-reader{--book-width:170px;transform:none;margin-left:0;margin-bottom:85px}.detail .book-hero:has(>.gaze-character) .book-object .file-stamp{max-width:170px;margin-bottom:0}}

.detail .book-hero:has(>.gaze-character) .book-object .book-reader{margin-bottom:30px}.detail .book-hero:has(>.gaze-character) .book-object .file-stamp{margin-top:60px}@media(max-width:760px){.detail .book-hero:has(>.gaze-character) .book-object .book-reader{margin-bottom:25px}.detail .book-hero:has(>.gaze-character) .book-object .file-stamp{margin-top:60px}}
.cover-link>.gaze-character{mix-blend-mode:luminosity;mask-image:linear-gradient(90deg,transparent,#000 30%,#000 85%,transparent),linear-gradient(0deg,transparent,#000 25%,#000 94%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%,#000 85%,transparent),linear-gradient(0deg,transparent,#000 25%,#000 94%,transparent);-webkit-mask-composite:source-in}

.detail .book-hero:has(>.gaze-character) .book-object .book-reader.is-open{transform:translateX(75px)}@media(max-width:760px){.detail .book-hero:has(>.gaze-character) .book-object .book-reader.is-open{transform:translateX(80px)}}
