Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
Gallery: four AI-authored template decks on the landing, AI section moved up
nyblnetab363c44745d
diff --git a/.claude/launch.json b/.claude/launch.jsonindex a8034936..2b6722ac 100644--- a/.claude/launch.json+++ b/.claude/launch.json@@ -51,6 +51,18 @@"site"],"port": 5195+ },+ {+ "name": "serve-working",+ "runtimeExecutable": "python3",+ "runtimeArgs": [+ "-m",+ "http.server",+ "5194",+ "--directory",+ "working"+ ],+ "port": 5194}]}\ No newline at end of filediff --git a/CLAUDE.md b/CLAUDE.mdindex 3ab6f353..5ccd75f4 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -73,7 +73,9 @@ One HTML file = the document + viewer + editor. See `README.md` for the vision.PURE JSON (template formatters {b}/{c}/{d}, never functions). Editorcanvas/thumbs/print use chartSnapshotSvg (cached); present mounts live(host exposes `__bentoChart`). Unknown option keys are ignored gracefully —- exotic ECharts configs degrade, don't crash. Shapes:+ exotic ECharts configs degrade, don't crash. Bar/line series data must be+ PLAIN NUMBERS ({value,itemStyle} item objects coerce to 0 — only pie takes+ {name,value}); per-item bar colors unsupported, color by series. Shapes:`strokeStyle` solid/dashed/dotted (legacy `strokeDash` still honoured);line shapes have `lineStart`/`lineEnd` tips (arrow/dot/bar) rendered asper-instance svg markers (sized in strokeWidth units, endpoints inset);diff --git a/scripts/build-example-decks.mjs b/scripts/build-example-decks.mjsnew file mode 100644index 00000000..d93eb6e4--- /dev/null+++ b/scripts/build-example-decks.mjs@@ -0,0 +1,534 @@+#!/usr/bin/env node+// The gallery decks — four distinct art directions distilled from+// Awwwards Site-of-the-Year style FAMILIES (immersive dark tech,+// editorial typography, premium minimal commerce, playful toy-like).+// All brands and content are FICTIONAL; nothing is copied from any site.+//+// node scripts/build-example-decks.mjs [outDir] (default: working/)+//+// Output: <outDir>/<name>.bento.html — each doc carries template:true, so+// every open instantiates a fresh, independent deck (the .dotx semantics).+// release.mjs runs this into site/gallery/ for the landing page's gallery.++import { mkdirSync, readFileSync, writeFileSync } from 'node:fs'+import { dirname, join } from 'node:path'+import { fileURLToPath } from 'node:url'++const root = dirname(dirname(fileURLToPath(import.meta.url)))+const shell = readFileSync(join(root, 'slides/dist-single/Bento_Slides.bento.html'), 'utf8')++// the deck-embedded faces (same technique as the landing build)+const fontSrc = readFileSync(join(root, 'slides/src/fontdata.ts'), 'utf8')+const font = (name) => fontSrc.match(new RegExp(`export const ${name}\\s*=\\s*'(data:[^']+)'`))[1]+const FRAUNCES = font('FRAUNCES_900')+const INSTRUMENT = font('INSTRUMENT_VAR')+const FONTS = {+ assets: { 'font-fraunces': FRAUNCES, 'font-instrument': INSTRUMENT },+ fonts: [+ { family: 'Fraunces', asset: 'font-fraunces', weight: '900' },+ { family: 'Instrument Sans', asset: 'font-instrument', weight: '100 900' },+ ],+}+const FR = "Fraunces, Georgia, serif"+const IN = "'Instrument Sans', 'Helvetica Neue', sans-serif"+const MONO = "'SF Mono', 'Courier New', monospace"++// ——— tiny builders ———————————————————————————————————————————————+let uid = 0+const id = (p) => `${p}-${(++uid).toString(36)}`+const text = (o) => ({+ id: o.id ?? id('t'), type: 'text', x: o.x, y: o.y, w: o.w, h: o.h,+ rotation: o.rotation ?? 0, opacity: o.opacity ?? 1,+ html: o.html, fontSize: o.fontSize ?? 24, fontFamily: o.fontFamily ?? IN,+ fontWeight: o.fontWeight ?? 400, color: o.color ?? '#111',+ align: o.align ?? 'left', valign: o.valign ?? 'top',+ lineHeight: o.lineHeight ?? 1.3,+ ...(o.letterSpacing != null ? { letterSpacing: o.letterSpacing } : {}),+ ...(o.fx ? { fx: o.fx } : {}), ...(o.link ? { link: o.link } : {}),+ ...(o.shadow ? { shadow: o.shadow } : {}), ...(o.group ? { group: o.group } : {}),+})+const shape = (kind, o) => ({+ id: o.id ?? id('s'), type: 'shape', shape: kind, x: o.x, y: o.y, w: o.w, h: o.h,+ rotation: o.rotation ?? 0, opacity: o.opacity ?? 1,+ fill: o.fill ?? '#000', stroke: o.stroke ?? 'none', strokeWidth: o.strokeWidth ?? 0,+ radius: o.radius ?? 0,+ ...(o.fillGradient ? { fillGradient: o.fillGradient } : {}),+ ...(o.strokeStyle ? { strokeStyle: o.strokeStyle } : {}),+ ...(o.d ? { d: o.d, pathBox: o.pathBox } : {}),+ ...(o.lineStart ? { lineStart: o.lineStart } : {}), ...(o.lineEnd ? { lineEnd: o.lineEnd } : {}),+ ...(o.fx ? { fx: o.fx } : {}), ...(o.link ? { link: o.link } : {}),+ ...(o.shadow ? { shadow: o.shadow } : {}), ...(o.group ? { group: o.group } : {}),+})+const chart = (o) => ({+ id: o.id ?? id('c'), type: 'chart', x: o.x, y: o.y, w: o.w, h: o.h,+ rotation: 0, opacity: 1, preset: o.preset ?? 'bar', option: o.option,+ ...(o.fx ? { fx: o.fx } : {}),+})+const slide = (o) => ({+ id: o.id ?? id('sl'), background: o.background, transition: o.transition ?? 'fade',+ notes: o.notes ?? '', elements: o.elements,+ ...(o.name ? { name: o.name } : {}), ...(o.stateOf ? { stateOf: o.stateOf } : {}),+ ...(o.hover ? { hover: o.hover } : {}),+})+const grad = (angle, ...stops) => ({+ angle, stops: stops.map(([at, color]) => ({ at, color })),+})+// orbit path relative to rest position (closed loop through rest)+const orbit = (r, phase = 0) => {+ const pts = []+ for (let i = 0; i <= 8; i++) {+ const a = phase + (i / 8) * Math.PI * 2+ pts.push(`${Math.cos(a) * r - Math.cos(phase) * r},${Math.sin(a) * r * 0.6 - Math.sin(phase) * r * 0.6}`)+ }+ return `M0,0 L${pts.slice(1).join(' L')} Z`+}++const doc = (o) => ({+ format: 'bento/slides', version: 1, title: o.title,+ size: { width: 1280, height: 720 },+ theme: o.theme, template: true,+ ...(o.withFonts ? { assets: { ...FONTS.assets, ...(o.assets ?? {}) }, fonts: FONTS.fonts }+ : (o.assets ? { assets: o.assets } : {})),+ ...(o.present ? { present: o.present } : {}),+ slides: o.slides, modified: new Date().toISOString(),+})++// ═══════════════════════════════════════════════════════════════════════+// DECK A · «SIGNAL» — editorial-typographic (Rynzhuk / Locomotive family)+// Bone paper, ink, one violent red. Type IS the layout.+// ═══════════════════════════════════════════════════════════════════════+function deckSignal() {+ const BONE = '#EFEDE4', INK = '#141310', RED = '#E8442E', GREY = 'rgba(20,19,16,0.55)'+ const HAIR = 'rgba(20,19,16,0.22)'+ const kick = (x, y, s, color = RED) => text({ x, y, w: 500, h: 24, html: s, fontSize: 13, fontWeight: 700, letterSpacing: 4, color, fontFamily: IN })+ const rule = (x, y, w) => shape('rect', { x, y, w, h: 2, fill: INK })+ const pageNo = (n) => text({ x: 1150, y: 654, w: 80, h: 24, html: n, fontSize: 13, fontWeight: 600, color: GREY, align: 'right', fontFamily: MONO })++ const s1 = slide({+ id: 'sig-cover', background: BONE, transition: 'none',+ notes: 'TEMPLATE — “Signal”, an editorial-typographic deck. The style family: type-as-layout, one paper tone, one ink, one violent accent. Replace the words, keep the bones. The red bar and the title share ids with slide 2 — they MORPH.',+ elements: [+ kick(96, 84, 'SIGNAL — A FESTIVAL OF GRAPHIC IDEAS'),+ rule(96, 118, 1088),+ text({ id: 'sig-title', x: 86, y: 128, w: 1120, h: 330, html: 'Loud<br>letters.', fontSize: 168, fontFamily: FR, fontWeight: 900, color: INK, lineHeight: 0.92 }),+ shape('rect', { id: 'sig-bar', x: 96, y: 520, w: 320, h: 74, fill: RED }),+ text({ x: 442, y: 524, w: 560, h: 80, html: 'Three days on typography, grids,<br>and the confidence to be simple.', fontSize: 19, color: GREY, lineHeight: 1.5, fx: { enter: 'fade-up', order: 1 } }),+ text({ x: 96, y: 536, w: 320, h: 40, html: 'OCT 12—14', fontSize: 26, fontWeight: 800, color: BONE, align: 'center', fontFamily: IN, letterSpacing: 3 }),+ text({ x: 96, y: 640, w: 800, h: 24, html: 'HALL 6 · MAKETOWN · TICKETS AT THE DOOR', fontSize: 12, fontWeight: 600, letterSpacing: 3, color: GREY }),+ pageNo('01'),+ ],+ })++ const s2 = slide({+ id: 'sig-manifesto', background: BONE, transition: 'morph',+ notes: 'The morph beat: the red bar became a column, the title shrank into a corner. Duplicate-and-rearrange is the entire animation technique.',+ elements: [+ text({ id: 'sig-title', x: 96, y: 84, w: 500, h: 80, html: 'Loud letters.', fontSize: 40, fontFamily: FR, fontWeight: 900, color: GREY, lineHeight: 1 }),+ shape('rect', { id: 'sig-bar', x: 96, y: 170, w: 10, h: 450, fill: RED }),+ text({ x: 150, y: 168, w: 980, h: 380, html: 'We believe a poster can<br>argue, a grid can dance,<br>and <i>restraint</i> is the<br>loudest move of all.', fontSize: 62, fontFamily: FR, fontWeight: 900, color: INK, lineHeight: 1.14, fx: { enter: 'fade-up' } }),+ text({ x: 150, y: 580, w: 700, h: 30, html: '— The programme committee, writing manifestos again', fontSize: 15, color: GREY, fx: { enter: 'fade-up', order: 2 } }),+ pageNo('02'),+ ],+ })++ const speakers = [+ ['A', 'Ada Kessler', 'Grids that misbehave'],+ ['B', 'Bruno Mächler', 'The end of the hero image'],+ ['C', 'Chiyo Tanaka', 'Serifs, sharpened'],+ ]+ const s3 = slide({+ id: 'sig-speakers', background: INK, transition: 'fade',+ notes: 'Inverted spread. The huge index letters are the “image”. Stagger order walks the three rows in.',+ elements: [+ kick(96, 84, 'THE SPEAKERS', RED),+ shape('rect', { x: 96, y: 118, w: 1088, h: 2, fill: 'rgba(239,237,228,0.25)' }),+ ...speakers.flatMap(([ltr, name, topic], i) => [+ text({ x: 80, y: 130 + i * 165, w: 220, h: 180, html: ltr, fontSize: 150, fontFamily: FR, fontWeight: 900, color: 'rgba(239,237,228,0.13)', fx: { enter: 'fade-up', order: i } }),+ text({ x: 270, y: 176 + i * 165, w: 500, h: 60, html: name, fontSize: 40, fontFamily: FR, fontWeight: 900, color: BONE, fx: { enter: 'fade-up', order: i } }),+ text({ x: 800, y: 190 + i * 165, w: 384, h: 40, html: topic.toUpperCase(), fontSize: 14, fontWeight: 600, letterSpacing: 3, color: RED, align: 'right', fx: { enter: 'fade-up', order: i } }),+ shape('rect', { x: 270, y: 268 + i * 165, w: 914, h: 1, fill: 'rgba(239,237,228,0.18)' }),+ ]),+ pageNo('03'),+ ],+ })++ const s4 = slide({+ id: 'sig-schedule', background: BONE, transition: 'fade',+ notes: 'A dead-simple bar chart, art-directed: ink bars, one red. Charts are template JSON — swap the numbers.',+ elements: [+ kick(96, 84, 'ATTENDANCE, FIVE EDITIONS'),+ rule(96, 118, 1088),+ text({ x: 96, y: 148, w: 900, h: 80, html: 'Word travels.', fontSize: 64, fontFamily: FR, fontWeight: 900, color: INK }),+ chart({ x: 96, y: 260, w: 1088, h: 380, preset: 'bar', option: {+ grid: { left: 40, right: 10, top: 20, bottom: 30 },+ xAxis: { type: 'category', data: ['2022', '2023', '2024', '2025', '2026'] },+ yAxis: { type: 'value' },+ series: [{ type: 'bar', data: [420, 780, 1300, 2450, 4100],+ itemStyle: { color: INK }, barWidth: 90 }],+ color: [INK],+ tooltip: { trigger: 'item', formatter: '{b}: {c} people' },+ }, fx: { enter: 'fade-up', order: 1 } }),+ shape('rect', { x: 996, y: 300, w: 90, h: 24, fill: RED, fx: { enter: 'fade', order: 3 } }),+ text({ x: 940, y: 268, w: 200, h: 30, html: '<b>SOLD OUT</b>', fontSize: 13, letterSpacing: 3, color: RED, align: 'center', fx: { enter: 'fade', order: 3 } }),+ pageNo('04'),+ ],+ })++ const s5 = slide({+ id: 'sig-marquee', background: RED, transition: 'zoom',+ notes: 'The shout slide. Dash-march on the two rules makes the page feel like it is sliding. One background change resets the room.',+ elements: [+ shape('line', { x: 0, y: 140, w: 1280, h: 4, fill: BONE, strokeWidth: 3, strokeStyle: 'dashed', fx: { loop: { type: 'dash-march', distance: 60, duration: 2.4 } } }),+ text({ x: 40, y: 210, w: 1200, h: 300, html: 'SAY IT<br>BIGGER.', fontSize: 150, fontFamily: IN, fontWeight: 900, color: BONE, align: 'center', lineHeight: 0.95, letterSpacing: 2 }),+ shape('line', { x: 0, y: 566, w: 1280, h: 4, fill: BONE, strokeWidth: 3, strokeStyle: 'dashed', fx: { loop: { type: 'dash-march', distance: 60, duration: 2.4 } } }),+ text({ x: 40, y: 600, w: 1200, h: 30, html: 'WORKSHOP TRACK · 40 SEATS · BRING SCISSORS', fontSize: 13, fontWeight: 700, letterSpacing: 5, color: 'rgba(239,237,228,0.8)', align: 'center' }),+ ],+ })++ const s6 = slide({+ id: 'sig-end', background: BONE, transition: 'morph',+ notes: 'Close where you opened — the bar and title morph home. End on the practical line.',+ elements: [+ kick(96, 84, 'SIGNAL — OCT 12—14'),+ rule(96, 118, 1088),+ text({ id: 'sig-title', x: 86, y: 150, w: 1120, h: 300, html: 'See you<br>in Hall 6.', fontSize: 132, fontFamily: FR, fontWeight: 900, color: INK, lineHeight: 0.95 }),+ shape('rect', { id: 'sig-bar', x: 96, y: 520, w: 1088, h: 74, fill: RED }),+ text({ x: 96, y: 540, w: 1088, h: 40, html: 'signal-festival.example — a fictional event for a very real template', fontSize: 16, fontWeight: 600, color: BONE, align: 'center', letterSpacing: 1 }),+ pageNo('06'),+ ],+ })++ return doc({+ title: 'Signal — editorial type template', withFonts: true,+ theme: { background: BONE, color: INK, accent: RED, fontFamily: IN },+ slides: [s1, s2, s3, s4, s5, s6],+ })+}++// ═══════════════════════════════════════════════════════════════════════+// DECK B · «TERRA» — premium minimal commerce (Build-in-Amsterdam family)+// Warm white, clay, sand. Whitespace is the luxury.+// ═══════════════════════════════════════════════════════════════════════+function deckTerra() {+ const WHITE = '#F7F5F0', CLAY = '#C96F4A', SAND = '#D9C9B4', CHAR = '#2A2724'+ const SOFT = 'rgba(42,39,36,0.55)'+ const GRAD_CLAY = grad(20, [0, '#D97E58'], [1, '#B85C38'])+ const GRAD_SAND = grad(0, [0, '#E3D5C2'], [1, '#CDBBA1'])+ const GRAD_MOSS = grad(15, [0, '#8D9376'], [1, '#6F755C'])+ const kick = (x, y, s) => text({ x, y, w: 600, h: 22, html: s, fontSize: 12, fontWeight: 600, letterSpacing: 5, color: CLAY })++ const s1 = slide({+ id: 'ter-cover', background: WHITE, transition: 'none',+ notes: 'TEMPLATE — “Terra”, premium product-brand deck. Style family: whitespace-first commerce. Gradient blocks stand in for product photography — replace them with images and keep the composition. The three “vessels” morph into the collection grid on slide 3.',+ elements: [+ kick(96, 96, 'TERRA OBJECTS — COLLECTION Nº4'),+ text({ x: 90, y: 150, w: 760, h: 260, html: 'Quiet things,<br>well made.', fontSize: 96, fontFamily: FR, fontWeight: 900, color: CHAR, lineHeight: 1.02 }),+ text({ x: 96, y: 430, w: 480, h: 80, html: 'Thrown, glazed and fired in one workshop.<br>Forty-one objects. No two alike.', fontSize: 17, color: SOFT, lineHeight: 1.6, fx: { enter: 'fade-up', order: 1 } }),+ shape('rect', { id: 'ter-a', x: 880, y: 120, w: 200, h: 300, radius: 100, fill: CLAY, fillGradient: GRAD_CLAY, shadow: { y: 24, blur: 50, color: 'rgba(42,39,36,0.22)' }, fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.03, duration: 9 } } }),+ shape('rect', { id: 'ter-b', x: 1010, y: 300, w: 150, h: 220, radius: 75, fill: SAND, fillGradient: GRAD_SAND, shadow: { y: 18, blur: 40, color: 'rgba(42,39,36,0.18)' }, fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.04, duration: 11 } } }),+ shape('ellipse', { id: 'ter-c', x: 840, y: 430, w: 120, h: 120, fill: '#6F755C', fillGradient: GRAD_MOSS, shadow: { y: 14, blur: 34, color: 'rgba(42,39,36,0.2)' } }),+ text({ x: 96, y: 620, w: 500, h: 22, html: 'SPRING 2026 · EDITION OF 41', fontSize: 11, fontWeight: 600, letterSpacing: 4, color: SOFT }),+ ],+ })++ const s2 = slide({+ id: 'ter-craft', background: CHAR, transition: 'fade',+ notes: 'The dark interlude — one sentence, one object. Ken-burns “out” settles the big vessel as the slide enters.',+ elements: [+ shape('rect', { x: 700, y: 90, w: 380, h: 540, radius: 190, fill: CLAY, fillGradient: GRAD_CLAY, shadow: [{ blur: 90, color: 'rgba(255,238,214,0.14)' }, { y: 30, blur: 60, color: 'rgba(0,0,0,0.45)' }], fx: { ambient: 'kenburns', ken: { dir: 'out', scale: 1.1, duration: 2.2 } } }),+ kick(96, 120, 'THE WORKSHOP'),+ text({ x: 90, y: 180, w: 560, h: 320, html: 'Each piece<br>spends nine<br>days in fire.', fontSize: 72, fontFamily: FR, fontWeight: 900, color: WHITE, lineHeight: 1.06, fx: { enter: 'fade-up' } }),+ text({ x: 96, y: 540, w: 460, h: 60, html: 'Cone 10 reduction. Ash glaze from our own orchard prunings.', fontSize: 16, color: 'rgba(247,245,240,0.6)', lineHeight: 1.6, fx: { enter: 'fade-up', order: 2 } }),+ ],+ })++ const items = [+ ['Vessel 12', '€240', GRAD_CLAY, 100],+ ['Bowl 07', '€120', GRAD_SAND, 26],+ ['Vase 31', '€310', GRAD_MOSS, 90],+ ]+ const s3 = slide({+ id: 'ter-collection', background: WHITE, transition: 'morph',+ notes: 'The commerce grid. The three cover objects morphed into product cards — same ids, new frames. Price chips are separate so you can restyle them once and copy.',+ elements: [+ kick(96, 96, 'THE COLLECTION'),+ text({ x: 90, y: 140, w: 700, h: 70, html: 'Forty-one objects.', fontSize: 54, fontFamily: FR, fontWeight: 900, color: CHAR }),+ ...items.flatMap(([name, price, g, r], i) => {+ const x = 96 + i * 376+ const ids = ['ter-a', 'ter-b', 'ter-c'][i]+ const kind = i === 2 ? 'ellipse' : 'rect'+ return [+ shape('rect', { x, y: 250, w: 336, h: 330, radius: 18, fill: '#FFFFFF', shadow: { y: 16, blur: 38, color: 'rgba(42,39,36,0.1)' }, fx: { enter: 'fade-up', order: i } }),+ shape(kind, { id: ids, x: x + 88, y: 280, w: 160, h: 200, radius: r, fill: '#ccc', fillGradient: g, shadow: { y: 12, blur: 26, color: 'rgba(42,39,36,0.18)' }, fx: { enter: 'fade-up', order: i } }),+ text({ x: x + 24, y: 500, w: 200, h: 30, html: name, fontSize: 20, fontWeight: 600, color: CHAR, fx: { enter: 'fade-up', order: i } }),+ text({ x: x + 216, y: 500, w: 96, h: 30, html: price, fontSize: 18, fontWeight: 600, color: CLAY, align: 'right', fontFamily: MONO, fx: { enter: 'fade-up', order: i } }),+ ]+ }),+ text({ x: 96, y: 632, w: 700, h: 22, html: 'EVERY OBJECT SHIPS WITH ITS FIRING CARD', fontSize: 11, fontWeight: 600, letterSpacing: 4, color: SOFT }),+ ],+ })++ const s4 = slide({+ id: 'ter-materials', background: WHITE, transition: 'fade',+ notes: 'Editorially-styled pie: material sourcing. The template shows how to make charts feel branded — palette + a serif headline beat any default theme.',+ elements: [+ kick(96, 96, 'WHAT THINGS ARE MADE OF'),+ text({ x: 90, y: 140, w: 800, h: 70, html: 'Sourced within 40 km.', fontSize: 54, fontFamily: FR, fontWeight: 900, color: CHAR }),+ chart({ x: 90, y: 240, w: 620, h: 420, preset: 'pie', option: {+ color: [CLAY, '#D9C9B4', '#8D9376', '#2A2724'],+ tooltip: { trigger: 'item', formatter: '{b}: {d}%' },+ legend: { bottom: 0 },+ series: [{ type: 'pie', radius: ['45%', '72%'],+ data: [+ { name: 'River clay', value: 46 }, { name: 'Orchard ash', value: 24 },+ { name: 'Field feldspar', value: 18 }, { name: 'Recycled grog', value: 12 },+ ], label: { show: false } }],+ }, fx: { enter: 'fade-up' } }),+ text({ x: 780, y: 300, w: 400, h: 220, html: 'The glaze palette is literally<br>the landscape — clay from the<br>river bend, ash from winter<br>prunings, feldspar from the<br>neighbour’s field.', fontSize: 19, color: SOFT, lineHeight: 1.65, fx: { enter: 'fade-up', order: 2 } }),+ ],+ })++ const s5 = slide({+ id: 'ter-end', background: SAND, transition: 'fade',+ notes: 'Soft close. Swap the address, keep the hush.',+ elements: [+ text({ x: 140, y: 220, w: 1000, h: 200, html: 'Come hold them.', fontSize: 88, fontFamily: FR, fontWeight: 900, color: CHAR, align: 'center', lineHeight: 1 }),+ text({ x: 140, y: 430, w: 1000, h: 30, html: 'SHOWROOM — KILN LANE 4 · SATURDAYS 10—16', fontSize: 13, fontWeight: 600, letterSpacing: 5, color: 'rgba(42,39,36,0.65)', align: 'center' }),+ shape('rect', { x: 604, y: 500, w: 72, h: 6, radius: 3, fill: CLAY }),+ ],+ })++ return doc({+ title: 'Terra — premium product template', withFonts: true,+ theme: { background: WHITE, color: CHAR, accent: CLAY, fontFamily: IN },+ slides: [s1, s2, s3, s4, s5],+ })+}++// ═══════════════════════════════════════════════════════════════════════+// DECK C · «ORBITAL» — immersive dark tech (Lusion / Active Theory family)+// Void black, electric cyan→violet gradients, glow, orbiting particles.+// ═══════════════════════════════════════════════════════════════════════+function deckOrbital() {+ const VOID = '#05060E', DEEP = '#0B0E1E', CYAN = '#38E1FF', VIOLET = '#7A5CFF', MAG = '#FF4FA3'+ const DIM = 'rgba(178,196,224,0.62)'+ const GRAD_CY = grad(30, [0, CYAN], [1, VIOLET])+ const GRAD_MG = grad(30, [0, VIOLET], [1, MAG])+ const glow = (c, blur = 40) => ({ blur, color: c })+ const mono = (x, y, s, color = DIM, size = 12) => text({ x, y, w: 700, h: 22, html: s, fontSize: size, fontWeight: 500, letterSpacing: 3, color, fontFamily: MONO })+ const star = (x, y, size, dur, phase) => shape('ellipse', {+ x, y, w: size, h: size, fill: 'rgba(184,222,255,0.8)',+ shadow: glow('rgba(56,225,255,0.5)', 10),+ fx: { loop: { type: 'motion-path', path: orbit(14 + size * 2, phase), duration: dur } },+ })++ const s1 = slide({+ id: 'orb-cover', background: VOID, transition: 'none',+ notes: 'TEMPLATE — “Orbital”, immersive dark-tech deck. Style family: void black, one luminous gradient, particles in slow orbit. The ring and wordmark morph through the whole deck. Use glow shadows sparingly — one lit object per slide.',+ elements: [+ star(180, 140, 6, 17, 0), star(1050, 120, 4, 21, 2), star(940, 560, 8, 19, 4),+ star(220, 540, 5, 23, 1), star(640, 90, 4, 25, 3), star(1160, 400, 6, 15, 5),+ shape('ellipse', { id: 'orb-ring', x: 440, y: 120, w: 400, h: 400, fill: 'rgba(0,0,0,0)', stroke: CYAN, strokeWidth: 2, shadow: glow('rgba(56,225,255,0.45)', 60), fx: { ambient: 'kenburns', ken: { dir: 'drift', scale: 1.05, duration: 12 } } }),+ shape('ellipse', { x: 610, y: 90, w: 60, h: 60, fill: CYAN, fillGradient: GRAD_CY, shadow: glow('rgba(56,225,255,0.8)', 30), fx: { loop: { type: 'motion-path', path: orbit(200, 0), duration: 14 } } }),+ text({ id: 'orb-word', x: 140, y: 260, w: 1000, h: 130, html: 'ORBITAL', fontSize: 110, fontWeight: 800, color: '#EAF4FF', align: 'center', letterSpacing: 30, fontFamily: IN, shadow: glow('rgba(56,225,255,0.35)', 40) }),+ text({ x: 140, y: 400, w: 1000, h: 24, html: 'LOW-ORBIT DATA · A FICTIONAL COMPANY FOR A REAL TEMPLATE', fontSize: 12, fontWeight: 500, letterSpacing: 3, color: DIM, align: 'center', fontFamily: MONO }),+ text({ x: 140, y: 616, w: 1000, h: 24, html: '— PRESS → TO ENTER THE SYSTEM —', fontSize: 11, fontWeight: 500, letterSpacing: 3, color: 'rgba(178,196,224,0.4)', align: 'center', fontFamily: MONO }),+ ],+ })++ const s2 = slide({+ id: 'orb-thesis', background: VOID, transition: 'morph',+ notes: 'Ring morphs off-center and shrinks; the wordmark docks top-left. Big statements sit on the darkness — no boxes needed.',+ elements: [+ text({ id: 'orb-word', x: 96, y: 70, w: 300, h: 40, html: 'ORBITAL', fontSize: 22, fontWeight: 800, color: DIM, letterSpacing: 10, fontFamily: IN }),+ shape('ellipse', { id: 'orb-ring', x: 880, y: 180, w: 620, h: 620, fill: 'rgba(0,0,0,0)', stroke: VIOLET, strokeWidth: 2, shadow: glow('rgba(122,92,255,0.4)', 70) }),+ mono(96, 170, '01 · THE THESIS', CYAN),+ text({ x: 96, y: 210, w: 900, h: 300, html: 'Every satellite is<br>a sensor. Nobody<br>reads the sky.', fontSize: 76, fontWeight: 800, color: '#EAF4FF', lineHeight: 1.1, fontFamily: IN, fx: { enter: 'fade-up' } }),+ text({ x: 96, y: 540, w: 620, h: 80, html: 'Twelve thousand spacecraft stream telemetry into archives nobody opens. We turn that exhaust into signal.', fontSize: 17, color: DIM, lineHeight: 1.6, fx: { enter: 'fade-up', order: 2 } }),+ star(1100, 500, 5, 19, 2),+ ],+ })++ const s3 = slide({+ id: 'orb-system', background: DEEP, transition: 'fade',+ notes: 'The “system map”. Click a node → a hidden STATE slide zooms that subsystem (link + stateOf). This is the deck’s interactive centrepiece — extend it by duplicating the state slide.',+ elements: [+ mono(96, 84, '02 · THE CONSTELLATION — CLICK A NODE'),+ shape('ellipse', { x: 490, y: 210, w: 300, h: 300, fill: 'rgba(0,0,0,0)', stroke: 'rgba(56,225,255,0.35)', strokeWidth: 1.5, strokeStyle: 'dashed', fx: { loop: { type: 'dash-march', distance: 40, duration: 6 } } }),+ shape('ellipse', { x: 590, y: 310, w: 100, h: 100, fill: VOID, stroke: CYAN, strokeWidth: 2, fillGradient: GRAD_CY, shadow: glow('rgba(56,225,255,0.7)', 50) }),+ text({ x: 590, y: 345, w: 100, h: 30, html: '<b>CORE</b>', fontSize: 14, color: '#051018', align: 'center', fontFamily: MONO }),+ shape('ellipse', { id: 'orb-n1', x: 330, y: 180, w: 74, h: 74, fill: DEEP, stroke: VIOLET, strokeWidth: 2, shadow: glow('rgba(122,92,255,0.5)', 30), link: 'orb-state-ingest' }),+ text({ x: 300, y: 262, w: 134, h: 24, html: 'INGEST', fontSize: 12, letterSpacing: 3, color: DIM, align: 'center', fontFamily: MONO }),+ shape('ellipse', { id: 'orb-n2', x: 880, y: 200, w: 74, h: 74, fill: DEEP, stroke: MAG, strokeWidth: 2, shadow: glow('rgba(255,79,163,0.45)', 30), link: 'orb-state-model' }),+ text({ x: 850, y: 282, w: 134, h: 24, html: 'MODEL', fontSize: 12, letterSpacing: 3, color: DIM, align: 'center', fontFamily: MONO }),+ shape('line', { x: 404, y: 250, w: 190, h: 4, fill: 'rgba(120,150,190,0.5)', strokeWidth: 1.5, strokeStyle: 'dotted', lineEnd: 'arrow' }),+ shape('line', { x: 690, y: 268, w: 190, h: 4, fill: 'rgba(120,150,190,0.5)', strokeWidth: 1.5, strokeStyle: 'dotted', lineEnd: 'arrow' }),+ text({ x: 96, y: 560, w: 800, h: 60, html: 'Hidden state slides answer the click — arrow keys skip them,<br>so the linear story stays clean.', fontSize: 15, color: 'rgba(178,196,224,0.45)', lineHeight: 1.5 }),+ ],+ })++ const stateBase = (sid, title, body, accent) => slide({+ id: sid, stateOf: 'orb-system', background: DEEP, transition: 'morph', name: title,+ notes: 'A hidden state — reached only by clicking its node on the system map.',+ elements: [+ mono(96, 84, `02a · ${title} — CLICK ANYWHERE DIM TO GO BACK`),+ shape('ellipse', { id: sid + '-halo', x: 460, y: 130, w: 360, h: 360, fill: 'rgba(0,0,0,0)', stroke: accent, strokeWidth: 2, shadow: glow(accent === VIOLET ? 'rgba(122,92,255,0.5)' : 'rgba(255,79,163,0.5)', 70) }),+ text({ x: 340, y: 240, w: 600, h: 80, html: title, fontSize: 56, fontWeight: 800, color: '#EAF4FF', align: 'center', letterSpacing: 8, fontFamily: IN }),+ text({ x: 340, y: 330, w: 600, h: 80, html: body, fontSize: 16, color: DIM, align: 'center', lineHeight: 1.6 }),+ shape('rect', { x: 0, y: 0, w: 1280, h: 720, fill: 'rgba(0,0,0,0)', link: 'orb-system' }),+ ],+ })+ const st1 = stateBase('orb-state-ingest', 'INGEST', '4.2 TB of telemetry per orbit,<br>deduplicated at the edge.', VIOLET)+ const st2 = stateBase('orb-state-model', 'MODEL', 'Anomaly scores in 90 seconds —<br>before the next ground pass.', MAG)++ const s4 = slide({+ id: 'orb-growth', background: VOID, transition: 'fade',+ notes: 'Neon-styled area chart. Note the restraint: one gradient line on darkness reads as “expensive”; three would read as a dashboard.',+ elements: [+ mono(96, 84, '03 · SIGNAL EXTRACTED, PETABYTES'),+ text({ x: 96, y: 120, w: 900, h: 90, html: 'Up and to the right,<br>literally.', fontSize: 54, fontWeight: 800, color: '#EAF4FF', fontFamily: IN, lineHeight: 1.1 }),+ chart({ x: 96, y: 280, w: 1088, h: 370, preset: 'line', option: {+ grid: { left: 46, right: 16, top: 20, bottom: 30 },+ xAxis: { type: 'category', data: ['Q1', 'Q2', 'Q3', 'Q4', 'Q5', 'Q6'] },+ yAxis: { type: 'value' },+ color: [CYAN],+ tooltip: { trigger: 'axis' },+ series: [{ type: 'line', smooth: true, data: [2, 5, 11, 24, 52, 96],+ lineStyle: { width: 3.5, color: CYAN },+ areaStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1,+ colorStops: [{ offset: 0, color: 'rgba(56,225,255,0.35)' }, { offset: 1, color: 'rgba(56,225,255,0)' }] } },+ symbol: 'circle', symbolSize: 8, itemStyle: { color: CYAN } }],+ }, fx: { enter: 'fade-up' } }),+ star(1130, 150, 5, 21, 1),+ ],+ })++ const s5 = slide({+ id: 'orb-end', background: VOID, transition: 'morph',+ notes: 'The ring comes home to center; the wordmark grows back. Loops keep breathing after the morph settles.',+ elements: [+ shape('ellipse', { id: 'orb-ring', x: 340, y: 60, w: 600, h: 600, fill: 'rgba(0,0,0,0)', stroke: MAG, strokeWidth: 2, shadow: glow('rgba(255,79,163,0.4)', 80) }),+ shape('ellipse', { x: 620, y: 40, w: 44, h: 44, fill: MAG, fillGradient: GRAD_MG, shadow: glow('rgba(255,79,163,0.8)', 26), fx: { loop: { type: 'motion-path', path: orbit(300, 1), duration: 18 } } }),+ text({ id: 'orb-word', x: 140, y: 300, w: 1000, h: 110, html: 'JOIN THE SWEEP', fontSize: 66, fontWeight: 800, color: '#EAF4FF', align: 'center', letterSpacing: 16, fontFamily: IN, shadow: glow('rgba(255,79,163,0.3)', 40) }),+ mono(390, 430, 'ORBITAL.EXAMPLE · GROUND STATION OPEN HOUSE FRIDAYS', 'rgba(178,196,224,0.5)'),+ star(200, 160, 6, 18, 2), star(1040, 520, 7, 22, 4),+ ],+ })++ return doc({+ title: 'Orbital — dark immersive template',+ theme: { background: VOID, color: '#EAF4FF', accent: CYAN, fontFamily: IN },+ present: { progress: true },+ slides: [s1, s2, s3, st1, st2, s4, s5],+ })+}++// ═══════════════════════════════════════════════════════════════════════+// DECK D · «PICNIC» — playful toy-like (Bruno Simon / Hello Monday family)+// Sunshine, bubblegum, sky. Hard sticker shadows, everything slightly askew.+// ═══════════════════════════════════════════════════════════════════════+function deckPicnic() {+ const SUN = '#FFD43A', GUM = '#FF7BAC', SKY = '#4DC9F0', LIME = '#7BE382', INK = '#201A31', CREAM = '#FFF9EC'+ const sticker = { x: 6, y: 8, blur: 0, color: INK } // hard offset = sticker+ const wobble = (r, dur, phase = 0) => ({ loop: { type: 'motion-path', path: orbit(r, phase), duration: dur } })+ const chunky = (x, y, s, size = 90, color = INK, rot = 0) => text({ x, y, w: 1100, h: size * 1.4, html: s, fontSize: size, fontWeight: 900, color, fontFamily: IN, rotation: rot, lineHeight: 1 })++ const s1 = slide({+ id: 'pic-cover', background: SUN, transition: 'none',+ notes: 'TEMPLATE — “Pixel Picnic”, a playful toy-style deck. Style family: saturated flats, hard sticker shadows (offset, zero blur), everything 2–4° askew, shapes that wobble on motion-path loops. The blobs morph into the schedule tiles.',+ elements: [+ shape('ellipse', { id: 'pic-a', x: 950, y: 90, w: 220, h: 220, fill: GUM, stroke: INK, strokeWidth: 5, shadow: sticker, fx: wobble(10, 7) }),+ shape('rect', { id: 'pic-b', x: 560, y: 110, w: 190, h: 190, radius: 40, fill: SKY, stroke: INK, strokeWidth: 5, rotation: -8, shadow: sticker, fx: wobble(8, 9, 2) }),+ shape('triangle', { id: 'pic-c', x: 1010, y: 430, w: 180, h: 160, fill: LIME, stroke: INK, strokeWidth: 5, rotation: 7, shadow: sticker, fx: wobble(9, 8, 4) }),+ chunky(120, 150, 'PIXEL<br>PICNIC', 130, INK, -2),+ text({ x: 130, y: 470, w: 700, h: 60, html: 'a two-day jam for games,<br>toys & gloriously useless websites', fontSize: 24, fontWeight: 700, color: INK, rotation: -2, lineHeight: 1.3 }),+ text({ x: 850, y: 350, w: 340, h: 40, html: 'AUG 22–23 · THE OLD POOL', fontSize: 16, fontWeight: 800, color: INK, rotation: 3, letterSpacing: 1 }),+ ],+ })++ const s2 = slide({+ id: 'pic-rules', background: CREAM, transition: 'fade',+ notes: 'House rules as stickers. Count-up on the big number. Duplicate a card, rotate it ±3°, done.',+ elements: [+ chunky(110, 90, 'THREE RULES.', 84, INK, -1),+ ...[+ [SUN, 'MAKE IT<br>WEIRD', -3, 0],+ [GUM, 'SHIP IT<br>SILLY', 2, 1],+ [SKY, 'DEMO OR<br>IT DIDN’T<br>HAPPEN', -2, 2],+ ].map(([c, s, rot, i]) => shape('rect', { x: 120 + i * 370, y: 240, w: 320, h: 300, radius: 28, fill: c, stroke: INK, strokeWidth: 5, rotation: rot, shadow: sticker, fx: { enter: 'fade-up', order: i } })),+ ...['MAKE IT<br>WEIRD', 'SHIP IT<br>SILLY', 'DEMO OR IT<br>DIDN’T HAPPEN'].map((s, i) =>+ text({ x: 150 + i * 370, y: 300, w: 260, h: 200, html: s, fontSize: 38, fontWeight: 900, color: INK, align: 'center', rotation: [-3, 2, -2][i], lineHeight: 1.15, fx: { enter: 'fade-up', order: i } })),+ text({ x: 120, y: 590, w: 500, h: 80, html: '48', fontSize: 84, fontWeight: 900, color: GUM, fontFamily: IN, fx: { countUp: true, enter: 'fade', order: 3 } }),+ text({ x: 250, y: 630, w: 500, h: 40, html: 'hours. that’s the whole budget.', fontSize: 20, fontWeight: 700, color: INK, fx: { enter: 'fade', order: 3 } }),+ ],+ })++ const s3 = slide({+ id: 'pic-schedule', background: SKY, transition: 'morph',+ notes: 'The blobs morphed into schedule tiles — same ids as the cover shapes. A schedule that bounces beats a table that bores.',+ elements: [+ chunky(110, 80, 'THE PLAN-ISH', 84, CREAM, -1),+ shape('ellipse', { id: 'pic-a', x: 120, y: 220, w: 330, h: 150, fill: GUM, stroke: INK, strokeWidth: 5, shadow: sticker }),+ text({ x: 140, y: 262, w: 290, h: 70, html: '<b>SAT 10:00</b> — kickoff & pancakes', fontSize: 20, fontWeight: 800, color: INK, align: 'center', lineHeight: 1.3 }),+ shape('rect', { id: 'pic-b', x: 480, y: 300, w: 330, h: 150, radius: 34, fill: SUN, stroke: INK, strokeWidth: 5, rotation: 2, shadow: sticker }),+ text({ x: 500, y: 342, w: 290, h: 70, html: '<b>SAT 22:00</b> — night build, lights off', fontSize: 20, fontWeight: 800, color: INK, align: 'center', rotation: 2, lineHeight: 1.3 }),+ shape('triangle', { id: 'pic-c', x: 850, y: 210, w: 320, h: 260, fill: LIME, stroke: INK, strokeWidth: 5, rotation: -3, shadow: sticker }),+ text({ x: 890, y: 330, w: 240, h: 70, html: '<b>SUN 16:00</b><br>DEMOS!', fontSize: 22, fontWeight: 900, color: INK, align: 'center', rotation: -3, lineHeight: 1.25 }),+ text({ x: 120, y: 560, w: 1000, h: 60, html: 'everything else is officially improvised', fontSize: 22, fontWeight: 700, color: CREAM, rotation: -1 }),+ ],+ })++ const s4 = slide({+ id: 'pic-snacks', background: CREAM, transition: 'fade',+ notes: 'Yes, a snack chart. Charts don’t have to be serious — brand the palette and let the tooltip do a joke.',+ elements: [+ chunky(110, 80, 'SNACK BUDGET,<br>VISUALIZED', 66, INK, -1),+ chart({ x: 110, y: 260, w: 1060, h: 390, preset: 'bar', option: {+ grid: { left: 44, right: 12, top: 24, bottom: 32 },+ xAxis: { type: 'category', data: ['pizza', 'gummy bears', 'coffee', 'fruit??', 'mystery'] },+ yAxis: { type: 'value' },+ color: [GUM],+ tooltip: { trigger: 'item', formatter: '{b}: {c}%' },+ series: [{ type: 'bar', data: [38, 27, 22, 4, 9],+ itemStyle: { color: GUM, borderRadius: 14 }, barWidth: 110 }],+ }, fx: { enter: 'fade-up' } }),+ ],+ })++ const s5 = slide({+ id: 'pic-end', background: GUM, transition: 'zoom',+ notes: 'Confetti exit — every shape on its own wobble loop, phase-offset so nothing is frozen at entry.',+ elements: [+ ...[[SUN, 160, 120, 60, 0], [SKY, 1060, 140, 50, 1], [LIME, 200, 520, 70, 2],+ [CREAM, 990, 500, 44, 3], [SUN, 640, 80, 36, 4], ['#8A6FE8', 1130, 350, 40, 5]]+ .map(([c, x, y, w, i]) => shape(i % 2 ? 'ellipse' : 'rect', { x, y, w, h: w, radius: 12, fill: c, stroke: INK, strokeWidth: 4, rotation: (i * 17) % 30 - 15, shadow: sticker, fx: wobble(12 + i * 2, 6 + i, i) })),+ chunky(140, 250, 'COME PLAY.', 120, INK, -2),+ text({ x: 140, y: 430, w: 1000, h: 40, html: 'pixelpicnic.example — bring a controller and a sleeping bag', fontSize: 22, fontWeight: 800, color: INK, rotation: -2 }),+ ],+ })++ return doc({+ title: 'Pixel Picnic — playful template',+ theme: { background: SUN, color: INK, accent: GUM, fontFamily: IN },+ slides: [s1, s2, s3, s4, s5],+ })+}++// ——— splice + write ————————————————————————————————————————————————+const outDir = process.argv[2] ?? join(root, 'working')+mkdirSync(outDir, { recursive: true })+const blockRe = /<script type="application\/bento\+json" id="bento-doc">[\s\S]*?<\/script>/+for (const [file, build] of [+ ['signal-editorial-type.bento.html', deckSignal],+ ['terra-premium-product.bento.html', deckTerra],+ ['orbital-dark-immersive.bento.html', deckOrbital],+ ['picnic-playful.bento.html', deckPicnic],+]) {+ uid = 0+ const d = build()+ const json = JSON.stringify(d).replace(/</g, '\\u003c')+ const out = shell.replace(blockRe, `<script type="application/bento+json" id="bento-doc">\n${json}\n</scr` + 'ipt>')+ if (!out.includes(json)) throw new Error(`splice failed for ${file}`)+ writeFileSync(join(outDir, file), out)+ console.log(`${file} — ${d.slides.length} slides, ${Math.round(out.length / 1024)} KB`)+}diff --git a/scripts/release.mjs b/scripts/release.mjsindex 1028bf56..399cfbdf 100644--- a/scripts/release.mjs+++ b/scripts/release.mjs@@ -83,6 +83,10 @@ writeFileSync(join(site, 'CNAME'), 'bento.page\n')// deck's embedded typefaces injected (scripts/build-landing.mjs).execFileSync('node', [join(root, 'scripts/build-landing.mjs'), join(site, 'index.html')], { stdio: 'inherit' })+// The gallery — four template decks spliced from the same staged shell+// (each carries template:true; opening one mints a fresh, independent deck).+execFileSync('node', [join(root, 'scripts/build-example-decks.mjs'), join(site, 'gallery')], { stdio: 'inherit' })+console.log(`\nSite assembled for v${version}:`)execFileSync('find', [site, '-type', 'f'], { stdio: 'inherit' })console.log('\nPublish ./site/ to the gh-pages branch (docs/RELEASING.md).')diff --git a/site-src/landing.html b/site-src/landing.htmlindex b5007b8c..b510f51b 100644--- a/site-src/landing.html+++ b/site-src/landing.html@@ -339,6 +339,65 @@ section:not(.paper) .card p { color: var(--mist); }}.chip b { color: var(--peach-soft); font-weight: 700; }.chip.soon { color: var(--mist-dim); border-color: rgba(255, 255, 255, 0.1); }+.paper .chip { color: var(--ink-soft); border-color: rgba(13, 27, 46, 0.22); }+.paper .chip b { color: #C25B3F; }++/* gallery — four template posters, each in its own art direction */+.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }+.gcard {+ border-radius: 18px;+ overflow: hidden;+ background: var(--panel);+ border: 1px solid rgba(255, 255, 255, 0.09);+ box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);+ transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.35s;+}+.gcard:hover { transform: translateY(-5px); box-shadow: 0 28px 64px rgba(0, 0, 0, 0.52); }+.gposter { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }+.gposter * { position: absolute; }+.gmeta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px 16px; }+.gmeta h3 { font-size: 15.5px; font-weight: 700; color: #fff; }+.gmeta p { font-size: 12.5px; color: var(--mist-dim); margin-top: 3px; line-height: 1.45; }+.gacts { display: flex; gap: 8px; flex-shrink: 0; }+.gbtn {+ font-size: 12.5px;+ font-weight: 600;+ letter-spacing: 0.03em;+ color: var(--mist);+ border: 1px solid rgba(255, 255, 255, 0.22);+ border-radius: 999px;+ padding: 7px 14px;+ white-space: nowrap;+ transition: color 0.2s, border-color 0.2s, transform 0.2s;+}+.gbtn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }+/* signal poster */+.gp-signal { background: #EFEDE4; }+.gp-signal .k { left: 9%; top: 11%; font-size: 8.5px; font-weight: 700; letter-spacing: 0.26em; color: #E8442E; }+.gp-signal .hr { left: 9%; right: 9%; top: 22%; height: 1.5px; background: #141310; }+.gp-signal .t { left: 8.5%; top: 27%; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 42px; line-height: 0.94; color: #141310; }+.gp-signal .bar { left: 9%; bottom: 13%; width: 27%; height: 12%; background: #E8442E; }+/* terra poster */+.gp-terra { background: #F7F5F0; }+.gp-terra .k { left: 8.5%; top: 13%; font-size: 8.5px; font-weight: 700; letter-spacing: 0.22em; color: #C96F4A; }+.gp-terra .t { left: 8%; top: 27%; max-width: 52%; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 24px; line-height: 1.06; color: #2A2724; }+.gp-terra .v1 { right: 9%; top: 19%; width: 16%; height: 52%; border-radius: 999px; background: linear-gradient(160deg, #CE7852, #B85F3E); }+.gp-terra .v2 { right: 27%; top: 42%; width: 12%; height: 42%; border-radius: 999px; background: linear-gradient(160deg, #DDCDB9, #D2BFA6); }+.gp-terra .v3 { right: 13%; bottom: 7%; width: 11%; aspect-ratio: 1; border-radius: 50%; background: #7D8471; }+/* orbital poster */+.gp-orbital { background: #05060E; }+.gp-orbital .ring { left: 50%; top: 50%; width: 52%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1.5px solid #38E1FF; border-radius: 50%; box-shadow: 0 0 34px rgba(56, 225, 255, 0.35), inset 0 0 26px rgba(56, 225, 255, 0.12); }+.gp-orbital .t { left: 0; right: 0; top: 50%; transform: translateY(-58%); font-weight: 800; font-size: 21px; letter-spacing: 0.5em; text-indent: 0.5em; text-align: center; color: #F2F6FF; }+.gp-orbital .moon { left: 63%; top: 13%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #8F7BF7, #38B6FF); }+.gp-orbital .s1, .gp-orbital .s2, .gp-orbital .s3 { width: 3px; height: 3px; border-radius: 50%; background: rgba(178, 196, 224, 0.8); }+.gp-orbital .s1 { left: 14%; top: 30%; } .gp-orbital .s2 { left: 84%; top: 62%; } .gp-orbital .s3 { left: 24%; top: 78%; }+/* picnic poster */+.gp-picnic { background: #FFD43A; }+.gp-picnic .t { left: 8%; top: 22%; font-weight: 900; font-size: 34px; line-height: 0.98; letter-spacing: -0.01em; color: #201A31; }+.gp-picnic .sub { left: 8.5%; bottom: 13%; max-width: 56%; font-size: 10.5px; font-weight: 700; line-height: 1.35; color: #201A31; transform: rotate(-2deg); }+.gp-picnic .c1 { right: 10%; top: 14%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: #FF7BAC; border: 2.5px solid #201A31; box-shadow: 4px 5px 0 #201A31; }+.gp-picnic .c2 { right: 31%; top: 48%; width: 13%; aspect-ratio: 1; border-radius: 26%; background: #4DC9F0; border: 2.5px solid #201A31; box-shadow: 4px 5px 0 #201A31; transform: rotate(-8deg); }+.gp-picnic .c3 { right: 9%; bottom: 10%; width: 15%; aspect-ratio: 1.1; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #7BE382; filter: drop-shadow(4px 5px 0 rgba(32, 26, 49, 0.9)); }/* code vignette — the honest document */.codebox {@@ -385,6 +444,8 @@ footer b { color: var(--mist); font-weight: 600; }.tiles { margin: 30px auto 0; }section { padding: 84px 0; }.ghost { font-size: 130px; right: 0; }+ .gal { grid-template-columns: 1fr; }+ .gmeta { flex-wrap: wrap; }}@media (prefers-reduced-motion: reduce) {.tile, .m, .bokeh, .avatar.live-chip .pulse, .in .spark { animation: none !important; }@@ -458,10 +519,117 @@ footer b { color: var(--mist); font-weight: 600; }</div></section>-<!-- ———————————————— 02 · morph ———————————————— -->+<!-- ———————————————— 02 · gallery ———————————————— --><section><div class="wrap"><div class="ghost" aria-hidden="true">02</div>+ <div class="kicker rv">The gallery</div>+ <hr class="hairline rv" style="max-width:220px">+ <h2 class="rv">Start from something beautiful.</h2>+ <p class="lede rv d1">Four templates, four art directions — and each one is a <b>complete working file</b>. Open one: it boots straight into the app. Save it and it becomes your own deck, fresh identity and all. Every deck below was <b>designed and written by an AI agent</b> editing the document directly — which brings us to the next point.</p>+ <div class="gal">+ <div class="gcard rv">+ <a class="gposter gp-signal" href="/gallery/signal-editorial-type.bento.html" target="_blank" rel="noopener" aria-label="Open the Signal template in a new tab">+ <span class="k">SIGNAL — A FESTIVAL OF GRAPHIC IDEAS</span>+ <span class="hr"></span>+ <span class="t">Loud<br>letters.</span>+ <span class="bar"></span>+ </a>+ <div class="gmeta">+ <div><h3>Signal</h3><p>Editorial type — one paper, one ink, one violent red.</p></div>+ <div class="gacts">+ <a class="gbtn" href="/gallery/signal-editorial-type.bento.html" target="_blank" rel="noopener">Open ↗</a>+ <a class="gbtn" href="/gallery/signal-editorial-type.bento.html" download="Signal.bento.html">⤓ Get</a>+ </div>+ </div>+ </div>+ <div class="gcard rv d1">+ <a class="gposter gp-terra" href="/gallery/terra-premium-product.bento.html" target="_blank" rel="noopener" aria-label="Open the Terra template in a new tab">+ <span class="k">TERRA OBJECTS — COLLECTION N°4</span>+ <span class="t">Quiet things,<br>well made.</span>+ <span class="v1"></span><span class="v2"></span><span class="v3"></span>+ </a>+ <div class="gmeta">+ <div><h3>Terra</h3><p>Premium minimal — warm neutrals, morphing product cards.</p></div>+ <div class="gacts">+ <a class="gbtn" href="/gallery/terra-premium-product.bento.html" target="_blank" rel="noopener">Open ↗</a>+ <a class="gbtn" href="/gallery/terra-premium-product.bento.html" download="Terra.bento.html">⤓ Get</a>+ </div>+ </div>+ </div>+ <div class="gcard rv d1">+ <a class="gposter gp-orbital" href="/gallery/orbital-dark-immersive.bento.html" target="_blank" rel="noopener" aria-label="Open the Orbital template in a new tab">+ <span class="ring"></span>+ <span class="t">ORBITAL</span>+ <span class="moon"></span>+ <span class="s1"></span><span class="s2"></span><span class="s3"></span>+ </a>+ <div class="gmeta">+ <div><h3>Orbital</h3><p>Dark immersive — neon systems with clickable states.</p></div>+ <div class="gacts">+ <a class="gbtn" href="/gallery/orbital-dark-immersive.bento.html" target="_blank" rel="noopener">Open ↗</a>+ <a class="gbtn" href="/gallery/orbital-dark-immersive.bento.html" download="Orbital.bento.html">⤓ Get</a>+ </div>+ </div>+ </div>+ <div class="gcard rv d2">+ <a class="gposter gp-picnic" href="/gallery/picnic-playful.bento.html" target="_blank" rel="noopener" aria-label="Open the Pixel Picnic template in a new tab">+ <span class="t">PIXEL<br>PICNIC</span>+ <span class="sub">a two-day jam for gloriously useless websites</span>+ <span class="c1"></span><span class="c2"></span><span class="c3"></span>+ </a>+ <div class="gmeta">+ <div><h3>Pixel Picnic</h3><p>Playful — stickers, wobbles, hard zero-blur shadows.</p></div>+ <div class="gacts">+ <a class="gbtn" href="/gallery/picnic-playful.bento.html" target="_blank" rel="noopener">Open ↗</a>+ <a class="gbtn" href="/gallery/picnic-playful.bento.html" download="Pixel_Picnic.bento.html">⤓ Get</a>+ </div>+ </div>+ </div>+ </div>+ </div>+</section>++<!-- ———————————————— 03 · AI ———————————————— -->+<section class="paper">+ <div class="wrap">+ <div class="ghost" aria-hidden="true">03</div>+ <div class="grid2">+ <div>+ <div class="kicker rv">Local-first · AI-native</div>+ <hr class="hairline rv" style="max-width:220px">+ <h2 class="rv">Designed for AI.<br>Entirely optional.</h2>+ <p class="lede rv d1">Bento is local-first <b>and</b> built for the AI era. The document is plain JSON sitting openly in the file — so a chatbot round-trips it and an agent harness <b>edits the file directly</b>. That's how the gallery above was made. No converters, no uploads, no .pptx archaeology: <b>orders of magnitude leaner</b> than driving PowerPoint with a bot. And if you never touch AI, nothing here ever will either.</p>+ <div class="chips rv d2">+ <span class="chip"><b>The format is the API</b></span>+ <span class="chip">No binary .pptx to decode</span>+ <span class="chip">Agents edit the file in place</span>+ <span class="chip">Nothing phones home</span>+ </div>+ </div>+ <div class="codebox rv d1" aria-label="The document format, as it appears inside every file"><span class="c"><!-- inside every .bento.html --></span>+<script type=<span class="s">"application/bento+json"</span> id=<span class="s">"bento-doc"</span>>+{+ <span class="k">"format"</span>: <span class="s">"bento/slides"</span>,+ <span class="k">"title"</span>: <span class="s">"Q4 All-hands"</span>,+ <span class="k">"slides"</span>: [+ { <span class="k">"id"</span>: <span class="s">"s1"</span>, <span class="k">"transition"</span>: <span class="s">"morph"</span>,+ <span class="k">"elements"</span>: [ … ] }+ ]+}+</script>++<span class="c">// and in the console:</span>+window.bento.doc <span class="c">// read</span>+window.bento.loadDoc(json) <span class="c">// write, undoable</span></div>+ </div>+ </div>+</section>++<!-- ———————————————— 04 · morph ———————————————— -->+<section>+ <div class="wrap">+ <div class="ghost" aria-hidden="true">04</div><div class="grid2"><div><div class="kicker rv">The native transition</div>@@ -478,10 +646,10 @@ footer b { color: var(--mist); font-weight: 600; }</div></section>-<!-- ———————————————— 03 · charts ———————————————— -->+<!-- ———————————————— 05 · charts ———————————————— --><section class="paper"><div class="wrap">- <div class="ghost" aria-hidden="true">03</div>+ <div class="ghost" aria-hidden="true">05</div><div class="grid2"><div class="chartbox rv d1"><svg viewBox="0 0 560 300" role="img" aria-label="An area chart drawn by Bento's built-in chart engine">@@ -511,10 +679,10 @@ footer b { color: var(--mist); font-weight: 600; }</div></section>-<!-- ———————————————— 04 · live ———————————————— -->+<!-- ———————————————— 06 · live ———————————————— --><section><div class="wrap">- <div class="ghost" aria-hidden="true">04</div>+ <div class="ghost" aria-hidden="true">06</div><div class="kicker rv">Together, live</div><hr class="hairline rv" style="max-width:220px"><h2 class="rv">Collaboration without<br>a cloud account.</h2>@@ -532,10 +700,10 @@ footer b { color: var(--mist); font-weight: 600; }</div></section>-<!-- ———————————————— 05 · yours ———————————————— -->+<!-- ———————————————— 07 · yours ———————————————— --><section class="paper"><div class="wrap">- <div class="ghost" aria-hidden="true">05</div>+ <div class="ghost" aria-hidden="true">07</div><div class="kicker rv">Local-first, provably</div><hr class="hairline rv" style="max-width:220px"><h2 class="rv">No cloud required.<br>Not even ours.</h2>@@ -548,42 +716,6 @@ footer b { color: var(--mist); font-weight: 600; }</div></section>-<!-- ———————————————— 06 · AI ———————————————— -->-<section>- <div class="wrap">- <div class="ghost" aria-hidden="true">06</div>- <div class="grid2">- <div>- <div class="kicker rv">Local-first · AI-native</div>- <hr class="hairline rv" style="max-width:220px">- <h2 class="rv">Designed for AI.<br>Entirely optional.</h2>- <p class="lede rv d1">Bento is local-first <b>and</b> built for the AI era. The document is plain JSON sitting openly in the file — so a chatbot round-trips it and an agent harness <b>edits the file directly</b>. No converters, no uploads, no .pptx archaeology: <b>orders of magnitude leaner</b> than driving PowerPoint with a bot. And if you never touch AI, nothing here ever will either.</p>- <div class="chips rv d2">- <span class="chip"><b>The format is the API</b></span>- <span class="chip">No binary .pptx to decode</span>- <span class="chip">Agents edit the file in place</span>- <span class="chip">Nothing phones home</span>- </div>- </div>- <div class="codebox rv d1" aria-label="The document format, as it appears inside every file"><span class="c"><!-- inside every .bento.html --></span>-<script type=<span class="s">"application/bento+json"</span> id=<span class="s">"bento-doc"</span>>-{- <span class="k">"format"</span>: <span class="s">"bento/slides"</span>,- <span class="k">"title"</span>: <span class="s">"Q4 All-hands"</span>,- <span class="k">"slides"</span>: [- { <span class="k">"id"</span>: <span class="s">"s1"</span>, <span class="k">"transition"</span>: <span class="s">"morph"</span>,- <span class="k">"elements"</span>: [ … ] }- ]-}-</script>--<span class="c">// and in the console:</span>-window.bento.doc <span class="c">// read</span>-window.bento.loadDoc(json) <span class="c">// write, undoable</span></div>- </div>- </div>-</section>-<!-- ———————————————— finale ———————————————— --><section class="finale"><div class="sky" aria-hidden="true">