# Animated Robot Cat Companion — Commission Brief

> **Commission for:** Rive animator (Fiverr / Upwork / direct)
> **Reference file:** https://rive.app/marketplace/12335-23415-robocat-expressive-faces-interactive-fun/
> **Budget:** $50-200 depending on scope (8 core + 8 bonus states)

---

## SECTION 1: INTELLECTUAL PROPERTY & LICENSE TERMS

> **READ THIS SECTION CAREFULLY BEFORE ACCEPTING THE JOB.**

### Work-for-Hire Terms

This is a **work-for-hire commission**. By accepting this job and delivering the final `.riv` file, the artist agrees to the following terms:

1. **Full Assignment of Rights.** Upon payment, the artist irrevocably assigns to the Client all rights, title, and interest in and to the delivered `.riv` file and all derivative works, including but not limited to: copyright, reproduction rights, distribution rights, the right to create derivative works, the right to modify, adapt, transform, recolor, rebrand, and incorporate the work into any product, service, or media, in perpetuity, worldwide.

2. **No Attribution Required.** The Client is under no obligation to provide credit, attribution, or acknowledgment to the artist in any product, marketing material, documentation, app listing, or any other context. The Client may attribute at their sole discretion but is never required to.

3. **No Royalties or Revenue Share.** The artist receives the agreed flat fee as full and final compensation. No royalties, revenue share, residuals, or additional compensation of any kind are owed regardless of the commercial success of any product incorporating the work.

4. **Unlimited Use.** The Client may use the delivered work in any context without restriction, including but not limited to: commercial products, mobile apps, web apps, marketing, merchandise, sub-licensing to third parties, resale, white-labeling, AI training, and any future use not yet conceived.

5. **No Moral Rights Claims.** To the extent permitted by law, the artist waives all moral rights (droit moral) in the work, including the right of integrity and the right of attribution.

6. **No Competing Claims.** The artist warrants that the delivered work is original (or properly licensed from third parties), does not infringe any third-party intellectual property rights, and that no other party has any claim to the work.

7. **Modifications.** The Client may freely modify, recolor, reshape, animate, extend, combine with other works, or otherwise alter the delivered file without the artist's permission or involvement.

8. **Exclusivity.** The artist agrees not to resell, redistribute, or publish the delivered custom work (or substantially similar derivatives) on any marketplace, portfolio, or community site. The artist may reference the work in a private portfolio with the Client's written permission.

### If using Fiverr/Upwork:
- Fiverr's standard Commercial Use license transfers IP on delivery. Request the seller confirm "Full Commercial Rights" or "Work for Hire" in the order.
- On Upwork, use a Fixed Price contract with the "Work for Hire" clause enabled.
- In all cases, include this document as an attachment to the order and request written acknowledgment.

---

## SECTION 2: PROJECT OVERVIEW

**Purpose:** Animated robot cat character for an educational software application targeting children ages 3-18.
**Role:** AI companion that guides learners, celebrates achievements, shows empathy, and reacts to user interactions.
**Platform:** Web (React), iOS, Android
**Runtime:** Rive (`@rive-app/react-canvas` — already integrated in our codebase)

---

## SECTION 3: TECHNICAL REQUIREMENTS

### File Delivery
- Single `.riv` file named `companion.riv`
- Artboard name: `Catbot` (or `Companion`)
- State machine name: **`EmotionController`**

### State Machine Inputs (MANDATORY)

| Input Name | Type | Range | Purpose |
|-----------|------|-------|---------|
| `emotion` | Number | 0-15 | Selects which face/expression to show |
| `mouseX` | Number | 0.0-1.0 | Cursor X position for eye tracking |
| `mouseY` | Number | 0.0-1.0 | Cursor Y position for eye tracking |

### Optional Bonus Inputs

| Input Name | Type | Purpose |
|-----------|------|---------|
| `isTalking` | Boolean | Triggers rapid mouth flicker (for text-to-speech sync) |
| `progress` | Number 0-1 | Loading/download bar on cat's chest screen |
| `tapTrigger` | Trigger | Fires on user tap — cat does a quick happy bounce |

---

## SECTION 4: 8 CORE EMOTION STATES (REQUIRED)

The `emotion` input (Number) drives transitions between these states:

### State 0: **IDLE** (default, loops)
- **Expression:** Calm, friendly, slightly smiling
- **Eyes:** Open, soft blink every 3-4 seconds, following cursor via mouseX/mouseY
- **Mouth:** Gentle closed smile
- **Body:** Subtle breathing (gentle scale pulse 100%→102%→100% over 3s)
- **Ears:** Relaxed, slight twitch every 5s
- **Tail:** Slow gentle sway
- **Color:** Body in primary indigo `#635BFF` with lighter belly `#8B85FF`

### State 1: **TALKING** (loops while active)
- **Expression:** Engaged, mouth moving
- **Eyes:** Wide open, alert, tracking cursor
- **Mouth:** Opens and closes rhythmically (smooth sine wave, 3-4 cycles/sec)
- **Body:** Slight forward lean (engaged posture)
- **Ears:** Perked up, attentive
- **Chest screen:** (if present) Shows speech waveform or "..." dots
- **Color:** Same indigo body, mouth interior dark `#1E1E2E`

### State 2: **THINKING** (loops while active)
- **Expression:** Contemplative, looking up-right
- **Eyes:** Slightly narrowed (60% open), pupils drift up-right
- **Mouth:** Tiny "hmm" pout (10% open)
- **Body:** Slight left lean (-5deg tilt), one paw to chin
- **Thought bubbles:** Three ascending circles above head (white with indigo border)
- **Animated dots:** Inside largest bubble, 3 dots bounce in sequence
- **Ears:** One up, one tilted (asymmetric = "processing")
- **Color:** Body shifts slightly toward `#7B6FFF`

### State 3: **CELEBRATING** (plays once ~2.5s, then returns to idle)
- **Expression:** Overjoyed, huge grin
- **Eyes:** Squinting happy (^ ^ anime-style)
- **Mouth:** Wide open smile, teeth showing
- **Body:** Bouncing (squash & stretch: 85%×115% → 115%×85% alternating)
- **Arms/Paws:** Raised in the air, waving
- **Confetti:** Particles burst (pink `#EC4899`, yellow `#F59E0B`, green `#22C55E`, cyan `#06B6D4`, purple `#8B5CF6`)
- **Ears:** Both perked up high
- **Tail:** Wagging rapidly
- **Stars:** Small star sparkles around the cat

