/* Only the temporary paper leaf moves; its owner keeps the book and desk fixed. */
.catalogue-page-turn{position:absolute;inset:0;width:1586px;height:992px;z-index:12;pointer-events:none!important;perspective:12000px;perspective-origin:793px 497px;isolation:isolate}
.catalogue-page-turn *{pointer-events:none!important;user-select:none!important;-webkit-user-select:none!important}
.catalogue-page-turn .turn-stationary{position:absolute;inset:0;z-index:0}
.turn-leaf{position:absolute;inset:0;width:1586px;height:992px;z-index:2;transform-origin:793px 132px;transform-style:preserve-3d;will-change:transform}
.turn-face{position:absolute;inset:0;width:1586px;height:992px;transform-origin:793px 132px;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d}
.turn-face>.paper-layer{position:absolute;inset:0;width:1586px;height:992px;pointer-events:none!important}
.turn-face--edge{filter:brightness(.78)}
.catalogue-page-turn--mobile{width:100%;height:100%;perspective:none;isolation:isolate}
.turn-native-window{position:absolute;inset:86px 10px 94px;overflow:hidden;contain:paint;background:#f1eee6;pointer-events:none!important}
.turn-native-page{position:absolute;inset:0;width:100%;height:100%;will-change:transform}
.turn-native-page--new{box-shadow:-8px 0 14px #00000024}
.catalogue-page-turn--mobile .turn-native-page>.paper-layer{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;clip-path:none!important;pointer-events:none!important}
@media(prefers-reduced-motion:reduce){.catalogue-page-turn{display:none}}

/* Connected side walls give the page a solid edge even when edge-on. */
.turn-edge-wall{position:absolute;left:0;top:0;transform-origin:0 0;transform-style:preserve-3d;backface-visibility:visible;background:linear-gradient(to bottom,#fffbed 0 13%,#c9b995 13% 28%,#e8ddc7 28% 68%,#b6a383 68% 86%,#6c5b41 86% 100%);pointer-events:none}
.turn-contact-shadow{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,transparent 10%,#302716 49%,transparent 94%);mix-blend-mode:multiply;opacity:0;will-change:opacity}
.turn-contact-shadow--left{clip-path:var(--paper-left-clip)}
.turn-contact-shadow--right{clip-path:var(--paper-right-clip)}

/* Native reading keeps one fixed panel and turns a solid, two-sided hard card. */
.turn-native-window{perspective:1400px;perspective-origin:50% 50%;background:#e2dbcd}
.turn-native-leaf{position:absolute;inset:0;transform-style:preserve-3d;transform-origin:50% 50%;will-change:transform}
.turn-native-page{backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d}
.turn-native-page--new{box-shadow:none}

/* Lighting follows the page face and changes opacity only. */
.turn-face-material{position:absolute;inset:0;width:1586px;height:992px;overflow:visible;pointer-events:none}
.turn-face-material>path:first-child{will-change:opacity}
.turn-contact-shadow{clip-path:polygon(132px 132px,1454px 132px,1506px 862px,80px 862px);will-change:opacity}
