#main{overflow:clip;container-type:size;min-height:230px}
.scene{position:absolute;z-index:-2;pointer-events:none;width:max(100cqw,177.77778cqh);aspect-ratio:16/9;left:50%;top:50%;transform:translate(-50%,-50%)}
.scene .backdrop,.scene .backdrop img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:0}
.doors{position:absolute;z-index:1;left:53.45%;top:4.8%;width:36.6%;height:85.2%;overflow:hidden;display:none}
.leaf{position:absolute;inset:0 auto 0 0;width:50%;background:linear-gradient(94deg,#5d4838 0%,#a58c68 14%,#b49b77 23%,#806851 51%,#8d7459 80%,#66523e);border-right:1px solid #3d3025;box-shadow:inset 0 3px 6px #322419aa,inset 0 -2px 3px #4b3d2a}
.leaf.right{left:50%;background:linear-gradient(92deg,#896f53,#b49b78 31%,#a58a68 48%,#7f654b 79%,#5b4838);border-left:1px solid #cfb793}.leaf:before{content:'';position:absolute;inset:0;background:url('/lobby/bronze-grain.webp');opacity:.26;mix-blend-mode:soft-light}
.replay{position:absolute;right:14px;bottom:10px;min-height:44px;padding:8px 12px;color:#fff8ed;background:#271b27dc;border:1px solid #d2bc9666;cursor:pointer}
@media(max-width:650px) and (orientation:portrait){.scene{transform:translate(-71.6%,-50%)}.replay{bottom:auto;top:8px}}
@media(prefers-reduced-motion:no-preference){
 .arriving .doors{display:block}.arriving .first-line,.arriving .second-line,.arriving .welcome p,.arriving .actions{opacity:0}.arriving .replay{visibility:hidden}
 .running .left{animation:leftdoor 1.85s cubic-bezier(.48,.01,.24,1) both}.running .right{animation:rightdoor 1.85s cubic-bezier(.48,.01,.24,1) both}
 .arriving.running .first-line{animation:from-cab 2s cubic-bezier(.28,.02,.22,1) both;transform-origin:center center}
 @keyframes leftdoor{0%,17%{transform:none}to{transform:translateX(-101%)}}
 @keyframes rightdoor{0%,17%{transform:none}to{transform:translateX(101%)}}
 @keyframes from-cab{0%,30%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.13)}43%{opacity:.96;transform:translate(var(--dx),var(--dy)) scale(.17)}100%{opacity:1;transform:none}}
}
@media(max-height:500px){#main{min-height:220px}}
.welcome h1{font-size:clamp(40px,min(5.1vw,9vh),76px);line-height:1.04}.first-line,.second-line{display:block;width:fit-content;text-wrap:balance}
@media(prefers-reduced-motion:no-preference){.arriving.running .second-line{animation:settle .52s 2.04s ease-out both}.arriving.running .welcome p,.arriving.running .actions{animation:settle .42s 2.55s ease-out both}@keyframes settle{from{opacity:0}to{opacity:1}}}
@media(max-width:730px){.welcome h1{font-size:clamp(32px,8.2vw,54px)}}
.scene .doors .leaf{background:#a6a5a6 url('/lobby/amber-bronze.webp') left center / 200% 100% no-repeat;border:0;box-shadow:inset 0 3px 5px #18171b70,inset -1px 0 #393739,inset -2px 0 #dedbd3,inset 0 -2px #504a47}
.scene .doors .leaf.right{background-position:right center;box-shadow:inset 0 3px 5px #18171b70,inset 1px 0 #454347,inset 2px 0 #e3ded4,inset 0 -2px #504a47}
.scene .doors .leaf:before{content:none}
@media(prefers-reduced-motion:no-preference){.running .doors .leaf{animation-name:leftdoor,steel-left;animation-duration:1.85s;animation-fill-mode:both}.running .doors .leaf.right{animation-name:rightdoor,steel-right}
@keyframes steel-left{0%,17%{background-position:0% center}100%{background-position:12% center}}
@keyframes steel-right{0%,17%{background-position:100% center}100%{background-position:88% center}}}
.scene .doors .leaf{background-size:300% 100%;background-position:25% center;box-shadow:inset -1px 0 #28292d,inset -2px 0 #f3f3eb,inset 0 2px 4px #1d171d77}
.scene .doors .leaf.right{background-position:75% center;box-shadow:inset 1px 0 #55555a,inset 2px 0 #f9f7ee,inset 0 2px 4px #1d171d77}
@keyframes steel-left{0%,17%{background-position:25% center}to{background-position:-21% center}}
@keyframes steel-right{0%,17%{background-position:75% center}to{background-position:121% center}}
.scene .doors .leaf::after{content:"";position:absolute;inset:0;pointer-events:none;background:url("/lobby/gold-tracery.svg") left center / 200% 100% no-repeat}.scene .doors .leaf.right::after{background-position:right center}
.scene .doors .leaf{box-shadow:inset -1px 0 #30201b,inset -2px 0 #c5a88a,inset 0 2px 4px #24181777}.scene .doors .leaf.right{box-shadow:inset 1px 0 #422e27,inset 2px 0 #d2b69a,inset 0 2px 4px #24181777}
@media(prefers-reduced-motion:no-preference){.arriving #main::after{opacity:0}.running #main::after{animation:lobby-readability 2s linear both}@keyframes lobby-readability{0%,58%{opacity:0}100%{opacity:1}}}
.scene .doors .leaf,.scene .doors .leaf.right{background:#59391f url("/lobby/architectural-doors.webp") left center / 200% 100% no-repeat;box-shadow:none}.scene .doors .leaf.right{background-position:right center}.scene .doors .leaf::after{content:none}@media(prefers-reduced-motion:no-preference){.running .doors .leaf{animation-name:leftdoor}.running .doors .leaf.right{animation-name:rightdoor}}

/* Wide desktop booth: frame the invitation beside the elevator cab. */
@media (min-width:1100px) and (min-height:580px) and (hover:hover) and (pointer:fine) {
  .lobby #main { padding-inline:clamp(48px,5vw,112px); }
  .lobby #main::after { background:linear-gradient(90deg,#20161bea 0%,#24191ecc 25%,#271e2360 44%,transparent 58%); }
  .lobby .welcome {
    position:relative;
    width:min(43vw,750px);
    box-sizing:border-box;
    padding:clamp(26px,3.4vh,54px) 0 clamp(26px,3.4vh,54px) clamp(20px,2.3vw,48px);
    border-inline-start:1px solid #c8a56a99;
  }
  .lobby .welcome::before,.lobby .welcome::after {
    content:"";position:absolute;left:0;width:clamp(44px,5vw,108px);height:1px;
    background:linear-gradient(90deg,#d7b77e,transparent);
  }
  .lobby .welcome::before {top:0}
  .lobby .welcome::after {bottom:0}
  .lobby .welcome h1 {font-size:clamp(45px,4.6vw,82px);line-height:1.07}
  .lobby .welcome .second-line {margin-top:.12em;color:#efd199}
  .lobby .welcome p {max-width:38ch;margin:clamp(18px,2.5vh,30px) 0;font-size:clamp(17px,1.24vw,22px);line-height:1.5}
  .lobby .welcome .actions {gap:12px 24px}
}
.parcel-art{display:contents}@media(max-width:650px){.scene .doors .leaf,.scene .doors .leaf.right{background-image:url("/lobby/phone-doors.webp")}}
/* On phones, offer the two main actions as the elevator begins opening. */
@media (max-width:650px) and (prefers-reduced-motion:no-preference){
  .arriving.running .welcome .actions{animation-delay:.32s}
}
