@hypersocial/decks-cli 0.9.23 → 0.9.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/package.json +1 -1
  2. package/skills/hyperdecks/SKILL.md +124 -67
  3. package/skills/hyperdecks/chat.md +11 -8
  4. package/skills/hyperdecks/terminal.md +83 -0
  5. package/src/bars.mjs +268 -0
  6. package/src/brand.mjs +51 -8
  7. package/src/check.mjs +333 -20
  8. package/src/checkRules.mjs +677 -27
  9. package/src/commands.mjs +171 -31
  10. package/src/deckSlug.mjs +41 -0
  11. package/src/embedCapture.mjs +126 -0
  12. package/src/embedSources.mjs +252 -0
  13. package/src/embedsGuide.mjs +36 -0
  14. package/src/export-video.mjs +20 -3
  15. package/src/files.mjs +36 -0
  16. package/src/guide.mjs +93 -13
  17. package/src/hosted.mjs +18 -8
  18. package/src/iconAliasNames.mjs +70 -0
  19. package/src/iconChoice.mjs +97 -0
  20. package/src/iconSets.mjs +89 -0
  21. package/src/iconSlots.mjs +48 -0
  22. package/src/icons.mjs +285 -45
  23. package/src/iconsCli.mjs +76 -0
  24. package/src/layoutRoutes.mjs +97 -0
  25. package/src/layouts.mjs +9 -4
  26. package/src/mediaPreviews.mjs +3 -1
  27. package/src/narrate.mjs +31 -4
  28. package/src/opening.mjs +9 -3
  29. package/src/ops.mjs +125 -0
  30. package/src/photosGuide.mjs +47 -0
  31. package/src/picturesGuide.mjs +54 -0
  32. package/src/play.mjs +3 -2
  33. package/src/presenter.mjs +3 -1
  34. package/src/preview-capture.mjs +70 -1
  35. package/src/release.mjs +13 -5
  36. package/src/runtime.mjs +9 -2
  37. package/src/scaffold.mjs +73 -13
  38. package/src/source.mjs +86 -14
  39. package/src/stockMedia.mjs +299 -0
  40. package/src/themeCli.mjs +41 -0
  41. package/src/themes.mjs +345 -0
  42. package/templates/icons/material.LICENSE +202 -0
  43. package/templates/icons/material.json.gz +0 -0
  44. package/templates/icons/phosphor.LICENSE +21 -0
  45. package/templates/icons/phosphor.json.gz +0 -0
  46. package/templates/icons/tabler.LICENSE +21 -0
  47. package/templates/icons/tabler.json.gz +0 -0
  48. package/templates/layouts/_deck.html +231 -41
  49. package/templates/layouts/bento.html +76 -0
  50. package/templates/layouts/chart.html +6 -4
  51. package/templates/layouts/closer.html +13 -4
  52. package/templates/layouts/compare.html +13 -4
  53. package/templates/layouts/cover-band.html +13 -9
  54. package/templates/layouts/cover-frame.html +13 -7
  55. package/templates/layouts/cover-poster.html +9 -5
  56. package/templates/layouts/cover-split.html +19 -7
  57. package/templates/layouts/cover-type.html +2 -1
  58. package/templates/layouts/embed.html +93 -0
  59. package/templates/layouts/features.html +18 -10
  60. package/templates/layouts/funnel.html +62 -0
  61. package/templates/layouts/hero.html +41 -23
  62. package/templates/layouts/lanes.html +63 -0
  63. package/templates/layouts/loop.html +81 -0
  64. package/templates/layouts/number.html +3 -2
  65. package/templates/layouts/phone-stage.html +78 -0
  66. package/templates/layouts/phones.html +1 -0
  67. package/templates/layouts/picture-full.html +58 -0
  68. package/templates/layouts/portrait.html +53 -0
  69. package/templates/layouts/product.html +7 -6
  70. package/templates/layouts/quote.html +5 -3
  71. package/templates/layouts/rail.html +74 -0
  72. package/templates/layouts/scorecard.html +71 -0
  73. package/templates/layouts/screens.html +85 -0
  74. package/templates/layouts/sentence.html +39 -0
  75. package/templates/layouts/split.html +35 -7
  76. package/templates/layouts/spotlight.html +80 -0
  77. package/templates/layouts/stack.html +84 -0
  78. package/templates/layouts/staircase.html +78 -0
  79. package/templates/layouts/strike.html +46 -0
  80. package/templates/layouts/tap-through.html +73 -0
  81. package/templates/layouts/team.html +21 -6
  82. package/templates/layouts/timeline.html +21 -8
  83. package/templates/layouts/two-bars.html +53 -0
  84. package/templates/layouts/two-by-two.html +75 -0
  85. package/templates/layouts/video-beats.html +66 -0
  86. package/templates/layouts/video-full.html +62 -0
  87. package/templates/layouts/wall.html +109 -0
  88. package/templates/layouts/zoom.html +144 -0
  89. package/templates/narrated-deck.html +12 -7
  90. package/templates/script.md +2 -2
  91. /package/templates/icons/{LICENSE → lucide.LICENSE} +0 -0
