/* Portfolio data, Mazdak Shakiba */

const PROFILE = {
  name: "Mazdak Shakiba",
  title: "Senior Product Designer",
  years: 14,
  short: "Senior Product Designer. 14 years turning complex, regulated systems into measurable results.",
  statement:
    "I design products that earn their place in someone's day, across fintech, mobility, AI, and platforms.",
  longLine:
    "End-to-end product design: from problem framing through systems and design-to-code handoff. Currently freelance from Tallinn, working with clients across Canada, the US, and Europe, and building agent workflows in Claude.",
  location: "Tallinn, Estonia",
  email: "mit.mazdak@gmail.com",
  phone: "+372 5395 7269",
  linkedin: "www.linkedin.com/in/mazdakshakiba/",
  available: "Available \u00b7 Senior / Staff roles",
  availabilityNote: "Remote or EU hybrid, open to relocation",
};

const WORK = [
  {
    slug: "success-factory",
    idx: "01",
    title: "Success Factory",
    year: "2023–2024",
    role: "Senior Product Designer",
    client: "Success Factory",
    domain: "Network platform · 250k users",
    summary:
      "Re-platformed a nine-year-old member back-office used by 250k people across 90 countries, without retraining a single one of them. The success metric was the absence of complaints.",
    cover: "/assets/success-factory/dashboard.png",
    timeline: "11 months",
    team: "2 PMs · 1 designer · 12 engineers",
    headline:
      "Migrated 250k+ live users to a new platform without anyone noticing they had been migrated.",
    stats: [
      { num: "250k+", unit: null, label: "Active members migrated across 90 countries with zero downtime" },
      { num: "−42%", unit: null, label: "Time-on-task on the four highest-volume member journeys" },
      { num: "+27", unit: "SUS", label: "Usability score lift, measured pre- and post-launch with the same cohort" },
      { num: "1", unit: "system", label: "Replaced 4 disconnected legacy UIs with one consistent component library" },
    ],
    images: [
      "/assets/success-factory/dashboard.png",
      "/assets/success-factory/overview.png",
      "/assets/success-factory/activity.png",
      "/assets/success-factory/team.png",
    ],
  },
  {
    slug: "irex",
    idx: "02",
    title: "Irex Exchange",
    year: "2021–2023",
    role: "Senior Product Designer",
    client: "Irex",
    domain: "Crypto · Trading platform",
    summary:
      "Multi-product crypto exchange shipped with a single, bidirectional token system. Four surfaces, retail, advanced trade, partner widget, marketing, running off one library, dual-theme and dual-direction from day one.",
    cover: "/assets/irex/dashboard.png",
    timeline: "8 months",
    team: "1 PM · 2 designers · 6 engineers",
    headline:
      "Built a bidirectional, multi-theme design system for a crypto exchange, and the four products that ship on top of it.",
    stats: [
      { num: "4", unit: "products", label: "Web, advanced trade, mobile and partner widget, one shared token graph" },
      { num: "180+", unit: null, label: "Components shipped, all dual-direction and dual-theme out of the box" },
      { num: "<2", unit: "wks", label: "From product brief to first interactive screen, after the system was in place" },
      { num: "100%", unit: null, label: "Coverage in LTR & RTL, dark & light, no parallel design files" },
    ],
    images: [
      "/assets/irex/dashboard.png",
      "/assets/irex/homepage.png",
      "/assets/irex/components.png",
      "/assets/irex/advanced-trade.png",
      "/assets/irex/rtl-ltr.png",
      "/assets/irex/markets.png",
    ],
  },
  {
    slug: "smart-coach",
    idx: "03",
    title: "Smart Coach",
    year: "2023–2024",
    role: "Co-founder · Product Designer",
    client: "Smart Coach OÜ",
    domain: "AI · Computer vision",
    summary:
      "An AI fitness coach that watches your form through the camera. The interesting design problem wasn't showing the AI feedback, it was designing what to do when the AI is wrong.",
    cover: "/assets/smart-coach/practice-watching.png",
    timeline: "18 months",
    team: "Co-founder \u00b7 team of 6 across engineering, ML, and product",
    headline:
      "Designed the user side of an AI fitness coach, the part that has to feel forgiving when the model is wrong.",
    stats: [
      { num: "3,200+", unit: null, label: "Registered users on the product I co-founded and set direction for" },
      { num: "~450", unit: "MAU", label: "Monthly active users at the scale the coaching loop was tuned against" },
      { num: "6", unit: null, label: "People led across engineering, ML, and product as co-founder" },
      { num: "Per-rep", unit: null, label: "Feedback chosen over a post-workout summary, despite higher inference cost" },
    ],
    images: [
      "/assets/smart-coach/practice-watching.png",
      "/assets/smart-coach/ai-session.png",
      "/assets/smart-coach/profile.png",
      "/assets/smart-coach/welcome.png",
      "/assets/smart-coach/coach-chat.png",
    ],
  },
  {
    slug: "snapp",
    idx: "04",
    title: "Snapp! Driver",
    year: "2018–2021",
    role: "Senior Product Designer",
    client: "Snapp! · Ride-hailing",
    domain: "Mobility \u00b7 5M+ rides/day",
    summary:
      "Led the first Driver app restructure in four years while five million rides a day kept moving. Acceptance went from five taps to two, and up 11% in a post-release A/B test.",
    cover: "/assets/snapp/driver-flow.jpg",
    timeline: "9 months",
    team: "3 PMs · 2 designers · 18 engineers",
    headline: "Untangled a four-year-old driver app while five million rides a day kept moving.",
    stats: [
      { num: "+11%", unit: null, label: "Acceptance rate in a post-release A/B test on the restructured Driver app" },
      { num: "5\u21922", unit: "taps", label: "Taps to accept a trip, after the first restructure in four years" },
      { num: "5M+", unit: null, label: "Rides per day flowing through the surfaces I redesigned" },
    ],
    images: ["/assets/snapp/driver-flow.jpg", "/assets/snapp/vehicle-icons.png"],
  },
];

