/* Shared BrandMotion geometry. Structural selectors also support the bundled generators. */
:root{--mpl-header-x:clamp(18px,3.2vw,48px);--mpl-header-y:23px}
.studio-header{padding-left:var(--mpl-header-x)}
.retained .topline{padding-left:var(--mpl-header-x)}
.retained .max-logo.mpl-site-brand{align-self:flex-start;margin-top:var(--mpl-header-y)}
header:has(>.mpl-brand-link),.topbar:has([data-mpl-brand]){height:auto;min-height:84px;padding:var(--mpl-header-y) var(--mpl-header-x);box-sizing:border-box}
:root [data-mpl-brand]{font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;font-size:14px;color:#0b0d12}
:root [data-mpl-brand]>div{display:inline-flex;align-items:center;gap:6px;transform-origin:left center}
:root [data-mpl-brand]>div>img{width:58px;height:auto;max-width:none;flex-shrink:0}
:root [data-mpl-brand]>div>div{display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:173px}
:root [data-mpl-brand] [aria-label="Max Project Lab"]{display:block}
:root [data-mpl-brand] [aria-label="Max Project Lab"]>span{display:flex;align-items:baseline;gap:5px;min-height:22px;line-height:1;white-space:nowrap}
:root [data-mpl-brand] [aria-label="Max Project Lab"]>span>span{display:inline-flex;align-items:baseline;gap:0;font-weight:760;letter-spacing:-.025em}
:root [data-mpl-brand] [aria-label="Max Project Lab"]>span>span>span:first-child{font-size:18px;font-weight:760}
:root [data-mpl-brand] [aria-label="Max Project Lab"]>span>span>span+span{font-size:14px;font-weight:760;letter-spacing:0}
:root [data-mpl-brand] [aria-label="Max Project Lab"]>span>span,:root [data-mpl-brand] [aria-label="Max Project Lab"]>span>span>span{font-variation-settings:"wght" 760}
:root [data-mpl-brand]>div>div>span+span{position:relative;top:-3px;margin-top:3px;font:700 8px/1 var(--font-geist-mono,monospace);letter-spacing:.14em;color:#f3212d}
/* Only the work index opts into the original entrance animation. */
:root [data-mpl-brand]:not([data-brand-entrance])>div>img,
:root [data-mpl-brand]:not([data-brand-entrance]) [aria-label="Max Project Lab"],
:root [data-mpl-brand]:not([data-brand-entrance])>div>div>span+span{animation:none;opacity:1;filter:none;transform:none;clip-path:none}
/* Match the compact site header before the small-phone lockup scale applies. */
@media(max-width:960px){
 :root{--mpl-header-y:19px}
 header:has(>.mpl-brand-link),.topbar:has([data-mpl-brand]){min-height:76px}
}
@media(max-width:420px){
 :root{--mpl-header-y:16px}
 header:has(>.mpl-brand-link),.topbar:has([data-mpl-brand]){min-height:70px}
 :root [data-mpl-brand]{width:158px;align-items:flex-start}
 :root [data-mpl-brand]>div{width:max-content;min-width:0;transform:scale(.88);transform-origin:left center}
 :root [data-mpl-brand]>div>div{min-width:0}
}
@media(prefers-reduced-motion:reduce){:root [data-mpl-brand][data-brand-entrance]>div>img,:root [data-mpl-brand][data-brand-entrance] [aria-label="Max Project Lab"],:root [data-mpl-brand][data-brand-entrance]>div>div>span+span{animation:none;opacity:1;filter:none;transform:none;clip-path:none}}