### State 4: **EMPATHETIC** (loops while active)
- **Expression:** Caring, understanding, gentle
- **Eyes:** Soft, slightly drooped (80% open), warm look
- **Mouth:** Small reassuring smile (15% open)
- **Body:** Slight left lean (-12deg tilt), listening compassionately
- **Body scale:** Slightly smaller (97%)
- **Ears:** Lowered slightly, soft
- **Paw:** One paw reaching forward (comfort gesture)
- **Color:** Body shifts toward purple `#7C5FE5`
- **Optional:** Tiny heart floats up from chest area

### State 5: **POINTING** (loops while active)
- **Expression:** Enthusiastic "look at this!"
- **Eyes:** Wide open, looking in pointing direction
- **Mouth:** Slightly open (20% open)
- **Body:** Slight right lean (+10deg tilt)
- **Right arm/paw:** Extended outward, pointing gesture, fingertip glow
- **Arm color:** Matches body `#635BFF`, fingertip dot `#06B6D4`
- **Ears:** Both perked forward (alert)
- **Tail:** Stiff, pointing same direction

### State 6: **ERROR** (plays once ~1.5s, then returns to idle)
- **Expression:** Startled/confused
- **Eyes:** Wide open, surprised (X_X or @_@ for 0.5s, then regular)
- **Mouth:** Open "oh!" shape (50% open)
- **Body:** Rapid horizontal shake (±5px at ~25Hz for 1s)
- **Ears:** Flattened back (startled)
- **Color flash:** Brief red tint overlay `#EF4444` that fades
- **Exclamation:** "!" or "?!" appears briefly above head

### State 7: **SLEEPING** (loops while active)
- **Expression:** Peaceful, asleep
- **Eyes:** Fully closed (gentle curved lines)
- **Mouth:** Closed, slight smile
- **Body:** Slight left lean (-8deg), slightly smaller (95% scale)
- **Breathing:** Pronounced slow breathing (larger scale pulse, 3s cycle)
- **Zzz:** Three "Z" letters float upward and fade (small→medium→large, staggered)
- **Ears:** Relaxed, drooped
- **Tail:** Curled around body, still
- **Color:** Body shifts to muted slate `#64748B`

---

## SECTION 5: 8 BONUS EXPRESSIONS (values 8-15)

| Value | State | Expression Details |
|-------|-------|--------------------|
| 8 | **CONFUSED** | Tilted head oscillating left-right, question mark above head, spiral or dizzy eyes, one ear up one down |
| 9 | **EXCITED** | Whole body vibrating/shaking, sparkle/star eyes, tail wagging fast, slight bounce, energy particles |
| 10 | **FOCUSED** | Narrowed eyes (50% open), determined slight frown, body very still, slight forward lean, intense stare |
| 11 | **SURPRISED** | Jump back animation, very wide eyes, ears shoot up, "!" above head, brief scale overshoot (106%→100%) |
| 12 | **PROUD** | Chest puffed out (110% scale), eyes closed smugly with slight smile, chin up, optional medal/star on chest |
| 13 | **ENCOURAGING** | Thumbs up / paw up gesture, big warm smile, nodding motion (gentle body scale oscillation), supportive posture |
| 14 | **CURIOUS** | Head tilted to one side (steady ~12deg), one ear up, wide attentive eyes, small "?" floats nearby |
| 15 | **WAVING** | Paw waving hello/goodbye (oscillating arm extension), friendly open smile, slight body sway |

**Loop behavior for bonus states:**
- **Loop:** confused, focused, encouraging, curious
- **One-shot (play once, return to idle):** excited (2s), surprised (1.5s), proud (3s), waving (2s)

---

## SECTION 6: COLOR PALETTE

### Primary Robot Colors
| Part | Hex | Usage |
|------|-----|-------|
| Body main | `#635BFF` | Primary indigo body color |
| Body highlight | `#8B85FF` | Lighter indigo — belly, inner ears |
| Body shadow | `#4B45CC` | Darker indigo — underside, back |
| Eye white | `#FFFFFF` | Sclera |
| Iris | `#06B6D4` | Cyan iris color |
| Pupil | `#1E1E2E` | Near-black pupil |
| Eye highlight | `rgba(255,255,255,0.7)` | Specular reflection dot |
| Mouth closed | `#C0392B` | Gentle red smile line |
| Mouth open interior | `#1E1E2E` | Dark inside of mouth |
| Cheek blush | `hsla(220, 70%, 70%, 0.35)` | Subtle blush circles |
| Nose | `#EC4899` | Pink triangle or dot |

### Emotion Color Shifts
| State | Body tint shift | Accent |
|-------|----------------|--------|
| Idle | `#635BFF` (no shift) | — |
| Talking | `#635BFF` (no shift) | Green speech dots `#22C55E` |
| Thinking | `#7B6FFF` (slightly lighter) | Amber thought dots `#F59E0B` |
| Celebrating | `#635BFF` (no shift) | Multi-color confetti (see above) |
| Empathetic | `#7C5FE5` (warmer purple) | Pink heart `#EC4899` |
| Pointing | `#635BFF` (no shift) | Cyan fingertip `#06B6D4` |
| Error | `#EF4444` flash overlay | Red `#EF4444` |
| Sleeping | `#64748B` (muted slate) | Slate zzz `#94A3B8` |

---

## SECTION 7: TRANSITION TIMING

| From → To | Duration | Easing |
|-----------|----------|--------|
| Any → Idle | 400ms | ease-in-out |
| Any → Talking | 250ms | ease-out |
| Any → Thinking | 500ms | ease-in-out |
| Any → Celebrating | 350ms | ease-out-back (overshoot) |
| Any → Empathetic | 600ms | ease-in-out |
| Any → Pointing | 300ms | ease-out |
| Any → Error | 150ms | ease-out (snap) |
| Any → Sleeping | 800ms | ease-in-out (slow fade) |
| Any → Confused | 400ms | ease-in-out |
| Any → Excited | 200ms | ease-out |
| Any → Focused | 500ms | ease-in-out |
| Any → Surprised | 150ms | ease-out (snap) |
| Any → Proud | 500ms | ease-in-out |
| Any → Encouraging | 350ms | ease-out |
| Any → Curious | 400ms | ease-in-out |
| Any → Waving | 300ms | ease-out |

---

## SECTION 8: EYE TRACKING

