@atomic-ui/blocks 0.13.1 → 0.14.0

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 (42) hide show
  1. package/custom-elements.json +338 -31
  2. package/dist/{chunk-MX7FU5JE.js → chunk-3G3NP4UC.js} +40 -22
  3. package/dist/chunk-3G3NP4UC.js.map +1 -0
  4. package/dist/{chunk-W3MK3EEO.js → chunk-7OFH762N.js} +74 -26
  5. package/dist/chunk-7OFH762N.js.map +1 -0
  6. package/dist/{chunk-CCFBROX3.js → chunk-BW5ZMKES.js} +119 -50
  7. package/dist/chunk-BW5ZMKES.js.map +1 -0
  8. package/dist/{chunk-X3U2SOVV.js → chunk-GDATDR2Q.js} +64 -31
  9. package/dist/chunk-GDATDR2Q.js.map +1 -0
  10. package/dist/{chunk-VXQS5TAN.js → chunk-GZTBAT6P.js} +47 -23
  11. package/dist/chunk-GZTBAT6P.js.map +1 -0
  12. package/dist/{chunk-KOYQRJKY.js → chunk-NZQZRBKV.js} +159 -15
  13. package/dist/chunk-NZQZRBKV.js.map +1 -0
  14. package/dist/{chunk-JIITZUGI.js → chunk-Q366ZM2X.js} +84 -42
  15. package/dist/chunk-Q366ZM2X.js.map +1 -0
  16. package/dist/{chunk-EYP5LWUR.js → chunk-ZM2HLQOG.js} +14 -3
  17. package/dist/chunk-ZM2HLQOG.js.map +1 -0
  18. package/dist/components/changelog.js +1 -1
  19. package/dist/components/estimator.js +1 -1
  20. package/dist/components/g2-case.d.ts +28 -6
  21. package/dist/components/g2-case.js +1 -1
  22. package/dist/components/g2-site.d.ts +39 -5
  23. package/dist/components/g2-site.js +1 -1
  24. package/dist/components/journey.d.ts +26 -4
  25. package/dist/components/journey.js +1 -1
  26. package/dist/components/organisms.js +1 -1
  27. package/dist/components/site.d.ts +74 -2
  28. package/dist/components/site.js +2 -1
  29. package/dist/components/studio.d.ts +35 -2
  30. package/dist/components/studio.js +1 -1
  31. package/dist/index.js +8 -8
  32. package/dist/standalone/atomic-ui-blocks.js +1378 -1116
  33. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  34. package/package.json +3 -3
  35. package/dist/chunk-CCFBROX3.js.map +0 -1
  36. package/dist/chunk-EYP5LWUR.js.map +0 -1
  37. package/dist/chunk-JIITZUGI.js.map +0 -1
  38. package/dist/chunk-KOYQRJKY.js.map +0 -1
  39. package/dist/chunk-MX7FU5JE.js.map +0 -1
  40. package/dist/chunk-VXQS5TAN.js.map +0 -1
  41. package/dist/chunk-W3MK3EEO.js.map +0 -1
  42. package/dist/chunk-X3U2SOVV.js.map +0 -1
@@ -11,7 +11,10 @@ import {
11
11
  spaceAround,
12
12
  t,
13
13
  token,
14
- unlockScroll
14
+ unlockScroll,
15
+ R,
16
+ revealAt,
17
+ revealStyles
15
18
  } from "@atomic-ui/ui";
16
19
  var arrow = html`<svg viewBox="0 0 22 22" width="22" height="22" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true" focusable="false">
17
20
  <path d="M5 17 17 5M8 5h9v9" />
@@ -49,13 +52,26 @@ var ImpaktWorkList = class extends ImpaktElement {
49
52
  :host { display: block; position: relative; container: impakt-work-list / inline-size; --impakt-work-accent: ${token("color.accent.default", "#ffd43b")}; --impakt-work-on-accent: ${token("color.accent.on", "#111111")}; }
50
53
  ol { list-style: none; margin: 0; padding: 0; border-block-start: ${t.borderThin} solid ${t.text}; }
51
54
  .columns + ol { border-block-start: 0; }
52
- li, .columns { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto 22px; align-items: center; column-gap: ${space(6)}; padding: ${space(5)} ${space(8)}; }
53
- .texts li, .texts.columns { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr) auto 22px; }
54
- li { position: relative; border-block-end: ${t.borderThin} solid ${t.text}; transition: background-color 140ms ease-out, color 140ms ease-out; }
55
- .columns { padding-block: ${space(3)}; border-block-end: ${t.borderThin} solid ${t.text}; font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
56
- .columns .last { grid-column: -3; text-align: end; }
57
- .number { font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; font-variant-numeric: tabular-nums; color: ${t.textMuted}; }
58
- .name { font-family: ${t.fontHeading}; font-size: clamp(2rem, 7cqi, 4.5rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.05em; color: ${t.text}; overflow-wrap: anywhere; }
55
+ /* The Project row component (8:339): 22px above and below a 72px name, the number in a 54px column, 24px apart. */
56
+ li, .columns { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 22px; align-items: center; column-gap: ${space(6)}; padding: 22px ${space(8)}; }
57
+ .texts li, .texts.columns { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) auto 22px; }
58
+ li { position: relative; isolation: isolate; border-block-end: ${t.borderThin} solid ${t.text}; transition: background-color 140ms ease-out, color 140ms ease-out; }
59
+ /* The ink a row turns to, a layer of its own: a brand that derives the reveal set fades it in whole, as before; Impakt wipes it in from the left in 180ms (impkt-web#51). */
60
+ li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: ${t.text}; opacity: calc(1 - ${R.wipeFrom}); transform: scaleX(${R.wipeFrom}); transform-origin: left center; transition: transform ${R.wipeDuration} ${R.wipeEasing}, opacity ${R.wipeDuration} ${R.wipeEasing}; pointer-events: none; }
61
+ li:has(a):hover::before, li:has(a:focus-visible)::before { opacity: 1; transform: none; }
62
+ li :is(.name, .number, .meta, .text, .price, .arrow) { transition: color ${R.wipeDuration} ${R.wipeEasing}; }
63
+ .arrow svg { transition: translate ${R.arrowDuration} ${R.arrowEasing}; }
64
+ /* The row's arrow points up and along, so it slides that way, 4px in all. */
65
+ li:has(a):hover .arrow svg, li:has(a:focus-visible) .arrow svg { translate: calc(0.7071 * ${R.arrowDistance}) calc(-0.7071 * ${R.arrowDistance}); }
66
+ /* Drop (impkt-web#51): the rows drop 12px into place one after another as the list is reached, and the line under each settles. */
67
+ :host([data-motion]) li { animation: ik-reveal-drop ${R.drop} ${R.arrive} ${revealAt()} both, ik-reveal-settle ${R.drop} ${R.arrive} ${revealAt()} both; }
68
+ :host([data-motion]) .columns { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }
69
+ /* The column names (20:998): G2 Mono S on its 1.4 line, 12px over the rule, and the last name ends over the arrow's column. */
70
+ .columns { padding-block: 0 ${space(3)}; border-block-end: ${t.borderThin} solid ${t.text}; font-family: ${t.fontMono}; font-size: 0.6875rem; line-height: 1.4; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
71
+ .columns .last { grid-column: -3 / -1; text-align: end; }
72
+ .number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; font-variant-numeric: tabular-nums; color: ${t.textMuted}; }
73
+ /* Display Row: 72px on a 1080px list and 40px on a 350px phone list (8:329, 14:947). */
74
+ .name { font-family: ${t.fontHeading}; font-size: clamp(2rem, 1.541rem + 4.384cqi, 4.5rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.05em; color: ${t.text}; overflow-wrap: anywhere; }
59
75
  .texts .name { font-size: clamp(2rem, 5cqi, 3.5rem); }
60
76
  .name a { color: inherit; text-decoration: none; }
61
77
  /* The link is stretched over the row, so the row is one target. */
@@ -65,13 +81,15 @@ var ImpaktWorkList = class extends ImpaktElement {
65
81
  .text { margin: 0; font-size: ${fontSize("md")}; line-height: ${lineHeight("normal")}; color: ${t.textMuted}; }
66
82
  .side { display: flex; flex-direction: column; align-items: flex-end; gap: ${space(2)}; text-align: end; }
67
83
  .meta, .price { font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
84
+ /* The meta in G2 Mono S: 11px medium capitals at 0.06em (8:331). */
85
+ .meta { font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; }
68
86
  .price { font-size: 0.6875rem; }
69
87
  /* Marketing badges are monospace capitals at 11px. A row that goes somewhere has a solid one; one that does not yet has an outline. */
70
88
  .badge { display: inline-block; padding: ${space(1)} ${space(2.5)}; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: ${t.trackingWide}; text-transform: uppercase; white-space: nowrap; color: ${t.surfaceCard}; background: ${t.text}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radiusSm}; }
71
89
  li:not(:has(a)) .badge { color: ${t.text}; background: transparent; }
72
90
  .arrow { display: flex; color: ${t.text}; }
73
91
  /* Pointed at, focused or featured, the row turns to ink. The card colour on the text colour is a pair every brand already holds at 4.5:1. */
74
- li:has(a):hover, li:has(a:focus-visible), li.featured { background: ${t.text}; }
92
+ li.featured { background: ${t.text}; }
75
93
  li:has(a):hover .name, li:has(a:focus-visible) .name, li.featured .name { color: ${t.surfaceCard}; }
76
94
  li:has(a):hover :is(.number, .meta, .text, .price), li:has(a:focus-visible) :is(.number, .meta, .text, .price), li.featured :is(.number, .meta, .text, .price) { color: color-mix(in srgb, ${t.surfaceCard} 78%, ${t.text}); }
77
95
  li:has(a):hover .badge, li:has(a:focus-visible) .badge { color: ${t.text}; background: ${t.surfaceCard}; border-color: ${t.surfaceCard}; }
@@ -81,21 +99,26 @@ var ImpaktWorkList = class extends ImpaktElement {
81
99
  .preview { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 2; inline-size: 15rem; box-sizing: border-box; padding: ${space(2)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; box-shadow: 0 16px 32px rgb(0 0 0 / 0.2); pointer-events: none; transform: translate(var(--x), var(--y)) translate(-50%, -50%) rotate(-3deg); }
82
100
  .preview img { display: block; inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
83
101
  .preview span { display: block; padding-block-end: ${space(2)}; font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
102
+ /* On a phone (14:944): 18px above and below, 14px at the sides, the number, the name with its meta 8px under it, and an 18px arrow, 12px apart. */
84
103
  @container impakt-work-list (max-width: 40rem) {
85
- li, .texts li { grid-template-columns: 2rem minmax(0, 1fr) auto; column-gap: ${space(3)}; padding-inline: ${space(4)}; }
104
+ li, .texts li { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: ${space(3)}; padding: 18px 14px; }
86
105
  .text { grid-column: 2 / -1; grid-row: 2; margin-block-start: ${space(2)}; }
87
106
  .side { grid-column: 2 / -1; grid-row: 3; align-items: flex-start; text-align: start; margin-block-start: ${space(2)}; }
88
107
  li:not(:has(.text)) .side { grid-row: 2; }
89
108
  .arrow { grid-column: 3; grid-row: 1; }
109
+ li:not(:has(.text)) :is(.number, .arrow) { grid-row: 1 / span 2; }
110
+ .arrow svg { inline-size: 18px; block-size: 18px; }
90
111
  .columns { display: none; }
91
112
  }
92
- @media (prefers-reduced-motion: reduce) { li { transition: none; } .preview { display: none; } }
113
+ @media (prefers-reduced-motion: reduce) { li, li::before, li *, .arrow svg { transition: none; } .preview { display: none; } }
93
114
  @media (forced-colors: active) {
115
+ li::before { display: none; }
94
116
  li:has(a):hover, li:has(a:focus-visible), li.featured { background: Canvas; outline: 2px solid Highlight; outline-offset: -2px; }
95
117
  li:has(a):hover :is(.name, .number, .meta, .arrow, .text, .price), li:has(a:focus-visible) :is(.name, .number, .meta, .arrow, .text, .price), li.featured :is(.name, .number, .meta, .arrow, .text, .price) { color: CanvasText; }
96
118
  .badge, li.featured .badge { color: CanvasText; background: Canvas; border-color: CanvasText; }
97
119
  }
98
- `
120
+ `,
121
+ revealStyles
99
122
  ];
100
123
  }
101
124
  /** Show a row's preview beside a mouse pointer. Touch and reduced motion get none. */
@@ -123,7 +146,7 @@ var ImpaktWorkList = class extends ImpaktElement {
123
146
  ${items.map((item, index) => {
124
147
  const number = String(this.start + index).padStart(2, "0");
125
148
  const side = item.badge || item.price || item.meta;
126
- return html`<li part="row" class=${item.featured ? "featured" : ""} @pointermove=${(event) => this.point(event, item)}>
149
+ return html`<li part="row" class=${item.featured ? "featured" : ""} style=${`--i:${index}`} @pointermove=${(event) => this.point(event, item)}>
127
150
  <span class="number" aria-hidden="true">${number}</span>
128
151
  <div class="name" part="name" role="heading" aria-level=${this.headingLevel}>
129
152
  ${item.href ? html`<a href=${item.href} part="link">${item.name}</a>` : item.name}
@@ -164,21 +187,30 @@ var ImpaktStatRow = class extends ImpaktElement {
164
187
  spaceAround,
165
188
  css`
