/* global React */
/* Depends on: Icon, ValteriaMark, Eyebrow (components.jsx) */
const { useState: useStateA } = React;

/* ───────────────────────────── HERO ───────────────────────────── */
const HEADLINES = {
  ship: <>I build the software<br />companies actually <span style={{ fontStyle: "italic", fontWeight: 400, color: "var(--brand)" }}>ship</span>.</>,
  weight: <>Software with<br /><span style={{ fontStyle: "italic", fontWeight: 400, color: "var(--brand)" }}>weight</span> to it.</>,
  useful: <>For teams who know<br />busy from <span style={{ fontStyle: "italic", fontWeight: 400, color: "var(--brand)" }}>useful</span>.</>,
};

const Hero = ({ headline = "ship", biz }) => (
  <section id="top" style={{ paddingTop: 168, paddingBottom: 96, position: "relative", overflow: "hidden" }}>
    <div style={{
      position: "absolute", top: -220, left: "50%", transform: "translateX(-50%)",
      width: 1200, height: 820, pointerEvents: "none", zIndex: 0,
      background: "radial-gradient(ellipse at center, color-mix(in oklab, var(--pop) 11%, transparent) 0%, transparent 60%)",
    }} />
    <div style={{ maxWidth: 1200, margin: "0 auto", padding: "0 32px", position: "relative", zIndex: 1 }}>
      {/* availability pill */}
      <div style={{
        display: "inline-flex", alignItems: "center", gap: 10,
        padding: "5px 14px", marginBottom: 28,
        borderRadius: "var(--radius-full)",
        border: "1px solid var(--border)", background: "var(--surface)",
        fontSize: 13, color: "var(--text-secondary)", boxShadow: "var(--shadow-xs)",
      }}>
        <span style={{ width: 7, height: 7, borderRadius: 999, background: "var(--success-500)" }} />
        Available for new projects
      </div>

      <h1 style={{
        margin: 0, fontSize: "clamp(44px, 7.5vw, 92px)", lineHeight: 1.03,
        letterSpacing: "-0.035em", fontWeight: 700, maxWidth: 980,
      }}>
        {HEADLINES[headline]}
      </h1>

      <p style={{ marginTop: 26, marginBottom: 36, maxWidth: 620, fontSize: 19, lineHeight: 1.6, color: "var(--text-secondary)" }}>
        Valteria is an independent product practice. One engineer who helps companies
        design and ship software that holds up: scalable backends, AWS architecture, and
        the product that runs on them. I'll take it from an empty repo to production.
      </p>

      <div style={{ display: "flex", gap: 12, alignItems: "center", flexWrap: "wrap" }}>
        <a href="#contact" style={{
          display: "inline-flex", alignItems: "center", gap: 10, padding: "0 22px", height: 52,
          borderRadius: "var(--radius-md)", background: "var(--site-accent)", color: "var(--text-on-accent)",
          fontSize: 16, fontWeight: 600, textDecoration: "none", letterSpacing: "-0.01em",
          boxShadow: "var(--site-accent-shadow)",
        }}>
          Start a project
          <Icon name="arrow" size={16} color="var(--text-on-accent)" />
        </a>
        <a href="#work" style={{
          display: "inline-flex", alignItems: "center", gap: 10, padding: "0 22px", height: 52,
          borderRadius: "var(--radius-md)", background: "var(--surface)", color: "var(--text)",
          border: "1px solid var(--border-strong)", fontSize: 16, fontWeight: 600, textDecoration: "none",
        }}>
          See selected work
        </a>
        <span style={{ fontSize: 13, color: "var(--text-tertiary)", marginLeft: 6 }}>
          Backend · Cloud · Full-stack · Technical leadership
        </span>
      </div>

      <div style={{ marginTop: 72 }}>
        <BuildWindow />
      </div>
    </div>
  </section>
);

/* A dev-flavored mac window: file rail · editor · ship panel.
   Abstract — evokes the work without fabricating a real screenshot. */
