/* The document canvas also paints the area exposed by touch rubber-banding.
   Keep the page's accepted white content surfaces on body unchanged. */
html[data-prefinal] {background:#020618;}
@media(pointer:fine) {
  html[data-prefinal] {overscroll-behavior-y:none;}
}

/* A composition overlay. Shared cards, button variants, shadows and clocks stay native. */
body[data-prefinal] .pf-hero-orbit.rd-footer-orbit {
  position:absolute;z-index:4;inset:0;width:100%;height:100%;min-height:0;pointer-events:none;
  margin:0;padding:0;background:transparent;border-radius:0;
}
body[data-prefinal] .pf-hero-orbit>.orbit {
  clip-path:inset(0 0 26% 0);
  mask-image:linear-gradient(transparent,#000 160px,#000 68%,transparent 74%);
}
body[data-prefinal] .pf-hero-orbit::before {background:linear-gradient(#020618,transparent);}
body[data-prefinal] .pf-hero-orbit::after {
  inset:68% 0 auto;height:12%;
  background:linear-gradient(transparent,rgb(108 83 177 / 30%) 45%,transparent);
}
body[data-prefinal] .pf-hero-orbit .orbit-photo .photo-frame img {transform:none;}
body[data-prefinal] .rd-light-story>#cases {margin-top:120px;}
body[data-prefinal] #cases h2 em {font-family:inherit;font-size:inherit;font-weight:inherit;font-style:italic;letter-spacing:inherit;color:inherit;}
body[data-prefinal] #cases .case-ink>svg {display:none;}
/* Let the native popover cover the headline while the empty orbit area passes
   pointer events through to the hero composer. Card buttons remain native. */
body[data-prefinal] .pf-hero-orbit .orbit-detail {z-index:10;pointer-events:auto;}
body[data-prefinal] .rd-hero-copy {pointer-events:none;}
body[data-prefinal] .rd-hero-copy :is(a,button,input,form) {pointer-events:auto;}
/* One existing secondary-text role for marketing copy on dark surfaces. */
body[data-prefinal] :is(.rd-hero-copy>p,.rd-creation-heading>p,.rd-delegate-heading>p,.rd-work-card p,.feature-landscape p) {
  color:var(--rd-text-soft);
}
/* The shared travelling highlight is white on a dark header. */
body[data-prefinal] .hero-header .navigation.is-tracking .nav-action.nav-current {color:var(--ink);}
/* The existing white variant keeps its dark foreground on every Prefinal surface. */
body[data-prefinal] .button.white {color:var(--ink);}
/* The tall transparent wrapper must pass clicks to the outgoing dashboard.
   Only its visible, non-inert stage may receive input. */
body[data-prefinal] .rd-delegate {pointer-events:none;}
body[data-prefinal] .rd-delegate-stage {pointer-events:auto;}

/* The complete closing background has the same sky palette, with no water plane. */
body[data-prefinal] .pf-closing {position:relative;isolation:isolate;overflow:visible;margin-top:120px;color:#fff;--closing-ink:#fff;--closing-muted:#d1d1df;}
body[data-prefinal] .pf-closing-background {position:absolute;inset:0;z-index:-1;pointer-events:none;}
body[data-prefinal] .pf-closing-background::after {content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,rgb(14 9 43 / 62%) 100%);}
body[data-prefinal] .pf-flat-water {position:absolute;inset:0;overflow:hidden;contain:strict;}
/* Identical full-sky fallback for reduced motion, coarse pointers and WebGL failure. */
body[data-prefinal] .pf-flat-water::before {content:'';position:absolute;inset:0;background:linear-gradient(180deg,#041040 0%,#31358d 50%,#6c53b1 75%,#cb93cd 100%);}
body[data-prefinal] .pf-flat-water canvas {display:block;width:100%;height:100%;opacity:0;}
body[data-prefinal] .pf-flat-water:is([data-water-mode="animated"],[data-water-mode="low"],[data-water-mode="paused"]) canvas {opacity:1;}
body[data-prefinal] .pf-flat-water:is([data-water-mode="animated"],[data-water-mode="low"],[data-water-mode="paused"])::before {opacity:0;}
body[data-prefinal] .pf-contact {position:relative;display:grid;place-items:center;width:100%;max-width:none;min-height:800px;margin:0;padding:80px 20px;border-radius:0;background:transparent;color:#fff;}
body[data-prefinal] .pf-contact::before,body[data-prefinal] .pf-contact::after {content:none;}
body[data-prefinal] .pf-contact .contact-copy {position:relative;z-index:3;width:min(540px,100%);padding:0;color:#fff;}
body[data-prefinal] .pf-contact .contact-heading>img {filter:none;}
/* Same 1360px/80px container as the footer divider. Reserve the entire drift
   and the shared branch-label overhang, instead of clipping interactive labels. */
body[data-prefinal] .pf-contact .rd-constellations {inset:0;height:auto;width:var(--rd-product-width);margin-inline:auto;}
body[data-prefinal] .pf-contact .rd-star-0 {top:15%;left:64px;}
body[data-prefinal] .pf-contact .rd-star-2 {top:15%;right:64px;}
body[data-prefinal] .pf-contact .rd-star-1 {top:auto;bottom:15%;left:64px;}
body[data-prefinal] .pf-contact .rd-star-3 {top:auto;bottom:15%;right:64px;}
/* Decorative marketing drift: transform only, linear, shared visibility and
   engagement pause remain in charge. Reduced motion uses the shared static role. */
body[data-prefinal] .pf-contact .rd-star-drift {animation-name:pf-constellation-drift;animation-duration:16s;}
body[data-prefinal] .pf-contact .rd-star-1 .rd-star-drift {animation-duration:18s;}
body[data-prefinal] .pf-contact .rd-star-2 .rd-star-drift {animation-duration:17s;}
body[data-prefinal] .pf-contact .rd-star-3 .rd-star-drift {animation-duration:20s;}
@keyframes pf-constellation-drift {
  0%,100% {transform:translate3d(-32px,0,0);}
  25% {transform:translate3d(0,-20px,0);}
  50% {transform:translate3d(32px,0,0);}
  75% {transform:translate3d(0,20px,0);}
}
body[data-prefinal] .pf-closing .site-footer {position:relative;z-index:1;margin:0;background:transparent;}
body[data-prefinal] .pf-closing .site-footer::before {content:'';border-top:1px solid rgb(255 255 255 / 20%);}
body[data-prefinal] .closing-canvas {display:none;}

@media(max-width:1100px),(prefers-reduced-motion:reduce) {
  body[data-prefinal] .rd-intro-stage {min-height:900px;}
  body[data-prefinal] .pf-hero-orbit.rd-footer-orbit {
    display:block;top:calc(26svh + 270px);bottom:auto;height:260px;min-height:0;padding:0;
  }
  body[data-prefinal] .pf-hero-orbit>.orbit {
    position:relative;inset:auto;display:flex;align-items:flex-start;gap:16px;
    width:100%;height:100%;padding:20px 20px 28px;overflow-x:auto;
    scroll-snap-type:x proximity;scrollbar-width:thin;mask-image:none;clip-path:none;
  }
  body[data-prefinal] .pf-hero-orbit .orbit-item {position:relative;flex:none;scroll-snap-align:center;}
  body[data-prefinal] .pf-hero-orbit .orbit-detail {position:fixed;top:auto;left:50%;bottom:24px;transform:translateX(-50%)!important;}
  body[data-prefinal] .pf-contact {min-height:900px;}
  body[data-prefinal] .pf-contact .rd-star-0,body[data-prefinal] .pf-contact .rd-star-2 {top:8%;}
  body[data-prefinal] .pf-contact .rd-star-1,body[data-prefinal] .pf-contact .rd-star-3 {bottom:8%;}
}
@media(max-width:760px) {
  body[data-prefinal] .rd-light-story>#cases {margin-top:80px;}
  body[data-prefinal] .rd-intro-stage {min-height:960px;}
  body[data-prefinal] .rd-hero-copy {top:22svh;}
  /* Mobile intro also contains the full product frame; percentages would
     anchor the rail to that combined height, below the first screen. */
  body[data-prefinal] .pf-hero-orbit.rd-footer-orbit {top:calc(22svh + 270px);height:160px;}
  body[data-prefinal] .pf-closing {margin-top:80px;}
  body[data-prefinal] .pf-contact {display:flex;flex-direction:column;min-height:0;padding:80px 20px 40px;gap:40px;}
  body[data-prefinal] .pf-contact .contact-copy {flex:none;}
  body[data-prefinal] .pf-contact .rd-constellations {position:relative;order:1;inset:auto;height:190px;width:100%;}
  body[data-prefinal] .pf-contact .rd-star-cluster {inset:auto;}
  body[data-prefinal] .pf-contact .rd-star-drift {inset:0 10px;animation-name:pf-constellation-drift-mobile;}
  body[data-prefinal] .pf-contact .sky-label {white-space:normal;}
}
@keyframes pf-constellation-drift-mobile {
  0%,100% {transform:translate3d(-8px,0,0);}
  25% {transform:translate3d(0,-5px,0);}
  50% {transform:translate3d(8px,0,0);}
  75% {transform:translate3d(0,5px,0);}
}
@media(prefers-reduced-motion:reduce) {
  body[data-prefinal] .pf-flat-water canvas {display:none;}
  body[data-prefinal] .pf-contact .rd-star-drift {animation:none;}
}
