/* Mobile composition layer. Keep this after page styles: one viewport contract,
   with independent reading and artwork areas. Desktop choreography is unchanged. */
@media (max-width: 800px) {
  :root { --mobile-top:72px; --mobile-dock:calc(64px + env(safe-area-inset-bottom,0px)); --mobile-stage:calc(100svh - var(--mobile-top) - var(--mobile-dock)); }
  html { scroll-padding-top:calc(var(--mobile-top) + 16px); scroll-padding-bottom:calc(var(--mobile-dock) + 20px); }
  body { padding-bottom:var(--mobile-dock)!important; }
  .site-header .nav { height:72px; min-height:72px; }
  .pilot-announcement,.pilot-announcement.is-compact { position:sticky!important; top:var(--mobile-nav,72px)!important; z-index:95; }
  .layout-utility-row { height:var(--mobile-dock); min-height:var(--mobile-dock); padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)); gap:8px; }
  .layout-utility-row button { min-height:44px; max-height:none; font-size:12px; }
  .layout-utility-row :is(.preview-controls,.motion-controls,.concept-controls) { padding:0; }
  .layout-utility-row :is(.preview-controls,.motion-controls,.concept-controls)>span { display:none; }
  .layout-utility-row #faq-help-panel { max-height:calc(100dvh - var(--mobile-top) - var(--mobile-dock) - 24px); width:min(360px,calc(100vw - 24px)); overflow-y:auto; }
  .mobile-nav-dialog { box-sizing:border-box; max-height:calc(100dvh - 16px); overflow:auto; padding:20px; }
  .mobile-nav-links a { min-height:44px; box-sizing:border-box; }
  .mobile-nav-links details { border-bottom:1px solid #d5e1ed; }
  .mobile-nav-links summary { padding:14px 0; cursor:pointer; font-size:20px; font-weight:700; }
  .mobile-nav-links details a { padding-left:16px; font-size:15px; }
  main :is(input:not([type=checkbox]):not([type=radio]),textarea,select),.contactForm :is(input,select,textarea) { font-size:16px!important; scroll-margin-block:100px; }
  main :is(img,video) { max-width:100%; }
  main :is(h1,h2,h3,p,li),footer { overflow-wrap:break-word; }
  main :is(.container,.section-heading,.section-head) { min-width:0; }
  .contactForm,.pilot-card { min-width:0; }
  .contactForm ul,.pilot-fields { grid-template-columns:minmax(0,1fr)!important; }
  .pilot-check { align-items:flex-start; }
  .pilot-check input { flex:0 0 auto; }
  .pilot-agreement__card { overflow-wrap:anywhere; }
  .resource-grid,.resource-cards { grid-template-columns:minmax(0,1fr)!important; }
  footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column:1/-1; }

  /* Sticky scenes share the actual usable viewport, rather than desktop minima. */
  .hero-pin,.capability-pin,.film-stage,.film-viewport,.tc-stage,.company-pin,.collab-stage,.demo-stage,.pilot-stage,.faq-hero-pin,.fc-stage,
  #leadership>.container,.pim-page #architecture>.container,.pim-page #workflow.pipeline>.container,.pim-page #use-case>.container,
  .solution-details.depth-enabled .depth-stage {
    top:var(--mobile-top)!important; height:var(--mobile-stage)!important; min-height:0!important; max-height:none; box-sizing:border-box;
  }
  .hero-pin { display:flex; flex-direction:column; padding:16px 20px 18px; gap:12px; }
  .hero-meta { margin:0; flex:none; }
  .huge-title { margin:0; width:100%; font-size:clamp(30px,8.6vw,54px); flex:none; }
  .row-three { padding-left:3vw; }
  .layout-art-boundary { position:relative; inset:auto; flex:1; min-height:70px; width:100%; overflow:visible; }
  .layout-art-boundary .sculpture-stage { inset:0; width:100%; height:100%; }
  .hero-bottom { position:relative; inset:auto; display:block; flex:none; }
  .hero-copy { width:100%; max-width:none; }
  .hero-copy>p { font-size:12px; line-height:1.5; margin-bottom:10px; }
  .hero-attributes { font-size:8px; }
  .kinetic-button { min-height:44px; padding:9px 18px; box-sizing:border-box; }
  .floating-tag { display:none; }
  .capability-pin { padding:18px 0 12px; display:flex; flex-direction:column; }
  .capability-header { margin-bottom:12px; flex:none; }
  .capability-header h2 { font-size:26px; }
  .capability-header>p { margin-top:8px; font-size:12px; line-height:1.5; }
  .rail-window { flex:1; min-height:0; }
  .capability-rail { height:100%; }
  .capability-scene { height:100%; min-height:0; max-height:none; padding:18px; }
  .capability-scene .scene-copy { max-height:65%; overflow:auto; scrollbar-width:thin; }
  .capability-scene .scene-copy h3 { font-size:25px; margin:10px 0; }
  .capability-art { height:32%; }
  .rail-controls { flex:none; padding-top:10px; }
  .expHeader,.expText,.phoneShell { min-width:0; }
  .phoneShell { width:min(280px,80vw); margin-inline:auto; }

  /* Platform keeps its changing 3D world below the current text. */
  .film-stage .scene-copy-area { top:20px; left:6%; width:88%; height:49%; overflow:auto; scrollbar-width:thin; }
  .film-stage .scene-copy h1,.film-stage .scene-copy h2 { font-size:clamp(25px,7.2vw,38px)!important; margin-bottom:12px!important; }
  .film-stage .scene-copy p { font-size:13px; line-height:1.5; }
  .scene-kicker { margin-bottom:10px; }
  .film-stage .film-world { top:73%; }
  .film-stage .film-bottom { bottom:8px; }
  .film-stage .chapter-nav { overflow-x:auto; flex-wrap:nowrap; }
  .film-stage .chapter-nav button { min-height:44px; flex:1 0 35px; }
  .pim-page #architecture>.container,.pim-page #workflow.pipeline>.container,.pim-page #use-case>.container { padding:20px 6%!important; }
  #architecture .section-heading h2,#use-case .section-heading h2,#workflow.pipeline>.container>h2 { font-size:27px!important; margin:10px 0!important; }
  #architecture .section-heading>p,#use-case .section-heading>p { font-size:13px!important; margin-top:8px!important; line-height:1.5; }
  .architecture-camera { top:48%; bottom:75px; }
  #workflow .pipeline-grid { top:32%!important; max-height:32%; overflow-y:auto; }
  #workflow.pipeline .pipeline-grid article h3 { font-size:30px!important; margin-bottom:8px!important; }
  #workflow .pipeline-grid article p { font-size:13px!important; line-height:1.5!important; }
  #use-case .use-case-panel>ol { top:42%; max-height:24%; overflow:auto; }
  .case-device { top:78%; height:calc(var(--mobile-stage)*.36); width:calc(var(--mobile-stage)*.17); }
  #use-case .scan-report { top:60%; max-height:37%; }

  /* Solutions: metadata, readable copy, illustration, and chapter buttons. */
  .film-viewport .film-topline { top:16px; font-size:8px; }
  .film-viewport .film-copy,[data-solution] .film-copy { top:44px; bottom:auto; height:51%; overflow-y:auto; scrollbar-width:thin; pointer-events:auto; }
  .film-viewport .chapter { width:100%; }
  .film-viewport .chapter h1 { font-size:clamp(25px,7vw,36px)!important; margin-bottom:12px; }
  .film-viewport .chapter p { font-size:13px; line-height:1.55; max-width:100%; margin-bottom:12px; }
  .film-viewport .chapter-eyebrow { margin-bottom:10px; }
  .film-viewport .object-label { bottom:66px; font-size:8px; }
  .film-viewport .film-bottom { bottom:6px; }
  .film-viewport .chapter-nav { flex-wrap:nowrap; overflow-x:auto; width:100%; }
  .film-viewport .chapter-nav button { flex:1 0 38px; min-width:0; min-height:44px; padding:6px 0; font-size:9px; }
  .film-viewport .chapter-nav button span { margin-bottom:4px; }
  .solution-details :is(.sub-hero-grid,.split-layout,.team-layout,.case-panel,.es-evidence-grid,.we-early-grid) { grid-template-columns:minmax(0,1fr)!important; }
  .solution-details.depth-enabled .depth-track>.depth-stop { top:20px; max-height:48%; overflow-y:auto; justify-content:flex-start!important; }
  .solution-details.depth-enabled .depth-stop .depth-number { font-size:28px!important; margin-bottom:8px; }
  .solution-details.depth-enabled .depth-stop :is(b,h3) { font-size:23px!important; }
  .solution-details .detail-canvas { clip-path:inset(52% 0 0); }
  .solution-details .section-head h2 { font-size:30px!important; }
  .solution-details :is(.scan-report,.trust-console,.matrix,.we-preview) { max-width:100%; overflow:auto; }
  .solution-preview-links a { min-height:44px; display:flex; align-items:center; }

  /* Technology's vector artwork and live app share one lower framing box. */
  .tc-panels { top:40px!important; left:6%!important; width:88%!important; height:50%!important; overflow-y:auto; scrollbar-width:thin; z-index:3; }
  .tc-copy { inset:0; max-height:none; }
  .tc-copy h1,.tc-copy h2,.tc-detail h3,.tc-detail b,.tc-detail strong { font-size:clamp(24px,6.7vw,32px)!important; line-height:1.1!important; margin:10px 0!important; }
  .tc-copy p,.tc-copy small,.tc-copy article>span { font-size:13px!important; line-height:1.5!important; }
  .tc-copy .eyebrow { margin-bottom:8px!important; font-size:10px!important; }
  .tc-copy .actions { margin-top:10px; }
  .tc-copy .actions a { font-size:11px; min-height:44px; padding:10px; box-sizing:border-box; }
  .tc-stage .crafted-art,.tc-stage[data-scene="3"] .crafted-art { top:56%; bottom:25px; left:0; right:0; width:100%; height:auto; }
  .tc-stage:after,.tc-stage.tc-dark:after { background:none; }
  .tc-topline { top:14px; font-size:7px; }
  .tc-bottom { bottom:8px; font-size:7px; }

  .company-pin { display:flex; flex-direction:column; padding:16px 5% 18px; gap:12px; }
  .hero-note { padding:0; }
  .company-hero h1 { font-size:10vw; margin:0; flex:none; }
  .company-object { position:relative; inset:auto; width:85%; height:auto; min-height:100px; flex:1; align-self:center; }
  .team-moment { width:90%; height:85%; }
  .team-moment img { height:calc(100% - 32px); object-fit:cover; }
  .mission-foot { position:relative; inset:auto; max-width:none; flex:none; }
  .mission-foot p { margin:0; font-size:12px; line-height:1.5; }
  .award-card,.value-cards li { position:relative!important; top:auto!important; min-height:0; height:auto; }
  .award-card { padding:25px; }
  #leadership>.container { padding:20px 0; display:flex; flex-direction:column; }
  .team-head { flex:none; margin-bottom:14px; }
  .team-head h2 { font-size:28px; }
  .team-slider { min-height:0; flex:1; }
  .team-track { height:100%; }
  .team-slide { height:100%; overflow-y:auto; box-sizing:border-box; }
  .team-photo { height:120px!important; }
  .collab-stage>.container { padding:20px 0 62px; display:flex; flex-direction:column; gap:16px; }
  #collaboration .collab-head h2 { font-size:29px; margin-bottom:12px; }
  #collaboration .collab-head p { font-size:13px; line-height:1.5; }
  #collaboration .collab-flow { width:100%; flex:1; min-height:0; height:auto; margin:0; }
  #collaboration .collab-flow li { padding:20px; overflow-y:auto; }
  #collaboration .collab-flow img { width:30px; height:30px; margin-bottom:12px; }
  #collaboration .collab-flow h3 { font-size:25px; margin-bottom:10px; }
  #collaboration .collab-flow p { font-size:13px; }
  .collab-select { bottom:8px; padding-top:6px; }
  .collab-select button { min-height:44px; }

  .demo-meta { top:18px; }
  .demo-title { top:12%; font-size:17vw; }
  .demo-art { top:29%; height:53%; }
  .demo-hero-foot { bottom:18px!important; }
  .demo-invitation { top:15%; max-width:86%; padding:18px; max-height:75%; overflow:auto; }
  .demo-invitation h2 { font-size:44px; margin:16px 0; }
  .demo-invitation p { font-size:14px; }
  .contactContainer { padding:48px 6%!important; }
  .contactDesc h2 { font-size:40px!important; }
  .pilot-hero__inner { padding-top:20px; }
  .pilot-hero h1 { font-size:10.5vw; }
  .pilot-intro { font-size:13px!important; line-height:1.5; margin-top:12px; }
  .pilot-badges { margin-top:12px; gap:6px; }
  .pilot-device { top:53%; height:34%; right:5%; width:90%; }
  .world-chapters section { top:7%; max-width:88%; max-height:49%; overflow:auto; }
  .world-chapters h2,.world-chapters section:last-child h2 { font-size:clamp(32px,10vw,48px)!important; margin:12px 0; }
  .world-chapters p { font-size:13px; padding:8px 12px; }
  .world-chapters a { min-height:44px; padding:10px 18px; box-sizing:border-box; margin-top:8px; }
  .world-rail { bottom:44px; padding-bottom:8px; font-size:8px; }
  .pilot-skip { bottom:10px; min-height:30px; }
  .pilot-content { padding-top:48px; }

  .faq-intro.container { top:22px; }
  .faq-intro h1 { font-size:32px; margin:14px 0; max-width:100%; }
  .faq-intro p { font-size:13px; line-height:1.5; max-width:100%; }
  .faq-jump { margin-top:14px; }
  .faq-jump a { min-height:44px; padding:10px 7px; box-sizing:border-box; display:flex; align-items:center; font-size:10px; }
  .faq-sculpture { top:58%; bottom:40px; }
  .faq-hero-foot { bottom:12px; }
  .faq-group-heading { bottom:8%; }
  .faq-group h2 { font-size:34px; }
  .faq-search-field input { min-width:0; width:100%; }
  .faq-answer { overflow-wrap:anywhere; }
}
/* Short landscape screens need normal document flow for long reading panels. */
@media(max-width:800px) and (max-height:450px) {
  :root { --mobile-stage:600px; }
  .hero-pin,.capability-pin,.film-stage,.film-viewport,.tc-stage,.company-pin,.collab-stage,.demo-stage,.pilot-stage,.faq-hero-pin,.fc-stage { top:calc(100svh - 600px - var(--mobile-dock))!important; }
}
/* Static states must expose every panel, including when reduced motion is set. */
@media(max-width:800px) {
  .tc-static .tc-stage,.paused .capability-pin,.paused .collab-stage,.paused #leadership>.container,
  .paused #architecture>.container,.paused #workflow.pipeline>.container,.paused #use-case>.container,
  .depth-static .solution-details.depth-enabled .depth-stage { height:auto!important; min-height:0!important; top:0!important; }
  .tc-static .tc-panels { position:relative; inset:auto!important; height:auto!important; padding:25px 6%; width:100%!important; box-sizing:border-box; overflow:visible; }
  .tc-static .tc-copy { position:relative; inset:auto; }
  .paused .capability-scene { min-height:330px; }
  .paused .collab-stage>.container,.paused #collaboration .collab-flow { display:block; }
  .paused #collaboration .collab-flow li { min-height:240px; margin-top:20px; }
  .depth-static .solution-details.depth-enabled .depth-track>.depth-stop { max-height:none; overflow:visible; }
}

