/* Native CSS door transitions; no scroll locking or continuous frame loop. */
.bookshop-entry { position: relative; height: 100vh; height: 100svh; background: #241512; color: #fff8ec; }
.bookshop-entry.is-entered { display: none; }
.entry-sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: #241512; color: #fff8ec; }
.bookshop-entry.is-active .entry-sticky { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: 100%; z-index: 1000; }
.entry-interior { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.entry-doors { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.bookshop-door { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; -webkit-transform: translateX(0); transform: translateX(0); -webkit-transition: -webkit-transform 1s cubic-bezier(.6, 0, .25, 1); transition: transform 1s cubic-bezier(.6, 0, .25, 1); }
.bookshop-door img { position: absolute; top: 0; width: 200%; max-width: none; height: 100%; object-fit: fill; display: block; }
.bookshop-door--left { left: 0; }
.bookshop-door--right { right: 0; }
.bookshop-door--left img { left: 0; }
.bookshop-door--right img { right: 0; }
.bookshop-entry.is-opening .bookshop-door--left { -webkit-transform: translateX(-104%); transform: translateX(-104%); }
.bookshop-entry.is-opening .bookshop-door--right { -webkit-transform: translateX(104%); transform: translateX(104%); }
.bookshop-entry.is-motion-requested .bookshop-door { -webkit-transition: -webkit-transform 1s cubic-bezier(.6, 0, .25, 1) !important; transition: transform 1s cubic-bezier(.6, 0, .25, 1) !important; }
.bookshop-entry.is-still-opening .bookshop-door { -webkit-transition: none !important; transition: none !important; }
.entry-light { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, #130b0982, transparent 30%, #130b0930 70%, #130b09b0); pointer-events: none; }
.entry-masthead { position: absolute; top: 44%; left: 6%; right: 6%; text-align: center; -webkit-transform: translateY(-50%); transform: translateY(-50%); pointer-events: none; transition: opacity .45s; }
.entry-masthead p { margin: 0 0 18px; font: 600 14px/1.4 Arial, sans-serif; letter-spacing: .36em; color: #f4d5a7; }
.entry-masthead h1 { margin: 0; font: 400 12vw/1 Georgia, serif; font-size: clamp(64px, 12.2vw, 176px); letter-spacing: -.055em; color: #fff8ec; text-shadow: 0 3px 35px #000b; }
.entry-masthead .entry-sections { margin: 24px 0 0; font: 16px/1.6 Georgia, serif; letter-spacing: .04em; color: #fff2dc; }
.entry-skip-link { position: absolute; top: 24px; top: max(24px, env(safe-area-inset-top)); right: 5%; display: inline-flex; align-items: center; min-height: 44px; padding: 9px 17px; border: 1px solid #f4d5a780; border-radius: 3px; background: #271311a6; color: #fff8ec; font: 14px/1.4 Arial, sans-serif; z-index: 2; }
.entry-bottom { position: absolute; left: 6%; right: 6%; bottom: 30px; bottom: max(30px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 16px; transition: opacity .35s; }
.entry-enter-link { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 14px 30px; border: 1px solid #e5c190; border-radius: 3px; background: #f8e7cd; color: #421e1c; font: 600 16px/1.4 Arial, sans-serif; }
.entry-enter-link:hover { background: #fff6e7; }
.entry-skip-link:hover { background: #421e1cee; }
.entry-sticky a:focus-visible { outline: 3px solid #fff8ec; outline-offset: 6px; }
.entry-scroll-hint { margin: 0; color: #f9e6c9; font: 14px/1.5 Arial, sans-serif; text-align: center; }
.bookshop-entry.is-opening .entry-masthead, .bookshop-entry.is-opening .entry-bottom { opacity: 0; pointer-events: none; visibility: hidden; }
.bookshop-entry.is-revealing .entry-sticky { opacity: 0; pointer-events: none; transition: opacity .24s; }
.bookshop-content { position: relative; }
@media (max-width: 580px) {
 .entry-masthead { top: 42%; left: 5%; right: 5%; }
 .entry-masthead h1 { font-size: 17vw; font-size: clamp(64px, 17vw, 96px); }
 .entry-masthead .entry-sections { max-width: 23ch; margin: 22px auto 0; }
 .entry-skip-link { top: 18px; top: max(18px, env(safe-area-inset-top)); }
 .entry-bottom { bottom: 28px; bottom: max(28px, env(safe-area-inset-bottom)); gap: 14px; }
 .entry-enter-link { padding-right: 24px; padding-left: 24px; }
}
@media (max-height: 500px) and (min-width: 581px) {
 .entry-masthead { top: 40%; }
 .entry-masthead h1 { font-size: 20vh; }
 .entry-masthead p { margin-bottom: 8px; }
 .entry-masthead .entry-sections { margin-top: 12px; }
 .entry-bottom { bottom: 16px; gap: 7px; }
 .entry-enter-link { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .bookshop-door { -webkit-transition: none; transition: none; }
 .bookshop-entry.is-revealing .entry-sticky { transition: none; }
}
