/* Compatibility fixes preserve the approved composition and image framing. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.scene .formation-top>*,.scene .formation-bottom>*,.scene .nucleus-grid>*,.scene .contact-grid>*,.scene .section-heading>*,.scene .about-grid>*,.scene .scene-feature-grid>*{min-width:0}
.scene .teaching-list summary{grid-template-columns:86px minmax(0,1fr) 18px}
.scene .teaching-list summary .name,.scene .work-title,.scene .gallery-caption,.scene .press-title,.scene .detail-inner h2,.scene .detail-section h3,.scene .credit-row dd,.scene .source-link,.scene .seo-record-list strong{overflow-wrap:anywhere}
.scene .teaching-description,.scene .detail-body,.scene .seo-prose{min-width:0;overflow-wrap:break-word}
.scene h2,.scene h3{overflow-wrap:anywhere}
.scene .search-field{min-width:0}
.scene .search-field input{min-width:0;max-width:100%}
.scene .scene-image-caption{min-height:62px}
.scene .scene-image-caption small{min-height:2.8em}
.scene .scene-controls{flex-shrink:0}
.scene .scene-hero-bottom{align-items:end}
.scene .detail-dialog{overscroll-behavior:contain}
.scene .photo-dialog .album-viewer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.scene .seo-nav{min-width:0}
.scene .seo-nav a{overflow-wrap:break-word}
@media(max-width:640px){
 .scene .teaching-list summary{grid-template-columns:64px minmax(0,1fr) 16px}
 .scene .press-entry{grid-template-columns:minmax(40px,max-content) minmax(0,1fr) 16px}
 .scene .scene-image-caption{min-height:72px}
 .scene .scene-image-caption small{min-height:2.8em}
 .scene .hero h1{min-width:0}
 .scene .hero-contact-cta{max-width:100%}
 .scene .works .search-field input,.scene .press-tools select{font-size:16px}
 .scene .detail-inner{min-width:0}
 .scene .detail-inner .text-link{max-width:100%;overflow-wrap:anywhere}
 .scene .seo-page .navigation,.scene.seo-page .navigation{align-items:flex-start}
 .scene.seo-page .scene-brand{flex-shrink:0}
 .scene .photo-dialog .album-viewer-heading{min-width:0}
}
@media(max-width:380px){
 .scene .nucleus-works>button{min-width:0;flex-wrap:wrap}
 .scene .nucleus-works strong{min-width:0;overflow-wrap:anywhere}
 .scene .event-inner>.button{max-width:100%;white-space:normal}
 .scene .professional-records{gap:20px;flex-wrap:wrap}
}
/* Keep older Safari's viewport calculation usable before svh support. */
@supports not (height:100svh){
 .scene .hero{height:calc(100vh - 97px)}
 .scene .detail-dialog{max-height:calc(100vh - 48px)}
 .scene .detail-dialog.photo-dialog{height:100vh;max-height:100vh}
 .scene .selected-detail-photo{max-height:65vh}
 .scene .photo-dialog .album-filmstrip{max-height:32vh}
 @media(max-width:850px){.scene .hero{height:calc(100vh - 87px)}}
 @media(max-width:640px){.scene .hero{height:calc(100vh - 82px)}.scene nav{max-height:calc(100vh - var(--scene-header-height))}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.scene *{scroll-behavior:auto}}
