/* Original spatial details. The scrollcraft engine remains unchanged. */
.hero {
  --scene-exit: 0;
}
.contour-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-contours {
  z-index: -1;
  opacity: 0.85;
  mask-image: linear-gradient(90deg, transparent 27%, #000 55%);
}
.hero-grid {
  transform: translateY(calc(var(--scene-exit) * 25px));
  opacity: calc(1 - var(--scene-exit) * 0.32);
}
.hero-visual {
  pointer-events: auto;
}
.hero-grid-floor {
  opacity: 0.5;
}
.assembly-membrane {
  position: absolute;
  inset: -10px;
  border: 1px solid #c2bad566;
  border-radius: 29px;
  transform: translateZ(calc(var(--spread) * var(--layer-level)));
  background: linear-gradient(135deg, #e9ddff0a, #beb3d003 60%, #dfd9ef1a);
  box-shadow: 1px 2px 0 #c4b4e222;
  backface-visibility: visible;
  pointer-events: none;
}
.assembly-membrane::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed #d8c6ef33;
  border-radius: 23px;
}
.assembly-membrane .plate-circuit {
  color: #c9bbdf;
  opacity: 0.2;
}
.assembly-main .assembly-membrane {
  border-color: #92879a66;
  background: #ffffff16;
}
.assembly-main .assembly-membrane .plate-circuit {
  color: #766284;
  opacity: 0.28;
}
.plate-top::after {
  background-image:
    linear-gradient(110deg, transparent 25%, #fff2 43%, transparent 58%),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 3px,
      #ffffff06 4px
    );
}
.recognition {
  position: relative;
}
.recognition::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 90px;
  left: 3%;
  right: 3%;
  border: 1px solid #75708355;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  background: #25232d;
  transform: translateY(54px);
}
.installation {
  z-index: 1;
  box-shadow: 0 -10px 35px #00000016;
}
.installation-stage {
  isolation: isolate;
  background-image: radial-gradient(
    ellipse at 36% 55%,
    #ffffff 0%,
    #efeff300 58%
  );
}
.installation-stage::before {
  content: "";
  position: absolute;
  inset: 12% 0 6%;
  z-index: -1;
  background-image:
    linear-gradient(#55526909 1px, transparent 1px),
    linear-gradient(90deg, #55526909 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 35% 58%, #000, transparent 65%);
  pointer-events: none;
}
.installation-visual {
  isolation: isolate;
}
.assembly-main {
  z-index: 1;
}
.assembly-guide {
  z-index: 2;
}
.connection-network {
  position: absolute;
  width: 125%;
  height: 116%;
  left: -12.5%;
  top: -8%;
  color: #87739e;
  opacity: calc(var(--connect, 0) * 0.75);
  transform: scale(var(--network-scale, 0.94));
  pointer-events: none;
}
.network-tracks path {
  stroke-dasharray: 1;
  stroke-dashoffset: var(--network-dash, 1);
}
.network-ports {
  opacity: var(--connect, 0);
  fill: #f1eef7;
}
.assembly-shadow {
  position: absolute;
  width: 62%;
  height: 24%;
  left: 25%;
  bottom: 6%;
  background: radial-gradient(ellipse, #52476122, transparent 70%);
  transform: rotate(-17deg);
  opacity: calc(0.2 + var(--connect, 0) * 0.8);
}
.workflow-example {
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(135deg, #f4f1fa, #e6e1ef);
  box-shadow: 0 16px 40px #34244208;
}
.workflow-example::before,
.workflow-example::after {
  content: "";
  position: absolute;
  border: 1px solid #cec7da;
  border-radius: inherit;
  background: #e8e4ef;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.workflow-example::before {
  transform: translate(10px, 10px);
}
.workflow-example::after {
  transform: translate(5px, 5px);
  background: #eeebf5;
}
.workflow-example > * {
  position: relative;
  z-index: 1;
}
.workflow-diagram {
  margin-top: 27px;
}
.workflow-diagram svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.workflow-rail {
  stroke: #c9bfd9;
  stroke-width: 1;
}
.workflow-trace {
  stroke: #8e65c4;
  stroke-width: 1.5;
  stroke-dasharray: 36 400;
  animation: workflow-signal 6s linear infinite;
}
.workflow-node rect {
  fill: #f7f5fc;
  stroke: #cbc3d7;
}
.workflow-node path {
  stroke: #807189;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workflow-node-ai rect {
  fill: #302639;
  stroke: #79618b;
}
.workflow-node-ai circle {
  stroke: #bda0e5;
  stroke-width: 2;
}
.workflow-node-ai path {
  stroke: #f4eaff;
  stroke-width: 2;
}
.workflow-path {
  margin: 0 0 25px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.workflow-path li {
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.workflow-path li:first-child {
  justify-content: flex-start;
  text-align: left;
}
.workflow-path li:last-child {
  justify-content: flex-end;
  text-align: right;
}
.workflow-path li:not(:last-child)::after {
  display: none;
}
@keyframes workflow-signal {
  from {
    stroke-dashoffset: 36;
  }
  to {
    stroke-dashoffset: -400;
  }
}
.approach {
  overflow: clip;
  isolation: isolate;
  box-shadow: 0 -12px 0 #d0cbd966;
}
.approach-contours {
  z-index: -1;
  opacity: 0.33;
  transform: rotate(180deg);
  mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.approach-layout {
  position: relative;
  z-index: 1;
}
.steps li {
  background: linear-gradient(90deg, #18191f00, #18191f80);
}
.invitation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.invitation > div:not(.invitation-layers):not(.invitation-mark),
.invitation > a {
  position: relative;
  z-index: 1;
}
.invitation-layers {
  position: absolute;
  width: 56%;
  height: 120%;
  right: -14%;
  top: -9%;
  perspective: 900px;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.invitation-layers i {
  position: absolute;
  inset: 0;
  border: 1px solid #b6a9ce;
  border-radius: 45px;
  background: linear-gradient(125deg, #f4f2f800, #dbd4e633);
  transform: rotate(-28deg)
    translateY(calc(var(--i) * 44px + var(--invitation-shift, 0px)));
}
.invitation-layers i:nth-child(1) {
  --i: 0;
}
.invitation-layers i:nth-child(2) {
  --i: 1;
}
.invitation-layers i:nth-child(3) {
  --i: 2;
}
.invitation-layers i:nth-child(4) {
  --i: 3;
}
html.keyboard-navigation {
  scroll-behavior: auto;
}
.motion-paused .workflow-trace {
  animation-play-state: paused;
}
@media (min-width: 761px) {
  .workflow-example {
    min-height: 440px;
  }
}
@media (max-width: 760px) {
  .hero-contours {
    mask-image: linear-gradient(180deg, transparent 40%, #000 70%);
    opacity: 0.65;
  }
  .connection-network {
    width: 112%;
    left: -6%;
    opacity: calc(var(--connect, 0) * 0.6);
  }
  .assembly-membrane {
    inset: -6px;
    border-radius: 23px;
  }
  .workflow-diagram {
    margin-top: 16px;
  }
  .workflow-path {
    flex-direction: initial;
    gap: 4px;
    font-size: 10px;
  }
  .workflow-path li {
    flex-direction: initial;
    gap: 0;
  }
  .invitation-layers {
    right: -34%;
    width: 85%;
    opacity: 0.5;
  }
  .approach-contours {
    opacity: 0.18;
  }
  .recognition::after {
    left: 5%;
    right: 5%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-trace {
    animation: none;
    stroke-dasharray: none;
    opacity: 0.55;
  }
  .hero-grid {
    transform: none;
    opacity: 1;
  }
  .invitation-layers i {
    transform: rotate(-28deg) translateY(calc(var(--i) * 44px));
  }
}

.invitation-mark {
  z-index: 1;
}
.ambient-offscreen .assembly-hero,
.ambient-offscreen .signal,
.ambient-offscreen .workflow-trace {
  animation-play-state: paused;
}
