/* Motion follows the inquiry: a line opens, evidence arrives, the page settles. */
.start-hero h1 .start-title-first,.start-hero h1 em{display:inline-block}
.start-motion-enabled [data-start-reveal="waiting"]{opacity:0}
.start-motion-enabled .start-demo{position:relative;border-top-color:var(--line)}
.start-motion-enabled .start-demo::before{content:'';position:absolute;z-index:2;pointer-events:none;top:-3px;left:0;width:100%;height:3px;background:var(--accent);transform:scaleX(0);transform-origin:left;box-shadow:0 0 17px color-mix(in srgb,var(--accent) 28%,transparent)}
.start-motion-enabled .start-demo[data-start-entered]::before{animation:start-trace-line 850ms cubic-bezier(.4,0,.15,1) both}
.start-motion-enabled .start-question__line{transform-origin:top;transform:scaleY(0);box-shadow:0 0 17px color-mix(in srgb,var(--accent) 30%,transparent)}
.start-motion-enabled .start-question[data-start-entered] .start-question__line{animation:start-trace-line 680ms cubic-bezier(.3,0,.15,1) 100ms both}
.start-motion-enabled .start-steps{position:relative}
.start-motion-enabled .start-steps::before{content:'';position:absolute;left:0;top:-1px;width:100%;height:1px;z-index:1;background:var(--accent);transform:scaleX(0);transform-origin:left}
.start-motion-enabled .start-steps[data-start-entered]::before{animation:start-trace-line 950ms cubic-bezier(.25,.65,.3,1) both}
.start-motion-enabled .start-source{position:relative}
.start-motion-enabled .start-source::before{content:'';position:absolute;left:0;top:-1px;height:1px;width:100%;background:var(--accent);transform:scaleX(0);transform-origin:left}
.start-motion-enabled .start-source[data-start-entered]::before{animation:start-source-trace 1000ms cubic-bezier(.25,.65,.3,1) both}
.start-source img{transition:transform 400ms cubic-bezier(.2,.75,.2,1)}
@media(hover:hover) and (pointer:fine){.start-source:hover img{transform:translateY(-3px)}}

/* The rings stay behind the question. The glints never mask or replace text. */
.start-evidence-orbit{position:absolute;z-index:-1;pointer-events:none;right:-70px;bottom:-150px;width:360px;height:360px;border-radius:50%;--orbit-angle:-45deg;transform:rotate(var(--orbit-angle));animation:start-evidence-orbit 24s linear infinite;animation-play-state:paused}
.start-evidence-orbit::before{content:'';position:absolute;inset:-1px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg 270deg,color-mix(in srgb,var(--accent) 15%,transparent) 320deg,var(--accent) 359deg,transparent 360deg);mask:radial-gradient(closest-side,transparent calc(100% - 2px),#000 calc(100% - 1px));opacity:.5}
.start-evidence-orbit::after{content:'';position:absolute;left:calc(50% - 3px);top:-3px;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 10%,transparent),0 0 16px color-mix(in srgb,var(--accent) 45%,transparent);opacity:.65}
.start-evidence-orbit--outer{width:464px;height:464px;right:-122px;bottom:-202px;animation-duration:34s;animation-direction:reverse;--orbit-angle:-120deg;opacity:.45}
.start-question__label>span{animation:start-evidence-breathe 5s ease-in-out infinite;animation-play-state:paused}
.start-question__sources{position:relative}
.start-question__sources::after{content:'';position:absolute;bottom:-9px;left:0;width:min(100%,290px);height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);transform:scaleX(.08);transform-origin:left;opacity:0;animation:start-evidence-thread 9s ease-in-out infinite;animation-play-state:paused}
.start-ambient-running .start-evidence-orbit,.start-ambient-running .start-question__label>span,.start-ambient-running .start-question__sources::after{animation-play-state:running}
@keyframes start-trace-line{to{transform:scale(1)}}
@keyframes start-source-trace{0%{transform:scaleX(0);opacity:1}65%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:.3}}
@keyframes start-evidence-orbit{from{transform:rotate(var(--orbit-angle))}to{transform:rotate(calc(var(--orbit-angle) + 1turn))}}
@keyframes start-evidence-breathe{0%,100%{box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 9%,transparent)}50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--accent) 3%,transparent)}}
@keyframes start-evidence-thread{0%,20%,100%{transform:scaleX(.08);opacity:0}35%{transform:scaleX(.4);opacity:.5}60%{transform:scaleX(1);opacity:0}}
.start-motion-enabled [data-start-instant]::before,.start-motion-enabled .start-question[data-start-instant] .start-question__line{animation:none;transform:scale(1)}
.start-motion-enabled .start-source[data-start-instant]::before{opacity:.3}
@media(prefers-reduced-motion:reduce){
  .start-motion-enabled [data-start-reveal="waiting"]{opacity:1}
  .start-motion-enabled .start-demo{border-top-color:var(--accent)}
  .start-motion-enabled .start-demo::before,.start-motion-enabled .start-steps::before,.start-motion-enabled .start-source::before,.start-evidence-orbit,.start-question__sources::after{display:none;animation:none!important}
  .start-motion-enabled .start-question__line{transform:none;animation:none!important}
  .start-question__label>span{animation:none!important}
  .start-source img{transition:none;transform:none!important}
}
