Skip to content

donaldfilimon/abi / .agents/skills/pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

FileKindSize
SKILL.mdskill md9.1 KB
references/creating.mdmarkdown18.8 KB
references/editing.mdmarkdown28.2 KB
references/template_taxonomy.jsonconfig112.3 KB
references/templates/activewear_collection_overview.jsscript31.4 KB
references/templates/africa_fmcg_value_chain_playbook.jsscript40.1 KB
references/templates/ag_trade_finance_pitch_deck.jsscript32.3 KB
references/templates/agri_commodities_trading_primer.jsscript31.9 KB
references/templates/agtech_seed_round_pitch_deck.jsscript36.9 KB
references/templates/ai_blockchain_market_briefing.jsscript47.6 KB
references/templates/ai_llm_technical_history.jsscript34.4 KB
references/templates/ai_robotics_startup_pitch_deck.jsscript70.8 KB
references/templates/ai_sports_media_partnership_pitch.jsscript38.4 KB
references/templates/ai_startup_series_a_pitch_deck.jsscript18.3 KB
references/templates/american_regional_pizza_guide.jsscript23.4 KB
references/templates/animation_studio_company_history.jsscript20.5 KB
references/templates/apothecary_brand_introduction.jsscript18.7 KB
references/templates/art_gallery_exhibition_presentation.jsscript92.5 KB
references/templates/auto_repair_company_profile.jsscript68.7 KB
references/templates/automotive_board_strategy_review.jsscript52.0 KB
references/templates/bagel_shop_menu_pitch_deck.jsscript32.3 KB
references/templates/bakery_business_pitch_deck.jsscript31.8 KB
references/templates/bakery_commercial_loan_pitch.jsscript32.9 KB
references/templates/bakery_concept_vision_board.jsscript31.6 KB
references/templates/biology_dissertation_proposal.jsscript37.4 KB
references/templates/biotech_cloud_rd_infrastructure_proposal.jsscript49.7 KB
references/templates/biotech_series_b_pitch_deck.jsscript53.4 KB
references/templates/biotech_startup_pitch_deck.jsscript23.7 KB
references/templates/cafe_concept_vision_pitch_deck.jsscript22.0 KB
references/templates/cfo_financial_performance_review.jsscript41.4 KB
references/templates/childcare_operator_partnership_pitch.jsscript32.2 KB
references/templates/coffee_franchise_prospectus.jsscript51.8 KB
references/templates/college_admissions_consulting_pitch.jsscript31.2 KB
references/templates/college_sports_policy_briefing.jsscript17.9 KB
references/templates/comedy_writing_guide.jsscript22.3 KB
references/templates/consumer_goods_annual_budget.jsscript15.9 KB
references/templates/cruise_itinerary_trade_portfolio.jsscript42.8 KB
references/templates/crypto_hedge_fund_pitch_deck.jsscript34.5 KB
references/templates/crypto_portfolio_management.jsscript25.6 KB
references/templates/crypto_quantum_risk_briefing.jsscript47.2 KB
references/templates/crypto_series_a_pitch_deck.jsscript51.2 KB
references/templates/destination_marketing_event_pitch.jsscript27.9 KB
references/templates/economic_consulting_prospectus.jsscript25.3 KB
references/templates/edinburgh_fringe_performer_guide.jsscript27.3 KB
references/templates/edtech_ai_product_pitch_deck.jsscript95.7 KB
references/templates/education_calculus_lecture.jsscript29.6 KB
references/templates/education_intro_chemistry_lecture.jsscript23.0 KB
references/templates/education_intro_to_piano_lecture.jsscript26.6 KB
references/templates/education_literature_canterbury_tales.jsscript18.9 KB
references/templates/education_music_theory_lesson.jsscript22.6 KB
references/templates/education_university_profile.jsscript48.6 KB
references/templates/education_visual_essay_presentation.jsscript25.4 KB
references/templates/education_water_polo_basics.jsscript22.8 KB
references/templates/electronic_music_promoter_field_report.jsscript38.9 KB
references/templates/energy_storage_vendor_assessment.jsscript36.4 KB
references/templates/entertainment_creative_pitch_deck.jsscript27.1 KB
references/templates/entertainment_film_pitch_deck.jsscript110.2 KB
references/templates/family_office_portfolio_review.jsscript52.9 KB
references/templates/fashion_apparel_lookbook.jsscript41.0 KB
references/templates/feature_film_pitch_deck.jsscript32.1 KB
references/templates/finance_10k_filing_analysis_guide.jsscript35.2 KB
references/templates/finance_ai_fixed_income_briefing.jsscript34.5 KB
references/templates/finance_ai_portfolio_analysis.jsscript21.5 KB
references/templates/finance_cockroach_portfolio_strategy.jsscript32.8 KB
references/templates/finance_crypto_fund_pitch_deck.jsscript27.1 KB
references/templates/finance_day_trading_primer.jsscript35.2 KB
references/templates/finance_digital_asset_custody_briefing.jsscript44.1 KB
references/templates/finance_employee_excellence_awards.jsscript24.4 KB
references/templates/finance_equity_investment_analysis.jsscript117.2 KB
references/templates/finance_equity_portfolio_performance_report.jsscript48.5 KB
references/templates/finance_equity_research_index_analysis.jsscript39.2 KB
references/templates/finance_equity_research_investment_thesis.jsscript42.2 KB
references/templates/finance_equity_research_stock_pitch.jsscript35.8 KB
references/templates/finance_hedge_fund_pitch_deck.jsscript29.6 KB
references/templates/finance_hedge_fund_primer.jsscript78.5 KB
references/templates/finance_ifrs_us_gaap_training.jsscript7.6 KB
references/templates/finance_investment_committee_memo.jsscript41.2 KB
references/templates/finance_investment_portfolio_brief.jsscript32.0 KB
references/templates/finance_lihtc_bond_portfolio_review.jsscript43.6 KB
references/templates/finance_nft_marketplace_pitch_deck.jsscript44.5 KB
references/templates/finance_portfolio_quarterly_review.jsscript40.7 KB
references/templates/finance_prediction_markets_investment_memo.jsscript28.9 KB
references/templates/finance_private_credit_primer.jsscript34.7 KB
references/templates/finance_quant_trading_desk_proposal.jsscript50.5 KB
references/templates/finance_rwa_tokenization_pitch.jsscript39.6 KB
references/templates/finance_spv_pre_ipo_pitch.jsscript50.0 KB
references/templates/finance_vc_investment_memo.jsscript32.8 KB
references/templates/finance_vc_investment_memo_2.jsscript43.9 KB
references/templates/finance_venture_capital_primer.jsscript31.5 KB
references/templates/fintech_ai_series_a_pitch_deck.jsscript44.5 KB
references/templates/fitness_franchise_qbr_performance.jsscript40.6 KB
references/templates/fitness_gym_summer_press_kit.jsscript32.0 KB
references/templates/fitness_personal_training_keynote.jsscript22.9 KB
references/templates/fixed_income_macro_outlook.jsscript145.9 KB
references/templates/flower_shop_company_profile.jsscript44.1 KB
references/templates/food_beverage_bakery_brand_profile.jsscript19.1 KB
references/templates/food_beverage_seed_pitch_deck.jsscript30.9 KB
references/templates/food_delivery_subscription_pitch.jsscript59.1 KB
references/templates/future_mobility_trends_keynote.jsscript44.2 KB
references/templates/game_design_character_brief.jsscript44.2 KB
references/templates/gaming_ai_startup_pitch_deck.jsscript41.9 KB
references/templates/gaming_product_portfolio_review.jsscript33.5 KB
references/templates/garyvee_content_strategy_framework.jsscript25.7 KB
references/templates/gelateria_seed_pitch_deck.jsscript26.6 KB
references/templates/geospatial_data_analysis_training.jsscript33.3 KB
references/templates/grocery_flash_sale_promotion.jsscript32.9 KB
references/templates/healthcare_ai_partnership_proposal.jsscript31.8 KB
references/templates/healthcare_ma_pitch_deck.jsscript52.0 KB
references/templates/healthcare_nursing_performance_review.jsscript33.7 KB
references/templates/healthcare_patient_accessibility_survey.jsscript37.4 KB
references/templates/healthcare_patient_forms_standardization.jsscript56.8 KB
references/templates/healthcare_promis57_patient_guide.jsscript43.3 KB
references/templates/healthcare_std_prophylaxis_grand_rounds.jsscript51.9 KB
references/templates/healthcare_tb_testing_clinical_training.jsscript23.9 KB
references/templates/hedge_fund_portfolio_strategy.jsscript26.7 KB
references/templates/hospitality_bed_and_breakfast_promo.jsscript41.9 KB
references/templates/indoor_golf_club_launch_deck.jsscript25.9 KB
references/templates/institutional_crypto_exchange_pitch_deck.jsscript63.0 KB
references/templates/interior_design_studio_portfolio.jsscript36.4 KB
references/templates/intro_to_guitar_lecture.jsscript33.0 KB
references/templates/italy_travel_destination_guide.jsscript49.5 KB
references/templates/japan_travel_destination_guide.jsscript35.3 KB
references/templates/jazz_bar_concept_pitch.jsscript34.5 KB
references/templates/k12_literacy_tutoring_pitch.jsscript26.0 KB
references/templates/kids_taekwondo_marketing.jsscript24.8 KB
references/templates/labor_economics_research_presentation.jsscript27.7 KB
references/templates/local_ai_consulting_pitch_deck.jsscript35.0 KB
references/templates/local_business_pitch_deck.jsscript28.1 KB
references/templates/local_city_history_overview.jsscript31.0 KB
references/templates/local_ice_cream_shop_pitch_deck.jsscript26.9 KB
references/templates/luxury_design_brand_story.jsscript17.9 KB
references/templates/luxury_eyewear_retail_seed_pitch.jsscript31.9 KB
references/templates/luxury_hospitality_brand_guidelines.jsscript25.2 KB
references/templates/luxury_interior_design_partnership_deck.jsscript22.5 KB
references/templates/luxury_nanny_placement_brochure.jsscript37.5 KB
references/templates/macro_research_yield_curve_report.jsscript42.5 KB
references/templates/mba_financial_crisis_lecture.jsscript55.7 KB
references/templates/mental_health_app_pitch_deck.jsscript42.4 KB
references/templates/middle_school_nutrition_lesson.jsscript26.8 KB
references/templates/mobile_pet_grooming_seed_pitch_deck.jsscript25.8 KB
references/templates/mobile_pet_grooming_service_overview.jsscript48.8 KB
references/templates/municipal_water_infrastructure_proposal.jsscript35.7 KB
references/templates/music_festival_seed_pitch_deck.jsscript27.6 KB
references/templates/music_label_pitch_deck.jsscript44.7 KB
references/templates/nonprofit_wildlife_conservation_prospectus.jsscript50.3 KB
references/templates/nursing_documentation_transformation_strategy.jsscript37.3 KB
references/templates/orbital_compute_investor_memo.jsscript45.1 KB
references/templates/paintball_arena_pitch_deck.jsscript31.5 KB
references/templates/paragliding_school_prospectus.jsscript37.6 KB
references/templates/pest_control_company_overview.jsscript33.6 KB
references/templates/pharma_product_launch_deck.jsscript42.3 KB
references/templates/photography_studio_portfolio.jsscript18.1 KB
references/templates/pressure_washing_company_profile.jsscript36.6 KB
references/templates/public_health_snus_field_guide.jsscript45.4 KB
references/templates/real_estate_development_pitch.jsscript29.7 KB
references/templates/real_estate_fund_investment_briefing.jsscript40.7 KB
references/templates/real_estate_investing_primer.jsscript43.4 KB
references/templates/real_estate_market_overview.jsscript18.0 KB
references/templates/real_estate_neighborhood_buyer_guide.jsscript27.8 KB
references/templates/real_estate_self_storage_community_pitch.jsscript62.0 KB
references/templates/regional_airport_pitch_deck.jsscript29.6 KB
references/templates/restaurant_concept_pitch_deck.jsscript20.8 KB
references/templates/restaurant_concept_vision_deck.jsscript24.4 KB
references/templates/restaurant_culinary_profile.jsscript25.1 KB
references/templates/restaurant_franchise_pitch_deck.jsscript39.2 KB
references/templates/restaurant_investor_pitch_deck.jsscript35.5 KB
references/templates/retail_bookstore_profile.jsscript29.4 KB
references/templates/retail_florist_business_profile.jsscript17.3 KB
references/templates/retail_pet_store_pitch_deck.jsscript23.2 KB
references/templates/retail_product_catalog_overview.jsscript27.4 KB
references/templates/retro_tech_cafe_pitch_deck.jsscript80.9 KB
references/templates/scuba_dive_operator_prospectus.jsscript37.7 KB
references/templates/seaborn_data_visualization_training.jsscript31.4 KB
references/templates/skateboarding_beginner_course_lesson.jsscript27.1 KB
references/templates/snowboard_school_prospectus.jsscript42.5 KB
references/templates/snowboarding_beginner_lesson.jsscript24.1 KB
references/templates/sports_betting_saas_pitch_deck.jsscript33.1 KB
references/templates/sports_market_expansion_strategy.jsscript93.5 KB
references/templates/sports_marketing_promo_calendar.jsscript21.3 KB
references/templates/sports_sponsorship_pitch_deck.jsscript30.2 KB
references/templates/student_transportation_company_overview.jsscript41.3 KB
references/templates/surf_school_intro_lesson.jsscript31.0 KB
references/templates/tech_hardware_expansion_strategy.jsscript41.1 KB
references/templates/tv_series_pitch_deck.jsscript38.5 KB
references/templates/university_giving_day_fundraising.jsscript25.0 KB
references/templates/urban_landscaping_service_proposal.jsscript28.9 KB
references/templates/us_history_student_presentation.jsscript38.1 KB
references/templates/vacation_rental_quarterly_financial_report.jsscript35.3 KB
references/templates/video_game_industry_history.jsscript32.0 KB
references/templates/video_game_pitch_deck.jsscript45.7 KB
references/templates/vintage_computer_cafe_pitch_deck.jsscript32.0 KB
references/templates/wakeboarding_coaching_prospectus.jsscript35.8 KB
references/templates/web3_defi_app_design_review.jsscript51.2 KB
references/templates/wellness_startup_seed_pitch_deck.jsscript57.6 KB
references/templates/wine_tourism_strategy_brief.jsscript33.8 KB
references/templates/youth_soccer_training_program.jsscript42.5 KB
references/templates/youtube_channel_media_kit.jsscript52.1 KB
scripts/__init__.pyscript0 B
scripts/add_slide.pyscript6.7 KB
scripts/check_overlaps.pyscript17.2 KB

