/* VURZO r27: one continuous film. Every clip dips into the page color over a long, eased fade (the Apple and Polestar way); clips never double expose and no strip or sliver of video sits mid page. */
/* 1. hero: text side shade strong enough for 4.5:1 on desktop light */
@media (min-width:901px){html[data-theme] body .hero .cine-video:after,html[data-theme][dir=rtl] body .hero .cine-video:after{
 background:linear-gradient(var(--sc-a,90deg),rgba(10,9,18,.8) 0%,rgba(10,9,18,.78) 44%,rgba(10,9,18,.5) 58%,rgba(10,9,18,.16) 74%,rgba(10,9,18,0) 88%),linear-gradient(0deg,rgba(10,9,18,.42) 0%,rgba(10,9,18,.26) 26%,rgba(10,9,18,0) 52%)!important}}
/* 2. hero bottom: the city fades fully into the page color before the hero edge */
html[data-theme] body .hero .cine-video{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - 260px),rgba(0,0,0,.75) calc(100% - 190px),rgba(0,0,0,.35) calc(100% - 128px),rgba(0,0,0,.1) calc(100% - 92px),transparent calc(100% - 66px))!important;mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - 260px),rgba(0,0,0,.75) calc(100% - 190px),rgba(0,0,0,.35) calc(100% - 128px),rgba(0,0,0,.1) calc(100% - 92px),transparent calc(100% - 66px))!important}
/* 3. Responsive platform sky: percentage stops stay ordered at all viewport heights.
   The old px and calc(100% - px) stops crossed on shorter screens, introducing
   an artificial hard line through the cloud video. Keep a single smooth dissolve. */
html[data-theme] body #platform .platform-backdrop{
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 18%,rgba(0,0,0,.2) 28%,rgba(0,0,0,.6) 38%,#000 50%,#000 68%,rgba(0,0,0,.65) 80%,rgba(0,0,0,.2) 92%,transparent 100%)!important;
 mask-image:linear-gradient(180deg,transparent 0%,transparent 18%,rgba(0,0,0,.2) 28%,rgba(0,0,0,.6) 38%,#000 50%,#000 68%,rgba(0,0,0,.65) 80%,rgba(0,0,0,.2) 92%,transparent 100%)!important;
}
/* 4. Preserve the original animated violet silk, with room for its folds on phones.
   The existing theme scrim protects the tool names; feathering blends into the page. */
html[data-theme] body #solutions:before,html[data-theme] body #technology:before,html[data-theme] body #questions:before,html[data-theme] body #technology .section-heading:before{display:none!important}
/* 5. closing clouds rise out of the page color over a long fade */
html[data-theme] body .closing .closing-video{-webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 80px,rgba(0,0,0,.2) 180px,rgba(0,0,0,.6) 300px,#000 430px,#000 calc(100% - 306px),transparent calc(100% - 24px))!important;mask-image:linear-gradient(180deg,transparent 0,transparent 80px,rgba(0,0,0,.2) 180px,rgba(0,0,0,.6) 300px,#000 430px,#000 calc(100% - 306px),transparent calc(100% - 24px))!important}
/* 3b. Portrait/touch layouts use the same ordered, height-independent fade. */
@media (max-width:900px){
 html[data-theme] body #platform .platform-backdrop{
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 12%,rgba(0,0,0,.25) 22%,rgba(0,0,0,.65) 34%,#000 45%,#000 68%,rgba(0,0,0,.7) 78%,rgba(0,0,0,.2) 90%,transparent 100%)!important;
  mask-image:linear-gradient(180deg,transparent 0%,transparent 12%,rgba(0,0,0,.25) 22%,rgba(0,0,0,.65) 34%,#000 45%,#000 68%,rgba(0,0,0,.7) 78%,rgba(0,0,0,.2) 90%,transparent 100%)!important;
 }
}

/* r28: composited-video seam guard. The scene must hand off to a solid
   background without a 1px media sliver at fractional browser zoom. */
html[data-theme] body #platform.reference-platform{
  overflow:hidden!important; /* fallback for browsers without overflow:clip */
  overflow:clip!important;
}
html[data-theme] body #platform.reference-platform::before{
  content:"";
  display:block;
  position:absolute;
  inset:auto 0 0;
  height:12px;
  background:var(--bg);
  pointer-events:none;
  z-index:4;
}
html[data-theme] body main > #solutions{
  position:relative;
  z-index:2;
  margin-block-start:-12px!important;
  padding-block-start:calc(clamp(88px,9vw,136px) + 12px)!important;
  background-color:var(--bg)!important;
  border-block-start:0!important;
  box-shadow:none!important;
}

/* r29: soften the platform's exit into the page. The edge matte still seals
   subpixel gaps; this short fade lives BEHIND the heading (z-index:1) so no
   copy is faded or washed out on small and short viewports. */
html[data-theme] body #platform .platform-stage::after {
  content: "";
  display: block;
  position: absolute;
  inset: auto 0 0;
  height: clamp(72px, 12svh, 140px);
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 0;
  pointer-events: none;
}
