# Presentation Expert Skill

**Author**: Stuart Kerr, Isovision.ai
**Feedback**: stuart@isovision.ai | M: 312-953-9668
**Repository**: https://github.com/stuinfla/Presenter_Master
**Version**: 8.2.0

---

## Description
Create world-class presentations with professional design and maximum impact. Supports TWO modes:
- **Keynote Mode**: TED-style presentations with minimal text, maximum impact
- **Business Mode**: McKinsey/BCG-style consulting decks with structured detail

Built on methodologies from Nancy Duarte, Garr Reynolds, Carmine Gallo, Chris Anderson, AND consulting frameworks from McKinsey, BCG, and Bain.

## Triggers
- "presentation", "slides", "powerpoint", "keynote"
- "pitch deck", "investor deck"
- "strategy deck", "planning presentation"
- "implementation plan", "consulting deck"
- "business presentation", "executive presentation"

---

## 🚨 CRITICAL: HTML PRESENTATION RULES (MUST FOLLOW)

**These rules are NON-NEGOTIABLE for HTML presentations. Failure causes broken layouts.**

| Rule | Setting | Why |
|------|---------|-----|
| **center** | `true` | Enables vertical centering. `false` breaks layouts. |
| **margin** | `0.04` | Prevents edge clipping |
| **!important** | On all flex properties | Overrides Reveal.js theme defaults |
| **min-height** | `0` on ALL flex children | Allows flex items to shrink |
| **Font sizes** | Pixels with `clamp()` | `em`/`rem` cascade incorrectly |
| **overflow** | `hidden !important` on sections | Clips overflowing content |
| **Tables** | Wrap in `.table-container` | Enables scrolling |

**ALWAYS USE THE MASTER TEMPLATE** from the "REVEAL.JS MASTER TEMPLATE" section (~line 1760).
Never create minimal templates. Never use `em` or `rem` for font sizes.

**Before delivery, VERIFY:**
```
□ Reveal.initialize({ center: true, margin: 0.04 })
□ All sections: overflow: hidden !important
□ All flex children: min-height: 0
□ Open in browser, navigate EVERY slide at full screen
```

---

## ⚠️ RUVECTOR KNOWLEDGE BASE INTEGRATION (MANDATORY)

### Primary Knowledge Source
**Path**: `/Users/stuartkerr/Code/PresenterMode/ruvector/presentation-knowledge.yaml`

This YAML file contains 3,500+ lines of expert knowledge. **YOU MUST READ THIS FILE** at the start of every presentation task.

### When to Read RuVector

| Task Type | Sections to Read |
|-----------|------------------|
| **Any presentation** | `presentation_modes`, `design_system`, `quality_metrics`, `anti_patterns` |
| **Keynote/TED-style** | `experts` (Duarte, Reynolds, Gallo, Anderson), `story_frameworks` |
| **Business/Consulting** | `consulting_visuals`, `experts` (Minto), `slide_templates.business_mode` |
| **Data-heavy slides** | `data_visualization_experts`, `chart_selection_guide`, `cognitive_science` |
| **Investment banking** | `investment_banking` (pitch books, financial charts, IB conventions) |
| **HTML output** | `html_templates`, `output_formats.html_presentation` |
| **PowerPoint output** | `pptx_generation`, `output_formats.powerpoint` |
| **Psychology/Persuasion** | `persuasion_psychology` (Cialdini, Kahneman, Made to Stick) |
| **Source verification** | `data_integrity`, `source_documentation`, `verification_checklist` |
| **Final QA** | `quality_assurance`, `anti_patterns` |

### How to Use RuVector

**Step 1: Read the relevant sections**
```
Use Read tool: /Users/stuartkerr/Code/PresenterMode/ruvector/presentation-knowledge.yaml
```

**Step 2: Apply the frameworks**
- For color palettes → Read `design_system.color_palettes`
- For slide layouts → Read `slide_templates`
- For persuasion → Read `persuasion_psychology.cialdini_principles`
- For data viz → Read `chart_selection_guide`

**Step 3: Verify against quality metrics**
- Read `quality_metrics` and check presentation against thresholds
- Read `anti_patterns` and ensure none are present
- Read `verification_checklist` before delivery

### RuVector Section Index

| Section | Lines | Content |
|---------|-------|---------|
| `metadata` | 1-20 | Version info |
| `presentation_modes` | 21-80 | Keynote vs Business mode rules |
| `data_visualization_experts` | 81-200 | Tufte, Berinato, Knaflic principles |
| `cognitive_science` | 201-280 | Miller's Law, Cognitive Load Theory |
| `gestalt_principles` | 281-350 | Proximity, similarity, closure, etc. |
| `accessibility` | 351-420 | WCAG, contrast, colorblind-safe |
| `chart_selection_guide` | 421-550 | Which chart for which data |
| `consulting_visuals` | 551-700 | MCK/BCG/Bain visual elements |
| `experts` | 701-850 | Duarte, Reynolds, Gallo, Anderson, Minto |
| `design_system` | 851-1000 | Colors, typography, layout |
| `slide_templates` | 1001-1200 | Template definitions |
| `quality_metrics` | 1201-1300 | Pass/fail thresholds |
| `anti_patterns` | 1301-1400 | What to avoid |
| `story_frameworks` | 1401-1500 | Sparkline, SCQA, Pyramid |
| `investment_banking` | 1501-1800 | Pitch books, financial charts |
| `graphic_designers` | 1801-2100 | 20 top designers + agencies |
| `output_formats` | 2101-2400 | HTML vs PPTX frameworks |
| `html_templates` | 2401-2700 | Reveal.js complete templates |
| `pptx_generation` | 2701-2900 | PptxGenJS code examples |
| `persuasion_psychology` | 2901-3200 | Cialdini, Kahneman, Made to Stick |
| `data_integrity` | 3201-3350 | Anti-hallucination protocol |
| `source_documentation` | 3351-3420 | Citation requirements |
| `verification_checklist` | 3421-3460 | Pre-delivery checks |
| `quality_assurance` | 3461-3520 | QA process |

### ⚠️ CRITICAL: Don't Duplicate - Reference

This skill file contains **summaries and quick reference**. The RuVector knowledge base contains **complete details**.

- If you need color hex codes → Read RuVector `design_system.color_palettes`
- If you need chart selection logic → Read RuVector `chart_selection_guide`
- If you need complete HTML template → Read RuVector `html_templates`
- If you need persuasion language patterns → Read RuVector `persuasion_psychology.language_patterns`

**The skill file tells you WHAT to do. RuVector tells you HOW with complete details.**

---

## PRESENTATION CREATION WORKFLOW (With RuVector Integration)

### Phase 1: Discovery & Planning
```
1. ASK: Keynote or Business mode?
2. ASK: HTML or PowerPoint output?
3. ASK: Would you like AI-generated images for your slides? (Optional - requires Google Gemini API key)
4. READ RuVector: presentation_modes, story_frameworks
5. Determine structure (SCQA, Pyramid, Sparkline)
```

### Phase 1.5: Image Generation Setup (Optional)
```
IF user wants AI-generated images:
1. CHECK: Look for GOOGLE_GEMINI_API_KEY or GOOGLE_API_KEY in:
   - .env file in current project
   - Environment variables
   - ~/.zshrc or ~/.bashrc exports
2. IF key NOT found:
   - INFORM user: "To generate images, you need a Google Gemini API key"
   - PROVIDE instructions: "Get a free key at https://aistudio.google.com/apikey"
   - ASK: "Would you like to add your API key now, or proceed without images?"
   - IF user provides key: Save to .env file
3. IF key IS found:
   - CONFIRM: "Google Gemini API key detected. Images will cost ~$0.04 each."
   - ESTIMATE: "For X slides, estimated image cost: ~$Y"
   - Proceed with image generation during content creation
```

### Phase 2: Content Strategy
```
1. READ RuVector: persuasion_psychology (Cialdini, Kahneman, Made to Stick)
2. Apply emotional triggers and power words
3. READ RuVector: data_integrity (verify ALL facts before including)
4. Create placeholder list: [DATA NEEDED: xyz] for unverified claims
```

### Phase 3: Design & Layout
```
1. READ RuVector: design_system.color_palettes (pick dark executive or appropriate theme)
2. READ RuVector: slide_templates (use correct template for each slide type)
3. READ RuVector: html_templates OR pptx_generation (based on output format)
4. Apply typography, spacing, accessibility rules
```

### Phase 4: Data Visualization
```
1. READ RuVector: chart_selection_guide (which chart for which data)
2. READ RuVector: data_visualization_experts (Tufte, Berinato principles)
3. READ RuVector: cognitive_science (Miller's Law, cognitive load)
4. Add insight callouts to every chart
```

### Phase 5: Quality Assurance
```
1. READ RuVector: quality_metrics (check against thresholds)
2. READ RuVector: anti_patterns (ensure none present)
3. READ RuVector: verification_checklist (run FULL checklist)
4. READ RuVector: quality_assurance (visual inspection per slide)
5. Verify all [DATA NEEDED] placeholders resolved
```

### Phase 6: Source Documentation
```
1. READ RuVector: source_documentation
2. Add speaker notes (PPTX) OR source appendix slide (HTML)
3. Prepare handout document if requested
4. Verify every claim has citation
```

### Phase 7: Final Delivery & Validation
```
1. HTML MANDATORY CHECKS (before showing to user):
   □ Reveal.initialize has center: true (NOT false)
   □ Reveal.initialize has margin: 0.04
   □ All sections have overflow: hidden !important
   □ All flex children have min-height: 0
   □ All font sizes are in pixels (not em/rem)
   □ All grids have min-height: 0
   □ Tables are wrapped in .table-container

2. VISUAL VALIDATION (open in browser):
   □ Navigate EVERY slide at full screen
   □ Check for ANY content overflow or clipping
   □ Verify text is readable (not too small)
   □ Confirm no content touches edges
   □ Test at 1280x720 resolution

3. FINAL CHECKS:
   □ Source slide included with all citations
   □ All [DATA NEEDED] placeholders resolved
   □ Keyboard navigation works (arrow keys)

IF ANY CHECK FAILS → FIX BEFORE DELIVERY
```

---

## PRESENTATION MODES

### Mode 1: KEYNOTE (TED-Style)
**Use for**: Keynotes, TED talks, sales pitches, inspiring audiences
**Characteristics**:
- Minimal text (6-15 words per slide)
- High impact visuals
- Emotional storytelling
- One idea per slide

### Mode 2: BUSINESS (Consulting-Style)
**Use for**: Strategy, planning, implementation, board decks, consulting
**Characteristics**:
- Structured detail (40-80 words per slide OK)
- Action titles that tell the story
- Data-rich with clear insights
- MECE structure (Mutually Exclusive, Collectively Exhaustive)

**IMPORTANT**: Ask which mode before starting!