@@ -0,0 +1,85 @@
1
+ <!--
2
+ layout: screens
3
+ summary: Two to four screens (or pictures) in order, left to right, with an arrow between each and a short caption under each, the point in the column beside them: a storyboard, so the order reads at a glance.
4
+ brief: Two to four screens or pictures in order, an arrow and a caption each.
5
+ says: how it works
6
+ needs: 2 to 4 screenshots or pictures
7
+ use: a flow told in steps (pick, pay, done), or a picture strip (three moments of an event). Each .pane's .shot is a placeholder check fails on: put in phone screenshots (capture_url at 390×844) or pictures as <img class="shot" src="…" alt="…" width="…" height="…"> (or a <video class="shot" autoplay muted loop playsinline>); each frame takes its picture's shape, as large as the row allows, the caption right under it. Keep the pictures one shape. Landscape pictures (screenshots of a desktop, 16:9 frames) take class="shot wide": two sit in a row; three or four stand two by two (the third centred under the first two), so each is large enough to read. Two to four steps: add or remove a .step and its cue. For one screen use phone-stage; to let the viewer step through, tap-through.
8
+ slot: bottom-left
9
+ presenter: stage
10
+ nopresenter: The copy centres vertically beside the row instead of leaving the bottom-left free.
11
+ cues: [go: #__ID__-s1], [go: #__ID__-s2], [go: #__ID__-s3] at the word that starts each step (each lights as the others fade back), then [go: slot].
12
+ script: Three steps, in order. First [go: #__ID__-s1] you pick one. Then [go: #__ID__-s2] you check it over. And then [go: #__ID__-s3] it is on its way. [go: slot]
13
+ -->
14
+ <style>
15
+ .l-screens { display: grid; grid-template-columns: 420px minmax(0, 1fr); column-gap: 56px; }
16
+ .l-screens .head { align-self: start; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
17
+ .l-screens .tt { font-size: var(--t-sub); line-height: 1.02; }
18
+ .l-screens .lead { font-size: var(--t-body); }
19
+ /* --cap: the room under each picture for its caption; the row is a size container, so a picture is as tall as the row allows less that room. */
20
+ .l-screens .row { --cap: 74px; --rows: 1; --gap: 40px; min-height: 0; container-type: size; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 64px; row-gap: var(--gap); align-items: center; }
21
+ /* Each step hugs its picture, the caption right under it; steps of one shape share a caption line. */
22
+ .l-screens .step { position: relative; display: flex; flex-direction: column; align-items: center; row-gap: 18px; min-width: 0; }
23
+ .l-screens .pane { position: relative; display: flex; justify-content: center; max-width: 100%; }
24
+ /* The frame hugs its picture: the picture keeps its own shape, up to the step's width and the row's height. */
25
+ .l-screens .shot { display: block; max-width: 100%; max-height: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) - var(--cap)); width: auto; height: auto; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(34 * var(--round-phone)); background: var(--card); box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); object-fit: contain; }
26
+ .l-screens .shot.wide { --frame-min: 139px; --shot-corner: min(calc(18 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); }
27
+ .on-accent.l-screens .shot { box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
28
+ .l-screens div.shot { height: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) - var(--cap)); aspect-ratio: 9 / 19.5; background:
29
+ linear-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 0 0) 50% 6% / 40% 2.4% no-repeat,
30
+ linear-gradient(var(--accent-2) 0 0) 50% 32% / 80% 36% no-repeat,
31
+ linear-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 0 0) 20% 64% / 56% 2.6% no-repeat,
32
+ linear-gradient(var(--accent) 0 0) 50% 90% / 80% 7% no-repeat,
33
+ var(--paper); }
34
+ .l-screens div.shot.wide { aspect-ratio: 16 / 9; }
35
+ /* A wide placeholder on a mat (a round theme, _deck.html): its screen drawn inside the mat. */
36
+ @container not style(--shot-mat: 0px) {
37
+ .l-screens div.shot.wide { background:
38
+ linear-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 0 0) 50% 6% / 40% 2.4% no-repeat content-box,
39
+ linear-gradient(var(--accent-2) 0 0) 50% 32% / 80% 36% no-repeat content-box,
40
+ linear-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 0 0) 20% 64% / 56% 2.6% no-repeat content-box,
41
+ linear-gradient(var(--accent) 0 0) 50% 90% / 80% 7% no-repeat content-box,
42
+ linear-gradient(var(--paper) 0 0) content-box,
43
+ var(--card); }
44
+ }
45
+ /* Three or four landscape pictures: two by two (the third alone, centred, under the first two), so each is much larger
46
+ than it would be in one row beside the copy and the column's height is used. */
47
+ .l-screens .row:has(.shot.wide):has(> .step:nth-child(3)) { --rows: 2; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
48
+ .l-screens .row:has(.shot.wide) > .step:nth-child(3):last-child { grid-column: 1 / -1; }
49
+ /* An arrow in the gap after each step, level with the middle of its picture; none at the end of a row. */
50
+ .l-screens .step:not(:last-child)::after { content: "→"; position: absolute; right: -48px; top: calc(50% - 22px); translate: 0 -50%; font: 700 var(--t-lead) var(--font); }
51
+ .l-screens .row:has(.shot.wide):has(> .step:nth-child(3)) > .step:nth-child(2)::after { content: none; }
52
+ .l-screens .cap { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-body); line-height: 1.25; font-weight: 600; text-align: center; }
53
+ .l-screens .cap b { font: 700 var(--t-label) var(--mono); }
54
+ @media (max-width: 650px) {
55
+ .l-screens { display: flex; flex-direction: column; gap: 14px; }
56
+ .l-screens .head { gap: 8px; padding-top: 0; }
57
+ .l-screens .row { --cap: 40px; --gap: 14px; flex: none; height: 330px; column-gap: 10px; }
58
+ /* Landscape pictures on a phone: two to a row, as wide as the card allows. */
59
+ .l-screens .row:has(.shot.wide) { --rows: 2; height: 280px; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
60
+ .l-screens .row:has(.shot.wide):not(:has(> .step:nth-child(3))) { --rows: 1; height: 140px; }
61
+ .l-screens .step { row-gap: 6px; }
62
+ .l-screens .shot { border-width: calc(2 * var(--line)); border-radius: calc(14 * var(--round)); box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
63
+ .l-screens .shot.wide { --frame-min: 78px; --shot-corner: min(calc(8 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); }
64
+ .on-accent.l-screens .shot { box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
65
+ .l-screens .step:not(:last-child)::after { content: none; }
66
+ .l-screens .cap { flex-direction: column; align-items: center; gap: 0; font-size: var(--t-label); }
67
+ }
68
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
69
+ @media (min-width: 651px) {
70
+ :root.hd-no-presenter .l-screens .head { align-self: center; padding-top: 0; }
71
+ }
72
+ </style>
73
+ <section class="slide l-screens slot-left" id="__ID__" data-chapter="How it works" data-note="Screens: name the app build (or where the pictures are from) and the date they were captured.">
74
+ <div class="head">
75
+ <div class="kicker">How it works · Step by step</div>
76
+ <h2 class="tt" data-title-mobile="Three steps.">Three steps, in the order people take them.</h2>
77
+ <p class="lead">One line on the flow, start to finish.</p>
78
+ </div>
79
+ <div class="row" id="__ID__-row">
80
+ <figure class="step" id="__ID__-s1"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the first step"></div></div><figcaption class="cap"><b>1</b>Pick one</figcaption></figure>
81
+ <figure class="step" id="__ID__-s2"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the second step"></div></div><figcaption class="cap"><b>2</b>Check it</figcaption></figure>
82
+ <figure class="step" id="__ID__-s3"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the last step"></div></div><figcaption class="cap"><b>3</b>Sent</figcaption></figure>
83
+ </div>
84
+ <div class="narration-slot"></div>
85
+ </section>
@@ -0,0 +1,39 @@
1
+ <!--
2
+ layout: sentence
3
+ summary: One sentence, set large, one phrase in it marked: the line you want remembered. Your own claim, not someone else's words (that is quote).
4
+ brief: One sentence, set large, one phrase marked: the line to remember.
5
+ says: the point
6
+ needs: 1 sentence
7
+ use: the one line the deck turns on, a thesis, a promise, a conclusion. Keep it under about 70 characters and mark at most one phrase with <mark>. It shows in full on a phone too, its mark included: give it no data-title-mobile. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the line and sets it a size smaller, clear of the presenter.
8
+ slot: bottom-right
9
+ presenter: stage
10
+ nopresenter: The line takes the full width of the slide.
11
+ cues: [look: #__ID__-line] as the narration says it; [go: slot] after.
12
+ script: Here is the whole point. [look: #__ID__-line] They show up to the meeting already knowing the pitch. [go: slot]
13
+ -->
14
+ <style>
15
+ /* The line is the title, at display size, in a column that ends left of the presenter's corner (the stage presenter at m
16
+ reaches 1064px across); a larger presenter narrows it and drops it to title size. */
17
+ .l-sentence { justify-content: center; gap: 28px; }
18
+ .l-sentence .tt { font-size: var(--t-display); max-width: 980px; }
19
+ .l-sentence mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
20
+ .on-accent.l-sentence mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
21
+ @media (max-width: 650px) {
22
+ .l-sentence { gap: 12px; justify-content: var(--hd-phone-anchor); }
23
+ .l-sentence .tt { font-size: var(--t-display); max-width: none; }
24
+ }
25
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag). */
26
+ @media not all and (max-width: 650px) {
27
+ .l-sentence[data-presenter-size="l"] .tt { font-size: var(--t-title); max-width: 830px; }
28
+ .l-sentence[data-presenter-size="xl"] .tt { font-size: var(--t-title); max-width: 680px; }
29
+ }
30
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
31
+ @media (min-width: 651px) {
32
+ :root.hd-no-presenter .l-sentence .tt { max-width: 1400px; }
33
+ }
34
+ </style>
35
+ <section class="slide l-sentence" id="__ID__" data-chapter="The point" data-note="Source: where this claim is shown (a number, a study, the product itself).">
36
+ <div class="kicker">The point</div>
37
+ <h2 class="tt" id="__ID__-line">They show up to the meeting <mark>already knowing the pitch.</mark></h2>
38
+ <div class="narration-slot"></div>
39
+ </section>
@@ -1,41 +1,69 @@
1
1
  <!--
2
2
  layout: split
3
3
  summary: Image plus copy: the copy on the left (a sticker for the logo or icon, kicker, title, one line, three ticks), a real picture on the right in a phone card (the picture is the background; add bg-pool to light it).
4
- use: the workhorse for a product, a feature or an app: most slides of a good deck are this one. The phone's .shot is a placeholder check fails on: put in a phone screenshot (capture_url at 390×844) or a screen recording (upload_deck_asset) as <img class="shot"> or <video class="shot" autoplay muted loop playsinline>. For a desktop app, replace the card with <div class="frame laptop" id="__ID__-frame"><img class="shot" src="…" alt="…"></div>; for a 16:9 clip or photo, <img class="shot wide" src="…" alt="…" id="__ID__-frame">. Swap the sticker's icon for the product's logo (<span class="sticker photo"><img src="…" alt=""></span>) or one icon from the deck's set.
4
+ brief: Image plus copy: a sticker, title, line and three ticks beside a real picture.
5
+ use: a product, a feature or an app, shown with a real picture beside the words. A deck can carry several, spread out, with other shapes between them (check warns when one layout fills over a third of the slides). The phone's .shot is a placeholder check fails on: put in a phone screenshot (capture_url at 390×844) or a screen recording (upload_deck_asset) as <img class="shot"> or <video class="shot" autoplay muted loop playsinline>. For a desktop app, replace the card with <div class="frame laptop" id="__ID__-frame"><img class="shot" src="…" alt="…"></div>; for any other picture or clip (a square sheet, 4:3, 16:9), <img class="shot wide" src="…" alt="…" id="__ID__-frame"> (or <video class="shot wide" …>): its frame takes the picture's shape, no styling needed; for a photo (a found one: `hyperdecks photos add <id> --for split`, deck_guide topic photos), <img class="pic" src="…" alt="…" width="…" height="…" id="__ID__-frame"> (it takes the theme's photo treatment). A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) gives it the left of the slide, the copy and the picture side by side beside it (for the stage presenter); on a flipped split (data-flip) it takes the right, the picture and the copy beside it. Swap the sticker's icon for the product's logo (<span class="sticker photo"><img src="…" alt=""></span>) or one icon from the deck's set (`hyperdecks icons search <word> --for split`, search_icons { for: "split" }).
5
6
  slot: bottom-left
7
+ flip: data-flip on the section mirrors it: the picture in the left column, the words on the right with the presenter under them (bottom-right). Alternate it with a neighbouring split slide.
6
8
  presenter: stage
7
9
  nopresenter: The copy centres vertically beside the picture instead of leaving the bottom-left free.
8
10
  cues: [look: #__ID__-frame] when the narration turns to the picture; [go: #__ID__-t1], [go: #__ID__-t2], [go: #__ID__-t3] at the word that starts each tick, then [go: slot].
9
11
  script: Here it is, doing the job. [look: #__ID__-frame] It starts with [go: #__ID__-t1] the first thing. Then [go: #__ID__-t2] the second. And [go: #__ID__-t3] the third. [go: slot]
10
12
  -->
11
13
  <style>
12
- .l-split { display: grid; grid-template-columns: 680px minmax(0, 1fr); column-gap: 64px; align-items: center; }
14
+ .l-split { display: grid; grid-template-columns: 680px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 64px; align-items: center; }
13
15
  .l-split .text { align-self: start; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
14
16
  .l-split .head { display: flex; align-items: center; gap: 22px; }
15
17
  .l-split .tt { font-size: var(--t-sub); line-height: 1.02; }
16
18
  .l-split .lead { font-size: var(--t-body); }
17
19
  .l-split .ticks { margin-top: 6px; }
18
- .l-split .media { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; height: 100%; min-width: 0; }
20
+ /* One definite row, so the picture's max-height: 100% is the slide's height and a tall picture shrinks to fit. */
21
+ .l-split .media { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; height: 100%; min-width: 0; min-height: 0; }
19
22
  .l-split .frame.card { width: 300px; --tilt: 4deg; }
20
- .l-split .shot.wide { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; object-fit: cover; box-shadow: 14px 14px 0 var(--accent); }
21
- .on-accent.l-split .shot.wide { box-shadow: 14px 14px 0 var(--ink); }
23
+ /* A picture that is not a phone screen: the frame takes the picture's own shape (any shape shows whole), at its own
24
+ size, shrunk to fit the column and the slide's height. width/height attributes do not set it. */
25
+ .l-split .shot.wide { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: cover; --frame-min: 300px; --shot-corner: min(calc(18 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); box-shadow: calc(14 * var(--drop-x)) calc(14 * var(--drop-y)) calc(14 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
26
+ /* A photo (img.pic, or a captioned figure.mount): at its own shape, up to the column, in the theme's treatment. */
27
+ .l-split .media > .mount { width: 100%; }
28
+ .l-split .media .pic { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; --frame-min: 356px; border-radius: min(calc(18 * var(--round)), var(--frame-min) / 8); }
29
+ .on-accent.l-split .shot.wide { box-shadow: calc(14 * var(--drop-x)) calc(14 * var(--drop-y)) calc(14 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
22
30
  @media (max-width: 650px) {
23
31
  .l-split { display: flex; flex-direction: column; align-items: stretch; }
24
32
  .l-split .text { gap: 10px; padding-top: 0; }
25
33
  .l-split .head { gap: 12px; }
26
34
  .l-split .media { height: auto; }
27
35
  .l-split .frame.card { width: 128px; }
28
- .l-split .shot.wide { border-radius: 10px; box-shadow: 6px 6px 0 var(--accent); }
36
+ .l-split .media .pic { max-height: 300px; --frame-min: 167px; border-radius: min(calc(10 * var(--round)), var(--frame-min) / 8); }
37
+ .l-split .shot.wide { max-height: 300px; --frame-min: 167px; --shot-corner: min(calc(10 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
38
+ }
39
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag): it keeps the left of the slide and the copy and the
40
+ picture share the rest, room for a stage presenter at that size, so no deck CSS is needed. */
41
+ @media not all and (max-width: 650px) {
42
+ .l-split:is([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; padding-left: 728px; }
43
+ .l-split[data-presenter-size="xl"] { padding-left: 872px; }
29
44
  }
30
45
  /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
31
46
  @media (min-width: 651px) {
32
47
  :root.hd-no-presenter .l-split .text { align-self: center; padding-top: 0; }
48
+ :root.hd-no-presenter .l-split:is([data-presenter-size="l"], [data-presenter-size="xl"]) { padding-left: 72px; }
49
+ :root.hd-no-presenter .l-split:is([data-presenter-size="l"], [data-presenter-size="xl"])[data-flip] { padding-right: 72px; }
50
+ }
51
+ /* Flipped (data-flip on the section): the mirror image, for a neighbour of the same layout. Wide screens only; a phone
52
+ stacks the same either way. The presenter follows the panel (layouts/_deck.html). */
53
+ @media not all and (max-width: 650px) {
54
+ .l-split[data-flip] { grid-template-columns: minmax(0, 1fr) 680px; }
55
+ .l-split[data-flip] .text { grid-column: 2; grid-row: 1; }
56
+ .l-split[data-flip] .media { grid-column: 1; grid-row: 1; }
57
+ .l-split[data-flip] .frame.card { --tilt: -4deg; }
58
+ /* A large presenter keeps the right of the slide instead of the left. */
59
+ .l-split:is([data-presenter-size="l"], [data-presenter-size="xl"])[data-flip] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 72px; padding-right: 728px; }
60
+ .l-split:is([data-presenter-size="xl"])[data-flip] { padding-right: 872px; }
33
61
  }
34
62
  </style>
35
63
  <section class="slide l-split slot-left" id="__ID__" data-chapter="The product" data-note="Picture: name the screen or clip and the date it was captured.">
36
64
  <div class="text">
37
65
  <div class="head">
38
- <span class="sticker" id="__ID__-logo"><svg class="lucide-smartphone" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg></span>
66
+ <span class="sticker" id="__ID__-logo"><svg class="icon lucide-smartphone" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg></span>
39
67
  <div class="kicker">The product · Live</div>
40
68
  </div>
41
69
  <h2 class="tt" data-title-mobile="Here it is.">Here it is, doing the job.</h2>
@@ -0,0 +1,80 @@
1
+ <!--
2
+ layout: spotlight
3
+ summary: Three to five options, the picked one large in the accent on the left and the rest set back in a column beside it: the one that matters among several.
4
+ brief: Three to five options, one picked out large, the rest set back beside it.
5
+ says: the one that matters
6
+ needs: 3 to 5 options
7
+ use: the new one among the old, the plan you chose among the options, the tier most people buy. Mark the picked card with class is-on (one only). Names of a word or two, no word over about 14 letters (each name is sized to its card so its longest word fits; words never break). [go] on a card also lifts it and sets its neighbours back, so the narration can walk the options before landing on the picked one. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows both columns, clear of the presenter.
8
+ slot: bottom-right
9
+ presenter: stage
10
+ nopresenter: The two columns take the full width of the slide.
11
+ cues: [look: #__ID__-row] as the narration names the options; [go: #__ID__-on] at the picked one, then [go: slot].
12
+ script: There are four ways to present. [look: #__ID__-row] This one is new: [go: #__ID__-on] your avatar, moving with the words. [go: slot]
13
+ -->
14
+ <style>
15
+ /* The picked option fills the left column, tall, in the accent; the others stack as rows in the right column, quiet,
16
+ in the slide's own colour. Both end left of the presenter's corner (the stage presenter at m reaches 1064px across).
17
+ Each name is sized to its card (cqi: the card's width) so a word of about 14 letters fits in any theme; words
18
+ never break. */
19
+ .l-spotlight .row { list-style: none; flex: 1; min-height: 0; max-height: 520px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); grid-auto-flow: row dense; gap: 16px 24px; max-width: 980px; margin-top: 8px; }
20
+ .l-spotlight .row li { container-type: inline-size; grid-column: 2; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 14px 22px; border-radius: calc(20 * var(--round)); border: calc(3 * var(--line)) solid color-mix(in srgb, currentColor 35%, transparent); color: color-mix(in srgb, currentColor 70%, transparent); background: color-mix(in srgb, currentColor 6%, transparent); }
21
+ .l-spotlight .row b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(var(--t-lead), 11cqi); line-height: 1.05; }
22
+ .l-spotlight .row p { font-size: min(var(--t-body), 9cqi); line-height: 1.3; }
23
+ .l-spotlight .row li.is-on { grid-column: 1; grid-row: 1 / -1; justify-content: space-between; gap: 14px; padding: 32px 34px; border-color: var(--ink); background: var(--accent); color: var(--accent-ink); box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
24
+ .l-spotlight .row:has(li:nth-child(5)) li.is-on { grid-row: 1 / span 4; }
25
+ .l-spotlight .row:not(:has(li:nth-child(5))) li.is-on { grid-row: 1 / span 3; }
26
+ .l-spotlight .row:not(:has(li:nth-child(4))) li.is-on { grid-row: 1 / span 2; }
27
+ .on-ink.l-spotlight .row li.is-on { box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent-2) var(--drop-mix), transparent); }
28
+ .on-accent.l-spotlight .row li.is-on { background: var(--card); color: var(--ink); }
29
+ .l-spotlight .row li.is-on b { font-size: min(var(--t-title), 11cqi); line-height: var(--display-leading); }
30
+ .l-spotlight .row li.is-on p { font-size: min(var(--t-lead), 8cqi); }
31
+ @media (max-width: 650px) {
32
+ /* The options share the free height, the picked one up to twice as tall (at most 170px; the rest 100px), words centred. */
33
+ .l-spotlight .row { flex: 1 1 0; min-height: auto; max-height: none; display: flex; flex-direction: column; gap: 8px; max-width: none; margin: 0; }
34
+ .l-spotlight .row li { flex: 1 1 auto; max-height: 100px; justify-content: center; }
35
+ .l-spotlight .row li.is-on { flex: 2 1 auto; max-height: 170px; justify-content: center; }
36
+ .l-spotlight .row li, .l-spotlight .row li.is-on { grid-column: 1; grid-row: auto; gap: 2px; padding: 10px 14px; border-width: calc(2 * var(--line)); border-radius: calc(14 * var(--round)); }
37
+ .l-spotlight .row li.is-on { box-shadow: calc(5 * var(--drop-x)) calc(5 * var(--drop-y)) calc(5 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
38
+ .l-spotlight .row b, .l-spotlight .row li.is-on b { font-size: min(var(--t-lead), 9cqi); }
39
+ .l-spotlight .row p, .l-spotlight .row li.is-on p { font-size: var(--t-body); }
40
+ }
41
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag). */
42
+ @media not all and (max-width: 650px) {
43
+ .l-spotlight[data-presenter-size="l"] :is(.row, .tt) { max-width: 830px; }
44
+ .l-spotlight[data-presenter-size="xl"] :is(.row, .tt) { max-width: 680px; }
45
+ .l-spotlight[data-presenter-size="xl"] .row { gap: 12px 16px; }
46
+ .l-spotlight[data-presenter-size="xl"] .row li.is-on { padding: 22px 24px; }
47
+ }
48
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
49
+ @media (min-width: 651px) {
50
+ :root.hd-no-presenter .l-spotlight :is(.row, .tt) { max-width: none; }
51
+ }
52
+ /* Icon slot (optional): an icon on each option, beside its name, and at the top of the picked one (hyperdecks icons search <word> --for spotlight). */
53
+ .l-spotlight .row li { --icon: 40; }
54
+ .l-spotlight .row li:not(.is-on):has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 14px; }
55
+ .l-spotlight .row li:not(.is-on) > .icon { grid-row: span 2; align-self: center; }
56
+ .l-spotlight .row li.is-on { --icon: 72; }
57
+ .l-spotlight:not(.on-accent) .row li.is-on { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
58
+ /* The other options are see-through: on an accent ground their tiles take the ground's pair. */
59
+ .on-accent.l-spotlight .row li:not(.is-on) { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
60
+ @media (max-width: 650px) {
61
+ .l-spotlight .row li, .l-spotlight .row li.is-on { --icon: 28; }
62
+ .l-spotlight .row li:has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 10px; }
63
+ .l-spotlight .row li > .icon { grid-row: span 2; align-self: center; }
64
+ }
65
+ @media not all and (max-width: 650px) {
66
+ .l-spotlight[data-presenter-size="xl"] .row li { --icon: 32; }
67
+ .l-spotlight[data-presenter-size="xl"] .row li.is-on { --icon: 52; }
68
+ }
69
+ </style>
70
+ <section class="slide on-ink l-spotlight" id="__ID__" data-chapter="The options" data-note="Source: where each option is described (a pricing page, the docs).">
71
+ <div class="kicker">Four ways to present</div>
72
+ <h2 class="tt" data-title-mobile="This one is new.">Four presenters. This one is new.</h2>
73
+ <ol class="row" id="__ID__-row">
74
+ <li><b>Captions</b><p>Words only, no face.</p></li>
75
+ <li><b>A still</b><p>Your photo, talking.</p></li>
76
+ <li class="is-on" id="__ID__-on"><b>A live head</b><p>Your avatar, moving with the words.</p></li>
77
+ <li><b>A guest</b><p>A second voice joins in.</p></li>
78
+ </ol>
79
+ <div class="narration-slot"></div>
80
+ </section>
@@ -0,0 +1,84 @@
1
+ <!--
2
+ layout: stack
3
+ summary: Three to five layers, each resting on the one below and the foundation widest at the bottom, a name and one line each: what is built on what.
4
+ brief: Three to five layers, each resting on the one below, the base widest.
5
+ says: what it stands on
6
+ needs: 3 to 5 layers
7
+ use: a product's architecture in plain words, what a promise depends on, the parts that stack into the whole. Each name a few words, each line under about 40 characters. List the layers top to bottom, the foundation last. For three parts that do not depend on each other use features. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) puts the layers under the title, clear of the presenter.
8
+ slot: bottom-right
9
+ presenter: stage
10
+ nopresenter: The layers take more of the width.
11
+ cues: [go: #__ID__-base] at the foundation, then the layers the narration names, then [go: slot].
12
+ script: It starts with [go: #__ID__-base] your deck. The player plays it, and the narration gives it your voice. On top, [go: #__ID__-top] one link per person. [go: slot]
13
+ -->
14
+ <style>
15
+ /* The title and a line beside the layers, which end left of the presenter's corner (the stage presenter at m reaches
16
+ 1064px across); each layer is inset a step more than the one below it, the foundation in ink. */
17
+ .l-stack { display: grid; grid-template-columns: 380px minmax(0, 600px); grid-template-rows: auto auto 1fr; column-gap: 0; align-content: center; }
18
+ .l-stack > :is(.kicker, .tt, .lead) { grid-column: 1; }
19
+ .l-stack .tt { font-size: var(--t-sub); }
20
+ .l-stack .lead { align-self: start; font-size: var(--t-lead); line-height: 1.3; }
21
+ .l-stack .layers { --n: 5; grid-column: 2; grid-row: 1 / 4; align-self: center; list-style: none; display: flex; flex-direction: column; gap: 12px; margin-left: 48px; }
22
+ .l-stack .layers li { --up: 0; container-type: inline-size; display: flex; flex-direction: column; gap: 4px; margin: 0 calc(var(--up) * 30px); padding: 22px 30px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(18 * var(--round)); background: var(--card); color: var(--ink); box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
23
+ /* --up: how many layers sit under this one (the last child is the foundation: 0). */
24
+ /* The layers between the top and the foundation are cards: a tint could match the slide's own ground. */
25
+ .l-stack .layers li:nth-last-child(2) { --up: 1; }
26
+ .l-stack .layers li:nth-last-child(3) { --up: 2; }
27
+ .l-stack .layers li:nth-last-child(4) { --up: 3; }
28
+ .l-stack .layers li:nth-last-child(5) { --up: 4; }
29
+ .l-stack .layers li:first-child { background: var(--accent); color: var(--accent-ink); }
30
+ .on-accent.l-stack .layers li:first-child { background: var(--card); color: var(--ink); }
31
+ .l-stack .layers li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
32
+ .on-ink.l-stack .layers li:last-child { background: var(--paper); color: var(--ink); }
33
+ /* A layer's name as large as the layer allows while a word of about 14 letters fits whole (cqi: the layer's width). */
34
+ .l-stack .layers b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(var(--t-sub), 11cqi); line-height: 1.05; }
35
+ .l-stack .layers p { font-size: min(var(--t-lead), 8cqi); line-height: 1.25; }
36
+ @media (max-width: 650px) {
37
+ .l-stack { display: flex; }
38
+ .l-stack .tt { font-size: var(--t-title); }
39
+ .l-stack .lead { font-size: var(--t-body); }
40
+ /* The layers share the free height, at most 110px a layer, their words centred in each. */
41
+ .l-stack .layers { flex: 1 1 0; min-height: auto; align-self: stretch; justify-content: flex-start; gap: 6px; margin: 4px 0 0; }
42
+ .l-stack .layers li { flex: 1 1 auto; max-height: 110px; justify-content: center; gap: 1px; margin: 0 calc(var(--up) * 12px); padding: 9px 14px; border-width: calc(2 * var(--line)); border-radius: calc(12 * var(--round)); box-shadow: calc(3 * var(--drop-x)) calc(3 * var(--drop-y)) calc(3 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
43
+ .l-stack .layers b { font-size: var(--t-body); }
44
+ .l-stack .layers p { font-size: var(--t-label); }
45
+ }
46
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag): the layers go under the title. */
47
+ @media not all and (max-width: 650px) {
48
+ .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) { display: flex; }
49
+ .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers { align-self: stretch; margin: 8px 0 0; gap: 8px; }
50
+ .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers li { padding: 10px 20px; }
51
+ .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers p { font-size: var(--t-label); }
52
+ .l-stack[data-presenter-size="l"] :is(.tt, .lead, .layers) { max-width: 830px; }
53
+ .l-stack[data-presenter-size="xl"] :is(.tt, .lead, .layers) { max-width: 680px; }
54
+ }
55
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
56
+ @media (min-width: 651px) {
57
+ :root.hd-no-presenter .l-stack:not([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: 440px minmax(0, 760px); justify-content: center; }
58
+ :root.hd-no-presenter .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) :is(.tt, .lead, .layers) { max-width: none; }
59
+ }
60
+ /* Icon slot (optional): an icon at the start of each layer (hyperdecks icons search <word> --for stack). */
61
+ .l-stack .layers li { --icon: 44; }
62
+ .l-stack .layers li:has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 18px; }
63
+ .l-stack .layers li > .icon { grid-row: span 2; align-self: center; }
64
+ .l-stack:not(.on-accent) .layers li:first-child { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
65
+ @media (max-width: 650px) {
66
+ .l-stack .layers li { --icon: 24; }
67
+ .l-stack .layers li:has(> .icon) { column-gap: 10px; }
68
+ }
69
+ @media not all and (max-width: 650px) {
70
+ .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers li { --icon: 32; }
71
+ }
72
+ </style>
73
+ <section class="slide on-tint-3 l-stack" id="__ID__" data-chapter="What it stands on" data-note="Source: where each layer is described (the docs, the architecture).">
74
+ <div class="kicker">What it stands on</div>
75
+ <h2 class="tt" data-title-mobile="Four layers.">Four layers, one link.</h2>
76
+ <p class="lead">Each layer is only there because the one below it is.</p>
77
+ <ol class="layers">
78
+ <li id="__ID__-top"><b>The link</b><p>One per person, and who watched.</p></li>
79
+ <li><b>The narration</b><p>Your voice, timed to each slide.</p></li>
80
+ <li><b>The player</b><p>Plays it in any browser.</p></li>
81
+ <li id="__ID__-base"><b>Your deck</b><p>Slides an agent wrote.</p></li>
82
+ </ol>
83
+ <div class="narration-slot"></div>
84
+ </section>
@@ -0,0 +1,78 @@
1
+ <!--
2
+ layout: staircase
3
+ summary: Three or four steps rising left to right, each standing on the last, a number, a name and one line each: steps that build.
4
+ brief: Three or four steps rising left to right, each building on the last.
5
+ says: how it builds
6
+ needs: 3 to 4 steps
7
+ use: a process where each step needs the one before, levels of a plan, a path from first use to habit. Each name a word or two, no word over about 14 letters, each line under about 45 characters (names are sized by the column and the number of steps, so every word fits whole). Steps in order, undated, none bigger than another: rail; each step standing on the one before: staircase; dated milestones or a plan over time: timeline. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the stairs, clear of the presenter.
8
+ slot: bottom-right
9
+ presenter: stage
10
+ nopresenter: The stairs take the full width of the slide.
11
+ cues: [go: #__ID__-s1] at the first step, then each in turn, then [go: slot].
12
+ script: It starts when you [go: #__ID__-s1] ask. Your assistant [go: #__ID__-s2] drafts it, your avatar [go: #__ID__-s3] narrates it, and you [go: #__ID__-s4] send it. [go: slot]
13
+ -->
14
+ <style>
15
+ /* The steps stand on the slide's floor in a column that ends left of the presenter's corner (the stage presenter at m
16
+ reaches 1064px across), each taller than the last (at least that tall; longer words grow a step). */
17
+ .l-staircase .steps { --n: 3; container-type: inline-size; list-style: none; flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min-content, 1fr); grid-template-rows: minmax(0, 1fr); align-items: end; gap: 18px; max-width: 980px; }
18
+ .l-staircase .steps li { --i: 0; display: flex; flex-direction: column; gap: 10px; min-height: calc(46% + var(--i) * 18%); padding: 24px 24px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(22 * var(--round)); background: var(--card); color: var(--ink); box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
19
+ .on-ink.l-staircase .steps li { box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--accent-2) var(--drop-mix), transparent); }
20
+ .l-staircase .steps li:nth-child(2) { --i: 1; background: var(--tint-1); }
21
+ .l-staircase .steps li:nth-child(3) { --i: 2; background: var(--tint-2); }
22
+ .l-staircase .steps li:nth-child(4) { --i: 3; }
23
+ .l-staircase .steps li:last-child { background: var(--accent); color: var(--accent-ink); }
24
+ .on-accent.l-staircase .steps li:last-child { background: var(--ink); color: var(--paper); }
25
+ .l-staircase .n { font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; }
26
+ /* Each step is at least as wide as its longest word (min-content), the rest shared: a long name widens its step,
27
+ never breaks. Names between lead and sub size, and lines at body size, each capped by the column shared among the
28
+ steps (cqi: the row's width; --n: the steps), so ordinary names fit the row together. */
29
+ .l-staircase .steps b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(calc((var(--t-lead) + var(--t-sub)) / 2), calc(100cqi / (var(--n) * 9))); line-height: 1; }
30
+ .l-staircase .steps p { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 11))); line-height: 1.25; }
31
+ .l-staircase .steps:has(> li:nth-child(4)) { --n: 4; }
32
+ @media (max-width: 650px) {
33
+ /* A phone: the steps as a list in order, 01 first, each one indented a step further than the one above. */
34
+ /* The steps share the free height, at most about 150px a step, never under their words (up to that cap): the list keeps its
35
+ content's height as its minimum, so steps that do not fit make the slide run over where check sees it. */
36
+ .l-staircase .steps { flex: 1 1 0; min-height: auto; max-height: calc(var(--n) * 150px); display: flex; flex-direction: column; align-items: stretch; gap: calc(8px - 2px * var(--hd-phone-presenter)); max-width: none; }
37
+ .l-staircase .steps li { flex: 1 1 auto; align-content: center; min-height: 0; gap: 2px; padding: calc(10px - 3px * var(--hd-phone-presenter)) 14px; margin-left: calc(var(--i) * 16px); border-width: calc(2 * var(--line)); border-radius: calc(12 * var(--round)); box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
38
+ /* The number beside the name, the line under both. */
39
+ .l-staircase .steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
40
+ .l-staircase .steps b { font-size: var(--t-lead); }
41
+ .l-staircase .steps p { grid-column: 1 / -1; font-size: var(--t-body); }
42
+ }
43
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag). */
44
+ @media not all and (max-width: 650px) {
45
+ .l-staircase[data-presenter-size="l"] :is(.steps, .tt) { max-width: 830px; }
46
+ .l-staircase[data-presenter-size="xl"] :is(.steps, .tt) { max-width: 680px; }
47
+ .l-staircase[data-presenter-size="xl"] .steps { gap: 12px; }
48
+ .l-staircase[data-presenter-size="xl"] .steps li { padding: 16px 16px; }
49
+ .l-staircase[data-presenter-size="xl"] .steps b { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 9))); }
50
+ .l-staircase[data-presenter-size="xl"] .steps p { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 11))); }
51
+ }
52
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
53
+ @media (min-width: 651px) {
54
+ :root.hd-no-presenter .l-staircase :is(.steps, .tt) { max-width: none; }
55
+ }
56
+ /* Icon slot (optional): an icon at the top of each step, before its number (hyperdecks icons search <word> --for staircase). */
57
+ .l-staircase .steps li { --icon: 52; }
58
+ .l-staircase:not(.on-accent) .steps li:last-child { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
59
+ @media (max-width: 650px) {
60
+ .l-staircase .steps li { --icon: 20; }
61
+ .l-staircase .steps li:has(> .icon) { grid-template-columns: auto auto minmax(0, 1fr); }
62
+ .l-staircase .steps .icon { align-self: center; }
63
+ }
64
+ @media not all and (max-width: 650px) {
65
+ .l-staircase:is([data-presenter-size="l"], [data-presenter-size="xl"]) .steps li { --icon: 40; }
66
+ }
67
+ </style>
68
+ <section class="slide l-staircase" id="__ID__" data-chapter="How it works" data-note="Source: where each step is described (the docs, the product).">
69
+ <div class="kicker">How a deck gets made</div>
70
+ <h2 class="tt" data-title-mobile="Each step builds.">Each step stands on the last.</h2>
71
+ <ol class="steps">
72
+ <li id="__ID__-s1"><span class="n">01</span><b>Ask</b><p>Tell your assistant what the deck is for.</p></li>
73
+ <li id="__ID__-s2"><span class="n">02</span><b>Draft</b><p>It writes the slides and the script.</p></li>
74
+ <li id="__ID__-s3"><span class="n">03</span><b>Narrate</b><p>Your avatar reads it in your voice.</p></li>
75
+ <li id="__ID__-s4"><span class="n">04</span><b>Send</b><p>One link, and you see who watched.</p></li>
76
+ </ol>
77
+ <div class="narration-slot"></div>
78
+ </section>
@@ -0,0 +1,46 @@
1
+ <!--
2
+ layout: strike
3
+ summary: An old claim struck through, and under it the true one, larger, its key words marked: what people believe, and what is so.
4
+ brief: An old claim struck through and the true one under it.
5
+ says: it changed
6
+ needs: 2 sentences
7
+ use: a myth and its correction, the old way and the new one, a belief the deck answers. One line each (the old under about 50 characters, the new under about 60), both shown in full on a phone, the mark included: give the new line no data-title-mobile; for three lines a side use compare. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows both lines, clear of the presenter.
8
+ slot: bottom-right
9
+ presenter: stage
10
+ nopresenter: Both lines take the full width of the slide.
11
+ cues: [look: #__ID__-old] at the old claim, [go: #__ID__-new] at the true one, then [go: slot].
12
+ script: You may have heard [look: #__ID__-old] that an avatar deck is a deepfake. [go: #__ID__-new] It is your avatar, made from your photo, and it says so. [go: slot]
13
+ -->
14
+ <style>
15
+ /* Both lines in a column that ends left of the presenter's corner (the stage presenter at m reaches 1064px across). The old
16
+ claim is struck and faded in the slide's own colour, so it reads on any ground; the true one is the title, set between
17
+ title and display size. */
18
+ .l-strike { justify-content: center; gap: 30px; }
19
+ .l-strike .old { max-width: 980px; font-size: var(--t-sub); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: color-mix(in srgb, currentColor 55%, transparent); text-decoration: line-through; text-decoration-thickness: .08em; text-wrap: balance; }
20
+ .l-strike .tt { max-width: 980px; font-size: calc((var(--t-title) + var(--t-display)) / 2); }
21
+ /* The marked words get a band under their lower half, as sentence's do: it wraps cleanly line by line, no pills. */
22
+ .l-strike .tt mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
23
+ .on-accent.l-strike .tt mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
24
+ @media (max-width: 650px) {
25
+ .l-strike { gap: 14px; justify-content: var(--hd-phone-anchor); }
26
+ .l-strike .old { font-size: var(--t-lead); max-width: none; }
27
+ .l-strike .tt { max-width: none; font-size: var(--t-title); }
28
+ }
29
+ /* A large presenter (data-presenter-size l or xl on this slide's section tag). */
30
+ @media not all and (max-width: 650px) {
31
+ .l-strike[data-presenter-size="l"] :is(.old, .tt) { max-width: 830px; }
32
+ .l-strike[data-presenter-size="l"] .tt { font-size: var(--t-title); }
33
+ .l-strike[data-presenter-size="xl"] :is(.old, .tt) { max-width: 680px; }
34
+ .l-strike[data-presenter-size="xl"] .tt { font-size: var(--t-sub); }
35
+ }
36
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
37
+ @media (min-width: 651px) {
38
+ :root.hd-no-presenter .l-strike :is(.old, .tt) { max-width: 1400px; }
39
+ }
40
+ </style>
41
+ <section class="slide l-strike" id="__ID__" data-chapter="What's true" data-note="Source: where the old claim is said, and what shows the new one is true.">
42
+ <div class="kicker">What people think</div>
43
+ <p class="old" id="__ID__-old">An avatar deck is a deepfake of you.</p>
44
+ <h2 class="tt" id="__ID__-new">It's <mark>your avatar</mark>, made from your photo, and it says so.</h2>
45
+ <div class="narration-slot"></div>
46
+ </section>
@@ -0,0 +1,73 @@
1
+ <!--
2
+ layout: tap-through
3
+ summary: A phone the viewer steps through, two to five screens, one at a time: each screen is a step, so Per step waits on it, the narration can stop on it, and a tap on the phone shows the next.
4
+ brief: A phone the viewer steps through, two to five screens, one a step.
5
+ says: how it works
6
+ needs: 2 to 5 phone screenshots
7
+ use: a prototype or a flow the viewer should feel, screen by screen (sign up, make the thing, share it). Each .shot is a placeholder check fails on: put in phone screenshots (capture_url at 390×844) as <img class="shot">, in order; the first has no reveal, every later one keeps class="shot reveal" and its id. Add or remove screens (two to five) with their dots and their [reveal] cues. The phone carries data-hd-steps: a tap on it is the next step (at Per step, the narration's, as Next; otherwise the next screen, and after the last it starts over; in the present window, Next). With narration each screen shows on its cue, in an export too.
8
+ slot: bottom-left
9
+ presenter: stage
10
+ nopresenter: The copy centres vertically beside the phone instead of leaving the bottom-left free.
11
+ cues: [look: #__ID__-phone] when the narration turns to the phone; [reveal: #__ID__-s2], [reveal: #__ID__-s3] at the word that moves to each next screen (Per step stops before each).
12
+ script: Here is the whole flow on a phone. [look: #__ID__-phone] You start on this screen. Tap once, [reveal: #__ID__-s2] and you are making it. Tap again, [reveal: #__ID__-s3] and it is done.
13
+ -->
14
+ <style>
15
+ .l-tap-through { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center; }
16
+ .l-tap-through .text { align-self: start; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
17
+ .l-tap-through .tt { font-size: var(--t-sub); line-height: 1.02; }
18
+ .l-tap-through .lead { font-size: var(--t-body); }
19
+ .l-tap-through .device { display: flex; flex-direction: column; align-items: center; gap: 22px; }
20
+ /* The screens stack in the phone card, each exactly over the last; a revealed one fades in (never offset, so no frame shows a gap). */
21
+ .l-tap-through .frame.card { --tilt: 0deg; width: 280px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
22
+ .l-tap-through .frame.card > .shot { grid-area: 1 / 1; }
23
+ .l-tap-through .frame.card > .shot.reveal { transform: none; transition: opacity .3s; }
24
+ .l-tap-through .frame.card > div.shot:nth-child(2) { background-color: var(--tint-2); }
25
+ .l-tap-through .frame.card > div.shot:nth-child(n + 3) { background-color: var(--tint-1); }
26
+ /* One dot a screen; the last screen showing lights its dot. */
27
+ .l-tap-through .dots { display: flex; gap: 10px; }
28
+ .l-tap-through .dots i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, currentColor 25%, transparent); transition: background .35s; }
29
+ .l-tap-through .dots i:first-child { background: currentColor; }
30
+ .l-tap-through .device:has(> .frame > .shot.is-revealed) .dots i:first-child { background: color-mix(in srgb, currentColor 25%, transparent); }
31
+ .l-tap-through .device:has(> .frame > .shot:nth-child(2).is-revealed) .dots i:nth-child(2),
32
+ .l-tap-through .device:has(> .frame > .shot:nth-child(3).is-revealed) .dots i:nth-child(3),
33
+ .l-tap-through .device:has(> .frame > .shot:nth-child(4).is-revealed) .dots i:nth-child(4),
34
+ .l-tap-through .device:has(> .frame > .shot:nth-child(5).is-revealed) .dots i:nth-child(5) { background: currentColor; }
35
+ .l-tap-through .device:has(> .frame > .shot:nth-child(3).is-revealed) .dots i:nth-child(2),
36
+ .l-tap-through .device:has(> .frame > .shot:nth-child(4).is-revealed) .dots i:nth-child(-n + 3),
37
+ .l-tap-through .device:has(> .frame > .shot:nth-child(5).is-revealed) .dots i:nth-child(-n + 4) { background: color-mix(in srgb, currentColor 25%, transparent); }
38
+ /* The phone examples share one frame: a thin bezel, corners of 40px outside and 34px on the screen (24 and 20 on phones). */
39
+ .l-tap-through .frame.card { padding: 4px; border-radius: calc(40 * var(--round-phone)); }
40
+ .l-tap-through .frame.card > .shot { border-radius: calc(34 * var(--round-phone)); }
41
+ @media (max-width: 650px) {
42
+ .l-tap-through .frame.card { padding: 3px; border-radius: calc(24 * var(--round-phone)); }
43
+ .l-tap-through .frame.card > .shot { border-radius: calc(20 * var(--round-phone)); }
44
+ .l-tap-through { display: flex; flex-direction: column; align-items: stretch; }
45
+ .l-tap-through .text { gap: 10px; padding-top: 0; }
46
+ .l-tap-through .device { gap: 12px; }
47
+ /* The phone takes the height above the presenter: the device column grows, the card is as tall as it leaves (less the dots). */
48
+ .l-tap-through .device { flex: 1 1 0; min-height: 0; container-type: size; }
49
+ .l-tap-through .frame.card { width: min(100cqw, 240px, (100cqh - 20px) * 9 / 19.5); }
50
+ .l-tap-through .dots { gap: 6px; }
51
+ .l-tap-through .dots i { width: 8px; height: 8px; }
52
+ }
53
+ /* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
54
+ @media (min-width: 651px) {
55
+ :root.hd-no-presenter .l-tap-through .text { align-self: center; padding-top: 0; }
56
+ }
57
+ </style>
58
+ <section class="slide l-tap-through slot-left" id="__ID__" data-chapter="How it works" data-note="Phone screens: name the app build and the date they were captured.">
59
+ <div class="text">
60
+ <div class="kicker">How it works · Tap through</div>
61
+ <h2 class="tt" data-title-mobile="Three taps, done.">Three taps from nothing to done.</h2>
62
+ <p class="lead">One line on the flow. Tap the phone to step through it.</p>
63
+ </div>
64
+ <div class="device">
65
+ <div class="frame card" id="__ID__-phone" data-hd-steps title="Tap for the next screen">
66
+ <div class="shot" id="__ID__-s1" role="img" aria-label="Phone screen placeholder: the first screen"></div>
67
+ <div class="shot reveal" id="__ID__-s2" role="img" aria-label="Phone screen placeholder: the second screen"></div>
68
+ <div class="shot reveal" id="__ID__-s3" role="img" aria-label="Phone screen placeholder: the last screen"></div>
69
+ </div>
70
+ <div class="dots" aria-hidden="true"><i></i><i></i><i></i></div>
71
+ </div>
72
+ <div class="narration-slot"></div>
73
+ </section>