references/templates/ag_trade_finance_pitch_deck.js

View on GitHub
/**
 * Whale – Cross-Border Agriculture Factoring
 * Series A Pitch Deck  |  2026
 *
 * Usage:
 *   npm install pptxgenjs
 *   node whale_pitch_deck.js
 */

"use strict";

const pptxgen = require("pptxgenjs");

// ─── Palette ─────────────────────────────────────────────────────────────────
const C = {
  navy:      "0D2545",   // primary dark
  teal:      "028090",   // accent
  seafoam:   "00A896",   // highlight
  white:     "FFFFFF",
  offWhite:  "F5F7FA",
  slate:     "64748B",   // muted text
  dark:      "1E293B",   // body text
  light:     "E2E8F0",   // dividers
  tealDark:  "016B77",
};

// ─── Typography ──────────────────────────────────────────────────────────────
const F = {
  head:   "Calibri",
  body:   "Calibri",
};

// ─── Helpers ─────────────────────────────────────────────────────────────────
const makeShadow = () => ({
  type: "outer", color: "000000", opacity: 0.12, blur: 6, offset: 2, angle: 135,
});

function sectionHeader(slide, text) {
  slide.addText(text, {
    x: 0.45, y: 0.22, w: 9.1, h: 0.38,
    fontFace: F.head, fontSize: 9, bold: true, color: C.teal,
    charSpacing: 3, align: "left", margin: 0,
  });
}

