/* Andy Price proof case — preloaded so the demo lands real on first paint. */
const ANDY_CASE = {
  role_title: "CFO",
  role_family: "CFO",
  company: "Riverbend Industrial Services",
  industry: "Industrial services (PE platform)",
  ownership: "PE-backed",
  stage: "mid-market",
  tier: "Mid-Market",
  geography: "Cleveland, OH",
  remote_policy: "hybrid",
  timeline_weeks: 12,
  confidential: false,
  cash_low: 280000,
  cash_high: 380000,
  tc_low: 480000,
  tc_high: 720000,
  comp_notes: "Sign-on capped at $50K; equity vest 4y cliff vs. market 3y",
  mandate:
    "Replace outgoing CFO ahead of H2 2027 exit window. Sponsor wants sponsor-grade reporting cadence and ERP migration through go-live. CEO wants a finance partner, not a controller.",
  must_haves: [
    "Scaled finance org from $150M to $400M+",
    "PE sponsor reporting cadence",
    "ERP migration leadership (NetSuite or D365)",
    "M&A integration experience",
    "Sat across the table from a sponsor in a board room",
  ],
  nice_to_haves: [
    "Industrial services background",
    "Big-4 audit foundation",
    "IPO readiness",
  ],
  company_events:
    "18 months post-LBO (Vector Capital). ERP migration to NetSuite in flight. Three back-to-back finance hires below CFO. Exit window opens H2 2027.",
  hm_name: "Mark Reynolds, CEO",
  hm_cal: "Medium",
  hm_notes:
    "Operations background, ran two prior platforms for the same sponsor. Communicates in short Slack, phone-first for decisions. Has rejected two prior CFO candidates in past 60 days for 'not enough operating instinct'. (Recruiter-Supplied)",
  off_limits: ["Crestline Holdings", "Apex Industrial", "Northbridge Partners (portcos)"],
  past_failures:
    "Last CFO lasted 14 months — sponsor pattern was 'too strategic, not enough hands-on with the close'.",
  other_context:
    "Sponsor (Vector) has hired 4 CFOs across portfolio in the last 18 months — pattern matters.",
  market: [
    { tier: "Tier 1", company: "Helios Industrial", state: "Post-leadership-change", reason: "New CEO 4 months in; CFO seat historically turns within 12 months of new CEO", classification: "Inference" },
    { tier: "Tier 1", company: "Brava Manufacturing", state: "Frozen", reason: "Hiring freeze announced last quarter; strong people open to listening", classification: "Recruiter-Supplied" },
    { tier: "Tier 1", company: "Cobalt Services Group", state: "Pre-restructure", reason: "RIF rumored imminent; mid-senior finance talent at risk", classification: "Recruiter-Supplied" },
    { tier: "Tier 2", company: "Delta Industrial Holdings", state: "Post-liquidity", reason: "Recent secondary; lockup expiring Q3", classification: "Sourced" },
    { tier: "Tier 2", company: "Echo Manufacturing", state: "Distressed", reason: "Down round + board pressure; upside-motivated", classification: "Recruiter-Supplied" },
    { tier: "Tier 3", company: "Ironwood Logistics", state: "Stable", reason: "No event — long shot, but #2 finance leader is high-trajectory", classification: "Inference" },
    { tier: "Avoid", company: "Foxtrot Industrial", state: "Off-limits", reason: "Off-limits per sponsor", classification: "Recruiter-Supplied" },
  ],
};

const STATES = [
  "Frozen","Post-leadership-change","Pre-restructure","Post-restructure",
  "Post-liquidity","Pre-liquidity","Distressed","Flush","Stable","Off-limits",
];
const TIERS = ["Tier 1", "Tier 2", "Tier 3", "Avoid"];
const CLASSIFICATIONS = ["Sourced", "Recruiter-Supplied", "Inference", "Unknown"];

window.IE_DATA = { ANDY_CASE, STATES, TIERS, CLASSIFICATIONS };
