/* Full-width wave breaks for the connected neurodiversity journey. */
[data-neuro-journey]{position:relative;isolation:isolate;overflow:visible}
[data-neuro-stage],[data-neuro-wave-section]{position:relative;isolation:isolate;overflow:visible}

/* Static fallback: the smoother SVG version is layered over this by JS. */
[data-neuro-wave-section]::before{
 content:"";
 position:absolute;
 z-index:2;
 left:0;
 right:0;
 top:-42px;
 height:44px;
 background:inherit;
 clip-path:polygon(0 100%,0 60%,9% 35%,19% 27%,29% 43%,39% 69%,50% 75%,61% 55%,71% 28%,81% 22%,91% 46%,100% 69%,100% 100%);
 pointer-events:none
}
[data-neuro-wave-section].nd-wave-enhanced::before{visibility:hidden}

.nd-wave-boundary{position:absolute;z-index:3;left:0;right:0;top:-72px;height:74px;overflow:visible;clip-path:inset(-82px 0 -14px 0);pointer-events:none}
.nd-wave-boundary svg{display:block;width:100%;height:100%;overflow:visible}
.nd-wave-boundary-fill{stroke:none}
.nd-wave-boundary-line{fill:none;stroke:color-mix(in srgb,var(--brand-blue,#466773) 46%,white);stroke-width:1.5;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.78}

.nd-rider{opacity:0;filter:drop-shadow(0 3px 3px rgba(35,59,58,.3));transition:none;will-change:transform}
.nd-rider.is-visible{opacity:1}
.nd-rider-art{transform-box:fill-box;transform-origin:center}
.nd-rider-figure{transform-box:fill-box;transform-origin:center}
.nd-board-body{fill:var(--brand-sand,#ebddca);stroke:var(--brand-ink,#233b3a);stroke-width:1.35;vector-effect:non-scaling-stroke}
.nd-board-stringer{fill:none;stroke:var(--brand-blue-deep,#365762);stroke-width:1.5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.nd-board-mark{fill:var(--brand-blue,#466773)}
.nd-board-fin{fill:var(--brand-blue-deep,#365762);stroke:var(--brand-ink,#233b3a);stroke-width:.8;vector-effect:non-scaling-stroke}
.nd-rider-skin{fill:#d7a17f;stroke:var(--brand-ink,#233b3a);stroke-width:1.05;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nd-rider-hair{fill:#e0ba67;stroke:#6c532f;stroke-width:1;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nd-rider-wetsuit{fill:#173d43;stroke:#f5ede1;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nd-rider-panel{fill:#3f6d72}
.nd-rider-outline{fill:none;stroke:#f5ede1;stroke-width:6.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nd-rider-leg{fill:none;stroke:#173d43;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nd-rider-arm{fill:none;stroke:#173d43;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}

@media (max-width:700px){
 [data-neuro-wave-section]::before{top:-29px;height:31px}
 .nd-wave-boundary{top:-48px;height:50px}
 .nd-wave-boundary-line{stroke-width:1.15}
}

/* On desktop photo-led stages, the media half supplies its own wave fill. */
@media (min-width:701px){
 .nd-photo-stage:not(.nd-reverse)>.nd-wave-boundary .nd-wave-boundary-fill{clip-path:inset(0 50% 0 0)}
 .nd-photo-stage.nd-reverse>.nd-wave-boundary .nd-wave-boundary-fill{clip-path:inset(0 0 0 50%)}
 .nd-photo-stage.nd-wave-enhanced .nd-photo{
  margin-top:-72px;
  align-self:stretch;
  border-radius:0;
 }
}

@media screen and (prefers-reduced-motion:no-preference){
 .nd-stage:not(.nd-photo-stage) .nd-photo.is-in-view,.nd-strategy figure.is-in-view{animation:nd-arrive .65s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes nd-arrive{from{opacity:.72;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.nd-rider{display:none;transition:none;will-change:auto}}
@media print{.nd-rider{display:none!important}}
