/* A quiet sage welcome, followed by a flight through the Juma emblem. */
.juma-arrival{display:none}
html.arrival-active{overflow:hidden}
.arrival-active .juma-arrival{position:fixed;inset:0;z-index:2147483645;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 44%,#25324D 0%,#1F2A44 55%,#172138 100%);overflow:hidden;isolation:isolate}
.arrival-identity{display:flex;align-items:center;flex-direction:column;gap:30px;transform:translateY(-10px)}
.arrival-emblem{display:block;width:clamp(130px,14vw,190px);height:clamp(130px,14vw,190px);background:linear-gradient(115deg,#C6A75E 10%,#E0C98A 47%,#f2dfad 53%,#C6A75E 85%);mask:url('/assets/juma-connection.png') center/contain no-repeat;-webkit-mask:url('/assets/juma-connection.png') center/contain no-repeat;filter:drop-shadow(0 4px 20px #E0C98A12);transform-origin:50% 50%;will-change:transform,opacity}
.arrival-name{font:400 clamp(24px,3vw,36px)/1.25 'Playfair Display',Georgia,serif;letter-spacing:.18em;color:#E8DCC8;text-align:center;padding-left:.18em}
.arrival-skip{position:absolute;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border:1px solid #C6A75E66;border-radius:999px;padding:9px 19px;color:#E8DCC8;background:transparent;font:400 13px/1.3 var(--sans);cursor:pointer}
.arrival-skip:focus-visible{outline:2px solid #E0C98A;outline-offset:5px}
.arrival-active .site-header,.arrival-active .hero-content>*{opacity:0}
.arrival-active .hero .hero-picture{transform:scale(1.07);will-change:transform}
.arrival-flight .juma-arrival{animation:arrival-curtain 2.25s both;pointer-events:none}
.arrival-flight .arrival-emblem{animation:arrival-fly 1.8s cubic-bezier(.55,.02,.85,.4) both}
.arrival-flight .arrival-name,.arrival-flight .arrival-skip{animation:arrival-name-out .45s both}
.arrival-revealing .site-header{animation:arrival-reveal 1s .1s both}
.arrival-flight .hero .hero-picture{animation:arrival-photo 2.4s ease-out both}
.arrival-revealing .hero-content>.eyebrow{animation:arrival-reveal 1.15s .2s both}
.arrival-revealing .hero-content>.hero-emblem{animation:arrival-reveal 1.15s .3s both}
.arrival-revealing .hero-content>h1{animation:arrival-reveal 1.15s .45s both}
.arrival-revealing .hero-content>.hero-ritual{animation:arrival-reveal 1.1s .6s both}
.arrival-revealing .hero-content>.hero-promise{animation:arrival-reveal 1.1s .7s both}
.arrival-revealing .hero-content>.btns{animation:arrival-reveal 1s .85s both}
@keyframes arrival-fly{0%{transform:scale(1);opacity:1}25%{opacity:1}80%{opacity:.85}100%{transform:scale(34);opacity:0}}
@keyframes arrival-curtain{0%,25%{background-color:#1F2A44;opacity:1}65%{opacity:.55}100%{opacity:0;visibility:hidden}}
@keyframes arrival-name-out{to{opacity:0;transform:translateY(14px);filter:blur(3px)}}
@keyframes arrival-reveal{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes arrival-photo{from{transform:scale(1.07)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.juma-arrival{display:none!important}.arrival-active .site-header,.arrival-active .hero-content>*{opacity:1;animation:none!important}.arrival-active .hero .hero-picture{transform:none;animation:none}}

/* Keep the villa concealed until the emblem has fully passed the viewer. */
.arrival-active:not(.arrival-revealing) body>:not(.juma-arrival){opacity:0!important;pointer-events:none!important}
.arrival-name{font-size:clamp(42px,6vw,78px);line-height:1.12;letter-spacing:.12em;padding-left:.12em}
.arrival-identity{gap:28px}
.arrival-flight .juma-arrival{animation:none;opacity:1;visibility:visible}
.arrival-revealing .juma-arrival{animation:arrival-open .4s ease-out both}
@keyframes arrival-open{from{opacity:1}to{opacity:0;visibility:hidden}}
@media(max-width:700px){.arrival-name{font-size:clamp(42px,12vw,62px)}}
