/* The service-map image fills replace illustrative UI; scene geometry stays in motion.css. */
.bi-refined .service-story-screen {
  position:absolute;
  inset:0;
  z-index:1;
  margin:0;
  background:var(--off,#f5f5ef);
  pointer-events:none;
  visibility:hidden;
}
.bi-refined .service-story-screen img,
.bi-refined .service-stage-capture img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.bi-refined .workspace:not(.interactive) .service-story-screen { visibility:visible; opacity:var(--story-matrix,1); }
.bi-refined .workspace:not(.interactive) :is(.workspace-bar,.workspace-body > aside,.workspace-top,.files) { opacity:var(--story-documents,0); }
body.bi-refined .workspace:not(.interactive) .presentation {
  position:absolute;
  inset:0;
  z-index:2;
  height:100%;
  margin:0;
  transform:none;
  pointer-events:none;
}
.bi-refined .workspace:not(.interactive) .presentation-frame {
  display:grid;
  grid-template-rows:38px minmax(0,1fr);
  background:var(--off,#f5f5ef);
}
body.bi-refined .workspace:not(.interactive) .presentation-frame h3 {
  display:flex;
  align-items:center;
  padding:0 18px;
  margin:0;
  font-size:17px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:-.02em;
  background:#fff;
}
.bi-refined .service-stage-capture { min-height:0; }
.bi-refined .workspace.interactive .service-story-screen { display:none; }

/* Three purposeful routes, each supported by a full source screen. */
.bi-refined .guideway-product.home-source-capture {
  display:block;
  margin:0;
  padding:0;
  overflow:hidden;
  border-radius:0;
  background:transparent;
}
.bi-refined .home-source-capture img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1366 / 900;
  object-fit:contain;
}
.bi-refined .home-source-capture figcaption {
  margin-top:12px;
  color:var(--bi-muted);
  font-size:13px;
  line-height:1.6;
}
.bi-refined .guideway-card:hover .home-source-capture figcaption { color:var(--bi-accent); }

/* Mobile captures retain their original 780 × 1688 ratio inside the existing canvases. */
.bi-refined .screen-ui {
  display:block;
  padding:0;
  gap:0;
  background:var(--off,#f5f5ef);
}
.bi-refined .phone-screen {
  padding:0;
  background:var(--off,#f5f5ef);
}
.bi-refined .home-mobile-capture {
  display:block;
  flex:none;
  width:100%;
  height:100%;
  object-fit:contain;
}
.bi-refined .outro-web-body {
  display:flex;
  align-items:flex-start;
  height:330px;
  padding:0;
  background:var(--off,#f5f5ef);
}
.bi-refined .outro-web-body > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1366 / 900;
  object-fit:contain;
}
.bi-refined .outro-web-bar { gap:12px; }
.bi-refined .outro-web-bar > span { white-space:nowrap; }
.bi-refined .tour-static article {
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
}
.bi-refined .tour-static article > img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:780 / 1688;
  object-fit:contain;
  margin-bottom:24px;
}
.bi-refined .tour-static article > p { font-size:16px; line-height:1.7; }
@media(max-width:800px) {
  body.bi-refined .workspace:not(.interactive) .presentation-frame h3 { font-size:15px; padding-inline:12px; }
  .bi-refined .outro-web-body { height:245px; }
  .bi-refined .home-source-capture figcaption { font-size:13px; }
  body.bi-refined.static-motion .tour-static { gap:44px; }
  .bi-refined .tour-static article > img { max-width:320px; margin-inline:auto; }
}

/* Keep mobile document cards in the same crossfade as the desktop scene. */
.mobile-visual-home .workspace[data-story-chapter]:not([data-story-chapter="0"]):not(.interactive) .files { opacity:var(--story-documents,0); }

/* The moving scene is a single landscape canvas, with complete aligned screens. */
body.bi-refined .workspace:not(.interactive) :is(.workspace-bar,.workspace-body > aside,.workspace-top,.files) { visibility:hidden; opacity:0 !important; }
body.bi-refined .workspace:not(.interactive) .service-story-screen { visibility:visible; opacity:var(--story-matrix,1); transition:none; }
body.bi-refined .workspace:not(.interactive) .presentation-frame { display:block; background:transparent; transition:none; }
body.bi-refined .workspace:not(.interactive) .presentation-frame h3 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
body.bi-refined .workspace:not(.interactive) .service-stage-capture { width:100%; height:100%; }
body.bi-refined .workspace:not(.interactive) .presentation { transform:none !important; }
