/* Approach (the method) + About (founder) */

const STEPS = [
{ n: "01", t: "Ask what if", d: "Every product starts as a question nobody else is asking, or a convention worth challenging.", ico: "?" },
{ n: "02", t: "Build fast", d: "Prototype quickly, lean, and in the open. Speed is the whole point of the lab.", ico: "⚡" },
{ n: "03", t: "Ship it", d: "Launch under its own brand, put it in front of real people, and learn from real usage.", ico: "→" },
{ n: "04", t: "Iterate", d: "Double down on what works, retire what doesn't, and feed the lessons into the next one.", ico: "∞" }];


function Approach() {
  return (
    <section className="section approach" id="approach">
      <div className="wrap">
        <div className="section-head">
          <div className="lead">
            <span className="section-num">03 — METHOD</span>
            <h2 className="h-big reveal">How the<br />lab works.</h2>
          </div>
          <p className="aside reveal" data-delay="100">
            No committees, no quarterly theater. A repeatable loop run by one founder,
            tuned for momentum over meetings.
          </p>
        </div>
        <div className="method">
          {STEPS.map((s, i) =>
          <div className="method-step reveal" data-delay={i * 90} key={s.n}>
              <span className="n">{s.n}</span>
              <h3>{s.t}</h3>
              <p>{s.d}</p>
              <span className="ico" aria-hidden="true">{s.ico}</span>
            </div>
          )}
        </div>
      </div>
    </section>);

}

function About() {
  return (
    <section className="section" id="about">
      <div className="wrap">
        <div className="section-head">
          <div className="lead">
            <span className="section-num">04 — ABOUT</span>
            <h2 className="h-big reveal">Founder.<br />Inventor.<br />Entrepreneur.</h2>
          </div>
        </div>
        <div className="about-grid">
          <div className="about-copy reveal">
            <p>
              Swift Labs is the home for everything I build. Instead of betting everything on a single
              idea, I run a portfolio, launching products, learning in public, and letting the best ones grow.
            </p>
            <p className="muted">
              Stay agile, move fast, no bloat, no consensus building. Just pure innovation and go-to-market.
            </p>
            <div className="stat-row">
              <div className="stat reveal" data-delay="80"><div className="num">1</div><div className="lbl">FOUNDER</div></div>
              <div className="stat reveal" data-delay="160"><div className="num">∞</div><div className="lbl">VENTURES</div></div>
              <div className="stat reveal" data-delay="240"><div className="num">'26</div><div className="lbl">SINCE</div></div>
            </div>
            <div className="about-sign">
              — Jonathan Williams
              <small>FOUNDER &amp; BUILDER, SWIFT LABS VENTURES LLC</small>
            </div>
          </div>
          <div className="founder-card reveal" data-delay="120">
            <div className="founder-photo">
              <img src="assets/founder-full.png" alt="Jonathan Williams, founder of Swift Labs — Building Ideas" />
            </div>
          </div>
        </div>
      </div>
    </section>);

}

Object.assign(window, { Approach, About });