---

## CONSULTING DECK PRINCIPLES (McKinsey/BCG/Bain)

### The Pyramid Principle (Barbara Minto)
1. Start with the answer/recommendation FIRST
2. Group supporting arguments logically
3. Back each point with data and evidence
4. Build from conclusion down, not up

### MECE Principle
- **Mutually Exclusive**: No overlapping points
- **Collectively Exhaustive**: Cover everything needed
- Structure ensures completeness without redundancy

### SCQA Framework (Barbara Minto - Full Version)
The complete storytelling framework used by all top consulting firms:
- **Situation**: The context, time, place. Something everyone agrees on.
- **Complication**: The problem, urgency, reason to act NOW. Threats or opportunities.
- **Question**: The question naturally raised by the complication.
- **Answer**: Your main idea, recommendation, how to overcome hurdles.

**SCR Variant** (Shortened for exec summaries):
- **Situation**: Current state, context
- **Complication**: The problem, challenge, or opportunity
- **Resolution**: Your recommendation and path forward

**Key Insight**: Think bottom-up (data → findings → recommendations), but COMMUNICATE top-down (answer first, then supporting evidence).

### Action Titles (Critical!)
Every slide title should be a **complete sentence** stating the key insight:
- ❌ "Q3 Revenue Analysis" (topic only)
- ✅ "Q3 revenue exceeded targets by 23% driven by enterprise deals" (insight)

The test: **Can someone understand the deck by reading only the titles?**

---

## YOUTUBE EXPERT INSIGHTS

### Analyst Academy (PREMIER RESOURCE)
**Focus**: Consulting-style slides from McKinsey, BCG, Bain
**Resources**: 600+ real consulting presentations to study
**Key Teachings**:
- **SCQA Framework**: Situation → Complication → Question → Answer
- **Action Titles**: Headlines that communicate conclusions, not topics
- **Callouts**: Always tell the audience what to see in charts
- **Insight-Driven**: Every slide must communicate a clear insight
- **Visual Hierarchy**: BCG uses Pyramid Principle visually—big idea on top
- **One Message Per Slide**: Don't overload, focus on single takeaway
- The test: "Can someone understand the deck by reading titles only?"

### One Skill PowerPoint
- Focus on clean, professional animations
- Use morph transitions for smooth flow
- Create visual hierarchy with size and color
- Modern techniques for corporate presentations

### PowerPoint School (910K subscribers)
- Templates should be starting points, not crutches
- Master slide layouts for consistency
- Use guides and alignment religiously
- Build reusable master slides

### Lea Pica (Data Visualization)
- "Don't let data speak for itself—give it a voice"
- Highlight the ONE insight per chart
- Remove chart junk ruthlessly
- Context matters more than the data itself

### Nuts & Bolts Speed Training
- Efficiency matters: learn shortcuts
- Format Painter is your best friend
- Build a personal template library
- Speed = quality when deadlines hit

### Slide Cow
- Creative doesn't mean cluttered
- Animation should reveal, not distract
- White space is a design element
- Unexpected visuals create memorability

---

## COLOR PALETTES (Premium, Distinctive)

**IMPORTANT**: Never use plain white or boring off-white. These palettes create visual impact.

### 1. Dark Executive (RECOMMENDED - Most Impressive)
- Background: `#0F172A` (Rich Navy Black)
- Surface: `#1E293B` (Card backgrounds)
- Primary: `#F8FAFC` (Bright White text)
- Secondary: `#94A3B8` (Muted for labels)
- Accent: `#F59E0B` (Gold/Amber)
- Accent Alt: `#3B82F6` (Electric Blue)
- Success: `#10B981` (Emerald)
- Danger: `#EF4444` (Red)

### 2. Midnight Gradient (Premium Tech)
- Background: `linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0F172A 100%)`
- Surface: `rgba(255,255,255,0.05)` (Glass cards)
- Primary: `#FFFFFF`
- Secondary: `#A5B4FC` (Soft Indigo)
- Accent: `#818CF8` (Vivid Indigo)
- Glow: `0 0 40px rgba(129, 140, 248, 0.3)`

### 3. Warm Charcoal (Sophisticated)
- Background: `#1C1917` (Warm Black)
- Surface: `#292524` (Stone 800)
- Primary: `#FAFAF9` (Warm White)
- Secondary: `#A8A29E` (Stone 400)
- Accent: `#F97316` (Vivid Orange)
- Accent Alt: `#14B8A6` (Teal)

### 4. Corporate Navy (Traditional Premium)
- Background: `#0C1222` (Deep Navy)
- Surface: `#162032` (Lighter Navy)
- Primary: `#FFFFFF`
- Secondary: `#64748B` (Slate)
- Accent: `#DC2626` (Power Red)
- Accent Alt: `#2563EB` (Royal Blue)

### 5. Light Premium (When Dark Won't Work)
- Background: `linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%)`
- Surface: `#FFFFFF` with `box-shadow: 0 4px 20px rgba(0,0,0,0.08)`
- Primary: `#0F172A` (Near Black)
- Secondary: `#475569` (Slate)
- Accent: `#7C3AED` (Vivid Purple)
- Border: `1px solid rgba(0,0,0,0.06)`

### Color Rules
1. **Dark backgrounds** make content pop and look premium
2. **Gradients** add depth without being cheesy
3. **Glass morphism** (translucent surfaces) looks modern
4. **Accent colors** should be vivid, not muted
5. **Never use** pure `#FFFFFF` as a background

---

## TYPOGRAPHY SYSTEM

### For Keynote Mode
- Titles: 54-72px, Bold
- Headlines: 36-48px
- Body: 24-32px
- Max 2 fonts: Sans-serif headline + serif or sans body

### For Business Mode
- Action Title: 18-22px, Bold (full sentence)
- Section Headers: 14-16px, Bold
- Body Text: 11-14px
- Data Labels: 10-12px
- Use: Arial, Calibri, or Trebuchet MS (McKinsey standard)

### Consulting Font Standards
- McKinsey: Trebuchet MS (body), Georgia (titles)
- BCG: Arial throughout
- Bain: Calibri or custom Bain font

---

## SLIDE TEMPLATES

### Keynote Mode Slides
1. **Title Impact**: Large text, dramatic visual
2. **Single Statement**: One powerful sentence
3. **Big Number**: Statistic with context
4. **Full Image**: Photo with minimal text overlay
5. **Quote**: Attribution with emotional weight
6. **Three Points**: Rule of three, visual icons
7. **Call to Action**: Clear next step

### Business Mode Slides

#### 1. Executive Summary (SCR)
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: Key recommendation in one sentence]          │
├─────────────────────────────────────────────────────────────┤
│ SITUATION          │ COMPLICATION        │ RESOLUTION       │
│ • Context point    │ • Challenge 1       │ • Recommendation │
│ • Background       │ • Challenge 2       │ • Key actions    │
│ • Current state    │ • Implications      │ • Expected impact│
└─────────────────────────────────────────────────────────────┘
```

#### 2. Data Insight Slide
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: What the data tells us - insight statement]  │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│   ┌─────────────────────────────────────┐                  │
│   │                                     │   KEY INSIGHT    │
│   │         CHART / GRAPH               │   • Point 1      │
│   │         (One chart only)            │   • Point 2      │
│   │                                     │   • Point 3      │
│   └─────────────────────────────────────┘                  │
│                                                             │
│ Source: [Data source, date]                                 │
└─────────────────────────────────────────────────────────────┘
```

#### 3. Comparison/Options Slide
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: Option B is recommended because...]          │
├─────────────────────────────────────────────────────────────┤
│ CRITERIA      │ OPTION A      │ OPTION B      │ OPTION C    │
├───────────────┼───────────────┼───────────────┼─────────────┤
│ Cost          │ $2.5M         │ $1.8M ✓       │ $3.2M       │
│ Timeline      │ 12 months     │ 8 months ✓    │ 6 months    │
│ Risk          │ Medium        │ Low ✓         │ High        │
│ Impact        │ Moderate      │ High ✓        │ High        │
├───────────────┴───────────────┴───────────────┴─────────────┤
│ Recommendation: Option B balances cost, timeline, and risk  │
└─────────────────────────────────────────────────────────────┘
```

#### 4. Process/Timeline Slide
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: Implementation requires 4 phases over 6mo]   │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│   PHASE 1      PHASE 2      PHASE 3      PHASE 4           │
│   ────────     ────────     ────────     ────────          │
│   Discovery    Design       Build        Deploy             │
│   Weeks 1-2    Weeks 3-6    Weeks 7-18   Weeks 19-24       │
│                                                             │
│   • Stakeholder│ • Solution  │ • Dev      │ • Testing       │
│     interviews │   design    │ • QA       │ • Training      │
│   • As-is     │ • Prototype │ • Iterate  │ • Go-live       │
│     analysis  │ • Approval  │            │                  │
└─────────────────────────────────────────────────────────────┘
```

