/* A Fibonacci construction gives the Pitch its opening visual rhythm. */
@media (min-width:761px) and (max-width:980px) {
 .flow-page .flow-hero { overflow-x:clip; overflow-y:visible; }
}
/* Keep the mobile spiral inside its section when motion is reduced.
   Clip does not create a scroll container, so the normal sticky story stays intact. */
@media (max-width:760px) {
 .flow-page.has-flow-mobile .flow-main .flow-pitch { overflow-x:clip; overflow-y:visible; }
}
.flow-page .flow-pitch { z-index:2; }
.flow-page .flow-pitch__lead { display:contents; }
.flow-page .flow-pitch__opening { display:none; }
.flow-page .flow-pitch__sticky {
 isolation:isolate; background-color:#fafafa; color:#111;
}
.flow-page .flow-pitch :is(h2,.flow-pitch__title-base,.flow-pitch__title-grow,.flow-pitch__steps p,.flow-pitch__copy,.flow-pitch__copy p,.flow-label,.flow-corner-cta) { color:inherit; }
.flow-page .flow-pitch__geometry {
 position:absolute; z-index:-1; width:min(65vw,1080px); height:auto;
 right:calc(-3vw + 40px); top:50%; transform:translateY(-50%); pointer-events:none;
 color:#A92023; opacity:.18;
 transition:opacity 350ms ease,color 500ms linear;
}
.flow-pitch__construction { stroke:currentColor; stroke-width:.7; opacity:.36; }
.flow-pitch__spiral { stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:0; }
.flow-pitch__geometry :is(rect,path) { vector-effect:non-scaling-stroke; }
.flow-pitch__sequence { fill:currentColor; opacity:.5; font:11px 'IBM Plex Mono',monospace; }
.flow-page .flow-pitch.is-copy-visible .flow-pitch__geometry { opacity:.10; }

@media (min-width:761px) and (prefers-reduced-motion:no-preference) {
 .flow-page .flow-pitch { padding:0; }
 .flow-page .flow-pitch.has-pitch-theme .flow-pitch__sticky {
  background-color:transparent; color:#fff;
  transition:background-color 500ms linear,color 0s 375ms;
 }
 .flow-page .flow-pitch.has-pitch-theme .flow-pitch__sticky::before {
  content:''; position:absolute; inset:0; z-index:-2; pointer-events:none;
  background:linear-gradient(to bottom,
   rgba(169,32,35,0) 0%,
   rgba(169,32,35,0) 4%,
   rgba(169,32,35,.04) 9%,
   rgba(169,32,35,.16) 14%,
   rgba(169,32,35,.32) 18%,
   rgba(169,32,35,.50) 23%,
   rgba(169,32,35,.68) 28%,
   rgba(169,32,35,.84) 33%,
   rgba(169,32,35,.96) 38%,
   var(--align-accent,#A92023) 42%,var(--align-accent,#A92023) 100%);
  opacity:1; transition:opacity 500ms linear;
 }
 .flow-page .flow-pitch.has-pitch-theme .flow-label { color:#111; }
 .flow-page .flow-pitch.has-pitch-theme .flow-pitch__geometry { color:#fff; opacity:.72; }
 .flow-page .flow-pitch.has-pitch-theme .flow-pitch__spiral {
  stroke-dashoffset:1; transition:stroke-dashoffset 1400ms cubic-bezier(.22,1,.36,1);
 }
 .flow-page .flow-pitch.is-pitch-in-view .flow-pitch__spiral { stroke-dashoffset:0; }
 .flow-page .flow-pitch.has-pitch-theme.is-pitch-reading .flow-pitch__sticky {
  background-color:#fafafa; color:#111;
  transition:background-color 500ms linear,color 0s 125ms;
 }
 .flow-page .flow-pitch.has-pitch-theme.is-pitch-reading .flow-pitch__sticky::before { opacity:0; }
 .flow-page .flow-pitch.has-pitch-theme.is-pitch-reading .flow-pitch__geometry { color:#A92023; opacity:.18; }
 .flow-page .flow-pitch.has-pitch-theme.is-copy-visible .flow-pitch__geometry { opacity:.10; }
}
@media (max-width:760px) {
 .flow-page .flow-pitch__geometry { width:94vw; right:0; top:12rem; opacity:.10; transform:none; }
}
@media (prefers-reduced-motion:reduce) {
 .flow-page .flow-pitch__geometry { transition:none; }
 .flow-page .flow-pitch__spiral { transition:none; stroke-dashoffset:0; }
}
