/* ==============================================================================
   case-studies.jsx — STAR+ case study content for the Career Journey modals

   ─── PURPOSE ────────────────────────────────────────────────────────────────
   Single source of truth for the modal that opens when a user clicks a stat
   card inside a chapter on the Career Journey view. The modal reads from the
   CASE_STUDIES object below. Edit a value here, refresh the browser, done.
   You do NOT need to touch any component file to change copy.

   ─── KEY FORMAT ─────────────────────────────────────────────────────────────
   Keys are "<chapterId>-<statIndex>" where statIndex is 0, 1, or 2 (matching
   the order the stats appear in data.jsx).

     foundation   — Ch. I    · Greenfield Belser   · 2005–2010
     scale        — Ch. II   · AKQA                · 2010–2017
     enterprise   — Ch. III  · National Geographic · 2017–2019
     complexity   — Ch. IV   · Disney              · 2019–2020
     hypergrowth  — Ch. V    · Mural               · 2021–2023
     depth        — Ch. VI   · Huntress            · 2023–2024
     independence — Ch. VII  · Vastola LLC         · 2024–Present

   ─── FIELDS (STAR+ framework — same as Notion) ──────────────────────────────
     title         Modal headline (e.g., "The PMO Build")
     statLabel     Mirror of the stat label in data.jsx — FYI only, not rendered
     notionRef     Which Notion CS or page to source content from when editing
     context       The world when you walked in
     problem       What was broken and why it mattered
     myRole        Who brought you in, what you owned
     whatIBuilt    The work itself — usually the longest section
     howILedIt     Your leadership approach, what made it stick
     outcome       Measurable results
     throughline   The meta lesson / pattern this case demonstrates

   ─── EDITING TIPS ──────────────────────────────────────────────────────────
     • Use \n\n inside a string to create a paragraph break
     • Set a field to "" (empty) to hide that section in the modal
     • Long strings are fine — the modal scrolls

   ─── NOTION SOURCES (already mapped per entry below in notionRef) ──────────
     Case Studies index:      notion.so/342af0a9602b81b7ab7fef6ffdad167e
     CS1 Financial Infra              Mural 2021–2023
     CS2 Product Ops Rebuild          Huntress 2023–2024
     CS3 8x Scaling                   Mural 2021–2023
     CS4 Post-Acquisition Integration NatGeo & Disney 2017–2020
     CS5 R&D Transformation           Instruqt 2024–2026
     Master Resume:           notion.so/33eaf0a9602b813a8247f30c747a4ed7
     Career Timeline (CLEAN): notion.so/342af0a9602b8182ba6ae970eba99c89
   ============================================================================ */

/* global window */

const LOREM = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.";

