/* The scene fills the opening; copy and technology marks share the header grid. */
body:is([data-product="ai"],[data-product="siScan"],[data-product="siPainter"]){--opening-header:88px;--opening-logos:96px;--opening-side:max(var(--gutter),calc((100% - var(--max))/2))}
body[data-product] :is(.ai-hero-head,.ai-hero-technologies,.ss-hero>.wrap,.pm-hero-layout){width:min(var(--max),calc(100% - 2 * var(--gutter)));max-width:var(--max)}
body[data-product="ai"] .ai-hero-body{padding-block:48px var(--section-space)}
body[data-product="ai"] .ai-hero-body .lead{gap:var(--column-gap)}
body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;height:var(--opening-logos);margin:0;padding:18px 0;align-items:center}
body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip li{min-width:0;min-height:0}
body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip img{max-width:100%}
body[data-product="siScan"] .ss-hero>.wrap{display:flex;flex-direction:column;min-height:calc(100svh - var(--opening-header) - 26px)}
body[data-product="siScan"] .ss-hero .breadcrumb{margin-bottom:16px}
body[data-product="siScan"] .ss-hero-grid{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:var(--column-gap);padding-block:16px 24px}
body[data-product="siScan"] .ss-hero h1{font-size:clamp(36px,3.4vw,58px);margin-bottom:24px}
body[data-product="siScan"] .ss-wordmark{margin-bottom:20px}
body[data-product="siScan"] .ss-stage-viewport{aspect-ratio:auto;height:clamp(320px,calc(100svh - 300px),900px)}
body[data-product="siScan"] .ss-lead{max-width:56ch}
body[data-product="siScan"] .ss-hero .actions{width:fit-content;max-width:100%;margin-top:24px}
body[data-product="siPainter"] .pm-hero-layout{min-height:calc(100svh - var(--opening-header));padding-block:clamp(24px,4svh,56px)}
body[data-product="siPainter"] .pm-hero-copy{width:46%;max-width:680px}
body[data-product="siPainter"] .pm-hero-visual{width:min(72vw,1120px,calc((100svh - var(--opening-header)) * 1.08));right:calc(var(--opening-side) - clamp(80px,10vw,240px));bottom:-3svh}
body[data-product="siPainter"] .pm-product{margin-bottom:24px}
body[data-product="siPainter"] .pm-project-status{margin-bottom:24px}
body[data-product="siPainter"] .pm-hero h1{font-size:clamp(36px,3.4vw,58px);margin-bottom:24px}
body[data-product="siPainter"] .pm-hero .pm-lead{max-width:56ch;margin-bottom:0}
body[data-product="siPainter"] .pm-hero .actions{margin-top:24px}
@media(min-width:1101px){
 body[data-product="ai"] .ai-hero{--si-h:max(500px,calc(100svh - var(--opening-header) - var(--opening-logos)));--si-side:var(--opening-side);--si-sv:max(var(--gutter),calc((100vw - var(--max))/2))}
}
@media(max-width:1100px){
 body[data-product="ai"] .ai-hero-top{min-height:calc(100svh - var(--opening-header) - var(--opening-logos))}
}
@media(max-width:1000px){
 body[data-product="siPainter"] .pm-hero-layout{min-height:0;padding-bottom:0}
 body[data-product="siPainter"] .pm-hero-copy{width:100%;max-width:none}
 body[data-product="siPainter"] .pm-hero-visual{width:min(140vw,1050px);right:auto;bottom:calc(-1 * min(7vw,60px))}
}
@media(max-width:900px){
 body[data-product="siScan"] .ss-hero-grid{grid-template-columns:1fr}
 body[data-product="siScan"] .ss-stage{max-width:none;width:100%;margin-inline:0}
 body[data-product="siScan"] .ss-stage-viewport{height:auto;aspect-ratio:1.35}
}
@media(max-width:767px){
 body:is([data-product="ai"],[data-product="siScan"],[data-product="siPainter"]){--opening-header:72px;--opening-logos:104px}
 body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip{grid-template-columns:repeat(3,minmax(0,1fr));height:auto;min-height:var(--opening-logos);gap:16px;padding-block:16px}
 body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip img{height:26px;width:auto;max-width:100%}
 body[data-product] :is(.ai-hero-technologies,.ss-hero) .ai-technology-strip [data-technology="scipy"] span{font-size:20px}
 body[data-product="siScan"] .ss-hero h1,body[data-product="siPainter"] .pm-hero h1{font-size:clamp(36px,8vw,48px)}
}