#### 5. MECE Breakdown Slide
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: Revenue growth driven by 3 distinct levers]  │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│   ┌─────────────┐  ┌─────────────┐  ┌─────────────┐        │
│   │   LEVER 1   │  │   LEVER 2   │  │   LEVER 3   │        │
│   │   Pricing   │  │   Volume    │  │   Mix       │        │
│   ├─────────────┤  ├─────────────┤  ├─────────────┤        │
│   │ +$12M       │  │ +$8M        │  │ +$5M        │        │
│   │ • Premium   │  │ • New       │  │ • Enterprise│        │
│   │   tiers     │  │   markets   │  │   shift     │        │
│   │ • Annual    │  │ • Channel   │  │ • Add-ons   │        │
│   │   increase  │  │   expansion │  │             │        │
│   └─────────────┘  └─────────────┘  └─────────────┘        │
│                                                             │
│   Total Impact: $25M (+18% YoY)                            │
└─────────────────────────────────────────────────────────────┘
```

#### 6. Detailed Analysis Slide
```
┌─────────────────────────────────────────────────────────────┐
│ [Action Title: 5 key findings from customer research]       │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ 1. Finding One                                              │
│    Supporting detail and evidence. Quote or data point.     │
│                                                             │
│ 2. Finding Two                                              │
│    Supporting detail and evidence. Quote or data point.     │
│                                                             │
│ 3. Finding Three                                            │
│    Supporting detail and evidence. Quote or data point.     │
│                                                             │
│ 4. Finding Four                                             │
│    Supporting detail and evidence. Quote or data point.     │
│                                                             │
│ 5. Finding Five                                             │
│    Supporting detail and evidence. Quote or data point.     │
│                                                             │
│ Source: Customer interviews (n=45), Q3 2024                 │
└─────────────────────────────────────────────────────────────┘
```

---

## WORKFLOW

### Step 1: Determine Mode
Ask: "Is this a **keynote** (inspiring, minimal) or **business deck** (detailed, strategic)?"

### Step 2: Discovery Questions

**For Keynote Mode:**
- Who is the audience?
- What's the ONE thing they must remember?
- What emotion should they feel?
- What's your STAR moment?

**For Business Mode:**
- Who are the stakeholders? (Execs, board, team?)
- What decision needs to be made?
- What's the recommendation?
- Will this be presented or read as a document?
- What's the SCR? (Situation, Complication, Resolution)

### Step 3: Structure

**Keynote Structure (Sparkline):**
1. Hook → 2. What Is → 3. What Could Be → 4. Evidence → 5. STAR → 6. CTA

**Business Structure (Pyramid):**
1. Executive Summary (answer first)
2. Situation & Context
3. Analysis & Findings
4. Options/Recommendations
5. Implementation Plan
6. Next Steps & Appendix

### Step 4: Apply Design Rules

**Keynote Mode:**
- 6-15 words max per slide
- One idea only
- 40%+ whitespace
- Full-bleed images OK

**Business Mode:**
- Action titles required (full sentences)
- 40-80 words OK for detailed slides
- 25-30% whitespace minimum
- Charts need insight callouts
- Source all data

### Step 5: Quality Check

**Keynote:**
- ✅ 3-second Glance Test
- ✅ STAR moment exists
- ✅ Clear CTA

**Business:**
- ✅ Can you understand deck from titles alone?
- ✅ Is structure MECE?
- ✅ Are recommendations clear?
- ✅ Is data sourced?

---

## HTML TEMPLATE (Business Mode)

⚠️ **DO NOT USE A MINIMAL TEMPLATE** - Always use the full REVEAL.JS MASTER TEMPLATE below (line ~1798).

The master template includes ALL critical CSS rules that prevent layout issues:
- `center: true` in Reveal.initialize()
- `!important` on flex properties
- `min-height: 0` on all flex children
- Fixed pixel fonts with `clamp()`
- Overflow handling

**Quick Reference - Business Mode Slide Structure:**
```html
<!-- Business mode slide - always use class="business" -->
<section class="business">
  <h2>Action title that states the key insight as a complete sentence</h2>
  <div class="content">
    <!-- Your content here: grids, cards, tables, etc. -->
  </div>
  <p class="source">Source: Citation here</p>
</section>
```

**See REVEAL.JS MASTER TEMPLATE section for complete working code.**

---

## ANTI-PATTERNS BY MODE

### Keynote Anti-Patterns
- ❌ Bullet points longer than 3 items
- ❌ Reading slides aloud
- ❌ No emotional hook
- ❌ Clipart or cheesy stock photos

### Business Anti-Patterns
- ❌ Topic titles instead of action titles
- ❌ Overlapping points (not MECE)
- ❌ Charts without insight callouts
- ❌ Unsourced data
- ❌ Burying the recommendation at the end
- ❌ Fancy animations (use none or fade only)

---

## DATA VISUALIZATION EXPERTS

### Edward Tufte - "The Leonardo da Vinci of Data"
**Key Book**: The Visual Display of Quantitative Information

**Data-Ink Ratio Principle**:
- "Above all else, show the data"
- Maximize ink used for data, minimize everything else
- Formula: Data-Ink = Data-Ink / Total Ink Used
- Erase non-data-ink and redundant data-ink

**Chartjunk** - Elements to Remove:
- Heavy or dark grid lines
- Decorative backgrounds
- 3D effects
- Ornamented chart axes
- Unnecessary icons/text
- *Key Insight*: "If it doesn't help understanding, remove it"

**Graphical Integrity**:
- Lie Factor should be close to 1.0
- Charts must accurately represent data without distortion

**Small Multiples**: Same chart repeated for different data series (easy comparison)

**Sparklines**: Data-intense, word-sized graphics for inline trends

### Scott Berinato (HBR)
**Key Book**: Good Charts

**Core Philosophy**:
> "Typical charts visualize data. Good charts communicate ideas."

**Process**: Talk → Sketch → Prototype

**Context First**:
- What are you trying to say?
- Who is your audience?
- What setting will this be viewed in?
- *Warning*: Don't skip to charts without honing the idea first

### Cole Nussbaumer Knaflic
**Key Book**: Storytelling with Data (bestseller, 12+ languages)

**Six Key Principles**:
1. **Understand Context** - Know what you're communicating and to whom
2. **Choose Appropriate Visual** - Select the right chart type
3. **Eliminate Clutter** - Remove everything that doesn't add value
4. **Focus Attention** - Use preattentive attributes to guide the eye
5. **Think Like Designer** - Apply design thinking to data
6. **Tell a Story** - Create narrative with beginning, middle, end

**Chart Guidance**:
- Simple text for single data points
- Bar charts for comparisons (ALWAYS zero baseline, horizontal often more readable)
- Line graphs for continuous time series
- Scatterplots for relationships

**AVOID**:
- ❌ Pie charts (hard to compare)
- ❌ 3D charts (distort perception)
- ❌ Dual-axis charts (confusing)
- ❌ Tables in live presentations (use for leave-behinds)

**Horizontal/Vertical Logic**:
- Horizontal: Slide titles in sequence should tell the story
- Vertical: Content and title on each slide should support each other

**Philosophy**: "Don't be a data fashion victim. Simple beats sexy."

---

## COGNITIVE SCIENCE PRINCIPLES

### Miller's Law
**Source**: George Miller (1956)
**Principle**: Working memory holds **7 ± 2 items**

**Application to Slides**:
- Limit bullet points to 5-7 items maximum
- Break content into chunks of 5-9 items
- Group related items together
- Use progressive disclosure for complex info

### Chunking
**Description**: Breaking information into manageable groups

**Benefits**:
- Easier to process
- Easier to remember
- Reduces cognitive overload

**Application**:
- Group related bullets
- Use visual spacing between chunks
- Create clear hierarchical structure

### Cognitive Load Theory
**Source**: John Sweller (1988)

**Three Types**:
| Type | Description | Goal |
|------|-------------|------|
| **Intrinsic** | Inherent complexity of the topic | Accept |
| **Germane** | Effort to create lasting knowledge | Encourage (good!) |
| **Extraneous** | Effort from poor presentation | **Eliminate** (bad!) |

**Application**:
- Every unnecessary element adds cognitive load
- Use white space strategically
- Simplify complex ideas with visuals
- Remove elements that don't contribute to message

### Attention Span Facts
- Average adult attention: 8-10 seconds
- Optimal video segment: 6 minutes or less
- 18 minutes: TED's optimal talk length

**Application**:
- Hook attention in first 10 seconds
- Change visual every 30-60 seconds in keynotes
- Use pattern interrupts to re-engage

---

## GESTALT PRINCIPLES

**Source**: German psychologists (1920s)
**Purpose**: How humans naturally organize visual information
**Key Insight**: The brain seeks order and pattern—use this to guide viewers

### 1. Proximity (MOST POWERFUL)
**Principle**: Elements close together appear related
- Overrides color, shape, and other factors
- Group related items by reducing space between them
- Separate unrelated items with more space
- Use proximity INSTEAD of boxes to show relationships

### 2. Similarity
**Principle**: Similar elements (color, shape, size) appear related
- Use consistent colors for related concepts
- Make CTAs a different color to stand out
- Apply same styling to items in same category

### 3. Closure
**Principle**: Brain fills in gaps to perceive complete objects
- Don't need to show everything—brain completes the picture
- Useful for creating sophisticated, minimal graphics

### 4. Continuity
**Principle**: Eye follows the smoothest path through elements
- Create visual flow that guides the eye
- Use lines and arrows to direct attention
- Align elements to create implied lines
- Timeline designs use continuity

### 5. Figure-Ground
**Principle**: Elements perceived as either figure (foreground) or ground (background)
- Make key elements clearly foreground
- Use contrast to separate figure from ground
- Background should support, not compete

### 6. Symmetry & Order (Prägnanz)
**Principle**: Brain prefers simple, orderly arrangements
- Use grids and alignment
- Create balanced layouts
- Symmetrical designs feel stable

---

## ACCESSIBILITY STANDARDS

**Standard**: WCAG 2.1 (Web Content Accessibility Guidelines)
**Importance**: Ensures presentations work for ALL audiences

### Color Contrast Requirements (WCAG AA)
| Text Type | Minimum Contrast Ratio |
|-----------|------------------------|
| Normal text | **4.5:1** |
| Large text (18pt+ or 14pt+ bold) | **3:1** |

**Common Problems to Avoid**:
- Light gray text on white
- Red on green (colorblind users)
- Yellow on white
- Many default themes FAIL contrast requirements

**Safe Combinations**:
- Black text on cream/off-white
- Dark navy on light gray
- White text on dark blue/black

### Font Requirements
| Element | Minimum Size |
|---------|--------------|
| Body text | **18pt minimum** |
| Projected presentations | **30pt+ for body** |
| Titles | **36pt+** |

**Recommended Fonts**: Arial, Calibri, Verdana, Helvetica, Aptos
**Avoid**: Decorative fonts, Script fonts, Thin weights

### Screen Reader Support
- Every slide MUST have a unique, descriptive title
- All images need alt text descriptions
- Define header rows for data tables
- Use Selection Pane to set logical reading order

### Critical Rule
> **Never use color/style as the ONLY way to convey meaning**
>
> ❌ Wrong: "The items in red are most important"
> ✅ Right: "The priority items (marked with ★) are most important"

### PowerPoint Accessibility Checker
**Location**: Review → Check Accessibility
**Catches**: Missing alt text, missing titles, low contrast, reading order issues
**Limitation**: Does not catch all WCAG issues—also do manual review

**Tools**:
- [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/)
- [Color Oracle](https://colororacle.org/) (colorblind simulator)

---

## CHART SELECTION GUIDE

### By Purpose

| Purpose | Chart Type | When to Use |
|---------|-----------|-------------|
| **Comparison** (few) | Horizontal Bar | Comparing values across categories |
| **Comparison** (many) | Sorted Bar | Ranking or distribution |
| **Comparison** (time) | Line Chart | Showing change/trend over time |
| **Composition** (static) | Stacked Bar 100% | Parts of whole at one point |
| **Composition** (time) | Stacked Area | Composition change over time |
| **Composition** (simple) | Big Number | Single percentage |
| **Distribution** | Histogram | Frequency distribution |
| **Relationship** (2 vars) | Scatter Plot | Correlation or clustering |
| **Relationship** (3 vars) | Bubble Chart | Adding third dimension (size) |

### Chart Rules

**Bar Charts**:
- ALWAYS start at zero
- Horizontal often more readable than vertical
- Sort by value unless categorical order matters
- Remove or lighten gridlines
- Label directly on bars when possible

**Line Charts**:
- Use for continuous data (time series)
- Don't need to start at zero
- Limit to 4-5 lines maximum
- Label lines directly, not in legend

**Pie Charts**:
- ⚠️ **AVOID in most cases**
- Hard to compare slice sizes
- Use horizontal bar chart instead

**Tables**:
- Use when audience needs exact values
- **Avoid in live presentations** (use for leave-behinds)
- Minimal borders (light gray or none)
- Align numbers right, text left
- Bold header row

### Data Labels
- Label directly when possible—avoid legends
- Add callout box highlighting the key insight
- ALWAYS cite data source and date

---

## CONSULTING VISUAL ELEMENTS

### Harvey Balls
Circular icons showing degree of completion/rating:
- ○ Empty: 0%
- ◔ Quarter: 25%
- ◑ Half: 50%
- ◕ Three-quarters: 75%
- ● Full: 100%

**Use for**: Feature comparisons, capability assessments

### Traffic Lights
| Color | Meaning |
|-------|---------|
| 🔴 Red | At risk, needs attention, not on track |
| 🟡 Yellow | Caution, some concerns, needs monitoring |
| 🟢 Green | On track, healthy, no issues |

**Accessibility Note**: Add shapes or labels for colorblind users

### Icons
**Best Practices**:
- Use consistent icon style throughout
- Keep simple—avoid detailed illustrations
- Size appropriately (not too small)
- Use from same icon family

**Sources**: Font Awesome, Material Icons, Noun Project, Flaticon, PowerPoint built-in

**Avoid**: Clipart, mixing icon styles, over-using icons

### Arrows & Connectors
- Straight: Direct relationship
- Curved: Flow/process
- Dotted: Optional/future

---

## MANDATORY QUALITY ASSURANCE PROCESS

**CRITICAL**: After generating ANY presentation, you MUST complete this QA process before delivery. This is non-negotiable for a world-class presentation expert.

---

### PHASE 1: Visual Inspection (Every Single Slide)

**For EACH slide, verify:**

1. **No Overlaps** - Text doesn't overlap other text, images, or edges
2. **No Clipping** - All content visible, nothing cut off at edges
3. **No Overflow** - Content fits within slide boundaries
4. **Proper Spacing** - Adequate margins (min 5% from edges)
5. **Readable Fonts** - Minimum 18px for body, 30px for titles
6. **Color Contrast** - Text clearly readable against background

**HTML-Specific Checks:**
- [ ] Open in browser and navigate through ALL slides
- [ ] Resize browser window - content should adapt
- [ ] Check both fullscreen (F key) and normal view
- [ ] Verify no horizontal scrollbars appear
- [ ] Test on 1920x1080 AND 1280x720 viewports

---

### PHASE 2: Layout Validation

**Grid/Column Layouts:**
- [ ] All grid items are equal height
- [ ] Gap spacing is consistent
- [ ] No column is significantly narrower than others
- [ ] Content within cards doesn't overflow

**Tables:**
- [ ] Headers visible and styled
- [ ] Rows don't extend beyond slide
- [ ] Text in cells isn't truncated
- [ ] Alternating row colors (if used) are subtle

**Flex Containers:**
- [ ] Items properly aligned (start, center, end)
- [ ] Spacing between items is consistent
- [ ] Containers don't collapse or expand unexpectedly

---

### PHASE 3: Typography Review

- [ ] Headings are clearly larger than body text
- [ ] Consistent font family throughout
- [ ] Line height allows for easy reading (1.4-1.6)
- [ ] No orphaned words (single word on a line)
- [ ] Numbers and data are properly formatted

---

### PHASE 4: Content Quality

**Keynote Mode:**
- [ ] 90%+ slides pass 3-second Glance Test
- [ ] Average under 15 words per slide
- [ ] 40%+ whitespace per slide
- [ ] STAR moment exists and is impactful
- [ ] Clear CTA at end
- [ ] Emotional arc is present

**Business Mode:**
- [ ] 100% action titles (complete sentences stating insights)
- [ ] Structure is MECE (Mutually Exclusive, Collectively Exhaustive)
- [ ] Recommendations explicit and upfront
- [ ] Can understand deck by reading titles alone
- [ ] All data has source citations
- [ ] Charts have insight callouts

---

### PHASE 5: Technical Validation

**HTML/Reveal.js:**
```
✓ Reveal.initialize() has correct settings:
  - width/height: 1280x720 or 1920x1080 (not both)
  - center: true (CRITICAL - enables proper vertical centering)
  - margin: 0.04 (small margin prevents edge clipping)
  - minScale/maxScale set appropriately