- Eyes smoothly follow `mouseX`/`mouseY` inputs
- Iris movement range: ±55% of eye radius horizontally, ±45% vertically
- Smoothing: lerp at 8× speed (smooth but responsive)
- When sleeping: eyes closed, ignore mouse input
- Blink: 1 full blink every 3-5 seconds in idle state (eye close + reopen, 200ms)

---

## SECTION 9: SIZE & EXPORT

- **Artboard size:** 256×256px (displayed at 96px in-app, retina-scaled)
- **Export:** Download as `.riv` for newest runtime
- **File name:** `companion.riv`

---

## SECTION 10: DELIVERY CHECKLIST

- [ ] Single `companion.riv` file
- [ ] State machine named `EmotionController`
- [ ] `emotion` Number input (0-7 minimum, 0-15 if bonus states included)
- [ ] `mouseX` Number input (0.0-1.0)
- [ ] `mouseY` Number input (0.0-1.0)
- [ ] All 8 core emotions with specified expressions
- [ ] All 8 bonus emotions (if agreed)
- [ ] Smooth transitions between all states
- [ ] Eye tracking responds to mouseX/mouseY
- [ ] Celebrating, Error, Excited, Surprised, Proud, Waving are one-shot
- [ ] All other states loop
- [ ] Colors match palette (see color table above)
- [ ] Artboard 256×256px
- [ ] Test: loads correctly in https://rive.app/editor preview
- [ ] Artist confirms acceptance of Section 1 (IP & License Terms) before delivery

---

---

---

# REQUEST FOR QUOTE — Interactive Rive Animation Package
### Educational App — K-12 Learning Platform

