/* An uploaded introduction photograph blends into the same car and lighting sequence. */
.reference-cover{opacity:clamp(0,calc(1 - var(--journey-progress,0)*11),1);z-index:0}
.street-frame:has(.reference-cover) .city-field{z-index:1}
.street-frame:has(.reference-cover) .frame-lit{z-index:2}
.street-frame:has(.reference-cover) :is(.nightfall,.lamp-bloom){z-index:3}
/* The image and socket overlay share the same native frame and centered cover crop. */
.local-frame,.local-frame>picture,.local-frame .socket-layer,.local-frame svg,.local-frame .street-shade{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none
}
.local-frame{transform:scale(calc(1.035 - .035 * var(--pull)));transform-origin:50% 52%}
.local-frame .street-image{object-fit:cover;object-position:center}
.local-frame .street-shade{background:#101a37;opacity:calc(var(--night) * .25);mix-blend-mode:multiply}
.local-frame .socket-layer{opacity:var(--heat);mix-blend-mode:screen}
.local-frame .socket-mobile{display:none}
.local-city{position:absolute;top:16%;inset-inline-start:5%;max-width:34%;opacity:var(--city);color:#fff2cb;line-height:1;text-shadow:0 2px 14px #152a39}
.local-city small{display:block;font-weight:650;font-size:clamp(13px,1.3vw,21px);margin-bottom:.5em}
.local-city strong{display:block;font-size:clamp(32px,5.3vw,100px);line-height:.95;overflow-wrap:anywhere}
@media(max-aspect-ratio:11/10){
  .local-frame .socket-desktop{display:none}.local-frame .socket-mobile{display:block}
  .local-city{inset:clamp(84px,17svh,200px) 6% auto;max-width:none;text-align:center}
  .local-city strong{font-size:clamp(38px,11vw,90px)}
}
@media(prefers-reduced-motion:reduce){.local-frame{transform:none}}

/* Keep the foreground roadway above the mobile dock as the cars approach. */
body.viewing-convoy[data-view=home] #install-invite[data-automatic]:not(:focus-within){display:none}
@media(max-width:759px){
  body[data-view=home] .scene .world{height:auto;bottom:var(--app-bottom,0px)}
  .route-photo[data-place=party]{top:20%}
}
@media(min-width:760px){
  .scene:is([data-scene-style=classic],[data-scene-style=fair-lawn]) .route-photo[data-place=party]{left:auto;right:max(6vw,var(--gutter));top:43%}
}
