/* Layout safety across themes. Does not modify theme positioning or palettes. */
#chooser{transition:opacity .32s ease,transform .32s ease;opacity:1;}
#chooser.dw-chooser-out{opacity:0!important;pointer-events:none!important;transform:translate(-50%,9px)!important;}
#chooser[hidden]{display:none!important;}
/* Avoid overflow and reading text over the photo in the Nexus split layout. */
body[data-theme="nexus"] .hero{column-gap:clamp(24px,3vw,65px)!important;}
body[data-theme="nexus"] .hero-copy{min-width:0;max-width:100%;}
body[data-theme="nexus"] .hero h1{font-size:clamp(48px,7vw,106px)!important;overflow-wrap:break-word;max-width:100%;}
body[data-theme="nexus"] .hero-visual{min-width:0;max-width:100%;transform:none!important;}
body[data-theme="nexus"] .hero .lead{max-width:37ch;}
/* Keep large typography from spilling across the image's readability zones. */
body[data-theme="offset"] .hero h1{font-size:clamp(50px,10vw,150px)!important;}
body[data-theme="original"] .hero-copy .eyebrow{max-width:65ch;}
@media(max-width:850px){body[data-theme="nexus"] .hero-visual{width:100%;margin-left:0;margin-right:0;}body[data-theme="nexus"] .hero h1{font-size:clamp(45px,11vw,90px)!important;}}
/* Original already identifies Diego in the main heading: do not duplicate the label. */
body[data-theme="original"] .hero .stamp{display:none!important;}
/* Keep media composited and ready when switching between Parallax and Drift. */
body[data-theme="parallax"] .intro-frame video,body[data-theme="drift"] .intro-frame video{display:block;width:100%;height:100%;object-fit:cover;visibility:visible;}