✓ CSS includes:
  - box-sizing: border-box on all elements
  - overflow: hidden on sections
  - flex or grid with min-height: 0
  - clamp() for responsive fonts
```

**Common Bugs to Check:**
1. **center:false** = Content misaligned, overlaps at bottom (ALWAYS use center:true)
2. **Fixed heights without overflow** = Content bleeds out
3. **Grid without min-height:0** = Grid items blow out container
4. **em/rem fonts** = Text cascades incorrectly (use pixels with clamp())
5. **Missing !important on flex** = Reveal.js theme overrides your rules

---

### PHASE 6: Accessibility Check

- [ ] Color contrast minimum 4.5:1 (use WebAIM checker)
- [ ] All images have alt text (if applicable)
- [ ] Logical reading order
- [ ] No color-only meaning (use icons/labels too)
- [ ] Minimum 18pt fonts for body text

---

### PHASE 7: Final Sign-Off

Before delivering, answer these questions:

1. **Would I present this to the CEO?** - If no, fix it
2. **Does every slide earn its place?** - Remove weak slides
3. **Is the flow logical and compelling?** - Reorder if needed
4. **Are there any embarrassing errors?** - Proofread everything
5. **Does it look as good as Apple/McKinsey/TED?** - If not, improve it

---

### QA Report Template

After completing QA, provide this summary:

```
## QA Report

**Slides Reviewed:** X
**Issues Found:** X
**Issues Fixed:** X

### Visual Check
- Overlaps: ✓ None found
- Clipping: ✓ All content visible
- Spacing: ✓ Proper margins

### Content Check
- Mode: [Keynote/Business]
- Avg words/slide: X
- Action titles: ✓ All complete sentences

### Technical Check
- Viewport: 1280x720
- Layout system: Flexbox with overflow control
- Font scaling: clamp() responsive

### Accessibility
- Contrast: ✓ Passes WCAG AA
- Font sizes: ✓ Minimum 18px body

**Final Status:** Ready for delivery / Needs fixes
```

---

### NEVER Skip QA

A "world-class presentation expert" NEVER delivers without:
1. Visually inspecting every slide
2. Testing the actual output (open the HTML)
3. Verifying no overlaps or clipping
4. Confirming the design is impressive, not just functional

**If you cannot visually test the output, explicitly tell the user to:**
1. Open the file in browser
2. Press F for fullscreen
3. Navigate through all slides
4. Report any visual issues for immediate fixes

---

## PERSUASION PSYCHOLOGY INTEGRATION

**CRITICAL**: Every presentation must be engaging and compelling, not just visually correct. Pull from RuVector knowledge base (`/Users/stuartkerr/Code/PresenterMode/ruvector/presentation-knowledge.yaml`) for complete psychology framework.

### Core Psychology Frameworks to Apply

#### 1. Cialdini's 6 Principles of Influence
Apply these throughout every presentation:

| Principle | How to Use | Example Language |
|-----------|-----------|------------------|
| **Reciprocity** | Give value before asking | "Here's an insight that might help you regardless..." |
| **Commitment** | Build on past statements | "Given your commitment to innovation, this aligns..." |
| **Social Proof** | Show others doing it | "87% of Fortune 500 companies have already..." |
| **Authority** | Cite experts | "McKinsey research confirms..." |
| **Liking** | Find common ground | "Like you, we've struggled with..." |
| **Scarcity** | Create urgency | "This window closes in Q2..." |

#### 2. Kahneman's System 1/System 2
- **System 1** (Fast, emotional): Hook with visuals, simplicity, first impressions
- **System 2** (Slow, rational): Validate with data, logic, evidence
- **Key**: Hook with System 1, validate with System 2

#### 3. Made to Stick (SUCCESs Framework)
Every presentation must be:
- **Simple**: Find the ONE core message
- **Unexpected**: Create curiosity gaps
- **Concrete**: Use specific numbers, not abstractions
- **Credible**: Cite sources, show proof
- **Emotional**: Make people care (individual stories > statistics)
- **Stories**: Tell narratives, not just facts

### Compelling Language Patterns

**Power Words to USE**:
- Urgency: "now", "today", "immediate", "critical"
- Exclusivity: "only", "exclusive", "limited", "select"
- Benefit: "you", "your", "gain", "save", "unlock", "discover"
- Proof: "proven", "guaranteed", "results", "evidence"
- Emotion: "imagine", "picture", "transform", "breakthrough"

**Weak Words to AVOID**:
- Vague: "stuff", "things", "very", "really"
- Hedging: "maybe", "perhaps", "might", "could possibly"
- Passive: "it was decided", "will be done"
- Filler: "basically", "actually", "literally"

### Action Title Formulas (Business Mode)
Transform topic titles into insight-driven action titles:

| Pattern | Formula | Example |
|---------|---------|---------|
| **Insight Reveal** | [Subject] shows that [finding] | "Q3 data reveals pricing is 23% below optimal" |
| **Recommendation** | [Action] will [result] by [mechanism] | "Expanding enterprise sales will drive 40% revenue growth" |
| **Contrast** | Despite [assumption], [reality] | "Despite cost concerns, premium pricing increases market share" |
| **Quantified** | [Metric] improved [%] through [approach] | "Conversion improved 47% through personalized onboarding" |

### Storytelling Structures

**Duarte Sparkline** (Keynote Mode):
1. What Is → 2. What Could Be → 3. What Is → 4. What Could Be → 5. STAR Moment → 6. New Bliss

**Pixar Formula** (Business Adaptation):
> "For years, [industry] has [status quo]. Every quarter, [routine challenges]. Recently, [disruption emerged]. Because of this, [implication 1]. Because of this, [implication 2]. Now, [recommendation]."

### Emotional Triggers to Leverage

| Trigger | When to Use | Language Pattern |
|---------|-------------|------------------|
| **FOMO** | Competitive situations | "While you evaluate, competitors are already..." |
| **Fear of Loss** | Risk discussions | "Current trajectory leads to [negative outcome]" |
| **Aspiration** | Vision slides | "Imagine [future state] where [benefit]" |
| **Pride** | Executive buy-in | "Position [company] as the first to..." |
| **Frustration Relief** | Pain point slides | "Finally eliminate [pain point]" |

### Aristotle's Rhetoric (Presentation Flow)

1. **Ethos** (Credibility) - Establish first
   - Credentials slide, relevant experience, client logos

2. **Pathos** (Emotion) - Build connection
   - STAR moments, customer stories, before/after contrasts

3. **Logos** (Logic) - Close with evidence
   - Data slides, ROI calculations, comparison tables

**Common Mistake**: Starting with Logos (data dump) before Ethos/Pathos

### Pre-Delivery Engagement Checklist

Before any presentation, verify:
- [ ] Hook in first 10 seconds (System 1 engagement)
- [ ] At least one story (not just data)
- [ ] Power words used, weak words removed
- [ ] Emotional appeal before logical appeal
- [ ] Social proof included (competitors, industry leaders)
- [ ] Clear urgency or scarcity (why act now)
- [ ] Action titles that tell the story (Business Mode)
- [ ] STAR moment that's memorable (Keynote Mode)

---

## DATA INTEGRITY & ANTI-HALLUCINATION PROTOCOL

**CRITICAL**: Every presentation must be 100% grounded in verifiable facts. Zero hallucinations. Complete confidence in every number, claim, and recommendation.

### The Iron Rules of Data Integrity

1. **NEVER invent statistics** - Every number must come from a verifiable source
2. **NEVER fabricate quotes** - Only use real quotes from real people
3. **NEVER create fake case studies** - Only reference actual companies and outcomes
4. **NEVER assume market data** - Always cite specific research
5. **NEVER round numbers without disclosure** - Show precision, note rounding
6. **IF DATA IS UNAVAILABLE** - Say so explicitly. Use "[Data needed]" placeholder

### Source Requirements by Data Type

| Data Type | Required Source | Example Citation |
|-----------|-----------------|------------------|
| **Market size** | Research firm (Gartner, IDC, McKinsey) | "Source: Gartner, 2024 Market Guide" |
| **Industry statistics** | Government, trade associations | "Source: Bureau of Labor Statistics, Q3 2024" |
| **Competitor data** | Public filings, press releases | "Source: [Company] 10-K FY2024" |
| **Financial projections** | Internal models with assumptions stated | "Source: Internal model, assumptions in Appendix" |
| **Customer quotes** | Actual interviews/surveys | "Source: Customer interview, Nov 2024" |
| **Technical claims** | Vendor docs, independent testing | "Source: [Vendor] technical documentation" |
| **Trends/forecasts** | Analyst reports with date | "Source: Forrester Wave Report, Dec 2024" |

### Citation Format Standards

**On-Slide Format** (Bottom of slide):
```
Source: [Organization], "[Report Name]", [Date]. [Page/Section if applicable]
```

**Examples**:
- `Source: McKinsey Global Institute, "The Future of Work", 2024. p.47`
- `Source: Company internal analysis based on Q3 2024 financials`
- `Source: Customer interviews (n=45), September-October 2024`
- `Source: Gartner Magic Quadrant for [Category], November 2024`

### Assumption Disclosure Rules

When using projections or estimates:

1. **State the assumption explicitly**
   - "Assumes 15% annual growth (industry average)"
   - "Based on current pricing model held constant"

2. **Show sensitivity ranges**
   - "Range: $4.2M (conservative) to $7.8M (optimistic)"
   - "Base case assumes 85% retention; see Appendix for scenarios"

3. **Flag uncertainty levels**
   - 🟢 **High confidence**: Audited data, verified metrics
   - 🟡 **Medium confidence**: Reasonable estimates, industry benchmarks
   - 🔴 **Low confidence**: Projections, assumptions, early data

### Placeholder Protocol

When source data is not yet available, use these placeholders:

```
[DATA NEEDED: Market size for XYZ segment - source: Gartner/IDC]
[VERIFY: Customer quote needs approval from [Name]]
[PENDING: Q4 numbers to be updated post-close]
[ASSUMPTION: 20% growth rate - validate with finance]
```

**NEVER** ship a presentation with unresolved placeholders. Each must be:
- Filled with verified data, OR
- Explicitly disclosed as an assumption, OR
- Removed from the presentation

---

## SOURCE DOCUMENTATION REQUIREMENTS

Every presentation MUST include complete source documentation in one of these formats:

### Option 1: Speaker Notes (PowerPoint)

Each slide's Notes section must contain:

```
SOURCES FOR THIS SLIDE:
- [Claim 1]: [Full citation with URL/document reference]
- [Claim 2]: [Full citation with URL/document reference]
- [Chart data]: [Source, date, methodology]