const APPROACH = [
  {
    n: "01",
    h: "Frame before pixels",
    p: "Every project starts with a one-page frame, who, what, why now, and the single business metric we're moving. If the page can't be written, the project isn't ready.",
  },
  {
    n: "02",
    h: "Fidelity early",
    p: "Real numbers, real strings, real edge cases. Sketches for thinking; high fidelity for deciding. The messy middle stays in the file as evidence, not decoration.",
  },
  {
    n: "03",
    h: "Measured outcomes",
    p: "A design isn't shipped until it's measured. I instrument outcomes with engineering and PM before launch, and read the data the week after, every time.",
  },
  {
    n: "04",
    h: "Design for a model that can be wrong",
    p: "An AI product is a trust problem before it is an interface problem. What the model does alone, what it says when unsure, when it stays silent. I build my own agent workflows to test those patterns first-hand.",
  },
];

const EXPERIENCE = [
  { y: "2024\u2013Now", co: "Freelance", ro: "Senior Product Designer", loc: "Tallinn \u00b7 Remote \u00b7 Clients in CA/US/EU" },
  { y: "2023\u20132024", co: "Smart Coach", ro: "Co-founder \u00b7 Product Designer", loc: "Tallinn" },
  { y: "2021\u20132023", co: "Visioncraft", ro: "Senior Product Designer \u00b7 Irex Exchange", loc: "Tallinn \u00b7 Amsterdam \u00b7 Hybrid" },
  { y: "2018\u20132021", co: "Snapp!", ro: "Senior Product Designer \u00b7 Driver app", loc: "Tehran \u00b7 Tallinn \u00b7 Hybrid" },
  { y: "2011\u20132018", co: "Kian Capital \u00b7 earlier roles", ro: "Senior Product Designer \u00b7 UX, travel & retail", loc: "Tehran" },
]

const HONORS = [
  {
    year: "2021",
    co: "Smart Coach",
    title: "Estonia's top 55 most innovative high-tech/AI startups",
    loc: "Tallinn, Estonia",
  },
  {
    year: "2015",
    co: "Appsi",
    title: "Top 3 Award-winning startup",
    loc: "iBridge Berlin, Germany",
  },
  {
    year: "2012",
    co: "Bikooch",
    title: "Gold Medal Award of Merit Winner",
    loc: "Inpex, Pittsburgh, PA, USA",
  },
];

const PUBLICATIONS = [
  {
    kind: "Article",
    venue: "Medium",
    year: "2024",
    title: "Designing for confidence: how to communicate AI uncertainty in product UI",
    desc: "A practical playbook of confidence bands, ambient states, and graceful failure, drawn from shipping AI products that get it wrong sometimes.",
    href: "#",
  },
  {
    kind: "Article",
    venue: "UX Collective",
    year: "2023",
    title: "Re-platforming for 250k users: a designer's migration playbook",
    desc: "Treating migration as a design problem, not a project plan. Why the right metric is the absence of complaints, and what that means for scope.",
    href: "#",
  },
  {
    kind: "Talk",
    venue: "Tallinn Design Week",
    year: "2022",
    title: "RTL is not a patch: building bidirectional design systems from day one",
    desc: "Lessons from shipping a crypto exchange in two directions simultaneously, without a single retrofit. The 'physics' of what flips and what doesn't.",
    href: "#",
  },
  {
    kind: "Tool",
    venue: "Figma Community",
    year: "2024",
    title: "Tokens-to-Theme, a three-layer token starter for product teams",
    desc: "Open Figma file pairing primitive, alias, and semantic tokens to a working theming engine across LTR/RTL and dark/light.",
    href: "#",
  },
];

const PHILOSOPHY = {
  statement:
    "Outcomes over artifacts. The work is the measured change in someone's day, not the file.",
  tenets: [
    {
      n: "01",
      h: "Restraint over decoration",
      p: "This site is monochrome on purpose. Two typefaces, a strict grid, no gradients, no ornament. Every line and weight has to argue for itself.",
    },
    {
      n: "02",
      h: "Type carries the hierarchy",
      p: "One grotesk for substance, one mono for instrument. Size, weight, and rhythm do the work that color and decoration usually pretend to.",
    },
    {
      n: "03",
      h: "Reads like a document",
      p: "Editorial pacing, generous space, single-column prose, anchored sections. The portfolio is meant to be read, not scrolled through.",
    },
    {
      n: "04",
      h: "Same system, every surface",
      p: "Tokens, components, and themes power the index, case studies, light and dark, both directions. One shape, scaled by content.",
    },
  ],
};

window.PORTFOLIO_DATA = {
  PROFILE,
  WORK,
  APPROACH,
  EXPERIENCE,
  HONORS,
  PUBLICATIONS,
  PHILOSOPHY,
};
