/* User-provided outlined SVG logos. No replacement type, distortion or image filters. */
.studio-mast .studio-mark { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; width: clamp(180px,19vw,264px); line-height: 0; }
.studio-mark .brand-logo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1571 / 211; object-fit: contain; }
.studio-mark .brand-logo--light { display: none; }
:is(.studio-home,.service-page) .studio-mast:not(.solid):not(.open) .brand-logo--dark,
:is(.studio-home,.service-page) .studio-mast.ending-surface:not(.open) .brand-logo--dark { display: none; }
:is(.studio-home,.service-page) .studio-mast:not(.solid):not(.open) .brand-logo--light,
:is(.studio-home,.service-page) .studio-mast.ending-surface:not(.open) .brand-logo--light { display: block; }
.studio-foot .foot-word { display: inline-block; width: clamp(200px,20vw,264px); line-height: 0; text-shadow: none; }
.studio-foot .foot-word img { display: block; width: 100%; height: auto; aspect-ratio: 1571 / 211; }
.cinematic-footer .film-mark { display: inline-flex; align-items: center; justify-content: center; line-height: 0; letter-spacing: 0; }
.cinematic-footer .film-mark img { display: block; width: clamp(128px,13vw,190px); height: auto; aspect-ratio: 1; border-radius: 0; }
@media(max-width:780px) {
 .studio-mast .studio-mark { width: clamp(164px,45vw,212px); }
}
/* V46: crossfade between the user's original horizontal and square marks.
   The link reserves its width so navigation and the mobile menu never shift. */
.studio-mast .studio-mark { position:relative; height:60px; }
.studio-mast .studio-mark .brand-logo:not(.brand-logo--square) {
 opacity:1; transform:translateY(0) scale(1); transform-origin:left center;
 transition:opacity .45s ease,transform .6s cubic-bezier(.2,.7,.25,1);
}
.studio-mast .studio-mark .brand-logo--square {
 display:block; position:absolute; left:0; top:50%; width:60px; height:60px;
 max-width:none; aspect-ratio:1; object-fit:contain; opacity:0;
 transform:translateY(calc(-50% + 5px)) scale(.92); transform-origin:center;
 transition:opacity .5s ease,transform .65s cubic-bezier(.2,.7,.25,1); pointer-events:none;
}
.studio-mast.logo-condensed .studio-mark .brand-logo:not(.brand-logo--square) { opacity:0; transform:translateY(-4px) scale(.96); pointer-events:none; }
.studio-mast.logo-condensed .studio-mark .brand-logo--square { opacity:1; transform:translateY(-50%) scale(1); }
@media(max-width:780px) {
 .studio-mast .studio-mark { height:52px; }
 .studio-mast .studio-mark .brand-logo--square { width:52px; height:52px; }
}
@media(prefers-reduced-motion:reduce) {
 .studio-mast .studio-mark .brand-logo { transition:none!important; }
 .studio-mast .studio-mark .brand-logo:not(.brand-logo--square) { transform:none; }
 .studio-mast .studio-mark .brand-logo--square { transform:translateY(-50%); }
 .studio-mast.logo-condensed .studio-mark .brand-logo:not(.brand-logo--square) { transform:none; }
}