const BuildWindow = () => {
  const code = [
    { ind: 0, w: 0.42, c: "var(--violet-400)" },
    { ind: 1, w: 0.66, c: "rgba(255,255,255,0.5)" },
    { ind: 1, w: 0.5, c: "var(--copper-400)" },
    { ind: 2, w: 0.74, c: "rgba(255,255,255,0.5)" },
    { ind: 0, w: 0.3, c: "rgba(255,255,255,0.28)" },
    { ind: 0, w: 0.58, c: "var(--violet-400)" },
    { ind: 1, w: 0.7, c: "rgba(255,255,255,0.5)" },
    { ind: 1, w: 0.46, c: "var(--copper-400)" },
    { ind: 2, w: 0.62, c: "rgba(255,255,255,0.5)" },
    { ind: 0, w: 0.36, c: "rgba(255,255,255,0.28)" },
  ];
  return (
    <div style={{
      borderRadius: "var(--radius-lg)", background: "var(--aubergine-900)",
      border: "1px solid var(--border)", boxShadow: "var(--shadow-2xl)", overflow: "hidden",
      transform: "perspective(2400px) rotateX(1.5deg)", transformOrigin: "center top",
    }}>
      <div style={{ height: 38, background: "rgba(255,255,255,0.04)", borderBottom: "1px solid rgba(255,255,255,0.06)", display: "flex", alignItems: "center", padding: "0 14px", gap: 8 }}>
        <div style={{ display: "flex", gap: 7 }}>
          <span style={{ width: 12, height: 12, borderRadius: 999, background: "#FF5F57" }} />
          <span style={{ width: 12, height: 12, borderRadius: 999, background: "#FEBC2E" }} />
          <span style={{ width: 12, height: 12, borderRadius: 999, background: "#28C840" }} />
        </div>
        <div style={{ flex: 1, textAlign: "center", fontSize: 12, color: "rgba(255,255,255,0.5)", fontFamily: "var(--font-mono)" }}>valteria — workspace</div>
        <div style={{ width: 52 }} />
      </div>

      <div style={{ display: "grid", gridTemplateColumns: "188px 1fr 268px", minHeight: 408 }}>
        {/* file rail */}
        <aside style={{ background: "rgba(255,255,255,0.02)", borderRight: "1px solid rgba(255,255,255,0.06)", padding: 14 }}>
          <div style={{ fontSize: 10, fontWeight: 600, letterSpacing: "0.12em", textTransform: "uppercase", color: "rgba(255,255,255,0.4)", padding: "0 8px", marginBottom: 10 }}>Project</div>
          {[
            { i: "cube", n: "overview", active: false },
            { i: "code", n: "api", active: true },
            { i: "server", n: "services", active: false },
            { i: "cloud", n: "infra", active: false },
            { i: "terminal", n: "scripts", active: false },
          ].map((it) => (
            <div key={it.n} style={{
              display: "flex", alignItems: "center", gap: 10, padding: "7px 8px", marginBottom: 1,
              borderRadius: "var(--radius-sm)", fontSize: 13, fontWeight: 500,
              background: it.active ? "rgba(255,255,255,0.06)" : "transparent",
              color: it.active ? "#F2EFFA" : "rgba(255,255,255,0.6)",
            }}>
              <Icon name={it.i} size={14} color={it.active ? "var(--violet-400)" : "currentColor"} />
              <span style={{ fontFamily: "var(--font-mono)", fontSize: 12 }}>{it.n}</span>
            </div>
          ))}
          <div style={{ height: 20 }} />
          <div style={{ fontSize: 10, fontWeight: 600, letterSpacing: "0.12em", textTransform: "uppercase", color: "rgba(255,255,255,0.4)", padding: "0 8px", marginBottom: 10 }}>Status</div>
          {[
            { c: "var(--success-500)", n: "main · passing" },
            { c: "var(--copper-400)", n: "preview ready" },
          ].map((it) => (
            <div key={it.n} style={{ display: "flex", alignItems: "center", gap: 10, padding: "6px 8px", fontSize: 12, color: "rgba(255,255,255,0.6)" }}>
              <span style={{ width: 7, height: 7, borderRadius: 999, background: it.c }} />
              <span>{it.n}</span>
            </div>
          ))}
        </aside>

        {/* editor */}
        <main style={{ padding: "22px 26px", fontFamily: "var(--font-mono)" }}>
          <div style={{ display: "flex", gap: 16, marginBottom: 20 }}>
            <span style={{ fontSize: 12, color: "#F2EFFA", borderBottom: "2px solid var(--copper-400)", paddingBottom: 8 }}>handler.ts</span>
            <span style={{ fontSize: 12, color: "rgba(255,255,255,0.4)", paddingBottom: 8 }}>service.ts</span>
            <span style={{ fontSize: 12, color: "rgba(255,255,255,0.4)", paddingBottom: 8 }}>infra.tf</span>
          </div>
          <div style={{ display: "flex", flexDirection: "column", gap: 11 }}>
            {code.map((ln, i) => (
              <div key={i} style={{ display: "flex", alignItems: "center", gap: 14 }}>
                <span style={{ fontSize: 11, color: "rgba(255,255,255,0.22)", width: 14, textAlign: "right" }}>{i + 1}</span>
                <span style={{ marginLeft: ln.ind * 22, height: 7, borderRadius: 3, background: ln.c, width: `${ln.w * 100}%`, maxWidth: 360 }} />
              </div>
            ))}
          </div>
        </main>

        {/* ship panel */}
        <aside style={{ borderLeft: "1px solid rgba(255,255,255,0.06)", padding: "22px 20px", background: "rgba(255,255,255,0.02)" }}>
          <div style={{ fontSize: 10, fontWeight: 600, letterSpacing: "0.12em", textTransform: "uppercase", color: "rgba(255,255,255,0.4)", marginBottom: 14 }}>This sprint</div>
          {[
            { l: "Shipped", v: "9", d: "deploys" },
            { l: "Coverage", v: "94%", d: "+3" },
            { l: "Open PRs", v: "2", d: "review" },
          ].map((s) => (
            <div key={s.l} style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline", padding: "9px 0", borderBottom: "1px solid rgba(255,255,255,0.06)" }}>
              <div style={{ fontSize: 12.5, color: "rgba(255,255,255,0.6)" }}>{s.l}</div>
              <div style={{ display: "flex", gap: 8, alignItems: "baseline" }}>
                <div style={{ fontSize: 15, fontWeight: 600, color: "#F2EFFA" }}>{s.v}</div>
                <div style={{ fontSize: 11, color: "rgba(255,255,255,0.4)", fontFamily: "var(--font-mono)" }}>{s.d}</div>
              </div>
            </div>
          ))}
          <div style={{
            marginTop: 18, padding: "12px 14px", borderRadius: "var(--radius-md)",
            border: "1px solid rgba(167,139,250,0.3)", background: "rgba(167,139,250,0.1)",
            display: "flex", alignItems: "flex-start", gap: 10,
          }}>
            <Icon name="sparkle" size={14} color="var(--violet-400)" strokeWidth={2} />
            <div style={{ fontSize: 12.5, color: "rgba(255,255,255,0.85)", lineHeight: 1.5 }}>
              Release notes drafted from this week's commits.
            </div>
          </div>
          <button style={{
            marginTop: 12, width: "100%", height: 40, borderRadius: "var(--radius-md)",
            background: "var(--copper-400)", color: "var(--aubergine-900)", border: "none",
            fontSize: 13, fontWeight: 700, cursor: "pointer", fontFamily: "inherit",
          }}>Ship to production</button>
        </aside>
      </div>
    </div>
  );
};

