/* An architectural folio: intact images, a single turning sheet, editorial navigation. */
.bio-folio{position:relative;isolation:isolate;perspective:1500px;background:#d7cbbb;touch-action:pan-y pinch-zoom}
.bio-folio>img{transform:none!important;object-position:center!important}
.bio-folio-leaf,.bio-under{position:absolute;inset:0;pointer-events:none}
.bio-folio-leaf{z-index:3;transform-origin:0 50%;transform-style:preserve-3d;will-change:transform}
.bio-folio-leaf-front,.bio-folio-leaf-back{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.bio-folio-leaf-front{background-size:cover;background-position:center;box-shadow:1px 0 2px #22232133}
.bio-folio-leaf-front:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#17261e44,transparent 8%,transparent 60%,#fff3);opacity:var(--fold-shade,0)}
.bio-folio-leaf-back{transform:rotateY(180deg);background:linear-gradient(90deg,#d5c5af,#f3e8d7 12%,#e6d8c4 85%,#c1b29c);box-shadow:10px 8px 30px #1a211b30}
.bio-under{width:100%;height:100%;object-fit:cover;z-index:1;transform:none!important}
.bio-folio:after{content:'';position:absolute;z-index:4;inset:0;box-shadow:inset 1px 0 0 #fff3;pointer-events:none}
.bio-folio-active .book-visual{padding-bottom:0}
.bio-folio-active .book-photo{height:clamp(390px,37vw,560px);min-height:0;max-height:none}
.bio-folio-active .book-visual:after{display:none}
.bio-folio-active .book-visual:before{width:54px;height:54px}
.bio-folio-active .book-visual figcaption{padding:11px 0 0;font-size:8px;gap:12px}
.bio-photo-next{position:absolute;z-index:6;right:18px;bottom:18px;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #ffffff8c;border-radius:50%;color:#fff;background:#18272170;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 12px #00000015;cursor:pointer;transition:background .2s,border-color .2s}
.bio-photo-next:hover{background:#182721ba;border-color:#fff}
.bio-photo-next:focus-visible{outline:2px solid #fff;outline-offset:4px;background:#182721ba}
@media(max-width:760px){.bio-folio-active .book-photo{height:auto;aspect-ratio:1.1;min-height:0}.bio-folio-active .book-visual{padding-right:10px}.bio-folio-active .book-visual:before{width:34px;height:34px}.bio-folio-active .book-visual figcaption span{font-size:8px}.bio-folio-active .book-intro{margin-top:28px}.bio-photo-next{right:12px;bottom:12px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.bio-folio-leaf{display:none}.bio-photo-next{transition:none}}
