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/electronic_music_promoter_field_report.js

View on GitHub
// generate_deck.js
// Recreates "Northern Goa, after dark" field-report deck using pptxgenjs.
// Source slide dimensions (EMU): 18288000 x 10287000 → 20.0" x 11.25" (custom 16:9 widescreen).
// Palette: bg 0B0C0E, off-white E9E4D9, muted A9A396 / 7A7569, primary FF4B1F,
//          accent teal 3BD3C5, accent pink E63F87, rule 2A2A30.

const fs = require("fs");
const path = require("path");
const pptxgen = require("pptxgenjs");

// ---------- config ----------
const SLIDE_W = 20.0;
const SLIDE_H = 11.25;

const COLORS = {
  bg:          "0B0C0E",
  bgTitle:     "000000",
  bgSlide8:    "06070A",
  card:        "101116",
  cardAlt:     "0D0E12",
  cardAlt2:    "0B0D11",
  off:         "E9E4D9",
  muted:       "A9A396",
  mutedDark:   "7A7569",
  rule:        "2A2A30",
  primary:     "FF4B1F",
  teal:        "3BD3C5",
  pink:        "E63F87",
};

const FONT_SERIF = "Georgia"; // used for the large italic accents and title display
const FONT_SANS  = "Arial";   // body/eyebrows/caption
// (The source file uses "Arial" and "-apple-system"; we map the display/italic runs to Georgia
//  to preserve the "serif italic accent inside a sans headline" feel.)

// ---------- helpers ----------
function eyebrow(slide, left, right) {
  // top-of-slide eyebrow row: section number/title on left, section eyebrow on right
  slide.addText(left, {
    x: 1.042, y: 0.458, w: 8.0, h: 0.28,
    fontFace: FONT_SANS, fontSize: 12, color: COLORS.muted,
    charSpacing: 3.6, margin: 0, align: "left", valign: "top",
  });
  slide.addText(right, {
    x: 11.0, y: 0.458, w: 8.042, h: 0.28,
    fontFace: FONT_SANS, fontSize: 12, color: COLORS.mutedDark,
    charSpacing: 3.6, margin: 0, align: "right", valign: "top",
  });
}

function footer(slide, pageNum) {
  slide.addText("NORTHERN GOA · ELECTRONIC MUSIC", {
    x: 1.042, y: 10.625, w: 6, h: 0.28,
    fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
    charSpacing: 2.4, margin: 0, align: "left", valign: "top",
  });
  slide.addText(`${String(pageNum).padStart(2, "0")} / 10`, {
    x: 16.5, y: 10.625, w: 2.541, h: 0.28,
    fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
    charSpacing: 2.4, margin: 0, align: "right", valign: "top",
  });
}

// Horizontal rule
function hr(slide, x, y, w, color = COLORS.rule, thickness = 0.01) {
  slide.addShape("rect", {
    x, y, w, h: thickness,
    fill: { color }, line: { type: "none" },
  });
}

// Vertical rule
function vr(slide, x, y, h, color = COLORS.rule, thickness = 0.01) {
  slide.addShape("rect", {
    x, y, w: thickness, h,
    fill: { color }, line: { type: "none" },
  });
}

// Display headline — "word, [italic word]."
// runs = [{ text, italic?, color? }, ...]
function displayHeadline(slide, y, runs, sz = 78) {
  const rich = runs.map((r, i) => ({
    text: r.text,
    options: {
      fontFace: r.italic ? FONT_SERIF : FONT_SANS,
      fontSize: sz,
      color: r.color || COLORS.off,
      italic: !!r.italic,
      charSpacing: -0.3,
    },
  }));
  slide.addText(rich, {
    x: 1.042, y, w: 18.454, h: 1.4,
    margin: 0, valign: "top", align: "left",
  });
}

// ---------- presentation ----------
const pres = new pptxgen();
pres.author = "Field Report";
pres.title  = "Northern Goa, after dark";
pres.defineLayout({ name: "CUSTOM_20x11_25", width: SLIDE_W, height: SLIDE_H });
pres.layout = "CUSTOM_20x11_25";