/* ───────────────────────────── WORKED WITH ───────────────────────────── */
const Spaces = () => (
  <section style={{ padding: "8px 0 88px" }}>
    <div style={{ maxWidth: 1200, margin: "0 auto", padding: "0 32px" }}>
      <div style={{ fontSize: 12, color: "var(--text-tertiary)", textAlign: "center", marginBottom: 30, letterSpacing: "0.1em", textTransform: "uppercase", fontWeight: 600 }}>
        A decade of engineering inside teams at
      </div>
      <div style={{ display: "flex", justifyContent: "center", alignItems: "center", flexWrap: "wrap", gap: "22px 44px" }}>
        {["Capital One", "JPMorgan Chase", "American Airlines", "Chick-fil-A", "Dialexa"].map((n) => (
          <div key={n} style={{ fontSize: 21, fontWeight: 700, letterSpacing: "-0.02em", color: "var(--text-secondary)" }}>{n}</div>
        ))}
      </div>
      <div style={{ textAlign: "center", marginTop: 22, fontSize: 14, color: "var(--text-tertiary)" }}>
        And startups from pre-seed to Series B.
      </div>
    </div>
  </section>
);

/* ───────────────────────────── SERVICES ───────────────────────────── */
const Services = () => {
  const items = [
    { icon: "cube", title: "Product engineering", body: "From a sketch to something real in users' hands. I take ownership of the whole path: architecture, the build, and the unglamorous last 20% that decides whether it ships." },
    { icon: "server", title: "Backend & systems", body: "Scalable, durable backends and the system design behind them. APIs, data, and event-driven services built to handle real load, and to still make sense a year later." },
    { icon: "cloud", title: "Cloud & AWS", body: "Deep AWS expertise across architecture, infrastructure, and cost. I design cloud systems that scale with the business instead of fighting it." },
    { icon: "code", title: "Full-stack delivery", body: "Comfortable end to end: React and TypeScript on the front, typed services behind. One person who can carry a feature all the way through." },
    { icon: "target", title: "Technical leadership", body: "A top-level technical partner who can sling code and run the project: scope, tradeoffs, and fractional engineering leadership for teams that need senior judgment." },
    { icon: "bolt", title: "Startup product building", body: "0-to-1 with founders. I've built products at the startup level and helped raise venture funding. I know what to cut to reach a credible v1.", pop: true },
  ];
  return (
    <section id="services" style={{ padding: "112px 0", scrollMarginTop: 80 }}>
      <div style={{ maxWidth: 1200, margin: "0 auto", padding: "0 32px" }}>
        <div style={{ maxWidth: 720, marginBottom: 56 }}>
          <Eyebrow style={{ marginBottom: 16 }}>What I do</Eyebrow>
          <h2 style={{ margin: 0, fontSize: "clamp(36px, 5vw, 54px)", fontWeight: 700, letterSpacing: "-0.03em", lineHeight: 1.06 }}>
            One person, the whole<br /><span style={{ color: "var(--text-tertiary)" }}>system. Idea to production.</span>
          </h2>
        </div>
        <div style={{ display: "grid", gridTemplateColumns: "repeat(3, 1fr)", gap: 1, background: "var(--border)", border: "1px solid var(--border)", borderRadius: "var(--radius-lg)", overflow: "hidden" }}>
          {items.map((it) => (
            <div key={it.title} style={{ background: "var(--surface)", padding: "36px 30px", minHeight: 232, display: "flex", flexDirection: "column", gap: 14 }}>
              <div style={{
                width: 42, height: 42, borderRadius: "var(--radius-sm)",
                background: it.pop ? "var(--pop-subtle)" : "var(--brand-subtle)",
                display: "inline-flex", alignItems: "center", justifyContent: "center",
                color: it.pop ? "var(--violet-700)" : "var(--aubergine-800)",
              }}>
                <Icon name={it.icon} size={19} />
              </div>
              <h3 style={{ margin: 0, fontSize: 20, fontWeight: 600, letterSpacing: "-0.01em" }}>{it.title}</h3>
              <p style={{ margin: 0, fontSize: 14.5, lineHeight: 1.6, color: "var(--text-secondary)" }}>{it.body}</p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
};

/* ───────────────────────────── SELECTED WORK ───────────────────────────── */
const WorkThumb = ({ kind }) => {
  if (kind === "voice") {
    return (
      <div style={{ height: 180, background: "var(--aubergine-900)", padding: 18, display: "flex", flexDirection: "column", gap: 12, justifyContent: "center" }}>
        <div style={{ display: "flex", alignItems: "center", gap: 10 }}>
          <span style={{ width: 26, height: 26, borderRadius: 999, background: "var(--copper-400)", display: "inline-flex", alignItems: "center", justifyContent: "center" }}>
            <Icon name="sparkle" size={13} color="var(--aubergine-900)" strokeWidth={2} />
          </span>
          <div style={{ flex: 1, display: "flex", alignItems: "center", gap: 3, height: 28 }}>
            {[0.3,0.7,0.45,0.9,0.6,1,0.5,0.8,0.35,0.7,0.5,0.85,0.4,0.65,0.55,0.95,0.45,0.75].map((h,i) => (
              <span key={i} style={{ flex: 1, height: `${h*100}%`, background: "var(--violet-400)", opacity: 0.5 + h*0.5, borderRadius: 2 }} />
            ))}
          </div>
        </div>
        <div style={{ background: "rgba(255,255,255,0.04)", border: "1px solid rgba(255,255,255,0.06)", borderRadius: 8, padding: 12, display: "flex", flexDirection: "column", gap: 8 }}>
          {[{c:"var(--success-500)"},{c:"var(--copper-400)"},{c:"rgba(255,255,255,0.3)"}].map((r,i) => (
            <div key={i} style={{ display: "flex", alignItems: "center", gap: 8 }}>
              <span style={{ width: 8, height: 8, borderRadius: 2, background: r.c }} />
              <span style={{ flex: i===0?0.7:i===1?0.85:0.6, height: 6, background: "rgba(255,255,255,0.14)", borderRadius: 2 }} />
            </div>
          ))}
        </div>
      </div>
    );
  }
  if (kind === "bounty") {
    return (
      <div style={{ height: 180, background: "var(--bg-muted)", padding: 18, display: "grid", gridTemplateColumns: "1fr 1fr", gap: 12 }}>
        {[0,1,2,3].map((i) => (
          <div key={i} style={{ background: "var(--surface)", border: "1px solid var(--border)", borderRadius: 10, padding: 11, display: "flex", flexDirection: "column", gap: 7 }}>
            <div style={{ display: "flex", justifyContent: "space-between", alignItems: "center" }}>
              <span style={{ width: "52%", height: 7, background: "var(--aubergine-700)", borderRadius: 2 }} />
              <span style={{ fontSize: 9, fontWeight: 700, fontFamily: "var(--font-mono)", color: "var(--aubergine-900)", background: i===0?"var(--copper-400)":"var(--violet-200)", padding: "2px 6px", borderRadius: 999 }}>{i===0?"+50":"+20"} XP</span>
            </div>
            <span style={{ width: "80%", height: 5, background: "var(--neutral-300)", borderRadius: 2 }} />
            <span style={{ width: "40%", height: 5, background: "var(--neutral-300)", borderRadius: 2 }} />
          </div>
        ))}
      </div>
    );
  }
  // cycle — Eighty4
  return (
    <div style={{ height: 180, background: "var(--aubergine-800)", padding: 20, display: "flex", flexDirection: "column", justifyContent: "center", gap: 14 }}>
      <div style={{ display: "flex", alignItems: "baseline", gap: 10 }}>
        <span style={{ fontSize: 44, fontWeight: 800, letterSpacing: "-0.04em", color: "#F2EFFA", lineHeight: 1 }}>84</span>
        <span style={{ fontSize: 13, color: "rgba(255,255,255,0.55)", fontFamily: "var(--font-mono)" }}>days · day 31</span>
      </div>
      <div style={{ height: 8, borderRadius: 999, background: "rgba(255,255,255,0.1)", overflow: "hidden" }}>
        <div style={{ width: "37%", height: "100%", background: "var(--copper-400)", borderRadius: 999 }} />
      </div>
      <div style={{ display: "flex", gap: 5 }}>
        {Array.from({ length: 12 }).map((_, i) => (
          <span key={i} style={{ flex: 1, height: 18, borderRadius: 3, background: i < 4 ? "var(--violet-400)" : "rgba(255,255,255,0.08)", opacity: i < 4 ? 0.9 : 1 }} />
        ))}
      </div>
    </div>
  );
};

const Work = () => {
  const items = [
    { kind: "voice", tag: "AI · Developer SaaS", title: "Rubber Ducky", body: "AI voice logging for developers. Talk through your day and it turns the ramble into clean standup notes and summaries. A concept I built and still use for my own work; the site's up to show the idea.", host: "userubberducky.com", url: "https://www.userubberducky.com", status: "Concept · site live", live: false },
    { kind: "bounty", tag: "Productivity · B2B", title: "Open Payouts", body: "Internal bottlenecks turned into bounties anyone in the company can claim, with XP, badges, leaderboards, and a JIRA integration. A concept that never went to market; the site shows what it was about.", host: "openpayouts.com", url: "https://www.openpayouts.com", status: "Concept · site live", live: false },
  ];
  return (
    <section id="work" style={{ padding: "112px 0", background: "var(--bg-subtle)", borderTop: "1px solid var(--border)", borderBottom: "1px solid var(--border)", scrollMarginTop: 60 }}>
      <div style={{ maxWidth: 1200, margin: "0 auto", padding: "0 32px" }}>
        <div style={{ display: "flex", justifyContent: "space-between", alignItems: "flex-end", marginBottom: 48, flexWrap: "wrap", gap: 16 }}>
          <div style={{ maxWidth: 640 }}>
            <Eyebrow style={{ marginBottom: 16 }}>Built independently</Eyebrow>
            <h2 style={{ margin: 0, fontSize: "clamp(36px, 5vw, 54px)", fontWeight: 700, letterSpacing: "-0.03em", lineHeight: 1.06 }}>
              I build my own<br />products, too.
            </h2>
          </div>
          <p style={{ fontSize: 14, color: "var(--text-tertiary)", maxWidth: 300, lineHeight: 1.6, margin: 0 }}>
            When I'm not building for clients, I'm building for myself: taking an idea from
            an empty repo to a working build. Most stayed concepts; each one sharpened how I
            ship. Client work stays under NDA.
          </p>
        </div>
        <div style={{ display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: 20 }}>
          {items.map((it) => {
            const Card = it.url ? "a" : "div";
            return (
            <Card key={it.title} href={it.url || undefined} target={it.url ? "_blank" : undefined} rel={it.url ? "noopener noreferrer" : undefined} style={{
              background: "var(--surface)", borderRadius: "var(--radius-lg)",
              border: "1px solid var(--border)", overflow: "hidden", boxShadow: "var(--shadow-xs)",
              display: "flex", flexDirection: "column", textDecoration: "none", color: "var(--text)",
            }}>
              <WorkThumb kind={it.kind} />
              <div style={{ padding: 24, display: "flex", flexDirection: "column", gap: 10, flex: 1 }}>
                <span style={{ fontSize: 11, fontWeight: 600, letterSpacing: "0.1em", textTransform: "uppercase", color: "var(--site-accent-deep)" }}>{it.tag}</span>
                <h3 style={{ margin: 0, fontSize: 21, fontWeight: 600, letterSpacing: "-0.015em" }}>{it.title}</h3>
                <p style={{ margin: 0, fontSize: 14.5, lineHeight: 1.6, color: "var(--text-secondary)", flex: 1 }}>{it.body}</p>
                <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between", gap: 8, marginTop: 6, paddingTop: 14, borderTop: "1px solid var(--border-subtle)" }}>
                  <span style={{ display: "inline-flex", alignItems: "center", gap: 7, fontSize: 12.5, color: "var(--text-tertiary)" }}>
                    <span style={{ width: 7, height: 7, borderRadius: 999, background: it.live ? "var(--success-500)" : "var(--site-accent)" }} />
                    {it.status}
                  </span>
                  {it.url
                    ? <span style={{ display: "inline-flex", alignItems: "center", gap: 5, fontSize: 12.5, fontWeight: 600, color: "var(--site-accent-deep)", fontFamily: "var(--font-mono)" }}>{it.host}<Icon name="arrowUR" size={12} color="var(--site-accent-deep)" /></span>
                    : <span style={{ fontSize: 12.5, color: "var(--text-quaternary)", fontFamily: "var(--font-mono)" }}>{it.host}</span>}
                </div>
              </div>
            </Card>
            );
          })}
        </div>

        {/* Previously / also built — ventures without a live site */}
        <div style={{ marginTop: 20, display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: 20 }}>
          {[
            { tag: "Sold", title: "Inbox & anti-spam tools", body: "A small suite for keeping an inbox clean and clear of spam. I built it on my own; another team wanted it for their own product and took it off my hands.", dot: "var(--success-500)" },
            { tag: "Concept", title: "Ranked Sports", body: "Amateur sports, fully gamified: ladders, leaderboards, and ranked play. Think League of Legends for rec leagues. An idea I prototyped and still want to build properly.", dot: "var(--site-accent)" },
          ].map((it) => (
            <div key={it.title} style={{ background: "var(--surface)", border: "1px solid var(--border)", borderRadius: "var(--radius-lg)", boxShadow: "var(--shadow-xs)", padding: "24px 26px", display: "flex", flexDirection: "column", gap: 9 }}>
              <span style={{ display: "inline-flex", alignItems: "center", gap: 7, fontSize: 11, fontWeight: 600, letterSpacing: "0.1em", textTransform: "uppercase", color: "var(--text-tertiary)" }}>
                <span style={{ width: 7, height: 7, borderRadius: 999, background: it.dot }} />{it.tag}
              </span>
              <h3 style={{ margin: 0, fontSize: 19, fontWeight: 600, letterSpacing: "-0.01em" }}>{it.title}</h3>
              <p style={{ margin: 0, fontSize: 14.5, lineHeight: 1.6, color: "var(--text-secondary)" }}>{it.body}</p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
};

Object.assign(window, { Hero, BuildWindow, Spaces, Services, Work });
