/* The approved SVG geometry is immutable; motion changes visibility and cursor position only. */
.brand-svg{display:block;max-width:100%;height:auto;color:inherit}
.top .brand-js{width:108px}
.hero .brand-jstudios,.product-hero .brand-skolary{width:min(100%,660px);margin:0 0 28px;color:#fff}
.product .brand-skolary{width:min(100%,420px);margin:0 0 12px}
.hero .brand-heading{margin:0 0 20px;font-size:clamp(1.9rem,4vw,3.2rem);letter-spacing:-.055em;line-height:1.1}
.brand-credit{fill:currentColor}
.brand-svg [data-hidden]{visibility:hidden}
.motion-control{font:inherit;color:var(--muted);border:1px solid var(--line);background:transparent;padding:6px 10px;border-radius:7px;cursor:pointer}
.motion-control:focus-visible{outline:2px solid var(--accent)}
.motion-control[hidden]{display:none}
.footer .brand-js{width:94px}
@media(max-width:480px){.top .brand-js{width:80px}.motion-control{font-size:.73rem}.hero .brand-jstudios,.product-hero .brand-skolary{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.brand-svg [data-hidden]{visibility:visible}}

/* Motion v3: viewport reveal without layout shifts or scroll interception. */
.motion-enabled .reveal-card{
 opacity:var(--reveal,1);
 transform:translateY(var(--reveal-y,0px));
}
.motion-enabled .reveal-card:focus-within{opacity:1;transform:none}
.motion-enabled .portfolio-credit,
.motion-enabled svg.typing .brand-credit{
 opacity:0;
 translate:0 4px;
 transition:opacity 260ms ease-out,translate 260ms ease-out;
}
.motion-enabled .credit-ready > .portfolio-credit,
.motion-enabled svg.typing.credit-ready .brand-credit{
 opacity:1;translate:0 0;
}
/* Scroll-driven credits follow the card rather than a second timer. */
.motion-enabled .reveal-card .portfolio-credit,
.motion-enabled .reveal-card svg.typing .brand-credit{
 opacity:var(--credit-reveal,1);translate:0 0;transition:none;
}
@media(prefers-reduced-motion:reduce){
 .motion-enabled .reveal-card{opacity:1;transform:none}
 .motion-enabled .portfolio-credit,.motion-enabled svg.typing .brand-credit{opacity:1;translate:0 0;transition:none}
}
