@atomic-ui/blocks 0.13.2 → 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 (41) hide show
  1. package/custom-elements.json +82 -18
  2. package/dist/{chunk-B6I3GVJ5.js → chunk-3G3NP4UC.js} +9 -4
  3. package/dist/chunk-3G3NP4UC.js.map +1 -0
  4. package/dist/{chunk-H262HKSL.js → chunk-7OFH762N.js} +53 -23
  5. package/dist/chunk-7OFH762N.js.map +1 -0
  6. package/dist/{chunk-WIVKJL64.js → chunk-BW5ZMKES.js} +65 -29
  7. package/dist/chunk-BW5ZMKES.js.map +1 -0
  8. package/dist/{chunk-WTVF3JRL.js → chunk-GDATDR2Q.js} +24 -7
  9. package/dist/chunk-GDATDR2Q.js.map +1 -0
  10. package/dist/{chunk-IT2NA25D.js → chunk-GZTBAT6P.js} +6 -3
  11. package/dist/chunk-GZTBAT6P.js.map +1 -0
  12. package/dist/{chunk-FNGN2F6Y.js → chunk-NZQZRBKV.js} +17 -4
  13. package/dist/chunk-NZQZRBKV.js.map +1 -0
  14. package/dist/{chunk-53V2GY6L.js → chunk-Q366ZM2X.js} +60 -29
  15. package/dist/chunk-Q366ZM2X.js.map +1 -0
  16. package/dist/{chunk-MMADM6OW.js → chunk-ZM2HLQOG.js} +3 -2
  17. package/dist/{chunk-MMADM6OW.js.map → chunk-ZM2HLQOG.js.map} +1 -1
  18. package/dist/components/changelog.js +1 -1
  19. package/dist/components/estimator.js +1 -1
  20. package/dist/components/g2-case.d.ts +8 -1
  21. package/dist/components/g2-case.js +1 -1
  22. package/dist/components/g2-site.d.ts +22 -1
  23. package/dist/components/g2-site.js +1 -1
  24. package/dist/components/journey.d.ts +13 -2
  25. package/dist/components/journey.js +1 -1
  26. package/dist/components/organisms.js +1 -1
  27. package/dist/components/site.d.ts +2 -1
  28. package/dist/components/site.js +1 -1
  29. package/dist/components/studio.d.ts +32 -3
  30. package/dist/components/studio.js +1 -1
  31. package/dist/index.js +8 -8
  32. package/dist/standalone/atomic-ui-blocks.js +1173 -1072
  33. package/dist/standalone/atomic-ui-blocks.js.map +3 -3
  34. package/package.json +3 -3
  35. package/dist/chunk-53V2GY6L.js.map +0 -1
  36. package/dist/chunk-B6I3GVJ5.js.map +0 -1
  37. package/dist/chunk-FNGN2F6Y.js.map +0 -1
  38. package/dist/chunk-H262HKSL.js.map +0 -1
  39. package/dist/chunk-IT2NA25D.js.map +0 -1
  40. package/dist/chunk-WIVKJL64.js.map +0 -1
  41. package/dist/chunk-WTVF3JRL.js.map +0 -1
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  // packages/blocks/src/components/g2-site.ts
16
16
  import { css, html, nothing } from "lit";
17
- import { ImpaktElement, focusRing, fontWeight, say, space, spaceAround, t, token } from "@atomic-ui/ui";
17
+ import { ImpaktElement, R, focusRing, fontWeight, revealAt, revealStyles, say, space, spaceAround, t, token } from "@atomic-ui/ui";
18
18
  var STAGE_WORDS = {
19
19
  note: ["01", "Discover", "Note"],
20
20
  wireframe: ["02", "Design low-fi", "Wireframe"],
@@ -53,7 +53,10 @@ var ImpaktStageTag = class extends ImpaktElement {
53
53
  .phase { color: ${paper}; }
54
54
  .label { color: ${inkMuted}; }
55
55
  @media (forced-colors: active) { .tag { border-color: CanvasText; } .index, .phase, .label { color: CanvasText; } }
56
- `
56
+ /* Labels type in (impkt-web#51): the tag types its words in from the left in 240ms as its section arrives. All of them are in the page from the start. */
57
+ :host([data-motion]) .tag { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }
58
+ `,
59
+ revealStyles
57
60
  ];
58
61
  }
