mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
* 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>
2144 lines
73 KiB
HTML
2144 lines
73 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<title>Broadside Presentation</title>
|
||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||
<!-- Broadside fonts: Barlow (the workhorse grotesque), IBM Plex Mono (chrome),
|
||
Noto Sans SC (CJK fallback for all roles) -->
|
||
<link
|
||
href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700;800;900&family=IBM+Plex+Mono:wght@300;400;500&family=Noto+Sans+SC:wght@400;500;700;900&display=swap"
|
||
rel="stylesheet"
|
||
/>
|
||
|
||
<style>
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE A · TOKENS ║
|
||
║ ║
|
||
║ This is the ONLY block you replace to change the visual style. ║
|
||
║ Every color, font, and size in this file reads from these vars. ║
|
||
║ Never write raw hex values, font names, or px sizes outside here. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
:root {
|
||
/* ── Palette ──────────────────────────────────────────────────────── */
|
||
--c-bg: #111111; /* near-black — the default slide background */
|
||
--c-bg-alt: #1a1a18; /* secondary surface on dark slides */
|
||
|
||
/* Broadside has NO light slides. These vars are overridden to dark
|
||
so any accidental .light class still renders dark. */
|
||
--c-bg-light: #111111;
|
||
--c-bg-light-alt: #1a1a18;
|
||
|
||
/* The signature: orange is not an accent here — it is the ENVIRONMENT.
|
||
Cover and chapter slides use this as their full background fill. */
|
||
--c-bg-orange: #e85d26;
|
||
|
||
--c-fg: #f0ece5; /* primary text on dark slides */
|
||
--c-fg-2: #888880; /* secondary / muted text on dark */
|
||
--c-fg-3: #505048; /* tertiary / hint text on dark */
|
||
|
||
/* Text colours for orange slides — ink on fire */
|
||
--c-fg-light: #111111; /* primary text on orange */
|
||
--c-fg-light-2: #2a1810; /* muted text on orange */
|
||
--c-fg-light-3: rgba(
|
||
17,
|
||
17,
|
||
17,
|
||
0.55
|
||
); /* hint text on orange */
|
||
|
||
--c-accent: #e85d26; /* orange = accent everywhere on dark slides */
|
||
--c-border: #282826; /* divider lines on dark slides */
|
||
--c-border-light: #282826; /* same dark border even on "light" (overridden)*/
|
||
|
||
/* ── Typography ──────────────────────────────────────────────────── */
|
||
/* Barlow: the defining typeface. Condensed grotesque. Always heavy.
|
||
Used at max weight — 900 for display, 800 for h1, 700 for h2.
|
||
Noto Sans SC provides full CJK coverage at matching weights. */
|
||
--f-display: "Barlow", "Noto Sans SC", sans-serif;
|
||
--f-heading: "Barlow", "Noto Sans SC", sans-serif;
|
||
--f-body: "Barlow", "Noto Sans SC", system-ui, sans-serif;
|
||
/* Mono: IBM Plex Mono for chrome labels, metadata, slide numbers */
|
||
--f-mono: "IBM Plex Mono", monospace;
|
||
|
||
/* ── Type Scale ───────────────────────────────────────────────────── */
|
||
/* Broadside's defining trait: TYPE IS MASSIVE. Display is 13vw —
|
||
on a 1440px screen that is ~187px. Words become graphic elements. */
|
||
--sz-display: 13vw; /* the whole point — nearly abstract at full size */
|
||
--sz-h1: 7.5vw; /* chapter title — still enormous */
|
||
--sz-h2: 4.5vw; /* slide headline */
|
||
--sz-h3: 2.8vw; /* sub-headline */
|
||
--sz-lead: 1.6vw; /* lead paragraph */
|
||
--sz-body: 1.2vw; /* body text */
|
||
--sz-caption: 0.9vw; /* captions, footnotes */
|
||
--sz-label: 0.72vw; /* chrome labels, slide numbers, metadata */
|
||
|
||
/* ── Spacing ─────────────────────────────────────────────────────── */
|
||
--pad-x: 5.5vw; /* tighter than skeleton — type fills the space */
|
||
--pad-y: 5.5vh;
|
||
--gap-lg: 3.5vh;
|
||
--gap-md: 2vh;
|
||
--gap-sm: 1vh;
|
||
|
||
/* ── Motion ──────────────────────────────────────────────────────── */
|
||
--ease-slide: cubic-bezier(0.77, 0, 0.175, 1);
|
||
--dur-slide: 0.8s;
|
||
--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
||
--dur-enter: 0.5s;
|
||
}
|
||
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE B · ENGINE — DO NOT MODIFY ║
|
||
║ ║
|
||
║ Layout engine, transitions, animation system, navigation. ║
|
||
║ Touching this breaks the mechanics. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
|
||
*,
|
||
*::before,
|
||
*::after {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
html,
|
||
body {
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
background: var(--c-bg);
|
||
-webkit-font-smoothing: antialiased;
|
||
}
|
||
|
||
/* Deck container — all slides sit side by side */
|
||
#deck {
|
||
display: flex;
|
||
height: 100vh;
|
||
/* Width = N * 100vw, set dynamically by JS */
|
||
transition: transform var(--dur-slide) var(--ease-slide);
|
||
will-change: transform;
|
||
}
|
||
|
||
/* Slide base — each slide is one full viewport */
|
||
.slide {
|
||
flex: 0 0 100vw;
|
||
width: 100vw;
|
||
height: 100vh;
|
||
position: relative;
|
||
padding: var(--pad-y) var(--pad-x);
|
||
display: grid;
|
||
grid-template-rows: auto 1fr auto;
|
||
overflow: hidden;
|
||
}
|
||
/* Prevent grid children from overflowing */
|
||
.slide-body {
|
||
min-height: 0;
|
||
}
|
||
|
||
/* Slide themes */
|
||
.slide.dark {
|
||
background: var(--c-bg);
|
||
color: var(--c-fg);
|
||
}
|
||
/* Broadside: .light is overridden to dark — there are no cream/white slides */
|
||
.slide.light {
|
||
background: var(--c-bg-light);
|
||
color: var(--c-fg);
|
||
}
|
||
/* The orange theme — the signature Broadside treatment */
|
||
.slide.orange {
|
||
background: var(--c-bg-orange);
|
||
color: var(--c-fg-light);
|
||
}
|
||
|
||
/* ── Animation system ──────────────────────────────────────────────── */
|
||
/* All data-anim elements start invisible.
|
||
They animate when their parent slide receives .is-active.
|
||
JS resets animations before adding .is-active so re-visiting a slide re-plays them. */
|
||
|
||
[data-anim] {
|
||
opacity: 0;
|
||
}
|
||
|
||
.slide.is-active [data-anim] {
|
||
animation-duration: var(--dur-enter);
|
||
animation-timing-function: var(--ease-enter);
|
||
animation-fill-mode: forwards;
|
||
}
|
||
.slide.is-active [data-anim="fade-up"] {
|
||
animation-name: kFadeUp;
|
||
}
|
||
.slide.is-active [data-anim="fade-in"] {
|
||
animation-name: kFadeIn;
|
||
}
|
||
.slide.is-active [data-anim="reveal-right"] {
|
||
animation-name: kRevealRight;
|
||
}
|
||
.slide.is-active [data-anim="reveal-left"] {
|
||
animation-name: kRevealLeft;
|
||
}
|
||
.slide.is-active [data-anim="scale-in"] {
|
||
animation-name: kScaleIn;
|
||
}
|
||
|
||
/* Stagger delays — add data-delay="N" to offset each element */
|
||
[data-delay="0"] {
|
||
animation-delay: 0s;
|
||
}
|
||
[data-delay="1"] {
|
||
animation-delay: 0.08s;
|
||
}
|
||
[data-delay="2"] {
|
||
animation-delay: 0.18s;
|
||
}
|
||
[data-delay="3"] {
|
||
animation-delay: 0.3s;
|
||
}
|
||
[data-delay="4"] {
|
||
animation-delay: 0.44s;
|
||
}
|
||
[data-delay="5"] {
|
||
animation-delay: 0.6s;
|
||
}
|
||
[data-delay="6"] {
|
||
animation-delay: 0.78s;
|
||
}
|
||
|
||
@keyframes kFadeUp {
|
||
from {
|
||
opacity: 0;
|
||
transform: translateY(28px);
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
transform: none;
|
||
}
|
||
}
|
||
@keyframes kFadeIn {
|
||
from {
|
||
opacity: 0;
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
}
|
||
}
|
||
@keyframes kRevealRight {
|
||
from {
|
||
clip-path: inset(0 100% 0 0);
|
||
opacity: 1;
|
||
}
|
||
to {
|
||
clip-path: inset(0 0% 0 0);
|
||
opacity: 1;
|
||
}
|
||
}
|
||
@keyframes kRevealLeft {
|
||
from {
|
||
clip-path: inset(0 0 0 100%);
|
||
opacity: 1;
|
||
}
|
||
to {
|
||
clip-path: inset(0 0 0 0%);
|
||
opacity: 1;
|
||
}
|
||
}
|
||
@keyframes kScaleIn {
|
||
from {
|
||
opacity: 0;
|
||
transform: scale(0.94);
|
||
}
|
||
to {
|
||
opacity: 1;
|
||
transform: none;
|
||
}
|
||
}
|
||
|
||
/* ── Navigation ───────────────────────────────────────────────────── */
|
||
#nav-dots {
|
||
position: fixed;
|
||
bottom: 24px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
display: flex;
|
||
gap: 7px;
|
||
z-index: 100;
|
||
}
|
||
.nav-dot {
|
||
width: 5px;
|
||
height: 5px;
|
||
border-radius: 50%;
|
||
border: none;
|
||
background: rgba(255, 255, 255, 0.22);
|
||
cursor: pointer;
|
||
transition:
|
||
background 0.3s,
|
||
transform 0.3s;
|
||
padding: 0;
|
||
}
|
||
.nav-dot.is-active {
|
||
background: rgba(255, 255, 255, 0.8);
|
||
transform: scale(1.4);
|
||
}
|
||
|
||
#slide-counter {
|
||
position: fixed;
|
||
bottom: 20px;
|
||
right: 28px;
|
||
font-family: var(--f-mono);
|
||
font-size: 10px;
|
||
letter-spacing: 0.12em;
|
||
color: rgba(255, 255, 255, 0.25);
|
||
z-index: 100;
|
||
user-select: none;
|
||
}
|
||
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE C · TYPOGRAPHY ║
|
||
║ ║
|
||
║ Use only these classes for text. Never set font-family, font-size, ║
|
||
║ or color inline. Exception: overriding size via ║
|
||
║ style="--sz-h2: 2.5vw" is OK — it stays within the token system. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
|
||
/* Base typographic classes — all font families read from tokens */
|
||
.display {
|
||
font-family: var(--f-display);
|
||
font-size: var(--sz-display);
|
||
/* Broadside: maximum weight. Lowercase is the aesthetic — NOT uppercase. */
|
||
font-weight: 900;
|
||
line-height: 0.88;
|
||
letter-spacing: -0.04em;
|
||
}
|
||
.h1 {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h1);
|
||
font-weight: 800;
|
||
line-height: 0.9;
|
||
letter-spacing: -0.03em;
|
||
}
|
||
.h2 {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h2);
|
||
font-weight: 700;
|
||
line-height: 1.1;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
.h3 {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h3);
|
||
font-weight: 600;
|
||
line-height: 1.2;
|
||
}
|
||
.lead {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-lead);
|
||
font-weight: 400;
|
||
line-height: 1.5;
|
||
}
|
||
.body {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
font-weight: 400;
|
||
line-height: 1.6;
|
||
}
|
||
.caption {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-caption);
|
||
font-weight: 400;
|
||
line-height: 1.5;
|
||
}
|
||
.label {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
font-weight: 500;
|
||
letter-spacing: 0.14em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
/* Contextual color helpers — reads from active slide theme */
|
||
.dark .muted {
|
||
color: var(--c-fg-2);
|
||
}
|
||
.light .muted {
|
||
color: var(--c-fg-2);
|
||
} /* light = dark in Broadside */
|
||
/* On orange slides: muted text is dark ink at reduced opacity */
|
||
.orange .muted {
|
||
color: var(--c-fg-light-2);
|
||
}
|
||
|
||
/* The orange accent colour — used for emphasis on dark slides */
|
||
.accent {
|
||
color: var(--c-accent);
|
||
}
|
||
|
||
/* ── Orange slide text overrides ────────────────────────────────────── */
|
||
/* On orange slides, display/heading text is near-black (ink on fire).
|
||
This is the protest-poster aesthetic: dark ink on vivid ground. */
|
||
.orange .display,
|
||
.orange .h1,
|
||
.orange .h2,
|
||
.orange .h3 {
|
||
color: #111111;
|
||
}
|
||
.orange .lead,
|
||
.orange .body {
|
||
color: rgba(17, 17, 17, 0.75);
|
||
}
|
||
.orange .label {
|
||
color: rgba(17, 17, 17, 0.55);
|
||
}
|
||
/* On orange, .accent still means "the contrast pop" — use sparingly */
|
||
.orange .accent {
|
||
color: #111111;
|
||
}
|
||
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE D · CHROME ║
|
||
║ ║
|
||
║ Header + footer present on slides that show them. ║
|
||
║ Cover, chapter, quote, and end slides suppress both. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
|
||
.slide-chrome,
|
||
.slide-foot {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
.slide-chrome {
|
||
padding-bottom: var(--gap-sm);
|
||
border-bottom: 1px solid var(--c-border);
|
||
margin-bottom: var(--gap-md);
|
||
}
|
||
.slide-foot {
|
||
padding-top: var(--gap-sm);
|
||
border-top: 1px solid var(--c-border);
|
||
margin-top: var(--gap-md);
|
||
}
|
||
|
||
/* On orange slides, chrome borders use dark ink at low opacity */
|
||
.orange .slide-chrome,
|
||
.orange .slide-foot {
|
||
border-color: rgba(17, 17, 17, 0.2);
|
||
}
|
||
|
||
/* Slides that suppress chrome/foot entirely */
|
||
.slide--cover .slide-chrome,
|
||
.slide--cover .slide-foot,
|
||
.slide--chapter .slide-chrome,
|
||
.slide--chapter .slide-foot,
|
||
.slide--quote .slide-chrome,
|
||
.slide--quote .slide-foot,
|
||
.slide--end .slide-chrome,
|
||
.slide--end .slide-foot {
|
||
display: none;
|
||
}
|
||
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE E · LAYOUT PATTERNS ║
|
||
║ ║
|
||
║ 9 slide types. Use the class names below — do not invent new ones. ║
|
||
║ Broadside note: .slide--cover and .slide--chapter use .orange ║
|
||
║ (not .dark or .light). Dark slides use .dark. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
|
||
/* ── 1. COVER ─────────────────────────────────────────────────────── */
|
||
/* Title slide. Always orange in Broadside. The broadside-num sits
|
||
top-left like a catalogue number. Title fills most of the slide. */
|
||
.slide--cover {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-end;
|
||
}
|
||
.cover-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
flex: 1;
|
||
justify-content: flex-end;
|
||
gap: var(--gap-md);
|
||
}
|
||
.cover-meta {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
margin-top: var(--gap-lg);
|
||
padding-top: var(--gap-sm);
|
||
border-top: 1px solid rgba(17, 17, 17, 0.2);
|
||
}
|
||
|
||
/* ── 2. CHAPTER ───────────────────────────────────────────────────── */
|
||
/* Section divider. Always orange in Broadside.
|
||
Big weight-900 title, no chrome, maximum negative space. */
|
||
.slide--chapter {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: 0;
|
||
}
|
||
.chapter-num {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.2em;
|
||
text-transform: uppercase;
|
||
/* On orange: dark ink; on dark: orange accent */
|
||
color: rgba(17, 17, 17, 0.55);
|
||
margin-bottom: var(--gap-md);
|
||
}
|
||
/* On dark chapter slides the number gets orange accent */
|
||
.dark .chapter-num {
|
||
color: var(--c-accent);
|
||
}
|
||
.chapter-rule {
|
||
width: 36px;
|
||
height: 2px;
|
||
background: #111111; /* dark rule on orange */
|
||
margin-bottom: var(--gap-md);
|
||
}
|
||
.dark .chapter-rule {
|
||
background: var(--c-accent);
|
||
}
|
||
|
||
/* ── 3. STATEMENT ─────────────────────────────────────────────────── */
|
||
/* Single bold claim. No image. The dark counterpart to the orange covers.
|
||
4-8 words max. Let the type breathe. */
|
||
.slide--statement .statement-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: var(--gap-md);
|
||
}
|
||
|
||
/* ── 4. SPLIT ─────────────────────────────────────────────────────── */
|
||
/* Left: text content. Right: image. Dark background.
|
||
Orange kicker/rule above the headline. */
|
||
.slide--split .slide-body {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: calc(var(--pad-x) * 0.7);
|
||
align-items: center;
|
||
}
|
||
.split-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
}
|
||
.split-image {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-start;
|
||
gap: var(--gap-sm);
|
||
}
|
||
/* Always explicit height in vh to prevent overflow on different screens */
|
||
.split-image img {
|
||
width: 100%;
|
||
height: 55vh;
|
||
object-fit: cover;
|
||
display: block;
|
||
}
|
||
/* Placeholder shown when no real image is wired up. Same footprint
|
||
as a real <img> so the surrounding layout stays unchanged. */
|
||
.img-placeholder {
|
||
width: 100%;
|
||
height: 55vh;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: rgba(255, 255, 255, 0.04);
|
||
border: 1px dashed var(--c-border);
|
||
font-family: var(--font-mono, "IBM Plex Mono", monospace);
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
color: var(--c-fg-2, var(--c-fg));
|
||
letter-spacing: 0.12em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
/* ── 5. STATS ─────────────────────────────────────────────────────── */
|
||
/* 3 or 4 large data cards. Add .cols-4 to .stats-grid for 4 columns. */
|
||
.slide--stats .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: var(--gap-lg);
|
||
}
|
||
.stats-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 0;
|
||
}
|
||
.stats-grid.cols-4 {
|
||
grid-template-columns: repeat(4, 1fr);
|
||
}
|
||
.stat-card {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-sm);
|
||
padding: var(--gap-md) var(--gap-md) var(--gap-md) 0;
|
||
border-top: 1px solid var(--c-border);
|
||
}
|
||
/* The big number — orange on dark slides */
|
||
.stat-value {
|
||
font-family: var(--f-display);
|
||
font-size: 5.5vw;
|
||
font-weight: 900;
|
||
line-height: 1;
|
||
color: var(--c-accent);
|
||
letter-spacing: -0.04em;
|
||
}
|
||
.stat-label {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
line-height: 1.5;
|
||
}
|
||
.stat-note {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-caption);
|
||
letter-spacing: 0.05em;
|
||
color: var(--c-fg-3);
|
||
}
|
||
|
||
/* ── 6. QUOTE ─────────────────────────────────────────────────────── */
|
||
/* Full-slide pull quote. Dark background. Orange opening mark. */
|
||
.slide--quote {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
padding: calc(var(--pad-y) * 1.2) calc(var(--pad-x) * 1.1);
|
||
}
|
||
.quote-mark {
|
||
font-family: var(--f-display);
|
||
font-size: 10vw;
|
||
line-height: 0.6;
|
||
color: var(--c-accent);
|
||
margin-bottom: var(--gap-md);
|
||
font-weight: 900;
|
||
}
|
||
.quote-text {
|
||
font-family: var(--f-display);
|
||
font-size: 3.8vw;
|
||
font-weight: 700;
|
||
line-height: 1.15;
|
||
letter-spacing: -0.02em;
|
||
max-width: 78%;
|
||
margin-bottom: var(--gap-lg);
|
||
}
|
||
.quote-attr {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.4vh;
|
||
}
|
||
|
||
/* ── 7. LIST ──────────────────────────────────────────────────────── */
|
||
/* Headline left, bullets right. Max 3 bullets in Broadside — this style
|
||
prizes density of impact over density of information. */
|
||
.slide--list .slide-body {
|
||
display: grid;
|
||
grid-template-columns: 2fr 3fr;
|
||
gap: calc(var(--pad-x) * 0.8);
|
||
align-items: center;
|
||
}
|
||
.list-head {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
padding-top: var(--gap-sm);
|
||
}
|
||
.bullet-list {
|
||
list-style: none;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
}
|
||
.bullet-list li {
|
||
display: grid;
|
||
grid-template-columns: 1.2em 1fr;
|
||
gap: 0.5em;
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-lead);
|
||
font-weight: 500;
|
||
line-height: 1.4;
|
||
}
|
||
/* Orange dash marker */
|
||
.bullet-list li::before {
|
||
content: "/";
|
||
color: var(--c-accent);
|
||
font-family: var(--f-mono);
|
||
font-weight: 700;
|
||
}
|
||
.dark .bullet-list li {
|
||
color: var(--c-fg);
|
||
}
|
||
.light .bullet-list li {
|
||
color: var(--c-fg);
|
||
}
|
||
|
||
/* ── 8. COMPARE ───────────────────────────────────────────────────── */
|
||
/* Side-by-side before/after or A vs B. Orange "after" label. */
|
||
.slide--compare .slide-body {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
height: 100%;
|
||
}
|
||
.compare-panel {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
padding: var(--gap-md) 0;
|
||
}
|
||
.compare-panel.left {
|
||
padding-right: calc(var(--pad-x) * 0.55);
|
||
border-right: 1px solid var(--c-border);
|
||
}
|
||
.compare-panel.right {
|
||
padding-left: calc(var(--pad-x) * 0.55);
|
||
}
|
||
.compare-label {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.16em;
|
||
text-transform: uppercase;
|
||
padding-bottom: var(--gap-sm);
|
||
border-bottom: 1px solid var(--c-border);
|
||
color: var(--c-fg-2);
|
||
}
|
||
/* The "after" panel uses orange — the payoff */
|
||
.compare-label.after {
|
||
color: var(--c-accent);
|
||
border-color: var(--c-accent);
|
||
}
|
||
|
||
/* ── 9. END ───────────────────────────────────────────────────────── */
|
||
/* Closing slide. Dark background. Massive closing headline. No chrome. */
|
||
.slide--end {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: var(--gap-md);
|
||
}
|
||
|
||
/* ╔══════════════════════════════════════════════════════════════════════╗
|
||
║ ZONE F · COMPONENTS ║
|
||
║ ║
|
||
║ Reusable pieces used across multiple layouts. ║
|
||
╚══════════════════════════════════════════════════════════════════════╝ */
|
||
|
||
/* Accent rule — orange on dark, dark-ink on orange */
|
||
.rule {
|
||
width: 36px;
|
||
height: 2px;
|
||
background: var(--c-accent);
|
||
}
|
||
.orange .rule {
|
||
background: #111111;
|
||
}
|
||
.rule.full {
|
||
width: 100%;
|
||
background: var(--c-border);
|
||
}
|
||
.orange .rule.full {
|
||
background: rgba(17, 17, 17, 0.2);
|
||
}
|
||
|
||
/* Eyebrow / kicker label — orange on dark, dark-ink on orange */
|
||
.kicker {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.14em;
|
||
text-transform: uppercase;
|
||
color: var(--c-accent);
|
||
}
|
||
.orange .kicker {
|
||
color: rgba(17, 17, 17, 0.55);
|
||
}
|
||
|
||
/* Bordered tag */
|
||
.tag {
|
||
display: inline-block;
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.14em;
|
||
text-transform: uppercase;
|
||
color: var(--c-accent);
|
||
border: 1px solid var(--c-accent);
|
||
padding: 0.3em 0.8em;
|
||
line-height: 1;
|
||
}
|
||
.orange .tag {
|
||
color: #111111;
|
||
border-color: rgba(17, 17, 17, 0.4);
|
||
}
|
||
|
||
/* Image caption */
|
||
.img-caption {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-caption);
|
||
letter-spacing: 0.04em;
|
||
opacity: 0.5;
|
||
margin-top: 0.8vh;
|
||
}
|
||
|
||
/* ── Broadside-specific: slide number ─────────────────────────────── */
|
||
/* The large catalogue number in the top-left corner of orange slides.
|
||
Inspired by SPACE10 deck: "01" in small mono, top-left, low opacity. */
|
||
.broadside-num {
|
||
font-family: var(--f-mono);
|
||
font-size: 1.1vw;
|
||
font-weight: 500;
|
||
letter-spacing: 0.1em;
|
||
color: rgba(17, 17, 17, 0.45); /* dark ink on orange */
|
||
}
|
||
/* On dark slides the number uses muted fg */
|
||
.dark .broadside-num {
|
||
color: var(--c-fg-3);
|
||
}
|
||
|
||
/* Corner label utility — used for section labels at slide edges */
|
||
.corner-label {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.1em;
|
||
text-transform: uppercase;
|
||
color: rgba(17, 17, 17, 0.4);
|
||
}
|
||
.dark .corner-label {
|
||
color: var(--c-fg-3);
|
||
}
|
||
|
||
/* Orange slide cover: a thin top strip showing the slide number + section name */
|
||
.broadside-top-chrome {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
margin-bottom: auto;
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
/* ── FADELIST (SPACE10 Before/During/After) ────────────────────────── */
|
||
.slide--fadelist {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
}
|
||
.fadelist-top {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
}
|
||
.fadelist-items {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
gap: 0;
|
||
line-height: 0.92;
|
||
}
|
||
.fadelist-item {
|
||
font-family: var(--f-display);
|
||
font-size: 7.5vw;
|
||
font-weight: 900;
|
||
letter-spacing: -0.03em;
|
||
color: #111111;
|
||
line-height: 1;
|
||
}
|
||
.fadelist-item:nth-child(2) {
|
||
opacity: 0.5;
|
||
}
|
||
.fadelist-item:nth-child(3) {
|
||
opacity: 0.22;
|
||
}
|
||
.fadelist-title {
|
||
font-family: var(--f-display);
|
||
font-size: 10.5vw;
|
||
font-weight: 900;
|
||
line-height: 0.9;
|
||
letter-spacing: -0.04em;
|
||
color: #111111;
|
||
align-self: flex-end;
|
||
}
|
||
|
||
/* Stats on orange: dark ink instead of cream */
|
||
.orange .stat-value {
|
||
color: #111111;
|
||
}
|
||
.orange .stat-label {
|
||
color: rgba(17, 17, 17, 0.65);
|
||
}
|
||
.orange .stat-note {
|
||
color: rgba(17, 17, 17, 0.4);
|
||
}
|
||
.orange .stat-card {
|
||
border-top-color: rgba(17, 17, 17, 0.22);
|
||
}
|
||
|
||
/* Compare: right panel gets orange fill */
|
||
.compare-panel.panel-orange {
|
||
padding-left: calc(var(--pad-x) * 0.55);
|
||
background: var(--c-accent);
|
||
}
|
||
.compare-panel.panel-orange .compare-label {
|
||
color: rgba(17, 17, 17, 0.55);
|
||
border-color: rgba(17, 17, 17, 0.22);
|
||
}
|
||
.compare-panel.panel-orange .h3 {
|
||
color: #111111;
|
||
}
|
||
.compare-panel.panel-orange .lead {
|
||
color: rgba(17, 17, 17, 0.7);
|
||
}
|
||
.compare-panel.panel-orange .bullet-list li {
|
||
color: #111111;
|
||
}
|
||
.compare-panel.panel-orange .bullet-list li::before {
|
||
color: rgba(17, 17, 17, 0.45);
|
||
}
|
||
|
||
/* ── CHART ─────────────────────────────────────────────────────────── */
|
||
.slide--chart .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
min-height: 0;
|
||
}
|
||
.chart-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
flex-shrink: 0;
|
||
}
|
||
.chart-wrapper {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-end;
|
||
min-height: 0;
|
||
}
|
||
.bar-track {
|
||
height: 30vh;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
gap: 4vw;
|
||
border-left: 1px solid var(--c-border);
|
||
padding-left: 0.5vw;
|
||
}
|
||
.orange .bar-track {
|
||
border-color: rgba(17, 17, 17, 0.2);
|
||
}
|
||
.bar-col {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: flex-end;
|
||
gap: 1vh;
|
||
height: 100%;
|
||
}
|
||
.bar-fill {
|
||
width: 100%;
|
||
background: var(--c-fg-3);
|
||
transition: height 0.6s var(--ease-enter);
|
||
}
|
||
.bar-fill.accent {
|
||
background: var(--c-accent);
|
||
}
|
||
.orange .bar-fill {
|
||
background: rgba(17, 17, 17, 0.22);
|
||
}
|
||
.orange .bar-fill.accent {
|
||
background: #111111;
|
||
}
|
||
.bar-x-label {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-caption);
|
||
letter-spacing: 0.1em;
|
||
color: var(--c-fg-3);
|
||
white-space: nowrap;
|
||
text-transform: uppercase;
|
||
}
|
||
.orange .bar-x-label {
|
||
color: rgba(17, 17, 17, 0.45);
|
||
}
|
||
.bar-val {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
font-weight: 700;
|
||
color: var(--c-fg-2);
|
||
}
|
||
.bar-val.hi {
|
||
color: var(--c-accent);
|
||
}
|
||
.orange .bar-val {
|
||
color: rgba(17, 17, 17, 0.55);
|
||
}
|
||
.orange .bar-val.hi {
|
||
color: #111111;
|
||
}
|
||
.chart-baseline {
|
||
height: 1px;
|
||
background: var(--c-border);
|
||
flex-shrink: 0;
|
||
margin-top: 1px;
|
||
}
|
||
.orange .chart-baseline {
|
||
background: rgba(17, 17, 17, 0.2);
|
||
}
|
||
.chart-source {
|
||
flex-shrink: 0;
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-caption);
|
||
color: var(--c-fg-3);
|
||
letter-spacing: 0.06em;
|
||
margin-top: var(--gap-sm);
|
||
}
|
||
.orange .chart-source {
|
||
color: rgba(17, 17, 17, 0.4);
|
||
}
|
||
|
||
/* ── DIAGRAM ────────────────────────────────────────────────────────── */
|
||
.slide--diagram .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: var(--gap-lg);
|
||
min-height: 0;
|
||
}
|
||
.flow {
|
||
display: flex;
|
||
align-items: stretch;
|
||
gap: 0;
|
||
}
|
||
.flow-step {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-sm);
|
||
padding-right: calc(var(--pad-x) * 0.35);
|
||
}
|
||
.flow-num {
|
||
font-family: var(--f-display);
|
||
font-size: 5vw;
|
||
font-weight: 900;
|
||
line-height: 1;
|
||
color: var(--c-accent);
|
||
letter-spacing: -0.03em;
|
||
}
|
||
.orange .flow-num {
|
||
color: rgba(17, 17, 17, 0.2);
|
||
}
|
||
.flow-title {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h3);
|
||
font-weight: 700;
|
||
line-height: 1.15;
|
||
color: var(--c-fg);
|
||
}
|
||
.orange .flow-title {
|
||
color: #111111;
|
||
}
|
||
.flow-desc {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
color: var(--c-fg-2);
|
||
line-height: 1.6;
|
||
font-weight: 400;
|
||
}
|
||
.orange .flow-desc {
|
||
color: rgba(17, 17, 17, 0.6);
|
||
}
|
||
.flow-arrow {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
padding-top: 1.2em;
|
||
padding-right: calc(var(--pad-x) * 0.35);
|
||
font-size: 2.2vw;
|
||
color: var(--c-accent);
|
||
font-weight: 300;
|
||
flex-shrink: 0;
|
||
}
|
||
.orange .flow-arrow {
|
||
color: rgba(17, 17, 17, 0.3);
|
||
}
|
||
/* ── PIE / DONUT CHART ──────────────────────────────────────────────── */
|
||
.slide--pie .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
min-height: 0;
|
||
}
|
||
.pie-row {
|
||
display: grid;
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: calc(var(--pad-x) * 0.7);
|
||
align-items: center;
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
.pie-donut {
|
||
width: min(28vw, 44vh);
|
||
height: min(28vw, 44vh);
|
||
border-radius: 50%;
|
||
position: relative;
|
||
flex-shrink: 0;
|
||
justify-self: center;
|
||
}
|
||
.pie-donut::after {
|
||
content: "";
|
||
position: absolute;
|
||
inset: 20%;
|
||
border-radius: 50%;
|
||
background: var(--c-bg);
|
||
}
|
||
.orange .pie-donut::after {
|
||
background: var(--c-bg-orange);
|
||
}
|
||
.pie-legend {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
}
|
||
.pie-item {
|
||
display: grid;
|
||
grid-template-columns: 0.8em 1fr auto;
|
||
gap: 1em;
|
||
align-items: center;
|
||
}
|
||
.pie-swatch {
|
||
width: 0.8em;
|
||
height: 0.8em;
|
||
border-radius: 2px;
|
||
flex-shrink: 0;
|
||
}
|
||
.pie-item-label {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-lead);
|
||
font-weight: 700;
|
||
line-height: 1.4;
|
||
}
|
||
.pie-item-val {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-body);
|
||
font-weight: 500;
|
||
letter-spacing: 0.06em;
|
||
color: var(--c-accent);
|
||
}
|
||
.orange .pie-item-val {
|
||
color: #111;
|
||
}
|
||
.pie-total {
|
||
margin-top: var(--gap-sm);
|
||
padding-top: var(--gap-sm);
|
||
border-top: 1px solid var(--c-border);
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-label);
|
||
letter-spacing: 0.1em;
|
||
color: var(--c-fg-3);
|
||
}
|
||
|
||
/* ── PYRAMID ─────────────────────────────────────────────────────────── */
|
||
.slide--pyramid .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
gap: var(--gap-md);
|
||
min-height: 0;
|
||
}
|
||
.pyramid {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 3px;
|
||
align-items: center;
|
||
}
|
||
.pyr-level {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 1.5vh 2.5vw;
|
||
border-left: 4px solid var(--c-accent);
|
||
transition: width 0.3s;
|
||
}
|
||
.orange .pyr-level {
|
||
border-left-color: rgba(17, 17, 17, 0.4);
|
||
}
|
||
.pyr-level:nth-child(1) {
|
||
background: color-mix(in srgb, var(--c-accent) 75%, var(--c-bg));
|
||
width: 36%;
|
||
}
|
||
.pyr-level:nth-child(2) {
|
||
background: color-mix(in srgb, var(--c-accent) 50%, var(--c-bg));
|
||
width: 52%;
|
||
}
|
||
.pyr-level:nth-child(3) {
|
||
background: color-mix(in srgb, var(--c-accent) 28%, var(--c-bg));
|
||
width: 68%;
|
||
}
|
||
.pyr-level:nth-child(4) {
|
||
background: color-mix(in srgb, var(--c-accent) 14%, var(--c-bg));
|
||
width: 84%;
|
||
}
|
||
.pyr-level:nth-child(5) {
|
||
background: color-mix(in srgb, var(--c-accent) 6%, var(--c-bg));
|
||
width: 100%;
|
||
}
|
||
.pyr-name {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h3);
|
||
font-weight: 900;
|
||
line-height: 1.1;
|
||
text-transform: lowercase;
|
||
}
|
||
.pyr-desc {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
color: var(--c-fg-2);
|
||
text-align: right;
|
||
max-width: 55%;
|
||
line-height: 1.4;
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* ── VERTICAL TIMELINE ───────────────────────────────────────────────── */
|
||
.slide--vtimeline {
|
||
grid-template-rows: auto auto 1fr auto;
|
||
}
|
||
.vt-hl {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h2);
|
||
font-weight: 900;
|
||
text-transform: lowercase;
|
||
letter-spacing: -0.03em;
|
||
padding-bottom: var(--gap-md);
|
||
border-bottom: 1px solid var(--c-border);
|
||
}
|
||
.vtimeline {
|
||
display: grid;
|
||
grid-template-columns: 8em 2px 1fr;
|
||
gap: 0;
|
||
min-height: 0;
|
||
padding-top: var(--gap-md);
|
||
}
|
||
.vt-date {
|
||
font-family: var(--f-mono);
|
||
font-size: var(--sz-caption);
|
||
letter-spacing: 0.1em;
|
||
color: var(--c-fg-3);
|
||
text-align: right;
|
||
padding: 0 1.5vw 3.5vh 0;
|
||
line-height: 1.4;
|
||
}
|
||
.vt-spine {
|
||
background: var(--c-border);
|
||
position: relative;
|
||
}
|
||
.vt-spine::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0.2em;
|
||
left: -5px;
|
||
width: 10px;
|
||
height: 10px;
|
||
background: var(--c-accent);
|
||
}
|
||
.vt-content {
|
||
padding: 0 0 3.5vh 1.5vw;
|
||
}
|
||
.vt-title {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h3);
|
||
font-weight: 900;
|
||
margin-bottom: 0.6vh;
|
||
line-height: 1.1;
|
||
text-transform: lowercase;
|
||
}
|
||
.vt-body {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
color: var(--c-fg-2);
|
||
line-height: 1.65;
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* ── CYCLE PROCESS ───────────────────────────────────────────────────── */
|
||
.slide--cycle .slide-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-md);
|
||
min-height: 0;
|
||
}
|
||
.cycle-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr 3em 1fr;
|
||
grid-template-rows: 1fr 3em 1fr;
|
||
gap: var(--gap-sm);
|
||
flex: 1;
|
||
min-height: 0;
|
||
align-items: center;
|
||
}
|
||
.cycle-step {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--gap-sm);
|
||
padding: var(--gap-md);
|
||
border-top: 3px solid var(--c-accent);
|
||
}
|
||
.cycle-num {
|
||
font-family: var(--f-display);
|
||
font-size: 4vw;
|
||
font-weight: 900;
|
||
color: var(--c-accent);
|
||
line-height: 1;
|
||
letter-spacing: -0.03em;
|
||
text-transform: lowercase;
|
||
}
|
||
.cycle-title {
|
||
font-family: var(--f-heading);
|
||
font-size: var(--sz-h3);
|
||
font-weight: 900;
|
||
line-height: 1.1;
|
||
text-transform: lowercase;
|
||
}
|
||
.cycle-desc {
|
||
font-family: var(--f-body);
|
||
font-size: var(--sz-body);
|
||
color: var(--c-fg-2);
|
||
line-height: 1.6;
|
||
font-weight: 400;
|
||
}
|
||
.cycle-arrow {
|
||
color: var(--c-fg-3);
|
||
font-size: 2.2vw;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body>
|
||
<div id="deck">
|
||
<!-- ══════════════════════════════════════════════════════════════════
|
||
LAYOUT 1 · COVER (Broadside: orange)
|
||
──────────────────────────────────────────────────────────────────
|
||
The SPACE10 aesthetic: full orange fill, "01" top-left in tiny mono,
|
||
section label top-right. Massive weight-900 lowercase title.
|
||
Tiny mono subtitle. Author + date in bottom corners.
|
||
══════════════════════════════════════════════════════════════════ -->
|
||
<section class="slide slide--cover orange">
|
||
<!-- Top chrome: slide number left, section label right -->
|
||
<div class="broadside-top-chrome">
|
||
<span class="broadside-num" data-anim="fade-in" data-delay="0"
|
||
>01</span
|
||
>
|
||
<span class="corner-label" data-anim="fade-in" data-delay="0"
|
||
>Broadside</span
|
||
>
|
||
</div>
|
||
|
||
<!-- Main content: fills the slide, anchored to bottom -->
|
||
<div class="cover-body">
|
||
<h1
|
||
class="display"
|
||
data-anim="fade-up"
|
||
data-delay="1"
|
||
style="max-width: 95%"
|
||
>
|
||
this is the broadside style
|
||
</h1>
|
||
<p
|
||
class="lead"
|
||
data-anim="fade-up"
|
||
data-delay="2"
|
||
style="opacity: 0.65; max-width: 55%"
|
||
>
|
||
Protest poster meets publication cover. Type so large it becomes
|
||
image.
|
||
</p>
|
||
</div>
|
||
|
||
<!-- Bottom meta: author left, date right -->
|
||
<div class="cover-meta" data-anim="fade-in" data-delay="3">
|
||
<span class="broadside-num">[[Author Name]]</span>
|
||
<span class="broadside-num">[Year] · Context</span>
|
||
</div>
|
||
</section>
|
||
<section class="slide slide--chapter orange">
|
||
<!-- Chapter number: top-left, same small mono as cover -->
|
||
<div
|
||
class="broadside-num"
|
||
data-anim="fade-in"
|
||
data-delay="0"
|
||
style="margin-bottom: var(--gap-lg)"
|
||
>
|
||
02 / Chapter
|
||
</div>
|
||
|
||
<h2 class="h1" data-anim="fade-up" data-delay="1">
|
||
the next chapter begins here
|
||
</h2>
|
||
|
||
<p
|
||
class="lead"
|
||
data-anim="fade-up"
|
||
data-delay="2"
|
||
style="max-width: 50%; margin-top: var(--gap-md); opacity: 0.65"
|
||
>
|
||
One optional sentence that frames what this section is about.
|
||
</p>
|
||
</section>
|
||
<section class="slide slide--statement dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">The Argument</span>
|
||
<span class="label muted">03</span>
|
||
</header>
|
||
|
||
<div class="statement-body">
|
||
<p class="kicker" data-anim="fade-in" data-delay="0">Core Thesis</p>
|
||
<div
|
||
class="rule"
|
||
data-anim="reveal-right"
|
||
data-delay="1"
|
||
style="margin: 1.8vh 0"
|
||
></div>
|
||
<!-- The .accent class makes this orange — the punchline -->
|
||
<h2
|
||
class="h1 accent"
|
||
data-anim="fade-up"
|
||
data-delay="2"
|
||
style="max-width: 75%"
|
||
>
|
||
orange is not an accent. it is the room.
|
||
</h2>
|
||
</div>
|
||
|
||
<footer class="slide-foot">
|
||
<span class="label muted">Broadside</span>
|
||
<span class="label muted">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--split dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">Details</span>
|
||
<span class="label muted">04</span>
|
||
</header>
|
||
|
||
<div class="slide-body">
|
||
<div class="split-text">
|
||
<p class="kicker" data-anim="fade-in" data-delay="0">Context</p>
|
||
<div
|
||
class="rule"
|
||
data-anim="reveal-right"
|
||
data-delay="1"
|
||
style="margin: 1.5vh 0"
|
||
></div>
|
||
<h2 class="h2" data-anim="fade-up" data-delay="2">
|
||
when content needs image support
|
||
</h2>
|
||
<p
|
||
class="lead muted"
|
||
data-anim="fade-up"
|
||
data-delay="3"
|
||
style="max-width: 90%"
|
||
>
|
||
One or two sentences of supporting context. Short. Dense. No
|
||
padding.
|
||
</p>
|
||
<!-- Broadside list: max 3 items, forward-slash bullet -->
|
||
<ul class="bullet-list" data-anim="fade-up" data-delay="4">
|
||
<li>First key supporting point</li>
|
||
<li>Second point, equally direct</li>
|
||
<li>Third and final — end strong</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="split-image" data-anim="reveal-right" data-delay="2">
|
||
<div class="img-placeholder">Image Placeholder</div>
|
||
<p class="img-caption">Image caption or source · Year</p>
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="slide-foot">
|
||
<span class="label muted">Broadside</span>
|
||
<span class="label muted">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--stats orange">
|
||
<header class="slide-chrome">
|
||
<span class="broadside-num">05</span>
|
||
<span class="corner-label">By the numbers</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<div class="stats-grid" data-anim="fade-up" data-delay="1">
|
||
<div class="stat-card">
|
||
<div class="stat-value" data-anim="scale-in" data-delay="1">
|
||
$3.5B
|
||
</div>
|
||
<div class="stat-label body">
|
||
Series E closed at $61.5B valuation
|
||
</div>
|
||
<div class="stat-note">[Source] · [Year]</div>
|
||
</div>
|
||
<div class="stat-card">
|
||
<div class="stat-value" data-anim="scale-in" data-delay="2">
|
||
3×
|
||
</div>
|
||
<div class="stat-label body">
|
||
Enterprise deployments up quarter over quarter
|
||
</div>
|
||
<div class="stat-note">Primary research</div>
|
||
</div>
|
||
<div class="stat-card">
|
||
<div class="stat-value" data-anim="scale-in" data-delay="3">
|
||
#1
|
||
</div>
|
||
<div class="stat-label body">
|
||
App Store ranking · [Product Name] · [Date]
|
||
</div>
|
||
<div class="stat-note">App Store Charts</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="broadside-num" style="opacity: 0.4">Broadside</span>
|
||
<span class="broadside-num" style="opacity: 0.4">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--fadelist orange">
|
||
<div class="fadelist-top">
|
||
<span class="broadside-num" data-anim="fade-in" data-delay="0"
|
||
>01</span
|
||
>
|
||
<div class="fadelist-items" data-anim="fade-up" data-delay="1">
|
||
<span class="fadelist-item">Before</span>
|
||
<span class="fadelist-item">During</span>
|
||
<span class="fadelist-item">After</span>
|
||
</div>
|
||
</div>
|
||
<div class="fadelist-title" data-anim="fade-up" data-delay="2">
|
||
the<br />session
|
||
</div>
|
||
<div
|
||
style="
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
padding-top: var(--gap-sm);
|
||
border-top: 1px solid rgba(17, 17, 17, 0.15);
|
||
"
|
||
>
|
||
<span class="broadside-num" style="opacity: 0.4"
|
||
>[Studio X] Guidelines</span
|
||
>
|
||
<span class="broadside-num" style="opacity: 0.4">06 / 10</span>
|
||
</div>
|
||
</section>
|
||
<section class="slide slide--list dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">The Framework</span>
|
||
<span class="label muted">07</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<div class="list-head">
|
||
<p class="kicker" data-anim="fade-in" data-delay="0">Four rules</p>
|
||
<h2 class="h2" data-anim="fade-up" data-delay="1">
|
||
what separates<br />signal from noise
|
||
</h2>
|
||
</div>
|
||
<ul class="bullet-list" data-anim="fade-up" data-delay="2">
|
||
<li>Ship before it's ready — learn faster than you plan</li>
|
||
<li>
|
||
One metric that matters — ignore everything else this quarter
|
||
</li>
|
||
<li>
|
||
The customer is always wrong about solutions, never about problems
|
||
</li>
|
||
<li>
|
||
Speed is a feature — slow companies don't get a second chance
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">Broadside</span>
|
||
<span class="label muted">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--quote dark">
|
||
<p
|
||
class="kicker accent"
|
||
data-anim="fade-in"
|
||
data-delay="0"
|
||
style="margin-bottom: var(--gap-lg)"
|
||
>
|
||
On speed
|
||
</p>
|
||
<div class="quote-text" data-anim="fade-up" data-delay="1">
|
||
"Move fast and you'll break things. Move slow and something else will
|
||
break you."
|
||
</div>
|
||
<div class="quote-attr" data-anim="fade-up" data-delay="2">
|
||
<span class="label accent">[Industry Leader]</span>
|
||
<span class="label muted">[Source] · [Year]</span>
|
||
</div>
|
||
</section>
|
||
<section class="slide slide--compare dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">Before · After</span>
|
||
<span class="label muted">09</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<div class="compare-panel left">
|
||
<div class="compare-label" data-anim="fade-in" data-delay="0">
|
||
Before
|
||
</div>
|
||
<h3 class="h3" data-anim="fade-up" data-delay="1">
|
||
six-month build cycles
|
||
</h3>
|
||
<p class="lead muted" data-anim="fade-up" data-delay="2">
|
||
Teams planned for months before shipping anything. By launch, the
|
||
market had moved.
|
||
</p>
|
||
<ul
|
||
class="bullet-list"
|
||
data-anim="fade-up"
|
||
data-delay="3"
|
||
style="--sz-lead: 1.2vw"
|
||
>
|
||
<li>Waterfall planning, quarterly roadmaps</li>
|
||
<li>User testing at the end, not the start</li>
|
||
<li>Success measured by features shipped</li>
|
||
</ul>
|
||
</div>
|
||
<div class="compare-panel panel-orange">
|
||
<div class="compare-label after" data-anim="fade-in" data-delay="0">
|
||
After
|
||
</div>
|
||
<h3
|
||
class="h3"
|
||
data-anim="fade-up"
|
||
data-delay="1"
|
||
style="color: #111"
|
||
>
|
||
two-week iteration loops
|
||
</h3>
|
||
<p
|
||
class="lead"
|
||
data-anim="fade-up"
|
||
data-delay="2"
|
||
style="color: rgba(17, 17, 17, 0.65)"
|
||
>
|
||
Ship a rough version. Watch what users actually do. Rebuild. Ship
|
||
again.
|
||
</p>
|
||
<ul
|
||
class="bullet-list"
|
||
data-anim="fade-up"
|
||
data-delay="3"
|
||
style="--sz-lead: 1.2vw"
|
||
>
|
||
<li>Weekly user sessions, continuous discovery</li>
|
||
<li>Metrics reviewed daily, not quarterly</li>
|
||
<li>Success measured by behavior change</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">Broadside</span>
|
||
<span class="label muted">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--chart dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">Growth Metrics</span>
|
||
<span class="label muted">11</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<div class="chart-header">
|
||
<h2 class="h2" data-anim="fade-up" data-delay="0">
|
||
revenue by quarter
|
||
</h2>
|
||
<span class="caption muted" data-anim="fade-in" data-delay="1"
|
||
>USD · Millions · FY 2025</span
|
||
>
|
||
</div>
|
||
<div class="chart-wrapper" data-anim="fade-up" data-delay="2">
|
||
<div class="bar-track">
|
||
<div class="bar-col">
|
||
<span class="bar-val">$1.2M</span>
|
||
<div class="bar-fill" style="height: 12vh"></div>
|
||
<span class="bar-x-label">Q1</span>
|
||
</div>
|
||
<div class="bar-col">
|
||
<span class="bar-val">$1.7M</span>
|
||
<div class="bar-fill" style="height: 17vh"></div>
|
||
<span class="bar-x-label">Q2</span>
|
||
</div>
|
||
<div class="bar-col">
|
||
<span class="bar-val">$2.1M</span>
|
||
<div class="bar-fill" style="height: 21vh"></div>
|
||
<span class="bar-x-label">Q3</span>
|
||
</div>
|
||
<div class="bar-col">
|
||
<span class="bar-val hi">$2.8M</span>
|
||
<div class="bar-fill accent" style="height: 28vh"></div>
|
||
<span class="bar-x-label">Q4</span>
|
||
</div>
|
||
</div>
|
||
<div class="chart-baseline"></div>
|
||
</div>
|
||
<p class="chart-source" data-anim="fade-in" data-delay="3">
|
||
Source: Internal finance data · Q4 2025 Annual Report
|
||
</p>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">Broadside</span>
|
||
<span class="label muted">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--diagram orange">
|
||
<header class="slide-chrome">
|
||
<span class="broadside-num">12</span>
|
||
<span class="corner-label">The Process</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<h2
|
||
class="h2"
|
||
style="color: #111; letter-spacing: -0.02em"
|
||
data-anim="fade-up"
|
||
data-delay="0"
|
||
>
|
||
how it works
|
||
</h2>
|
||
<div class="flow" data-anim="fade-up" data-delay="1">
|
||
<div class="flow-step">
|
||
<div class="flow-num">01</div>
|
||
<div class="flow-title">Discover</div>
|
||
<div class="flow-desc">
|
||
Talk to users. Read the data. Surface what's actually true vs.
|
||
what the team assumes.
|
||
</div>
|
||
</div>
|
||
<div class="flow-arrow">→</div>
|
||
<div class="flow-step">
|
||
<div class="flow-num">02</div>
|
||
<div class="flow-title">Define</div>
|
||
<div class="flow-desc">
|
||
Narrow to one problem worth solving. Write it as a testable
|
||
hypothesis, not a feature request.
|
||
</div>
|
||
</div>
|
||
<div class="flow-arrow">→</div>
|
||
<div class="flow-step">
|
||
<div class="flow-num">03</div>
|
||
<div class="flow-title">Design</div>
|
||
<div class="flow-desc">
|
||
Build the simplest thing that could prove or disprove the
|
||
hypothesis. Skip the polish.
|
||
</div>
|
||
</div>
|
||
<div class="flow-arrow">→</div>
|
||
<div class="flow-step">
|
||
<div class="flow-num">04</div>
|
||
<div class="flow-title">Deploy</div>
|
||
<div class="flow-desc">
|
||
Ship to real users. Measure behavior, not opinions. Repeat from
|
||
step one with new data.
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot" style="border-color: rgba(17, 17, 17, 0.15)">
|
||
<span class="broadside-num" style="opacity: 0.4">Broadside</span>
|
||
<span class="broadside-num" style="opacity: 0.4">[Author Name]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--pie dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">Market Share</span>
|
||
<span class="label muted">13</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<h2
|
||
class="h2"
|
||
data-anim="fade-up"
|
||
data-delay="0"
|
||
style="font-weight: 900"
|
||
>
|
||
where the market sits
|
||
</h2>
|
||
<div class="pie-row" data-anim="fade-up" data-delay="1">
|
||
<!-- Donut: conic-gradient segments match legend order -->
|
||
<div
|
||
class="pie-donut"
|
||
style="
|
||
background: conic-gradient(
|
||
var(--c-accent) 0% 40%,
|
||
#3a3a38 40% 68%,
|
||
#555550 68% 88%,
|
||
#282826 88% 100%
|
||
);
|
||
"
|
||
></div>
|
||
<div class="pie-legend">
|
||
<div class="pie-item">
|
||
<div
|
||
class="pie-swatch"
|
||
style="background: var(--c-accent)"
|
||
></div>
|
||
<span class="pie-item-label">Leader</span>
|
||
<span class="pie-item-val">40%</span>
|
||
</div>
|
||
<div class="pie-item">
|
||
<div class="pie-swatch" style="background: #3a3a38"></div>
|
||
<span class="pie-item-label">Challenger</span>
|
||
<span class="pie-item-val">28%</span>
|
||
</div>
|
||
<div class="pie-item">
|
||
<div class="pie-swatch" style="background: #555550"></div>
|
||
<span class="pie-item-label">Followers</span>
|
||
<span class="pie-item-val">20%</span>
|
||
</div>
|
||
<div class="pie-item">
|
||
<div class="pie-swatch" style="background: #282826"></div>
|
||
<span class="pie-item-label">Other</span>
|
||
<span class="pie-item-val">12%</span>
|
||
</div>
|
||
<div class="pie-total">TOTAL MARKET: $[X]B · [Year] ESTIMATE</div>
|
||
</div>
|
||
</div>
|
||
<p class="chart-source" data-anim="fade-in" data-delay="2">
|
||
Source: [Industry report] · [Year] · Estimates only
|
||
</p>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">[Author]</span>
|
||
<span class="label muted">[Year]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--pyramid dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">The Hierarchy</span>
|
||
<span class="label muted">14</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<h2
|
||
class="h2"
|
||
data-anim="fade-up"
|
||
data-delay="0"
|
||
style="font-weight: 900"
|
||
>
|
||
what actually matters
|
||
</h2>
|
||
<div class="pyramid" data-anim="fade-up" data-delay="1">
|
||
<div class="pyr-level">
|
||
<span class="pyr-name">mission</span>
|
||
<span class="pyr-desc">why this exists</span>
|
||
</div>
|
||
<div class="pyr-level">
|
||
<span class="pyr-name">strategy</span>
|
||
<span class="pyr-desc">what we're betting on</span>
|
||
</div>
|
||
<div class="pyr-level">
|
||
<span class="pyr-name">product</span>
|
||
<span class="pyr-desc">what we're building</span>
|
||
</div>
|
||
<div class="pyr-level">
|
||
<span class="pyr-name">growth</span>
|
||
<span class="pyr-desc">how we reach people</span>
|
||
</div>
|
||
<div class="pyr-level">
|
||
<span class="pyr-name">operations</span>
|
||
<span class="pyr-desc">how we run the day-to-day</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">[Author]</span>
|
||
<span class="label muted">[Year]</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--vtimeline dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">The Story</span>
|
||
<span class="label muted">15</span>
|
||
</header>
|
||
<div class="vt-hl" data-anim="fade-up" data-delay="0">
|
||
how we got here
|
||
</div>
|
||
<div class="vtimeline" data-anim="fade-up" data-delay="1">
|
||
<!-- Event 1 -->
|
||
<div class="vt-date">[Year −3]</div>
|
||
<div class="vt-spine"></div>
|
||
<div class="vt-content">
|
||
<div class="vt-title">the idea</div>
|
||
<div class="vt-body">
|
||
One slide. Three slides. Nineteen rejections. One yes.
|
||
</div>
|
||
</div>
|
||
<!-- Event 2 -->
|
||
<div class="vt-date">[Year −2]</div>
|
||
<div class="vt-spine"></div>
|
||
<div class="vt-content">
|
||
<div class="vt-title">first product</div>
|
||
<div class="vt-body">
|
||
Launched to [N] users. [X]% used it daily after week one.
|
||
</div>
|
||
</div>
|
||
<!-- Event 3 -->
|
||
<div class="vt-date">[Year −1]</div>
|
||
<div class="vt-spine"></div>
|
||
<div class="vt-content">
|
||
<div class="vt-title">the pivot</div>
|
||
<div class="vt-body">
|
||
Killed [X] features. Found the one thing that changed retention.
|
||
</div>
|
||
</div>
|
||
<!-- Event 4 -->
|
||
<div class="vt-date">[Year 0]</div>
|
||
<div class="vt-spine"></div>
|
||
<div class="vt-content">
|
||
<div class="vt-title">now</div>
|
||
<div class="vt-body">
|
||
[N]k users. $[X]M ARR. The hard part starts here.
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">[Author] / [Year]</span>
|
||
<span class="label muted">15</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--cycle dark">
|
||
<header class="slide-chrome">
|
||
<span class="label muted">The Loop</span>
|
||
<span class="label muted">16</span>
|
||
</header>
|
||
<div class="slide-body">
|
||
<h2
|
||
class="h2"
|
||
data-anim="fade-up"
|
||
data-delay="0"
|
||
style="font-weight: 900"
|
||
>
|
||
build · measure · learn
|
||
</h2>
|
||
<div class="cycle-grid" data-anim="fade-up" data-delay="1">
|
||
<!-- Row 1 -->
|
||
<div class="cycle-step">
|
||
<div class="cycle-num">01</div>
|
||
<div class="cycle-title">build</div>
|
||
<div class="cycle-desc">
|
||
Ship the smallest version that could prove the idea wrong.
|
||
</div>
|
||
</div>
|
||
<div class="cycle-arrow">→</div>
|
||
<div class="cycle-step">
|
||
<div class="cycle-num">02</div>
|
||
<div class="cycle-title">measure</div>
|
||
<div class="cycle-desc">
|
||
What did users actually do? Not what they said — what they did.
|
||
</div>
|
||
</div>
|
||
<!-- Row 2: arrows -->
|
||
<div class="cycle-arrow">↓</div>
|
||
<div></div>
|
||
<div class="cycle-arrow">↓</div>
|
||
<!-- Row 3 (reversed: left=04, right=03 to form clockwise loop) -->
|
||
<div class="cycle-step">
|
||
<div class="cycle-num">04</div>
|
||
<div class="cycle-title">learn</div>
|
||
<div class="cycle-desc">
|
||
Update the hypothesis. Kill what didn't work. Double what did.
|
||
</div>
|
||
</div>
|
||
<div class="cycle-arrow">←</div>
|
||
<div class="cycle-step">
|
||
<div class="cycle-num">03</div>
|
||
<div class="cycle-title">decide</div>
|
||
<div class="cycle-desc">
|
||
Ship to more users or go back to step one. There is no third
|
||
option.
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="slide-foot">
|
||
<span class="label muted">[Author] / [Year]</span>
|
||
<span class="label muted">16</span>
|
||
</footer>
|
||
</section>
|
||
<section class="slide slide--end orange">
|
||
<div class="broadside-top-chrome">
|
||
<span class="broadside-num" data-anim="fade-in" data-delay="0"
|
||
>10</span
|
||
>
|
||
<span class="corner-label" data-anim="fade-in" data-delay="0"
|
||
>End</span
|
||
>
|
||
</div>
|
||
<h1
|
||
class="display"
|
||
data-anim="fade-up"
|
||
data-delay="1"
|
||
style="
|
||
color: #111;
|
||
max-width: 80%;
|
||
line-height: 0.9;
|
||
letter-spacing: -0.04em;
|
||
"
|
||
>
|
||
let's<br />talk.
|
||
</h1>
|
||
<div
|
||
style="display: flex; flex-direction: column; gap: var(--gap-sm)"
|
||
data-anim="fade-up"
|
||
data-delay="2"
|
||
>
|
||
<p class="lead" style="color: rgba(17, 17, 17, 0.65); max-width: 45%">
|
||
[hello@company.com] · [@handle] · [company.com]
|
||
</p>
|
||
</div>
|
||
<div
|
||
style="
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
margin-top: auto;
|
||
padding-top: var(--gap-sm);
|
||
border-top: 1px solid rgba(17, 17, 17, 0.15);
|
||
"
|
||
>
|
||
<span class="broadside-num" style="opacity: 0.4">[Author Name]</span>
|
||
<span class="broadside-num" style="opacity: 0.4">[Year]</span>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
<!-- /#deck -->
|
||
|
||
<nav id="nav-dots" aria-label="Slide navigation"></nav>
|
||
<div id="slide-counter"></div>
|
||
|
||
<script>
|
||
(function () {
|
||
const deck = document.getElementById("deck");
|
||
const dotsNav = document.getElementById("nav-dots");
|
||
const counter = document.getElementById("slide-counter");
|
||
const slides = Array.from(deck.querySelectorAll(".slide"));
|
||
const total = slides.length;
|
||
let current = 0;
|
||
let isAnimating = false;
|
||
|
||
// Size the deck to fit all slides side by side
|
||
deck.style.width = "calc(" + total + " * 100vw)";
|
||
|
||
// Build navigation dots dynamically from slide count
|
||
slides.forEach(function (_, i) {
|
||
const dot = document.createElement("button");
|
||
dot.className = "nav-dot";
|
||
dot.setAttribute("aria-label", "Slide " + (i + 1));
|
||
dot.addEventListener("click", function () {
|
||
goTo(i);
|
||
});
|
||
dotsNav.appendChild(dot);
|
||
});
|
||
|
||
function pad(n) {
|
||
return String(n).padStart(2, "0");
|
||
}
|
||
|
||
function goTo(index) {
|
||
if (isAnimating) return;
|
||
if (index < 0 || index >= total) return;
|
||
if (
|
||
index === current &&
|
||
slides[current].classList.contains("is-active")
|
||
)
|
||
return;
|
||
|
||
isAnimating = true;
|
||
slides[current].classList.remove("is-active");
|
||
|
||
current = index;
|
||
const slide = slides[current];
|
||
|
||
// Reset animations so re-visiting a slide re-plays them
|
||
slide.querySelectorAll("[data-anim]").forEach(function (el) {
|
||
el.style.animation = "none";
|
||
void el.offsetHeight; // force reflow to clear animation state
|
||
el.style.animation = "";
|
||
});
|
||
|
||
slide.classList.add("is-active");
|
||
deck.style.transform = "translateX(calc(-" + current + " * 100vw))";
|
||
|
||
// Update dots
|
||
dotsNav.querySelectorAll(".nav-dot").forEach(function (d, i) {
|
||
d.classList.toggle("is-active", i === current);
|
||
});
|
||
|
||
// Update counter
|
||
counter.textContent = pad(current + 1) + " / " + pad(total);
|
||
|
||
setTimeout(function () {
|
||
isAnimating = false;
|
||
}, 900);
|
||
}
|
||
|
||
// Keyboard navigation — arrows, space, Home/End
|
||
document.addEventListener("keydown", function (e) {
|
||
if (
|
||
e.key === "ArrowRight" ||
|
||
e.key === " " ||
|
||
e.key === "ArrowDown"
|
||
) {
|
||
e.preventDefault();
|
||
goTo(current + 1);
|
||
}
|
||
if (e.key === "ArrowLeft" || e.key === "ArrowUp") {
|
||
e.preventDefault();
|
||
goTo(current - 1);
|
||
}
|
||
if (e.key === "Home") goTo(0);
|
||
if (e.key === "End") goTo(total - 1);
|
||
});
|
||
|
||
// Touch swipe — 40px threshold
|
||
var touchStartX = 0;
|
||
document.addEventListener(
|
||
"touchstart",
|
||
function (e) {
|
||
touchStartX = e.touches[0].clientX;
|
||
},
|
||
{ passive: true },
|
||
);
|
||
document.addEventListener(
|
||
"touchend",
|
||
function (e) {
|
||
var dx = e.changedTouches[0].clientX - touchStartX;
|
||
if (Math.abs(dx) > 40) goTo(current + (dx < 0 ? 1 : -1));
|
||
},
|
||
{ passive: true },
|
||
);
|
||
|
||
// Mouse wheel — 1000ms lock prevents double-firing
|
||
var wheelLocked = false;
|
||
document.addEventListener(
|
||
"wheel",
|
||
function (e) {
|
||
if (wheelLocked) return;
|
||
var primary =
|
||
Math.abs(e.deltaX) > Math.abs(e.deltaY) ? e.deltaX : e.deltaY;
|
||
goTo(current + (primary > 0 ? 1 : -1));
|
||
wheelLocked = true;
|
||
setTimeout(function () {
|
||
wheelLocked = false;
|
||
}, 1000);
|
||
},
|
||
{ passive: true },
|
||
);
|
||
|
||
// Kick off on slide 1
|
||
goTo(0);
|
||
})();
|
||
</script>
|
||
</body>
|
||
</html>
|