open-design/design-templates/html-ppt-zhangzara-capsule/example.html
Tom Huang b5eb8c1647
feat: generic skills + split skills/design-templates + finalize-design API (#955)
* feat: general-purpose skills with @-mention composition and user import

Lift skills from "one mode-bound skill per project" to a generic capability
the user can compose per turn:

- Daemon: scan multiple skill roots (user-skills under runtime data, then
  the bundled `skills/`); user-imported skills can shadow built-ins by id.
- New `POST /api/skills/import` and `DELETE /api/skills/:id` endpoints,
  with CONFLICT/BAD_REQUEST/NOT_FOUND error codes and built-in delete
  protection.
- ChatRequest gains `skillIds: string[]`; the chat run concatenates each
  picked skill's body (and merges craftRequires) into the system prompt
  for that turn only — the project's persistent `skillId` is untouched.
- Web composer: `@` popover now lists skills alongside project files;
  picks render as removable chips above the textarea and ride along with
  the request as `skillIds`.
- Settings → Library: import form (name/description/triggers/body),
  per-card delete for user skills, "user" origin badge.

* chore(web): drop welcome pet teaser + add ds→prompt-template mapping util

- SettingsDialog: remove the inline pet adoption teaser from the welcome
  panel so the first-run modal stays focused on configuration.
- New `inferPromptTemplateCategoriesForDs(ds)` helper that maps a design
  system's authored metadata to prompt-template gallery categories.
  Imported by the design-system gallery wiring on a sibling branch; no
  callers in this branch yet.

* feat: split skills/design-templates and add finalize-design API

Phase 0 of the skills/design-templates refactor (specs/current/
skills-and-design-templates.md):

- Move ~104 rendering catalogue entries from skills/ to design-templates/
  and keep skills/ for the small set of functional skills that *do work*
  on user input (utilities, briefs, packagers).
- Add design-templates/AGENTS.md and skills/AGENTS.md describing the
  contract, and a brand-agnostic craft/ surface for opt-in craft rules.
- Daemon: add DESIGN_TEMPLATES_DIR / USER_DESIGN_TEMPLATES_DIR roots and
  an /api/design-templates surface mirroring /api/skills. Asset/example
  routes still span both registries so existing srcdoc URLs keep
  resolving across the rename.
- Web: split LibrarySection into SkillsSection + DesignSystemsSection,
  rename the EntryView "Examples" tab to "Templates", and update locales
  + the New-project picker accordingly.

Adds the finalize-design endpoint:

- New apps/daemon/src/finalize-design.ts and packages/contracts/src/api/
  finalize.ts — one-shot synthesis of a project's transcript + active
  design system + current artifact into <projectDir>/DESIGN.md via the
  Anthropic Messages API. Per-project .finalize.lock mirrors the
  transcript-export hygiene from PR #493; provider credentials are not
  persisted by the daemon.

Other supporting changes:

- README + AGENTS.md updates to document the new directory split and
  craft/ surface, plus i18n strings across 13 locales.
- Test refactors and new coverage (finalize-design, runs, sidecar
  server, plus refreshed daemon integration tests).
- .gitignore: scope the *.exe ignore to /OpenDesign.exe so legitimate
  vendor binaries are no longer hidden.

* fix(merge): move clinical-case-report to design-templates/

Origin/main added the clinical-case-report skill under skills/ before
the skills/design-templates split landed. Its od.mode is prototype, so
per specs/current/skills-and-design-templates.md it is a design template
and belongs alongside the other rendering catalogue entries — not under
the slimmed-down functional skills/ root. Moving it keeps the EntryView
Templates tab consistent with origin/main's intent.

* feat(skills): curated design/creative catalogue + collapsible Settings rows

Seed ~100 curated design/creative skill stubs under skills/ sourced from
awesome-claude-skills (ComposioHQ) and awesome-agent-skills (VoltAgent).
Each stub carries an od.category tag so the new filter pill row in
Settings -> Skills can group them. The seed script
(scripts/seed-curated-design-skills.ts, pnpm seed:curated-design-skills)
is idempotent: it only creates folders that don't already exist, so
hand-edited stubs are never overwritten.

- Daemon: parse and surface od.category on SkillInfo with a strict slug
  normaliser; mirror the field on SkillSummary in @open-design/contracts.
  Category is purely a UI hint — system-prompt composition is unchanged.
- Web: rewrite SkillsSection from a left-list / right-detail grid into a
  vertical stack of collapsible rows mirroring the External MCP panel
  (header always visible with name + mode/source/category pills + per-row
  enable toggle; SKILL.md preview, file tree and inline edit form expand
  on demand). Add a Category filter row above the list. Reorder Settings
  nav so Skills + External MCP sit above the Composio/MCP cluster. Update
  composer placeholder/hint across 17 locales to advertise '@ files or
  skills · / for commands'.
- Docs: extend skills/AGENTS.md with the curated catalogue rules
  (idempotency, category vocabulary, no upstream vendoring).

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(skills): teach localized-content + system-prompt tests about the skills/design-templates split

mrcfps blocking review on PR #955: the skills/design-templates split
(b5993385) moved ~110 SKILL.md entries out of `skills/` and into
`design-templates/`, but two repo-level tests still hard-coded the
single-root layout, so CI gates went red on the merged branch:

- `e2e/tests/localized-content.test.ts` only scanned `<repo>/skills`
  while the locale `skillCopy` map keeps id-keyed entries spanning
  both roots (ExamplesTab/Templates uses one lookup regardless of
  origin). Teach the helper to read both `skills/` and
  `design-templates/`, deduplicating ids so the union matches the
  localized claim.
- `apps/daemon/tests/prompts/system.test.ts` read
  `skills/live-artifact/SKILL.md`, which now lives under
  `design-templates/live-artifact/`. Update the absolute path so
  composeSystemPrompt's coverage of the live-artifact preamble is
  exercised again.

Also enroll the curated design/creative catalogue (PR #955, ~91
stubs sourced from awesome-claude-skills / awesome-agent-skills) in
the DE / FR / RU `_SKILL_IDS_WITH_EN_FALLBACK` lists. The stubs are
English-only by design (frontmatter advertises an upstream URL); the
fallback list is exactly the place to acknowledge "we know this id
exists, English copy is fine here" so the localized-content coverage
gate passes without forcing a translation task per locale.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skills): always quote frontmatter name so importUserSkill round-trips numeric / boolean ids