166
189
  :host { display: block; container: impakt-stat-row / inline-size; }
190
+ /* The Stat component (8:324): a rule, 20px, the 52px figure, 8px, and the label in G2 Body S, 14px at 1.4; four 252px stats 24px apart. */
167
191
  ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: ${space(6)}; }
168
192
  li { border-block-start: ${t.borderThin} solid ${t.rule}; padding-block-start: ${space(5)}; }
169
193
  p { margin: 0; display: flex; flex-direction: column; gap: ${space(2)}; }
170
- .value { font-family: ${t.fontHeading}; font-size: clamp(2.25rem, 6cqi, 3.25rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; }
171
- .label { font-size: ${fontSize("sm")}; line-height: ${lineHeight("normal")}; color: ${t.textMuted}; }
194
+ .value { font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 6cqi, 3.25rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; font-variant-numeric: tabular-nums; }
195
+ /* The label's lines are whole pixels, 20px at 14, as the frame sets them, so a two-line stat is 121px (9:362). */
196
+ .label { font-size: ${fontSize("sm")}; line-height: 1.25rem; color: ${t.textMuted}; }
197
+ /* On a phone (14:783): two across, 20px apart with 16px between the rows; 14px over the 40px figure, 6px under it and 8px under the label. */
198
+ @container impakt-stat-row (max-width: 40rem) {
199
+ ul { gap: ${space(4)} ${space(5)}; }
200
+ li { padding-block: 14px ${space(2)}; }
201
+ p { gap: 6px; }
202
+ }
172
203
  /* The note is meta: monospace capitals at 11px. */
173
204
  .note { font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
174
- `
205
+ `,
206
+ revealStyles
175
207
  ];
176
208
  }
177
209
  render() {
178
210
  return html`<ul role="list" part="list" aria-label=${this.label || nothing}>
179
211
  ${this.items.map(
180
- (item) => html`<li part="stat">
181
- <p><span class="value" part="value">${item.figure}</span> <span class="label" part="label">${item.label}</span>${item.note ? html` <span class="note">${item.note}</span>` : nothing}</p>
212
+ (item, i) => html`<li part="stat" style=${`--i:${i}`}>
213
+ <p><span class="value" part="value" data-ik-count>${item.figure}</span> <span class="label" part="label">${item.label}</span>${item.note ? html` <span class="note">${item.note}</span>` : nothing}</p>
182
214
  </li>`
183
215
  )}
184
216
  </ul>`;
@@ -223,7 +255,8 @@ var ImpaktFaq = class extends ImpaktElement {
223
255
  /* The questions sit between 1px ink rules, the first one included, each a row about 92px tall set at heading size S. */
224
256
  impakt-accordion { border-block-start: ${t.borderThin} solid ${t.text}; }
225
257
  impakt-accordion::part(item) { border-block-end: ${t.borderThin} solid ${t.text}; }
226
- impakt-accordion::part(header) { min-block-size: 5.75rem; padding-block: ${space(5)}; font-family: ${t.fontHeading}; font-size: clamp(1.25rem, 3.2cqi, 1.5rem); font-weight: ${fontWeight("semibold")}; line-height: 1.2; letter-spacing: -0.02em; }
258
+ /* The FAQ item (10:670, 21:1220): 92px with its rule, the question in Heading S (24px on 1.15 at -2.5%) centred beside the "+". */
259
+ impakt-accordion::part(header) { box-sizing: border-box; min-block-size: 91px; align-items: center; padding-block: ${space(5)}; font-family: ${t.fontHeading}; font-size: clamp(1.25rem, 3.2cqi, 1.5rem); font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; }
227
260
  impakt-accordion::part(panel) { max-inline-size: 44rem; color: ${t.textMuted}; line-height: ${lineHeight("normal")}; }
228
261
  @media (forced-colors: active) { impakt-accordion, impakt-accordion::part(item) { border-color: CanvasText; } }
229
262
  `
@@ -237,7 +270,7 @@ var ImpaktFaq = class extends ImpaktElement {
237
270
  ${this.heading ? html`<div id=${headingId} class="heading" part="heading" role="heading" aria-level=${level}>${this.heading}</div>` : nothing}
238
271
  ${this.lead ? html`<p class="lead" part="lead">${this.lead}</p>` : nothing}
239
272
  </div>` : nothing;
240
- const accordion = html`<impakt-accordion part="questions" marker="plus" .items=${this.items} .headingLevel=${level + 1} .open=${this.open} .multiple=${this.multiple}>
273
+ const accordion = html`<impakt-accordion part="questions" exportparts="item, head, header, panel" marker="plus" .items=${this.items} .headingLevel=${level + 1} .open=${this.open} .multiple=${this.multiple}>
241
274
  ${this.items.map((item) => html`<slot name=${`panel-${item.id}`} slot=${`panel-${item.id}`}>${item.body}</slot>`)}
242
275
  </impakt-accordion>`;
243
276
  return this.heading ? html`<section aria-labelledby=${headingId}>${head}${accordion}</section>` : html`<div>${head}${accordion}</div>`;
@@ -391,18 +424,27 @@ var ImpaktOffer = class extends ImpaktElement {
391
424
  spaceAround,
392
425
  css`
393
426
  :host { display: block; container: impakt-offer / inline-size; }
394
- .offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'copy points' 'actions points'; grid-template-rows: auto 1fr; column-gap: ${space(12)}; row-gap: ${space(5)}; align-items: start; }
427
+ /* The Offer component (10:619): the copy 520px wide and the points 460px, 100px apart; the label, heading, lead and action 24px apart. */
428
+ .offer { display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 460fr); grid-template-areas: 'copy points' 'actions points'; grid-template-rows: auto 1fr; column-gap: 100px; row-gap: ${space(6)}; align-items: start; }
395
429
  .copy { grid-area: copy; }
396
430
  .actions { grid-area: actions; }
397
431
  ol { grid-area: points; }
398
- .copy { display: flex; flex-direction: column; align-items: flex-start; gap: ${space(5)}; }
399
- .eyebrow { margin: 0; font-family: ${t.fontEyebrow}; font-size: ${fontSize("sm")}; color: var(--impakt-eyebrow, ${t.textMuted}); }
400
- .heading { font-family: ${t.fontHeading}; font-size: clamp(2rem, 7cqi, 4rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; }
401
- .lead { margin: 0; max-inline-size: 32rem; font-size: ${fontSize("md")}; line-height: ${lineHeight("normal")}; color: ${t.text}; }
432
+ .copy { display: flex; flex-direction: column; align-items: flex-start; gap: ${space(6)}; }
433
+ /* The label in G2 Mono M, 13px at 1.5; the heading Display L, 64px on a 1080px offer and 36px on a phone; the lead G2 Body M, 16px at 1.45, 480px wide. */
434
+ .eyebrow { margin: 0; font-family: ${t.fontEyebrow}; font-size: 0.8125rem; line-height: 1.5; color: var(--impakt-eyebrow, ${t.textMuted}); }
435
+ .heading { max-inline-size: 8.125em; font-family: ${t.fontHeading}; font-size: clamp(2.25rem, 1.411rem + 3.836cqi, 4rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; }
436
+ .lead { margin: 0; max-inline-size: 30rem; font-size: ${fontSize("md")}; line-height: 1.45; color: ${t.text}; }
402
437
  ol { list-style: none; margin: 0; padding: 0; }
403
- li { display: flex; gap: ${space(5)}; padding-block: ${space(5)}; border-block-start: ${t.borderThin} solid ${t.text}; font-size: ${fontSize("lg")}; font-weight: ${fontWeight("medium")}; line-height: 1.2; color: ${t.text}; }
404
- .number { flex: none; font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; font-weight: ${fontWeight("regular")}; line-height: 1.6; }
405
- @container impakt-offer (max-width: 44rem) { .offer { grid-template-columns: 1fr; grid-template-areas: 'copy' 'points' 'actions'; grid-template-rows: auto; row-gap: ${space(8)}; } }
438
+ /* Each point: a rule, 20px, the number in G2 Mono M and the words in G2 Label L, 20px at 1.2, 20px apart, then 20px. */
439
+ li { display: flex; gap: ${space(5)}; padding-block: ${space(5)}; border-block-start: ${t.borderThin} solid ${t.text}; font-size: 1.25rem; font-weight: ${fontWeight("medium")}; line-height: 1.2; letter-spacing: -0.01em; color: ${t.text}; }
440
+ .number { flex: none; font-family: ${t.fontMono}; font-size: 0.8125rem; font-weight: ${fontWeight("regular")}; line-height: 1.5; letter-spacing: 0; }
441
+ /* On a phone (15:993): everything 20px apart; the points 14px above and below, the words 16px, 14px after the number. */
442
+ @container impakt-offer (max-width: 44rem) {
443
+ .offer { grid-template-columns: 1fr; grid-template-areas: 'copy' 'points' 'actions'; grid-template-rows: auto; row-gap: ${space(5)}; }
444
+ .copy { gap: ${space(5)}; }
445
+ .heading { line-height: 1.03; }
446
+ li { gap: 14px; padding-block: 14px; font-size: 1rem; }
447
+ }
406
448
  `
407
449
  ];
408
450
  }