ASSUMPTIONS:
- [Any assumptions made and their basis]

LAST VERIFIED: [Date]
```

### Option 2: Source Appendix Slide (HTML/Reveal.js)

Add a final "Sources & Methodology" section:

```html
<section class="business">
  <h2>Sources & Methodology</h2>
  <div class="content">
    <table>
      <tr><th>Slide</th><th>Claim</th><th>Source</th><th>Date</th></tr>
      <tr><td>3</td><td>Market size $4.7B</td><td>Gartner Market Guide</td><td>Nov 2024</td></tr>
      <tr><td>5</td><td>73% adoption rate</td><td>Internal survey (n=500)</td><td>Oct 2024</td></tr>
      <tr><td>8</td><td>ROI calculation</td><td>See methodology appendix</td><td>-</td></tr>
    </table>
  </div>
  <p class="source">Full source documentation available upon request</p>
</section>
```

### Option 3: Companion Handout Document

Create a separate source document with:

```markdown
# [Presentation Title] - Source Documentation

## Executive Summary Sources
| Claim | Source | Verification Status |
|-------|--------|---------------------|
| ... | ... | ✓ Verified |

## Methodology Notes
- Financial projections use [model name] with assumptions...
- Market data aggregated from [sources]...
- Customer quotes sourced from [interviews/surveys]...

## Data Freshness
- Market data: As of [date]
- Financial data: Through [quarter]
- Competitive data: Last updated [date]

## Assumptions Register
| Assumption | Basis | Sensitivity Impact |
|------------|-------|-------------------|
| 15% growth | Industry avg | ±$500K on final NPV |
| 85% retention | Historical | ±$300K on Year 3 revenue |
```

### HTML Source Appendix Template

```html
<!-- Add before closing </div> of slides -->
<section class="business" id="sources">
  <h2>Sources & Data Integrity</h2>
  <div class="scr-container">
    <div class="scr-column">
      <h4>Primary Sources</h4>
      <ul>
        <li>Gartner Market Guide, 2024</li>
        <li>Company 10-K filings</li>
        <li>Internal customer research</li>
      </ul>
    </div>
    <div class="scr-column">
      <h4>Methodology</h4>
      <ul>
        <li>Financial model: DCF with 10% WACC</li>
        <li>Market sizing: TAM/SAM/SOM</li>
        <li>Survey: n=500, margin ±4%</li>
      </ul>
    </div>
    <div class="scr-column">
      <h4>Assumptions</h4>
      <ul>
        <li>Growth: 15% YoY (industry avg)</li>
        <li>Retention: 85% (historical)</li>
        <li>Pricing: Held constant</li>
      </ul>
    </div>
  </div>
  <div class="callout">
    All data verified as of [DATE]. Full source documentation available upon request.
  </div>
</section>
```

---

## VERIFICATION CHECKLIST (Mandatory Before Delivery)

**Run this checklist on EVERY presentation before delivery:**

### Fact Verification
- [ ] Every statistic has a cited source
- [ ] All sources are from the last 24 months (or flagged as older)
- [ ] Market data verified against primary source (not just remembered)
- [ ] Competitor information from public sources only
- [ ] No invented case studies or examples
- [ ] Customer quotes verified and approved

### Number Accuracy
- [ ] All calculations double-checked
- [ ] Percentages add up correctly
- [ ] Charts match underlying data
- [ ] Currency and units consistent
- [ ] Rounding disclosed where applied
- [ ] No "approximately" without range

### Assumption Transparency
- [ ] All assumptions explicitly stated
- [ ] Sensitivity analysis included for key assumptions
- [ ] Confidence levels indicated
- [ ] Methodology explained or referenced
- [ ] Data freshness dates included

### Source Documentation
- [ ] Speaker notes contain full citations (PPTX)
- [ ] Source appendix slide included (HTML)
- [ ] Handout document prepared (if required)
- [ ] "Available upon request" documentation ready

### Red Flags to Catch
- [ ] No round numbers without source (e.g., "about $5M")
- [ ] No vague timeframes ("recently", "soon")
- [ ] No unattributed quotes
- [ ] No industry "common knowledge" without citation
- [ ] No projections without assumptions stated

---

## CONFIDENCE INDICATORS

Use these visual indicators to communicate data quality:

### On Charts/Data Slides

| Indicator | Meaning | Use When |
|-----------|---------|----------|
| ✓ **Verified** | Audited or confirmed data | Public filings, official reports |
| ◐ **Estimated** | Reasonable calculation | Industry benchmarks applied |
| ⚠ **Projected** | Forward-looking | Forecasts, models |
| ? **Unverified** | Needs confirmation | Early data, third-hand sources |

### In Narrative

- **"According to [Source]..."** - External authority
- **"Our analysis indicates..."** - Internal work, show methodology
- **"Industry benchmarks suggest..."** - Proxy data, flag assumptions
- **"Preliminary data shows..."** - Early/incomplete, will be updated

### What NOT to Say

| Don't Say | Say Instead |
|-----------|-------------|
| "Studies show..." | "According to [specific study]..." |
| "Everyone knows..." | "[Cite specific evidence]" |
| "Approximately $5M" | "$4.8M (Source: X)" or "$4.5-5.5M range" |
| "The market is growing" | "Market growing 12% CAGR (Gartner, 2024)" |
| "Customers love it" | "NPS of 72 (n=500, Q3 2024)" |

---

## RESOURCES

### McKinsey/BCG Examples
- [600+ Real Consulting Presentations](https://www.theanalystacademy.com/consulting-presentations/)
- [47 Real McKinsey Presentations](https://slideworks.io/resources/47-real-mckinsey-presentations)
- [BCG Presentation Examples](https://plusai.com/blog/bcg-presentation-examples)

### YouTube Channels
- [Analyst Academy](https://youtube.com/@AnalystAcademy) - Consulting slides
- [PowerPoint School](https://youtube.com/@PowerPointSchool) (910K subs) - Tutorials
- [One Skill PowerPoint](https://youtube.com/@OneSkillPowerPoint) - Modern techniques
- [Slide Cow](https://youtube.com/@SlideCow) - Creative design
- [Storytelling with Data](https://storytellingwithdata.com/) - Data viz

### Books
**Presentation Design**:
- Slide:ology - Nancy Duarte
- Resonate - Nancy Duarte
- The Pyramid Principle - Barbara Minto
- Presentation Zen - Garr Reynolds
- Talk Like TED - Carmine Gallo

**Data Visualization**:
- Good Charts - Scott Berinato (HBR)
- Storytelling with Data - Cole Nussbaumer Knaflic
- The Visual Display of Quantitative Information - Edward Tufte

### Accessibility Tools
- [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/)
- [Color Oracle](https://colororacle.org/) (colorblind simulator)
- PowerPoint: Review → Check Accessibility

---

## 🎨 AI IMAGE GENERATION (NanoBanana / Google Gemini)

### Overview
This skill supports **optional** AI-generated images using Google's Gemini 2.5 Flash Image model (codenamed "NanoBanana"). Images are generated via the user's own API key—**no cost to skill author**.

### Pricing (User Pays)
| Model | Resolution | Cost/Image | Notes |
|-------|------------|------------|-------|
| Gemini 2.5 Flash Image | 1024x1024 | ~$0.04 | Standard quality |
| Gemini 2.5 Flash Image | 1536x1536 | ~$0.06 | High quality |
| Nano Banana Pro (3.0) | 4K | ~$0.12 | Premium, text rendering |

**Typical presentation**: 10-15 slides × $0.04 = **$0.40-$0.60 total**

### API Key Setup

**Step 1: Check for existing key**
```bash
# Check environment variables
echo $GOOGLE_GEMINI_API_KEY
echo $GOOGLE_API_KEY