@media(max-width:800px){
 .film-stage .film-world{top:65%}
 .company-object{margin-bottom:26px;scale:.88;transform-origin:center}
 .pilot-device{top:65%;height:22%}
 .page-hero .gradient{background:linear-gradient(90deg,#176b96,#197854);background-clip:text;-webkit-background-clip:text;color:transparent}
 .page-hero p{color:#52677e}
 .film-viewport .object-label{background:inherit;z-index:2;line-height:1.5}
}

@media(max-width:800px){
 .mobile-nav-links details a{justify-content:flex-start;gap:14px;line-height:1.4;text-decoration:none}
 .mobile-nav-links details a>span{font-size:11px;color:#44728d;flex:none}
 .mobile-nav-links details a b{font-size:15px;display:block}
 .mobile-nav-links details a small{font-size:11px;color:#52677e;display:block;font-weight:400}
 .mobile-nav-links details a[aria-current=page]{color:#0a718c}
}

/* Mobile review: distinct step markers and a touch-operated team carousel. */
@media(max-width:800px){
 .solution-details.depth-enabled .depth-stop .depth-number{display:block!important;position:static!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:40px!important;line-height:1.1!important;color:#1b3c74!important;letter-spacing:-.04em!important;flex:none!important}
 .solution-details.depth-enabled .detail-night .depth-stop .depth-number{color:#a7efff!important}
 .ms-steps.depth-track>.depth-stop>span:not(.depth-number){display:none!important}
 #leadership{height:auto!important;padding:50px 0!important}
 #leadership>.container{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;overflow:visible!important}
 #leadership .team-slider{position:relative;overflow:visible!important;padding-bottom:58px}
 #leadership .team-track{width:100%!important;transform:none!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;gap:18px!important;padding:12px 5% 24px!important;height:auto!important;box-sizing:border-box;touch-action:pan-x pan-y;scrollbar-width:thin}
 #leadership .team-slide{flex:0 0 88%!important;width:88%!important;height:auto!important;overflow:visible;scroll-snap-align:center;transform:none!important}
 #leadership .team-arrow{display:flex!important;position:absolute;top:auto!important;bottom:0;transform:none!important;width:44px;height:44px;align-items:center;justify-content:center;z-index:3}
 #leadership [data-team-prev]{left:calc(50% - 52px)!important}
 #leadership [data-team-next]{left:calc(50% + 8px)!important;right:auto!important}
}

@media(max-width:800px){#leadership .team-track{flex-direction:row!important;flex-wrap:nowrap!important;max-height:none!important;flex:none!important}#leadership .team-slider{display:block!important;width:100%}.resources-motion .resource-pause{order:-1;margin-right:auto;border:1px solid #a9c9dc;border-radius:20px;background:#f4fafc;color:#203573;padding:10px 16px}}

/* Platform mobile: measured copy, then a clipped art region with a small gap. */
.film-art-slot{display:contents}
@media(max-width:800px){
 body:not(.paused) .film-stage .scene-copy-area{height:var(--film-copy-height,220px);}
 .film-stage .film-art-slot{display:block;position:absolute;left:0;right:0;overflow:hidden;overflow:clip;pointer-events:none;z-index:2;}
 .film-art-slot .film-world{left:50%;}
 .paused .film-art-slot{display:none;}
}
