/* The original photographic scenes, with only the book face updated.
   The supplied cover remains an unchanged image; one projective transform
   places it on the physical book. The whole scene shares the existing motion. */
.book78-scene{position:relative;display:block;width:100%;aspect-ratio:var(--book78-aspect);overflow:hidden;border-radius:20px;box-shadow:0 24px 60px -30px rgba(46,40,24,.5);background:var(--cream,#fbf6ee);isolation:isolate}
.book78-scene>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;animation:none!important;transition:none!important;transform:none!important;object-fit:contain!important;object-position:center!important;-webkit-mask:none!important;mask:none!important}
.book78-scene>.book78-base{opacity:0!important}
.book78-scene>.book78-cover{opacity:1!important;pointer-events:none;transform-origin:0 0}
.book78-scene[data-book78-ready]>.book78-base{opacity:1!important}
.book78-scene[data-book78-ready]>.book78-cover{width:1600px!important;height:2560px!important;object-fit:fill!important;transform:var(--book78-matrix)!important;backface-visibility:hidden}
.home-hero .hero-media>.book78-scene{border:1px solid #E8D7C0;border-radius:24px;box-shadow:0 26px 56px -30px #71543C77}
.home-story--book .story-visual>.book78-scene{max-height:350px;box-shadow:0 18px 35px -28px #70503480}
/* Existing native type and spacing, with only the book identity changed. */
.book78-byline{font:500 .84rem/1.7 var(--body);color:var(--muted);margin:5px 0 18px}
.home-story--book .script-lg{margin:14px 0 3px;font-size:1.16rem}
.home-story--book .book78-byline{font-size:.8rem;margin:2px 0 16px}
.home-story--book .book78-introduction{font:400 1.1rem/1.6 var(--display);color:var(--forest);margin:15px 0 12px}
.book78-description{font:400 .94rem/1.85 var(--body);color:var(--muted);max-width:46ch;margin:0 0 20px}
.book78-edition{font:400 .76rem/1.8 var(--body);color:var(--muted);max-width:58ch;margin-top:14px}
.hero[data-ambient="book"] .stores{margin-top:12px}
/* Reuse the site's original scroll-driven drift on the complete photograph. */
@supports(animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  .hero-media>.book78-scene{animation:drift linear both;animation-timeline:view();animation-range:entry 0% cover 60%}
 }
}
@media(max-width:620px){
 .home-hero .hero-media>.book78-scene{border-radius:18px;box-shadow:0 20px 36px -26px #71543C88}
 .home-story--book .story-visual>.book78-scene{max-height:248px;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){.hero-media>.book78-scene{animation:none!important;transform:none!important}}