// ============================================================
// SLIDE 1 — COVER
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bgTitle };

  // Orange wash overlay (35% alpha) — warms the whole frame
  s.addShape("rect", {
    x: 0, y: 0, w: SLIDE_W, h: SLIDE_H,
    fill: { color: COLORS.primary, transparency: 65 },
    line: { type: "none" },
  });
  // Soft white film on top
  s.addShape("rect", {
    x: 0, y: 0, w: SLIDE_W, h: SLIDE_H,
    fill: { color: "FFFFFF", transparency: 98 },
    line: { type: "none" },
  });

  // Eyebrow row — "A FIELD REPORT ●" left, season right
  s.addText(
    [
      { text: "A FIELD REPORT ", options: { color: COLORS.muted, charSpacing: 3.6 } },
      { text: "●",              options: { color: COLORS.primary, charSpacing: 3.6 } },
    ],
    {
      x: 1.042, y: 0.792, w: 6, h: 0.35,
      fontFace: FONT_SANS, fontSize: 18, margin: 0,
      align: "left", valign: "top",
    }
  );
  s.addText("2025 / 2026 SEASON", {
    x: 13.0, y: 0.792, w: 5.95, h: 0.35,
    fontFace: FONT_SANS, fontSize: 18, color: COLORS.muted,
    charSpacing: 3.6, margin: 0, align: "right", valign: "top",
  });

  // Sub-eyebrow: GOA, INDIA / coords
  s.addText("GOA, INDIA / 15.6°N 73.7°E", {
    x: 1.042, y: 1.24, w: 10, h: 0.32,
    fontFace: FONT_SANS, fontSize: 18, color: COLORS.mutedDark,
    charSpacing: 1.44, margin: 0, align: "left", valign: "top",
  });

  // Big display title — "Northern Goa, after dark."
  s.addText(
    [
      { text: "Northern Goa",  options: { fontFace: FONT_SANS,  italic: false, color: COLORS.off } },
      { text: ", ",            options: { fontFace: FONT_SERIF, italic: true,  color: COLORS.primary } },
      { text: "after dark.",   options: { fontFace: FONT_SANS,  italic: false, color: COLORS.off } },
    ],
    {
      x: 1.042, y: 2.2, w: 18.454, h: 5.2,
      fontSize: 170, charSpacing: -0.6,
      margin: 0, align: "left", valign: "top",
    }
  );

  // Deck statement — italic muted paragraph
  s.addText(
    "The electronic music scene between Anjuna and Ashwem — a working brief for promoters.",
    {
      x: 1.042, y: 8.0, w: 12.875, h: 1.5,
      fontFace: FONT_SERIF, fontSize: 28, italic: true, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  // Secondary caption
  s.addText(
    "A sober look at the venues, the characters, and the frictions shaping one of Asia's oldest — and most contested — dance-music economies.",
    {
      x: 1.042, y: 9.8, w: 9, h: 1.3,
      fontFace: FONT_SANS, fontSize: 16, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  // "PREPARED FOR / INDUSTRY & PROMOTERS" right block
  s.addText("PREPARED FOR", {
    x: 14.0, y: 9.85, w: 5.05, h: 0.3,
    fontFace: FONT_SANS, fontSize: 14, color: COLORS.mutedDark,
    charSpacing: 3.6, margin: 0, align: "right", valign: "top",
  });
  s.addText("INDUSTRY & PROMOTERS", {
    x: 14.0, y: 10.2, w: 5.05, h: 0.35,
    fontFace: FONT_SANS, fontSize: 16, color: COLORS.off,
    charSpacing: 3.6, margin: 0, align: "right", valign: "top",
  });
}

// ============================================================
// SLIDE 2 — THE TERRITORY (map on the right)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };

  eyebrow(s, "02 / THE TERRITORY", "GEOGRAPHY");

  // Headline: "A twenty-kilometre coast."
  displayHeadline(s, 1.146, [
    { text: "A " },
    { text: "twenty-kilometre ", italic: true },
    { text: "coast." },
  ]);

  // Left column body
  s.addText(
    "The scene lives on a narrow strip of beaches, plateaus and paddy fields north of the Mandovi river — walkable in a night, irreconcilable by day.",
    {
      x: 1.042, y: 3.042, w: 7.82, h: 1.7,
      fontFace: FONT_SANS, fontSize: 20, color: COLORS.muted,
      margin: 0, align: "left", valign: "top", paraSpaceAfter: 6,
    }
  );

  s.addText(
    [
      { text: "Four villages carry most of the weight: ", options: { color: COLORS.muted } },
      { text: "Anjuna ",                                   options: { color: COLORS.off } },
      { text: "(the origin), ",                            options: { color: COLORS.muted } },
      { text: "Vagator ",                                  options: { color: COLORS.off } },
      { text: "(the cliffs), ",                            options: { color: COLORS.muted } },
      { text: "Morjim ",                                   options: { color: COLORS.off } },
      { text: "(the lounge belt), and ",                   options: { color: COLORS.muted } },
      { text: "Ashwem ",                                   options: { color: COLORS.off } },
      { text: "(the after-party).",                        options: { color: COLORS.muted } },
    ],
    {
      x: 1.042, y: 5.2, w: 7.82, h: 2.2,
      fontFace: FONT_SANS, fontSize: 20, margin: 0, align: "left", valign: "top",
    }
  );

  hr(s, 1.042, 7.95, 7.593);

  s.addText(
    "The map below is schematic — not to scale. It's the mental geography a resident promoter actually uses.",
    {
      x: 1.042, y: 8.2, w: 7.82, h: 1.1,
      fontFace: FONT_SANS, fontSize: 16, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  // ----- schematic map on the right -----
  // Background panel
  s.addShape("rect", {
    x: 9.478, y: 2.72, w: 9.47, h: 7.36,
    fill: { color: COLORS.cardAlt }, line: { type: "none" },
  });

  // If the original map image is available next to this script, use it —
  // otherwise fall back to a hand-drawn schematic of coast + pins.
  const mapPng = path.join(__dirname, "map.png");
  const hasMapImage = fs.existsSync(mapPng);

  if (hasMapImage) {
    s.addImage({
      path: mapPng,
      x: 9.478, y: 2.72, w: 9.47, h: 7.36,
      sizing: { type: "cover", w: 9.47, h: 7.36 },
    });
  } else {
    // ---------- fallback: schematic coast + pins ----------
    // Diagonal hatch on the right half (just a few thin lines for flavour)
    for (let i = 0; i < 12; i++) {
      const xStart = 13.6 + i * 0.55;
      s.addShape("line", {
        x: xStart, y: 2.72, w: 0.9, h: 1.3,
        line: { color: "1C1D22", width: 0.5 },
      });
    }

    // Dashed coast path (three stacked dashed vertical rectangles)
    const coastX = 13.45;
    for (let i = 0; i < 10; i++) {
      s.addShape("rect", {
        x: coastX, y: 3.3 + i * 0.55, w: 0.03, h: 0.28,
        fill: { color: COLORS.primary, transparency: 55 }, line: { type: "none" },
      });
    }

    // "ARABIAN SEA" caption
    s.addText("ARABIAN SEA", {
      x: 10.0, y: 3.3, w: 3.2, h: 0.3,
      fontFace: FONT_SANS, fontSize: 11, color: COLORS.mutedDark,
      charSpacing: 3.0, margin: 0, align: "left", valign: "top",
    });

    // Compass "N"
    s.addText("N", {
      x: 18.2, y: 3.0, w: 0.6, h: 0.3,
      fontFace: FONT_SANS, fontSize: 11, color: COLORS.mutedDark,
      margin: 0, align: "center", valign: "top",
    });
    s.addShape("ellipse", {
      x: 18.15, y: 3.35, w: 0.6, h: 0.6,
      fill: { type: "none" }, line: { color: COLORS.mutedDark, width: 0.75 },
    });

    // Four pins (top → bottom: Ashwem, Morjim, Vagator, Anjuna)
    const pins = [
      { y: 3.9, color: COLORS.teal,    name: "Ashwem",  label: "AFTER-PARTIES" },
      { y: 5.5, color: COLORS.teal,    name: "Morjim",  label: "LOUNGE BELT" },
      { y: 7.1, color: COLORS.primary, name: "Vagator", label: "CLIFFTOP CLUBS" },
      { y: 8.6, color: COLORS.primary, name: "Anjuna",  label: "ORIGIN · 1970s" },
    ];
    pins.forEach(p => {
      s.addShape("ellipse", {
        x: coastX - 0.23, y: p.y - 0.23, w: 0.46, h: 0.46,
        fill: { type: "none" },
        line: { color: p.color, width: 1.5 },
      });
      s.addShape("ellipse", {
        x: coastX - 0.12, y: p.y - 0.12, w: 0.24, h: 0.24,
        fill: { color: p.color }, line: { type: "none" },
      });
      s.addText(p.name, {
        x: coastX + 0.45, y: p.y - 0.32, w: 4, h: 0.45,
        fontFace: FONT_SERIF, fontSize: 24, color: COLORS.off,
        margin: 0, align: "left", valign: "top",
      });
      s.addText(p.label, {
        x: coastX + 0.47, y: p.y + 0.08, w: 4, h: 0.3,
        fontFace: FONT_SANS, fontSize: 11, color: COLORS.mutedDark,
        charSpacing: 3.0, margin: 0, align: "left", valign: "top",
      });
    });

    // "MANDOVI" bottom label
    s.addShape("rect", {
      x: 12.5, y: 9.5, w: 3.2, h: 0.55,
      fill: { color: "06070A" }, line: { type: "none" },
    });
    s.addText("MANDOVI", {
      x: 12.5, y: 9.6, w: 3.2, h: 0.4,
      fontFace: FONT_SANS, fontSize: 12, color: COLORS.mutedDark,
      charSpacing: 3.6, margin: 0, align: "center", valign: "top",
    });
  }

  // Caption under map
  s.addText("CLUBS / DANCE FLOORS", {
    x: 9.728, y: 9.85, w: 3, h: 0.28,
    fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
    charSpacing: 2.4, margin: 0, align: "left", valign: "top",
  });
  s.addText("BEACH & LOUNGE VENUES", {
    x: 12.311, y: 9.85, w: 3.2, h: 0.28,
    fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
    charSpacing: 2.4, margin: 0, align: "left", valign: "top",
  });

  footer(s, 2);
}

// ============================================================
// SLIDE 3 — THE SOUND (three columns)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "03 / THE SOUND", "FRAMING");

  displayHeadline(s, 1.146, [
    { text: "A scene, not a " },
    { text: "genre", italic: true },
    { text: "." },
  ]);

  s.addText(
    "The cliché is that Northern Goa means trance. The reality on a given weekend is three or four parallel economies of sound, barely speaking to each other — each with its own dress code, door policy, and demographic.",
    {
      x: 1.042, y: 3.292, w: 16.094, h: 3.0,
      fontFace: FONT_SANS, fontSize: 22, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  const cols = [
    {
      x: 1.042,
      eyebrow: "01 · THE PSYCHEDELIC AXIS",
      head:    "Psy-trance, forest, progressive.",
      body:    "Outdoor parties on plateaus and private land; long sets, heavy visuals, a traveller-heavy crowd that treats Goa as a pilgrimage rather than a holiday.",
      accent:  COLORS.primary,
    },
    {
      x: 7.181,
      eyebrow: "02 · THE HOUSE CONTINUUM",
      head:    "Melodic, organic, afro-house.",
      body:    "Beach clubs and cliff venues booking the international circuit; sunset-to-midnight programming built around food, table service and Instagram.",
      accent:  COLORS.teal,
    },
    {
      x: 13.319,
      eyebrow: "03 · THE UNDERGROUND",
      head:    "Techno, bass, minimal.",
      body:    "Smaller rooms, shorter runways, local collectives hosting European residents. The fastest-growing slice — and the most sensitive to regulation.",
      accent:  COLORS.pink,
    },
  ];

  cols.forEach((c) => {
    // Accent mark above the rule
    s.addShape("rect", {
      x: c.x, y: 7.124, w: 0.45, h: 0.04,
      fill: { color: c.accent }, line: { type: "none" },
    });
    hr(s, c.x + 0.48, 7.14, 5.159);

    s.addText(c.eyebrow, {
      x: c.x, y: 7.4, w: 5.808, h: 0.35,
      fontFace: FONT_SANS, fontSize: 11.5, color: COLORS.mutedDark,
      charSpacing: 2.8, margin: 0, align: "left", valign: "top",
    });
    s.addText(c.head, {
      x: c.x, y: 7.85, w: 5.808, h: 0.55,
      fontFace: FONT_SERIF, fontSize: 22, italic: true, color: COLORS.off,
      margin: 0, align: "left", valign: "top",
    });
    s.addText(c.body, {
      x: c.x, y: 8.55, w: 5.808, h: 2.0,
      fontFace: FONT_SANS, fontSize: 15, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    });
  });

  footer(s, 3);
}

// ============================================================
// SLIDE 4 — THE VENUES (four colour-swatch cards)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "04 / THE VENUES", "SOUTH → NORTH");

  displayHeadline(s, 1.146, [
    { text: "Four villages, four " },
    { text: "door policies", italic: true },
    { text: "." },
  ]);

  const venues = [
    { x: 1.042,  color: COLORS.primary, alpha: 70, name: "ANJUNA",
      tag: "The flea-market mother church.",
      body: "Legacy clifftop clubs and weekly markets. Older crowd, heritage rooms, the loudest ghost of the 90s trance era.",
      cap: "CAP. 600–2,000 · OUTDOOR" },
    { x: 5.594,  color: COLORS.pink,    alpha: 70, name: "VAGATOR",
      tag: "The festival terraces.",
      body: "The stretch where international promoters plant flags for December and New Year. Capacity-heavy; strict door; cover charges.",
      cap: "CAP. 2,000–8,000 · TERRACE" },
    { x: 10.146, color: COLORS.teal,    alpha: 72, name: "MORJIM",
      tag: "The lounge belt.",
      body: "Daytime programming, DJ booths behind dinner service. Russian-Indian ownership; a grown-up audience with less tolerance for chaos.",
      cap: "CAP. 150–500 · BEACHFRONT" },
    { x: 14.698, color: COLORS.primary, alpha: 65, name: "ASHWEM",
      tag: "The after-party end.",
      body: "Shack culture, looser rules, the place the industry goes at 4am. Unzoned, improvised, the most vulnerable to a single bad night.",
      cap: "CAP. 80–300 · SHACK" },
  ];

  venues.forEach(v => {
    // colour swatch
    s.addShape("rect", {
      x: v.x, y: 2.709, w: 4.26, h: 4.26,
      fill: { color: v.color, transparency: v.alpha },
      line: { type: "none" },
    });
    // name
    s.addText(v.name, {
      x: v.x, y: 7.157, w: 4.388, h: 0.4,
      fontFace: FONT_SANS, fontSize: 14, bold: true, color: COLORS.off,
      charSpacing: 3.0, margin: 0, align: "left", valign: "top",
    });
    // tagline (serif italic)
    s.addText(v.tag, {
      x: v.x, y: 7.62, w: 4.388, h: 0.75,
      fontFace: FONT_SERIF, fontSize: 20, italic: true, color: COLORS.off,
      margin: 0, align: "left", valign: "top",
    });
    // body
    s.addText(v.body, {
      x: v.x, y: 8.55, w: 4.388, h: 1.6,
      fontFace: FONT_SANS, fontSize: 14, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    });
    // rule + caption
    hr(s, v.x, 10.25, 4.26);
    s.addText(v.cap, {
      x: v.x, y: 10.37, w: 4.388, h: 0.3,
      fontFace: FONT_SANS, fontSize: 10, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "left", valign: "top",
    });
  });

  footer(s, 4);
}

// ============================================================
// SLIDE 5 — THE CALENDAR (bar chart of monthly activity)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "05 / THE CALENDAR", "SEASONALITY");

  displayHeadline(s, 1.146, [
    { text: "Seven " },
    { text: "useful", italic: true },
    { text: " months." },
  ]);

  s.addText(
    "The scene runs on a monsoon clock. From June to September the shacks are boarded up and the promoters disappear; the working year compresses into a short, punishing peak.",
    {
      x: 1.042, y: 3.167, w: 16.094, h: 2.2,
      fontFace: FONT_SANS, fontSize: 22, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  // ---- bar chart — months run Jan-Jun, Jul*/Aug* (monsoon niche), then Dec-Mar (peak) ----
  const months = [
    { lbl: "JAN", h: 0.877, c: COLORS.primary,  cap: "Season opens", capY: null },
    { lbl: "FEB", h: 1.581, c: COLORS.primary },
    { lbl: "MAR", h: 2.61,  c: COLORS.teal,     cap: "Peak · NYE (Jan peak)" },
    { lbl: "APR", h: 2.123, c: COLORS.primary },
    { lbl: "MAY", h: 1.635, c: COLORS.primary },
    { lbl: "JUN", h: 0.985, c: COLORS.primary,  cap: "Wind-down" },
    { lbl: "JUL*",h: 0.227, c: COLORS.rule,     alpha: 60 },
    { lbl: "AUG*",h: 0.281, c: COLORS.rule,     alpha: 60 },
    { lbl: "DEC", h: 0.335, c: COLORS.rule,     alpha: 60 },
    { lbl: "JAN", h: 0.281, c: COLORS.rule,     alpha: 60 },
    { lbl: "FEB", h: 0.227, c: COLORS.rule,     alpha: 60 },
    { lbl: "MAR", h: 0.173, c: COLORS.rule,     alpha: 60 },
  ];
  // Actual layout in original puts peak DEC-FEB on right; rearrange to match:
  //   JAN FEB MAR APR MAY JUN JUL* AUG* DEC JAN FEB MAR (per extracted XML labels)
  const actual = [
    { lbl: "JAN", h: 0.227,  c: COLORS.off,     alpha: 90 },
    { lbl: "FEB", h: 0.281,  c: COLORS.off,     alpha: 90 },
    { lbl: "MAR", h: 0.281,  c: COLORS.off,     alpha: 90 },
    { lbl: "APR", h: 0.335,  c: COLORS.off,     alpha: 90 },
    { lbl: "MAY", h: 0.227,  c: COLORS.off,     alpha: 90 },
    { lbl: "JUN", h: 0.173,  c: COLORS.off,     alpha: 90 },
    { lbl: "JUL*",h: 0.877,  c: COLORS.primary                   },
    { lbl: "AUG*",h: 1.581,  c: COLORS.primary,  subLabel: "Season opens", subY: 6.916 },
    { lbl: "DEC", h: 2.61,   c: COLORS.teal,     subLabel: "Peak · NYE",    subY: 5.183 },
    { lbl: "JAN", h: 2.123,  c: COLORS.primary },
    { lbl: "FEB", h: 1.635,  c: COLORS.primary },
    { lbl: "MAR", h: 0.985,  c: COLORS.primary,  subLabel: "Wind-down",     subY: 6.808 },
  ];

  const baseY = 8.178; // bottom of bars (from shape tops + heights in source)
  const startX = 1.042;
  const barW = 1.398;
  const gap = 0.104;

  actual.forEach((m, i) => {
    const x = startX + i * (barW + gap);
    const y = baseY - m.h;
    const opts = { x, y, w: barW, h: m.h, line: { type: "none" } };
    if (m.alpha) opts.fill = { color: COLORS.mutedDark, transparency: 70 };
    else         opts.fill = { color: m.c };
    s.addShape("rect", opts);

    // subtle top highlight line
    s.addShape("rect", {
      x, y, w: barW, h: 0.02,
      fill: { color: m.alpha ? COLORS.rule : m.c }, line: { type: "none" },
    });
  });

  // Month labels
  actual.forEach((m, i) => {
    const x = startX + i * (barW + gap) - 0.042;
    s.addText(m.lbl, {
      x, y: 8.47, w: barW + 0.084, h: 0.34,
      fontFace: FONT_SANS, fontSize: 12, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "center", valign: "top",
    });
  });

  // Annotations above specific bars
  const annotations = [
    { x: 10.237, y: 6.916, text: "Season opens" },
    { x: 13.333, y: 5.183, text: "Peak · NYE" },
    { x: 17.86,  y: 6.808, text: "Wind-down" },
  ];
  annotations.forEach(a => {
    s.addText(a.text, {
      x: a.x - 0.8, y: a.y, w: 2.7, h: 0.3,
      fontFace: FONT_SERIF, fontSize: 14, italic: true, color: COLORS.off,
      margin: 0, align: "left", valign: "top",
    });
  });

  // Bottom rule
  hr(s, 1.042, 8.954, 17.917);

  // Large tagline + caption
  s.addText(
    [
      { text: "Dec → Feb does ",                 options: { color: COLORS.muted } },
      { text: "70% of the year's gate",          options: { color: COLORS.off, italic: true, fontFace: FONT_SERIF } },
      { text: ".",                               options: { color: COLORS.muted } },
    ],
    {
      x: 1.042, y: 9.55, w: 12, h: 0.7,
      fontFace: FONT_SANS, fontSize: 22, margin: 0, align: "left", valign: "top",
    }
  );

  s.addText(
    "Calendar reads Jan → Mar → Dec; *Jul/Aug are a small niche of monsoon parties. Directional figures.",
    {
      x: 13.958, y: 9.55, w: 5.15, h: 1.1,
      fontFace: FONT_SANS, fontSize: 12, color: COLORS.mutedDark,
      margin: 0, align: "left", valign: "top",
    }
  );

  footer(s, 5);
}

// ============================================================
// SLIDE 6 — THE CHARACTERS (6 rows, table-like)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "06 / THE CHARACTERS", "ARCHETYPES");

  displayHeadline(s, 1.146, [
    { text: "Six people who " },
    { text: "book the room", italic: true },
    { text: "." },
  ]);

  const rows = [
    { n: "01", name: "Lifer",
      body: "A 20-year resident DJ, often European, who moved in during the trance decade and now owns a booth, a shack and a booking agency.",
      tag:  "RESIDENT · GATEKEEPER" },
    { n: "02", name: "Returnee",
      body: "An Indian producer who left for Berlin or London and flies back for the season. Carries the club networks the locals can't reach.",
      tag:  "PRODUCER · IMPORT" },
    { n: "03", name: "Host",
      body: "Owns the venue, books the food, and — more often than not — actually decides who plays. Increasingly a second-generation Goan.",
      tag:  "OWNER · PROGRAMMER" },
    { n: "04", name: "Collective",
      body: "A three- to six-person crew running a monthly night, a record label and a merch line. The scene's actual talent pipeline.",
      tag:  "PROMOTER · LABEL" },
    { n: "05", name: "Guest",
      body: "A touring international — in for three nights, out again. Headlines the poster but shapes the year less than the others on this list.",
      tag:  "TOURING · HEADLINER" },
    { n: "06", name: "Fixer",
      body: "Handles permits, police, sound limiters and the landlord. Invisible on the flyer; the reason the party happens at all.",
      tag:  "OPERATIONS · PERMITS" },
  ];

  // Top rule
  hr(s, 1.042, 2.709, 17.917);

  const rowStart = 2.96;
  const rowH = 1.185;

  rows.forEach((r, i) => {
    const y = rowStart + i * rowH;
    // Number
    s.addText(r.n, {
      x: 1.042, y: y + 0.08, w: 0.917, h: 0.45,
      fontFace: FONT_SANS, fontSize: 18, color: COLORS.primary,
      charSpacing: 2.0, margin: 0, align: "left", valign: "top",
    });
    // Name (serif italic accent)
    s.addText(
      [
        { text: "The ",    options: { color: COLORS.muted,  fontFace: FONT_SANS,  italic: false } },
        { text: r.name,    options: { color: COLORS.off,    fontFace: FONT_SERIF, italic: true  } },
      ],
      {
        x: 2.292, y: y - 0.05, w: 4.848, h: 0.65,
        fontSize: 26, margin: 0, align: "left", valign: "top",
      }
    );
    // Body
    s.addText(r.body, {
      x: 7.416, y: y + 0.02, w: 7.052, h: 1.1,
      fontFace: FONT_SANS, fontSize: 14, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    });
    // Tag (right)
    s.addText(r.tag, {
      x: 14.679, y: y + 0.1, w: 4.408, h: 0.3,
      fontFace: FONT_SANS, fontSize: 11, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "left", valign: "top",
    });
    // Row rule (bottom of row, except last will use footer rule)
    hr(s, 1.042, y + rowH - 0.08, 17.917);
  });

  // Bottom caption
  s.addText(
    "ARCHETYPES — COMPOSITE FIGURES DRAWN FROM OPERATOR INTERVIEWS; NOT SPECIFIC INDIVIDUALS.",
    {
      x: 1.042, y: 9.978, w: 18.454, h: 0.3,
      fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "left", valign: "top",
    }
  );

  footer(s, 6);
}

// ============================================================
// SLIDE 7 — THE LABELS (three category cards)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "07 / THE LABELS", "INFRASTRUCTURE");

  displayHeadline(s, 1.146, [
    { text: "Imprints and sound " },
    { text: "systems", italic: true },
    { text: "." },
  ]);

  s.addText(
    "Three rough categories of local-facing label activity a promoter should know before programming a season. Named by function, not by brand.",
    {
      x: 1.042, y: 3.167, w: 16.094, h: 1.5,
      fontFace: FONT_SANS, fontSize: 20, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  const cards = [
    { x: 1.042,  symbol: "◯", eyebrow: "CATEGORY A", name: "The heritage imprint.",
      body: "Vinyl-era psytrance labels that still release annually and curate legacy stages. Small catalogue velocity, deep audience loyalty.",
      meta: [{ k: "FOUNDED · 1990S" }, { k: "OUTPUT · 2–4 / YR" }],
      accent: COLORS.mutedDark },
    { x: 7.111,  symbol: "◑", eyebrow: "CATEGORY B", name: "The diaspora label.",
      body: "Run out of Berlin, Lisbon or Mumbai; uses the Goa season as a live showcase and A&R trip. Catalogue-first, scene-adjacent.",
      meta: [{ k: "FOUNDED · 2010S" }, { k: "OUTPUT · 8–14 / YR" }],
      accent: COLORS.teal },
    { x: 13.181, symbol: "●", eyebrow: "CATEGORY C", name: "The collective press.",
      body: "Post-pandemic crews putting out digital EPs tied to a monthly residency. The scene's most visible new-artist pipeline.",
      meta: [{ k: "FOUNDED · 2020S" }, { k: "OUTPUT · 12+ / YR" }],
      accent: COLORS.primary },
  ];

  cards.forEach(c => {
    // Card
    s.addShape("rect", {
      x: c.x, y: 4.869, w: 5.778, h: 5.131,
      fill: { color: COLORS.card }, line: { type: "none" },
    });
    // Top-left accent dot (colored, inside a ring)
    s.addShape("ellipse", {
      x: c.x + 0.343, y: 5.255, w: 0.688, h: 0.688,
      fill: { type: "none" },
      line: { color: c.accent, width: 1.2 },
    });
    // Inner glyph
    s.addText(c.symbol, {
      x: c.x + 0.312, y: 5.255, w: 0.75, h: 0.7,
      fontFace: FONT_SANS, fontSize: 24, color: c.accent,
      margin: 0, align: "center", valign: "middle",
    });
    // Eyebrow
    s.addText(c.eyebrow, {
      x: c.x + 0.343, y: 6.13, w: 5.243, h: 0.3,
      fontFace: FONT_SANS, fontSize: 11.5, color: COLORS.mutedDark,
      charSpacing: 2.8, margin: 0, align: "left", valign: "top",
    });
    // Name (serif italic)
    s.addText(c.name, {
      x: c.x + 0.343, y: 6.52, w: 5.243, h: 0.6,
      fontFace: FONT_SERIF, fontSize: 22, italic: true, color: COLORS.off,
      margin: 0, align: "left", valign: "top",
    });
    // Body
    s.addText(c.body, {
      x: c.x + 0.343, y: 7.25, w: 5.243, h: 1.6,
      fontFace: FONT_SANS, fontSize: 14, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    });
    // Divider
    hr(s, c.x + 0.343, 9.255, 5.09);
    // Meta (2 cols)
    s.addText(c.meta[0].k, {
      x: c.x + 0.343, y: 9.45, w: 2.5, h: 0.3,
      fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "left", valign: "top",
    });
    s.addText(c.meta[1].k, {
      x: c.x + 3.9, y: 9.45, w: 2.5, h: 0.3,
      fontFace: FONT_SANS, fontSize: 10.5, color: COLORS.mutedDark,
      charSpacing: 2.4, margin: 0, align: "left", valign: "top",
    });
  });

  footer(s, 7);
}

// ============================================================
// SLIDE 8 — SOUND & SILENCE (quote + timeline)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bgSlide8 };
  eyebrow(s, "08 / SOUND & SILENCE", "REGULATION");

  // ----- LEFT: big pull quote -----
  // opening quote mark (large serif)
  s.addText("\u201C", {
    x: 1.042, y: 2.1, w: 2, h: 2,
    fontFace: FONT_SERIF, fontSize: 120, color: COLORS.primary,
    margin: 0, align: "left", valign: "top",
  });

  s.addText(
    [
      { text: "The party doesn't end at ten. The ", options: { color: COLORS.off } },
      { text: "amplifier",                           options: { color: COLORS.primary, italic: true, fontFace: FONT_SERIF } },
      { text: " does — everything after that is ",   options: { color: COLORS.off } },
      { text: "negotiation",                         options: { color: COLORS.off, italic: true, fontFace: FONT_SERIF } },
      { text: ".",                                   options: { color: COLORS.off } },
    ],
    {
      x: 1.042, y: 4.3, w: 9.598, h: 4.0,
      fontFace: FONT_SERIF, fontSize: 40, margin: 0, align: "left", valign: "top",
      paraSpaceAfter: 4,
    }
  );

  s.addText(
    [
      { text: "A MORJIM VENUE OWNER · ", options: { color: COLORS.mutedDark, charSpacing: 2.8 } },
      { text: "INTERVIEW, NOV 2025",     options: { color: COLORS.off,       charSpacing: 2.8 } },
    ],
    {
      x: 1.042, y: 8.56, w: 9.598, h: 0.35,
      fontFace: FONT_SANS, fontSize: 11, margin: 0, align: "left", valign: "top",
    }
  );

  // ----- RIGHT: card with timeline -----
  s.addShape("rect", {
    x: 11.193, y: 1.146, w: 7.765, h: 8.854,
    fill: { color: COLORS.cardAlt2 }, line: { type: "none" },
  });

  s.addText("The 10pm cut-off.", {
    x: 11.537, y: 1.49, w: 7.29, h: 0.7,
    fontFace: FONT_SERIF, fontSize: 32, italic: true, color: COLORS.off,
    margin: 0, align: "left", valign: "top",
  });

  s.addText(
    "Goa's amplified-sound rule, revived repeatedly since 2019: outdoor PAs off at 22:00. Enforced unevenly. Rebooked around, not repealed.",
    {
      x: 11.537, y: 2.4, w: 7.29, h: 2.0,
      fontFace: FONT_SANS, fontSize: 16, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  // 22:00 big marker (above the timeline)
  s.addText("22:00", {
    x: 15.4, y: 5.2, w: 1.5, h: 0.45,
    fontFace: FONT_SANS, fontSize: 18, bold: true, color: COLORS.off,
    charSpacing: 2.0, margin: 0, align: "center", valign: "top",
  });
  // vertical cut marker
  s.addShape("rect", {
    x: 15.642, y: 5.88, w: 0.04, h: 0.88,
    fill: { color: COLORS.primary }, line: { type: "none" },
  });

  // Timeline base rule (muted)
  hr(s, 11.537, 6.3, 7.078, COLORS.rule, 0.025);
  // Left segment (amplified window, teal)
  s.addShape("rect", {
    x: 11.537, y: 6.285, w: 4.105, h: 0.055,
    fill: { color: COLORS.teal }, line: { type: "none" },
  });
  // Right segment (silent, primary)
  s.addShape("rect", {
    x: 15.642, y: 6.285, w: 2.973, h: 0.055,
    fill: { color: COLORS.primary }, line: { type: "none" },
  });

  // hour labels
  const hours = ["16:00", "19:00", "22:00", "01:00", "04:00"];
  const hourXs = [11.537, 13.197, 14.857, 16.517, 18.177];
  hours.forEach((h, i) => {
    s.addText(h, {
      x: hourXs[i] - 0.1, y: 6.46, w: 0.8, h: 0.3,
      fontFace: FONT_SANS, fontSize: 11, color: COLORS.mutedDark,
      charSpacing: 1.6, margin: 0, align: "left", valign: "top",
    });
  });

  // Legend at bottom
  s.addShape("rect", {
    x: 11.537, y: 9.45, w: 0.3, h: 0.04,
    fill: { color: COLORS.teal }, line: { type: "none" },
  });
  s.addText("AMPLIFIED WINDOW", {
    x: 11.93, y: 9.34, w: 2.5, h: 0.3,
    fontFace: FONT_SANS, fontSize: 11, color: COLORS.off,
    charSpacing: 2.8, margin: 0, align: "left", valign: "top",
  });
  s.addShape("rect", {
    x: 13.73, y: 9.45, w: 0.3, h: 0.04,
    fill: { color: COLORS.primary }, line: { type: "none" },
  });
  s.addText("SILENT / INDOOR ONLY", {
    x: 14.12, y: 9.34, w: 2.7, h: 0.3,
    fontFace: FONT_SANS, fontSize: 11, color: COLORS.off,
    charSpacing: 2.8, margin: 0, align: "left", valign: "top",
  });

  footer(s, 8);
}

// ============================================================
// SLIDE 9 — LOCALS & OUTSIDERS (two-column)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "09 / LOCALS & OUTSIDERS", "TENSION");

  displayHeadline(s, 1.146, [
    { text: "Two " },
    { text: "economies", italic: true },
    { text: ", one village." },
  ]);

  // Left column header
  hr(s, 1.042, 2.709, 8.667);
  s.addText("SIDE A · THE VILLAGE", {
    x: 1.042, y: 3.011, w: 8.927, h: 0.4,
    fontFace: FONT_SANS, fontSize: 13, color: COLORS.primary,
    charSpacing: 2.8, margin: 0, align: "left", valign: "top",
  });
  s.addText("The residents who were here first.", {
    x: 1.042, y: 3.5, w: 8.927, h: 0.8,
    fontFace: FONT_SERIF, fontSize: 26, italic: true, color: COLORS.off,
    margin: 0, align: "left", valign: "top",
  });

  const sideA = [
    { head: "Sleep and schools.",      body: " Amplified bass carries a kilometre over paddy fields; the school day starts at seven." },
    { head: "Land and rent.",          body: " Seasonal landlords prefer short-let foreign tenants; long-let Goan families are priced out of their own ward." },
    { head: "Panchayat politics.",     body: " Each village council is its own regulator — permits, noise complaints, parking — and every promoter negotiates separately." },
  ];
  sideA.forEach((r, i) => {
    s.addText(
      [
        { text: r.head, options: { color: COLORS.off,   fontFace: FONT_SERIF, italic: true } },
        { text: r.body, options: { color: COLORS.muted, fontFace: FONT_SANS } },
      ],
      {
        x: 1.625, y: 4.55 + i * 1.0, w: 8.326, h: 1.0,
        fontSize: 15, margin: 0, align: "left", valign: "top",
      }
    );
  });

  // Right column header
  hr(s, 10.292, 2.709, 8.667);
  s.addText("SIDE B · THE SCENE", {
    x: 10.292, y: 3.011, w: 8.927, h: 0.4,
    fontFace: FONT_SANS, fontSize: 13, color: COLORS.teal,
    charSpacing: 2.8, margin: 0, align: "left", valign: "top",
  });
  s.addText("The industry that pays the season.", {
    x: 10.292, y: 3.5, w: 8.927, h: 0.8,
    fontFace: FONT_SERIF, fontSize: 26, italic: true, color: COLORS.off,
    margin: 0, align: "left", valign: "top",
  });

  const sideB = [
    { head: "Jobs.",             body: " A peak December weekend employs a few thousand people across bar, security, production and transport." },
    { head: "Tourism pull.",     body: " The scene is the single biggest reason a 25-to-40 international visitor books a flight in December or January." },
    { head: "Cultural capital.", body: " Goa's global reputation as a music destination long outpaced the infrastructure — and is the only reason the infrastructure exists at all." },
  ];
  sideB.forEach((r, i) => {
    s.addText(
      [
        { text: r.head, options: { color: COLORS.off,   fontFace: FONT_SERIF, italic: true } },
        { text: r.body, options: { color: COLORS.muted, fontFace: FONT_SANS } },
      ],
      {
        x: 10.875, y: 4.55 + i * 1.0, w: 8.326, h: 1.0,
        fontSize: 15, margin: 0, align: "left", valign: "top",
      }
    );
  });

  footer(s, 9);
}

// ============================================================
// SLIDE 10 — THE ROAD AHEAD (three numbered takeaways)
// ============================================================
{
  const s = pres.addSlide();
  s.background = { color: COLORS.bg };
  eyebrow(s, "10 / THE ROAD AHEAD", "OUTLOOK · 2026");

  displayHeadline(s, 1.146, [
    { text: "What a promoter should " },
    { text: "plan for", italic: true },
    { text: "." },
  ]);

  s.addText(
    "Three working assumptions for the coming season. None of them are predictions — they are the positions most likely to survive the next round of regulation, weather and taste.",
    {
      x: 1.042, y: 3.251, w: 16.094, h: 2.5,
      fontFace: FONT_SANS, fontSize: 22, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    }
  );

  const items = [
    { x: 1.042,  n: "01", head: "Smaller rooms, harder curation.",
      body: "Capacity-led megastages are increasingly at the mercy of a single panchayat vote. Under-500 rooms with strong editorial programming are the hedged bet." },
    { x: 7.399,  n: "02", head: "Indoor infrastructure matters.",
      body: "Any venue that can legally operate past 22:00 is re-priced this season. Sound-sealed rooms — rare and expensive — will carry a premium for years." },
    { x: 13.372, n: "03", head: "Local credit is the asset.",
      body: "Partner with Goan owners and collectives rather than landing from outside. The scene's next decade belongs to the crews that the village council will actually answer the phone for." },
  ];

  // Dividers between columns
  vr(s, 7.014, 5.9, 4.1);
  vr(s, 12.986, 5.9, 4.1);

  items.forEach(it => {
    s.addText(it.n, {
      x: it.x, y: 6.317, w: 5.3, h: 1.1,
      fontFace: FONT_SANS, fontSize: 54, color: COLORS.primary,
      charSpacing: 2.0, margin: 0, align: "left", valign: "top",
    });
    s.addText(it.head, {
      x: it.x, y: 7.379, w: 5.3, h: 1.0,
      fontFace: FONT_SERIF, fontSize: 24, italic: true, color: COLORS.off,
      margin: 0, align: "left", valign: "top",
    });
    s.addText(it.body, {
      x: it.x, y: 8.466, w: 5.3, h: 2.0,
      fontFace: FONT_SANS, fontSize: 14, color: COLORS.muted,
      margin: 0, align: "left", valign: "top",
    });
  });

  footer(s, 10);
}

// ---------- write ----------
const OUT = process.env.OUT_PATH || path.join(process.cwd(), "goa_electronic_music.pptx");
pres.writeFile({ fileName: OUT }).then(f => console.log("Wrote:", f));
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