@@ -447,16 +489,24 @@ var ImpaktPostCard = class extends ImpaktElement {
447
489
  focusRing,
448
490
  css`
449
491
  :host { display: block; block-size: 100%; }
450
- article { position: relative; box-sizing: border-box; block-size: 100%; display: flex; flex-direction: column; gap: ${space(4)}; padding: ${space(6)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radius}; transition: background-color 140ms ease-out; }
451
- .meta { margin: 0; font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }
452
- .heading { font-family: ${t.fontHeading}; font-size: ${fontSize("xl")}; font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; color: ${t.text}; }
492
+ /* The Article component (10:648): 24px inside, the meta, title, line and link 14px apart. */
493
+ article { position: relative; box-sizing: border-box; block-size: 100%; display: flex; flex-direction: column; gap: 14px; padding: ${space(6)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radius}; transition: background-color 140ms ease-out; }
494
+ /* The meta and the link in G2 Mono S: 11px medium capitals at 0.06em. */
495
+ .meta { margin: 0; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.textMuted}; }
496
+ .heading { font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; color: ${t.text}; }
453
497
  .heading a { color: inherit; text-decoration: none; }
454
498
  .heading a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
455
499
  .heading a:focus-visible { outline: none; }
456
500
  .heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }
457
501
  article:has(a):hover .heading { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
458
- .text { margin: 0; font-size: ${fontSize("sm")}; line-height: ${lineHeight("normal")}; color: ${t.textMuted}; }
459
- .more { margin-block-start: auto; font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.text}; }
502
+ .text { margin: 0; font-size: 0.875rem; line-height: 1.4; color: ${t.textMuted}; }
503
+ .more { font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.text}; }
504
+ /* The link's arrow slides forward when the card is pointed at or focused (impkt-web#51). */
505
+ .go { display: inline-block; transition: translate ${R.arrowDuration} ${R.arrowEasing}; }
506
+ article:has(a):hover .go, article:focus-within .go { translate: ${R.arrowDistance} 0; }
507
+ @media (prefers-reduced-motion: reduce) { .go { transition: none; } }
508
+ /* On a phone (15:1020): 20px inside and 12px apart. */
509
+ @media (max-width: 47.99rem) { article { gap: ${space(3)}; padding: ${space(5)}; } }
460
510
  @media (forced-colors: active) { article { border-color: CanvasText; } }
461
511
  `
462
512
  ];
@@ -467,7 +517,7 @@ var ImpaktPostCard = class extends ImpaktElement {
467
517
  ${this.meta ? html`<p class="meta" part="meta">${this.meta}</p>` : nothing}
468
518
  <div class="heading" part="heading" role="heading" aria-level=${level}>${this.href ? html`<a href=${this.href} part="link">${this.heading}</a>` : this.heading}</div>
469
519
  ${this.text ? html`<p class="text" part="text">${this.text}</p>` : nothing}
470
- ${this.linkText && this.href ? html`<span class="more" aria-hidden="true">${this.linkText} →</span>` : nothing}
520
+ ${this.linkText && this.href ? html`<span class="more" aria-hidden="true">${this.linkText} <span class="go">→</span></span>` : nothing}
471
521
  </article>`;
472
522
  }
473
523
  };
@@ -489,25 +539,44 @@ var ImpaktHighlight = class extends ImpaktElement {
489
539
  this.styles = [
490
540
  ...ImpaktElement.styles,
491
541
  css`
492
- :host { display: inline-block; position: relative; padding-inline: 0.1em; margin-inline: -0.02em; background: ${token("color.accent.default", "#ffd43b")}; color: ${token("color.accent.on", "#1a1a1a")}; outline: 1.5px solid ${token("color.accent.on", "#1a1a1a")}; outline-offset: -1px; }
493
- .handle { position: absolute; inline-size: 6px; block-size: 6px; box-sizing: border-box; background: ${t.surfaceCard}; border: 1px solid ${token("color.accent.on", "#1a1a1a")}; }
494
- .handle:nth-of-type(1) { inset-block-start: -3px; inset-inline-start: -3px; }
495
- .handle:nth-of-type(2) { inset-block-start: -3px; inset-inline-end: -3px; }
496
- .handle:nth-of-type(3) { inset-block-end: -3px; inset-inline-start: -3px; }
497
- .handle:nth-of-type(4) { inset-block-end: -3px; inset-inline-end: -3px; }
498
- /* The label is meta: monospace capitals at 11px, square. */
499
- .label { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-start: 0; padding: 3px 7px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; border-radius: ${t.radiusSm}; }
500
- @media (max-width: 40rem) { :host([hide-label-on='phone']) .label { display: none; } }
501
- /* The pointer's tip sits on the bottom-right handle. */
502
- .cursor { position: absolute; inset-block-start: calc(100% - 1px); inset-inline-start: calc(100% - 1px); display: flex; align-items: flex-start; gap: 2px; pointer-events: none; line-height: 1; }
542
+ /*
543
+ * The Selection (9:306): the accent behind the words with a 1.5px ink line, drawn 0.1em outside them at the sides
544
+ * (12px at 120px) and from 2px under the top of the line to 4px over its foot, so the words keep their place in the
545
+ * heading. Its four 8px handles sit on its corners with the same line.
546
+ */
547
+ :host { --x: 0.1em; --trail: var(--impakt-highlight-trail, 0.05em); --top: 0.0167em; --foot: 0.033em; display: inline-block; position: relative; isolation: isolate; margin-inline-end: calc(var(--x) + var(--trail) + 0.05em); color: ${token("color.accent.on", "#1a1a1a")}; }
548
+ .box { position: absolute; z-index: -1; inset: var(--top) calc(-1 * var(--x) - var(--trail)) var(--foot) calc(-1 * var(--x)); box-sizing: border-box; background: ${token("color.accent.default", "#ffd43b")}; border: 1.5px solid ${token("color.accent.on", "#1a1a1a")}; }
549
+ .handle { position: absolute; inline-size: 8px; block-size: 8px; box-sizing: border-box; background: ${t.surfaceCard}; border: 1.5px solid ${token("color.accent.on", "#1a1a1a")}; }
550
+ .handle.h1 { inset-block-start: calc(var(--top) - 4px); inset-inline-start: calc(-1 * var(--x) - 4px); }
551
+ .handle.h2 { inset-block-start: calc(var(--top) - 4px); inset-inline-end: calc(-1 * var(--x) - var(--trail) - 4px); }
552
+ .handle.h3 { inset-block-end: calc(var(--foot) - 4px); inset-inline-start: calc(-1 * var(--x) - 4px); }
553
+ .handle.h4 { inset-block-end: calc(var(--foot) - 4px); inset-inline-end: calc(-1 * var(--x) - var(--trail) - 4px); }
554
+ /*
555
+ * The label is meta: monospace capitals at 11px, square, 8px under the box and level with its edge (9:311). It is
556
+ * placed by a holder in the heading's own size, so the box's em measures are the heading's, not the label's.
557
+ */
558
+ .label-at { position: absolute; inset-block-start: calc(100% - var(--foot) + 8px); inset-inline-start: calc(-1 * var(--x)); line-height: 0; }
559
+ .label { display: block; padding: 3px 7px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; border-radius: ${t.radiusSm}; }
560
+ @media (max-width: 40rem) { :host([hide-label-on='phone']) .label-at { display: none; } }
561
+ /* The pointer sits by the bottom-right handle, 16px up from the box's foot, with its name tag 16px along and 18px down (9:313, 9:315). */
562
+ .cursor { position: absolute; inset-block-start: calc(100% - var(--foot) - 16px); inset-inline-start: calc(100% + var(--x) + var(--trail) - 4px); display: flex; align-items: flex-start; pointer-events: none; line-height: 1; }
503
563
  .cursor svg { display: block; flex: none; color: ${t.text}; stroke: ${t.surfaceCard}; }
504
- .tag { margin-block-start: 14px; padding: 3px 6px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; }
505
- @media (forced-colors: active) { :host { forced-color-adjust: none; background: Highlight; color: HighlightText; outline-color: HighlightText; } .handle { border-color: HighlightText; background: Canvas; } .label, .tag { background: CanvasText; color: Canvas; } .cursor svg { color: CanvasText; } }
506
- `
564
+ .tag { margin-block-start: 18px; padding: 3px 6px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; }
565
+ @media (forced-colors: active) { :host { forced-color-adjust: none; color: HighlightText; } .box { background: Highlight; border-color: HighlightText; } .handle { border-color: HighlightText; background: Canvas; } .label, .tag { background: CanvasText; color: Canvas; } .cursor svg { color: CanvasText; } }
566
+ /* Selection draw (impkt-web#51): the frame is dragged out from its top-left corner over the words, then its handles appear; the size label counts up as it does. Until the frame is there the words keep the page's text colour. */
567
+ .label { --ik-count-duration: ${R.select}; }
568
+ :host([data-motion]) { animation: ik-highlight-words ${R.select} ${R.shape} ${revealAt(0)} both; }
569
+ :host([data-motion]) .box { animation: ik-highlight-draw ${R.select} ${R.shape} ${revealAt(0)} both; }
570
+ :host([data-motion]) :is(.label, .cursor) { animation: ik-reveal-fade ${R.mark} ${R.arrive} ${revealAt(0)} both; }
571
+ :host([data-motion]) .handle { animation: ik-reveal-mark ${R.mark} ${R.arrive} ${revealAt(0, "var(--impakt-motion-reveal-select-duration, 260ms)")} both; }
572
+ @keyframes ik-highlight-draw { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
573
+ @keyframes ik-highlight-words { from { color: ${t.text}; } }
574
+ `,
575
+ revealStyles
507
576
  ];