function slideTitle(slide, title, subtitle = null) {
  slide.addText(title, {
    x: 0.45, y: 0.62, w: 9.1, h: 0.52,
    fontFace: F.head, fontSize: 22, bold: true, color: C.navy,
    align: "left", margin: 0,
  });
  if (subtitle) {
    slide.addText(subtitle, {
      x: 0.45, y: 1.18, w: 9.1, h: 0.45,
      fontFace: F.body, fontSize: 12, color: C.slate,
      align: "left", margin: 0,
    });
  }
  // thin divider under title
  slide.addShape("rect", {
    x: 0.45, y: 1.2 + (subtitle ? 0.42 : -0.1), w: 9.1, h: 0.025,
    fill: { color: C.light }, line: { color: C.light, width: 0 },
  });
}

function statCard(slide, x, y, w, h, label, value, sub = null) {
  slide.addShape("rect", {
    x, y, w, h,
    fill: { color: C.white },
    line: { color: C.light, width: 1 },
    shadow: makeShadow(),
  });
  // teal left bar
  slide.addShape("rect", {
    x, y, w: 0.06, h,
    fill: { color: C.teal }, line: { color: C.teal, width: 0 },
  });
  slide.addText(value, {
    x: x + 0.15, y: y + 0.1, w: w - 0.2, h: h * 0.5,
    fontFace: F.head, fontSize: 22, bold: true, color: C.navy,
    align: "left", valign: "middle", margin: 0,
  });
  slide.addText(label, {
    x: x + 0.15, y: y + h * 0.5 + 0.02, w: w - 0.2, h: h * 0.3,
    fontFace: F.body, fontSize: 9, color: C.slate,
    align: "left", margin: 0,
  });
  if (sub) {
    slide.addText(sub, {
      x: x + 0.15, y: y + h * 0.76, w: w - 0.2, h: h * 0.2,
      fontFace: F.body, fontSize: 8, bold: true, color: C.seafoam,
      align: "left", margin: 0,
    });
  }
}

function sectionBlock(slide, x, y, w, h, title, bullets, bgColor = C.offWhite) {
  slide.addShape("rect", {
    x, y, w, h,
    fill: { color: bgColor },
    line: { color: C.light, width: 1 },
  });
  slide.addText(title, {
    x: x + 0.15, y: y + 0.1, w: w - 0.2, h: 0.3,
    fontFace: F.head, fontSize: 10, bold: true, color: C.teal,
    align: "left", margin: 0,
  });
  slide.addText(bullets.map((b, i) => ({
    text: b,
    options: { bullet: true, breakLine: i < bullets.length - 1, fontSize: 9, color: C.dark },
  })), {
    x: x + 0.15, y: y + 0.42, w: w - 0.25, h: h - 0.55,
    fontFace: F.body, align: "left", margin: 0,
  });
}

