/* ============================================================
   data.jsx — all wireframe content (from the DIA AML proposal)
   Exposed on window for the screen components.
   ============================================================ */

// ---- core stats (proposal p.9) ----
const STATS = [
  { big: "$1.6b+", label: "laundered through New Zealand every year", note: "estimated" },
  { big: "11,000+", label: "businesses monitored under NZ's AML/CFT Act", note: "regulated" },
  { big: "50", label: "new roles across DIA, MoJ & Police", note: "in 2026" },
];

// ---- the three agencies (one system, not three employers) ----
const AGENCIES = {
  moj: {
    key: "moj", name: "Ministry of Justice", short: "MoJ",
    role: "Policy & law design", verb: "Designs the rules",
    color: "var(--moj)", cls: "moj",
    blurb: "Designs the rules that shape everything else downstream — the law the whole system runs on.",
    skills: ["Research", "Writing", "Systems thinking", "Foresight"],
    motivates: "Building the foundations others stand on.",
  },
  dia: {
    key: "dia", name: "Department of Internal Affairs", short: "DIA",
    role: "Regulator & supervisor", verb: "Makes the system work",
    color: "var(--dia)", cls: "dia",
    blurb: "Supervises 11,000+ businesses and helps them get it right — turning a rulebook into everyday practice.",
    skills: ["Pattern-spotting", "Working with industry", "Plain communication"],
    motivates: "System-wide change at scale.",
  },
  police: {
    key: "police", name: "Police / FIU", short: "Police",
    role: "Intelligence & enforcement", verb: "Follows the money",
    color: "var(--police)", cls: "police",
    blurb: "The Financial Intelligence Unit analyses the data and follows the money no one else noticed.",
    skills: ["Analysis", "Investigation", "Persistence", "Joining dots"],
    motivates: "Tangible, direct, consequential impact.",
  },
};
const AGENCY_ORDER = ["moj", "dia", "police"];

// ---- regulated sectors + how they're exploited (proposal p.10) ----
const SECTORS = [
  { name: "Banks",        how: "Cash layered through accounts to blur where it came from." },
  { name: "Lawyers",      how: "Trust accounts used to move money at arm's length." },
  { name: "Accountants",  how: "Shell companies dressed up as legitimate business." },
  { name: "Real estate",  how: "Property bought to park large sums, fast." },
  { name: "Crypto",       how: "Borderless transfers that are hard to trace." },
  { name: "Casinos",      how: "Chips in, clean cash out." },
];

// ---- jargon → plain English (proposal p.9 hover cards) ----
const JARGON = [
  { term: "Transaction monitoring thresholds", plain: "Spotting when money moves in a way that doesn't add up." },
  { term: "CDD obligations",                   plain: "Checking customers really are who they say they are." },
  { term: "Enhanced due diligence",            plain: "Looking harder when something feels off." },
  { term: "Suspicious activity report",        plain: "Flagging something that doesn't sit right." },
  { term: "Beneficial ownership",              plain: "Finding out who really controls the money." },
  { term: "Risk assessment",                   plain: "Working out where harm is most likely to hide." },
];

// ---- the 3 explainer cut-downs (proposal p.9) ----
const EXPLAINERS = [
  { n: "01", title: "How criminals clean dirty money", len: "0:40" },
  { n: "02", title: "How drug money is laundered in NZ — in 4 steps", len: "0:55" },
  { n: "03", title: "How terrorism financing hides in ordinary services", len: "0:45" },
];

// ---- day-in-the-life roles, framed by skills not titles (proposal p.11) ----
const ROLES = [
  {
    key: "analyst", title: "The Analyst", agencies: ["police", "dia"],
    tag: "Following the money no one else noticed",
    quote: "I spend my days looking at financial data that looks completely normal. The satisfaction is the moment you find the thread — the account that doesn't quite fit, the timing that makes no sense — and you start to pull it all together.",
    day: "Sift datasets, chase anomalies, brief investigators on what the numbers are really saying.",
    skills: ["Analysis", "Curiosity", "Pattern recognition"],
    motivates: "The click when a pattern finally resolves.",
    from: "Data, finance, audit, research backgrounds transition well.",
  },
  {
    key: "investigator", title: "The Investigator", agencies: ["police"],
    tag: "Turning a thread into a case",
    day: "Build the picture, gather evidence, disrupt the network and recover what was taken.",
    skills: ["Persistence", "Judgement", "Storytelling"],
    motivates: "Tangible, direct, consequential outcomes.",
    from: "Law, policing, journalism, insurance investigation.",
  },
  {
    key: "supervisor", title: "The Supervisor", agencies: ["dia"],
    tag: "Helping industries get it right",
    day: "Work alongside businesses so the rules become everyday practice, not paperwork.",
    skills: ["People skills", "Systems thinking", "Plain talk"],
    motivates: "Making thousands of firms measurably safer.",
    from: "Compliance, banking, consulting, account management.",
  },
  {
    key: "policy", title: "The Rule-maker", agencies: ["moj"],
    tag: "Designing what everyone else runs on",
    day: "Research how crime actually works and shape law that keeps up with it.",
    skills: ["Writing", "Big-picture thinking", "Foresight"],
    motivates: "Foundations that protect people for years.",
    from: "Policy, law, academia, economics.",
  },
];

