/* SIGNATURE-MOTION-02 — Living Blueprint System */
.motion02 .living-blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .92;
}
.motion02 .hero-plane-grid { z-index: 1; }
.motion02 .hero-plane-axis { z-index: 2; }
.motion02 .hero-plane-mark { z-index: 3; }
.motion02 .hero-plane-measure { z-index: 4; }

/* Let the living field register before the B without competing with copy. */
.motion02 .hero-plane {
  background:
    radial-gradient(circle 28vw at var(--sig-px,72%) var(--sig-py,39%), rgba(0,79,132,.075), transparent 72%);
}
.motion02 .hero-content,
.motion02 .hero-exit { position: relative; z-index: 2; }

/* Pointer/touch perturbation is localized in the field, not a cursor follower. */
.motion02 .hero.motion02-influence .hero-plane-axis {
  opacity: .9;
  background: linear-gradient(90deg, transparent, rgba(202,225,235,.72), rgba(0,105,167,.52), transparent);
}

/* WEB — deterministic reorganization of structure around the W. */
.motion02 .web-blueprint-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: .56;
  -webkit-mask-image: linear-gradient(90deg, #000 0 58%, transparent 82%);
  mask-image: linear-gradient(90deg, #000 0 58%, transparent 82%);
}
.motion02 .web-blueprint-field path,
.motion02 .web-blueprint-field circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.motion02 .web-blueprint-field .structure {
  stroke: rgba(142,184,207,.26);
  stroke-width: 1;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}
.motion02 .web-blueprint-field .measure {
  stroke: rgba(198,218,228,.42);
  stroke-width: .8;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
}
.motion02 .web-blueprint-field .activation {
  stroke: rgba(0,105,167,.76);
  stroke-width: 1.25;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}
.motion02 .web-blueprint-field circle.activation { fill: #0069a7; stroke: none; opacity: 0; }
.motion02 .web-feature.signature-web-active .web-blueprint-field .structure {
  animation: web-structure-build 3.4s cubic-bezier(.16,1,.3,1) forwards;
}
.motion02 .web-feature.signature-web-active .web-blueprint-field .measure {
  animation: web-structure-build 2.2s .45s cubic-bezier(.16,1,.3,1) forwards;
}
.motion02 .web-feature.signature-web-active .web-blueprint-field .activation {
  animation: web-structure-build 1.8s 1s cubic-bezier(.16,1,.3,1) forwards;
}
.motion02 .web-feature.signature-web-active .web-blueprint-field circle.activation {
  animation: web-node-arrive .8s 1.65s ease-out forwards;
}
.motion02 .web-blueprint-field {
  transform: translate3d(calc(var(--sig-web-dx,0) * -5px), calc(var(--sig-web-dy,0) * -4px), 0);
  transition: transform .35s cubic-bezier(.2,.75,.25,1);
}

@keyframes web-structure-build { to { stroke-dashoffset: 0; } }
@keyframes web-node-arrive { from { opacity: 0; transform: scale(.4); } to { opacity: .9; transform: scale(1); } }

/* The paper inherits the same construction vocabulary without new motion. */
.motion02 .process::after {
  border-color: rgba(38,86,111,.16);
  background:
    radial-gradient(circle at 74% 64%, rgba(0,79,132,.22) 0 2px, transparent 3px),
    linear-gradient(26deg, transparent 49.8%, rgba(38,86,111,.12) 50%, transparent 50.2%);
}

@media (max-width: 700px) {
  .motion02 .living-blueprint { opacity: .78; }
  .motion02 .web-blueprint-field {
    opacity: .4;
    -webkit-mask-image: linear-gradient(180deg, #000 0 70%, transparent 94%);
    mask-image: linear-gradient(180deg, #000 0 70%, transparent 94%);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion02 .living-blueprint { opacity: .66; }
  .motion02 .web-blueprint-field { transform: none; }
  .motion02 .web-feature.signature-web-active .web-blueprint-field .structure,
  .motion02 .web-feature.signature-web-active .web-blueprint-field .measure,
  .motion02 .web-feature.signature-web-active .web-blueprint-field .activation,
  .motion02 .web-feature.signature-web-active .web-blueprint-field circle.activation {
    animation: none;
    stroke-dashoffset: 0;
    opacity: .72;
  }
}