// ─── Presentation Setup ──────────────────────────────────────────────────────
const pres = new pptxgen();
pres.layout  = "LAYOUT_16x9";
pres.author  = "Whale Capital";
pres.title   = "Whale – Series A Pitch Deck 2026";
pres.subject = "Cross-Border Agriculture Factoring";

// ─── SLIDE 1 · Cover ─────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.navy };

  // teal accent strip (left)
  s.addShape("rect", {
    x: 0, y: 0, w: 0.18, h: 5.625,
    fill: { color: C.teal }, line: { color: C.teal, width: 0 },
  });

  s.addText("WHALE", {
    x: 0.55, y: 1.3, w: 8, h: 1,
    fontFace: F.head, fontSize: 72, bold: true, color: C.white,
    charSpacing: 8, align: "left", margin: 0,
  });

  s.addText("Cross-Border Agriculture Factoring", {
    x: 0.55, y: 2.4, w: 8, h: 0.55,
    fontFace: F.body, fontSize: 20, color: C.seafoam,
    align: "left", margin: 0,
  });

  s.addText("$25M Series A to capture the $45B cross-border\nag factoring market with AI-driven underwriting.", {
    x: 0.55, y: 3.05, w: 7, h: 0.8,
    fontFace: F.body, fontSize: 13, color: C.light,
    align: "left", margin: 0,
  });

  s.addText("Series A  |  Confidential  |  2026", {
    x: 0.55, y: 4.85, w: 6, h: 0.4,
    fontFace: F.body, fontSize: 9, color: C.slate,
    align: "left", margin: 0,
  });

  s.addText("1 / 12", {
    x: 8.8, y: 5.1, w: 0.9, h: 0.25,
    fontFace: F.body, fontSize: 8, color: C.slate,
    align: "right", margin: 0,
  });
}

// ─── SLIDE 2 · Executive Summary ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "EXECUTIVE SUMMARY");
  slideTitle(s,
    "Whale has grown 4x to $4.8M revenue by solving the $1.7T ag trade finance gap with 48-hour non-recourse factoring",
    null
  );

  // Three columns
  const cols = [
    {
      x: 0.45, label: "THE OPPORTUNITY",
      items: [
        "$1.7T global trade finance gap with 60–120 day payment cycles",
        "Banks reject ~80% of cross-border ag applications post-Basel III",
        "General factoring lacks commodity and emerging market expertise",
      ],
    },
    {
      x: 3.75, label: "OUR SOLUTION",
      items: [
        "Non-recourse factoring; exporters paid within 48 hours",
        "AI risk engine trained on 10+ years of ag trade data",
        "<1.2% default rate across 40+ countries, 94% approval",
      ],
    },
    {
      x: 7.05, label: "TRACTION & ASK",
      items: [
        "2025 Revenue: $4.8M (4x YoY)",
        "GMV Processed: $142M  |  85+ clients",
        "Blended Yield: 18%  |  NRR: 145%",
        "Series A Raise: $25M to scale 5x",
      ],
    },
  ];

  cols.forEach(col => {
    sectionBlock(s, col.x, 1.7, 3.1, 2.55, col.label, col.items);
  });

  // Stat strip
  const stats = [
    { v: "$4.8M",  l: "2025 Revenue",          sub: "4x YoY"    },
    { v: "$142M",  l: "GMV Processed",          sub: "85+ clients" },
    { v: "18%",    l: "Blended Yield",          sub: "<1.2% default" },
    { v: "145%",   l: "Net Revenue Retention",  sub: "8.5x LTV/CAC" },
    { v: "$25M",   l: "Series A Raise",         sub: "Scale 5x"  },
  ];

  stats.forEach((st, i) => {
    statCard(s, 0.45 + i * 1.88, 4.35, 1.74, 0.92, st.l, st.v, st.sub);
  });

  s.addText("Team:  Trade finance (Citi/IFC) + payments (Stripe) + commodities risk (Goldman) + ag logistics (Bunge/Cargill)", {
    x: 0.45, y: 5.32, w: 9.1, h: 0.22,
    fontFace: F.body, fontSize: 8, italic: true, color: C.slate,
    align: "left", margin: 0,
  });
}

// ─── SLIDE 3 · The Problem ────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "THE PROBLEM");
  slideTitle(s,
    "Ag exporters lose 60–120 days of working capital per shipment because banks won't underwrite cross-border commodity risk"
  );

  const problems = [
    {
      stat: "60–120 Day DSO",
      items: [
        "Importers wait months for payment",
        "~$380B trapped in working capital globally",
        "Exporters forced to turn down new orders",
      ],
    },
    {
      stat: "~80% Bank Rejection",
      items: [
        "Banks cite country risk and commodity volatility",
        "KYC complexity deters cross-border lending",
        "SMEs hit hardest by rejection rates",
      ],
    },
    {
      stat: "$1.7T Finance Gap",
      items: [
        "Emerging market exporters lack affordable finance",
        "Gap growing 4% annually",
        "SMEs disproportionately affected",
      ],
    },
  ];

  problems.forEach((p, i) => {
    const x = 0.45 + i * 3.12;
    // header card
    s.addShape("rect", {
      x, y: 1.65, w: 2.95, h: 0.6,
      fill: { color: C.navy }, line: { color: C.navy, width: 0 },
    });
    s.addText(p.stat, {
      x: x + 0.12, y: 1.65, w: 2.7, h: 0.6,
      fontFace: F.head, fontSize: 14, bold: true, color: C.white,
      valign: "middle", align: "left", margin: 0,
    });
    sectionBlock(s, x, 2.28, 2.95, 2.8, "", p.items);
  });

  s.addText(
    "Source:  ADB Trade Finance Gap Report, 2024; ICC Global Trade Survey, 2024; Bain/IFC SME Finance Report",
    { x: 0.45, y: 5.3, w: 9.1, h: 0.2, fontFace: F.body, fontSize: 7.5, color: C.slate, italic: true, align: "left", margin: 0 }
  );
}

