"use client"; import React, { useRef } from "react"; import { motion, useTransform } from "motion/react"; import { useSectionProgress } from "@/lib/scroll"; import { Parallax } from "@/components/parallax/Parallax"; import { Reveal } from "@/components/motion/Reveal"; import { Stagger } from "@/components/motion/Stagger"; import { TRANSITIONS } from "@/lib/animation"; export function ProcessSection() { const sectionRef = useRef(null!); const progress = useSectionProgress(sectionRef); const pathLength = useTransform(progress, [0, 1], [0, 1]); const steps = [ { title: "Discover", desc: "Align on goals, audience, and tone. Define constraints and success metrics.", }, { title: "Design", desc: "Establish visual language, motion rhythm, and section-level compositions.", }, { title: "Build", desc: "Implement Lenis scroll orchestration and Framer Motion systems with a11y in mind.", }, { title: "Polish", desc: "Optimize performance, refine micro‑interactions, and tune parallax depth.", }, ]; return (
{/* Ambient vignette */}
Process A simple path from idea to cinematic, performant delivery.
{/* Timeline drawing */}
{steps.map((s, i) => (
{String(i + 1).padStart(2, "0")}

{s.title}

{s.desc}

))}
); }