508
577
  }
509
578
  render() {
510
- return html`<slot></slot><span class="handle" aria-hidden="true"></span><span class="handle" aria-hidden="true"></span><span class="handle" aria-hidden="true"></span><span class="handle" aria-hidden="true"></span>${this.label ? html`<span class="label" part="label" aria-hidden="true">${this.label}</span>` : nothing}${this.cursor != null ? html`<span class="cursor" part="cursor" aria-hidden="true"
579
+ return html`<span class="box" part="box" aria-hidden="true"></span><slot></slot><span class="handle h1" aria-hidden="true"></span><span class="handle h2" aria-hidden="true"></span><span class="handle h3" aria-hidden="true"></span><span class="handle h4" aria-hidden="true"></span>${this.label ? html`<span class="label-at" aria-hidden="true"><span class="label" part="label" aria-hidden="true" data-ik-count="text">${this.label}</span></span>` : nothing}${this.cursor != null ? html`<span class="cursor" part="cursor" aria-hidden="true"
511
580
  ><svg viewBox="0 0 16 20" width="16" height="20" focusable="false"><path d="M1 1v16l4.2-4 2.9 6.2 2.6-1.2-2.9-6.1H14Z" fill="currentColor" stroke-width="1.2" stroke-linejoin="round" /></svg
512
581
  >${this.cursor ? html`<span class="tag">${this.cursor}</span>` : nothing}</span
513
582
  >` : nothing}`;
@@ -530,4 +599,4 @@ export {
530
599
  ImpaktPostCard,
531
600
  ImpaktHighlight
532
601
  };
533
- //# sourceMappingURL=chunk-CCFBROX3.js.map
602
+ //# sourceMappingURL=chunk-BW5ZMKES.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/studio.ts"],"sourcesContent":["/**\n * The blocks a studio's own site is built from: the numbered list of work, a\n * row of figures, and the questions at the foot of a page.\n */\nimport { css, html, nothing, type TemplateResult } from 'lit';\nimport {\n ImpaktElement,\n focusRing,\n fontSize,\n fontWeight,\n lineHeight,\n lockScroll,\n space,\n spaceAround,\n t,\n token,\n unlockScroll,\n R,\n revealAt,\n revealStyles,\n type NavLink,\n} from '@atomic-ui/ui';\n\n/** One project in a list of work. */\nexport interface WorkItem {\n id?: string;\n /** The project's name, set large. */\n name: string;\n /** What it is and who it is for, such as \"Web platform · Automotive\". */\n meta?: string;\n /** Where the row goes when it is pressed. Leave empty for a row that goes nowhere: it has no arrow and does not turn to ink. */\n href?: string;\n /** A sentence about it, in its own column, such as \"Audits a website against WCAG 2.2 and writes the fixes.\" */\n text?: string;\n /** A short status, set in capitals, such as \"Available now\" or \"Coming soon\". The word carries the status. */\n badge?: string;\n /** A price line under the badge, such as \"From £59 a month\". */\n price?: string;\n /** Keep the row in ink, with the badge and the arrow in the accent: the one item the page wants seen first. */\n featured?: boolean;\n /** A picture shown, tilted, beside the pointer while the row is pointed at. It is decoration and is not read. */\n preview?: string;\n /** A small caption on the preview card, such as \"Harbour · Cover · 4:3\". */\n previewLabel?: string;\n}\n\n/** The arrow at the end of a row that goes somewhere. Drawn, so no font has to hold the glyph. */\nconst arrow = html`<svg viewBox=\"0 0 22 22\" width=\"22\" height=\"22\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M5 17 17 5M8 5h9v9\" />\n</svg>`;\n\n/**\n * A numbered list of projects, each name set large: the work on a studio's\n * home page, or the index on its work page.\n *\n * **Each row is one link.** The link sits on the project's name, which is a\n * heading, and is stretched over the row, so the whole row can be pressed\n * while a screen reader meets one link with one name (2.4.4, 2.5.8). The\n * number and the arrow are decoration and are hidden from it; the list itself\n * says how many projects there are and which one this is (1.3.1).\n *\n * **Pointing at a row and focusing it look the same.** The row turns to the\n * text colour with the card colour on it, a pair every brand's tokens already\n * hold at 4.5:1, so the state never depends on a colour of its own (1.4.3,\n * 1.4.11). The focus ring is still drawn over it (2.4.7).\n *\n * For a brand with the reveal set on (impkt-web#51) the ink wipes in from the\n * left in 180ms and the arrow slides 4px on, on hover or focus only, and the\n * rows drop into place one after another, once, as the list is reached. No row\n * is inked until it is pointed at or focused, unless it is `featured`.\n *\n * The names shrink with the block's own width, not the window's, so the list\n * reads the same in a narrow column as on a phone (1.4.10).\n *\n * **A row can say more.** `text` adds a description column, `badge` a status\n * word in capitals and `price` a line under it, so the same list sets out a\n * studio's work or a shop of tools. A `featured` row stays in ink with its\n * badge and arrow in the accent. `columns` draws a line of column names above\n * the rows, such as \"No.\", \"Project\" and \"Type · Sector\"; it is decoration,\n * since each row's own words already say what they are.\n *\n * **A row can show a picture as it is pointed at.** Give it `preview` and a\n * card with the picture follows the pointer, tilted. It is shown only to a\n * mouse, never on touch or with reduced motion asked for, and it is hidden\n * from a screen reader: the row's name already says what it is.\n *\n * @category content\n * @icon list\n */\nexport class ImpaktWorkList extends ImpaktElement {\n static properties = {\n items: { type: Array },\n headingLevel: { type: Number, attribute: 'heading-level' },\n start: { type: Number },\n label: { type: String },\n columns: { type: Array },\n preview: { state: true },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** The projects, in order. */\n declare items: WorkItem[];\n /** The heading level of each project's name. It depends on what is above the list on the page. */\n declare headingLevel: number;\n /** The number the first project is given. */\n declare start: number;\n /** A name for the list, so a screen reader can tell it from other lists on the page. Leave empty for none. */\n declare label: string;\n /**\n * Column names drawn above the rows, in monospace capitals: the first over\n * the numbers, the second over the names, and the rest, joined with \" · \",\n * over the last column, such as `[\"No.\", \"Project\", \"Type · Sector\"]`.\n * Leave empty for none.\n */\n declare columns: string[];\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n /** The preview being shown, with where the pointer is. */\n declare private preview: { src: string; label: string; x: number; y: number } | null;\n\n constructor() {\n super();\n this.items = [];\n this.headingLevel = 3;\n this.start = 1;\n this.label = '';\n this.columns = [];\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n this.preview = null;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n spaceAround,\n css`\n :host { display: block; position: relative; container: impakt-work-list / inline-size; --impakt-work-accent: ${token('color.accent.default', '#ffd43b')}; --impakt-work-on-accent: ${token('color.accent.on', '#111111')}; }\n ol { list-style: none; margin: 0; padding: 0; border-block-start: ${t.borderThin} solid ${t.text}; }\n .columns + ol { border-block-start: 0; }\n /* The Project row component (8:339): 22px above and below a 72px name, the number in a 54px column, 24px apart. */\n li, .columns { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 22px; align-items: center; column-gap: ${space(6)}; padding: 22px ${space(8)}; }\n .texts li, .texts.columns { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) auto 22px; }\n li { position: relative; isolation: isolate; border-block-end: ${t.borderThin} solid ${t.text}; transition: background-color 140ms ease-out, color 140ms ease-out; }\n /* The ink a row turns to, a layer of its own: a brand that derives the reveal set fades it in whole, as before; Impakt wipes it in from the left in 180ms (impkt-web#51). */\n li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: ${t.text}; opacity: calc(1 - ${R.wipeFrom}); transform: scaleX(${R.wipeFrom}); transform-origin: left center; transition: transform ${R.wipeDuration} ${R.wipeEasing}, opacity ${R.wipeDuration} ${R.wipeEasing}; pointer-events: none; }\n li:has(a):hover::before, li:has(a:focus-visible)::before { opacity: 1; transform: none; }\n li :is(.name, .number, .meta, .text, .price, .arrow) { transition: color ${R.wipeDuration} ${R.wipeEasing}; }\n .arrow svg { transition: translate ${R.arrowDuration} ${R.arrowEasing}; }\n /* The row's arrow points up and along, so it slides that way, 4px in all. */\n li:has(a):hover .arrow svg, li:has(a:focus-visible) .arrow svg { translate: calc(0.7071 * ${R.arrowDistance}) calc(-0.7071 * ${R.arrowDistance}); }\n /* Drop (impkt-web#51): the rows drop 12px into place one after another as the list is reached, and the line under each settles. */\n :host([data-motion]) li { animation: ik-reveal-drop ${R.drop} ${R.arrive} ${revealAt()} both, ik-reveal-settle ${R.drop} ${R.arrive} ${revealAt()} both; }\n :host([data-motion]) .columns { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }\n /* The column names (20:998): G2 Mono S on its 1.4 line, 12px over the rule, and the last name ends over the arrow's column. */\n .columns { padding-block: 0 ${space(3)}; border-block-end: ${t.borderThin} solid ${t.text}; font-family: ${t.fontMono}; font-size: 0.6875rem; line-height: 1.4; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }\n .columns .last { grid-column: -3 / -1; text-align: end; }\n .number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; font-variant-numeric: tabular-nums; color: ${t.textMuted}; }\n /* Display Row: 72px on a 1080px list and 40px on a 350px phone list (8:329, 14:947). */\n .name { font-family: ${t.fontHeading}; font-size: clamp(2rem, 1.541rem + 4.384cqi, 4.5rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.05em; color: ${t.text}; overflow-wrap: anywhere; }\n .texts .name { font-size: clamp(2rem, 5cqi, 3.5rem); }\n .name a { color: inherit; text-decoration: none; }\n /* The link is stretched over the row, so the row is one target. */\n .name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }\n .name a:focus-visible { outline: none; }\n .name a:focus-visible::after { box-shadow: ${t.focusShadow}; }\n .text { margin: 0; font-size: ${fontSize('md')}; line-height: ${lineHeight('normal')}; color: ${t.textMuted}; }\n .side { display: flex; flex-direction: column; align-items: flex-end; gap: ${space(2)}; text-align: end; }\n .meta, .price { font-family: ${t.fontMono}; font-size: ${fontSize('sm')}; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }\n /* The meta in G2 Mono S: 11px medium capitals at 0.06em (8:331). */\n .meta { font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: 0.06em; }\n .price { font-size: 0.6875rem; }\n /* Marketing badges are monospace capitals at 11px. A row that goes somewhere has a solid one; one that does not yet has an outline. */\n .badge { display: inline-block; padding: ${space(1)} ${space(2.5)}; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: ${t.trackingWide}; text-transform: uppercase; white-space: nowrap; color: ${t.surfaceCard}; background: ${t.text}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radiusSm}; }\n li:not(:has(a)) .badge { color: ${t.text}; background: transparent; }\n .arrow { display: flex; color: ${t.text}; }\n /* Pointed at, focused or featured, the row turns to ink. The card colour on the text colour is a pair every brand already holds at 4.5:1. */\n li.featured { background: ${t.text}; }\n li:has(a):hover .name, li:has(a:focus-visible) .name, li.featured .name { color: ${t.surfaceCard}; }\n li:has(a):hover :is(.number, .meta, .text, .price), li:has(a:focus-visible) :is(.number, .meta, .text, .price), li.featured :is(.number, .meta, .text, .price) { color: color-mix(in srgb, ${t.surfaceCard} 78%, ${t.text}); }\n li:has(a):hover .badge, li:has(a:focus-visible) .badge { color: ${t.text}; background: ${t.surfaceCard}; border-color: ${t.surfaceCard}; }\n li:has(a):hover .arrow, li:has(a:focus-visible) .arrow, li.featured .arrow { color: var(--impakt-work-accent); }\n li.featured .badge { color: var(--impakt-work-on-accent); background: var(--impakt-work-accent); border-color: var(--impakt-work-accent); }\n /* The preview card follows the pointer. Only its transform changes, so it costs no layout. */\n .preview { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 2; inline-size: 15rem; box-sizing: border-box; padding: ${space(2)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; box-shadow: 0 16px 32px rgb(0 0 0 / 0.2); pointer-events: none; transform: translate(var(--x), var(--y)) translate(-50%, -50%) rotate(-3deg); }\n .preview img { display: block; inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }\n .preview span { display: block; padding-block-end: ${space(2)}; font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }\n /* On a phone (14:944): 18px above and below, 14px at the sides, the number, the name with its meta 8px under it, and an 18px arrow, 12px apart. */\n @container impakt-work-list (max-width: 40rem) {\n li, .texts li { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: ${space(3)}; padding: 18px 14px; }\n .text { grid-column: 2 / -1; grid-row: 2; margin-block-start: ${space(2)}; }\n .side { grid-column: 2 / -1; grid-row: 3; align-items: flex-start; text-align: start; margin-block-start: ${space(2)}; }\n li:not(:has(.text)) .side { grid-row: 2; }\n .arrow { grid-column: 3; grid-row: 1; }\n li:not(:has(.text)) :is(.number, .arrow) { grid-row: 1 / span 2; }\n .arrow svg { inline-size: 18px; block-size: 18px; }\n .columns { display: none; }\n }\n @media (prefers-reduced-motion: reduce) { li, li::before, li *, .arrow svg { transition: none; } .preview { display: none; } }\n @media (forced-colors: active) {\n li::before { display: none; }\n li:has(a):hover, li:has(a:focus-visible), li.featured { background: Canvas; outline: 2px solid Highlight; outline-offset: -2px; }\n li:has(a):hover :is(.name, .number, .meta, .arrow, .text, .price), li:has(a:focus-visible) :is(.name, .number, .meta, .arrow, .text, .price), li.featured :is(.name, .number, .meta, .arrow, .text, .price) { color: CanvasText; }\n .badge, li.featured .badge { color: CanvasText; background: Canvas; border-color: CanvasText; }\n }\n `,\n revealStyles,\n ];\n\n /** Show a row's preview beside a mouse pointer. Touch and reduced motion get none. */\n private point(event: PointerEvent, item: WorkItem): void {\n if (!item.preview || event.pointerType !== 'mouse' || window.matchMedia?.('(prefers-reduced-motion: reduce)').matches) {\n if (this.preview) this.preview = null;\n return;\n }\n const box = this.getBoundingClientRect();\n this.preview = { src: item.preview, label: item.previewLabel ?? '', x: event.clientX - box.left, y: event.clientY - box.top };\n }\n\n private columnRow(texts: boolean): TemplateResult | typeof nothing {\n const columns = this.columns ?? [];\n if (!columns.length) return nothing;\n const [number, name, ...rest] = columns;\n // Decoration: each row's own words already say what they are.\n return html`<div class=${texts ? 'columns texts' : 'columns'} part=\"columns\" aria-hidden=\"true\">\n <span>${number ?? ''}</span><span>${name ?? ''}</span>${rest.length ? html`<span class=\"last\">${rest.join(' · ')}</span>` : nothing}\n </div>`;\n }\n\n render(): TemplateResult {\n const items = this.items ?? [];\n const texts = items.some((item) => !!item.text);\n const preview = this.preview;\n // role=\"list\" is set by hand: a list with its markers removed is not announced as a list by every screen reader.\n return html`${this.columnRow(texts)}<ol role=\"list\" part=\"list\" class=${texts ? 'texts' : ''} aria-label=${this.label || nothing} @pointerleave=${() => (this.preview = null)}>\n ${items.map((item, index) => {\n const number = String(this.start + index).padStart(2, '0');\n const side = item.badge || item.price || item.meta;\n return html`<li part=\"row\" class=${item.featured ? 'featured' : ''} style=${`--i:${index}`} @pointermove=${(event: PointerEvent) => this.point(event, item)}>\n <span class=\"number\" aria-hidden=\"true\">${number}</span>\n <div class=\"name\" part=\"name\" role=\"heading\" aria-level=${this.headingLevel}>\n ${item.href ? html`<a href=${item.href} part=\"link\">${item.name}</a>` : item.name}\n </div>\n ${texts ? html`<p class=\"text\" part=\"text\">${item.text ?? ''}</p>` : nothing}\n ${\n side\n ? html`<span class=\"side\">\n ${item.badge ? html`<span class=\"badge\" part=\"badge\">${item.badge}</span>` : nothing}\n ${item.price ? html`<span class=\"price\" part=\"price\">${item.price}</span>` : nothing}\n ${item.meta ? html`<span class=\"meta\" part=\"meta\">${item.meta}</span>` : nothing}\n </span>`\n : html`<span></span>`\n }\n ${item.href ? html`<span class=\"arrow\">${arrow}</span>` : html`<span></span>`}\n </li>`;\n })}\n </ol>${\n preview\n ? html`<div class=\"preview\" part=\"preview\" aria-hidden=\"true\" style=${`--x:${preview.x}px;--y:${preview.y}px`}>\n ${preview.label ? html`<span>${preview.label}</span>` : nothing}<img src=${preview.src} alt=\"\" />\n </div>`\n : nothing\n }`;\n }\n}\n\n/** One figure in a row of them. */\nexport interface StatRowItem {\n /** The number, written as it should appear, such as \"161 ms\" or \"4\". */\n figure: string;\n /** What the number counts. */\n label: string;\n /** A line more, if the label needs it. */\n note?: string;\n}\n\n/**\n * A row of figures under a rule, each with what it counts: \"4 live products\",\n * \"161 ms response time\".\n *\n * For a brand with the reveal set on (impkt-web#51) each figure counts up\n * once, over 900ms, as the row is reached. The count is drawn over the figure,\n * so the real figure is the text a screen reader reads throughout; with no\n * script and with reduced motion the figure is simply there.\n *\n * The figures are a list, so a screen reader says how many there are, and each\n * is read as one phrase, \"161 ms response time\", not a bare number followed\n * some way off by its label (1.3.1). The row wraps by its own width: four\n * across, then two (a phone 350px wide shows two by two), then one, with\n * nothing to scroll sideways at 320px (1.4.10).\n *\n * @category content\n * @icon stat\n */\nexport class ImpaktStatRow extends ImpaktElement {\n static properties = {\n items: { type: Array },\n label: { type: String },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** The figures, in order. Four fit a row on a wide page. */\n declare items: StatRowItem[];\n /** A name for the row, such as \"Live products\", read before the figures. Leave empty for none. */\n declare label: string;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.items = [];\n this.label = '';\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; container: impakt-stat-row / inline-size; }\n /* The Stat component (8:324): a rule, 20px, the 52px figure, 8px, and the label in G2 Body S, 14px at 1.4; four 252px stats 24px apart. */\n ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: ${space(6)}; }\n li { border-block-start: ${t.borderThin} solid ${t.rule}; padding-block-start: ${space(5)}; }\n p { margin: 0; display: flex; flex-direction: column; gap: ${space(2)}; }\n .value { font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 6cqi, 3.25rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; font-variant-numeric: tabular-nums; }\n /* The label's lines are whole pixels, 20px at 14, as the frame sets them, so a two-line stat is 121px (9:362). */\n .label { font-size: ${fontSize('sm')}; line-height: 1.25rem; color: ${t.textMuted}; }\n /* On a phone (14:783): two across, 20px apart with 16px between the rows; 14px over the 40px figure, 6px under it and 8px under the label. */\n @container impakt-stat-row (max-width: 40rem) {\n ul { gap: ${space(4)} ${space(5)}; }\n li { padding-block: 14px ${space(2)}; }\n p { gap: 6px; }\n }\n /* The note is meta: monospace capitals at 11px. */\n .note { font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: ${t.textMuted}; }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n return html`<ul role=\"list\" part=\"list\" aria-label=${this.label || nothing}>\n ${this.items.map(\n (item, i) =>\n html`<li part=\"stat\" style=${`--i:${i}`}>\n <p><span class=\"value\" part=\"value\" data-ik-count>${item.figure}</span> <span class=\"label\" part=\"label\">${item.label}</span>${item.note ? html` <span class=\"note\">${item.note}</span>` : nothing}</p>\n </li>`,\n )}\n </ul>`;\n }\n}\n\n/** One question and its answer. */\nexport interface FaqItem {\n id: string;\n /** The question. */\n heading: string;\n /** The answer, as plain text. An answer with links or a list is slotted as `panel-<id>` instead. */\n body: string;\n}\n\n/**\n * The questions at the foot of a page, under a heading: a title, a line of\n * introduction, and the questions as sections that open.\n *\n * It is `impakt-accordion` with the heading a page always writes above it, so\n * the levels cannot drift: the questions are always one level below the\n * block's own heading (1.3.1). With a heading, the block is a region named by\n * it, so a screen reader can jump straight to the questions (2.4.1).\n *\n * An answer that is more than words is slotted as `panel-<id>`, exactly as\n * on the accordion, and is passed through to it. The accordion's parts are\n * passed out too, as `item`, `head`, `header` and `panel`, so a page can style\n * a row as it would on the accordion itself.\n *\n * Each row is 92px with its rule, the question centred beside its \"+\", as\n * the FAQ item of `10:670` and `21:1220` is.\n *\n * @category content\n * @icon accordion\n * @csspart questions - The accordion that holds the questions.\n * @csspart item - A question and its answer, passed out from the accordion.\n * @csspart head - A question's row.\n * @csspart header - The button that opens a question.\n * @csspart panel - An answer.\n */\nexport class ImpaktFaq extends ImpaktElement {\n static properties = {\n eyebrow: { type: String },\n heading: { type: String },\n lead: { type: String },\n items: { type: Array },\n headingLevel: { type: Number, attribute: 'heading-level' },\n open: { type: Array },\n multiple: { type: Boolean },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** The small line above the heading, such as \"Questions\". */\n declare eyebrow: string;\n /** The block's heading, such as \"Questions founders ask us first.\" */\n declare heading: string;\n /** A line under the heading. */\n declare lead: string;\n /** The questions, in order. */\n declare items: FaqItem[];\n /** The level of the block's heading. The questions are one level below it. */\n declare headingLevel: number;\n /** The ids of the questions that start open. */\n declare open: string[];\n /** Let more than one answer be open at once. */\n declare multiple: boolean;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.eyebrow = '';\n this.heading = '';\n this.lead = '';\n this.items = [];\n this.headingLevel = 2;\n this.open = [];\n this.multiple = true;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; container: impakt-faq / inline-size; }\n .head { display: flex; flex-direction: column; gap: ${space(4)}; margin-block-end: ${space(10)}; max-inline-size: 44rem; }\n .eyebrow { margin: 0; font-family: ${t.fontEyebrow}; font-size: ${fontSize('sm')}; color: var(--impakt-eyebrow, ${t.textMuted}); }\n .heading { font-family: ${t.fontHeading}; font-size: clamp(2rem, 6cqi, 3.25rem); font-weight: ${fontWeight('semibold')}; line-height: 1.04; letter-spacing: -0.04em; color: ${t.textHeading}; }\n .lead { margin: 0; font-size: ${fontSize('md')}; line-height: ${lineHeight('normal')}; color: ${t.textMuted}; }\n /* The questions sit between 1px ink rules, the first one included, each a row about 92px tall set at heading size S. */\n impakt-accordion { border-block-start: ${t.borderThin} solid ${t.text}; }\n impakt-accordion::part(item) { border-block-end: ${t.borderThin} solid ${t.text}; }\n /* The FAQ item (10:670, 21:1220): 92px with its rule, the question in Heading S (24px on 1.15 at -2.5%) centred beside the \"+\". */\n impakt-accordion::part(header) { box-sizing: border-box; min-block-size: 91px; align-items: center; padding-block: ${space(5)}; font-family: ${t.fontHeading}; font-size: clamp(1.25rem, 3.2cqi, 1.5rem); font-weight: ${fontWeight('semibold')}; line-height: 1.15; letter-spacing: -0.025em; }\n impakt-accordion::part(panel) { max-inline-size: 44rem; color: ${t.textMuted}; line-height: ${lineHeight('normal')}; }\n @media (forced-colors: active) { impakt-accordion, impakt-accordion::part(item) { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const headingId = this.id_('heading');\n const level = Math.min(Math.max(this.headingLevel, 1), 5);\n const head =\n this.eyebrow || this.heading || this.lead\n ? html`<div class=\"head\" part=\"head\">\n ${this.eyebrow ? html`<p class=\"eyebrow\" part=\"eyebrow\">${this.eyebrow}</p>` : nothing}\n ${this.heading ? html`<div id=${headingId} class=\"heading\" part=\"heading\" role=\"heading\" aria-level=${level}>${this.heading}</div>` : nothing}\n ${this.lead ? html`<p class=\"lead\" part=\"lead\">${this.lead}</p>` : nothing}\n </div>`\n : nothing;\n // Each answer's slot is passed through to the accordion, with the plain answer as what shows when nothing is slotted.\n const accordion = html`<impakt-accordion part=\"questions\" exportparts=\"item, head, header, panel\" marker=\"plus\" .items=${this.items} .headingLevel=${level + 1} .open=${this.open} .multiple=${this.multiple}>\n ${this.items.map((item) => html`<slot name=${`panel-${item.id}`} slot=${`panel-${item.id}`}>${item.body}</slot>`)}\n </impakt-accordion>`;\n return this.heading ? html`<section aria-labelledby=${headingId}>${head}${accordion}</section>` : html`<div>${head}${accordion}</div>`;\n }\n}\n\n/**\n * A site's menu as a whole screen: a few large links, for a phone or for a\n * site with only a handful of pages.\n *\n * **It is a native `<dialog>` opened with `showModal()`**, as the drawer is, so\n * the focus trap, Escape, the inert page behind it and the return of focus to\n * the button that opened it all come from the browser (2.1.2, 2.4.3). The page\n * behind does not scroll while it is open. The button that opens it is the\n * page's own; set `open` from it and listen for `impakt-close`.\n *\n * **The links are a navigation landmark with a name**, and the page the reader\n * is on carries `aria-current=\"page\"` and is marked with a square, so the mark\n * does not depend on colour (1.4.1). Set `current-text`, such as \"Current\",\n * and the words \"Current · 01\" stand in its number instead of the square. A\n * brand whose ink is dark may also colour it, by setting\n * `--impakt-site-menu-current`.\n *\n * The menu is drawn in ink: the text colour as the background with the card\n * colour on it, a pair every brand already holds at 4.5:1. A component slotted\n * at its foot takes the same colours through its tokens; a plain link there\n * keeps the page's own link colour, so slot `impakt-link` instead.\n *\n * @category navigation\n * @icon menu\n * @slot footer - Under the links: a call to action, an email address.\n * @fires {CustomEvent<null>} impakt-close - When the menu is closed, by its button, by Escape or by following a link.\n */\nexport class ImpaktSiteMenu extends ImpaktElement {\n static properties = {\n open: { type: Boolean, reflect: true },\n links: { type: Array },\n current: { type: String },\n brand: { type: String },\n mark: { type: String },\n home: { type: String },\n label: { type: String },\n closeText: { type: String, attribute: 'close-text' },\n currentText: { type: String, attribute: 'current-text' },\n };\n /** Whether the menu is showing. */\n declare open: boolean;\n /** The pages, in order. */\n declare links: NavLink[];\n /** The `href` of the page the reader is on, so its link is marked. */\n declare current: string;\n /** The site's name, at the top. */\n declare brand: string;\n /** A letter in a small square before the name, such as \"i\", as the site header's canvas look draws it. */\n declare mark: string;\n /** Where the site's name goes. */\n declare home: string;\n /** The menu's name, read when it opens and as the name of its links. */\n declare label: string;\n /** The words on the button that closes it. */\n declare closeText: string;\n /**\n * A word shown with the current page's number, such as \"Current\", so it\n * reads \"Current · 01\". It then marks the page in place of the square.\n * Leave empty for the square.\n */\n declare currentText: string;\n\n constructor() {\n super();\n this.open = false;\n this.links = [];\n this.current = '';\n this.brand = '';\n this.mark = '';\n this.home = '/';\n this.label = 'Menu';\n this.closeText = 'Close';\n this.currentText = '';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n css`\n /* The ink colours are taken on the host, because the dialog repaints the text colour for what is inside it. */\n :host { --impakt-menu: ${t.text}; --impakt-menu-on: ${t.surfaceCard}; --impakt-menu-muted: color-mix(in srgb, ${t.surfaceCard} 78%, ${t.text}); --impakt-menu-rule: color-mix(in srgb, ${t.surfaceCard} 18%, ${t.text}); }\n dialog { box-sizing: border-box; display: none; flex-direction: column; inline-size: 100vw; max-inline-size: 100vw; block-size: 100dvh; max-block-size: 100dvh; margin: 0; padding: 0; border: 0; overflow: auto; background: var(--impakt-menu); color: var(--impakt-menu-on); }\n dialog[open] { display: flex; }\n dialog::backdrop { background: var(--impakt-menu); }\n .bar { display: flex; align-items: center; justify-content: space-between; gap: ${space(4)}; padding: ${space(2)} ${space(4)}; border-block-end: ${t.borderThin} solid var(--impakt-menu-rule); }\n .brand { color: inherit; text-decoration: none; font-family: ${t.fontHeading}; font-size: ${fontSize('md')}; font-weight: ${fontWeight('semibold')}; border-radius: ${t.radiusSm}; }\n .brand.marked { display: inline-flex; align-items: center; gap: ${space(3)}; min-block-size: 44px; font-weight: ${fontWeight('medium')}; }\n .mark { display: inline-grid; place-items: center; inline-size: 28px; block-size: 28px; flex: none; background: var(--impakt-menu-on); color: var(--impakt-menu); font-size: ${fontSize('sm')}; }\n .close { display: inline-flex; align-items: center; gap: ${space(2)}; min-block-size: 44px; padding: 0 ${space(4)}; font: inherit; font-size: ${fontSize('sm')}; font-weight: ${fontWeight('medium')}; color: var(--impakt-menu); background: var(--impakt-menu-on); border: 0; border-radius: ${t.radius}; cursor: pointer; }\n nav { flex: 1; padding: ${space(6)} ${space(5)} 0; }\n ol { list-style: none; margin: 0; padding: 0; }\n li { border-block-end: ${t.borderThin} solid var(--impakt-menu-rule); }\n li a { display: flex; align-items: center; justify-content: space-between; gap: ${space(4)}; padding-block: ${space(4)}; color: inherit; text-decoration: none; font-family: ${t.fontHeading}; font-size: clamp(2.25rem, 12vw, 3.5rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.05em; }\n li a:hover .words { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }\n .number { font-family: ${t.fontMono}; font-size: ${fontSize('sm')}; font-weight: ${fontWeight('regular')}; letter-spacing: 0; color: var(--impakt-menu-muted); }\n /*\n * The current page is marked with a square. Its colour stays the menu's own text colour unless a brand sets\n * --impakt-site-menu-current, because an accent is only readable on ink when the brand's ink is dark (1.4.3).\n */\n a[aria-current] { color: var(--impakt-site-menu-current, var(--impakt-menu-on)); }\n a[aria-current] .number { color: var(--impakt-site-menu-current, var(--impakt-menu-on)); }\n a[aria-current]:not(.worded) .words::before { content: ''; display: inline-block; inline-size: 0.28em; block-size: 0.28em; margin-inline-end: 0.22em; vertical-align: 0.18em; background: currentColor; }\n .foot { display: flex; flex-direction: column; gap: ${space(4)}; padding: ${space(8)} ${space(5)} calc(${space(8)} + env(safe-area-inset-bottom)); }\n .foot[hidden] { display: none; }\n /* What is slotted at the foot is read on ink too. */\n ::slotted(*) { --impakt-color-text-default: var(--impakt-menu-on); --impakt-color-text-heading: var(--impakt-menu-on); --impakt-color-text-muted: var(--impakt-menu-muted); --impakt-color-text-link: var(--impakt-menu-on); --impakt-color-text-link-hover: var(--impakt-menu-on); color: var(--impakt-menu-on); }\n @media (forced-colors: active) { dialog { border: 1px solid CanvasText; } .close { border: 1px solid ButtonText; } }\n `,\n ];\n\n private hasFooter = false;\n\n private get dialog(): HTMLDialogElement | null {\n return this.renderRoot.querySelector('dialog');\n }\n\n updated(changed: Map<string, unknown>): void {\n if (!changed.has('open')) return;\n const dialog = this.dialog;\n if (!dialog) return;\n if (this.open) {\n if (typeof dialog.showModal === 'function') dialog.showModal();\n else dialog.setAttribute('open', '');\n lockScroll(this);\n } else {\n if (typeof dialog.close === 'function' && dialog.open) dialog.close();\n else dialog.removeAttribute('open');\n unlockScroll(this);\n }\n }\n\n disconnectedCallback(): void {\n super.disconnectedCallback();\n unlockScroll(this);\n }\n\n private close(): void {\n if (!this.open) return;\n this.open = false;\n this.dispatchEvent(new CustomEvent('impakt-close', { bubbles: true, composed: true }));\n }\n\n private footerChanged(event: Event): void {\n this.hasFooter = (event.target as HTMLSlotElement).assignedNodes().length > 0;\n this.requestUpdate();\n }\n\n render(): TemplateResult {\n return html`<dialog part=\"dialog\" aria-label=${this.label} @cancel=${() => this.close()} @close=${() => this.close()}>\n <div class=\"bar\" part=\"bar\">\n ${\n this.brand\n ? html`<a class=${this.mark ? 'brand marked' : 'brand'} href=${this.home || '/'} part=\"brand\">${this.mark ? html`<span class=\"mark\" part=\"mark\" aria-hidden=\"true\">${this.mark}</span>` : nothing}${this.brand}</a>`\n : html`<span></span>`\n }\n <button class=\"close\" type=\"button\" part=\"close\" @click=${() => this.close()}>\n <span>${this.closeText}</span>\n <svg viewBox=\"0 0 12 12\" width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M1 1l10 10M11 1 1 11\" /></svg>\n </button>\n </div>\n <nav aria-label=${this.label} part=\"nav\">\n <ol role=\"list\">\n ${(this.links ?? []).map((link, index) => {\n const current = !!this.current && link.href === this.current;\n const number = String(index + 1).padStart(2, '0');\n const worded = current && !!this.currentText;\n // Following a link closes the menu, so a link to a place on the same page does not leave it open over that place.\n return html`<li>\n <a href=${link.href} class=${worded ? 'worded' : ''} aria-current=${current ? 'page' : nothing} part=\"link\" @click=${() => this.close()}>\n <span class=\"words\">${link.label}</span><span class=\"number\" aria-hidden=\"true\">${worded ? `${this.currentText} · ${number}` : number}</span>\n </a>\n </li>`;\n })}\n </ol>\n </nav>\n <div class=\"foot\" part=\"footer\" ?hidden=${!this.hasFooter}><slot name=\"footer\" @slotchange=${this.footerChanged}></slot></div>\n </dialog>`;\n }\n}\n\n/**\n * An offer, set out in two halves: what it is, with one action, and a short\n * numbered list of what you get.\n *\n * It draws no background of its own. Put it in `impakt-section` with the\n * `accent` or `ink` tone and it takes that band's colours, so the words on it\n * are always the colour the tokens measured against the band (1.4.3).\n *\n * The points are an ordered list, so a screen reader says how many there are;\n * the numbers drawn beside them are decoration (1.3.1). The halves stack by\n * the block's own width, and on a narrow screen the action comes after the\n * points, so it is the last thing read before the next section (1.4.10).\n *\n * @category content\n * @icon megaphone\n * @slot actions - The action: one button.\n */\nexport class ImpaktOffer extends ImpaktElement {\n static properties = {\n eyebrow: { type: String },\n heading: { type: String },\n lead: { type: String },\n points: { type: Array },\n headingLevel: { type: Number, attribute: 'heading-level' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** The small line above the heading, such as \"Free for founders and product owners\". */\n declare eyebrow: string;\n /** What is offered, such as \"Get a 48-hour product teardown.\" */\n declare heading: string;\n /** A sentence or two more. */\n declare lead: string;\n /** What you get, one short line each. */\n declare points: string[];\n declare headingLevel: number;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.eyebrow = '';\n this.heading = '';\n this.lead = '';\n this.points = [];\n this.headingLevel = 2;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; container: impakt-offer / inline-size; }\n /* The Offer component (10:619): the copy 520px wide and the points 460px, 100px apart; the label, heading, lead and action 24px apart. */\n .offer { display: grid; grid-template-columns: minmax(0, 520fr) minmax(0, 460fr); grid-template-areas: 'copy points' 'actions points'; grid-template-rows: auto 1fr; column-gap: 100px; row-gap: ${space(6)}; align-items: start; }\n .copy { grid-area: copy; }\n .actions { grid-area: actions; }\n ol { grid-area: points; }\n .copy { display: flex; flex-direction: column; align-items: flex-start; gap: ${space(6)}; }\n /* The label in G2 Mono M, 13px at 1.5; the heading Display L, 64px on a 1080px offer and 36px on a phone; the lead G2 Body M, 16px at 1.45, 480px wide. */\n .eyebrow { margin: 0; font-family: ${t.fontEyebrow}; font-size: 0.8125rem; line-height: 1.5; color: var(--impakt-eyebrow, ${t.textMuted}); }\n .heading { max-inline-size: 8.125em; font-family: ${t.fontHeading}; font-size: clamp(2.25rem, 1.411rem + 3.836cqi, 4rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.04em; color: ${t.textHeading}; }\n .lead { margin: 0; max-inline-size: 30rem; font-size: ${fontSize('md')}; line-height: 1.45; color: ${t.text}; }\n ol { list-style: none; margin: 0; padding: 0; }\n /* Each point: a rule, 20px, the number in G2 Mono M and the words in G2 Label L, 20px at 1.2, 20px apart, then 20px. */\n li { display: flex; gap: ${space(5)}; padding-block: ${space(5)}; border-block-start: ${t.borderThin} solid ${t.text}; font-size: 1.25rem; font-weight: ${fontWeight('medium')}; line-height: 1.2; letter-spacing: -0.01em; color: ${t.text}; }\n .number { flex: none; font-family: ${t.fontMono}; font-size: 0.8125rem; font-weight: ${fontWeight('regular')}; line-height: 1.5; letter-spacing: 0; }\n /* On a phone (15:993): everything 20px apart; the points 14px above and below, the words 16px, 14px after the number. */\n @container impakt-offer (max-width: 44rem) {\n .offer { grid-template-columns: 1fr; grid-template-areas: 'copy' 'points' 'actions'; grid-template-rows: auto; row-gap: ${space(5)}; }\n .copy { gap: ${space(5)}; }\n .heading { line-height: 1.03; }\n li { gap: 14px; padding-block: 14px; font-size: 1rem; }\n }\n `,\n ];\n\n render(): TemplateResult {\n const level = Math.min(Math.max(this.headingLevel, 1), 6);\n return html`<div class=\"offer\" part=\"offer\">\n <div class=\"copy\">\n ${this.eyebrow ? html`<p class=\"eyebrow\" part=\"eyebrow\">${this.eyebrow}</p>` : nothing}\n ${this.heading ? html`<div class=\"heading\" part=\"heading\" role=\"heading\" aria-level=${level}>${this.heading}</div>` : nothing}\n ${this.lead ? html`<p class=\"lead\" part=\"lead\">${this.lead}</p>` : nothing}\n </div>\n <div class=\"actions\" part=\"actions\"><slot name=\"actions\"></slot></div>\n ${\n (this.points ?? []).length\n ? html`<ol role=\"list\" part=\"points\">\n ${this.points.map((point, index) => html`<li><span class=\"number\" aria-hidden=\"true\">${String(index + 1).padStart(2, '0')}</span><span>${point}</span></li>`)}\n </ol>`\n : nothing\n }\n </div>`;\n }\n}\n\n/**\n * A card for one article: what it is filed under, its title and a line about\n * it.\n *\n * **The card is one link.** The link sits on the title, which is a heading,\n * and is stretched over the card, so the whole card can be pressed while a\n * screen reader meets one link named by the title, not a \"Read more\" that says\n * nothing out of context (2.4.4). `link-text` adds a visible line such as\n * \"Read\"; it is decoration and is hidden from a screen reader, which already\n * has the title.\n *\n * @category content\n * @icon card\n */\nexport class ImpaktPostCard extends ImpaktElement {\n static properties = {\n heading: { type: String },\n text: { type: String },\n meta: { type: String },\n href: { type: String },\n linkText: { type: String, attribute: 'link-text' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n };\n /** The article's title. */\n declare heading: string;\n /** A line about it. */\n declare text: string;\n /** What it is filed under and how long it is, such as \"Pricing · 7 min read\". */\n declare meta: string;\n /** Where the card goes. */\n declare href: string;\n /** A visible line at the foot of the card, such as \"Read\". Leave empty for none. */\n declare linkText: string;\n declare headingLevel: number;\n\n constructor() {\n super();\n this.heading = '';\n this.text = '';\n this.meta = '';\n this.href = '';\n this.linkText = '';\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n css`\n :host { display: block; block-size: 100%; }\n /* The Article component (10:648): 24px inside, the meta, title, line and link 14px apart. */\n article { position: relative; box-sizing: border-box; block-size: 100%; display: flex; flex-direction: column; gap: 14px; padding: ${space(6)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radius}; transition: background-color 140ms ease-out; }\n /* The meta and the link in G2 Mono S: 11px medium capitals at 0.06em. */\n .meta { margin: 0; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.textMuted}; }\n .heading { font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight('semibold')}; line-height: 1.15; letter-spacing: -0.025em; color: ${t.text}; }\n .heading a { color: inherit; text-decoration: none; }\n .heading a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }\n .heading a:focus-visible { outline: none; }\n .heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }\n article:has(a):hover .heading { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }\n .text { margin: 0; font-size: 0.875rem; line-height: 1.4; color: ${t.textMuted}; }\n .more { font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.text}; }\n /* The link's arrow slides forward when the card is pointed at or focused (impkt-web#51). */\n .go { display: inline-block; transition: translate ${R.arrowDuration} ${R.arrowEasing}; }\n article:has(a):hover .go, article:focus-within .go { translate: ${R.arrowDistance} 0; }\n @media (prefers-reduced-motion: reduce) { .go { transition: none; } }\n /* On a phone (15:1020): 20px inside and 12px apart. */\n @media (max-width: 47.99rem) { article { gap: ${space(3)}; padding: ${space(5)}; } }\n @media (forced-colors: active) { article { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const level = Math.min(Math.max(this.headingLevel, 1), 6);\n return html`<article part=\"card\">\n ${this.meta ? html`<p class=\"meta\" part=\"meta\">${this.meta}</p>` : nothing}\n <div class=\"heading\" part=\"heading\" role=\"heading\" aria-level=${level}>${this.href ? html`<a href=${this.href} part=\"link\">${this.heading}</a>` : this.heading}</div>\n ${this.text ? html`<p class=\"text\" part=\"text\">${this.text}</p>` : nothing}\n ${this.linkText && this.href ? html`<span class=\"more\" aria-hidden=\"true\">${this.linkText} <span class=\"go\">→</span></span>` : nothing}\n </article>`;\n }\n}\n\n/**\n * A word or two of a heading picked out as if selected in a design tool: the\n * accent colour behind it, an outline and four handles.\n *\n * It is decoration round real text. The words stay in the heading, in the\n * page, so they are read, found and translated as the rest of it is; the\n * handles and the optional label are hidden from a screen reader (1.3.1).\n * The words on the accent are the colour the tokens measured against it\n * (1.4.3).\n *\n * **It draws itself once** (impkt-web#51), for a brand with the reveal set on:\n * when its section reaches the middle of the screen the frame is drawn round\n * the words in 260ms, the 8px handles appear at its corners and the size in\n * the label counts up to the real size. The words never move. With no script\n * and with reduced motion it is drawn as it ends.\n *\n * `cursor` draws a pointer at the bottom-right handle, as if someone in the\n * file had just picked the words; its value, if any, is the name tag beside\n * it. `hide-label-on=\"phone\"` leaves the label out on a phone, where it would\n * crowd the line below.\n *\n * The box is drawn 0.1em outside the words at each side, as the Selection in\n * the home frame is (`9:306`), so the words keep their place in the heading\n * and the box hangs into the space round them. At its end it also gives back\n * the display type's -0.05em tracking after the last letter\n * (`--impakt-highlight-trail`), and the word after it is pushed along by the\n * overhang, so a space still follows the box (`9:302`, `21:1322`).\n *\n * @category content\n * @icon text\n * @slot - The words to pick out.\n */\nexport class ImpaktHighlight extends ImpaktElement {\n static properties = {\n label: { type: String },\n cursor: { type: String },\n hideLabelOn: { type: String, reflect: true, attribute: 'hide-label-on' },\n };\n /** A small tag under the words, such as \"Design · H1 / 120\". It is decoration and is not read. */\n declare label: string;\n /**\n * Draw a pointer at the bottom-right handle. Its value is a name tag beside\n * the pointer, such as \"Maria\"; an empty value draws the pointer alone. Leave\n * the attribute off for no pointer. Decoration, not read.\n */\n declare cursor: string | null;\n /** Leave the label out on a phone (`phone`). */\n declare hideLabelOn: '' | 'phone';\n\n constructor() {\n super();\n this.label = '';\n this.cursor = null;\n this.hideLabelOn = '';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n /*\n * The Selection (9:306): the accent behind the words with a 1.5px ink line, drawn 0.1em outside them at the sides\n * (12px at 120px) and from 2px under the top of the line to 4px over its foot, so the words keep their place in the\n * heading. Its four 8px handles sit on its corners with the same line.\n */\n :host { --x: 0.1em; --trail: var(--impakt-highlight-trail, 0.05em); --top: 0.0167em; --foot: 0.033em; display: inline-block; position: relative; isolation: isolate; margin-inline-end: calc(var(--x) + var(--trail) + 0.05em); color: ${token('color.accent.on', '#1a1a1a')}; }\n .box { position: absolute; z-index: -1; inset: var(--top) calc(-1 * var(--x) - var(--trail)) var(--foot) calc(-1 * var(--x)); box-sizing: border-box; background: ${token('color.accent.default', '#ffd43b')}; border: 1.5px solid ${token('color.accent.on', '#1a1a1a')}; }\n .handle { position: absolute; inline-size: 8px; block-size: 8px; box-sizing: border-box; background: ${t.surfaceCard}; border: 1.5px solid ${token('color.accent.on', '#1a1a1a')}; }\n .handle.h1 { inset-block-start: calc(var(--top) - 4px); inset-inline-start: calc(-1 * var(--x) - 4px); }\n .handle.h2 { inset-block-start: calc(var(--top) - 4px); inset-inline-end: calc(-1 * var(--x) - var(--trail) - 4px); }\n .handle.h3 { inset-block-end: calc(var(--foot) - 4px); inset-inline-start: calc(-1 * var(--x) - 4px); }\n .handle.h4 { inset-block-end: calc(var(--foot) - 4px); inset-inline-end: calc(-1 * var(--x) - var(--trail) - 4px); }\n /*\n * The label is meta: monospace capitals at 11px, square, 8px under the box and level with its edge (9:311). It is\n * placed by a holder in the heading's own size, so the box's em measures are the heading's, not the label's.\n */\n .label-at { position: absolute; inset-block-start: calc(100% - var(--foot) + 8px); inset-inline-start: calc(-1 * var(--x)); line-height: 0; }\n .label { display: block; padding: 3px 7px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; border-radius: ${t.radiusSm}; }\n @media (max-width: 40rem) { :host([hide-label-on='phone']) .label-at { display: none; } }\n /* The pointer sits by the bottom-right handle, 16px up from the box's foot, with its name tag 16px along and 18px down (9:313, 9:315). */\n .cursor { position: absolute; inset-block-start: calc(100% - var(--foot) - 16px); inset-inline-start: calc(100% + var(--x) + var(--trail) - 4px); display: flex; align-items: flex-start; pointer-events: none; line-height: 1; }\n .cursor svg { display: block; flex: none; color: ${t.text}; stroke: ${t.surfaceCard}; }\n .tag { margin-block-start: 18px; padding: 3px 6px; white-space: nowrap; font-family: ${t.fontMono}; font-size: 0.6875rem; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: ${t.surfaceCard}; background: ${t.text}; }\n @media (forced-colors: active) { :host { forced-color-adjust: none; color: HighlightText; } .box { background: Highlight; border-color: HighlightText; } .handle { border-color: HighlightText; background: Canvas; } .label, .tag { background: CanvasText; color: Canvas; } .cursor svg { color: CanvasText; } }\n /* Selection draw (impkt-web#51): the frame is dragged out from its top-left corner over the words, then its handles appear; the size label counts up as it does. Until the frame is there the words keep the page's text colour. */\n .label { --ik-count-duration: ${R.select}; }\n :host([data-motion]) { animation: ik-highlight-words ${R.select} ${R.shape} ${revealAt(0)} both; }\n :host([data-motion]) .box { animation: ik-highlight-draw ${R.select} ${R.shape} ${revealAt(0)} both; }\n :host([data-motion]) :is(.label, .cursor) { animation: ik-reveal-fade ${R.mark} ${R.arrive} ${revealAt(0)} both; }\n :host([data-motion]) .handle { animation: ik-reveal-mark ${R.mark} ${R.arrive} ${revealAt(0, 'var(--impakt-motion-reveal-select-duration, 260ms)')} both; }\n @keyframes ik-highlight-draw { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }\n @keyframes ik-highlight-words { from { color: ${t.text}; } }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n return html`<span class=\"box\" part=\"box\" aria-hidden=\"true\"></span><slot></slot><span class=\"handle h1\" aria-hidden=\"true\"></span><span class=\"handle h2\" aria-hidden=\"true\"></span><span class=\"handle h3\" aria-hidden=\"true\"></span><span class=\"handle h4\" aria-hidden=\"true\"></span>${\n this.label\n ? html`<span class=\"label-at\" aria-hidden=\"true\"><span class=\"label\" part=\"label\" aria-hidden=\"true\" data-ik-count=\"text\">${this.label}</span></span>`\n : nothing\n }${\n this.cursor != null\n ? html`<span class=\"cursor\" part=\"cursor\" aria-hidden=\"true\"\n ><svg viewBox=\"0 0 16 20\" width=\"16\" height=\"20\" focusable=\"false\"><path d=\"M1 1v16l4.2-4 2.9 6.2 2.6-1.2-2.9-6.1H14Z\" fill=\"currentColor\" stroke-width=\"1.2\" stroke-linejoin=\"round\" /></svg\n >${this.cursor ? html`<span class=\"tag\">${this.cursor}</span>` : nothing}</span\n >`\n : nothing\n }`;\n }\n}\n\ncustomElements.define('impakt-work-list', ImpaktWorkList);\ncustomElements.define('impakt-stat-row', ImpaktStatRow);\ncustomElements.define('impakt-faq', ImpaktFaq);\ncustomElements.define('impakt-site-menu', ImpaktSiteMenu);\ncustomElements.define('impakt-offer', ImpaktOffer);\ncustomElements.define('impakt-post-card', ImpaktPostCard);\ncustomElements.define('impakt-highlight', ImpaktHighlight);\ndeclare global {\n interface HTMLElementTagNameMap {\n 'impakt-work-list': ImpaktWorkList;\n 'impakt-stat-row': ImpaktStatRow;\n 'impakt-faq': ImpaktFaq;\n 'impakt-site-menu': ImpaktSiteMenu;\n 'impakt-offer': ImpaktOffer;\n 'impakt-post-card': ImpaktPostCard;\n 'impakt-highlight': ImpaktHighlight;\n }\n}\n"],"mappings":";AAIA,SAAS,KAAK,MAAM,eAAoC;AACxD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AA0BP,IAAM,QAAQ;AAAA;AAAA;AA0CP,IAAM,iBAAN,cAA6B,cAAc;AAAA,EAChD;AAAA,SAAO,aAAa;AAAA,MAClB,OAAO,EAAE,MAAM,MAAM;AAAA,MACrB,cAAc,EAAE,MAAM,QAAQ,WAAW,gBAAgB;AAAA,MACzD,OAAO,EAAE,MAAM,OAAO;AAAA,MAC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