:root{color-scheme:dark;font-family:Palatino,"Palatino Linotype",serif;color:#e8ffdb;background:#4a2222}body{margin:0;min-height:100svh;display:grid;place-items:center}main{max-width:32rem;padding:2rem;text-align:center}.brand{font-size:2.3rem;font-style:italic}h1{font-weight:400;font-size:clamp(2.4rem,8vw,3.5rem);line-height:1.1;margin:3rem 0 2rem}p{line-height:1.5}a{display:block;border-radius:3rem;background:#f2e4f5;color:#4a2222;padding:1rem;text-decoration:none;margin:2rem 0}a[hidden]{display:none}.note{font-size:.9rem;opacity:.8}

.brand{display:block;width:min(95px,22vw);height:auto;margin:0 auto}main>h1{font-weight:400;font-size:1.955rem;line-height:1.2;margin:.55rem 0 .5rem}#message{margin:0 auto;color:#f2e4f5;max-width:17rem;line-height:1.45;opacity:.85;text-wrap:balance}main>.note{position:fixed;left:0;right:0;bottom:calc(min(49vw,300px) - 3% + .8rem);margin:0 auto;white-space:pre-line;line-height:1.45;font-size:.85rem;opacity:.6;text-wrap:balance}

body{overflow-x:hidden}main{position:relative;z-index:1}
.splash{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.splash img{position:absolute;width:min(30vw,190px);aspect-ratio:4/5;object-fit:cover;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.splash .p1{left:-4vw;top:-2%;transform:rotate(8deg)}
.splash .p2{left:19vw;top:7%;transform:rotate(-5deg);width:min(28vw,170px)}
.splash .p3{right:-6vw;top:0%;transform:rotate(-12deg);width:min(38vw,230px)}
.splash .p4{right:-11vw;top:64%;transform:rotate(7deg);width:min(22vw,140px)}
.splash .p5{left:-9vw;top:68%;transform:rotate(12deg);width:min(24vw,150px)}
.splash .p6{left:4vw;bottom:-3%;transform:rotate(-6deg);width:min(36vw,220px)}
.splash .p7{right:-2vw;bottom:2%;transform:rotate(3deg);width:min(30vw,190px)}
.guest:not([hidden])~.splash,body:has(.guest:not([hidden])) .splash{display:none}

@keyframes slide-in{from{translate:var(--from)}}
.splash img{animation:slide-in .9s cubic-bezier(.22,1,.36,1) both}
.splash .p1{--from:-70vw -60vh}.splash .p2{--from:0 -70vh}.splash .p3{--from:70vw -60vh}.splash .p4{--from:80vw 0}.splash .p5{--from:-80vw 0}.splash .p6{--from:0 70vh}.splash .p7{--from:70vw 60vh}
.splash .p2{animation-delay:.08s}.splash .p3{animation-delay:.04s}.splash .p4{animation-delay:.14s}.splash .p5{animation-delay:.18s}.splash .p6{animation-delay:.24s}.splash .p7{animation-delay:.2s}
@media (prefers-reduced-motion:reduce){.splash img{animation:none}}

/* Splash (no guest web camera): the copy is fixed like the photos, so nothing scrolls on its own. */
body:not(:has(.guest:not([hidden]))){overflow:hidden;overscroll-behavior:none}
body:not(:has(.guest:not([hidden]))) main{position:fixed;inset:0;display:grid;place-content:center;justify-items:center;padding:2rem;max-width:none;box-sizing:border-box}
body:not(:has(.guest:not([hidden]))) main>*{max-width:28rem}
/* Demo on iPhone: arrow up to the App Clip banner's Open button; top photos moved down to make room. */
.open-arrow{display:none}
.is-demo.is-ios .open-arrow{display:block;position:fixed;z-index:2;top:calc(env(safe-area-inset-top) - 2px);right:max(6px,2vw);width:min(26vw,104px);height:auto;transform:rotate(180deg) scaleX(-1);pointer-events:none;animation:arrow-draw .7s .55s cubic-bezier(.65,0,.35,1) both}
/* Draw-on: reveal from the tail (visual bottom) to the head. The element is flipped vertically, so its own top is the visual bottom. */
@keyframes arrow-draw{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.is-demo.is-ios .splash .p1{top:6%}.is-demo.is-ios .splash .p2{top:13.5%}.is-demo.is-ios .splash .p3{top:13%;right:-14vw}
@media (prefers-reduced-motion:reduce){.open-arrow{animation:none}}

/* Demo splash: staggered arrival, photos one after another. */
.is-demo .splash img{animation-duration:1.05s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
.is-demo .splash .p3{animation-delay:0s}
.is-demo .splash .p1{animation-delay:.1s}
.is-demo .splash .p2{animation-delay:.2s}
.is-demo .splash .p7{animation-delay:.3s}
.is-demo .splash .p4{animation-delay:.4s;animation-duration:1.2s}
.is-demo .splash .p5{animation-delay:.5s;animation-duration:1.2s}
.is-demo .splash .p6{animation-delay:.6s;animation-duration:1.2s}