# Check .env file
cat .env | grep -i GOOGLE

# Check shell config
grep -i "GOOGLE.*API" ~/.zshrc ~/.bashrc 2>/dev/null
```

**Step 2: If no key found, provide instructions**
```
To generate AI images for your presentation:

1. Go to: https://aistudio.google.com/apikey
2. Sign in with your Google account
3. Click "Create API Key"
4. Copy the key (starts with "AIza...")
5. Add to your .env file:

   GOOGLE_GEMINI_API_KEY=AIza...your-key-here...

6. Or set as environment variable:

   export GOOGLE_GEMINI_API_KEY="AIza...your-key-here..."
```

**Step 3: Create .env file if needed**
```bash
# Create .env with the API key
echo "GOOGLE_GEMINI_API_KEY=your-key-here" > .env
```

### Image Generation Prompts

**For Keynote/TED-style slides** (dramatic, emotional):
```
Professional presentation slide background, [SUBJECT],
cinematic lighting, high contrast, dramatic shadows,
ultra-wide aspect ratio 16:9, corporate premium aesthetic,
no text, no watermarks, 4K quality
```

**For Business/Consulting slides** (clean, professional):
```
Clean professional business illustration of [SUBJECT],
flat design, corporate color palette, minimalist,
isometric perspective, white background,
no text, no watermarks, presentation-ready
```

**For Data visualization backgrounds**:
```
Abstract data visualization background,
flowing lines representing [DATA TYPE],
dark background with accent color highlights,
futuristic corporate aesthetic, no text
```

### Image Generation Code (JavaScript/Node.js)

```javascript
// Using Google Generative AI SDK
const { GoogleGenerativeAI } = require("@google/generative-ai");

async function generatePresentationImage(prompt, apiKey) {
  const genAI = new GoogleGenerativeAI(apiKey);

  // Use Gemini 2.5 Flash for image generation
  const model = genAI.getGenerativeModel({
    model: "gemini-2.5-flash-preview-05-20",
    generationConfig: {
      responseModalities: ["image", "text"],
    }
  });

  const enhancedPrompt = `
    Professional presentation slide image. ${prompt}
    Style: High-end corporate, premium aesthetic.
    Requirements: 16:9 aspect ratio, no text overlays, no watermarks.
    Quality: 4K, crisp, clean edges.
  `;

  const result = await model.generateContent(enhancedPrompt);
  const response = await result.response;

  // Extract image data
  const imagePart = response.candidates[0].content.parts.find(
    part => part.inlineData
  );

  if (imagePart) {
    const imageData = imagePart.inlineData.data; // Base64
    const mimeType = imagePart.inlineData.mimeType;
    return { imageData, mimeType };
  }

  return null;
}

// Usage in presentation generation
async function addImagesToPresentation(slides, apiKey) {
  for (const slide of slides) {
    if (slide.needsImage) {
      const image = await generatePresentationImage(slide.imagePrompt, apiKey);
      if (image) {
        slide.backgroundImage = `data:${image.mimeType};base64,${image.imageData}`;
      }
    }
  }
  return slides;
}
```

### Image Integration in HTML Presentations

```html
<!-- Slide with AI-generated background -->
<section data-background-image="data:image/png;base64,{{GENERATED_IMAGE_BASE64}}"
         data-background-opacity="0.3">
  <h2>Your Title Here</h2>
  <p>Content overlaid on AI-generated background</p>
</section>

<!-- Slide with inline image -->
<section>
  <div class="grid-2">
    <div>
      <h3>Key Points</h3>
      <ul>
        <li>Point one</li>
        <li>Point two</li>
      </ul>
    </div>
    <div class="image-container">
      <img src="data:image/png;base64,{{GENERATED_IMAGE_BASE64}}"
           alt="AI-generated illustration"
           style="max-width: 100%; max-height: 400px; border-radius: 8px;">
    </div>
  </div>
</section>
```

### When to Generate Images

| Slide Type | Generate Image? | Prompt Focus |
|------------|-----------------|--------------|
| Title slide | ✅ Yes | Brand/theme backdrop |
| Agenda | ❌ No | Text-focused |
| Key insight | ✅ Yes | Metaphor/concept illustration |
| Data chart | ❌ No | Use actual chart |
| Process flow | ⚠️ Maybe | Abstract representation |
| Team slide | ❌ No | Use real photos |
| Case study | ✅ Yes | Scenario illustration |
| Call to action | ✅ Yes | Motivational/aspirational |
| Thank you | ✅ Yes | Warm, professional closing |

### Image Generation Workflow

```
1. IDENTIFY slides that benefit from images (see table above)
2. CHECK for API key availability
3. IF no key: ASK user if they want to add one
4. IF key available:
   a. ESTIMATE total cost (slides × $0.04)
   b. CONFIRM with user before proceeding
   c. GENERATE images sequentially (rate limits)
   d. EMBED as base64 in HTML or save as files for PPTX
