/* Three authored canvases. Coordinates remain in the original 2560 × 1440
   parcel rig, translated to the portrait backgrounds by their source offset. */
#home.cozy-hero{--psb-ratio:1.777777778}
#home.cozy-hero .parcel-stage{aspect-ratio:16/9}
#home.cozy-hero .psb-scene{inset:auto 0 0;left:0;top:auto;width:100%;height:auto;aspect-ratio:var(--psb-ratio);translate:none}
#home.cozy-hero .psb-background,#home.cozy-hero .psb-background img{visibility:visible;width:100%;height:100%;object-fit:fill}
#home.cozy-hero .parcel-rig{inset:auto;left:0;top:0;width:100%;height:100%}
@media(min-width:601px) and (max-width:1100px) and (orientation:portrait){
 #home.cozy-hero{--psb-ratio:.7496339678}
 #home.cozy-hero .parcel-stage{width:100%;aspect-ratio:4/3;border-radius:0}
 #home.cozy-hero .parcel-rig{left:-12.6953125%;top:34.88286969%;width:125%;height:52.70863836%}
}
@media(max-width:600px) and (orientation:portrait){
 #home.cozy-hero{--psb-ratio:.5625}
 #home.cozy-hero .parcel-stage{width:100%;aspect-ratio:4/5;border-radius:0}
 #home.cozy-hero .parcel-rig{left:-39.72222222%;top:37.2265625%;width:177.77777778%;height:56.25%}
}
/* The locked intro uses one continuous canvas for background and foreground.
   After opening, the normal banner frames the lower part of that same canvas. */
:is(.cozy-intro-pending,.cozy-intro-preview) #home.cozy-hero .psb-scene{inset:50% auto auto 50%;width:max(100vw,calc(100svh * var(--psb-ratio)));width:max(100vw,calc(100dvh * var(--psb-ratio)));height:auto;aspect-ratio:var(--psb-ratio);translate:-50% -50%}
:is(.cozy-intro-pending,.cozy-intro-preview) #home.cozy-hero .psb-background{visibility:visible}
:is(.cozy-intro-pending,.cozy-intro-preview) #home.cozy-hero .cozy-backdrop{background:#ffedca}
/* Fit the opened desktop composition below its headline. The complete box and
   bottom edge remain in view instead of extending beneath the first viewport. */
@media(min-width:1101px), (min-width:761px) and (orientation:landscape){
 #home.cozy-hero{padding-top:16px}
 #home.cozy-hero .parcel-heading h1{font-size:clamp(34px,3vw,48px);line-height:1.06}
 #home.cozy-hero .parcel-heading h1:after{margin-top:9px}
 #home.cozy-hero .parcel-stage{flex-shrink:0;width:min(100%,1200px,calc((100svh - var(--parcel-header,86px) - 208px)*1.777777778));margin:12px auto 0}
 #home.cozy-hero .parcel-actions{min-height:50px;padding-top:0}
}