> **Scope:** This RFQ covers all Rive animation work beyond the companion character (spec'd in Sections 1-10 above).
> The companion character is a separate commission. All items below are independent deliverables that can be quoted and delivered individually or as packages.
> **IP Terms:** Same work-for-hire terms as Section 1 apply to all deliverables in this RFQ.
> **Runtime:** `@rive-app/react-canvas` v4.27.1. All files must load and preview correctly in the Rive editor and run in a React web environment.

---

## GLOBAL DESIGN LANGUAGE

Apply consistently across all deliverables in this RFQ.

### Color Palette

| Role | Hex | Usage |
|------|-----|-------|
| Primary | `#059669` | Main brand color — buttons, correct states, progress, positive feedback |
| Primary light | `#10B981` | Hover states, gradients |
| Primary dark | `#047857` | Active/pressed states |
| Secondary | `#635BFF` | Companion color — avoid on non-companion deliverables unless specified |
| Neutral dark | `#1E293B` | Text, outlines, dark fills |
| Neutral mid | `#64748B` | Inactive states, disabled |
| Neutral light | `#F1F5F9` | Backgrounds, skeleton fills |
| Danger | `#EF4444` | Incorrect answers, errors, streak broken |
| Warning | `#F59E0B` | Streak at risk, timer low |
| Info | `#06B6D4` | Cyan accent, info states |
| Celebration | Multi | Confetti: `#EC4899` pink, `#F59E0B` amber, `#22C55E` green, `#06B6D4` cyan, `#8B5CF6` purple |

### Typography / Text in Animations
- Use rounded, friendly sans-serif geometry only (no specific font required — keep text as shapes or use a neutral rounded face)
- Text animations: slide-up reveals, scale-in, bounce-in only — no hard cuts

### Motion Principles
- **Overshoot:** All positive/success states overshoot slightly (spring feel, `ease-out-back`)
- **Snap:** Error/danger states snap fast (`ease-out`, 150ms or less)
- **Breathe:** Idle loops always have a subtle scale or opacity pulse — nothing is ever fully static
- **Squash & Stretch:** All character/object impacts use squash-and-stretch (compress on impact, extend on release)
- **Corner radius:** Prefer rounded shapes. No sharp corners on interactive elements.

---

## PACKAGE A — QUIZ & ASSESSMENT UI
*Core interactive quiz experience. Highest priority.*

### A1. Quiz Answer Button
**File:** `quiz-answer-button.riv`
**Artboard size:** 640×80px (scales to container width)
**Use case:** Every multiple-choice answer option in every quiz, exam, and lesson

**State machine name:** `AnswerButton`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `state` | Number | 0=default, 1=hover, 2=selected, 3=correct, 4=incorrect, 5=disabled |
| `label` | (runtime text) | Answer text — no animation needed |

**States:**

| State | Visual | Duration |
|-------|--------|----------|
| `default` | White fill, green border `#059669` 1.5px, neutral text, subtle idle shimmer | Loop |
| `hover` | Border brightens to `#10B981` 2px, slight scale 101%, soft glow | Loop |
| `selected` | Fill `#F0FDF4`, border `#059669` 2.5px, left accent bar `#059669` 4px wide | Loop |
| `correct` | Fill `#DCFCE7`, border `#22C55E`, green checkmark icon animates in (draw-on), spring scale 102%→100% | Loop after transition |
| `incorrect` | Fill `#FEF2F2`, border `#EF4444`, red X icon animates in, horizontal shake ±4px 3 cycles | Loop after transition |
| `disabled` | Fill `#F8FAFC`, border `#E2E8F0`, 40% opacity, no interaction | Loop |

**Transitions:**
- `default → hover`: 150ms ease-out
- `any → correct`: 250ms ease-out-back (overshoot), then checkmark draws on over 300ms
- `any → incorrect`: 150ms snap, then shake plays, then settles

**Deliver:** 1 artboard. Works at any width — layout uses percentage constraints.

---

### A2. Score / Result Reveal
**File:** `score-reveal.riv`
**Artboard size:** 400×300px
**Use case:** End-of-quiz score screen, lesson completion, exam result

**State machine name:** `ScoreReveal`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `score` | Number | 0–100 (percentage) |
| `trigger` | Trigger | Fire to start animation |

**States:**

| State | Visual |
|-------|--------|
| `hidden` | All elements at opacity 0 |
| `revealing` | Circular score ring draws on (stroke animation, 1.5s), number counts up from 0 to `score` value, star rating animates in (1, 2, or 3 stars based on score thresholds: <60, 60-89, 90+) |
| `perfect` | If score=100: extra confetti burst, ring pulses with rainbow gradient, "Perfect!" text bounces in |
| `idle` | Score displayed, stars shimmer gently |

**Score ring colors:**
- 0–59%: `#EF4444` red arc
- 60–89%: `#F59E0B` amber arc
- 90–100%: `#059669` green arc

**Star system:** 3 stars. Each star flips from grey `#E2E8F0` to gold `#F59E0B` with a pop and sparkle in sequence (250ms between each).

---

### A3. Streak Counter / Daily Goal Flame
**File:** `streak-flame.riv`
**Artboard size:** 80×100px
**Use case:** Navigation bar streak display, profile page, daily goal widget

**State machine name:** `StreakFlame`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `streakDays` | Number | 0–365 |
| `isAtRisk` | Boolean | True if user hasn't completed today's goal yet and it's approaching midnight |

**States (driven by `streakDays` value):**

| State | Visual | Trigger |
|-------|--------|---------|
| `cold` | Grey ash pile, no flame, small sad face | streakDays = 0 |
| `warm` | Small orange flame `#FB923C`, gentle flicker | streakDays 1–6 |
| `hot` | Medium flame with inner yellow core, faster flicker, heat shimmer particles | streakDays 7–29 |
| `blazing` | Large flame with crown, cyan inner core `#06B6D4`, embers floating up | streakDays 30–99 |
| `legendary` | Massive rainbow flame, orbiting star particles, screen glow | streakDays 100+ |
| `at_risk` (overlay) | Blue ice crystals forming on edges of flame, frost particles, pulsing urgency | `isAtRisk = true` on any active state |
| `broken` | Flame snuffs out → ash pile, crack animation, one-shot 1.5s then `cold` | Triggered by streak reset |

**Number display:** The streak day count renders as a bold number below the flame, with a pop animation when the count increments.

---

### A4. Hearts / Lives System
**File:** `lives-hearts.riv`
**Artboard size:** 200×48px (5 hearts in a row)
**Use case:** Quiz lives, game lives, attempt tracking

**State machine name:** `LivesDisplay`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `lives` | Number | 0–5 |
| `maxLives` | Number | 1–5 (defaults to 5) |

**States per heart:**
- `full`: Solid `#EF4444` heart, subtle pulse every 4s
- `empty`: Grey outline `#E2E8F0` heart
- `losing`: One-shot — heart shatters into particles then becomes empty (0.6s)
- `gaining`: One-shot — heart fades in with spring scale bounce (0.4s)

**Global states:**
- `lastHeart`: When lives=1, remaining heart throbs rapidly (danger pulse, 0.8s cycle), slight red glow around it
- `noLives`: All hearts empty, brief screen shake, 0.5s

---

### A5. Combo Multiplier
**File:** `combo-multiplier.riv`
**Artboard size:** 120×60px
**Use case:** Consecutive correct answers in games/quizzes

**State machine name:** `ComboMultiplier`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `combo` | Number | 0–10+ |
| `trigger` | Trigger | Fire on each correct answer |

**States:**
- `hidden`: combo=0, fully transparent
- `active`: Shows "x{combo}" — each increment: number pops in with scale overshoot, ring color intensifies with combo level (green→amber→orange→red for x1 through x5+)
- `broken`: Quick shake, number X's out, fades out over 400ms
- `max` (combo 10+): Chromatic/rainbow color cycling, particle burst every 2 increments

---

### A6. Timer / Countdown
**File:** `countdown-timer.riv`
**Artboard size:** 120×120px
**Use case:** Timed quiz, game countdown, session timer

**State machine name:** `CountdownTimer`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `progress` | Number | 0.0–1.0 (1.0 = full time remaining, 0.0 = expired) |
| `isUrgent` | Boolean | True when < 20% remaining |

**Visual:**
- Circular progress ring depletes clockwise
- Center displays remaining time (app drives text, not Rive)
- Ring color: green `#059669` at full → amber `#F59E0B` at 50% → red `#EF4444` at 20%
- `isUrgent=true`: ring pulses (opacity 100%→70% at 1Hz), center text shakes slightly

---

## PACKAGE B — PROGRESS & GAMIFICATION
*XP, levels, achievements. Drives retention.*

### B1. XP Progress Bar
**File:** `xp-progress-bar.riv`
**Artboard size:** 400×32px (scalable width)
**Use case:** User XP bar in nav, profile, lesson header

**State machine name:** `XPBar`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `progress` | Number | 0.0–1.0 |
| `levelUp` | Trigger | Fire when bar reaches 1.0 |

**States:**
- `filling`: Bar fill slides right, gradient `#059669 → #10B981`, trailing glow particle
- `full` → `levelUp`: Bar flashes white, expands briefly, confetti burst from right end, resets to 0 and re-fills to new level start, level badge pops up above bar
- `idle`: Filled portion has slow shimmer sweep (highlight stripe moves left→right every 3s)

**Visual detail:** Bar has rounded caps, subtle inner shadow, filled section has fine texture (diagonal lines at 10% opacity).

---

### B2. Level Up Burst
**File:** `level-up.riv`
**Artboard size:** 480×480px (fullscreen overlay, transparent background)
**Use case:** Full-screen moment when learner levels up

**State machine name:** `LevelUp`

**Inputs:**

| Input | Type |
|-------|------|
| `trigger` | Trigger |
| `newLevel` | Number |

**Animation (one-shot, ~3s total):**
1. 0–300ms: Screen flash white → fades
2. 300–800ms: Large starburst radiates from center, rays scale out
3. 500ms–1.5s: "LEVEL UP!" text rockets up from bottom with motion blur, bounces at center
4. 600ms–2s: Gold coins / stars scatter outward (16 particles, physics arc)
5. 1s–2.5s: Level number badge drops in from top, bounces, settles
6. 2.5–3s: Everything fades out gracefully
7. Auto-returns to `hidden` state

**Colors:** Gold `#F59E0B` and `#FCD34D`, white, green `#059669` accent

---

### B3. Achievement / Badge Unlock
**File:** `badge-unlock.riv`
**Artboard size:** 280×320px
**Use case:** Achievement notification, certificate earned, module completed

**State machine name:** `BadgeUnlock`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `trigger` | Trigger | Start animation |
| `tier` | Number | 1=bronze, 2=silver, 3=gold, 4=platinum |

**States:**
- `locked`: Badge shape present but greyscale `#94A3B8`, cracked texture overlay, padlock icon centered
- `unlocking` (one-shot ~2s): Padlock breaks apart → crack lines spread across badge → color floods in (desaturated→saturated) with radial wipe → shine sweep → particle burst (color per tier: bronze `#CD7F32`, silver `#C0C0C0`, gold `#F59E0B`, platinum `#E2E8F0` + cyan `#06B6D4`)
- `unlocked` (loop): Badge in full color, subtle shimmer/shine sweep every 4s, tier-appropriate glow

---

### B4. Confetti Burst (Standalone)
**File:** `confetti.riv`
**Artboard size:** 600×400px (transparent, overlay)
**Use case:** Lesson complete, perfect score, first login, any celebration moment

**State machine name:** `Confetti`

**Inputs:**

| Input | Type |
|-------|------|
| `trigger` | Trigger |
| `intensity` | Number 1–3 (1=light, 2=medium, 3=full) |

**Animation:** One-shot confetti burst. Particles arc upward and fall with gravity and slight horizontal drift. 3 intensity levels: 20 particles / 50 particles / 100 particles. All 6 celebration colors. Each particle is one of: rectangle, circle, or ribbon. Ribbons rotate as they fall. Duration: 1.5s–3s depending on intensity.

---

## PACKAGE C — NAVIGATION & SHELL UI
*Persistent chrome the user sees every session.*

### C1. Animated Navigation Icons
**File:** `nav-icons.riv`
**Artboard size:** One artboard per icon, 48×48px each. 6 icons total on separate artboards within one `.riv` file.
**Use case:** Bottom navigation bar (mobile) and sidebar nav (desktop)

**Icons (6):**

| Artboard | Icon concept | Idle loop | Selected animation |
|----------|-------------|-----------|-------------------|
| `nav-home` | House with a small chimney | Roof shingles ripple gently | Door opens and closes, smoke puff from chimney (one-shot 600ms) |
| `nav-explore` | Compass or map | Compass needle slowly oscillates ±5° | Needle spins 360° then settles on new bearing (one-shot 800ms) |
| `nav-games` | Game controller or joystick | Buttons glow in sequence | Controller shakes/vibrates with impact particles (one-shot 500ms) |
| `nav-learn` | Stack of books | Pages flutter slightly (top book) | Books fan open and fan back like a deck of cards (one-shot 700ms) |
| `nav-profile` | User silhouette / avatar circle | Subtle breathing scale on avatar | Crown drops from above and lands on head (one-shot 600ms) |
| `nav-parent` | Shield with a star | Star pulses gently | Shield bounces forward with security glow (one-shot 500ms) |

**State machine name per artboard:** `NavIcon`

**Inputs per artboard:**

| Input | Type | Values |
|-------|------|--------|
| `state` | Number | 0=inactive, 1=active, 2=notification |

- `inactive`: Subtle idle loop, icon at 60% color saturation
- `active`: Selected animation plays once, then loops a gentle idle, icon at full saturation + green `#059669` underline dot
- `notification`: Small red dot `#EF4444` pulses at top-right corner (heartbeat loop)

---

### C2. Loading / Skeleton States
**File:** `loading-states.riv`
**Artboard size:** Multiple artboards in one file:
- `skeleton-card`: 320×160px — content card shimmer
- `skeleton-list-item`: 320×60px — list row shimmer
- `spinner`: 48×48px — circular spinner
- `loading-dots`: 80×24px — three bouncing dots

**State machine name per artboard:** `LoadingState`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `isLoading` | Boolean | true=loading, false=loaded |

- `isLoading=true`: Shimmer sweep animation (light `#F8FAFC` highlight stripe sweeps left→right every 1.5s over `#E2E8F0` base). Spinner rotates at 300°/s. Dots bounce in sequence (staggered 150ms).
- `isLoading=false`: Fade-out transition over 200ms.

---

### C3. Page Transition Wipe
**File:** `page-transition.riv`
**Artboard size:** 100vw × 100vh (use percentage constraints — 800×600px artboard)
**Use case:** Full-page transition between major sections

**State machine name:** `PageTransition`

**Inputs:**

| Input | Type |
|-------|------|
| `triggerOut` | Trigger |
| `triggerIn` | Trigger |

**Variants (3 artboards):**
- `transition-slide`: Green `#059669` panel slides in from left covering screen (200ms), then new page content, then panel slides off right (200ms)
- `transition-scale`: Current page scales down to center and fades (250ms), new page scales up from center (250ms)
- `transition-morph`: Abstract blob in brand green morphs across screen as wipe (350ms)

---

## PACKAGE D — SUBJECT & LESSON ICONS
*Animated icons for the 12 academic subject areas.*

### D1. Subject Icons Set
**File:** `subject-icons.riv`
**Artboard size:** 64×64px per icon, all on separate artboards within one `.riv` file.
**Use case:** Module catalog cards, lesson headers, navigation filters

**Icons (12 artboards):**

| Artboard | Subject | Idle animation | Hover/active animation |
|----------|---------|---------------|----------------------|
| `subject-math` | Calculator or abacus | Number digits cycle on display (0→9 loop) | Equals sign animates → answer pops |
| `subject-science` | Microscope or atom | Electron orbits nucleus slowly | Atom spins faster, emits glow |
| `subject-language` | Open book with speech bubble | Pages turn slowly | Letters fly out of book |
| `subject-history` | Hourglass or scroll | Sand falls through hourglass | Scroll unfurls |
| `subject-coding` | Laptop or code brackets | Cursor blinks on screen | Bracket pair expands and snaps |
| `subject-art` | Palette or paintbrush | Color dots pulse on palette | Paintbrush paints a stroke |
| `subject-music` | Musical note or headphones | Note bounces to a beat | Notes stream outward |
| `subject-geography` | Globe or compass | Globe rotates slowly | Compass needle swings to bearing |
| `subject-health` | Heart + pulse line | Pulse line traces gently | Heartbeat accelerates + flashes |
| `subject-economics` | Coin stack or graph | Graph line traces upward | Coins stack with bounce |
| `subject-engineering` | Gear or wrench | Gear turns slowly | Gear spins up, wrench tightens |
| `subject-languages` | Speech bubbles / flags | Bubbles bob gently | Multiple speech bubbles cascade |

**State machine name per artboard:** `SubjectIcon`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `state` | Number | 0=idle, 1=hover, 2=active, 3=complete |

- `complete`: Icon gets a small green checkmark badge that pops in (spring scale), icon retains full color + subtle shimmer

---

## PACKAGE E — INTERACTIVE EDUCATIONAL WIDGETS
*Replaces bespoke Canvas/SVG code for visual learning.*

### E1. Balance / Weight Scale
**File:** `weight-scale.riv`
**Artboard size:** 400×300px
**Use case:** Math balance problems, equation solving, comparison

**State machine name:** `WeightScale`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `leftWeight` | Number | 0–100 |
| `rightWeight` | Number | 0–100 |

**Behavior:**
- Beam rotates based on `leftWeight - rightWeight` difference. Max tilt ±35°.
- Rotation is spring-eased (overshoot and settle when weights change)
- Pans/platforms on each end translate vertically inverse to the tilt
- When balanced (equal): beam is horizontal, green glow pulse on fulcrum
- When one side is 0: that pan swings up, other bottoms out, slight bounce
- Fulcrum colors: green `#059669` when balanced, amber `#F59E0B` within 5% difference, neutral `#64748B` otherwise

---

### E2. Number Line
**File:** `number-line.riv`
**Artboard size:** 600×120px
**Use case:** Integer math, addition/subtraction visualization, fractions

**State machine name:** `NumberLine`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `position` | Number | -20 to +20 |
| `rangeMin` | Number | -20 to 0 |
| `rangeMax` | Number | 0 to 20 |

**Behavior:**
- Horizontal axis with tick marks. Labels at each integer.
- A point marker (filled circle, green `#059669`) slides smoothly to `position` when input changes (spring ease)
- Negative numbers: labels in red `#EF4444`, tick marks in red. Zero: bold black. Positive: green.
- A jump arc animation: when position changes, the marker hops along the number line (for addition/subtraction visualization), not just slides

---

### E3. Fraction Pie
**File:** `fraction-pie.riv`
**Artboard size:** 200×200px
**Use case:** Fraction visualization, parts of a whole

**State machine name:** `FractionPie`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `numerator` | Number | 0–12 |
| `denominator` | Number | 1–12 |

**Behavior:**
- Circular pie divided into `denominator` equal segments. `numerator` segments filled green `#059669`, remainder light grey `#E2E8F0`.
- When denominator changes: segments redraw with a brief rotation animation and new dividing lines draw on.
- When numerator changes: segments fill/unfill with a sweep animation clockwise.
- Segments have subtle white stroke between them `1.5px #FFFFFF`.
- Hover effect: individual segments glow slightly on cursor proximity.

---

### E4. Algebra Tiles
**File:** `algebra-tiles.riv`
**Artboard size:** 480×320px
**Use case:** Variable/constant visualization, factoring, equation building

**State machine name:** `AlgebraTiles`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `xTiles` | Number | 0–8 (large rectangles = x) |
| `negXTiles` | Number | 0–8 (large rectangles = -x, red) |
| `unitTiles` | Number | 0–16 (small squares = 1) |
| `negUnitTiles` | Number | 0–16 (small squares = -1, red) |

**Behavior:**
- Tiles arrange in a grid automatically. New tiles slide in from above; removed tiles slide out downward.
- Positive tiles: green `#059669` fill for units, blue `#3B82F6` fill for x tiles.
- Negative tiles: red `#EF4444` fill for negative units, `#F87171` for negative x tiles.
- When a positive and negative tile of the same type are both present, they flash and "zero pair" cancel (shake toward each other, disappear with pop).

---

### E5. Coordinate Grid / Graphing Plane
**File:** `coordinate-grid.riv`
**Artboard size:** 400×400px
**Use case:** Plotting points, graphing linear equations, geometry

**State machine name:** `CoordGrid`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `pointX` | Number | -10 to 10 |
| `pointY` | Number | -10 to 10 |
| `showPoint` | Boolean | Show/hide the plotted point |
| `slopeM` | Number | -5 to 5 (slope of line, optional) |
| `interceptB` | Number | -10 to 10 (y-intercept, optional) |
| `showLine` | Boolean | Show/hide the graph line |

**Behavior:**
- Grid lines at every integer: light `#E2E8F0`. Axis lines: dark `#1E293B` 2px.
- Axis labels at -10, -5, 0, 5, 10.
- Point: filled circle `#059669` 8px, drops in with spring bounce when coordinates change.
- Line: draws on from left to right over 600ms when `showLine=true`, green `#059669` 2px.

---

### E6. Chemistry Reaction Beaker
**File:** `chemistry-beaker.riv`
**Artboard size:** 200×320px
**Use case:** Science lab — mixing reactions, states of matter

**State machine name:** `ChemBeaker`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `fillLevel` | Number | 0.0–1.0 |
| `reaction` | Number | 0=none, 1=bubbling, 2=heating, 3=color-change |
| `color` | Number | 0=blue, 1=red, 2=green, 3=yellow, 4=purple |

**States:**
- `empty`: Glass outline only, fill=0
- `filled`: Liquid fill slides up to `fillLevel`, slight surface wave loop
- `bubbling`: Bubbles rise from bottom through liquid, surface foams
- `heating`: Orange glow under beaker, liquid shimmers, heat distortion lines rise
- `color-change` (one-shot): Liquid rapidly shifts hue (color wipe from bottom up), brief flash at completion

---

### E7. Electrical Circuit
**File:** `circuit-diagram.riv`
**Artboard size:** 500×300px
**Use case:** Physics/electrical science lab — Ohm's law, circuits

**State machine name:** `Circuit`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `switchClosed` | Boolean | true=circuit complete |
| `voltage` | Number | 0–12 (volts) |
| `resistance` | Number | 1–10 (ohms) |

**Behavior:**
- Displays: battery, switch, resistor, bulb — connected with wires in a loop.
- `switchClosed=false`: No current flows, bulb off, grey wires.
- `switchClosed=true`: Animated dashes flow around circuit (direction shows conventional current), brightness of bulb scales with `voltage / resistance` (calculated current), wires glow amber `#F59E0B` proportional to current.
- Overload state: if voltage/resistance > 6A threshold — bulb flickers rapidly, then filament breaks animation, switch opens automatically.

---

### E8. Pendulum / Simple Harmonic Motion
**File:** `pendulum.riv`
**Artboard size:** 300×400px
**Use case:** Physics — period, frequency, gravity lab

**State machine name:** `Pendulum`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `length` | Number | 0.1–1.0 (normalized pendulum length) |
| `angle` | Number | 0–45 (initial release angle, degrees) |
| `isRunning` | Boolean | Start/stop pendulum |
| `gravity` | Number | 1–25 (m/s² — Earth=9.8, Moon=1.6, Jupiter=24.8) |

**Behavior:**
- Bob swings with mathematically correct period: `T = 2π√(L/g)` — the Rive animation speed is driven by this formula via constraints.
- Angle trace: faint arc line shows the swing path.
- Speed trail: the bob leaves a brief motion blur trail on fast swings.
- When gravity changes: period visibly changes immediately (useful for planet comparison).

---

### E9. DNA Double Helix
**File:** `dna-helix.riv`
**Artboard size:** 200×400px
**Use case:** Biology — genetics, base pair visualization

**State machine name:** `DNA`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `isSpinning` | Boolean | Start/stop rotation |
| `highlightPair` | Number | 0=none, 1=A-T pair, 2=G-C pair |
| `unzipping` | Boolean | Helix unzips (replication visualization) |

**Behavior:**
- Helix slowly rotates on vertical axis, base pair rungs visible.
- Base pair colors: A-T `#EF4444`/`#F87171` red, G-C `#3B82F6`/`#60A5FA` blue.
- `highlightPair=1`: A-T pairs pulse glow, G-C dim. Vice versa for 2.
- `unzipping=true`: Helix splits down the middle like a zipper, each strand peels away (one-shot, 2s), returns on `false`.

---

### E10. Weather System
**File:** `weather-system.riv`
**Artboard size:** 400×250px
**Use case:** Geography/climate science, weather patterns

**State machine name:** `Weather`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `condition` | Number | 0=sunny, 1=cloudy, 2=rainy, 3=stormy, 4=snowy, 5=foggy |
| `temperature` | Number | -30 to 50 (°C, displayed in animation) |

**States:**
- `sunny`: Sun with rotating rays, clear background gradient sky blue→pale
- `cloudy`: Clouds drift slowly, sun partially hidden
- `rainy`: Clouds, rain streaks falling at angle, puddle ripples at bottom
- `stormy`: Dark clouds, lightning bolt (one-shot flash every 3–5s, random), heavy rain
- `snowy`: Snowflakes fall at varied speeds and sizes, breath-fog effect
- `foggy`: Low opacity white gradient strips drift horizontally
- Temperature display: Thermometer fills proportionally, color shifts blue→green→amber→red with temperature

---

## PACKAGE F — ONBOARDING & MARKETING
*First impressions and conversion moments.*

### F1. Onboarding Character Reactions
**File:** `onboarding-scene.riv`
**Artboard size:** 400×400px
**Use case:** Age/grade selection, subject preference, onboarding steps

**State machine name:** `OnboardingScene`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `gradeLevel` | Number | 0=PreK, 1=K-2, 2=3-5, 3=6-8, 4=9-12, 5=Adult |
| `subject` | Number | 0–11 (maps to subject icons) |
| `step` | Number | 1–5 (onboarding step index) |

**Character adjustments by grade:**
- `gradeLevel=0` (PreK): Character is very small (50% scale), holds a toy, speaks in big speech bubble with pictures not words
- `gradeLevel=1-2` (K-2): Character is small (75% scale), colorful background, bouncy animation style
- `gradeLevel=3-5`: Standard size, slight desk prop appears behind character
- `gradeLevel=6-8`: Standard size, character looks slightly cooler (subtle style shift)
- `gradeLevel=9-12`: Taller, more composed, backpack prop
- `gradeLevel=5` (Adult): Professional context — character in a chair, laptop open

**Character + subject interaction:** When a subject is selected, character holds a prop related to that subject (math → calculator, science → test tube, art → paintbrush). Props swap with a quick toss and catch animation.

**Uses the companion character** — this artboard references `companion.riv` but with added background scene and props. Design should be composable.

---

### F2. Plan / Pricing Card Reveal
**File:** `pricing-card.riv`
**Artboard size:** 320×480px
**Use case:** Pricing page, upgrade prompt, subscription selection

**State machine name:** `PricingCard`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `tier` | Number | 0=free, 1=plus, 2=family, 3=school |
| `isSelected` | Boolean | Highlighted/selected state |
| `isMostPopular` | Boolean | Show "Most Popular" badge |

**States:**
- `default`: Card with subtle shadow, gentle idle glow pulse
- `hover`: Card lifts (translateY -4px, shadow grows), border brightens
- `selected`: Card scales to 102%, border `#059669` 2px glows, selected checkmark badge pops in
- `mostPopular` badge: Ribbon badge in amber `#F59E0B` at top-right, shimmer sweep every 3s
- `tier=2` (family): Small animated family silhouette decorative element on card
- `tier=3` (school): Small animated graduation cap decorative element

---

### F3. Empty State Illustrations
**File:** `empty-states.riv`
**Artboard size:** 300×280px per artboard, 5 artboards in one file.
**Use case:** Empty list states, first-visit pages, no-results screens

**Artboards:**

| Artboard | Scene | Animation |
|----------|-------|-----------|
| `empty-lessons` | Stack of books with a bookmark sticking out | Pages ruffle, bookmark waves |
| `empty-games` | Game controller with question marks | Controller jiggles, ?s pop |
| `empty-search` | Magnifying glass looking around | Glass pans left and right |
| `empty-notifications` | Bell with a sleeping Z | Bell sways gently, Z floats |
| `empty-progress` | Plant sprouting from soil | Sprout slowly grows, leaf unfurls |

All empty states have a gentle idle loop. No state machine needed — these are simple looping animations.

---

## PACKAGE G — FEEDBACK & MICRO-INTERACTIONS
*Instant tactile response to every user action.*

### G1. Button Press Feedback (Universal)
**File:** `button-feedback.riv`
**Artboard size:** Flexible — 1×1px artboard with percentage constraints (scales to any button)
**Use case:** Every interactive button in the app — one universal component

**State machine name:** `ButtonFeedback`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `state` | Number | 0=idle, 1=hover, 2=pressed, 3=success, 4=error, 5=loading |

**States:**
- `idle`: No effect (transparent overlay)
- `hover`: Subtle inner glow `rgba(255,255,255,0.1)` spreads from cursor entry point
- `pressed`: Quick scale-down to 97% + brightness drop (80ms ease-out), then return (150ms ease-out-back)
- `success`: Brief green `#059669` ripple pulse from center outward, 400ms
- `error`: Red `#EF4444` flash + horizontal shake (3 cycles ±3px, 300ms total)
- `loading`: Spinner overlay (semi-transparent, 24px centered spinner)

---

### G2. Input Field Feedback
**File:** `input-feedback.riv`
**Artboard size:** 400×56px (border + focus ring only — composites over real input)
**Use case:** Text inputs, search bars, form fields throughout app

**State machine name:** `InputFeedback`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `state` | Number | 0=idle, 1=focused, 2=valid, 3=error, 4=disabled |

**States:**
- `idle`: Light border `#E2E8F0`
- `focused`: Green `#059669` border animates on (draw-on stroke effect), subtle glow
- `valid`: Green border + checkmark icon fades in on right
- `error`: Red `#EF4444` border + shake + error icon
- `disabled`: Dashed border `#CBD5E1`, 50% opacity

---

### G3. Toggle / Switch
**File:** `toggle-switch.riv`
**Artboard size:** 56×32px
**Use case:** Settings toggles, filter switches, feature on/off

**State machine name:** `Toggle`

**Inputs:**

| Input | Type |
|-------|------|
| `isOn` | Boolean |

**States:**
- `off`: Track `#CBD5E1`, thumb slides to left (spring ease), label "OFF"
- `on`: Track `#059669`, thumb slides to right (spring ease, overshoot), label "ON", subtle glow on track
- Transition: 250ms spring (thumb overshoots by 3px then settles)

---

### G4. Checkmark / Task Complete
**File:** `checkmark.riv`
**Artboard size:** 32×32px
**Use case:** Task lists, lesson checklist, to-do items

**State machine name:** `Checkmark`

**Inputs:**

| Input | Type |
|-------|------|
| `isChecked` | Boolean |

- `unchecked`: Empty circle `#CBD5E1` border
- Checking: Circle fills green `#059669` (radial fill 200ms), checkmark path draws on (stroke animation 300ms), small particle burst (5 dots)
- `checked`: Green fill, white checkmark, gentle pulse every 5s
- Unchecking: Reverse — checkmark un-draws, fill drains

---

### G5. Notification / Toast
**File:** `toast-notification.riv`
**Artboard size:** 360×72px
**Use case:** App-wide toast messages — success, error, info, warning

**State machine name:** `Toast`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `type` | Number | 0=success, 1=error, 2=warning, 3=info |
| `show` | Boolean | True=animate in, False=animate out |

**States:**
- All types: Slides in from top (translateY -100%→0) over 300ms ease-out-back. Slides out upward on dismiss.
- `success`: Green left border `#059669`, checkmark icon, white background
- `error`: Red left border `#EF4444`, X icon
- `warning`: Amber left border `#F59E0B`, warning triangle icon
- `info`: Cyan left border `#06B6D4`, info circle icon

Each type: icon animates in (scale 0→1, 200ms spring) after the toast slides in.

---

## PACKAGE H — LANGUAGE LEARNING
*Visual feedback for the language learning surface.*

### H1. Pronunciation Score Meter
**File:** `pronunciation-meter.riv`
**Artboard size:** 300×180px
**Use case:** Speaking lab — real-time pronunciation score feedback

**State machine name:** `PronunciationMeter`

**Inputs:**

| Input | Type | Range |
|-------|------|-------|
| `score` | Number | 0–100 |
| `isRecording` | Boolean | |
| `trigger` | Trigger | Fire on score reveal |

**Visual:**
- Semi-circular gauge (half-donut). Needle sweeps to score position.
- Score zones: 0–49 red, 50–74 amber, 75–89 green, 90–100 emerald + star burst
- `isRecording=true`: Pulsing microphone icon at center, waveform bars animate (random heights, responsive feel)
- Score reveal: Needle sweeps from 0 to score with spring overshoot, score number counts up

---

### H2. Speech Waveform
**File:** `speech-waveform.riv`
**Artboard size:** 320×64px
**Use case:** TTS playback visualization, recording visualization

**State machine name:** `Waveform`

**Inputs:**

| Input | Type | Values |
|-------|------|--------|
| `isActive` | Boolean | Playing/recording |
| `amplitude` | Number | 0.0–1.0 (driven by audio level) |

**States:**
- `idle`: Flat line, neutral `#CBD5E1`
- `active`: Bars animate (sine-wave-like variation, driven by `amplitude`), color `#059669`
- `idle → active`: Bars spring up from flat
- `active → idle`: Bars spring back to flat

---

### H3. Translation Reveal
**File:** `translation-reveal.riv`
**Artboard size:** 400×100px
**Use case:** Word translation, flashcard reveal, vocabulary display

**State machine name:** `TranslationReveal`

**Inputs:**

| Input | Type |
|-------|------|
| `trigger` | Trigger |

**Animation (one-shot):**
- Word appears character by character (typewriter effect, 40ms per char)
- After full word: brief glow/shimmer sweep left→right
- Language flag icon pops in to the left of the word (scale 0→1, 200ms spring)

---

## DELIVERY REQUIREMENTS (All Packages)

### File naming
Each file named exactly as specified in the package spec above.

### State machine naming
Each state machine named exactly as specified. Input names are case-sensitive.

### Testing requirement
Every `.riv` file must:
1. Load and preview without errors in the Rive editor (rive.app/editor)
2. All state machine inputs be confirmed working by sharing a Rive preview link before final delivery
3. No unused layers, hidden artboards, or test assets in the final file

### File size targets
| Package | Target file size |
|---------|-----------------|
| A (Quiz UI) | < 200KB total |
| B (Gamification) | < 300KB total |
| C (Nav/Shell) | < 150KB total |
| D (Subject icons) | < 200KB total |
| E (Edu widgets) | < 400KB total |
| F (Onboarding) | < 300KB total |
| G (Micro-interactions) | < 100KB total |
| H (Language) | < 150KB total |

### Format
- Export as `.riv` for the latest Rive runtime (currently 2024 runtime)
- Do not use deprecated Rive 1 format

---

## QUOTE REQUEST

Please provide individual quotes for each package (A through H) plus the companion character (Sections 1–10 of this document). We may commission packages separately in phases.

**For each package, quote:**
1. Flat delivery price (USD)
2. Estimated turnaround (business days)
3. Number of revision rounds included
4. Whether you have prior examples of Rive state machine work (share Rive preview links, not video)

**Preferred experience:**
- Demonstrated Rive state machine work (not just timeline animations)
- At least one prior project using Number inputs to drive animation parameters at runtime
- Experience with educational or children's product design is a plus but not required

---

## APPENDIX: DRIBBBLE / CONTACT FORM MESSAGE

> Copy-paste the text below (789 characters):

Hi! I'm commissioning a Rive animator to create an interactive robot cat companion for an educational kids app (ages 3-18). The character needs 16 emotion states (idle, talking, thinking, celebrating, empathetic, pointing, error, sleeping, confused, excited, focused, surprised, proud, encouraging, curious, waving) driven by a single numeric state machine input, plus mouse-tracking eye follow via two float inputs. Delivery is a single .riv file with an "EmotionController" state machine, 256x256 artboard. Budget is $50-200 depending on whether we do 8 core or all 16 states. This is a work-for-hire commission with full IP assignment on delivery. I have a detailed technical spec ready to share. Interested? I'd love to see your rate and timeline.
