/* Shared responsive shell. Full-width scenes, fluid gutters, readable copy. */
:root { --site-gutter:clamp(20px,4vw,120px); }
body { margin:0; }
body>main { width:100%; max-width:none; margin-inline:0; }
body .container { width:calc(100% - 2 * var(--site-gutter)); max-width:none; margin-inline:auto; }
body .site-header .container { width:calc(100% - 2 * var(--site-gutter)); max-width:none; }
body .pilot-announcement { width:100%; max-width:none; margin-inline:0; padding-inline:var(--site-gutter); box-sizing:border-box; }
/* These containers are the viewport of a scroll scene, not an inset text shell. */
body .pim-page :is(#architecture,#workflow.pipeline,#use-case)>.container,
body #leadership>.container { width:100%; max-width:none; margin-inline:0; }
body .faq-hero-inner { width:100%; max-width:none; padding-inline:var(--site-gutter); }
body .faq-library { width:100%; max-width:none; padding-inline:var(--site-gutter); }
body .faq-intro.container,body .faq-content.container { width:100%; margin:0; }
body .contactContainer { width:calc(100% - 2 * var(--site-gutter)); max-width:none; margin-inline:auto; }
body .solution-details .section-head { max-width:none!important; width:calc(100% - 2 * var(--site-gutter))!important; }
/* Grid children must be allowed to shrink before their text wraps. */
:is(.container,.contactContainer,.pilot-layout,.footer-grid,.resource-grid,.faq-hero-inner)>* { min-width:0; }
main :is(h1,h2,h3,p,li,label) { overflow-wrap:break-word; }
main :is(input,textarea,select) { max-width:100%; min-width:0; }
/* Keep legal text and forms comfortable without boxing in the page background. */
.pilot-agreement__card { width:100%; }
@media(min-width:801px) {
 body .faq-intro h1 { max-width:18ch; }
 body .faq-intro p { max-width:65ch; }
 body .faq-sculpture { justify-self:center; width:100%; }
}
@media(max-width:800px) {
 :root { --site-gutter:20px; }
 body .pilot-announcement { padding-inline:var(--site-gutter); }
 body .contactContainer { width:100%; }
 body .faq-intro.container,body .faq-content.container { width:100%; }
}
@media(max-width:380px) { :root { --site-gutter:16px; } }
/* Short desktop windows need a reading area that can scroll independently. */
@media(min-width:801px) and (max-height:800px) {
 .film-stage .scene-copy-area { overflow-y:auto; max-height:70%; scrollbar-width:thin; }
 .tc-panels { overflow-y:auto; scrollbar-width:thin; }
 body .hero-pin { gap:12px; padding-block:16px; }
 body .huge-title { font-size:clamp(32px,min(5.6vw,9vh),80px); }
 body .hero-copy>p { margin-block:8px; font-size:13px; line-height:1.5; }
}
/* Font loading must not switch body copy to a serif default on another machine. */
body { font-family:Manrope,Arial,Helvetica,sans-serif; }
body:has(.hero-pin) { font-family:Arial,Helvetica,sans-serif; }
@media(min-width:801px) {
 .tc-stage,.film-stage,.film-viewport,.company-pin,.collab-stage,.demo-stage,.pilot-stage {
  min-height:0!important;
  height:calc(100svh - var(--layout-header,140px) - 76px);
 }
 .tc-panels { max-height:70%; }
 .tc-copy.active { max-height:100%; overflow-y:auto; scrollbar-width:thin; }
}
@media(min-width:801px) and (max-width:1100px) {
 .tc-panels { width:42%; }
 .crafted-art { left:46%; right:1%; width:53%; }
 .tc-copy :is(h1,h2) { font-size:clamp(26px,3.2vw,35px)!important; }
 .tc-copy p { font-size:14px!important; }
}
@media(min-width:801px) {
 .company-object {
  top:24%; right:4%;
  width:min(41vw,calc((100svh - var(--layout-header,140px) - 76px) * .68));
  height:min(32vw,calc((100svh - var(--layout-header,140px) - 76px) * .53));
 }
 .company-object .award-moment img { height:auto; aspect-ratio:1; object-fit:contain; }
}
/* Wheel/touch scrolling must chain back to the page at reading-panel edges. */
body .solution-details.depth-enabled .depth-track>.depth-stop,
body :is(.film-copy,.scene-copy-area,.tc-panels,.tc-copy,.chapter,.world-chapters section) {
 overscroll-behavior-y:auto;
}
/* Reserve a separate visual region for the pilot particle scene. */
.pilot-world { mask-image:linear-gradient(to right,transparent 49%,#000 61%); -webkit-mask-image:linear-gradient(to right,transparent 49%,#000 61%); }
.world-chapters section { max-width:43%; }
.world-chapters h2,.world-chapters section:last-child h2 { font-size:clamp(36px,4.5vw,80px)!important; }
@media(max-width:800px) {
 .pilot-world { mask-image:linear-gradient(to bottom,transparent 49%,#000 61%); -webkit-mask-image:linear-gradient(to bottom,transparent 49%,#000 61%); }
 .world-chapters section { left:6%;max-width:88%;top:7%;max-height:43%;overflow-y:auto; }
 .world-chapters h2,.world-chapters section:last-child h2 { font-size:clamp(28px,8vw,44px)!important;margin:12px 0; }
}
/* Keep the pilot introduction above its scene navigation at every desktop height. */
@media(min-width:801px) {
 .pilot-stage .pilot-hero__inner {
  position:absolute; inset:0 0 125px; width:88%; margin-inline:auto;
  padding-top:clamp(24px,5vh,64px); overflow-y:auto; pointer-events:none;
  scrollbar-width:thin;
 }
 .pilot-stage .pilot-hero__inner>div { max-width:57%; }
 .pilot-stage:not(.world-active) .pilot-hero__inner { pointer-events:auto; }
 .pilot-hero .pilot-stage h1 { font-size:clamp(42px,min(6vw,10vh),100px); }
 .pilot-stage .pilot-intro { margin-top:20px; }
 .pilot-stage .world-rail { bottom:70px; }
 .pilot-stage .pilot-skip { bottom:28px;left:6%; }
}
@media(min-width:801px) and (max-height:800px) {
 .pilot-stage .pilot-hero__inner { padding-top:20px; }
 .pilot-hero .pilot-stage h1 { font-size:clamp(36px,5vw,62px); }
 .pilot-stage .pilot-intro { font-size:14px!important;line-height:1.5;margin-top:14px; }
 .pilot-stage .pilot-badges { margin-top:14px;gap:8px; }
 .pilot-stage .pilot-badges span { font-size:11px;padding:7px 10px; }
}
/* Readable Live use case copy, scoped to Platform only. */
.pim-page #use-case .section-heading>p {
 font-size:clamp(16px,1.2vw,22px)!important;line-height:1.6;
 max-width:580px;
}
.pim-page #use-case .use-case-panel>ol strong {
 font-size:clamp(24px,2vw,34px)!important;line-height:1.25!important;
}
.pim-page #use-case .use-case-panel>ol p {
 font-size:clamp(16px,1.2vw,21px)!important;line-height:1.6;
}
.pim-page #use-case .use-case-panel>ol>li>span {
 font-size:clamp(30px,2.4vw,40px)!important;width:42px;
}
@media(max-width:800px) {
 .pim-page #use-case .section-heading>p,
 .pim-page #use-case .use-case-panel>ol p {font-size:15px!important;line-height:1.5;}
 .pim-page #use-case .use-case-panel>ol strong {font-size:21px!important;}
 .pim-page #use-case .use-case-panel>ol>li>span {font-size:27px!important;width:26px;}
}
/* Keep late scene calls to action inside the stage and above its controls. */
@media(min-width:801px) {
 .pilot-stage .world-chapters section {
  top:10%;bottom:135px;max-width:43%;overflow-y:auto;
  overscroll-behavior-y:auto;pointer-events:auto;scrollbar-width:thin;
 }
 .pilot-stage .world-chapters h2 {font-size:clamp(32px,min(4.5vw,7vh),80px)!important;margin:20px 0;}
 .demo-stage .demo-invitation {
  top:12%;bottom:105px;max-width:55%;box-sizing:border-box;
  overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;
 }
 .demo-stage .demo-invitation h2 {font-size:clamp(42px,min(7vw,10vh),110px);margin:18px 0;}
 .demo-stage .demo-invitation p {margin:12px 0;}
 .demo-stage .demo-primary {margin-top:12px;}
}
@media(min-width:801px) {
 .demo-stage .demo-invitation {bottom:210px;}
}
@media(min-width:801px) and (max-height:800px) {
 .demo-stage .demo-invitation {top:9%;padding:12px 20px;}
 .demo-stage .demo-invitation h2 {font-size:clamp(32px,6vh,48px);margin:10px 0;}
 .demo-stage .demo-invitation p {font-size:14px;line-height:1.4;}
 .demo-stage .demo-primary {padding:10px 20px;margin-top:6px;}
}
@media(max-width:800px) {
 .demo-stage .demo-invitation {top:10%;bottom:125px;max-height:none;box-sizing:border-box;}
}
/* The invitation must fit as a complete block, never crop its CTA. */
.demo-stage .demo-invitation {
 top:10%;bottom:auto;max-height:none;overflow:visible;
 padding:16px 20px 20px;box-sizing:border-box;
}
.demo-stage .demo-invitation h2 {
 font-size:clamp(32px,min(5.2vw,7vh),76px);line-height:1;
 margin:14px 0;
}
.demo-stage .demo-invitation p {font-size:16px;line-height:1.45;margin:12px 0;}
.demo-stage .demo-primary {padding:12px 22px;margin-top:10px;}
@media(max-width:800px) {
 .demo-stage .demo-invitation {top:9%;left:7%;margin-left:0;max-width:86%;padding:12px;}
 .demo-stage .demo-invitation h2 {font-size:clamp(28px,min(9vw,6vh),44px);margin:10px 0;}
 .demo-stage .demo-invitation p {font-size:14px;margin:10px 0;}
 .demo-stage .demo-primary {padding:10px 16px;margin-top:6px;gap:20px;}
}
@media(min-width:801px) and (max-height:800px) {
 .demo-stage .demo-invitation {top:8%;padding:12px 20px;}
 .demo-stage .demo-invitation h2 {font-size:clamp(30px,5.5vh,44px);margin:10px 0;}
 .demo-stage .demo-invitation p {font-size:14px;}
}