59
62
  render() {
@@ -111,7 +114,8 @@ var ImpaktSectionHead = class extends ImpaktElement {
111
114
  .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: ${space(10)}; row-gap: ${space(6)}; align-items: end; margin-block-start: ${space(6)}; }
112
115
  .heading { margin: 0; font-family: ${t.fontHeading}; font-weight: ${fontWeight("semibold")}; color: var(--impakt-color-text-heading, ${t.text}); text-wrap: balance; overflow-wrap: anywhere; }
113
116
  :host([size='m']) .heading { font-size: clamp(2.25rem, 1.2rem + 4cqi, 3.25rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 11.5em; }
114
- :host([size='l']) .heading { font-size: clamp(2.5rem, 1.2rem + 5cqi, 4rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 11.5em; }
117
+ /* Display L sets a section title 680px wide at 64px, with a side lead or without (21:1080, 20:1160, 34:644). */
118
+ :host([size='l']) .heading { font-size: clamp(2.5rem, 1.2rem + 5cqi, 4rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 10.625em; }
115
119
  /* Display XL: 120px on a 1080px column and 52px on a 350px phone column, line height 1 and -5% (9:303, 14:734). */
116
120
  :host([size='xl']) .heading { font-size: clamp(3.25rem, 1.2128rem + 9.315cqi, 7.5rem); line-height: var(--impakt-type-display-xl-line-height, 1); letter-spacing: var(--impakt-type-display-xl-tracking, -0.05em); }
117
121
  /* The lead in G2 Body M, 16px at 1.45, 24px under the heading and at most 480px wide (9:385). */
@@ -124,12 +128,19 @@ var ImpaktSectionHead = class extends ImpaktElement {
124
128
  ::slotted([slot='aside']) { display: block; max-inline-size: 100%; }
125
129
  @container (max-width: 47.99rem) {
126
130
  /* On a phone the heading is 20px under the label row and the lead 16px under the heading (14:984, 14:804). */
127
- .body { grid-template-columns: minmax(0, 1fr); margin-block-start: ${space(5)}; }
131
+ .body { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-block-start: ${space(5)}; }
132
+ /* A row with a stage tag in it keeps 24px under it, as the 53px label row of 15:1058 does. */
133
+ .top.tagged + .body { margin-block-start: ${space(6)}; }
128
134
  .main .lead { margin-block-start: ${space(4)}; }
129
- .side { justify-items: stretch; }
130
- .side .lead { inline-size: auto; }
135
+ /* The side column takes room only for what it shows: a side lead 16px under the heading (14:986), an aside 24px under what is above it. An empty one, or an aside hidden on a phone, leaves no gap (15:1017, 15:1039, 15:940). */
136
+ .side { justify-items: stretch; gap: 0; }
137
+ .side .lead { inline-size: auto; max-inline-size: none; margin-block-start: ${space(4)}; }
138
+ ::slotted([slot='aside']) { margin-block-start: ${space(6)}; }
131
139
  }
132
- `
140
+ /* Labels type in (impkt-web#51): the mono label types in as the section arrives. The heading and the lead, which are read, never move. */
141
+ :host([data-motion]) .label { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }
142
+ `,
143
+ revealStyles
133
144
  ];
134
145
  }
135
146
  render() {
@@ -189,26 +200,37 @@ var ImpaktServiceCard = class extends ImpaktElement {
189
200
  ...ImpaktElement.styles,
190
201
  css`
191
202
  :host { display: block; block-size: 100%; }
192
- article { position: relative; box-sizing: border-box; block-size: 100%; min-block-size: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: ${space(6)}; padding: ${space(6)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; transition: background-color 140ms ease-out, color 140ms ease-out; }
203
+ article { position: relative; isolation: isolate; box-sizing: border-box; block-size: 100%; min-block-size: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: ${space(6)}; padding: ${space(6)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; transition: color ${R.wipeDuration} ${R.wipeEasing}, border-color ${R.wipeDuration} ${R.wipeEasing}; }
204
+ /* The ink a card 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). */
205
+ article::before { content: ''; position: absolute; inset: 0; z-index: -1; background: ${ink}; 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; }
206
+ article:has(a):hover::before, article:focus-within::before { opacity: 1; transform: none; }
207
+ .go { display: inline-block; transition: translate ${R.arrowDuration} ${R.arrowEasing}; }
208
+ article:has(a):hover .go, article:focus-within .go { translate: ${R.arrowDistance} 0; }
209
+ /* Drop (impkt-web#51): the card drops 12px into place as its row is reached, after the one before it, and the line under it settles. */
210
+ :host([data-motion]) article { animation: ik-reveal-drop ${R.drop} ${R.arrive} ${revealAt(0)} both, ik-reveal-settle ${R.drop} ${R.arrive} ${revealAt(0)} both; }
193
211
  .top { display: flex; align-items: center; justify-content: space-between; }
194
212
  /* The Service card component (8:358): the number in G2 Mono M, 13px with no tracking; the name, line, tags and link 10px apart. */
195
213
  .number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0; }
196
214
  .dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: currentColor; }
197
215
  .foot { display: grid; gap: ${space(2.5)}; }
198
- .heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; }
216
+ /* The frame sets whole-pixel lines (8:344): the name 28px at 24, the line 20px at 14 and the tags 15px at 11. */
217
+ .heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight("semibold")}; line-height: 1.75rem; letter-spacing: -0.025em; }
199
218
  .heading a { color: inherit; text-decoration: none; }
200
219
  .heading a::after { content: ''; position: absolute; inset: 0; }
201
220
  .heading a:focus-visible { outline: none; }
202
221
  .heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }
203
- .text { margin: 0; font-size: 0.875rem; line-height: 1.4; color: ${t.textMuted}; }
204
- .tags { margin: 0; ${monoLabel}; font-weight: ${fontWeight("medium")}; color: ${t.textMuted}; }
222
+ .text { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: ${t.textMuted}; }
223
+ .tags { margin: 0; ${monoLabel}; line-height: 0.9375rem; font-weight: ${fontWeight("medium")}; color: ${t.textMuted}; }
205
224
  .more { ${monoLabel}; font-weight: ${fontWeight("medium")}; }
206
- article:has(a):hover, article:focus-within, :host([featured]) article { background: ${ink}; color: ${paper}; border-color: ${ink}; }
225
+ article:has(a):hover, article:focus-within { color: ${paper}; border-color: ${ink}; }
226
+ :host([featured]) article { background: ${ink}; color: ${paper}; border-color: ${ink}; }
207
227
  article:has(a):hover :is(.text, .tags), article:focus-within :is(.text, .tags), :host([featured]) :is(.text, .tags) { color: ${inkMuted}; }
208
228
  article:has(a):hover :is(.dot, .more), article:focus-within :is(.dot, .more), :host([featured]) :is(.dot, .more) { color: ${accentOnInk}; }
209
229
  @media (max-width: 47.99rem) { article { min-block-size: 0; justify-content: flex-start; } }
210
- @media (forced-colors: active) { article { border-color: CanvasText; } .dot { background: CanvasText; } }
211
- `
230
+ @media (prefers-reduced-motion: reduce) { article, article::before, .go { transition: none; } }
231
+ @media (forced-colors: active) { article { border-color: CanvasText; } .dot { background: CanvasText; } article::before { display: none; } }
232
+ `,
233
+ revealStyles
212
234
  ];
213
235
  }
214
236
  render() {
@@ -224,7 +246,7 @@ var ImpaktServiceCard = class extends ImpaktElement {
224
246
  </div>
225
247
  ${this.text ? html`<p class="text" part="text">${this.text}</p>` : nothing}
226
248
  ${this.tags ? html`<p class="tags" part="tags">${this.tags}</p>` : nothing}
227
- ${this.href && this.linkText ? html`<span class="more" part="more" aria-hidden="true">${this.linkText} →</span>` : nothing}
249
+ ${this.href && this.linkText ? html`<span class="more" part="more" aria-hidden="true">${this.linkText} <span class="go">→</span></span>` : nothing}
228
250
  </div>
229
251
  </article>`;
230
252
  }
@@ -317,7 +339,7 @@ var ImpaktFacts = class extends ImpaktElement {
317
339
  super();
318
340
  this.items = [];
319
341
  this.layout = "columns";
320
- this.size = "md";
342
+ this.size = "sm";
321
343
  this.label = "";
322
344
  }
323
345
  static {
@@ -326,18 +348,22 @@ var ImpaktFacts = class extends ImpaktElement {
326
348
  focusRing,
327
349
  css`
328
350
  :host { display: block; color: ${t.text}; }
329
- dl { margin: 0; display: grid; gap: ${space(5)}; }
351
+ /* Stacked, as the contact page's direct line (20:1163): 28px apart, each value 8px under its label. */
352
+ dl { margin: 0; display: grid; gap: 28px; }
353
+ /* In columns (21:1336, 34:627): each under an ink rule, the label 14px under it and the value 8px under the label, so a row of one line is 61px. */
330
354
  :host([layout='columns']) dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); column-gap: ${space(5)}; row-gap: ${space(6)}; }
331
- :host([layout='columns']) .fact { border-block-start: 1px solid ${t.text}; padding-block-start: ${space(4)}; }
355
+ :host([layout='columns']) .fact { border-block-start: 1px solid ${t.text}; padding-block-start: 14px; }
332
356
  dt { ${monoLabel}; color: ${t.textMuted}; }
333
357
  dd { margin: ${space(2)} 0 0; font-family: ${t.fontBody}; line-height: 1.3; overflow-wrap: anywhere; }
334
- :host([layout='columns']) dd { margin-block-start: ${space(3)}; }
335
- .sm { font-size: 1rem; }
358
+ .sm { font-size: 1rem; line-height: 1.45; }
336
359
  .md { font-size: 1.125rem; }
337
360
  .lg { font-size: 1.5rem; letter-spacing: -0.01em; }
338
361
  .xl { font-size: clamp(1.5rem, 1rem + 2vw, 2rem); letter-spacing: -0.02em; }
339
362
  a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
340
363
  a:hover { text-decoration-thickness: 2px; }
364
+ /* Stacked, a value that is a link stands alone, so it is not underlined until it is pointed at or focused (20:1163). */
365
+ :host([layout='stacked']) a { text-decoration: none; }
366
+ :host([layout='stacked']) a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; }
341
367
  @media (forced-colors: active) { :host([layout='columns']) .fact { border-color: CanvasText; } }
342
368
  `
343
369
  ];
@@ -360,7 +386,8 @@ var ImpaktNumberedList = class extends ImpaktElement {
360
386
  items: { type: Array },
361
387
  start: { type: Number },
362
388
  headingLevel: { type: Number, attribute: "heading-level" },
363
- label: { type: String }
389
+ label: { type: String },
390
+ split: { type: String, reflect: true }
364
391
  };
365
392
  }
366
393
  constructor() {
@@ -369,6 +396,7 @@ var ImpaktNumberedList = class extends ImpaktElement {
369
396
  this.start = 1;
370
397
  this.headingLevel = 3;
371
398
  this.label = "";
399
+ this.split = "heading";
372
400
  }
373
401
  static {
374
402
  this.styles = [
@@ -376,10 +404,12 @@ var ImpaktNumberedList = class extends ImpaktElement {
376
404
  css`
377
405
  :host { display: block; container-type: inline-size; color: ${t.text}; }
378
406
  ol { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid ${t.text}; }
407
+ /* The Item of 21:1389 and 34:714: 24px above and below, the number in G2 Mono M, the heading in Display S at 1.1 and the text in Body M, so a row of one line is 84px. */
379
408
  li { display: grid; grid-template-columns: 60px minmax(0, 520fr) minmax(0, 420fr); column-gap: ${space(10)}; align-items: center; padding-block: ${space(6)}; border-block-end: 1px solid ${t.rule}; }
380
- .n { font-family: ${t.fontMono}; font-size: 0.75rem; letter-spacing: 0.06em; color: ${t.textMuted}; }
381
- .heading { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(1.5rem, 1rem + 2cqi, 2rem); font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; }
382
- .text { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: ${t.textMuted}; }
409
+ :host([split='text']) li { grid-template-columns: 60px minmax(0, 460fr) minmax(0, 480fr); }
410
+ .n { font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }
411
+ .heading { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(1.5rem, 1rem + 2cqi, 2rem); font-weight: ${fontWeight("semibold")}; line-height: 1.1; letter-spacing: -0.03em; }
412
+ .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }
383
413
  @container (max-width: 47.99rem) {
384
414
  li { grid-template-columns: minmax(0, 1fr); row-gap: ${space(2)}; }
385
415
  }
@@ -466,13 +496,14 @@ var ImpaktOfficeCard = class extends ImpaktElement {
466
496
  ...ImpaktElement.styles,
467
497
  css`
468
498
  :host { display: block; block-size: 100%; container-type: inline-size; }
469
- article { box-sizing: border-box; block-size: 100%; display: grid; align-content: start; gap: ${space(2)}; padding: ${space(8)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; }
499
+ /* The office of 21:1201: 32px inside and its parts 12px apart, the region in Label L (16px on 1.2) and the line in Body M (16px on 1.45). */
500
+ article { box-sizing: border-box; block-size: 100%; display: grid; align-content: start; gap: 12px; padding: ${space(8)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; }
470
501
  .top { display: flex; flex-wrap: wrap-reverse; justify-content: space-between; align-items: center; gap: ${space(2)}; }
471
502
  .hours { margin: 0; ${monoLabel}; color: ${t.textMuted}; }
472
503
  .tag { margin: 0; padding: 3px 6px; ${monoLabel}; font-weight: ${fontWeight("medium")}; background: ${accent}; color: ${accentOn}; }
473
- .name { margin: ${space(2)} 0 0; font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 1rem + 10cqi, 4rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }
474
- .region { margin: ${space(2)} 0 0; font-size: 1rem; line-height: 1.4; }
475
- .text { margin: ${space(2)} 0 0; font-size: 0.9375rem; line-height: 1.5; color: ${t.textMuted}; }
504
+ .name { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 1rem + 10cqi, 4rem); font-weight: ${fontWeight("semibold")}; line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }
505
+ .region { margin: 0; font-size: 1rem; line-height: 1.2; }
506
+ .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }
476
507
  @container (max-width: 22rem) { article { padding: ${space(5)}; } }
477
508
  @media (forced-colors: active) { article { border-color: CanvasText; } .tag { border: 1px solid CanvasText; } }
478
509
  `
@@ -510,4 +541,4 @@ export {
510
541
  ImpaktColumnList,
511
542
  ImpaktOfficeCard
512
543
  };
513
- //# sourceMappingURL=chunk-53V2GY6L.js.map
544
+ //# sourceMappingURL=chunk-Q366ZM2X.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/g2-site.ts"],"sourcesContent":["/**\n * The G2 Noire site blocks: the stage tag and section head every section starts\n * with, the service card, the cursors and hand notes on the hero, the facts,\n * numbered and column lists, and the office card.\n */\nimport { css, html, nothing, type TemplateResult } from 'lit';\nimport { ImpaktElement, R, focusRing, fontWeight, revealAt, revealStyles, say, space, spaceAround, t, token } from '@atomic-ui/ui';\nimport { accent, accentOn, accentOnInk, ink, inkLine, inkMuted, inkRaised, levelOf, monoLabel, pad, paper } from './g2-shared';\n\n/** The five stages of a project, as the stage tags name them. */\nexport type StageName = 'note' | 'wireframe' | 'component' | 'code' | 'live';\n\n/** Each stage's number, phase and name, in English; `say` puts them in the page's language. */\nexport const STAGE_WORDS: Record<StageName, readonly [string, string, string]> = {\n note: ['01', 'Discover', 'Note'],\n wireframe: ['02', 'Design low-fi', 'Wireframe'],\n component: ['03', 'Design hi-fi', 'Component'],\n code: ['04', 'Build', 'Code'],\n live: ['05', 'Launch', 'Live'],\n};\n\n/**\n * A small square mono tag that says which stage of a project a section shows,\n * such as \"01 Discover Note\": the number in the accent, the phase in paper and\n * the stage's name quieter, on ink.\n *\n * Set `stage` for one of the five stages, or `index`, `phase` and `label` for\n * your own words; each one set wins over the stage's. The tag is drawn on the\n * raised ink with a hairline round it, on paper and on an ink band alike, as\n * the Stage tag component (`8:320`) is; `on-ink` is kept for pages that set it\n * and draws the same tag.\n *\n * **It is decoration.** The section's heading says what the section is, so the\n * tag is hidden from a screen reader unless `announce` is set (1.3.1). The tag\n * stays ink in both themes, so the yellow on it stays readable (1.4.3).\n *\n * For a brand with the reveal set on, it types its words in once as its\n * section arrives (impkt-web#51); with no script and with reduced motion it is\n * simply there.\n *\n * @category content\n * @icon tag\n */\nexport class ImpaktStageTag extends ImpaktElement {\n static properties = {\n stage: { type: String, reflect: true },\n index: { type: String },\n phase: { type: String },\n label: { type: String },\n onInk: { type: Boolean, reflect: true, attribute: 'on-ink' },\n announce: { type: Boolean },\n };\n /** One of the five stages, which fills in the words. Leave empty to give them yourself. */\n declare stage: StageName | '';\n /** The number, such as \"01\". */\n declare index: string;\n /** The phase, such as \"Discover\". */\n declare phase: string;\n /** The stage's name, such as \"Note\". */\n declare label: string;\n /** Kept for pages that set it: the tag is raised off the ink with a line round it on every band. */\n declare onInk: boolean;\n /** Let a screen reader read the tag. Leave off when the heading beside it says the same. */\n declare announce: boolean;\n\n constructor() {\n super();\n this.stage = '';\n this.index = '';\n this.phase = '';\n this.label = '';\n this.onInk = false;\n this.announce = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; vertical-align: middle; }\n /* The Stage tag component (8:320): G2 Mono S, 11px medium capitals at 0.06em, 10px apart, 6 by 10 inside, on the raised ink with a hairline. Its corner is a brand shape, 3px for Impakt. */\n .tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; background: ${inkRaised}; border: 1px solid ${inkLine}; border-radius: ${token('stage-tag.radius', '0px')}; ${monoLabel}; font-weight: ${fontWeight('medium')}; white-space: nowrap; }\n .index { color: ${accentOnInk}; }\n .phase { color: ${paper}; }\n .label { color: ${inkMuted}; }\n @media (forced-colors: active) { .tag { border-color: CanvasText; } .index, .phase, .label { color: CanvasText; } }\n /* Labels type in (impkt-web#51): the tag types its words in from the left in 240ms as its section arrives. All of them are in the page from the start. */\n :host([data-motion]) .tag { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const words = this.stage && this.stage in STAGE_WORDS ? STAGE_WORDS[this.stage] : undefined;\n const index = this.index || words?.[0] || '';\n const phase = this.phase || (words ? say(words[1]) : '');\n const label = this.label || (words ? say(words[2]) : '');\n if (!index && !phase && !label) return html``;\n return html`<span class=\"tag\" part=\"tag\" aria-hidden=${this.announce ? nothing : 'true'}\n >${index ? html`<span class=\"index\" part=\"index\">${index}</span>` : nothing}${phase ? html`<span class=\"phase\" part=\"phase\">${phase}</span>` : nothing}${\n label ? html`<span class=\"label\" part=\"label\">${label}</span>` : nothing\n }</span\n >`;\n }\n}\n\n/**\n * The head of a section: a mono label such as \"# Services\" with an optional\n * stage tag on the right, then a display heading and a lead.\n *\n * `size` sets the heading: `xl` (120px) for a page's hero, `l` (64px), and `m`\n * (52px) for a section. Give the heading as `heading`, or in the `heading` slot\n * when part of it is picked out with `impakt-highlight` or an accent word. The\n * lead goes under the heading, or with `lead-position=\"side\"` at the foot of a\n * 340px column on the right. The `aside` slot holds a picture on the right,\n * such as a journey object at 448 by 288, with the heading and lead level with\n * its middle. A page drawn on the server sets `aside` when it fills the slot,\n * since the head cannot see its children there; in a browser the head sets it\n * itself.\n *\n * **One heading, at the level the page needs.** `level` is 1 for a page's hero\n * and 2 for a section (1.3.1, 2.4.6). The \"#\" before the label is decoration.\n *\n * For a brand with the reveal set on, the label types itself in once as the\n * section arrives, and a stage tag beside it does the same (impkt-web#51); the\n * heading and the lead never move.\n *\n * **It stacks in a narrow column**, measured against its own width: the label\n * row, the heading, the lead and the aside, in reading order (1.4.10). It takes\n * its colours from the band it is on, so it reads on paper, ink and accent.\n *\n * @category layout\n * @icon heading\n * @role heading\n * @slot heading - The heading, when it holds more than words, such as an `impakt-highlight`. Replaces `heading`.\n * @slot lead - The lead, when it holds more than words. Replaces `lead`.\n * @slot tag - Something on the right of the label row, in place of the stage tag.\n * @slot aside - A picture on the right of the heading, such as a journey object.\n */\nexport class ImpaktSectionHead extends ImpaktElement {\n static properties = {\n label: { type: String },\n heading: { type: String },\n lead: { type: String },\n size: { type: String, reflect: true },\n level: { type: Number, reflect: true },\n leadPosition: { type: String, reflect: true, attribute: 'lead-position' },\n stage: { type: String },\n stageOnInk: { type: Boolean, attribute: 'stage-on-ink' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n aside: { type: Boolean, reflect: true },\n };\n /** The mono label above the heading, such as \"Services\". A \"#\" is drawn before it. */\n declare label: string;\n declare heading: string;\n /** A sentence or two about the section. */\n declare lead: string;\n /** How large the heading is: `xl` 120px, `l` 64px, `m` 52px. */\n declare size: 'xl' | 'l' | 'm';\n /** The heading's level: 1 for a page's hero, 2 for a section. */\n declare level: 1 | 2;\n /** Where the lead goes: under the heading, or at the foot of a column on the right. */\n declare leadPosition: 'below' | 'side';\n /** A stage tag on the right of the label row. Leave empty for none. */\n declare stage: StageName | '';\n /** Draw the stage tag for an ink band. */\n declare stageOnInk: boolean;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n /** The `aside` slot is filled. Set it on a page drawn on the server; in a browser the head sets it when the slot changes. */\n declare aside: boolean;\n\n constructor() {\n super();\n this.aside = false;\n this.label = '';\n this.heading = '';\n this.lead = '';\n this.size = 'm';\n this.level = 2;\n this.leadPosition = 'below';\n this.stage = '';\n this.stageOnInk = false;\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-type: inline-size; color: ${t.text}; }\n /* The label row is the label's own 20px (12:712, 10:642), or the stage tag's 29px beside it (9:296). */\n .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: ${space(2)} ${space(4)}; }\n .top.tagged { min-block-size: 29px; }\n /* The label row in G2 Mono M: IBM Plex Mono 13px at 1.5 (14:728). */\n .label { margin: 0; font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }\n .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: ${space(10)}; row-gap: ${space(6)}; align-items: end; margin-block-start: ${space(6)}; }\n .heading { margin: 0; font-family: ${t.fontHeading}; font-weight: ${fontWeight('semibold')}; color: var(--impakt-color-text-heading, ${t.text}); text-wrap: balance; overflow-wrap: anywhere; }\n :host([size='m']) .heading { font-size: clamp(2.25rem, 1.2rem + 4cqi, 3.25rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 11.5em; }\n /* Display L sets a section title 680px wide at 64px, with a side lead or without (21:1080, 20:1160, 34:644). */\n :host([size='l']) .heading { font-size: clamp(2.5rem, 1.2rem + 5cqi, 4rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 10.625em; }\n /* Display XL: 120px on a 1080px column and 52px on a 350px phone column, line height 1 and -5% (9:303, 14:734). */\n :host([size='xl']) .heading { font-size: clamp(3.25rem, 1.2128rem + 9.315cqi, 7.5rem); line-height: var(--impakt-type-display-xl-line-height, 1); letter-spacing: var(--impakt-type-display-xl-tracking, -0.05em); }\n /* The lead in G2 Body M, 16px at 1.45, 24px under the heading and at most 480px wide (9:385). */\n .lead { margin: ${space(6)} 0 0; max-inline-size: 30rem; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n .side { display: grid; gap: ${space(6)}; justify-items: end; }\n /* Beside a picture in the aside, such as the journey button, the heading sits level with the middle of it. */\n :host([aside]) .body, .body.aside { align-items: center; }\n .side .lead { margin: 0; max-inline-size: 340px; inline-size: 340px; }\n .side:not(:has(.lead)) { align-self: center; }\n ::slotted([slot='aside']) { display: block; max-inline-size: 100%; }\n @container (max-width: 47.99rem) {\n /* On a phone the heading is 20px under the label row and the lead 16px under the heading (14:984, 14:804). */\n .body { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-block-start: ${space(5)}; }\n /* A row with a stage tag in it keeps 24px under it, as the 53px label row of 15:1058 does. */\n .top.tagged + .body { margin-block-start: ${space(6)}; }\n .main .lead { margin-block-start: ${space(4)}; }\n /* The side column takes room only for what it shows: a side lead 16px under the heading (14:986), an aside 24px under what is above it. An empty one, or an aside hidden on a phone, leaves no gap (15:1017, 15:1039, 15:940). */\n .side { justify-items: stretch; gap: 0; }\n .side .lead { inline-size: auto; max-inline-size: none; margin-block-start: ${space(4)}; }\n ::slotted([slot='aside']) { margin-block-start: ${space(6)}; }\n }\n /* Labels type in (impkt-web#51): the mono label types in as the section arrives. The heading and the lead, which are read, never move. */\n :host([data-motion]) .label { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const lead = html`<p class=\"lead\" part=\"lead\"><slot name=\"lead\">${this.lead}</slot></p>`;\n const showLead = Boolean(this.lead) || this.hasSlot('lead');\n const inner = html`<slot name=\"heading\">${this.heading}</slot>`;\n const heading = Number(this.level) === 1 ? html`<h1 class=\"heading\" part=\"heading\">${inner}</h1>` : html`<h2 class=\"heading\" part=\"heading\">${inner}</h2>`;\n const side = this.leadPosition === 'side';\n return html`<header part=\"head\">\n <div class=${this.stage || this.hasSlot('tag') ? 'top tagged' : 'top'}>\n ${this.label ? html`<p class=\"label\" part=\"label\"><span aria-hidden=\"true\"># </span>${this.label}</p>` : html`<span></span>`}\n <slot name=\"tag\" @slotchange=${() => this.requestUpdate()}>${this.stage ? html`<impakt-stage-tag stage=${this.stage} ?on-ink=${this.stageOnInk}></impakt-stage-tag>` : nothing}</slot>\n </div>\n <div class=${this.hasSlot('aside') ? 'body aside' : 'body'}>\n <div class=\"main\">${heading}${showLead && !side ? lead : nothing}</div>\n <div class=\"side\">${showLead && side ? lead : nothing}<slot name=\"aside\" @slotchange=${this.asideChanged}></slot></div>\n </div>\n </header>`;\n }\n\n /** The aside slot filled or emptied: keep `aside` in step, so the heading sits level with it. */\n private asideChanged(event: Event): void {\n this.aside = (event.target as HTMLSlotElement).assignedElements().length > 0;\n }\n\n /** Whether a child is in the named slot. On a server, where there are no children, only the attribute counts. */\n private hasSlot(name: string): boolean {\n const children = (this as unknown as { children?: HTMLCollection }).children;\n if (!children) return false;\n return Array.from(children).some((c) => c.getAttribute('slot') === name);\n }\n}\n\n/**\n * A service on the services grid: a number and a dot at the top, then at the\n * foot its name, a line about it, mono tags such as \"React Native · Expo\" and\n * \"Learn more\".\n *\n * **The card is one link.** The link is on the service's name, a heading, and\n * stretched over the card (2.4.4, 2.5.8). The number, dot and \"Learn more\"\n * line are decoration. Pointing at the card and focusing it look the same: it\n * turns to ink with paper words and the dot and \"Learn more\" in the accent,\n * which holds 4.5:1 on ink, and the focus ring is drawn round it (2.4.7).\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 forward, on hover or focus only; the\n * card drops 12px into place, once, as it is reached.\n *\n * `featured` draws a card inked all the time, as it is when pointed at, for\n * the one service a page picks out or a sheet that shows the state.\n *\n * Put cards in a four-column grid with a 10px gap. On a phone the words sit at\n * the top and the card is as tall as they are.\n *\n * @category content\n * @icon card\n */\nexport class ImpaktServiceCard extends ImpaktElement {\n static properties = {\n number: { type: String },\n heading: { type: String },\n text: { type: String },\n tags: { type: String },\n href: { type: String },\n linkText: { type: String, attribute: 'link-text' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n featured: { type: Boolean, reflect: true },\n };\n /** The number at the top, such as \"01\". */\n declare number: string;\n /** The service's name. */\n declare heading: string;\n /** A line about it. */\n declare text: string;\n /** What it uses or includes, such as \"React Native · Expo · Store launch\". Set in mono capitals. */\n declare tags: string;\n /** Where the card goes. Leave empty for a card that goes nowhere. */\n declare href: string;\n /** The line at the foot of a card that goes somewhere. */\n declare linkText: string;\n declare headingLevel: number;\n /** Draw the card inked, as when it is pointed at. */\n declare featured: boolean;\n\n constructor() {\n super();\n this.featured = false;\n this.number = '';\n this.heading = '';\n this.text = '';\n this.tags = '';\n this.href = '';\n this.linkText = 'Learn more';\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; block-size: 100%; }\n article { position: relative; isolation: isolate; box-sizing: border-box; block-size: 100%; min-block-size: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: ${space(6)}; padding: ${space(6)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; transition: color ${R.wipeDuration} ${R.wipeEasing}, border-color ${R.wipeDuration} ${R.wipeEasing}; }\n /* The ink a card 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 article::before { content: ''; position: absolute; inset: 0; z-index: -1; background: ${ink}; 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 article:has(a):hover::before, article:focus-within::before { opacity: 1; transform: none; }\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 /* Drop (impkt-web#51): the card drops 12px into place as its row is reached, after the one before it, and the line under it settles. */\n :host([data-motion]) article { animation: ik-reveal-drop ${R.drop} ${R.arrive} ${revealAt(0)} both, ik-reveal-settle ${R.drop} ${R.arrive} ${revealAt(0)} both; }\n .top { display: flex; align-items: center; justify-content: space-between; }\n /* The Service card component (8:358): the number in G2 Mono M, 13px with no tracking; the name, line, tags and link 10px apart. */\n .number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0; }\n .dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: currentColor; }\n .foot { display: grid; gap: ${space(2.5)}; }\n /* The frame sets whole-pixel lines (8:344): the name 28px at 24, the line 20px at 14 and the tags 15px at 11. */\n .heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight('semibold')}; line-height: 1.75rem; letter-spacing: -0.025em; }\n .heading a { color: inherit; text-decoration: none; }\n .heading a::after { content: ''; position: absolute; inset: 0; }\n .heading a:focus-visible { outline: none; }\n .heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }\n .text { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: ${t.textMuted}; }\n .tags { margin: 0; ${monoLabel}; line-height: 0.9375rem; font-weight: ${fontWeight('medium')}; color: ${t.textMuted}; }\n .more { ${monoLabel}; font-weight: ${fontWeight('medium')}; }\n article:has(a):hover, article:focus-within { color: ${paper}; border-color: ${ink}; }\n :host([featured]) article { background: ${ink}; color: ${paper}; border-color: ${ink}; }\n article:has(a):hover :is(.text, .tags), article:focus-within :is(.text, .tags), :host([featured]) :is(.text, .tags) { color: ${inkMuted}; }\n article:has(a):hover :is(.dot, .more), article:focus-within :is(.dot, .more), :host([featured]) :is(.dot, .more) { color: ${accentOnInk}; }\n @media (max-width: 47.99rem) { article { min-block-size: 0; justify-content: flex-start; } }\n @media (prefers-reduced-motion: reduce) { article, article::before, .go { transition: none; } }\n @media (forced-colors: active) { article { border-color: CanvasText; } .dot { background: CanvasText; } article::before { display: none; } }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const level = levelOf(this.headingLevel);\n return html`<article part=\"card\">\n <div class=\"top\" aria-hidden=\"true\">\n <span class=\"number\" part=\"number\">${this.number}</span>\n <span class=\"dot\" part=\"dot\"></span>\n </div>\n <div class=\"foot\">\n <div class=\"heading\" part=\"heading\" role=\"heading\" aria-level=${level}>\n ${this.href ? html`<a href=${this.href} part=\"link\">${this.heading}</a>` : this.heading}\n </div>\n ${this.text ? html`<p class=\"text\" part=\"text\">${this.text}</p>` : nothing}\n ${this.tags ? html`<p class=\"tags\" part=\"tags\">${this.tags}</p>` : nothing}\n ${this.href && this.linkText ? html`<span class=\"more\" part=\"more\" aria-hidden=\"true\">${this.linkText} <span class=\"go\">→</span></span>` : nothing}\n </div>\n </article>`;\n }\n}\n\n/**\n * A pointer with a name beside it, as if someone were working on the page with\n * you: the cursors round a hero's heading.\n *\n * The name is on ink, outlined, or on the accent. With `drift` it moves a few\n * pixels to and fro, slowly; it stays still for anyone who asks for less\n * motion (2.3.3), and it never moves more than 5 seconds without a way to stop\n * it mattering, because it carries nothing (2.2.2).\n *\n * **It is decoration**, hidden from a screen reader (1.3.1).\n *\n * @category media\n * @icon pointer\n */\nexport class ImpaktCursor extends ImpaktElement {\n static properties = {\n name: { type: String },\n variant: { type: String, reflect: true },\n drift: { type: Boolean, reflect: true },\n };\n /** The name beside the pointer, such as \"Client\". */\n declare name: string;\n /** How the name is drawn: on ink, outlined, or on the accent. */\n declare variant: 'ink' | 'outline' | 'accent';\n /** Move slowly to and fro. Still for anyone who asks for less motion. */\n declare drift: boolean;\n\n constructor() {\n super();\n this.name = '';\n this.variant = 'ink';\n this.drift = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; position: relative; pointer-events: none; }\n .cursor { display: inline-flex; align-items: flex-start; }\n svg { display: block; flex: none; }\n .arrow { fill: ${ink}; stroke: ${paper}; }\n .name { margin: 16px 0 0 -2px; padding: 4px 7px; ${monoLabel}; font-weight: ${fontWeight('medium')}; white-space: nowrap; background: ${ink}; color: ${paper}; border: 1px solid ${ink}; }\n :host([variant='outline']) .name { background: ${t.surfaceCard}; color: ${t.text}; border-color: ${t.text}; }\n :host([variant='accent']) .name { background: ${accent}; color: ${accentOn}; border-color: ${accentOn}; }\n :host([drift]) .cursor { animation: drift 7s ease-in-out infinite alternate; }\n @keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(6px, -3px); } 100% { transform: translate(-3px, 4px); } }\n @media (prefers-reduced-motion: reduce) { :host([drift]) .cursor { animation: none; } }\n @media (forced-colors: active) { .arrow { fill: CanvasText; stroke: Canvas; } .name { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n return html`<span class=\"cursor\" part=\"cursor\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 16 22\" width=\"16\" height=\"22\" focusable=\"false\"><path class=\"arrow\" d=\"M1.5 1.5v16.2l4.3-4.1 3 6.6 2.6-1.2-3-6.5h6z\" stroke-width=\"1.25\" stroke-linejoin=\"round\" /></svg>\n ${this.name ? html`<span class=\"name\" part=\"name\">${this.name}</span>` : nothing}\n </span>`;\n }\n}\n\n/**\n * A short note in handwriting, with an arrow if it points at something, such\n * as \"keep scrolling, this note becomes the real button.\"\n *\n * The face is `--impakt-font-family-hand` (Kalam in the G2 designs), and the\n * body face until a brand sets it. The note is real text and is read, unless\n * `decorative` is set because it repeats something said elsewhere (1.3.1).\n * The arrow is always decoration.\n *\n * @category content\n * @icon pen\n * @slot - The note, when it holds more than words. Replaces `text`.\n */\nexport class ImpaktHandNote extends ImpaktElement {\n static properties = {\n text: { type: String },\n arrow: { type: String, reflect: true },\n decorative: { type: Boolean, reflect: true },\n };\n /** The note. */\n declare text: string;\n /** Where an arrow points from the note. */\n declare arrow: 'none' | 'left' | 'right' | 'down' | 'up';\n /** Hide the note from a screen reader, when it repeats something said elsewhere. */\n declare decorative: boolean;\n\n constructor() {\n super();\n this.text = '';\n this.arrow = 'none';\n this.decorative = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; max-inline-size: 18rem; }\n .note { display: inline-flex; align-items: center; gap: ${space(2)}; }\n :host(:is([arrow='down'], [arrow='up'])) .note { flex-direction: column; align-items: flex-start; }\n :host(:is([arrow='left'], [arrow='up'])) svg { order: -1; }\n p { margin: 0; font-family: var(--impakt-font-family-hand, ${t.fontBody}); font-size: 1.25rem; line-height: 1.2; color: ${t.textMuted}; }\n svg { flex: none; color: ${t.textMuted}; }\n :host([arrow='left']) svg { transform: scaleX(-1); }\n :host([arrow='down']) svg { transform: rotate(90deg); }\n :host([arrow='up']) svg { transform: rotate(-90deg); }\n @media (forced-colors: active) { p, svg { color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const arrow =\n this.arrow && this.arrow !== 'none'\n ? html`<svg viewBox=\"0 0 40 24\" width=\"40\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M2 16c8-10 20-12 34-6M30 4l6 6-7 4\" /></svg>`\n : nothing;\n return html`<div class=\"note\" part=\"note\" aria-hidden=${this.decorative ? 'true' : nothing}><p part=\"text\"><slot>${this.text}</slot></p>${arrow}</div>`;\n }\n}\n\n/** One fact: a label and its value. */\nexport interface FactItem {\n /** What it is, such as \"Client\". Set in mono capitals. */\n label: string;\n /** The fact, such as \"Vehicle importer · UK → Cyprus\". */\n value: string;\n /** Make the value a link, such as `mailto:` for an email address. */\n href?: string;\n /** This value's size, in place of the block's. */\n size?: 'sm' | 'md' | 'lg' | 'xl';\n}\n\n/**\n * A few facts, each a mono label over its value: a case study's client, role,\n * platform and stack in four columns under an ink rule, or contact details\n * stacked with the email set large.\n *\n * A description list, so each value is read with its label (1.3.1). Columns\n * wrap to fit their width, so they stack on a phone (1.4.10).\n *\n * @category content\n * @icon list\n */\nexport class ImpaktFacts extends ImpaktElement {\n static properties = {\n items: { type: Array },\n layout: { type: String, reflect: true },\n size: { type: String, reflect: true },\n label: { type: String },\n };\n /** The facts, in order. */\n declare items: FactItem[];\n /** Side by side under a rule each, or stacked. */\n declare layout: 'columns' | 'stacked';\n /** The values' size: `sm` 16px on 1.45, the G2 facts' Body M and the default (21:1336, 34:627), `md` 18px, `lg` 24px, `xl` 32px. An item can set its own. */\n declare size: 'sm' | 'md' | 'lg' | 'xl';\n /** A name for the list, for a screen reader. Leave empty for none. */\n declare label: string;\n\n constructor() {\n super();\n this.items = [];\n this.layout = 'columns';\n this.size = 'sm';\n this.label = '';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n css`\n :host { display: block; color: ${t.text}; }\n /* Stacked, as the contact page's direct line (20:1163): 28px apart, each value 8px under its label. */\n dl { margin: 0; display: grid; gap: 28px; }\n /* In columns (21:1336, 34:627): each under an ink rule, the label 14px under it and the value 8px under the label, so a row of one line is 61px. */\n :host([layout='columns']) dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); column-gap: ${space(5)}; row-gap: ${space(6)}; }\n :host([layout='columns']) .fact { border-block-start: 1px solid ${t.text}; padding-block-start: 14px; }\n dt { ${monoLabel}; color: ${t.textMuted}; }\n dd { margin: ${space(2)} 0 0; font-family: ${t.fontBody}; line-height: 1.3; overflow-wrap: anywhere; }\n .sm { font-size: 1rem; line-height: 1.45; }\n .md { font-size: 1.125rem; }\n .lg { font-size: 1.5rem; letter-spacing: -0.01em; }\n .xl { font-size: clamp(1.5rem, 1rem + 2vw, 2rem); letter-spacing: -0.02em; }\n a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }\n a:hover { text-decoration-thickness: 2px; }\n /* Stacked, a value that is a link stands alone, so it is not underlined until it is pointed at or focused (20:1163). */\n :host([layout='stacked']) a { text-decoration: none; }\n :host([layout='stacked']) a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; }\n @media (forced-colors: active) { :host([layout='columns']) .fact { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.items.length) return html``;\n return html`<dl part=\"list\" aria-label=${this.label || nothing}>\n ${this.items.map(\n (item) => html`<div class=\"fact\" part=\"fact\">\n <dt part=\"label\">${item.label}</dt>\n <dd part=\"value\" class=${item.size ?? this.size}>${item.href ? html`<a href=${item.href}>${item.value}</a>` : item.value}</dd>\n </div>`,\n )}\n </dl>`;\n }\n}\n\n/** One row of a numbered list. */\nexport interface NumberedItem {\n heading: string;\n text?: string;\n}\n\n/**\n * A numbered list under an ink rule, each row split by a hairline: the number,\n * a heading and a line of quieter text in three columns. \"Three rules we don't\n * break\", the steps of a project, a tool's features.\n *\n * The columns are 60px, then the heading and the text 40px apart, split 520\n * to 420 as on a case study (`21:1389`). `split=\"text\"` gives the text the\n * wider share, 460 to 480, as the tools pages do (`34:714`).\n *\n * An ordered list, so a screen reader says how many rows there are and which\n * one this is, and the drawn numbers are hidden from it (1.3.1). Each heading\n * is at the level the page asks for. It stacks in a narrow column, measured\n * against its own width (1.4.10), and takes its colours from its band.\n *\n * @category content\n * @icon list-ordered\n */\nexport class ImpaktNumberedList extends ImpaktElement {\n static properties = {\n items: { type: Array },\n start: { type: Number },\n headingLevel: { type: Number, attribute: 'heading-level' },\n label: { type: String },\n split: { type: String, reflect: true },\n };\n declare items: NumberedItem[];\n /** How the heading and the text share the row: `heading` 520 to 420 (`21:1389`), `text` 460 to 480 (`34:714`). */\n declare split: 'heading' | 'text';\n /** The number the first row is given. */\n declare start: number;\n declare headingLevel: number;\n /** A name for the list, for a screen reader. Leave empty for none. */\n declare label: string;\n\n constructor() {\n super();\n this.items = [];\n this.start = 1;\n this.headingLevel = 3;\n this.label = '';\n this.split = 'heading';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; container-type: inline-size; color: ${t.text}; }\n ol { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid ${t.text}; }\n /* The Item of 21:1389 and 34:714: 24px above and below, the number in G2 Mono M, the heading in Display S at 1.1 and the text in Body M, so a row of one line is 84px. */\n li { display: grid; grid-template-columns: 60px minmax(0, 520fr) minmax(0, 420fr); column-gap: ${space(10)}; align-items: center; padding-block: ${space(6)}; border-block-end: 1px solid ${t.rule}; }\n :host([split='text']) li { grid-template-columns: 60px minmax(0, 460fr) minmax(0, 480fr); }\n .n { font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }\n .heading { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(1.5rem, 1rem + 2cqi, 2rem); font-weight: ${fontWeight('semibold')}; line-height: 1.1; letter-spacing: -0.03em; }\n .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n @container (max-width: 47.99rem) {\n li { grid-template-columns: minmax(0, 1fr); row-gap: ${space(2)}; }\n }\n @media (forced-colors: active) { ol { border-color: CanvasText; } li { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.items.length) return html``;\n const level = levelOf(this.headingLevel);\n const start = Number.isFinite(Number(this.start)) ? Number(this.start) : 1;\n return html`<ol part=\"list\" role=\"list\" start=${start} aria-label=${this.label || nothing}>\n ${this.items.map(\n (item, i) => html`<li part=\"item\">\n <span class=\"n\" aria-hidden=\"true\">${pad(start + i)}</span>\n <div class=\"heading\" role=\"heading\" aria-level=${level} part=\"heading\">${item.heading}</div>\n ${item.text ? html`<p class=\"text\" part=\"text\">${item.text}</p>` : html`<span></span>`}\n </li>`,\n )}\n </ol>`;\n }\n}\n\n/** One column of a column list. */\nexport interface ColumnListColumn {\n /** The column's heading, such as \"Design\". Set in mono capitals. */\n heading: string;\n /** What is in it, each a line set large. */\n items: string[];\n}\n\n/**\n * What a studio does, in four columns: each under an ink rule, with a mono\n * heading such as \"Engineering\" and a stack of what it covers set large. The\n * items are words, not links.\n *\n * Each column's heading is a heading at the level the page asks for, and its\n * items a list (1.3.1). The columns wrap to fit their width (1.4.10).\n *\n * @category content\n * @icon columns\n */\nexport class ImpaktColumnList extends ImpaktElement {\n static properties = {\n columns: { type: Array },\n headingLevel: { type: Number, attribute: 'heading-level' },\n };\n declare columns: ColumnListColumn[];\n declare headingLevel: number;\n\n constructor() {\n super();\n this.columns = [];\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; color: ${t.text}; }\n .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: ${space(8)} ${space(5)}; }\n section { border-block-start: 1px solid ${t.text}; padding-block-start: ${space(4)}; }\n .heading { margin: 0; ${monoLabel}; color: ${t.textMuted}; }\n ul { margin: ${space(3)} 0 0; padding: 0; list-style: none; display: grid; gap: ${space(2)}; }\n li { font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight('semibold')}; line-height: 1.2; letter-spacing: -0.02em; }\n @media (forced-colors: active) { section { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.columns.length) return html``;\n const level = levelOf(this.headingLevel);\n return html`<div class=\"grid\" part=\"grid\">\n ${this.columns.map(\n (col) => html`<section part=\"column\">\n <div class=\"heading\" role=\"heading\" aria-level=${level} part=\"heading\">${col.heading}</div>\n <ul role=\"list\" part=\"list\">${(col.items ?? []).map((item) => html`<li part=\"item\">${item}</li>`)}</ul>\n </section>`,\n )}\n </div>`;\n }\n}\n\n/**\n * An office: a mono line with its time zone and hours, its name set large, the\n * region under it and a line about it, on a white card with an ink border. An\n * accent tag at the top right can say how its hours meet another office's,\n * such as \"+2h · same working day\".\n *\n * The name is a heading at the level the page asks for (1.3.1). The tag is\n * text and is read; on a narrow card it moves above the name (1.4.10).\n *\n * @category content\n * @icon map-pin\n */\nexport class ImpaktOfficeCard extends ImpaktElement {\n static properties = {\n hours: { type: String },\n name: { type: String },\n region: { type: String },\n text: { type: String },\n tag: { type: String },\n headingLevel: { type: Number, attribute: 'heading-level' },\n };\n /** The time zone and hours, such as \"GMT · Mon–Fri 9–18\". */\n declare hours: string;\n /** The office, such as \"UK\". */\n declare name: string;\n /** Where it is, such as \"United Kingdom\". */\n declare region: string;\n /** A line about it. */\n declare text: string;\n /** An accent tag at the top right, such as \"+2h · same working day\". Leave empty for none. */\n declare tag: string;\n declare headingLevel: number;\n\n constructor() {\n super();\n this.hours = '';\n this.name = '';\n this.region = '';\n this.text = '';\n this.tag = '';\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; block-size: 100%; container-type: inline-size; }\n /* The office of 21:1201: 32px inside and its parts 12px apart, the region in Label L (16px on 1.2) and the line in Body M (16px on 1.45). */\n article { box-sizing: border-box; block-size: 100%; display: grid; align-content: start; gap: 12px; padding: ${space(8)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; }\n .top { display: flex; flex-wrap: wrap-reverse; justify-content: space-between; align-items: center; gap: ${space(2)}; }\n .hours { margin: 0; ${monoLabel}; color: ${t.textMuted}; }\n .tag { margin: 0; padding: 3px 6px; ${monoLabel}; font-weight: ${fontWeight('medium')}; background: ${accent}; color: ${accentOn}; }\n .name { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 1rem + 10cqi, 4rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }\n .region { margin: 0; font-size: 1rem; line-height: 1.2; }\n .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n @container (max-width: 22rem) { article { padding: ${space(5)}; } }\n @media (forced-colors: active) { article { border-color: CanvasText; } .tag { border: 1px solid CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const level = levelOf(this.headingLevel);\n return html`<article part=\"card\">\n ${\n this.hours || this.tag\n ? html`<div class=\"top\">${this.hours ? html`<p class=\"hours\" part=\"hours\">${this.hours}</p>` : html`<span></span>`}${this.tag ? html`<p class=\"tag\" part=\"tag\">${this.tag}</p>` : nothing}</div>`\n : nothing\n }\n <div class=\"name\" role=\"heading\" aria-level=${level} part=\"name\">${this.name}</div>\n ${this.region ? html`<p class=\"region\" part=\"region\">${this.region}</p>` : nothing}\n ${this.text ? html`<p class=\"text\" part=\"text\">${this.text}</p>` : nothing}\n </article>`;\n }\n}\n\ncustomElements.define('impakt-stage-tag', ImpaktStageTag);\ncustomElements.define('impakt-section-head', ImpaktSectionHead);\ncustomElements.define('impakt-service-card', ImpaktServiceCard);\ncustomElements.define('impakt-cursor', ImpaktCursor);\ncustomElements.define('impakt-hand-note', ImpaktHandNote);\ncustomElements.define('impakt-facts', ImpaktFacts);\ncustomElements.define('impakt-numbered-list', ImpaktNumberedList);\ncustomElements.define('impakt-column-list', ImpaktColumnList);\ncustomElements.define('impakt-office-card', ImpaktOfficeCard);\ndeclare global {\n interface HTMLElementTagNameMap {\n 'impakt-stage-tag': ImpaktStageTag;\n 'impakt-section-head': ImpaktSectionHead;\n 'impakt-service-card': ImpaktServiceCard;\n 'impakt-cursor': ImpaktCursor;\n 'impakt-hand-note': ImpaktHandNote;\n 'impakt-facts': ImpaktFacts;\n 'impakt-numbered-list': ImpaktNumberedList;\n 'impakt-column-list': ImpaktColumnList;\n 'impakt-office-card': ImpaktOfficeCard;\n }\n}\n"],"mappings":";;;;;;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,2DACtB,MAAM,CAAC,CAAC;AAAA;AAAA;AAAA,IAGjE;AAAA;AAAA,EAEA,SAAyB;AACvB,UAAM,QAAQ,QAAQ,KAAK,YAAY;AACvC,WAAO;AAAA,QAEH,KAAK,SAAS,KAAK,MACf,wBAAwB,KAAK,QAAQ,qCAAqC,KAAK,KAAK,SAAS,mBAAmB,GAAG,KAAK,MAAM,iCAAiC,KAAK,GAAG,SAAS,OAAO,WACvL,OACN;AAAA,oDAC8C,KAAK,gBAAgB,KAAK,IAAI;AAAA,QAC1E,KAAK,SAAS,uCAAuC,KAAK,MAAM,SAAS,OAAO;AAAA,QAChF,KAAK,OAAO,mCAAmC,KAAK,IAAI,SAAS,OAAO;AAAA;AAAA,EAE9E;AACF;AAEA,eAAe,OAAO,oBAAoB,cAAc;AACxD,eAAe,OAAO,uBAAuB,iBAAiB;AAC9D,eAAe,OAAO,uBAAuB,iBAAiB;AAC9D,eAAe,OAAO,iBAAiB,YAAY;AACnD,eAAe,OAAO,oBAAoB,cAAc;AACxD,eAAe,OAAO,gBAAgB,WAAW;AACjD,eAAe,OAAO,wBAAwB,kBAAkB;AAChE,eAAe,OAAO,sBAAsB,gBAAgB;AAC5D,eAAe,OAAO,sBAAsB,gBAAgB;","names":[]}
@@ -444,7 +444,8 @@ var ImpaktSteps = class extends ImpaktElement {
444
444
  :host([look='ruled']:not([tones])) li { padding-block-start: ${space(4)}; }
445
445
  :host([look='ruled']:not([tones])) .meta { font-size: 0.6875rem; font-weight: ${fontWeight("medium")}; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
446
446
  :host([look='ruled']:not([tones])) .h { font-size: 1.25rem; font-weight: ${fontWeight("medium")}; line-height: 1.2; letter-spacing: -0.01em; }
447
- :host([look='ruled']:not([tones])) .body { font-size: 0.875rem; line-height: 1.4; }
447
+ /* The text sets 20px lines at 14px, as the frame lays them out (10:515), so a four-line step is 80px of text. */
448
+ :host([look='ruled']:not([tones])) .body { font-size: 0.875rem; line-height: 1.25rem; }
448
449
  :host([look='ruled']:not([tones])) .meta::before { content: counter(step, decimal-leading-zero) ' · '; }
449
450
  :host([look='ruled']:not([tones])) li[aria-current] { --rule: var(--impakt-steps-current, currentColor); border-block-start-width: 2px; padding-block-start: calc(${space(4)} - 1px); }
450
451
  :host([look='ruled']:not([tones])) li[aria-current] .meta { color: var(--impakt-steps-current, currentColor); }
@@ -779,4 +780,4 @@ export {
779
780
  ImpaktReviews,
780
781
  ImpaktNewsletter
781
782
  };
782
- //# sourceMappingURL=chunk-MMADM6OW.js.map
783
+ //# sourceMappingURL=chunk-ZM2HLQOG.js.map