.gallerybook{max-width:1100px;margin:auto;outline-offset:12px}
.gallerybook__stage{position:relative;perspective:1800px;margin:32px 0 40px;isolation:isolate;touch-action:pan-y}
.gallerybook__spread{display:grid;grid-template-columns:1fr 1fr;box-shadow:0 30px 45px -25px #30291f70,0 3px 0 #b9b09f,0 6px 0 #eee8dd,0 8px 0 #b9b09f}
.gallerybook__page{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;aspect-ratio:4/5;padding:7%;border:0;border-radius:0;background:#eee9df;color:#29291f;cursor:pointer;font-family:inherit;overflow:hidden}
.gallerybook__page--left{background:linear-gradient(90deg,#f0ebe2 88%,#d1cabc 100%)}
.gallerybook__page--right{background:linear-gradient(90deg,#d7cfc0 0%,#f6f1e7 9%,#f6f1e7 96%,#e7e0d4 100%)}
.gallerybook__page:disabled{cursor:default;opacity:1}
.gallerybook__page:focus-visible{outline:3px solid var(--c-green);outline-offset:-5px}
.gallerybook__eyebrow{font-size:clamp(7px,1vw,11px);letter-spacing:.17em;line-height:1.6;margin-bottom:7%}
.gallerybook__cover{background:linear-gradient(90deg,#242320 0%,#201f1c 90%,#11110f 100%);color:#f6f1e7}
.gallerybook__end{background:linear-gradient(90deg,#11110f 0%,#201f1c 10%,#242320 100%);color:#f6f1e7}
.gallerybook__cover-title{font-size:clamp(24px,5.8vw,76px);font-weight:700;line-height:1.02;letter-spacing:-.06em;margin-top:13%;text-transform:uppercase}
.gallerybook__jp{margin-top:8%;font-size:clamp(12px,2vw,24px);letter-spacing:.3em}
.gallerybook__photo{display:block;position:relative;flex:1;min-height:0;background:#d8d2c5;overflow:hidden}
.gallerybook__photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.gallerybook__photo .placeholder-media{background:#dad4c7;color:#918b7d}
.gallerybook__caption{font-size:clamp(9px,1.4vw,17px);padding:6% 0;line-height:1.4}
.gallerybook__folio{display:flex;justify-content:space-between;margin-top:auto;padding-top:7%;font-size:clamp(6px,.9vw,10px);letter-spacing:.12em}
.gallerybook__end .gallerybook__cover-title{color:#f6f1e7}
.gallerybook__controls{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:center}
.gallerybook__status{font-size:12px;letter-spacing:.15em;text-transform:uppercase}
.gallerybook__hint{font-size:11px;color:var(--c-text-soft);margin-top:8px}
.gallerybook__controls button:disabled{opacity:.3;cursor:default}
.gallerybook__turning{position:absolute;top:0;width:50%;height:100%;z-index:4;transform-style:preserve-3d;pointer-events:none}
.gallerybook__turning--forward{left:50%;transform-origin:left center}
.gallerybook__turning--backward{left:0;transform-origin:right center}
.gallerybook__face{position:absolute;inset:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.gallerybook__face--front{transform:rotateY(0deg)}
.gallerybook__face--back{transform:rotateY(180deg)}
@media(max-width:600px){.gallerybook__stage{margin:12px 0 28px}.gallerybook__controls .btn{padding:10px;min-width:44px}.gallerybook__controls .btn span{display:none}.gallerybook__hint{max-width:180px;font-size:10px}.gallerybook__status{font-size:10px}.gallerybook__page{aspect-ratio:3/5}.gallerybook__photo svg{width:22px}}