// ---- live vacancies, cross-agency (proposal p.13) ----
const VACANCIES = [
  { title: "Financial Intelligence Analyst", agency: "police", loc: "Wellington", level: "Graduate+" },
  { title: "AML Supervision Advisor",        agency: "dia",    loc: "Auckland",   level: "Mid" },
  { title: "Policy Analyst, Financial Crime", agency: "moj",   loc: "Wellington", level: "Mid" },
  { title: "Graduate Analyst Programme",      agency: "dia",   loc: "Multiple",   level: "Graduate" },
  { title: "Investigator, Money Laundering",  agency: "police", loc: "Auckland",   level: "Experienced" },
  { title: "Sector Engagement Lead",          agency: "dia",   loc: "Wellington", level: "Senior" },
];

const PATHWAY = ["Graduate", "Analyst", "Senior Analyst", "Team Lead", "Principal / Manager"];

// ============================================================
//  THE QUIZ — 8 questions about how you think & what drives you.
//  Each answer spreads weight across agencies (multidimensional,
//  never binary). Result = a % fit for each, no single "winner".
// ============================================================
const QUIZ = [
  {
    q: "What kind of impact motivates you most?",
    a: [
      { t: "Disrupting a criminal network or recovering stolen assets", sub: "Tangible, direct, consequential", w: { police: 3 } },
      { t: "Improving how thousands of businesses operate every day", sub: "System-wide change at scale", w: { dia: 3 } },
      { t: "Designing the rules that shape everything downstream", sub: "The foundations others build on", w: { moj: 3 } },
      { t: "Helping people understand something they found intimidating", sub: "Turning confusion into confidence", w: { dia: 1, moj: 1, police: 1 } },
    ],
  },
  {
    q: "You're handed a messy, contradictory pile of information. You…",
    a: [
      { t: "Hunt for the one thread that ties it all together", sub: "", w: { police: 3 } },
      { t: "Sort it into a system so it never gets messy again", sub: "", w: { dia: 2, moj: 1 } },
      { t: "Ask what rule could have prevented the mess", sub: "", w: { moj: 3 } },
      { t: "Translate it into something a normal person could follow", sub: "", w: { dia: 2, moj: 1 } },
    ],
  },
  {
    q: "Which compliment would mean the most?",
    a: [
      { t: "\u201CYou saw what everyone else missed.\u201D", sub: "", w: { police: 3 } },
      { t: "\u201CYou made this fair for everyone.\u201D", sub: "", w: { moj: 2, dia: 1 } },
      { t: "\u201CYou made a complicated thing simple.\u201D", sub: "", w: { dia: 2, moj: 1 } },
      { t: "\u201CNothing slips past you.\u201D", sub: "", w: { police: 2, dia: 1 } },
    ],
  },
  {
    q: "Your ideal week has more…",
    a: [
      { t: "Deep-focus analysis and following leads", sub: "", w: { police: 3 } },
      { t: "Conversations with businesses about how they work", sub: "", w: { dia: 3 } },
      { t: "Reading, writing and thinking through consequences", sub: "", w: { moj: 3 } },
      { t: "A mix — variety keeps you sharp", sub: "", w: { dia: 1, moj: 1, police: 1 } },
    ],
  },
  {
    q: "When something's broken, you'd rather…",
    a: [
      { t: "Catch the people exploiting it", sub: "", w: { police: 3 } },
      { t: "Fix the system so it can't be exploited", sub: "", w: { dia: 2, moj: 1 } },
      { t: "Rewrite the rule that allowed it", sub: "", w: { moj: 3 } },
      { t: "Warn others before it spreads", sub: "", w: { dia: 2, police: 1 } },
    ],
  },
  {
    q: "Which problem is more your speed?",
    a: [
      { t: "\u201CThis transaction doesn't add up — why?\u201D", sub: "", w: { police: 3 } },
      { t: "\u201CThousands of firms read this rule differently — align them.\u201D", sub: "", w: { dia: 3 } },
      { t: "\u201COur law hasn't kept up with how crime works.\u201D", sub: "", w: { moj: 3 } },
      { t: "\u201CPeople don't understand their obligations.\u201D", sub: "", w: { dia: 2, moj: 1 } },
    ],
  },
  {
    q: "People who know you would say you're…",
    a: [
      { t: "Tenacious — you don't let a question go", sub: "", w: { police: 3 } },
      { t: "Even-handed — you see every side", sub: "", w: { moj: 2, dia: 1 } },
      { t: "A connector — you make systems click", sub: "", w: { dia: 3 } },
      { t: "A translator — you make hard things clear", sub: "", w: { dia: 1, moj: 2 } },
    ],
  },
  {
    q: "The part of the job you'd secretly enjoy most…",
    a: [
      { t: "The moment the pattern finally clicks", sub: "", w: { police: 3 } },
      { t: "Knowing a rule you shaped protects people for years", sub: "", w: { moj: 3 } },
      { t: "Watching an industry get measurably safer", sub: "", w: { dia: 3 } },
      { t: "Someone saying \u201CI finally get it now\u201D", sub: "", w: { dia: 1, moj: 1, police: 1 } },
    ],
  },
];

Object.assign(window, {
  STATS, AGENCIES, AGENCY_ORDER, SECTORS, JARGON,
  EXPLAINERS, ROLES, VACANCIES, PATHWAY, QUIZ,
});