mrcfps PR #955 review: `buildSkillMarkdown` emitted `name:
${escapeYamlString(name)}` without quotes, so YAML coerced names
like `123`, `true`, `false`, or `null` into non-string scalars on
re-parse. listSkills() then read `data.name` as a number/boolean
and the import flow's follow-up `findSkillById(skills, result.id)`
missed it, falling into `/api/skills/import`'s "imported skill
could not be re-read" 500 path for those ids.

Switch the emitter to a quoted scalar (`name: "..."`) — the
double-escape already in `escapeYamlString` makes the quoted form
safe — and add a round-trip test covering `123`, `true`, `false`,
`null`, and `0` to lock in the contract.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(web): drop staged-skill chips when the matching @<id> token leaves the draft

mrcfps PR #955 review: `submit()` always forwarded every id in
`stagedSkills`, but that state was only mutated on picker click and
chip removal. Hand-deleting an `@<id>` token from the textarea left
the chip staged, so the request still carried `skillIds: [<id>]` and
the daemon composed a skill the prompt no longer referenced.

Sync the chips with the draft inside `handleChange()` by pruning
`stagedSkills` whenever the new value no longer contains the
`@<id>` token (using the same whitespace boundary as
`removeStagedSkill`'s strip regex). Comment explains why this
prune does not run for `staged` file attachments — users frequently
add files via the upload button without leaving an `@<path>` token,
so a symmetric prune there would erase legitimate uploads.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(daemon): stage @-composed skills' side files alongside the active skill

codex PR #955 review: composing a per-turn `@`-picked skill into the
system prompt appended its body (with the `withSkillRootPreamble`
guidance pointing at relative paths under `<cwd>/.od-skills/<folder>/`)
but never staged the actual folder. `startChatRun` only copied
`activeSkillDir`, so when the project's primary skill was different
(or absent) the composed skill's references/, examples/, and scripts/
files lived only at their absolute repo path — agents that honour
the cwd-relative form (or that don't get `--add-dir`, e.g. Codex with
allowlisted gpt-image projects) couldn't reach them.

Thread the composed skills' dirs out of `composeDaemonSystemPrompt`
as `extraSkillDirs` and stage each one through the same
`stageActiveSkill` API used for the primary skill. Dedupe by folder
basename so a project whose primary skill is also `@`-composed isn't
copied twice. Each preamble already advertises its own folder, so the
prompt and the staged tree stay aligned without further changes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(web): respect the Library disable toggle in the project @-mention picker

codex PR #955 review: only `EntryView` received `enabledSkills`
(filtered against `config.disabledSkills`); active projects still
got `skills={skills}` raw, so a skill the user disabled in Settings
kept appearing in the project's `@`-mention popover and could ride
along to the daemon via `skillIds`. That broke the Library toggle
for any project opened on the post-split branch.

Compute a functional-skills-only enabled subset
(`enabledFunctionalSkills`) and pass it into `<ProjectView>` instead.
Templates stay separate — design-templates are filtered through their
own `enabledDesignTemplates` memo for the Templates gallery — so
ProjectView's chat composer still only sees skills, never templates,
matching the pre-split prop surface.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(e2e): mock /api/design-templates for example-use-prompt flow

The Templates tab in EntryView fetches from /api/design-templates after
the skills/design-templates split (specs/current/skills-and-design-templates.md).
The example-use-prompt Playwright scenario only mocked /api/skills, so the
gallery card never appeared and the test timed out waiting on
example-card-warm-utility-example. Serve the same fixture summary on both
endpoints so the templates gallery renders the card the test clicks.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(tools-pack): create design-templates fixture for resources test

The packaging resources copy now bundles the new design-templates tree
alongside skills (see resources.ts BUNDLED_RESOURCE_TREES). The
copyBundledResourceTrees fixture only created skills, design-systems,
craft, etc., so the recursive copy crashed with ENOENT on
design-templates before it could check the prompt-templates assertion.
Add the missing fixture directory so the test exercises the same set
of resource trees the packaged build does.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(skills): clone built-in side files into the shadow on first edit

mrcfps PR #955 review: editing a built-in skill wrote a USER_SKILLS_DIR
shadow folder that contained only a new SKILL.md. The next listSkills()
pass surfaced the shadow as the active dir, but every side-file resolver
(/api/skills/:id/files, /example, /assets/*, the system-prompt preamble,
and the per-turn cwd staging) reads through skill.dir. With nothing but
SKILL.md in the shadow, the bundled assets/, references/, scripts/, and
examples/ disappeared the moment the user hit save — a built-in like
last30days or live-artifact would break immediately after edit instead
of just having its body overridden.

Teach updateUserSkill() to take a `sourceDir` and clone every entry
except SKILL.md / dotfiles into the shadow on the very first edit. The
shadow stays self-contained, so all the resolvers keep working without
fallback bookkeeping. Subsequent edits detect the existing shadow and
skip the clone, so user tweaks under the side tree survive a re-save.

Wire `sourceDir: skill.dir` from server.ts's PUT /api/skills/:id handler
and add two regression tests:
- 'clones built-in side files into the shadow on the first edit' walks
  the file tree after save and asserts assets/template.html, references/
  notes.md, and scripts/helper.sh all round-trip from the built-in.
- 'preserves user-edited side files on subsequent edits' edits the
  staged assets/template.html, re-saves, and confirms the user content
  is still there.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(e2e): rename home tab from Examples to Templates

The Examples tab was renamed to Templates in EntryView (b5993385's
skills/design-templates split — entry.tabExamples became entry.tabTemplates
and the tab value moved from 'examples' to 'templates'), but
entry-chrome-flows still asserted the old label and testId. Update both.

* fix(skills+web): preserve template body in API mode and dir-based skill delete

Two follow-ups from PR #955 review:

1. ProjectView only received `enabledFunctionalSkills`, but
   `composedSystemPrompt()` still resolved `project.skillId` through that
   prop and `fetchSkill()`. Projects created from the new
   `/api/design-templates` surface keep a template id in `project.skillId`,
   so opening one in API mode dropped the template body from the system
   prompt and the upstream request ran without the project's primary
   template instructions. Now ProjectView takes a separate
   `designTemplates` prop (the unfiltered template list, so a
   later-disabled template still loads for projects already created from
   it) and `composedSystemPrompt()` plus the metadata / `isDeck` lookups
   fall back to that list, with `fetchDesignTemplate()` as the body-fetch
   fallback to `fetchSkill()`. The chat composer's `@`-picker keeps
   receiving only the enabled functional skills.

2. `DELETE /api/skills/:id` used `deleteUserSkill(USER_SKILLS_DIR, skill.id)`
   which re-slugified the frontmatter id and removed
   `<userSkillsDir>/<slug>/`. That matched the import shape but missed the
   install shape — `installFromTarget` writes the folder at
   `sanitizeRepoName(url)` (GitHub) or `path.basename(realpath)` (local
   symlink), neither of which is guaranteed to equal the slugified
   frontmatter `name`. A duplicate `app.delete('/api/skills/:id', ...)`
   handler at the install routes never fired because Express resolved the
   earlier registration first, leaving the install/uninstall path without
   working teardown. The handler now removes `skill.dir` (the absolute
   path listSkills already discovered) under a USER_SKILLS_DIR safety
   check, using `lstat` + `unlinkSync` so symlinked local installs unlink
   cleanly without recursing into the user's source tree. The dead
   duplicate handler is removed; `deleteUserSkill` is dropped from the
   server.ts import set (still exported and unit-tested in skills.ts).
   Regression coverage in `apps/daemon/tests/skills-delete-route.test.ts`
   pins both shapes plus the symlink-preserves-source case.

* test(daemon): point hyperframes system-prompt test at design-templates

The merge with main brought in a hyperframes system-prompt test that
reads `skills/hyperframes/SKILL.md`, but this branch's split moved
`hyperframes` into `design-templates/` (same migration as `live-artifact`
already handled above in this file). CI was failing with ENOENT on the
old path.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 17:48:34 +08:00

1413 lines
41 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Capsule — Presentation Template</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg: #F5F5F0;
--fg: #1A1A1A;
--coral: #E85D4E;
--lime: #C4D94E;
--lavender: #C5B5E0;
--sky: #8BB4F7;
--violet: #A06CE8;
--yellow: #F2D160;
--peach: #F5B895;
--mint: #A8E6CF;
--outline: #1E1E1E;
--shadow: rgba(26, 26, 26, 0.08);
--font-display: 'Bodoni Moda', serif;
--font-body: 'Space Grotesk', sans-serif;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background: var(--bg);
font-family: var(--font-body);
color: var(--fg);
}
/* Grain texture overlay */
.grain-overlay {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 9999;
opacity: 0.04;
mix-blend-mode: multiply;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 200px 200px;
}
.presentation {
width: 100%;
height: 100%;
position: relative;
}
.slide {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
padding: 3rem 4rem;
opacity: 0;
pointer-events: none;
transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}
.slide.active {
opacity: 1;
pointer-events: all;
}
/* Decorative pill elements */
.pill {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
border: 2px solid var(--outline);
font-family: var(--font-body);
font-weight: 500;
letter-spacing: 0.02em;
white-space: nowrap;
}
.pill-filled {
border-width: 2px;
}
.pill-coral { background: var(--coral); }
.pill-lime { background: var(--lime); }
.pill-lavender { background: var(--lavender); }
.pill-sky { background: var(--sky); }
.pill-violet { background: var(--violet); }
.pill-yellow { background: var(--yellow); }
.pill-peach { background: var(--peach); }
.pill-mint { background: var(--mint); }
.pill-white { background: #fff; }
.pill-outline {
background: transparent;
}
/* Navigation dots */
.nav-dots {
position: fixed;
right: 2rem;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 0.75rem;
z-index: 100;
}
.nav-dot {
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid var(--outline);
background: transparent;
cursor: pointer;
transition: all 0.3s ease;
}
.nav-dot.active {
background: var(--outline);
transform: scale(1.2);
}
/* Slide counter */
.slide-counter {
position: fixed;
bottom: 2rem;
right: 2rem;
font-family: var(--font-body);
font-size: 0.75rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--fg);
opacity: 0.5;
z-index: 100;
}
/* Keyboard hint */
.nav-hint {
position: fixed;
bottom: 2rem;
left: 2rem;
font-family: var(--font-body);
font-size: 0.65rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--fg);
opacity: 0.3;
z-index: 100;
}
/* ============================================
SLIDE 1 — Title
============================================ */
.slide-1 {
justify-content: center;
align-items: center;
background:
radial-gradient(ellipse at 20% 80%, rgba(200, 217, 78, 0.15) 0%, transparent 50%),
radial-gradient(ellipse at 80% 20%, rgba(139, 180, 247, 0.12) 0%, transparent 50%),
radial-gradient(ellipse at 50% 50%, rgba(245, 184, 149, 0.08) 0%, transparent 60%),
var(--bg);
}
.slide-1 .deco-pills {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.slide-1 .deco-pill {
position: absolute;
border-radius: 9999px;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-body);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.slide-1 .main-title {
font-family: var(--font-display);
font-size: clamp(3rem, 8vw, 7rem);
font-weight: 800;
line-height: 0.9;
text-align: center;
letter-spacing: -0.02em;
color: var(--fg);
position: relative;
z-index: 2;
}
.slide-1 .main-title .subtitle {
display: block;
font-family: var(--font-body);
font-size: clamp(0.8rem, 1.5vw, 1.1rem);
font-weight: 400;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-top: 1.5rem;
color: var(--fg);
opacity: 0.6;
}
.slide-1 .title-pill {
position: relative;
z-index: 2;
background: var(--yellow);
padding: 1.5rem 3.5rem;
border-radius: 9999px;
border: 2px solid var(--outline);
margin-bottom: 2rem;
font-family: var(--font-body);
font-weight: 600;
font-size: 0.85rem;
letter-spacing: 0.12em;
text-transform: uppercase;
}
/* ============================================
SLIDE 2 — Introduction / Split
============================================ */
.slide-2 {
justify-content: center;
background:
radial-gradient(ellipse at 0% 50%, rgba(160, 108, 232, 0.08) 0%, transparent 50%),
var(--bg);
}
.slide-2 .slide-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
max-width: 1200px;
width: 100%;
margin: 0 auto;
}
.slide-2 .left-content {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.slide-2 .left-content h2 {
font-family: var(--font-display);
font-size: clamp(2rem, 4vw, 3.5rem);
font-weight: 700;
line-height: 1.05;
letter-spacing: -0.02em;
}
.slide-2 .left-content p {
font-family: var(--font-body);
font-size: clamp(0.95rem, 1.2vw, 1.15rem);
line-height: 1.6;
opacity: 0.7;
max-width: 90%;
}
.slide-2 .left-content .accent-line {
width: 60px;
height: 4px;
background: var(--coral);
border-radius: 9999px;
}
.slide-2 .right-visual {
position: relative;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
}
.slide-2 .right-visual .orbit-pill {
position: absolute;
border-radius: 9999px;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
box-shadow: 6px 6px 0 var(--shadow);
}
.slide-2 .right-visual .orbit-center {
width: 160px;
height: 160px;
border-radius: 50%;
background: var(--lime);
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-size: 2.5rem;
font-weight: 700;
z-index: 2;
}
/* ============================================
SLIDE 3 — Three Pillars / Cards
============================================ */
.slide-3 {
justify-content: center;
background:
radial-gradient(ellipse at 100% 0%, rgba(232, 93, 78, 0.06) 0%, transparent 40%),
radial-gradient(ellipse at 0% 100%, rgba(139, 180, 247, 0.08) 0%, transparent 40%),
var(--bg);
}
.slide-3 .slide-inner {
max-width: 1200px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 3rem;
}
.slide-3 .slide-header {
text-align: center;
margin-bottom: 1rem;
}
.slide-3 .slide-header h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.5vw, 3rem);
font-weight: 700;
letter-spacing: -0.01em;
}
.slide-3 .slide-header .header-pill {
display: inline-block;
background: var(--lavender);
padding: 0.4rem 1.2rem;
border-radius: 9999px;
border: 2px solid var(--outline);
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 1rem;
}
.slide-3 .cards-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.slide-3 .pillar-card {
background: #fff;
border: 2px solid var(--outline);
border-radius: 2rem;
padding: 2.5rem 2rem;
display: flex;
flex-direction: column;
gap: 1.25rem;
box-shadow: 8px 8px 0 var(--shadow);
transition: transform 0.3s ease;
}
.slide-3 .pillar-card .card-icon {
width: 60px;
height: 60px;
border-radius: 50%;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 700;
flex-shrink: 0;
}
.slide-3 .pillar-card h3 {
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 700;
line-height: 1.1;
}
.slide-3 .pillar-card p {
font-size: 0.9rem;
line-height: 1.55;
opacity: 0.65;
}
/* ============================================
SLIDE 4 — Data / Bar Chart
============================================ */
.slide-4 {
justify-content: center;
background:
radial-gradient(ellipse at 50% 100%, rgba(200, 217, 78, 0.1) 0%, transparent 50%),
var(--bg);
}
.slide-4 .slide-inner {
max-width: 1000px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.slide-4 .slide-header h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.5vw, 3rem);
font-weight: 700;
text-align: center;
letter-spacing: -0.01em;
}
.slide-4 .chart-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
background: #fff;
border: 2px solid var(--outline);
border-radius: 2rem;
padding: 3rem;
box-shadow: 8px 8px 0 var(--shadow);
}
.slide-4 .chart-row {
display: flex;
align-items: center;
gap: 1.5rem;
}
.slide-4 .chart-label {
width: 140px;
font-family: var(--font-body);
font-size: 0.85rem;
font-weight: 500;
text-align: right;
flex-shrink: 0;
}
.slide-4 .chart-bar-track {
flex: 1;
height: 36px;
background: var(--bg);
border-radius: 9999px;
border: 2px solid var(--outline);
overflow: hidden;
position: relative;
}
.slide-4 .chart-bar-fill {
height: 100%;
border-radius: 9999px;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 1rem;
font-size: 0.75rem;
font-weight: 600;
transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
border-right: 2px solid var(--outline);
}
.slide-4 .chart-value {
width: 60px;
font-size: 0.9rem;
font-weight: 600;
flex-shrink: 0;
}
/* ============================================
SLIDE 5 — Statement / Quote
============================================ */
.slide-5 {
justify-content: center;
align-items: center;
background:
radial-gradient(ellipse at 30% 70%, rgba(245, 209, 96, 0.15) 0%, transparent 45%),
radial-gradient(ellipse at 70% 30%, rgba(160, 108, 232, 0.1) 0%, transparent 45%),
var(--bg);
}
.slide-5 .statement-box {
max-width: 900px;
text-align: center;
position: relative;
padding: 3rem;
}
.slide-5 .statement-box .quote-mark {
font-family: var(--font-display);
font-size: 8rem;
line-height: 0;
color: var(--coral);
opacity: 0.3;
position: absolute;
top: 2rem;
left: 0;
}
.slide-5 .statement-box blockquote {
font-family: var(--font-display);
font-size: clamp(1.6rem, 3.5vw, 3rem);
font-weight: 600;
font-style: italic;
line-height: 1.35;
letter-spacing: -0.01em;
position: relative;
z-index: 1;
}
.slide-5 .statement-box .quote-highlight {
display: inline-block;
background: var(--lime);
padding: 0.1rem 0.8rem;
border-radius: 9999px;
border: 2px solid var(--outline);
font-style: normal;
font-weight: 700;
}
.slide-5 .statement-box .quote-highlight.alt {
background: var(--sky);
}
.slide-5 .statement-box .attribution {
margin-top: 2rem;
font-family: var(--font-body);
font-size: 0.85rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
opacity: 0.5;
}
.slide-5 .floating-pills {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.slide-5 .floating-pills .f-pill {
position: absolute;
border-radius: 9999px;
border: 2px solid var(--outline);
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
display: flex;
align-items: center;
justify-content: center;
}
/* ============================================
SLIDE 6 — Process / Timeline
============================================ */
.slide-6 {
justify-content: center;
background:
radial-gradient(ellipse at 50% 0%, rgba(232, 93, 78, 0.06) 0%, transparent 40%),
var(--bg);
}
.slide-6 .slide-inner {
max-width: 1100px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.slide-6 .slide-header {
text-align: center;
}
.slide-6 .slide-header h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.5vw, 3rem);
font-weight: 700;
letter-spacing: -0.01em;
}
.slide-6 .timeline {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
position: relative;
padding-top: 1rem;
}
.slide-6 .timeline-track {
position: absolute;
top: 2.5rem;
left: 5%;
right: 5%;
height: 4px;
background: var(--bg);
border-radius: 9999px;
border: 2px solid var(--outline);
z-index: 0;
}
.slide-6 .timeline-step {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
position: relative;
z-index: 1;
flex: 1;
max-width: 220px;
}
.slide-6 .timeline-step .step-node {
width: 56px;
height: 56px;
border-radius: 50%;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--font-display);
font-size: 1.3rem;
font-weight: 700;
background: #fff;
flex-shrink: 0;
box-shadow: 4px 4px 0 var(--shadow);
}
.slide-6 .timeline-step .step-label {
text-align: center;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
line-height: 1.3;
}
.slide-6 .timeline-step .step-desc {
text-align: center;
font-size: 0.8rem;
line-height: 1.4;
opacity: 0.55;
margin-top: -0.5rem;
}
/* ============================================
SLIDE 7 — Statistics / Numbers
============================================ */
.slide-7 {
justify-content: center;
background:
radial-gradient(ellipse at 80% 80%, rgba(200, 217, 78, 0.1) 0%, transparent 40%),
radial-gradient(ellipse at 20% 20%, rgba(245, 184, 149, 0.1) 0%, transparent 40%),
var(--bg);
}
.slide-7 .slide-inner {
max-width: 1100px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 3rem;
}
.slide-7 .slide-header {
text-align: center;
}
.slide-7 .slide-header h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.5vw, 3rem);
font-weight: 700;
letter-spacing: -0.01em;
}
.slide-7 .stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
}
.slide-7 .stat-pill {
background: #fff;
border: 2px solid var(--outline);
border-radius: 2rem;
padding: 2rem 1.5rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.75rem;
box-shadow: 6px 6px 0 var(--shadow);
}
.slide-7 .stat-pill .stat-number {
font-family: var(--font-display);
font-size: clamp(2rem, 3.5vw, 3rem);
font-weight: 800;
line-height: 1;
letter-spacing: -0.03em;
}
.slide-7 .stat-pill .stat-label {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
opacity: 0.6;
line-height: 1.3;
}
.slide-7 .stat-pill .stat-bar {
width: 40px;
height: 4px;
border-radius: 9999px;
margin-top: 0.25rem;
}
/* ============================================
SLIDE 8 — Diagram / Flow
============================================ */
.slide-8 {
justify-content: center;
background:
radial-gradient(ellipse at 50% 50%, rgba(139, 180, 247, 0.08) 0%, transparent 50%),
var(--bg);
}
.slide-8 .slide-inner {
max-width: 1000px;
width: 100%;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.slide-8 .slide-header {
text-align: center;
}
.slide-8 .slide-header h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.5vw, 3rem);
font-weight: 700;
letter-spacing: -0.01em;
}
.slide-8 .diagram-container {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
position: relative;
}
.slide-8 .diagram-node {
border-radius: 9999px;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-weight: 600;
font-size: 0.85rem;
line-height: 1.3;
padding: 1rem 2rem;
box-shadow: 6px 6px 0 var(--shadow);
z-index: 2;
background: #fff;
min-width: 140px;
min-height: 60px;
}
.slide-8 .diagram-connector {
width: 50px;
height: 4px;
background: var(--outline);
position: relative;
}
.slide-8 .diagram-connector::after {
content: '';
position: absolute;
right: -6px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-left: 10px solid var(--outline);
}
.slide-8 .diagram-branch {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.slide-8 .diagram-joiner {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 2px;
height: 100%;
background: var(--outline);
z-index: 0;
}
/* ============================================
SLIDE 9 — Split with Visual Frame
============================================ */
.slide-9 {
justify-content: center;
background:
radial-gradient(ellipse at 100% 50%, rgba(245, 209, 96, 0.1) 0%, transparent 50%),
var(--bg);
}
.slide-9 .slide-inner {
max-width: 1200px;
width: 100%;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.slide-9 .visual-side {
position: relative;
height: 450px;
display: flex;
align-items: center;
justify-content: center;
}
.slide-9 .visual-frame {
width: 100%;
height: 100%;
border-radius: 2rem;
border: 2px solid var(--outline);
background:
linear-gradient(135deg, var(--lavender) 0%, var(--sky) 50%, var(--mint) 100%);
position: relative;
overflow: hidden;
box-shadow: 12px 12px 0 var(--shadow);
}
.slide-9 .visual-frame .frame-pattern {
position: absolute;
inset: 0;
opacity: 0.15;
background-image:
radial-gradient(circle at 25% 25%, var(--outline) 2px, transparent 2px),
radial-gradient(circle at 75% 75%, var(--outline) 2px, transparent 2px);
background-size: 40px 40px;
}
.slide-9 .visual-frame .frame-content {
position: absolute;
inset: 2rem;
border-radius: 1.5rem;
border: 2px dashed var(--outline);
display: flex;
align-items: center;
justify-content: center;
}
.slide-9 .visual-frame .frame-content span {
font-family: var(--font-body);
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.1em;
opacity: 0.5;
}
.slide-9 .text-side {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.slide-9 .text-side h2 {
font-family: var(--font-display);
font-size: clamp(2rem, 4vw, 3.5rem);
font-weight: 700;
line-height: 1.05;
letter-spacing: -0.02em;
}
.slide-9 .text-side p {
font-size: clamp(0.9rem, 1.1vw, 1.05rem);
line-height: 1.6;
opacity: 0.65;
}
.slide-9 .text-side .text-pills {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-top: 0.5rem;
}
.slide-9 .text-side .text-pills .mini-pill {
padding: 0.35rem 1rem;
border-radius: 9999px;
border: 2px solid var(--outline);
font-size: 0.7rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.06em;
}
/* ============================================
SLIDE 10 — Closing
============================================ */
.slide-10 {
justify-content: center;
align-items: center;
background:
radial-gradient(ellipse at 20% 20%, rgba(200, 217, 78, 0.12) 0%, transparent 40%),
radial-gradient(ellipse at 80% 80%, rgba(245, 184, 149, 0.12) 0%, transparent 40%),
radial-gradient(ellipse at 50% 50%, rgba(160, 108, 232, 0.06) 0%, transparent 50%),
var(--bg);
}
.slide-10 .closing-content {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
position: relative;
z-index: 2;
}
.slide-10 .closing-pill {
background: var(--yellow);
padding: 1rem 2.5rem;
border-radius: 9999px;
border: 2px solid var(--outline);
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.12em;
}
.slide-10 h2 {
font-family: var(--font-display);
font-size: clamp(2.5rem, 6vw, 5rem);
font-weight: 800;
line-height: 0.95;
letter-spacing: -0.03em;
max-width: 700px;
}
.slide-10 .closing-line {
width: 80px;
height: 4px;
background: var(--coral);
border-radius: 9999px;
}
.slide-10 .closing-sub {
font-family: var(--font-body);
font-size: 0.85rem;
font-weight: 400;
letter-spacing: 0.12em;
text-transform: uppercase;
opacity: 0.5;
}
.slide-10 .deco-pills-closing {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.slide-10 .deco-pills-closing .c-pill {
position: absolute;
border-radius: 9999px;
border: 2px solid var(--outline);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
}
/* Responsive adjustments */
@media (max-width: 900px) {
.slide { padding: 2rem; }
.slide-2 .slide-inner,
.slide-9 .slide-inner { grid-template-columns: 1fr; gap: 2rem; }
.slide-3 .cards-grid { grid-template-columns: 1fr; }
.slide-7 .stats-grid { grid-template-columns: repeat(2, 1fr); }
.slide-6 .timeline { flex-direction: column; align-items: center; gap: 2rem; }
.slide-6 .timeline-track { display: none; }
.slide-4 .chart-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.slide-4 .chart-label { text-align: left; }
.nav-dots { display: none; }
}
@media (max-width: 600px) {
.slide-7 .stats-grid { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<div class="grain-overlay"></div>
<div class="presentation">
<!-- SLIDE 1: Title -->
<div class="slide slide-1 active" data-slide="1">
<div class="deco-pills">
<div class="deco-pill pill-coral" style="width:120px;height:55px;top:12%;left:8%;transform:rotate(-12deg);font-size:0.85rem;">Concept</div>
<div class="deco-pill pill-lavender" style="width:160px;height:60px;top:18%;right:12%;transform:rotate(8deg);font-size:0.9rem;">Strategy</div>
<div class="deco-pill pill-sky" style="width:110px;height:50px;top:72%;left:15%;transform:rotate(6deg);font-size:0.8rem;">Vision</div>
<div class="deco-pill pill-lime" style="width:135px;height:55px;top:78%;right:18%;transform:rotate(-8deg);font-size:0.85rem;">Future</div>
<div class="deco-pill pill-peach" style="width:85px;height:85px;border-radius:50%;top:15%;left:45%;transform:rotate(0deg);font-size:0.75rem;">2026</div>
<div class="deco-pill pill-white" style="width:105px;height:48px;top:65%;right:8%;transform:rotate(15deg);font-size:0.75rem;opacity:0.6;">Design</div>
<div class="deco-pill pill-violet" style="width:90px;height:90px;border-radius:50%;top:75%;left:5%;transform:rotate(0deg);font-size:0.7rem;">Next</div>
</div>
<div class="title-pill">Presentation Template</div>
<h1 class="main-title">
CAPSULE
<span class="subtitle">A Framework for Bold Ideas</span>
</h1>
</div>
<!-- SLIDE 2: Introduction Split -->
<div class="slide slide-2" data-slide="2">
<div class="slide-inner">
<div class="left-content">
<div class="accent-line"></div>
<h2>Every Great Endeavor Begins with a Single Thought</h2>
<p>We believe in the power of structured creativity. By combining rigorous methodology with unbounded imagination, teams can transform abstract concepts into tangible outcomes that resonate deeply with their audience.</p>
<p>This template exists to give shape to your boldest visions. It is a starting point, a scaffold, and a catalyst for the work that matters most.</p>
</div>
<div class="right-visual">
<div class="orbit-center">01</div>
<div class="orbit-pill pill-coral" style="width:90px;height:42px;top:10%;left:20%;transform:rotate(-20deg);">Research</div>
<div class="orbit-pill pill-lime" style="width:100px;height:45px;top:5%;right:15%;transform:rotate(15deg);">Ideation</div>
<div class="orbit-pill pill-sky" style="width:95px;height:42px;bottom:15%;left:10%;transform:rotate(10deg);">Prototype</div>
<div class="orbit-pill pill-lavender" style="width:110px;height:48px;bottom:10%;right:10%;transform:rotate(-12deg);">Iterate</div>
<div class="orbit-pill pill-yellow" style="width:80px;height:38px;top:40%;left:0%;transform:rotate(25deg);font-size:0.65rem;">Launch</div>
<div class="orbit-pill pill-violet" style="width:85px;height:40px;top:45%;right:0%;transform:rotate(-18deg);font-size:0.65rem;">Scale</div>
</div>
</div>
</div>
<!-- SLIDE 3: Three Pillars -->
<div class="slide slide-3" data-slide="3">
<div class="slide-inner">
<div class="slide-header">
<div class="header-pill">Core Principles</div>
<h2>The Foundation of Every Decision</h2>
</div>
<div class="cards-grid">
<div class="pillar-card">
<div class="card-icon pill-coral">I</div>
<h3>Clarity of Purpose</h3>
<p>Before any action is taken, define the north star that guides every subsequent choice. A well-articulated objective eliminates ambiguity and aligns stakeholders toward a unified destination.</p>
</div>
<div class="pillar-card">
<div class="card-icon pill-lime">II</div>
<h3>Structured Flexibility</h3>
<p>Rigorous frameworks need not constrain creativity. The most effective systems provide scaffolding while leaving ample room for improvisation, adaptation, and unexpected breakthroughs.</p>
</div>
<div class="pillar-card">
<div class="card-icon pill-sky">III</div>
<h3>Measured Impact</h3>
<p>Success is not a feeling but a quantity. Establish clear metrics early, track them honestly, and allow data to inform the evolution of your approach without dictating it entirely.</p>
</div>
</div>
</div>
</div>
<!-- SLIDE 4: Data / Chart -->
<div class="slide slide-4" data-slide="4">
<div class="slide-inner">
<div class="slide-header">
<h2>Performance Indicators</h2>
</div>
<div class="chart-container">
<div class="chart-row">
<div class="chart-label">Market Reach</div>
<div class="chart-bar-track">
<div class="chart-bar-fill pill-coral" style="width: 82%;">82%</div>
</div>
<div class="chart-value">8.2M</div>
</div>
<div class="chart-row">
<div class="chart-label">Engagement</div>
<div class="chart-bar-track">
<div class="chart-bar-fill pill-lime" style="width: 67%;">67%</div>
</div>
<div class="chart-value">4.5M</div>
</div>
<div class="chart-row">
<div class="chart-label">Conversion</div>
<div class="chart-bar-track">
<div class="chart-bar-fill pill-sky" style="width: 45%;">45%</div>
</div>
<div class="chart-value">2.1M</div>
</div>
<div class="chart-row">
<div class="chart-label">Retention</div>
<div class="chart-bar-track">
<div class="chart-bar-fill pill-violet" style="width: 91%;">91%</div>
</div>
<div class="chart-value">7.8M</div>
</div>
<div class="chart-row">
<div class="chart-label">Satisfaction</div>
<div class="chart-bar-track">
<div class="chart-bar-fill pill-yellow" style="width: 74%;">74%</div>
</div>
<div class="chart-value">6.3M</div>
</div>
</div>
</div>
</div>
<!-- SLIDE 5: Statement / Quote -->
<div class="slide slide-5" data-slide="5">
<div class="floating-pills">
<div class="f-pill pill-coral" style="width:80px;height:35px;top:10%;left:8%;transform:rotate(-15deg);font-size:0.6rem;">Bold</div>
<div class="f-pill pill-lavender" style="width:100px;height:40px;top:15%;right:10%;transform:rotate(12deg);font-size:0.65rem;">Inspire</div>
<div class="f-pill pill-sky" style="width:90px;height:38px;bottom:12%;left:12%;transform:rotate(8deg);font-size:0.6rem;">Create</div>
<div class="f-pill pill-lime" style="width:110px;height:42px;bottom:18%;right:8%;transform:rotate(-10deg);font-size:0.7rem;">Elevate</div>
<div class="f-pill pill-violet" style="width:70px;height:70px;border-radius:50%;top:8%;left:40%;font-size:0.55rem;">Now</div>
<div class="f-pill pill-peach" style="width:75px;height:35px;bottom:8%;left:45%;transform:rotate(20deg);font-size:0.55rem;">Today</div>
</div>
<div class="statement-box">
<div class="quote-mark">&ldquo;</div>
<blockquote>
The best time to plant a tree was twenty years ago. The second best time is <span class="quote-highlight">right now</span>. Every moment of hesitation is a moment where <span class="quote-highlight alt">possibility</span> quietly dims.
</blockquote>
<div class="attribution">A Philosophy of Action</div>
</div>
</div>
<!-- SLIDE 6: Timeline -->
<div class="slide slide-6" data-slide="6">
<div class="slide-inner">
<div class="slide-header">
<h2>Phased Implementation</h2>
</div>
<div class="timeline">
<div class="timeline-track"></div>
<div class="timeline-step">
<div class="step-node pill-coral">1</div>
<div class="step-label">Discovery</div>
<div class="step-desc">Map the terrain before you traverse it</div>
</div>
<div class="timeline-step">
<div class="step-node pill-lime">2</div>
<div class="step-label">Definition</div>
<div class="step-desc">Sharpen the question to find the answer</div>
</div>
<div class="timeline-step">
<div class="step-node pill-sky">3</div>
<div class="step-label">Development</div>
<div class="step-desc">Build with intent, iterate with care</div>
</div>
<div class="timeline-step">
<div class="step-node pill-violet">4</div>
<div class="step-label">Delivery</div>
<div class="step-desc">Ship the work, then make it better</div>
</div>
<div class="timeline-step">
<div class="step-node pill-yellow">5</div>
<div class="step-label">Evolution</div>
<div class="step-desc">Growth is a process, not a destination</div>
</div>
</div>
</div>
</div>
<!-- SLIDE 7: Statistics -->
<div class="slide slide-7" data-slide="7">
<div class="slide-inner">
<div class="slide-header">
<h2>Key Metrics at a Glance</h2>
</div>
<div class="stats-grid">
<div class="stat-pill">
<div class="stat-number" style="color: var(--coral);">340%</div>
<div class="stat-label">Growth in<br>Active Users</div>
<div class="stat-bar pill-coral"></div>
</div>
<div class="stat-pill">
<div class="stat-number" style="color: var(--lime);">12.4M</div>
<div class="stat-label">Total Reach<br>Across Channels</div>
<div class="stat-bar pill-lime"></div>
</div>
<div class="stat-pill">
<div class="stat-number" style="color: var(--sky);">98.2%</div>
<div class="stat-label">System<br>Uptime Record</div>
<div class="stat-bar pill-sky"></div>
</div>
<div class="stat-pill">
<div class="stat-number" style="color: var(--violet);">4.9</div>
<div class="stat-label">Average User<br>Satisfaction Score</div>
<div class="stat-bar pill-violet"></div>
</div>
</div>
</div>
</div>
<!-- SLIDE 8: Diagram / Flow -->
<div class="slide slide-8" data-slide="8">
<div class="slide-inner">
<div class="slide-header">
<h2>System Architecture Overview</h2>
</div>
<div class="diagram-container">
<div class="diagram-node pill-white" style="min-width:120px;">Input Layer</div>
<div class="diagram-connector"></div>
<div class="diagram-node pill-lavender" style="min-width:140px;">Processing Core</div>
<div class="diagram-connector"></div>
<div class="diagram-node" style="background:var(--lime);min-width:120px;">Decision Engine</div>
<div class="diagram-connector"></div>
<div class="diagram-node pill-coral" style="min-width:120px;">Output Stream</div>
</div>
<div style="display:flex;justify-content:center;gap:2rem;margin-top:2.5rem;">
<div style="text-align:center;max-width:180px;">
<div class="pill pill-filled pill-sky" style="padding:0.5rem 1.2rem;font-size:0.7rem;margin-bottom:0.5rem;">Data Ingestion</div>
<div style="font-size:0.75rem;opacity:0.55;line-height:1.4;">Raw signals are captured and normalized from multiple sources in real time</div>
</div>
<div style="text-align:center;max-width:180px;">
<div class="pill pill-filled pill-violet" style="padding:0.5rem 1.2rem;font-size:0.7rem;margin-bottom:0.5rem;">Transformation</div>
<div style="font-size:0.75rem;opacity:0.55;line-height:1.4;">Information is enriched, filtered, and structured for downstream consumption</div>
</div>
<div style="text-align:center;max-width:180px;">
<div class="pill pill-filled pill-yellow" style="padding:0.5rem 1.2rem;font-size:0.7rem;margin-bottom:0.5rem;">Distribution</div>
<div style="font-size:0.75rem;opacity:0.55;line-height:1.4;">Results are routed to appropriate endpoints with guaranteed delivery</div>
</div>
</div>
</div>
</div>
<!-- SLIDE 9: Split with Visual -->
<div class="slide slide-9" data-slide="9">
<div class="slide-inner">
<div class="visual-side">
<div class="visual-frame">
<div class="frame-pattern"></div>
<div class="frame-content">
<span>Visual Placeholder</span>
</div>
</div>
</div>
<div class="text-side">
<h2>Where Vision Meets Execution</h2>
<p>Great ideas deserve more than good intentions. They demand rigorous craft, thoughtful iteration, and an unwavering commitment to the user experience at every touchpoint.</p>
<p>Our methodology bridges the gap between aspiration and reality. By grounding creative instinct in empirical insight, we produce work that is simultaneously daring and dependable.</p>
<div class="text-pills">
<div class="mini-pill pill-coral">Research</div>
<div class="mini-pill pill-lime">Strategy</div>
<div class="mini-pill pill-sky">Design</div>
<div class="mini-pill pill-violet">Build</div>
<div class="mini-pill pill-yellow">Measure</div>
</div>
</div>
</div>
</div>
<!-- SLIDE 10: Closing -->
<div class="slide slide-10" data-slide="10">
<div class="deco-pills-closing">
<div class="c-pill pill-lime" style="width:100px;height:42px;top:15%;left:10%;transform:rotate(-12deg);font-size:0.65rem;">Continue</div>
<div class="c-pill pill-sky" style="width:80px;height:38px;top:20%;right:12%;transform:rotate(15deg);font-size:0.6rem;">Explore</div>
<div class="c-pill pill-lavender" style="width:110px;height:45px;bottom:20%;left:12%;transform:rotate(10deg);font-size:0.7rem;">Discover</div>
<div class="c-pill pill-coral" style="width:70px;height:70px;border-radius:50%;bottom:15%;right:15%;font-size:0.6rem;">Go</div>
<div class="c-pill pill-violet" style="width:90px;height:40px;top:50%;left:5%;transform:rotate(-20deg);font-size:0.6rem;">Begin</div>
<div class="c-pill pill-yellow" style="width:85px;height:38px;top:45%;right:8%;transform:rotate(18deg);font-size:0.55rem;">Launch</div>
<div class="c-pill pill-peach" style="width:75px;height:35px;top:8%;left:50%;transform:rotate(5deg);font-size:0.55rem;opacity:0.7;">More</div>
</div>
<div class="closing-content">
<div class="closing-pill">The Journey Continues</div>
<h2>Thank You for Your Attention</h2>
<div class="closing-line"></div>
<div class="closing-sub">Questions and conversation welcome</div>
</div>
</div>
</div>
<div class="nav-dots">
<div class="nav-dot active" data-slide="1"></div>
<div class="nav-dot" data-slide="2"></div>
<div class="nav-dot" data-slide="3"></div>
<div class="nav-dot" data-slide="4"></div>
<div class="nav-dot" data-slide="5"></div>
<div class="nav-dot" data-slide="6"></div>
<div class="nav-dot" data-slide="7"></div>
<div class="nav-dot" data-slide="8"></div>
<div class="nav-dot" data-slide="9"></div>
<div class="nav-dot" data-slide="10"></div>
</div>
<div class="slide-counter"><span id="current">01</span> / 10</div>
<div class="nav-hint">Use arrow keys to navigate</div>
<script>
const slides = document.querySelectorAll('.slide');
const dots = document.querySelectorAll('.nav-dot');
const counterCurrent = document.getElementById('current');
let currentSlide = 1;
const totalSlides = slides.length;
function goToSlide(n) {
if (n < 1) n = totalSlides;
if (n > totalSlides) n = 1;
currentSlide = n;
slides.forEach(s => s.classList.remove('active'));
dots.forEach(d => d.classList.remove('active'));
const activeSlide = document.querySelector(`.slide[data-slide="${currentSlide}"]`);
const activeDot = document.querySelector(`.nav-dot[data-slide="${currentSlide}"]`);
if (activeSlide) activeSlide.classList.add('active');
if (activeDot) activeDot.classList.add('active');
counterCurrent.textContent = String(currentSlide).padStart(2, '0');
}
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowRight' || e.key === 'ArrowDown' || e.key === ' ') {
e.preventDefault();
goToSlide(currentSlide + 1);
} else if (e.key === 'ArrowLeft' || e.key === 'ArrowUp') {
e.preventDefault();
goToSlide(currentSlide - 1);
} else if (e.key === 'Home') {
e.preventDefault();
goToSlide(1);
} else if (e.key === 'End') {
e.preventDefault();
goToSlide(totalSlides);
}
});
dots.forEach(dot => {
dot.addEventListener('click', () => {
goToSlide(parseInt(dot.dataset.slide));
});
});
let touchStartX = 0;
let touchEndX = 0;
document.addEventListener('touchstart', (e) => {
touchStartX = e.changedTouches[0].screenX;
}, { passive: true });
document.addEventListener('touchend', (e) => {
touchEndX = e.changedTouches[0].screenX;
const diff = touchStartX - touchEndX;
if (Math.abs(diff) > 50) {
if (diff > 0) goToSlide(currentSlide + 1);
else goToSlide(currentSlide - 1);
}
}, { passive: true });
</script>
</body>
</html>