const CASE_STUDIES = {

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER I — Foundation
     Greenfield Belser Ltd. · 2005–2010 · Washington DC
     Source: synthesize from Master Resume + Career Timeline Ch. 1
     ════════════════════════════════════════════════════════════════════════ */

  "foundation-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "5yr · from print to digital, the foundation years",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 1",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "foundation-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "1st · to bring formal UX process to the dev team",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 1",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "foundation-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "CMS · led the design and build of a custom CMS",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 1",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER II — Scale
     AKQA · 2010–2017 · Washington DC
     Source: synthesize from Master Resume + Career Timeline Ch. 2
     ════════════════════════════════════════════════════════════════════════ */

  "scale-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "98% · project profitability, most profitable office in network",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 2",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "scale-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "22% · improvement in resource utilization",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 2",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "scale-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "15yr · AOR relationship built with Delta, still active",
    notionRef:   "Synthesize from Master Resume / Career Timeline Ch. 2",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER III — Enterprise
     National Geographic Partners · 2017–2019 · Washington DC
     Source: CS4 Post-Acquisition Integration — NatGeo section
     ════════════════════════════════════════════════════════════════════════ */

  "enterprise-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "3 → 22 · program management team scaled",
    notionRef:   "CS4 — NatGeo section (PMO build from 3 to 22)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "enterprise-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "20% · OpEx efficiency improvement",
    notionRef:   "CS4 — NatGeo section ($30M+ P&L, OpEx + CapEx)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "enterprise-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "100+ · digital products and services under oversight",
    notionRef:   "CS4 — NatGeo section (digital modernization, headless CMS)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER IV — Complexity
     The Walt Disney Company · 2019–2020 · Washington DC
     Source: CS4 Post-Acquisition Integration — Disney section
     ════════════════════════════════════════════════════════════════════════ */

  "complexity-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "150p · integration guide for executive leadership",
    notionRef:   "CS4 — Disney section (150-page integration guide)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
    /* Renders the GuideBinder animation (Fig. 4) inside the modal, directly
       under the "What I Built" header — see CaseStudyModal in career-journey.jsx. */
    fig: "guideBinder",
  },

  "complexity-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "200+ · products audited and teams mapped for integration",
    notionRef:   "CS4 — Disney section (portfolio audit, 200+ people / 100+ products)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "complexity-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "0 → 1 · BRM function designed and built from zero",
    notionRef:   "CS4 — Disney section (Business Relationship Management function)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER V — Hypergrowth
     Mural · 2021–2023 · Remote, 20+ countries
     Source: CS3 8x Scaling (and/or CS1 Financial Infrastructure)
     ════════════════════════════════════════════════════════════════════════ */

  "hypergrowth-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "8× · organizational growth in 18 months",
    notionRef:   "CS3 — 8x Scaling (org design + culture preservation)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "hypergrowth-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "20% · reduction in time-to-hire across 20+ countries",
    notionRef:   "CS3 — 8x Scaling (global hiring strategy + location model)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "hypergrowth-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "1 → 5 · ops capability built from a team of one",
    notionRef:   "CS3 — 8x Scaling (R&D ops function build) — or repoint to CS1 Financial Infrastructure if you want to surface that case study here instead",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER VI — Depth
     Huntress · 2023–2024 · Remote
     Source: CS2 Product Ops Rebuild
     ════════════════════════════════════════════════════════════════════════ */

  "depth-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "50% · improvement in software capitalization compliance",
    notionRef:   "CS2 — Product Ops Rebuild (capitalization relaunch with Finance)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "depth-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "30% · increase in accurately captured engineering effort",
    notionRef:   "CS2 — Product Ops Rebuild (capitalization rigor + reporting)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "depth-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "NEW · dual-track agile delivery model — designed, rolled out, trained on",
    notionRef:   "CS2 — Product Ops Rebuild (Ship Now! Ship Wow! program)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  /* ════════════════════════════════════════════════════════════════════════
     CHAPTER VII — Independence
     Anastasia Vastola LLC · 2024–Present · Remote
     Source: CS5 R&D Transformation (Instruqt)
     ════════════════════════════════════════════════════════════════════════ */

  "independence-0": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "75% · increase in roadmap reliability · Instruqt",
    notionRef:   "CS5 — R&D Transformation (operating model + dual-track agile)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "independence-1": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "40% · increase in stakeholder confidence · Instruqt",
    notionRef:   "CS5 — R&D Transformation (rhythm of business + Developer Engagement Survey)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

  "independence-2": {
    title:       "Lorem ipsum dolor sit",
    statLabel:   "1 → 1 · coached successor into Head of Engineering",
    notionRef:   "CS5 — R&D Transformation (Peter coaching, leadership succession)",
    context:     LOREM,
    problem:     LOREM,
    myRole:      LOREM,
    whatIBuilt:  LOREM,
    howILedIt:   LOREM,
    outcome:     LOREM,
    throughline: LOREM,
  },

};

/* Expose globally so career-journey.jsx can read it without imports */
Object.assign(window, { CASE_STUDIES });
