/* Velvet theatre, drawn locally with CSS/SVG. */
.theatre{padding-inline:8px;border-color:#6d5035;background:#100c0a;box-shadow:0 30px 90px #0008,0 0 0 3px #1f1710,inset 0 0 0 1px #b18e4c22}
.theatre .film-edge{height:9px;margin:0;background:linear-gradient(0deg,#100b06,#b394582b,#24190b);opacity:1}
.theatre .screen{aspect-ratio:16/9;isolation:isolate;background:radial-gradient(ellipse at 50% 36%,#483326 0%,#1b1612 42%,#080808 80%);touch-action:pan-y}
.stage-lights{position:absolute;inset:0;background:conic-gradient(from 148deg at 20% -10%,transparent 0deg,#f5d8a312 10deg,transparent 40deg),conic-gradient(from 169deg at 80% -10%,transparent 0deg,#f8d19313 13deg,transparent 42deg);opacity:0;transition:opacity 2.5s 1s;pointer-events:none}
.stage-lights::after{content:'';position:absolute;height:28%;bottom:0;width:100%;background:radial-gradient(ellipse at 50% 100%,#bb925c24,transparent 65%);border-bottom:1px solid #ab80404a}
.show-open .stage-lights{opacity:1}
.photo-carousel{position:absolute;inset:5% 0 9%;perspective:1100px;perspective-origin:50% 48%;transform-style:preserve-3d}
.carousel-card{position:absolute;left:50%;top:51%;width:61%;height:79%;padding:6px;background:#0b0a09;border:1px solid #c59c5c70;box-shadow:0 15px 40px #000b,inset 0 0 0 2px #4a3825;transform:translate3d(calc(-50% + var(--x)),-50%,var(--z)) rotateY(var(--angle)) scale(var(--scale));transition:transform 1.35s cubic-bezier(.22,.68,.13,1),opacity 1.1s,border-color .5s;backface-visibility:hidden;-webkit-backface-visibility:hidden;outline-offset:4px;user-select:none}
.carousel-card img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.carousel-card.is-current{border-color:#c2a06e}
.carousel-card::after{content:'';position:absolute;top:calc(100% + 12px);left:0;width:100%;height:45%;background-image:var(--photo);background-size:cover;background-position:bottom;transform:scaleY(-1);opacity:.16;mask-image:linear-gradient(0deg,#000,transparent 85%);pointer-events:none}
.theatre .screen-shade{z-index:22;box-shadow:inset 0 0 70px #0006;background:linear-gradient(0deg,#090705dd,transparent 20%,transparent 87%,#0008)}
.theatre .screen-label{z-index:23;top:17%;left:10%;font-size:10px;opacity:0;transition:opacity 1s 1.8s}
.theatre .slide-caption{z-index:23;left:10%;right:10%;bottom:6%;opacity:0;transition:opacity 1s 1.8s}
.theatre .slide-caption p{font-size:15px}
.theatre .slide-progress{z-index:40}
.show-open .screen-label,.show-open .slide-caption{opacity:1}
.curtain{position:absolute;z-index:30;top:0;bottom:0;width:50.4%;background-color:#460c21;background-image:linear-gradient(0deg,#180009aa 0%,transparent 28%,#08000355 100%),repeating-linear-gradient(90deg,#21020e 0%,#571329 3%,#77283f 6%,#5b172e 9%,#300616 12%,#19020b 14%,#5d1a30 17%,#8e3549 20%,#571229 23%,#21020e 26%);box-shadow:inset 0 12px 30px #0009,0 12px 30px #000b;transition:transform 2.3s cubic-bezier(.6,0,.22,1);pointer-events:none}
.curtain::before{content:'';position:absolute;inset:0;opacity:.25;background:repeating-linear-gradient(0deg,#fff1 0 1px,transparent 1px 3px),linear-gradient(120deg,transparent 20%,#c46b681c 50%,transparent 70%)}
.curtain::after{content:'';position:absolute;left:0;right:0;bottom:0;height:12px;border-top:3px solid #bc9256;background:repeating-linear-gradient(90deg,#6f4826 0 2px,#cfad68 2px 3px,#805a32 3px 5px);box-shadow:0 -2px 5px #17070a}
.curtain-left{left:0;transform-origin:left top;border-right:2px solid #2a0714}
.curtain-right{right:0;transform-origin:right top;border-left:2px solid #7c304044}
.show-open .curtain-left{transform:translateX(-2%) scaleX(.145)}
.show-open .curtain-right{transform:translateX(2%) scaleX(.145)}
.curtain-valance{position:absolute;z-index:32;left:0;top:-1px;width:100%;height:18%;filter:drop-shadow(0 10px 7px #0009);pointer-events:none}
.show-intro{position:absolute;z-index:35;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7% 20px 0;text-align:center;background:radial-gradient(ellipse,#1b000340,transparent 70%);transition:opacity .5s .8s,visibility 0s .8s}
.show-intro .eyebrow{font-size:11px;letter-spacing:3px;color:#e4c69b;text-shadow:0 2px 5px #100006}
.intro-title{font:clamp(40px,6vw,82px)/1.3 Skiniko,Georgia,serif;color:#f0d7b0;margin:8px 0 25px;text-shadow:0 4px 8px #18020d}
.show-start{display:flex;align-items:center;justify-content:center;gap:10px;background:#170b0bd9;border:1px solid #ceaa70;padding:13px 22px;color:#f4dfba;box-shadow:0 6px 25px #19000880,inset 0 0 0 3px #cba66c16;font-size:16px}
.show-start:hover{color:#fff2d7;background:#320e1a;box-shadow:0 0 30px #deaf7030}
.show-start svg{width:19px}
.intro-note{font-size:13px;color:#ddbec3;margin:18px 0 0;max-width:350px;line-height:1.7}
.show-open .show-intro{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s,visibility 0s .4s}
.theatre:not(.show-open) .thumbnail-strip{opacity:.35}
.theatre .cinema-controls{gap:5px}
.theatre .slideshow-note{font-size:13px}
.theatre .view-controls{gap:3px}
.theatre .text-button{padding-inline:9px}
.gentle-motion .curtain,.gentle-motion .carousel-card{transition-duration:.15s}
.gentle-motion .stage-lights,.gentle-motion .screen-label,.gentle-motion .slide-caption,.gentle-motion .show-intro{transition-delay:0s;transition-duration:.15s}
.theatre:fullscreen .screen{aspect-ratio:auto}
.theatre:fullscreen .photo-carousel{perspective:1500px}
.theatre:fullscreen .carousel-card{width:min(61%,100vh)}
@media(max-width:950px){.theatre .slideshow-note{display:none}}
@media(max-width:760px){
  .theatre{padding-inline:4px}.theatre .screen{aspect-ratio:1/1}.photo-carousel{perspective:700px;inset:7% 0 6%}
  .carousel-card{width:74%;height:66%;top:49%;padding:3px}.curtain-valance{height:16%}
  .show-open .curtain-left{transform:translateX(-3%) scaleX(.1)}.show-open .curtain-right{transform:translateX(3%) scaleX(.1)}
  .show-intro{padding-top:10%}.show-intro .eyebrow{font-size:9px;letter-spacing:2px}.intro-title{font-size:49px;margin:8px 0 23px}
  .show-start{font-size:14px;padding:12px 15px;gap:7px}.intro-note{font-size:12px;max-width:245px}
  .theatre .screen-label{top:18%;left:8%;font-size:8px;letter-spacing:1.5px}.theatre .slide-caption{left:8%;right:8%;bottom:7%}
  .theatre .slide-caption p{font-size:12px;max-width:70%}.theatre .cinema-controls{flex-wrap:wrap;padding:6px 2px}
  .theatre .text-button{font-size:10px;padding-inline:5px}.theatre .icon-button{width:30px;height:34px;padding:6px}
  .theatre .view-controls{gap:0}.theatre .slide-transport{gap:0}
}
@media(max-width:370px){.theatre .cinema-controls{justify-content:center}.theatre .slide-transport{flex:0 0 100%;justify-content:center}.intro-title{font-size:42px;margin-bottom:15px}.intro-note{font-size:11px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.theatre *,.theatre *::before,.theatre *::after{transition-duration:.01ms!important;transition-delay:0s!important}}

/* Reflections must not create a scroll container inside the stage. */
.theatre .screen{overflow:clip;overflow-anchor:none}
/* Full-viewport fallback for embedded browsers that decline native fullscreen. */
body.theatre-expanded{overflow:hidden}
.theatre.is-expanded{position:fixed;inset:0;z-index:60;width:100%;height:100dvh;margin:0;padding:10px 3vw;display:flex;flex-direction:column}
.theatre.is-expanded .screen{flex:1;aspect-ratio:auto;min-height:0}
.theatre.is-expanded .film-edge,.theatre.is-expanded .cinema-controls,.theatre.is-expanded .thumbnail-strip{flex-shrink:0}
.theatre.is-expanded .thumbnail-strip{justify-content:safe center}
.theatre.is-expanded .carousel-card{width:min(70%,100vh)}
