/* Mobile layer — overrides inline desktop styles below 760px */
@media (max-width:760px){
:root{--page-pad:20px;--section-y:64px;--section-y-tight:48px;--gutter:16px}
[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
[data-m="marks"]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
[data-m="marks"] *{font-size:min(100%,22px)}
[data-m="stack"]{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
h1,h2,h3{overflow-wrap:anywhere}
.u-display{max-width:100%}
/* nav */
[data-m="nav"]{display:none!important}
[data-m="burger"]{display:inline-flex!important}
[data-m="mark"] span span:first-child{font-size:12px!important;letter-spacing:.06em!important}
[data-m="mark"] img{width:34px!important;height:34px!important}
/* hero: portrait on top, carousel below on black */
[data-m="hero-bg"]{width:100%!important;bottom:auto!important;height:74vh!important;background-position:72% 100%!important;background-size:auto 100%!important;-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%)!important;mask-image:linear-gradient(180deg,#000 70%,transparent 100%)!important}
[data-m="hero-black"]{background:linear-gradient(180deg,rgba(5,5,6,0) 0,rgba(5,5,6,0) 60vh,#050506 74vh)!important}
[data-m="hero-grid"]{display:flex!important;flex-direction:column!important;min-height:0!important;padding-top:calc(58px + 66vh)!important}
[data-m="hero-grid"]>div:empty{display:none!important}
[data-m="hero-head"]{top:calc(58px + 22vh)!important;max-width:44vw!important;zoom:1!important}
[data-m="h-ai"]{font-size:64px!important}
[data-m="h-with"]{font-size:16px!important}
[data-m="h-touch"]{font-size:24px!important}
[data-m="hero-car"]{width:100%!important;margin-right:0!important}
[data-m="hero-tags"]{justify-content:flex-start!important;padding-right:0!important}
[data-m="cta-pad"]{padding:32px 24px!important}
[style*="aspect-ratio: 21 / 9"]{aspect-ratio:16/9!important}
/* portfolio gateway: halves stack top / bottom */
[data-half="left"]{width:100%!important;left:0!important;top:0!important;bottom:50%!important}
[data-half="right"]{width:100%!important;left:0!important;top:50%!important;bottom:0!important}
[data-m="divider"]{left:0!important;right:0!important;top:50%!important;bottom:auto!important;width:100%!important;height:1px!important;transform:translateY(-50%)!important;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8) 30%,rgba(255,255,255,.8) 70%,transparent)!important}
[data-m="reel-btn"]{width:84px!important;height:84px!important;gap:4px!important}
[data-m="reel-btn"] span{font-size:8px!important}
[data-m="side-copy"]{bottom:24px!important;left:20px!important;right:20px!important;max-width:none!important;gap:6px!important}
[data-m="side-title"]{font-size:30px!important}
[data-m="insp"]{display:none!important}
}