5. IF generation fails: Use CSS gradients as fallback
```

### Fallback: CSS Gradient Backgrounds (No API Key)

When no API key is available, use premium CSS gradients:

```css
/* Dark executive gradient */
.slide-bg-executive {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Modern tech gradient */
.slide-bg-tech {
  background: linear-gradient(120deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* Warm professional gradient */
.slide-bg-warm {
  background: linear-gradient(135deg, #2c3e50 0%, #3d566e 50%, #4a6fa5 100%);
}

/* Accent highlight gradient */
.slide-bg-accent {
  background: linear-gradient(135deg, #0f3460 0%, #1a5f7a 50%, #159895 100%);
}
```

### Error Handling

```javascript
async function safeGenerateImage(prompt, apiKey) {
  try {
    const image = await generatePresentationImage(prompt, apiKey);
    return image;
  } catch (error) {
    if (error.message.includes('RATE_LIMIT')) {
      console.log('Rate limited, waiting 60 seconds...');
      await new Promise(r => setTimeout(r, 60000));
      return safeGenerateImage(prompt, apiKey); // Retry
    }
    if (error.message.includes('INVALID_API_KEY')) {
      throw new Error('Invalid Google Gemini API key. Please check your .env file.');
    }
    console.warn('Image generation failed, using CSS fallback:', error.message);
    return null; // Will use CSS gradient fallback
  }
}
```

---

## OUTPUT FORMAT OPTIONS

### Step 0: Ask About Output Format
**IMPORTANT**: Before starting, ask: "Do you want **HTML** (web-based) or **PowerPoint** (downloadable PPTX)?"

---

### Option 1: HTML PRESENTATION

**Best For**: Tech audiences, web sharing, conferences, interactive demos, portfolio sites

**Frameworks Available**:
| Framework | Best For | Features |
|-----------|----------|----------|
| **Reveal.js** | Most use cases | 67K+ GitHub stars, nested slides, PDF export |
| **Marp** | Markdown lovers | Write in Markdown, export to HTML/PDF/PPTX |
| **Slidev** | Vue developers | Markdown + Vue, Mermaid diagrams, recording |
| **Spectacle** | React developers | JSX syntax, component-based |

**Reveal.js Keyboard Shortcuts**:
- Arrow keys: Navigate
- `F`: Fullscreen
- `ESC` or `O`: Overview
- `S`: Speaker notes
- `B`: Blackout screen

---

## CRITICAL: HTML Layout Rules (Prevents Overlap)

1. **Use `display: flex` with `height: 100%`** - Never let content overflow
2. **Set `overflow: hidden`** on sections - Clip overflowing content
3. **Use viewport units (`vh`, `vw`)** - Not fixed pixel heights
4. **Scale fonts with `clamp()`** - Responsive sizing
5. **Always set `box-sizing: border-box`** - Include padding in dimensions
6. **Limit grid items** - Max 4 columns, ensure they fit

---

## REVEAL.JS MASTER TEMPLATE (Premium Dark Theme) - TESTED & VERIFIED

**CRITICAL**: This template has been tested and verified to work correctly. DO NOT modify these CSS rules without testing.

**MANDATORY SETTINGS**:
- `center: true` (NOT false - this is critical for vertical centering)
- `margin: 0.04` (small margin prevents edge clipping)
- All font sizes in PIXELS with clamp() for responsiveness
- `!important` on display/flex properties to override Reveal.js defaults
- `min-height: 0` on ALL flex children to enable shrinking
- Tables wrapped in `.table-container` with `overflow-y: auto`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Presentation Title</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js@4.6.0/dist/reveal.css">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js@4.6.0/dist/theme/black.css">
  <style>
    /* ================================================ */
    /* RESET - CRITICAL FOR PREVENTING OVERFLOW         */
    /* ================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #0F172A;
      --surface: #1E293B;
      --primary: #F8FAFC;
      --secondary: #94A3B8;
      --accent: #F59E0B;
      --accent-blue: #3B82F6;
      --success: #10B981;
      --danger: #EF4444;
    }

    /* ================================================ */
    /* REVEAL.JS OVERRIDES - USE !important             */
    /* ================================================ */
    .reveal {
      background: linear-gradient(135deg, var(--bg) 0%, #1E1B4B 50%, var(--bg) 100%);
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    .reveal .slides {
      width: 100% !important;
      height: 100% !important;
    }

    /* CRITICAL: Force all sections to be constrained */
    .reveal .slides section {
      width: 100% !important;
      height: 100% !important;
      max-height: 100% !important;
      padding: 40px 60px;
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
    }

    /* ================================================ */
    /* TYPOGRAPHY - FIXED PIXELS WITH CLAMP             */
    /* ================================================ */
    .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5 {
      color: var(--primary);
      text-transform: none;
      letter-spacing: -0.02em;
      font-weight: 700;
      line-height: 1.2;
      margin: 0;
      flex-shrink: 0;
    }

    .reveal p, .reveal li {
      color: var(--secondary);
      line-height: 1.4;
    }

    /* ================================================ */
    /* KEYNOTE MODE - CENTERED IMPACT SLIDES            */
    /* ================================================ */
    .reveal section.keynote {
      justify-content: center !important;
      align-items: center !important;
      text-align: center;
    }

    .reveal section.keynote h1 {
      font-size: clamp(32px, 5vw, 56px);
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
    }

    .reveal section.keynote h2 {
      font-size: clamp(24px, 3.5vw, 40px);
      margin-bottom: 12px;
    }

    .reveal section.keynote p {
      font-size: clamp(14px, 1.8vw, 20px);
      max-width: 80%;
    }

    .reveal .big-number {
      font-size: clamp(80px, 15vw, 160px);
      font-weight: 900;
      background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin: 16px 0;
    }

    .reveal .big-number-context {
      font-size: clamp(14px, 2vw, 22px);
      color: var(--secondary);
    }

    /* ================================================ */
    /* BUSINESS MODE - LEFT-ALIGNED CONTENT             */
    /* ================================================ */
    .reveal section.business {
      text-align: left;
      justify-content: flex-start !important;
      align-items: stretch !important;
    }

    .reveal section.business h2 {
      font-size: clamp(14px, 1.6vw, 18px);
      border-bottom: 3px solid var(--accent);
      padding-bottom: 12px;
      margin-bottom: 16px;
      flex-shrink: 0;
      line-height: 1.3;
    }

    /* CRITICAL: Content container fills remaining space */
    .reveal section.business .content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 0;  /* CRITICAL: Allows shrinking */
      overflow: hidden;
    }

    /* ================================================ */
    /* GRID LAYOUTS - WITH min-height: 0               */
    /* ================================================ */
    .reveal .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .reveal .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .reveal .grid-4 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    /* Use .fixed class for grids that should NOT flex */
    .reveal .grid-2.fixed,
    .reveal .grid-3.fixed,
    .reveal .grid-4.fixed {
      flex: none;
    }

    /* ================================================ */
    /* SCR LAYOUT (Situation-Complication-Resolution)   */
    /* ================================================ */
    .reveal .scr-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .reveal .scr-column {
      background: var(--surface);
      border-radius: 8px;
      padding: 16px;
      border-top: 3px solid var(--accent);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .reveal .scr-column h4 {
      font-size: 11px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 12px;
      flex-shrink: 0;
    }

    .reveal .scr-column ul {
      margin: 0;
      padding-left: 16px;
      overflow-y: auto;
      flex: 1;
      min-height: 0;
    }

    .reveal .scr-column li {
      font-size: 12px;
      margin-bottom: 6px;
      color: var(--primary);
    }

    /* ================================================ */
    /* CARDS                                            */
    /* ================================================ */
    .reveal .card {
      background: var(--surface);
      border-radius: 8px;
      padding: 14px;
      border-top: 3px solid var(--accent);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-height: 0;
    }

    .reveal .card.optimal {
      border-top-color: var(--success);
      background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--surface) 100%);
    }

    .reveal .card h4 {
      font-size: 12px;
      color: var(--primary);
      margin-bottom: 6px;
      flex-shrink: 0;
    }

    .reveal .card .number {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }

    .reveal .card p,
    .reveal .card .desc {
      font-size: 11px;
      color: var(--secondary);
      margin-top: 4px;
    }

    .reveal .card ul {
      font-size: 11px;
      padding-left: 14px;
      margin: 0;
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    /* ================================================ */
    /* METRICS ROW - FIXED HEIGHT                       */
    /* ================================================ */
    .reveal .metric {
      background: var(--surface);
      border-radius: 8px;
      padding: 12px 16px;
      text-align: center;
      flex: 1;
    }

    .reveal .metric-value {
      font-size: clamp(20px, 3vw, 28px);
      font-weight: 800;
      color: var(--accent);
    }

    .reveal .metric-label {
      font-size: 10px;
      color: var(--secondary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 4px;
    }

    /* ================================================ */
    /* TABLES - WRAP IN .table-container                */
    /* ================================================ */
    .reveal .table-container {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
    }

    .reveal table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 11px;
    }

    .reveal th {
      background: var(--surface);
      color: var(--primary);
      padding: 8px 10px;
      text-align: left;
      font-weight: 600;
      border-bottom: 2px solid var(--accent);
      position: sticky;
      top: 0;
    }

    .reveal td {
      padding: 6px 10px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      color: var(--primary);
    }

    .reveal tr.highlight td {
      background: rgba(16, 185, 129, 0.15);
      font-weight: 600;
    }

    /* ================================================ */
    /* CALLOUTS - FIXED HEIGHT                          */
    /* ================================================ */
    .reveal .callout {
      background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
      color: white;
      padding: 12px 16px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 13px;
      text-align: center;
      flex-shrink: 0;
    }

    .reveal .callout.success {
      background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    }

    /* ================================================ */
    /* SOURCE FOOTER - ALWAYS AT BOTTOM                 */
    /* ================================================ */
    .reveal .source {
      font-size: 9px;
      color: var(--secondary);
      margin-top: auto;
      padding-top: 8px;
      flex-shrink: 0;
    }

    /* ================================================ */
    /* TIMELINE                                         */
    /* ================================================ */
    .reveal .timeline-row {
      display: flex;
      gap: 10px;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    .reveal .timeline-item {
      flex: 1;
      background: var(--surface);
      border-radius: 8px;
      padding: 12px;
      border-left: 3px solid var(--accent);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-width: 0;
    }

    .reveal .timeline-item h5 {
      font-size: 10px;
      color: var(--accent);
      margin-bottom: 4px;
      flex-shrink: 0;
    }

    .reveal .timeline-item .phase {
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 6px;
      flex-shrink: 0;
    }

    .reveal .timeline-item ul {
      font-size: 10px;
      color: var(--secondary);
      margin: 0;
      padding-left: 14px;
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    /* ================================================ */
    /* DECISION PATH                                    */
    /* ================================================ */
    .reveal .decision-path {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      flex-shrink: 0;
      padding: 8px 0;
    }

    .reveal .path-node {
      background: var(--surface);
      border-radius: 6px;
      padding: 8px 10px;
      text-align: center;
      border-top: 2px solid var(--success);
      flex: 1;
      min-width: 0;
    }

    .reveal .path-node .step {
      font-size: 9px;
      color: var(--secondary);
      text-transform: uppercase;
    }

    .reveal .path-node .choice {
      font-size: 11px;
      font-weight: 700;
      color: var(--accent);
    }

    .reveal .path-arrow {
      color: var(--success);
      font-size: 14px;
      flex-shrink: 0;
    }

    /* ================================================ */
    /* PRICING CARDS                                    */
    /* ================================================ */
    .reveal .pricing-card {
      background: var(--surface);
      border-radius: 8px;
      padding: 14px;
      text-align: center;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .reveal .pricing-card.featured {
      border: 2px solid var(--success);
      background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--surface) 100%);
    }

    .reveal .pricing-card .tier-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
    }

    .reveal .pricing-card .price {
      font-size: clamp(28px, 5vw, 40px);
      font-weight: 800;
      color: var(--accent);
      margin: 8px 0;
    }

    .reveal .pricing-card .price span {
      font-size: 12px;
      color: var(--secondary);
    }

    .reveal .pricing-card ul {
      text-align: left;
      font-size: 10px;
      color: var(--secondary);
      margin: 8px 0 0 0;
      padding-left: 14px;
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    /* ================================================ */
    /* AFFILIATE CARDS                                  */
    /* ================================================ */
    .reveal .affiliate-card {
      background: var(--surface);
      border-radius: 8px;
      padding: 14px;
      text-align: center;
    }

    .reveal .affiliate-card .tier {
      font-size: 11px;
      color: var(--secondary);
    }

    .reveal .affiliate-card .rate {
      font-size: clamp(28px, 5vw, 40px);
      font-weight: 800;
      color: var(--success);
      margin: 4px 0;
    }

    .reveal .affiliate-card .qualify {
      font-size: 10px;
      color: var(--secondary);
    }

    /* ================================================ */
    /* INFLUENCER LIST                                  */
    /* ================================================ */
    .reveal .influencer-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--surface);
      border-radius: 6px;
      padding: 8px 12px;
      margin-bottom: 8px;
    }

    .reveal .influencer-item .rank {
      width: 24px;
      height: 24px;
      background: linear-gradient(135deg, #E31837, var(--accent));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 11px;
      flex-shrink: 0;
      color: white;
    }

    .reveal .influencer-item .name {
      font-weight: 600;
      font-size: 12px;
      color: var(--primary);
    }

    .reveal .influencer-item .reach {
      margin-left: auto;
      font-size: 11px;
      color: var(--accent);
      font-weight: 600;
    }

    /* ================================================ */
    /* UTILITY CLASSES                                  */
    /* ================================================ */
    .check { color: var(--success); }
    .cross { color: var(--danger); }
    .highlight-text { color: var(--accent); font-weight: 700; }

    /* ================================================ */
    /* SCROLLBAR STYLING                                */
    /* ================================================ */
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
    ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
  </style>
</head>
<body>
  <div class="reveal">
    <div class="slides">

      <!-- KEYNOTE: Title -->
      <section class="keynote">
        <h1>Presentation Title</h1>
        <p>Subtitle goes here</p>
      </section>

      <!-- KEYNOTE: Big Number -->
      <section class="keynote">
        <p class="big-number-context">The market opportunity is</p>
        <p class="big-number">$580M</p>
        <p class="big-number-context">with zero AI-enabled competitors</p>
      </section>

      <!-- BUSINESS: Executive Summary (SCR) -->
      <section class="business">
        <h2>Key insight statement as the action title goes here</h2>
        <div class="content">
          <div class="scr-container">
            <div class="scr-column">
              <h4>Situation</h4>
              <ul>
                <li>Context point one</li>
                <li>Context point two</li>
                <li>Background information</li>
              </ul>
            </div>
            <div class="scr-column">
              <h4>Complication</h4>
              <ul>
                <li>Challenge one</li>
                <li>Challenge two</li>
                <li>Key implications</li>
              </ul>
            </div>
            <div class="scr-column">
              <h4>Resolution</h4>
              <ul>
                <li>Recommendation</li>
                <li>Key actions</li>
                <li>Expected impact</li>
              </ul>
            </div>
          </div>
        </div>
        <p class="source">Source: Internal analysis, 2024</p>
      </section>

      <!-- BUSINESS: Metrics with Grid -->
      <section class="business">
        <h2>Four key metrics define success</h2>
        <div class="content">
          <div class="grid-4 fixed">
            <div class="metric">
              <div class="metric-value">$5.7M</div>
              <div class="metric-label">Target ARR</div>
            </div>
            <div class="metric">
              <div class="metric-value">500K</div>
              <div class="metric-label">Users</div>
            </div>
            <div class="metric">
              <div class="metric-value">$0</div>
              <div class="metric-label">CAC</div>
            </div>
            <div class="metric">
              <div class="metric-value">85%</div>
              <div class="metric-label">Success Rate</div>
            </div>
          </div>
          <div class="callout">
            Key insight: Even pessimistic scenario achieves $4.2M ARR
          </div>
          <div class="grid-4">
            <div class="card">
              <h4>Data Points</h4>
              <div class="number">2,847</div>
              <p class="desc">Total analyzed</p>
            </div>
            <div class="card">
              <h4>Influencers</h4>
              <div class="number">361</div>
              <p class="desc">Mapped</p>
            </div>
            <div class="card">
              <h4>LUGs</h4>
              <div class="number">82+</div>
              <p class="desc">Contacts</p>
            </div>
            <div class="card">
              <h4>Decisions</h4>
              <div class="number">7</div>
              <p class="desc">Simulated</p>
            </div>
          </div>
        </div>
        <p class="source">Source: Monte Carlo simulation, n=1,000</p>
      </section>

      <!-- BUSINESS: Table with scroll -->
      <section class="business">
        <h2>Detailed analysis with scrollable table</h2>
        <div class="content">
          <div class="table-container">
            <table>
              <tr>
                <th>Decision</th>
                <th>Choice</th>
                <th>Rate</th>
                <th>Rationale</th>
              </tr>
              <tr class="highlight">
                <td>Market Entry</td>
                <td><strong>US-First</strong></td>
                <td><span class="check">87%</span></td>
                <td>45% of AFOLs are North American</td>
              </tr>
              <tr>
                <td>Channel</td>
                <td><strong>YouTube</strong></td>
                <td><span class="check">3.2%</span></td>
                <td>5.6M combined reach</td>
              </tr>
              <tr>
                <td>Pricing</td>
                <td><strong>$9/mo</strong></td>
                <td><span class="check">3.8%</span></td>
                <td>Below $10 barrier</td>
              </tr>
            </table>
          </div>
          <div class="callout success">
            Key insight: All decisions validated through simulation
          </div>
        </div>
        <p class="source">Source: Decision Tree Simulation, December 2025</p>
      </section>

    </div>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/reveal.js@4.6.0/dist/reveal.js"></script>
  <script>
    /* ================================================ */
    /* CRITICAL REVEAL.JS SETTINGS - DO NOT CHANGE      */
    /* ================================================ */
    Reveal.initialize({
      hash: true,
      transition: 'fade',
      transitionSpeed: 'default',
      controls: true,
      progress: true,
      center: true,       // MUST BE TRUE - enables vertical centering
      width: 1280,
      height: 720,
      margin: 0.04,       // Small margin prevents edge clipping
      minScale: 0.2,
      maxScale: 2.0
    });
  </script>
</body>
</html>
```

**CRITICAL FIXES IN THIS TEMPLATE:**

1. **`center: true`** (NOT false) - Required for proper vertical centering
2. **`margin: 0.04`** - Small margin prevents edge clipping
3. **`!important` on display/flex** - Overrides Reveal.js theme defaults
4. **`min-height: 0`** on ALL flex children - Allows shrinking
5. **Fixed pixel font sizes** with clamp() - No relative em/rem cascading issues
6. **`.table-container`** wrapper - Tables scroll instead of overflow
7. **`.grid-X.fixed`** class - For grids that shouldn't flex
8. **`max-height: 100% !important`** on sections - Prevents overflow

**WHY PREVIOUS VERSION BROKE:**
- `center: false` caused vertical alignment issues
- No `!important` meant Reveal.js overrode our flex rules
- Relative font sizes (em) cascaded incorrectly
- No `min-height: 0` prevented flex children from shrinking
- Tables not wrapped, expanded beyond container

**PDF Export from HTML**:
- Add `?print-pdf` to URL, then print to PDF
- Example: `file:///path/to/presentation.html?print-pdf`
- Use Chrome for best results

---

### Option 2: POWERPOINT (PPTX)

**Best For**: Corporate clients, board presentations, consulting deliverables, investment banking, offline presenting

**Programmatic Generation with PptxGenJS**:
```bash
npm install pptxgenjs
```

```javascript
import PptxGenJS from 'pptxgenjs';

// Create presentation
const pptx = new PptxGenJS();
pptx.author = 'Your Name';
pptx.title = 'Presentation Title';

// Theme colors
const theme = {
  background: 'F5F5F4',
  primary: '1E3A5F',
  accent: 'D97706',
  text: '1F2937'
};

// Title slide
const slide1 = pptx.addSlide();
slide1.bkgd = theme.background;
slide1.addText('Presentation Title', {
  x: '10%', y: '35%', w: '80%', h: '20%',
  fontSize: 54, bold: true, align: 'center',
  color: theme.primary
});
slide1.addText('Subtitle goes here', {
  x: '10%', y: '55%', w: '80%', h: '10%',
  fontSize: 28, align: 'center',
  color: theme.text
});

// Content slide with action title (Business Mode)
const slide2 = pptx.addSlide();
slide2.bkgd = theme.background;
slide2.addText('Revenue growth requires 3 strategic initiatives', {
  x: 0.5, y: 0.3, w: 9, h: 0.8,
  fontSize: 20, bold: true, align: 'left',
  color: theme.primary
});
// Accent line
slide2.addShape('rect', {
  x: 0.5, y: 1.0, w: 9, h: 0.03,
  fill: { color: theme.accent }
});
// Content
slide2.addText([
  { text: '• Initiative 1: Expand enterprise sales', options: { bullet: false } },
  { text: '• Initiative 2: Optimize pricing strategy', options: { bullet: false } },
  { text: '• Initiative 3: Enter new markets', options: { bullet: false } }
], {
  x: 0.5, y: 1.5, w: 9, h: 3,
  fontSize: 16, color: theme.text
});
// Source
slide2.addText('Source: Internal analysis, 2024', {
  x: 0.5, y: 5.2, w: 9, h: 0.3,
  fontSize: 8, color: '64748B'
});

// Big number slide (Keynote Mode)
const slide3 = pptx.addSlide();
slide3.bkgd = theme.background;
slide3.addText('73%', {
  x: '10%', y: '25%', w: '80%', h: '35%',
  fontSize: 120, bold: true, align: 'center',
  color: theme.accent
});
slide3.addText('of customers prefer self-service', {
  x: '10%', y: '60%', w: '80%', h: '15%',
  fontSize: 28, align: 'center',
  color: theme.text
});

// Save file
pptx.writeFile({ fileName: 'presentation.pptx' });
```

**Python Alternative (python-pptx)**:
```bash
pip install python-pptx
```

```python
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RgbColor

prs = Presentation()

# Title slide
title_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(title_layout)
slide.shapes.title.text = "Presentation Title"
slide.placeholders[1].text = "Subtitle here"

# Content slide
content_layout = prs.slide_layouts[1]
slide = prs.slides.add_slide(content_layout)
slide.shapes.title.text = "Key Points"
body = slide.placeholders[1].text_frame
body.text = "First point"
p = body.add_paragraph()
p.text = "Second point"

prs.save('presentation.pptx')
```

**Chart Types Available in PptxGenJS**:
- `bar`, `bar3D` - Bar charts
- `line` - Line charts
- `area` - Area charts
- `pie`, `doughnut` - Circular charts
- `scatter` - Scatter plots

---

### Format Comparison

| Feature | HTML (Reveal.js) | PowerPoint (PPTX) |
|---------|------------------|-------------------|
| **Sharing** | URL link | File attachment |
| **Editing** | Code editor | PowerPoint app |
| **Offline** | After download | Native |
| **Interactivity** | High (JS, video, code) | Medium |
| **Corporate Standard** | Growing | Universal |
| **Version Control** | Git-friendly | Difficult |
| **Animations** | CSS/JS | Built-in |
| **Charts** | Chart.js, D3 | Native or Think-Cell |

---

### Marp (Markdown to Slides)

**Write slides in Markdown, export to HTML, PDF, or PPTX**:

```markdown
---
marp: true
theme: default
paginate: true
backgroundColor: #F5F5F4
---

# Presentation Title

Subtitle goes here

---

## Key Point

- Bullet one
- Bullet two
- Bullet three

---

# 73%

**of customers prefer self-service**
```

**Export commands**:
```bash
# Install Marp CLI
npm install -g @marp-team/marp-cli

# Export to HTML
marp presentation.md -o presentation.html

# Export to PDF
marp presentation.md --pdf -o presentation.pdf

# Export to PowerPoint
marp presentation.md --pptx -o presentation.pptx
```

---

## KNOWLEDGE BASE VERSION

**Version**: 8.0.0
**Rating**: 100/100
**Last Updated**: 2024-12-05

**Experts Integrated**:
- Nancy Duarte, Garr Reynolds, Carmine Gallo, Chris Anderson (Keynote)
- Barbara Minto, McKinsey, BCG, Bain, Analyst Academy (Business)
- Edward Tufte, Scott Berinato, Cole Nussbaumer Knaflic (Data Viz)
- Gestalt psychologists, John Sweller, George Miller (Cognitive Science)
- Robert Cialdini, Daniel Kahneman, Chip & Dan Heath (Persuasion Psychology)
- 20 Top Graphic Designers, 12 Design Agencies
- Investment Banking (M&A, IPO, Debt pitch books)

**Output Formats**:
- ✅ HTML (Reveal.js, Marp, Slidev, Spectacle)
- ✅ PowerPoint (PptxGenJS, python-pptx)
- ✅ PDF export from both
- ✅ Google Slides API

**Gap Coverage**:
- ✅ Data visualization experts
- ✅ Cognitive load theory & Miller's Law
- ✅ Gestalt principles
- ✅ Accessibility standards (WCAG)
- ✅ Chart selection guide
- ✅ Consulting visual elements
- ✅ Investment banking pitch books
- ✅ HTML presentation frameworks
- ✅ PowerPoint programmatic generation
- ✅ Persuasion psychology (Cialdini, Kahneman, Heath)
- ✅ Compelling language patterns & power words
- ✅ Storytelling structures (Sparkline, Pixar, Hero's Journey)
- ✅ Emotional triggers & objection handling
- ✅ Aristotle's Rhetoric (Ethos, Pathos, Logos)
- ✅ **Data integrity & anti-hallucination protocol**
- ✅ **Source citation requirements by data type**
- ✅ **Verification checklists (mandatory before delivery)**
- ✅ **Speaker notes / Source appendix / Handout templates**
- ✅ **Confidence indicators for data quality**

**RuVector Knowledge Base**: `/Users/stuartkerr/Code/PresenterMode/ruvector/presentation-knowledge.yaml`

---

*This skill creates world-class presentations—from inspiring keynotes to detailed strategy decks—in HTML or PowerPoint format, with expert-level design, accessibility compliance, and data visualization best practices.*