// ─── SLIDE 4 · Our Solution ───────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "OUR SOLUTION");
  slideTitle(s,
    "Whale purchases receivables at a discount and pays exporters within 48 hours using AI-driven, ag-specific underwriting"
  );

  // Process steps
  const steps = [
    { n: "01", title: "Submit Invoice",   body: "Exporter uploads invoice & shipping docs via OCR",  badge: "< 5 min"      },
    { n: "02", title: "AI Risk Scoring",  body: "Ag-commodity risk engine scores in real time",       badge: "94% approval" },
    { n: "03", title: "Get Paid in 48h",  body: "Non-recourse funds sent to exporter's account",      badge: "$85K avg"     },
  ];

  steps.forEach((st, i) => {
    const x = 0.45 + i * 3.12;
    s.addShape("rect", { x, y: 1.65, w: 2.95, h: 2.55, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
    s.addShape("rect", { x, y: 1.65, w: 2.95, h: 0.06, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
    s.addText(st.n, { x: x + 0.15, y: 1.72, w: 0.55, h: 0.45, fontFace: F.head, fontSize: 26, bold: true, color: C.teal, margin: 0 });
    s.addText(st.title, { x: x + 0.15, y: 2.2, w: 2.65, h: 0.36, fontFace: F.head, fontSize: 12, bold: true, color: C.navy, margin: 0 });
    s.addText(st.body,  { x: x + 0.15, y: 2.6, w: 2.65, h: 0.7,  fontFace: F.body, fontSize: 10, color: C.dark, margin: 0 });
    // badge
    s.addShape("rect", { x: x + 0.15, y: 3.42, w: 1.5, h: 0.3, fill: { color: C.seafoam }, line: { color: C.seafoam, width: 0 } });
    s.addText(st.badge, { x: x + 0.15, y: 3.42, w: 1.5, h: 0.3, fontFace: F.body, fontSize: 9, bold: true, color: C.white, align: "center", valign: "middle", margin: 0 });
  });

  // Footer callouts
  const callouts = [
    "Non-recourse — no debt on exporter's balance sheet",
    "Coverage in 40+ countries across LatAm, Africa, and ASEAN",
    "Proprietary risk models trained on 10+ years of ag trade data",
  ];
  s.addText(callouts.map((c, i) => ({
    text: c,
    options: { bullet: true, breakLine: i < callouts.length - 1, fontSize: 9.5, color: C.dark },
  })), { x: 0.45, y: 4.5, w: 9.1, h: 0.9, fontFace: F.body, align: "left", margin: 0 });
}

// ─── SLIDE 5 · Why Now ────────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "WHY NOW");
  slideTitle(s,
    "Four macro tailwinds — supply chain shifts, digital trade docs, bank retreat, and food security mandates — are creating a $45B window"
  );

  const tailwinds = [
    { title: "Supply Chain Reshoring",    stat: "+15%",   sub: "new ag corridors since 2020",    body: "Geopolitical nearshoring is reshaping agricultural trade corridors, creating new financing needs in underserved routes." },
    { title: "Digital Trade Documents",   stat: "+340%",  sub: "eBL adoption since 2022",         body: "Electronic bills of lading and ePhyto certificates are reaching critical mass, enabling real-time verification and underwriting." },
    { title: "Bank Retreat from Trade",   stat: "–22%",   sub: "bank trade finance 2019–24",      body: "Basel III/IV capital requirements have pushed banks further from cross-border SME trade finance, widening the gap." },
    { title: "Food Security Mandates",    stat: "$50B+",  sub: "G7 commitments since 2022",       body: "Governments and multilateral institutions are prioritizing food security, creating policy tailwinds for ag trade enablers." },
  ];

  tailwinds.forEach((tw, i) => {
    const x = 0.45 + i * 2.35;
    s.addShape("rect", { x, y: 1.65, w: 2.2, h: 3.0, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
    s.addShape("rect", { x, y: 1.65, w: 2.2, h: 0.06, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
    s.addText(tw.stat, {
      x: x + 0.12, y: 1.75, w: 1.96, h: 0.55,
      fontFace: F.head, fontSize: 26, bold: true, color: C.teal, margin: 0,
    });
    s.addText(tw.sub, {
      x: x + 0.12, y: 2.32, w: 1.96, h: 0.3,
      fontFace: F.body, fontSize: 8, italic: true, color: C.slate, margin: 0,
    });
    s.addShape("rect", { x: x + 0.12, y: 2.65, w: 1.96, h: 0.022, fill: { color: C.light }, line: { color: C.light, width: 0 } });
    s.addText(tw.title, {
      x: x + 0.12, y: 2.72, w: 1.96, h: 0.36,
      fontFace: F.head, fontSize: 10, bold: true, color: C.navy, margin: 0,
    });
    s.addText(tw.body, {
      x: x + 0.12, y: 3.1, w: 1.96, h: 1.42,
      fontFace: F.body, fontSize: 8.5, color: C.dark, margin: 0,
    });
  });

  s.addText(
    "Sources:  DCSA eBL tracker; BIS Basel III; G7 Elmau/Hiroshima; WTO/UNCTAD",
    { x: 0.45, y: 5.3, w: 9.1, h: 0.2, fontFace: F.body, fontSize: 7.5, color: C.slate, italic: true, align: "left", margin: 0 }
  );
}

// ─── SLIDE 6 · Market Opportunity ────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "MARKET OPPORTUNITY");
  slideTitle(s,
    "Whale targets a $2.5B addressable market within a $45B cross-border ag factoring segment growing at ~12% CAGR"
  );

  // Concentric bar visualization (simplified as layered shapes)
  const bars = [
    { label: "TAM", value: "$350B", cagr: "~8% CAGR",  w: 5.5,  color: C.navy,    desc: "Total global agricultural trade finance market, including receivables, pre-export, and structured trade finance." },
    { label: "SAM", value: "$45B",  cagr: "~12% CAGR", w: 3.5,  color: C.teal,    desc: "Cross-border agriculture factoring in target corridors: Latin America, Sub-Saharan Africa, and Southeast Asia." },
    { label: "SOM", value: "$2.5B", cagr: "5-year target", w: 2.0, color: C.seafoam, desc: "Addressable within 5 years focusing on soft commodities (cocoa, coffee, grains) in top 15 corridors." },
  ];

  bars.forEach((bar, i) => {
    const y = 1.7 + i * 0.95;
    s.addShape("rect", { x: 0.45, y, w: bar.w, h: 0.7, fill: { color: bar.color }, line: { color: bar.color, width: 0 } });
    s.addText(`${bar.label}  ${bar.value}`, {
      x: 0.6, y, w: bar.w - 0.2, h: 0.7,
      fontFace: F.head, fontSize: 14, bold: true, color: C.white,
      valign: "middle", align: "left", margin: 0,
    });
    s.addText(bar.cagr, {
      x: 0.45 + bar.w + 0.15, y: y + 0.05, w: 1.5, h: 0.3,
      fontFace: F.body, fontSize: 9, bold: true, color: bar.color, margin: 0,
    });
    s.addText(bar.desc, {
      x: 0.45 + bar.w + 0.15, y: y + 0.32, w: 9.1 - bar.w - 0.25, h: 0.38,
      fontFace: F.body, fontSize: 8.5, color: C.dark, margin: 0,
    });
  });

  s.addText(
    "Sources:  ADB Trade Finance Gap Report 2024; Mordor Intelligence 2024; internal corridor analysis",
    { x: 0.45, y: 5.3, w: 9.1, h: 0.2, fontFace: F.body, fontSize: 7.5, color: C.slate, italic: true, align: "left", margin: 0 }
  );
}

// ─── SLIDE 7 · Competitive Landscape ─────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "COMPETITIVE LANDSCAPE");
  slideTitle(s,
    "Whale is the only platform combining all six capabilities needed for cross-border ag factoring; competitors cover at most two"
  );

  // Comparison table
  const headers = ["", "Whale", "Traditional Banks", "General Factoring", "Fintech Lenders"];
  const rows = [
    ["Ag-specific underwriting",   "✓", "—",           "—",        "—"       ],
    ["Cross-border focus",         "✓", "US/EU only",  "—",        "US/EU only"],
    ["48-hour funding",            "✓", "—",           "5–14 days","—"       ],
    ["Non-recourse",               "✓", "—",           "Partial",  "—"       ],
    ["Emerging market coverage",   "✓", "Select mkts", "—",        "—"       ],
    ["AI risk engine",             "✓", "—",           "—",        "Generic ML"],
  ];

  const colW = [3.0, 1.4, 1.7, 1.7, 1.7];
  const tableData = [
    headers.map((h, i) => ({
      text: h,
      options: {
        fill: { color: i === 0 ? C.white : i === 1 ? C.navy : C.offWhite },
        color: i === 1 ? C.white : C.navy,
        bold: true, fontSize: 9, align: "center",
      },
    })),
    ...rows.map(row => row.map((cell, i) => ({
      text: cell,
      options: {
        fill: { color: i === 1 ? "E6F7F9" : C.white },
        color: (i === 1 && cell === "✓") ? C.teal : cell === "—" ? C.slate : C.dark,
        bold: (i === 1 && cell === "✓"),
        fontSize: 9.5, align: "center",
      },
    }))),
  ];

  s.addTable(tableData, {
    x: 0.45, y: 1.65, w: 9.1, h: 2.8,
    colW,
    border: { pt: 0.5, color: C.light },
    rowH: 0.38,
  });

  // Moat box
  s.addShape("rect", { x: 0.45, y: 4.55, w: 9.1, h: 0.85, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
  s.addShape("rect", { x: 0.45, y: 4.55, w: 0.07, h: 0.85, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
  s.addText("OUR MOAT", { x: 0.62, y: 4.58, w: 1.5, h: 0.25, fontFace: F.head, fontSize: 8.5, bold: true, color: C.teal, margin: 0 });
  s.addText([
    { text: "10+ years proprietary ag-commodity risk data", options: { bullet: true, breakLine: true, fontSize: 9 } },
    { text: "Models cover 40 countries and 15+ commodity types", options: { bullet: true, breakLine: true, fontSize: 9 } },
    { text: "No competitor has both data depth and operational expertise", options: { bullet: true, fontSize: 9 } },
  ], { x: 0.62, y: 4.84, w: 8.8, h: 0.5, fontFace: F.body, color: C.dark, margin: 0 });
}

// ─── SLIDE 8 · Product Overview ───────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "PRODUCT OVERVIEW");
  slideTitle(s,
    "Whale's platform automates the full factoring workflow, from invoice OCR to AI risk scoring to multi-currency settlement"
  );

  const features = [
    { title: "Invoice Upload",      body: "Drag-and-drop invoices with automated data extraction via OCR." },
    { title: "Risk Engine",         body: "AI-powered scoring blending trade, country & commodity risk factors." },
    { title: "Instant Pricing",     body: "Real-time discount rates based on risk profile and invoice tenor." },
    { title: "FX Management",       body: "Built-in multi-currency settlement across 25+ currencies." },
    { title: "Portfolio Dashboard", body: "Track funded invoices, payments, and exposure in real time." },
    { title: "Compliance Suite",    body: "Automated KYC/AML, sanctions screening, and full audit trail." },
  ];

  features.forEach((f, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.45 + col * 3.12;
    const y = 1.65 + row * 1.5;
    s.addShape("rect", { x, y, w: 2.97, h: 1.35, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
    s.addShape("rect", { x, y, w: 2.97, h: 0.06, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
    s.addText(f.title, { x: x + 0.15, y: y + 0.12, w: 2.67, h: 0.3,  fontFace: F.head, fontSize: 10.5, bold: true, color: C.navy, margin: 0 });
    s.addText(f.body,  { x: x + 0.15, y: y + 0.46, w: 2.67, h: 0.8,  fontFace: F.body, fontSize: 9, color: C.dark, margin: 0 });
  });

  s.addText(
    "Integrations:  SAP  •  Oracle  •  QuickBooks  •  Customs APIs  •  AIS Ship Tracking  |  12,000+ invoices processed",
    { x: 0.45, y: 5.28, w: 9.1, h: 0.25, fontFace: F.body, fontSize: 8.5, color: C.slate, italic: true, align: "center", margin: 0 }
  );
}

// ─── SLIDE 9 · Business Model ─────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "BUSINESS MODEL");
  slideTitle(s,
    "Three-layer revenue model delivers 18% blended annualized yield at <1.2% default rate with 8.5x LTV/CAC"
  );

  const streams = [
    { pct: "2–5%",     label: "Factoring Discount",  desc: "Discount on face value of purchased receivables, varying by risk and tenor." },
    { pct: "0.5–1%",   label: "Service Fee",          desc: "Flat processing fee per transaction covering onboarding, verification, and settlement." },
    { pct: "0.3–0.8%", label: "FX Spread",            desc: "Embedded spread on cross-currency settlements, transparent to clients." },
  ];

  streams.forEach((st, i) => {
    const x = 0.45 + i * 3.12;
    s.addShape("rect", { x, y: 1.65, w: 2.95, h: 1.7, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
    s.addShape("rect", { x, y: 1.65, w: 2.95, h: 0.06, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
    s.addText(st.pct, { x: x + 0.15, y: 1.75, w: 2.65, h: 0.5, fontFace: F.head, fontSize: 22, bold: true, color: C.navy, margin: 0 });
    s.addText("margin", { x: x + 0.15, y: 2.27, w: 2.65, h: 0.22, fontFace: F.body, fontSize: 8, color: C.slate, margin: 0 });
    s.addText(st.label, { x: x + 0.15, y: 2.5, w: 2.65, h: 0.28, fontFace: F.head, fontSize: 10.5, bold: true, color: C.navy, margin: 0 });
    s.addText(st.desc,  { x: x + 0.15, y: 2.82, w: 2.65, h: 0.5, fontFace: F.body, fontSize: 9, color: C.dark, margin: 0 });
  });

  s.addText("Blended take rate: ~3.5% per transaction", {
    x: 0.45, y: 3.45, w: 9.1, h: 0.32,
    fontFace: F.head, fontSize: 11, bold: true, color: C.teal,
    align: "center", margin: 0,
  });

  // Unit economics
  s.addText("UNIT ECONOMICS", {
    x: 0.45, y: 3.85, w: 9.1, h: 0.3,
    fontFace: F.head, fontSize: 9, bold: true, color: C.teal, charSpacing: 2, margin: 0,
  });

  const econ = [
    { v: "$85K",   l: "Avg Invoice Size"   },
    { v: "72 days",l: "Avg Tenor"          },
    { v: "18%",    l: "Blended Ann. Yield" },
    { v: "<1.2%",  l: "Default Rate"       },
    { v: "8.5x",   l: "LTV / CAC"          },
  ];

  econ.forEach((e, i) => {
    statCard(s, 0.45 + i * 1.88, 4.2, 1.74, 1.0, e.l, e.v);
  });
}

// ─── SLIDE 10 · The Team ──────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "THE TEAM");
  slideTitle(s,
    "Founding team combines 40+ years across trade finance (Citi/IFC), payments (Stripe), risk (Goldman), and ag logistics (Bunge/Cargill)"
  );

  const team = [
    { name: "Maria Rodriguez", role: "CEO & Co-Founder",   bio: "15+ yrs in trade finance at Citi & IFC. Led $2B+ in structured ag deals across LatAm." },
    { name: "James Chen",      role: "CTO & Co-Founder",   bio: "Former VP Eng at Stripe. Built real-time payment infra serving 50M+ txns/year." },
    { name: "Amara Osei",      role: "Chief Risk Officer", bio: "Ex-Goldman commodities risk. PhD Agricultural Economics, Cornell." },
    { name: "Kofi Patel",      role: "Head of Operations", bio: "10 yrs at Bunge & Cargill managing cross-border grain & oilseed logistics." },
  ];

  team.forEach((m, i) => {
    const x = 0.45 + i * 2.35;
    s.addShape("rect", { x, y: 1.65, w: 2.2, h: 2.8, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
    s.addShape("rect", { x, y: 1.65, w: 2.2, h: 0.06, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
    // avatar placeholder circle
    s.addShape("oval", {
      x: x + 0.7, y: 1.78, w: 0.8, h: 0.8,
      fill: { color: C.navy }, line: { color: C.white, width: 2 },
    });
    s.addText(m.name.split(" ").map(n => n[0]).join(""), {
      x: x + 0.7, y: 1.78, w: 0.8, h: 0.8,
      fontFace: F.head, fontSize: 18, bold: true, color: C.white,
      align: "center", valign: "middle", margin: 0,
    });
    s.addText(m.name, { x: x + 0.12, y: 2.65, w: 1.96, h: 0.32, fontFace: F.head, fontSize: 10.5, bold: true, color: C.navy, align: "center", margin: 0 });
    s.addText(m.role, { x: x + 0.12, y: 2.98, w: 1.96, h: 0.28, fontFace: F.body, fontSize: 8.5, color: C.teal, align: "center", margin: 0 });
    s.addText(m.bio,  { x: x + 0.12, y: 3.3,  w: 1.96, h: 1.0,  fontFace: F.body, fontSize: 8.5, color: C.dark, align: "left", margin: 0 });
  });

  s.addShape("rect", { x: 0.45, y: 4.55, w: 9.1, h: 0.7, fill: { color: C.offWhite }, line: { color: C.light, width: 1 } });
  s.addShape("rect", { x: 0.45, y: 4.55, w: 0.07, h: 0.7, fill: { color: C.teal }, line: { color: C.teal, width: 0 } });
  s.addText("Advisory Board:", { x: 0.62, y: 4.58, w: 1.4, h: 0.28, fontFace: F.head, fontSize: 8.5, bold: true, color: C.teal, margin: 0 });
  s.addText("Former USDA Under Secretary  •  Ex-Rabobank Global Head of Trade  •  WTO Ag Committee Chair", {
    x: 0.62, y: 4.86, w: 8.8, h: 0.3, fontFace: F.body, fontSize: 9, color: C.dark, margin: 0,
  });
}

// ─── SLIDE 11 · Financials ────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.white };
  sectionHeader(s, "FINANCIALS");
  slideTitle(s,
    "Revenue grew 4x YoY to $4.8M in 2025 with 145% NRR; projecting $52M by 2028 via corridor expansion and NRR compounding"
  );

  // Revenue bar chart
  s.addChart(pres.charts.BAR, [
    {
      name: "Revenue ($M)",
      labels: ["2022", "2023", "2024", "2025", "2026E", "2027E", "2028E"],
      values: [0.3, 0.6, 1.2, 4.8, 10.8, 24.3, 52.0],
    },
  ], {
    x: 0.45, y: 1.7, w: 5.8, h: 3.2,
    barDir: "col",
    chartColors: [C.teal],
    chartArea: { fill: { color: C.white }, roundedCorners: false },
    catAxisLabelColor: C.slate,
    valAxisLabelColor: C.slate,
    valGridLine: { color: C.light, size: 0.5 },
    catGridLine: { style: "none" },
    showValue: true,
    dataLabelColor: C.navy,
    dataLabelFontSize: 8,
    showLegend: false,
    showTitle: false,
  });

  // Growth annotations
  const growthLabels = [{ y: 1.75, t: "4x YoY"   }, { y: 2.4, t: "+160%" }, { y: 3.05, t: "+124%" }, { y: 3.7, t: "+86%" }];
  growthLabels.forEach((gl, i) => {
    s.addText(gl.t, {
      x: 3.9 + i * 0.62, y: gl.y, w: 0.7, h: 0.22,
      fontFace: F.body, fontSize: 7.5, bold: true, color: C.seafoam, align: "center", margin: 0,
    });
  });

  s.addText("2024–2028E CAGR: 113%", {
    x: 0.5, y: 4.97, w: 5.5, h: 0.22,
    fontFace: F.head, fontSize: 9, bold: true, color: C.teal, align: "center", margin: 0,
  });

  // Key metrics table
  s.addText("KEY METRICS (2025)", {
    x: 6.55, y: 1.72, w: 3.1, h: 0.28,
    fontFace: F.head, fontSize: 8.5, bold: true, color: C.teal, charSpacing: 2, margin: 0,
  });

  const metrics = [
    { l: "GMV Processed",       v: "$142M"  },
    { l: "Revenue",             v: "$4.8M"  },
    { l: "Gross Margin",        v: "72%"    },
    { l: "Active Clients",      v: "85+"    },
    { l: "Net Revenue Retention", v: "145%" },
    { l: "Avg Revenue / Client", v: "$56K"  },
  ];

  metrics.forEach((m, i) => {
    const y = 2.08 + i * 0.47;
    s.addShape("rect", { x: 6.55, y, w: 3.1, h: 0.42, fill: { color: i % 2 === 0 ? C.offWhite : C.white }, line: { color: C.light, width: 0.5 } });
    s.addText(m.l, { x: 6.7, y, w: 1.9, h: 0.42, fontFace: F.body, fontSize: 9, color: C.slate, valign: "middle", margin: 0 });
    s.addText(m.v, { x: 8.65, y, w: 0.9, h: 0.42, fontFace: F.head, fontSize: 11, bold: true, color: C.navy, align: "right", valign: "middle", margin: 0 });
  });
}

// ─── SLIDE 12 · The Ask ───────────────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.background = { color: C.navy };

  sectionHeader(s, "THE ASK");
  s.addText("THE ASK", { x: 0.45, y: 0.22, w: 9.1, h: 0.38, fontFace: F.head, fontSize: 9, bold: true, color: C.seafoam, charSpacing: 3, align: "left", margin: 0 });

  s.addText("Raising $25M to scale origination 5x, expand into 3 new corridors,\nand build a $100M+ credit facility by 2028", {
    x: 0.45, y: 0.65, w: 9.1, h: 0.9,
    fontFace: F.head, fontSize: 16, bold: true, color: C.white,
    align: "left", margin: 0,
  });

  s.addText("USE OF FUNDS", {
    x: 0.45, y: 1.65, w: 4.5, h: 0.3,
    fontFace: F.head, fontSize: 8.5, bold: true, color: C.seafoam, charSpacing: 2, margin: 0,
  });

  const uses = [
    { label: "Credit Facility",          desc: "Scale factoring book to $100M+ capacity",        pct: "40%",  amt: "$10M",    w: 3.64 },
    { label: "Engineering & Product",    desc: "AI risk engine v2 & platform scaling",            pct: "25%",  amt: "$6.25M",  w: 2.28 },
    { label: "Market Expansion",         desc: "New corridors: East Africa, ASEAN, South Asia",   pct: "20%",  amt: "$5M",     w: 1.82 },
    { label: "Team & Ops",               desc: "Hire 20+ across risk, sales, compliance",         pct: "15%",  amt: "$3.75M",  w: 1.37 },
  ];

  let xOff = 0.45;
  const barColors = [C.teal, C.seafoam, "028090", "00C9B0"];
  uses.forEach((u, i) => {
    s.addShape("rect", { x: xOff, y: 2.0, w: u.w, h: 0.5, fill: { color: barColors[i] }, line: { color: barColors[i], width: 0 } });
    s.addText(`${u.pct}  ${u.amt}`, {
      x: xOff + 0.1, y: 2.0, w: u.w - 0.12, h: 0.5,
      fontFace: F.head, fontSize: 10, bold: true, color: C.white,
      valign: "middle", align: "left", margin: 0,
    });
    s.addText(u.label, { x: xOff, y: 2.56, w: u.w,     h: 0.28, fontFace: F.head, fontSize: 8.5, bold: true, color: C.white, margin: 0 });
    s.addText(u.desc,  { x: xOff, y: 2.86, w: u.w + 0.1, h: 0.45, fontFace: F.body, fontSize: 7.5, color: C.light, margin: 0 });
    xOff += u.w + 0.06;
  });

  // Milestones
  s.addShape("rect", { x: 0.45, y: 3.45, w: 9.1, h: 0.8, fill: { color: "0A1F38" }, line: { color: "0A1F38", width: 0 } });
  s.addText("KEY MILESTONES BY 2028", { x: 0.65, y: 3.5, w: 3, h: 0.28, fontFace: F.head, fontSize: 8.5, bold: true, color: C.seafoam, charSpacing: 2, margin: 0 });
  s.addText("$500M+ GMV  •  $52M revenue  •  200+ clients", {
    x: 0.65, y: 3.8, w: 8.7, h: 0.35,
    fontFace: F.head, fontSize: 13, bold: true, color: C.white,
    align: "left", margin: 0,
  });

  // Contact
  s.addText("maria@whalecapital.com  |  whalecapital.com  |  Confidential — Do Not Distribute", {
    x: 0.45, y: 5.28, w: 9.1, h: 0.22,
    fontFace: F.body, fontSize: 8, color: C.slate,
    align: "center", margin: 0,
  });

  s.addText("12 / 12", {
    x: 8.8, y: 5.28, w: 0.85, h: 0.22,
    fontFace: F.body, fontSize: 8, color: C.slate,
    align: "right", margin: 0,
  });
}

// ─── Write ────────────────────────────────────────────────────────────────────
pres.writeFile({ fileName: "whale_pitch_deck.pptx" })
  .then(() => console.log("✅  whale_pitch_deck.pptx written successfully."))
  .catch(err => { console.error("❌  Error writing file:", err); process.exit(1); });
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall