import type { LocaleCode } from "./locales";

export type CvMandate = {
  years: string;
  role: string;
  org: string;
  location: string;
  summary: Record<LocaleCode, string>;
  detail: Record<LocaleCode, string>;
  sourceLabel: string;
  sourceUrl: string;
};

export type CvRole = {
  years: string;
  role: string;
  org: string;
  location: string;
  summary: Record<LocaleCode, string>;
  bullets: Record<LocaleCode, string[]>;
};

export type CvSkillTrack = {
  label: Record<LocaleCode, string>;
  items: string[];
};

export const cvHero = {
  eyebrow: { en: "Section 11 / curriculum vitae", fr: "Section 11 / curriculum vitae", nb: "Seksjon 11 / curriculum vitae" },
  title: { en: "The formal record, but still edited like a cover story.", fr: "Le dossier formel, mais toujours édité comme une histoire de couverture.", nb: "Den formelle oversikten, men fortsatt redigert som en forsidehistorie." },
  lede: { en: "Finance, reinsurance, systems engineering, private AI, multilingual business study, and children's-rights advocacy belong on one page only if the through-line is legible: build the machinery, understand the money, keep the language human.", fr: "Finance, réassurance, ingénierie des systèmes, IA privée, études commerciales multilingues et défense des droits des enfants tiennent sur une seule page seulement si le fil conducteur est lisible : construire la machine, comprendre l'argent, garder le langage humain.", nb: "Finans, reassuranse, systemteknikk, privat AI, flerspråklige forretningsstudier og barns rettighetsarbeid hører hjemme på én side bare hvis den røde tråden er lesbar: bygg maskineriet, forstå pengene, hold språket menneskelig." },
  note: { en: "This desk combines the standing employment history from the current public profile with the live venture descriptions now used across the new site.", fr: "Ce bureau combine l'historique d'emploi actuel issu du profil public avec les descriptions des projets en cours désormais utilisées sur le nouveau site.", nb: "Denne desken kombinerer den nåværende ansettelseshistorikken fra den offentlige profilen med de levende prosjektbeskrivelsene som nå brukes på det nye nettstedet." },
};

export const cvHighlights: Record<LocaleCode, string[]> = {
  en: [
    "Dual Norwegian-American profile shaped across the United States and Europe.",
    "Business education in Philadelphia, Brussels, Columbia, Paris, and Krakow.",
    "Current work sits at the overlap of AI systems, civic advocacy, and cultural publishing.",
  ],
  fr: [
    "Double profil norvégien-américain façonné entre les États-Unis et l'Europe.",
    "Formation en commerce à Philadelphie, Bruxelles, Columbia, Paris et Cracovie.",
    "Travail actuel à l'intersection des systèmes d'IA, du plaidoyer civique et de l'édition culturelle."
],
  nb: [
    "Dobbelt norsk-amerikansk profil formet mellom USA og Europa.",
    "Forretningsutdanning i Philadelphia, Brussel, Columbia, Paris og Krakow.",
    "Nåværende arbeid ligger i skjæringspunktet mellom AI-systemer, samfunnsadvokatvirksomhet og kulturell publisering."
],
};

export const cvMandates: CvMandate[] = [
  {
    years: "2026 to present",
    role: "Owner",
    org: "Blue Note Logic Inc",
    location: "Philadelphia to Paris, with EU infrastructure",
    summary: { en: "Private AI platforms, document intelligence, and sovereign infrastructure designed to turn working knowledge into owned systems rather than rented dependency.", fr: "Plateformes d'IA privées, intelligence documentaire et infrastructures souveraines conçues pour transformer les connaissances opérationnelles en systèmes possédés plutôt qu'en dépendances louées.", nb: "Private AI-plattformer, dokumentintelligens og suveren infrastruktur designet for å gjøre arbeidskunnskap om til eierskapssystemer i stedet for leieavhengighet." },
    detail: { en: "Current work centers on CorpusAI, document-grounded retrieval, corporate memory extraction, and EU-hosted deployments that keep data, models, and outcomes under client control.", fr: "Le travail actuel se concentre sur CorpusAI, la récupération basée sur les documents, l'extraction de mémoire d'entreprise et les déploiements hébergés dans l'UE qui maintiennent les données, les modèles et les résultats sous le contrôle des clients.", nb: "Nåværende arbeid fokuserer på CorpusAI, dokumentbasert gjenfinning, bedriftsminneuttrekk og EU-vertsbaserte distribusjoner som holder data, modeller og resultater under klientens kontroll." },
    sourceLabel: "Blue Note Logic official sites",
    sourceUrl: "https://ai.bluenotelogic.com/",
  },
  {
    years: "2025 to present",
    role: "CEO & Founder",
    org: "Do Better Norge",
    location: "Kongsberg, Norway",
    summary: { en: "A civic and advocacy organization focused on parental rights, children's rights, due process, and the treatment of immigrant and international families in Norway.", fr: "Une organisation civique et de plaidoyer axée sur les droits parentaux, les droits des enfants, le respect des procédures légales et le traitement des familles immigrées et internationales en Norvège.", nb: "En samfunns- og interesseorganisasjon med fokus på foreldrerettigheter, barns rettigheter, rettssikkerhet og behandlingen av innvandrer- og internasjonale familier i Norge." },
    detail: { en: "The public work includes rights explainers, source-based legal materials, media-facing advocacy, and a broader reform effort aimed at family unity and procedural fairness.", fr: "Le travail public inclut des explications sur les droits, des documents juridiques basés sur des sources, un plaidoyer médiatique et un effort de réforme plus large visant à l'unité familiale et à l'équité procédurale.", nb: "Det offentlige arbeidet inkluderer rettighetsforklaringer, kildebaserte juridiske materialer, medieorientert påvirkning og en bredere reforminnsats rettet mot familiegjenforening og prosessrettferdighet." },
    sourceLabel: "Do Better Norge",
    sourceUrl: "https://dobetternorge.no/",
  },
  {
    years: "2018 to present",
    role: "Owner",
    org: "Gilligan TECH ENK",
    location: "Kongsberg, Norway",
    summary: { en: "AI systems engineering for Nordic SMBs: architectural audits, system builds, and fractional CTO support anchored in practical ROI rather than consultant theatre.", fr: "Ingénierie de systèmes d'IA pour les PME nordiques : audits architecturaux, constructions de systèmes et support CTO fractionné ancré dans un ROI pratique plutôt que dans du théâtre de consultant.", nb: "AI-systemteknikk for nordiske SMB-er: arkitekturgjennomganger, systembygging og delt CTO-støtte forankret i praktisk avkastning på investeringer fremfor konsulentteater." },
    detail: { en: "The current Gilligan Tech positioning is explicit about sovereign European AI, dedicated infrastructure, and the mix of strategy, SQL, RAG, transcription, and deployment work needed to make AI useful in the real world.", fr: "Le positionnement actuel de Gilligan Tech est explicite sur l'IA européenne souveraine, les infrastructures dédiées et le mélange de stratégie, SQL, RAG, transcription et travail de déploiement nécessaire pour rendre l'IA utile dans le monde réel.", nb: "Den nåværende posisjoneringen til Gilligan Tech er eksplisitt om suveren europeisk AI, dedikert infrastruktur og blandingen av strategi, SQL, RAG, transkripsjon og distribusjonsarbeid som trengs for å gjøre AI nyttig i den virkelige verden." },
    sourceLabel: "Gilligan Tech",
    sourceUrl: "https://gilligan.tech/",
  },
];

export const cvTimeline: CvRole[] = [
  {
    years: "2013 to 2016",
    role: "Technical Consultant - Finance",
    org: "Kvaerner",
    location: "Oslo, Norway",
    summary: { en: "Worked with corporate finance, HR, purchasing, cost estimating, MS SQL Server, Promineo, and QlikView to make large industrial bid and cost systems more useful to decision-makers.", fr: "Travaillé avec la finance d'entreprise, les RH, les achats, l'estimation des coûts, MS SQL Server, Promineo et QlikView pour rendre les systèmes d'offres et de coûts industriels plus utiles aux décideurs.", nb: "Jobbet med bedriftsfinans, HR, innkjøp, kostnadsestimering, MS SQL Server, Promineo og QlikView for å gjøre store industrielle anbuds- og kostnadssystemer mer nyttige for beslutningstakere." },
    bullets: { en: ["Reported to the Senior Vice President of Corporate Finance.","Helped build the Cost Estimating Project (CEM), a major change in how tenders were issued for offshore platforms and jackets.","Linked finance logic, operational data, and what-if analysis across multiple departments."], fr: ["Rapporté au Vice-Président Senior des Finances d'Entreprise.","A aidé à construire le projet d'estimation des coûts (CEM), un changement majeur dans la manière dont les appels d'offres étaient émis pour les plateformes offshore et les jackets.","Lié la logique financière, les données opérationnelles et l'analyse de scénarios entre plusieurs départements."], nb: ["Rapporterte til Senior Vice President for Corporate Finance.","Bidro til å bygge Cost Estimating Project (CEM), en stor endring i hvordan anbud ble utstedt for offshore-plattformer og -understell.","Koblet finanslogikk, operasjonelle data og hypotetiske analyser på tvers av flere avdelinger."] },
  },
  {
    years: "2008 to 2011",
    role: "Owner",
    org: "Chloe & Colin",
    location: "United States",
    summary: { en: "Operated a general IT consultancy serving small businesses and organizations across practical technology needs before the current AI era.", fr: "Exploité une société de conseil en informatique générale au service des petites entreprises et organisations pour leurs besoins technologiques pratiques avant l'ère actuelle de l'IA.", nb: "Drevet et generelt IT-konsulentfirma som betjente små bedrifter og organisasjoner med praktiske teknologibehov før den nåværende AI-æraen." },
    bullets: { en: ["Worked as a hands-on generalist across infrastructure, applications, websites, databases, and operational problem-solving.","Helped clients improve reliability, efficiency, and day-to-day use of their systems without unnecessary complexity.","A broad-spectrum owner-operator chapter that fills the gap between larger corporate roles and later venture work."], fr: ["Travaillé comme généraliste pratique sur les infrastructures, applications, sites web, bases de données et résolution de problèmes opérationnels.","A aidé les clients à améliorer la fiabilité, l'efficacité et l'utilisation quotidienne de leurs systèmes sans complexité inutile.","Un chapitre de propriétaire-opérateur à large spectre comblant l'écart entre les rôles d'entreprise plus importants et le travail de capital-risque ultérieur."], nb: ["Jobbet som en praktisk generalist innen infrastruktur, applikasjoner, nettsteder, databaser og operasjonell problemløsning.","Hjalp klienter med å forbedre pålitelighet, effektivitet og daglig bruk av systemene deres uten unødvendig kompleksitet.","En bredspektret eier-operatør-periode som fylte gapet mellom større bedriftsroller og senere venturearbeid."] },
  },
  {
    years: "2006 to 2007",
    role: "Assistant Vice President",
    org: "Ariel Re",
    location: "Hamilton, Bermuda",
    summary: { en: "Built the IT support structure for AIR and RMS catastrophe risk modeling and ran stochastic analysis on large insured property portfolios.", fr: "Construit la structure de support informatique pour la modélisation des risques catastrophiques AIR et RMS et réalisé des analyses stochastiques sur de grands portefeuilles de propriétés assurées.", nb: "Bygget IT-støttestrukturen for AIR- og RMS-katastroferisikomodellering og utførte stokastiske analyser på store forsikrede eiendomsporteføljer." },
    bullets: { en: ["Worked at the junction of underwriters, analysts, and internal software teams.","Supported catastrophe modeling across hurricanes, earthquakes, storms, and other modeled events."], fr: ["Travaillé à la jonction des souscripteurs, analystes et équipes logicielles internes.","Soutenu la modélisation des catastrophes pour les ouragans, tremblements de terre, tempêtes et autres événements modélisés."], nb: ["Jobbet i skjæringspunktet mellom forsikringsgivere, analytikere og interne programvareteam.","Støttet katastrofemodellering for orkaner, jordskjelv, stormer og andre modellerte hendelser."] },
  },
  {
    years: "2001 to 2006",
    role: "Assistant Secretary",
    org: "Folksamerica / White Mountains Re",
    location: "New York City, New York",
    summary: { en: "Analyzed property treaty reinsurance risk while helping design the infrastructure around large-scale actuarial and underwriting work.", fr: "Analysé les risques de réassurance des traités immobiliers tout en aidant à concevoir l'infrastructure autour des travaux actuariels et de souscription à grande échelle.", nb: "Analyserte risikoen for eiendomsgjenforsikring mens jeg bidro til å designe infrastrukturen rundt storskala aktuarmessig og underwriting-arbeid." },
    bullets: { en: ["Worked closely with senior management, underwriters, and actuarial staff on pricing and risk analysis.","Helped shape a multi-tiered risk management environment with roughly 30 data-analysis engines and 4 MS SQL database servers.","Supported both Windows client and IIS-based global web interfaces."], fr: ["Travaillé en étroite collaboration avec la direction, les souscripteurs et le personnel actuariel sur la tarification et l'analyse des risques.","A aidé à façonner un environnement de gestion des risques à plusieurs niveaux avec environ 30 moteurs d'analyse de données et 4 serveurs de bases de données MS SQL.","Soutenu à la fois les interfaces globales Windows client et IIS basées sur le web."], nb: ["Jobbet tett med toppledelsen, forsikringsgivere og aktuarmessig personale om prising og risikoberegning.","Bidro til å forme et flernivå risikostyringsmiljø med omtrent 30 dataanalyse-motorer og 4 MS SQL-databaseservere.","Støttet både Windows-klient og IIS-baserte globale webgrensesnitt."] },
  },
  {
    years: "1998 to 1999",
    role: "Intern for CFO",
    org: "Zurich France / Zurich Financial Services",
    location: "Paris, France",
    summary: { en: "Graduate internship in the CFO's orbit during the French Franc to Euro transition and the Year 2000 remediation cycle.", fr: "Stage de fin d'études dans l'orbite du CFO pendant la transition du Franc français à l'Euro et le cycle de remédiation de l'An 2000.", nb: "Graduate internship i CFOs sfære under overgangen fra franske franc til euro og år 2000-oppgraderingssyklusen." },
    bullets: { en: ["Worked on specialist project teams related to Euro conversion and Y2K readiness.","Built the \"Euro 1999\" client and partner sub-site in Lotus Notes."], fr: ["Travaillé sur des équipes de projets spécialisés liés à la conversion à l'Euro et à la préparation au passage à l'An 2000.","Construit le sous-site client et partenaire \"Euro 1999\" dans Lotus Notes."], nb: ["Jobbet i spesialistprosjektteam relatert til euro-konvertering og Y2K-beredskap.","Bygget \"Euro 1999\" klient- og partnerunderside i Lotus Notes."] },
  },
];

export const cvSkillTracks: CvSkillTrack[] = [
  {
    label: { en: "Operating languages", fr: "Langues de travail", nb: "Arbeidsspråk" },
    items: ["English", "French", "Norwegian", "SQL", "the language of finance"],
  },
  {
    label: { en: "Technical stack", fr: "Stack technique", nb: "Teknisk stack" },
    items: ["MS SQL / MariaDB / MySQL", "PHP", "Python", "JavaScript / React / Astro", "RAG systems"],
  },
  {
    label: { en: "Working domains", fr: "Domaines de travail", nb: "Arbeidsdomener" },
    items: ["Global finance", "Reinsurance", "Private AI", "Document intelligence", "Family-rights advocacy"],
  },
];

export const cvSourceNotes = [
  {
    label: "Current public profile API",
    url: "http://davegilligan.local/api/content.php?lang=en",
    note: "Used for the standing public experience history, headline language, education chronology, and contact references from the current local site.",
  },
  {
    label: "Gilligan Tech",
    url: "https://gilligan.tech/",
    note: "Used for the current Gilligan TECH ENK positioning, Kongsberg-based identity, and the AI Dispatch / Systems Forge / Systems Command model.",
  },
  {
    label: "Blue Note Logic / CorpusAI",
    url: "https://ai.bluenotelogic.com/",
    note: "Used for the current Blue Note Logic mandate around private AI, document intelligence, and source-cited retrieval.",
  },
  {
    label: "Do Better Norge",
    url: "https://dobetternorge.no/",
    note: "Used for the public advocacy scope around parental rights, children, family unity, and due process in Norway.",
  },
];
