/* Keep every pixel of the approved file; trim letterbox space, never the scene. */
.image-preserve .scene{--scene-limit:clamp(180px,30dvh,320px);--scene-pad:10px;--caption-space:0px;--image-factor:1;box-sizing:border-box;height:auto!important;min-height:0!important;max-height:none!important;flex:none;display:flex;align-items:center;justify-content:flex-start;padding:var(--scene-pad)!important;border:1px solid #b4935e33;background:#f5f3ed;overflow:visible}
.image-preserve .scene:is([data-scene="principles"],[data-scene="quality"],[data-scene="vision"]){--scene-pad:clamp(13px,4.14vw,18.4px)}
.image-preserve .scene:has(figcaption){--caption-space:40px}
.image-preserve .customers-page .scene{--scene-limit:clamp(170px,27dvh,245px)}
.image-preserve .cover .scene{--scene-pad:0px;border:0;background:transparent}
.image-preserve .book-page .scene .chapter-image{flex:none!important;display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc((var(--scene-limit) - 2 * var(--scene-pad) - var(--caption-space) - 2px) * var(--image-factor))!important;object-fit:contain!important;object-position:50% 50%!important;margin:0!important;transform:none;clip-path:none}
.image-preserve .scene figcaption{align-self:stretch;flex:none;position:static}
.image-preserve .book-page[data-image-scale="90"] .scene{--image-factor:.9}
/* Compress spacing only after a whole-scene 10% image reduction is insufficient. */
.image-preserve .book-page[data-image-spacing="compact"] h1{margin-bottom:12.88px}
.image-preserve .book-page[data-image-spacing="compact"] .scene{margin-bottom:12.88px}
.image-preserve .book-page[data-image-spacing="compact"] .copy,.image-preserve .book-page[data-image-spacing="compact"] .facts{gap:9.2px}
.image-preserve .book-page[data-image-spacing="compact"] .fact{padding-top:9.2px;padding-bottom:9.2px}
.image-preserve .book-page[data-image-spacing="compact"] .steps{gap:11.04px}
@media(max-height:640px){
 .image-preserve .scene{--scene-limit:180px}
 .image-preserve .cover .scene{--scene-limit:160px}
 .image-preserve .customers-page .scene{--scene-limit:170px}
 .image-preserve .source-13 .scene{--scene-limit:160px}
 .image-preserve .book-page[data-image-spacing="compact"] h1{margin-bottom:9.2px}
 .image-preserve .book-page[data-image-spacing="compact"] .scene{margin-bottom:9.2px}
 .image-preserve .book-page[data-image-spacing="compact"] .copy,.image-preserve .book-page[data-image-spacing="compact"] .facts{gap:7.36px}
 .image-preserve .book-page[data-image-spacing="compact"] .fact{padding-top:7.36px;padding-bottom:7.36px}
 .image-preserve .book-page[data-image-spacing="compact"] .steps{gap:8.28px}
}
