/* Six calm beats, with the final composition reserved from the first frame. */
/* Shorten the arrival cadence while leaving ready-state search effects intact. */
.arrival-stage[data-workspace=browse]:not([data-phase=ready]){--glass-time:1.15s}
.arrival-stage[data-workspace=browse]:not([data-phase=ready]) .glass-card{transition-duration:1s,1.2s,1.25s,1.4s}
.arrival-stage[data-workspace=browse][data-phase=left] .glass-column-left .glass-card,
.arrival-stage[data-workspace=browse][data-phase=right] .glass-column-right .glass-card{transition-delay:calc(var(--card-index,0)*.12s)}
.arrival-stage[data-workspace=browse]:not([data-phase=ready])::before,
.arrival-stage[data-workspace=browse]:not([data-phase=ready]) .ambient-field{transition-duration:1.1s}
body:has(#traveler-view:not([hidden]) #arrival-stage:not([data-phase=ready])) .site-brand{transition-duration:1.1s,1.1s,1.2s}
.arrival-stage[data-workspace=browse]::before{transition:opacity 1.5s ease}
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand])::before,
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand]) .ambient-field{opacity:0;transition:none}
.arrival-stage[data-workspace=browse] .ambient-field.is-empty{opacity:0}

/* Hold the covers until their own beat. Their existing glass transitions then resolve. */
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop]) .glass-column-left .glass-card,
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left]) .glass-column-right .glass-card{opacity:0;visibility:hidden;--frost:18px;--veil:.95;--copy-blur:8px;--float:14px;pointer-events:none;transition:none}
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop]) .glass-column-left :is(.cover-stack,.glass-veil,.glass-card-copy),
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left]) .glass-column-right :is(.cover-stack,.glass-veil,.glass-card-copy){transition:none}

/* The prompt arrives first; René joins it only after it has settled. */
.arrival-stage[data-workspace=browse] .conversation-home{translate:0 0!important;backdrop-filter:blur(22px) saturate(125%);-webkit-backdrop-filter:blur(22px) saturate(125%);transition:opacity .7s ease,translate .8s var(--stage-ease),background-color .9s ease,border-color .9s ease,box-shadow 1.1s ease,backdrop-filter 1.1s ease}
.arrival-stage[data-workspace=browse] :is(.prompt-heading,.conversation-workspace){transition:opacity .55s ease .3s,translate .6s var(--stage-ease) .3s}
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right]) .conversation-home{opacity:0;visibility:hidden;translate:0 6px!important;background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);pointer-events:none;transition:none}
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right]) :is(.prompt-heading,.conversation-workspace){opacity:0;visibility:hidden;translate:0 10px;pointer-events:none;transition:none}
.arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right]) :is(.discovery-controls,.discovery-footnote){opacity:0;visibility:hidden;pointer-events:none;transition:none}

/* Hide the whole portrait subtree, including the explicit mobile video visibility.
   The phase fallback prevents a portrait flash before the clock is initialized. */
#arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right]) .conversation-home .rene-dock,
#arrival-stage[data-rene-intro=hidden] .conversation-home .rene-dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important;animation:none!important}
#arrival-stage[data-workspace=browse]:is([data-phase=busy],[data-phase=approach],[data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right]) .conversation-home .rene-dock *,
#arrival-stage[data-rene-intro=hidden] .conversation-home .rene-dock *{visibility:hidden!important;pointer-events:none!important}
#arrival-stage[data-workspace=browse][data-rene-intro=arriving] .conversation-home .rene-dock{animation:rene-joins-the-scene .65s var(--stage-ease)}
@keyframes rene-joins-the-scene{from{opacity:0;translate:0 6px;scale:.97}to{opacity:1;translate:0 0;scale:1}}

/* One champagne bloom behind the whole invitation. No bright edge or input flash.
   The isolated frame keeps this diffuse layer behind its readable content. */
#arrival-stage[data-workspace=browse][data-intro-halo=true] .conversation-home::before{
 content:'';position:absolute;inset:-26px -18px;z-index:-1;border:0;
 border-radius:inherit;pointer-events:none;
 background:radial-gradient(ellipse at center,rgba(224,199,151,.32) 0%,rgba(230,208,168,.16) 46%,rgba(230,208,168,0) 74%);
 filter:blur(18px);opacity:0;
 animation:ding-champagne-arrival 3.8s cubic-bezier(.22,.61,.36,1) 1 both;
}
@keyframes ding-champagne-arrival{
 0%{opacity:0;transform:scale(.98)}
 26%{opacity:.65;transform:scale(1)}
 100%{opacity:0;transform:scale(1.035)}
}

/* Navigation joins the title, and the new background beat does not restart its rays. */
.host-entry{transition:opacity 1.2s ease}
body:has(#traveler-view:not([hidden]) #arrival-stage:is([data-phase=busy],[data-phase=approach])) :is(.site-brand,.host-entry){opacity:0;visibility:hidden;pointer-events:none;transition:none}
body:has(#arrival-stage:is([data-phase=brand],[data-phase=backdrop],[data-phase=left],[data-phase=right],[data-phase=prompt],[data-phase=ready])) #site-brand .ding-brand-ray{animation:ding-brand-spark 740ms cubic-bezier(.22,1,.36,1) both}

@media(prefers-reduced-motion:reduce){
 .arrival-stage[data-workspace=browse]::before,.arrival-stage[data-workspace=browse] .conversation-home,.arrival-stage[data-workspace=browse] :is(.prompt-heading,.conversation-workspace),.host-entry{transition:none}
 #arrival-stage .conversation-home::before{display:none!important}
 #arrival-stage .conversation-home .rene-dock{animation:none!important}
 #arrival-stage .conversation-home .composer textarea{animation:none!important}
}
