@atelic-action/ui 7.1.0 → 8.0.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 (105) hide show
  1. package/README.md +313 -127
  2. package/package.json +14 -10
  3. package/src/app/ErrorFallback.tsx +6 -2
  4. package/src/app/context/AppContext.tsx +10 -1
  5. package/src/app/index.ts +0 -1
  6. package/src/app/layout/AppPage.tsx +36 -7
  7. package/src/app/layout/DesktopRail.tsx +9 -2
  8. package/src/app/layout/MobileMenu.tsx +5 -1
  9. package/src/app/layout/PageError.tsx +6 -3
  10. package/src/app/layout/PageSkeleton.tsx +33 -26
  11. package/src/app/layout/UserMenu.tsx +12 -6
  12. package/src/app/ui/alert.tsx +41 -11
  13. package/src/app/ui/badge.tsx +1 -1
  14. package/src/app/ui/button.tsx +2 -1
  15. package/src/app/ui/command.tsx +86 -21
  16. package/src/app/ui/country-dropdown.tsx +26 -47
  17. package/src/app/ui/form.tsx +46 -7
  18. package/src/app/ui/pagination.tsx +1 -1
  19. package/src/app/ui/progress.tsx +26 -12
  20. package/src/app/ui/search-input.tsx +16 -3
  21. package/src/app/ui/select.tsx +8 -3
  22. package/src/app/ui/slider.tsx +62 -15
  23. package/src/artifact/ArtifactShell.tsx +8 -3
  24. package/src/artifact/ErrorFallback.tsx +8 -1
  25. package/src/artifact/artifactConfig.ts +1 -1
  26. package/src/chrome/BrandLockup.tsx +71 -16
  27. package/src/chrome/ClosingBar.tsx +8 -5
  28. package/src/chrome/ContactDock.tsx +329 -0
  29. package/src/chrome/Footer.tsx +32 -9
  30. package/src/chrome/NavBadge.tsx +8 -0
  31. package/src/chrome/NavMegaPanel.tsx +388 -0
  32. package/src/chrome/SiteHeader.tsx +235 -18
  33. package/src/chrome/SiteMenu.tsx +197 -19
  34. package/src/chrome/SiteShell.tsx +130 -13
  35. package/src/chrome/StickyCTABar.tsx +56 -2
  36. package/src/chrome/brandMark.ts +56 -0
  37. package/src/chrome/icons.ts +58 -0
  38. package/src/chrome/index.ts +16 -0
  39. package/src/chrome/navSections.ts +55 -0
  40. package/src/components/ColumnChart.tsx +27 -2
  41. package/src/components/DataTable.tsx +104 -85
  42. package/src/components/Disclosure.tsx +3 -1
  43. package/src/components/Hint.tsx +3 -24
  44. package/src/components/NotFound.tsx +4 -1
  45. package/src/components/StarRating.tsx +45 -19
  46. package/src/components/ThresholdScale.tsx +36 -26
  47. package/src/email/atoms.tsx +13 -57
  48. package/src/email/frame.tsx +4 -6
  49. package/src/email/index.ts +4 -10
  50. package/src/email/scoreboard.tsx +107 -186
  51. package/src/email/text.ts +30 -0
  52. package/src/email/theme.tsx +76 -9
  53. package/src/hooks/useDismiss.ts +39 -0
  54. package/src/lib/useScrollsSideways.ts +26 -0
  55. package/src/primitives/Button.tsx +2 -0
  56. package/src/primitives/ProseBlocks.tsx +6 -1
  57. package/src/primitives/SectionHeading.tsx +3 -1
  58. package/src/primitives/StarRow.tsx +23 -8
  59. package/src/sections/BlogIndex.tsx +17 -3
  60. package/src/sections/BlogPost.tsx +10 -1
  61. package/src/sections/CTASection.tsx +2 -2
  62. package/src/sections/CalloutPanel.tsx +34 -0
  63. package/src/sections/ComparisonTable.tsx +23 -2
  64. package/src/sections/ContactForm.tsx +61 -17
  65. package/src/sections/FAQBrowser.tsx +11 -2
  66. package/src/sections/FeatureGrid.tsx +6 -2
  67. package/src/sections/FullBleedVideo.tsx +158 -0
  68. package/src/sections/Gallery.tsx +6 -4
  69. package/src/sections/Hero.tsx +63 -39
  70. package/src/sections/JumpRail.tsx +7 -0
  71. package/src/sections/LegalPage.tsx +10 -2
  72. package/src/sections/LinkColumns.tsx +64 -0
  73. package/src/sections/LocationSection.tsx +28 -5
  74. package/src/sections/Locations.tsx +17 -4
  75. package/src/sections/LogoMarquee.tsx +43 -11
  76. package/src/sections/MapEmbed.tsx +13 -9
  77. package/src/sections/PageHero.tsx +16 -2
  78. package/src/sections/ProcessSteps.tsx +27 -4
  79. package/src/sections/ProfileCards.tsx +12 -2
  80. package/src/sections/ProofStrip.tsx +44 -0
  81. package/src/sections/RevealSlider.tsx +28 -7
  82. package/src/sections/ReviewCarousel.tsx +17 -4
  83. package/src/sections/ReviewWall.tsx +2 -2
  84. package/src/sections/SplitSection.tsx +2 -1
  85. package/src/sections/index.ts +15 -6
  86. package/src/sections/siteConfig.ts +66 -3
  87. package/src/styles/app.css +24 -2
  88. package/src/styles/artifact.css +20 -8
  89. package/src/styles/base.css +42 -13
  90. package/src/styles/chrome.css +938 -48
  91. package/src/styles/components.css +104 -65
  92. package/src/styles/defaults.css +137 -0
  93. package/src/styles/gate.css +21 -10
  94. package/src/styles/primitives.css +97 -35
  95. package/src/styles/sections.css +477 -437
  96. package/src/styles/star-rating.css +1 -4
  97. package/src/tokens/palettes.ts +24 -4
  98. package/src/types.ts +212 -2
  99. package/src/app/CardErrorBoundary.tsx +0 -39
  100. package/src/sections/CTABanner.tsx +0 -93
  101. package/src/sections/DeviceShowcase.tsx +0 -39
  102. package/src/sections/MediaBand.tsx +0 -20
  103. package/src/sections/MenuList.tsx +0 -44
  104. package/src/sections/PressQuotes.tsx +0 -51
  105. package/src/sections/SocialStrip.tsx +0 -83
@@ -1,3 +1,4 @@
1
+ @import "./defaults.css";
1
2
  /* =================================================================
2
3
  @atelic-action/ui CHROME: the skip link, the brand lockup, the
3
4
  header, the menu, the sticky CTA bar, the footer, and the closing
@@ -12,7 +13,7 @@
12
13
  left: -9999px;
13
14
  top: 0;
14
15
  background: var(--ink);
15
- color: #fff;
16
+ color: var(--on-dark);
16
17
  padding: 12px 18px;
17
18
  z-index: 200;
18
19
  border-radius: 0 0 8px 0;
@@ -48,12 +49,20 @@
48
49
  border-radius: 8px;
49
50
  background: var(--surface-dark);
50
51
  color: var(--surface);
51
- font-weight: 600;
52
+ font-weight: var(--weight-semibold);
52
53
  font-size: 1.05rem;
53
54
  line-height: 1;
54
55
  position: relative;
55
56
  flex: none;
56
57
  }
58
+ /* The letter is drawn here from data-glyph, so it is never text in the
59
+ lockup's link (BrandLockup, LogoTile), with empty alternative text where
60
+ the browser supports it. */
61
+ .atelic-ui .logo-tile::before {
62
+ content: attr(data-glyph);
63
+ /* biome-ignore lint/suspicious/noDuplicateProperties: the first is the fallback for a browser without alternative text */
64
+ content: attr(data-glyph) / "";
65
+ }
57
66
  .atelic-ui .logo-tile::after {
58
67
  content: "";
59
68
  position: absolute;
@@ -103,20 +112,40 @@
103
112
  align-items: center;
104
113
  gap: 10px;
105
114
  font-family: var(--font-brand);
106
- font-weight: 800;
115
+ font-weight: var(--weight-heavy);
107
116
  letter-spacing: -0.02em;
108
117
  font-size: 1.02rem;
118
+ /* The brand's name never breaks inside a word: the root's anywhere
119
+ (defaults.css, Long words) would let a crowded bar squeeze the wordmark
120
+ letter by letter. It still wraps at its spaces. */
121
+ overflow-wrap: normal;
109
122
  }
123
+ /* The mark stands at the theme's mark height and runs as wide as its own
124
+ ratio, so a wide wordmark reads at a height the theme picks. */
110
125
  .atelic-ui .nav-logo .mark {
111
- height: 30px;
112
- width: 30px;
126
+ display: block;
127
+ height: var(--brand-mark-height);
128
+ width: auto;
129
+ flex: none;
130
+ }
131
+ /* A mark cut per surface: the light bar shows the one for a light ground,
132
+ a dark or transparent bar the one for a dark ground. Neither is ever
133
+ recolored. */
134
+ .atelic-ui .nav-logo .mark.is-on-dark,
135
+ .atelic-ui .nav.is-transparent .nav-logo .mark.is-on-light,
136
+ .atelic-ui .nav.nav-dark .nav-logo .mark.is-on-light {
137
+ display: none;
138
+ }
139
+ .atelic-ui .nav.is-transparent .nav-logo .mark.is-on-dark,
140
+ .atelic-ui .nav.nav-dark .nav-logo .mark.is-on-dark {
141
+ display: block;
113
142
  }
114
143
  /* The recipient half of a sent artifact's lockup (BrandLockup: recipient):
115
144
  a quiet times sign in the mono face, then the business's mark at
116
145
  wordmark height. */
117
146
  .atelic-ui .nav-logo .nav-x {
118
147
  font-family: var(--font-mono);
119
- font-weight: 400;
148
+ font-weight: var(--weight-regular);
120
149
  font-size: 0.9rem;
121
150
  color: color-mix(in srgb, currentColor 55%, transparent);
122
151
  margin: 0 2px;
@@ -124,7 +153,7 @@
124
153
  .atelic-ui .nav-logo .nav-recipient {
125
154
  /* Matches the sender's mark, so a square recipient mark reads at the
126
155
  same size as the sender's would; a wide wordmark simply runs longer. */
127
- height: 30px;
156
+ height: var(--brand-mark-height);
128
157
  width: auto;
129
158
  display: block;
130
159
  }
@@ -133,20 +162,35 @@
133
162
  align-items: center;
134
163
  gap: 4px;
135
164
  }
136
- .atelic-ui .nav-links a {
165
+ /* The bar's own entries only: a direct link or a group's control, never a
166
+ link inside an open panel, which keeps its own styling (rule 7). */
167
+ .atelic-ui .nav-links > a,
168
+ .atelic-ui .nav-links .nav-group-btn {
137
169
  padding: 8px 14px;
138
170
  border-radius: var(--radius-pill);
139
- font-weight: 600;
171
+ font-weight: var(--weight-semibold);
140
172
  font-size: 0.95rem;
141
173
  transition:
142
174
  background 0.15s,
143
175
  color 0.15s;
144
176
  }
145
- .atelic-ui .nav-links a:hover {
146
- background: rgba(33, 28, 23, 0.06);
147
- }
148
- /* A page's own stops: the scroll spied active one. */
149
- .atelic-ui .nav-links a.active {
177
+ .atelic-ui .nav-links > a:hover,
178
+ .atelic-ui .nav-links .nav-group-btn:hover,
179
+ .atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
180
+ background: var(--hover-tint);
181
+ }
182
+ /* The entry for where the reader is: a page's scroll spied stop, the
183
+ page being read, or the group holding it. Words on the bar's surface,
184
+ so they read --primary-ink; over a hero the transparent bar keeps the
185
+ plain primary, since no surface sits behind it. */
186
+ .atelic-ui .nav-links > a.active,
187
+ .atelic-ui .nav-links > a[aria-current="page"],
188
+ .atelic-ui .nav-links .nav-group-btn.is-current {
189
+ color: var(--primary-ink, var(--primary));
190
+ }
191
+ .atelic-ui .nav.is-transparent .nav-links > a.active,
192
+ .atelic-ui .nav.is-transparent .nav-links > a[aria-current="page"],
193
+ .atelic-ui .nav.is-transparent .nav-links .nav-group-btn.is-current {
150
194
  color: var(--primary);
151
195
  }
152
196
  /* Desktop only, and hidden until the bar is solid: on small screens the
@@ -156,6 +200,7 @@
156
200
  that hid the button itself. */
157
201
  .atelic-ui .nav .nav-cta {
158
202
  display: none;
203
+ white-space: nowrap;
159
204
  }
160
205
  .atelic-ui .nav-burger {
161
206
  display: inline-flex;
@@ -172,15 +217,24 @@
172
217
  transform 0.25s,
173
218
  opacity 0.2s;
174
219
  }
175
- /* A white logo image is tinted to ink when the bar is solid on light. */
176
- .atelic-ui .nav.is-solid .nav-logo .mark {
220
+ /* A mark drawn on a surface it was not cut for is flattened to that
221
+ surface's silhouette (resolveMark): to ink on the light bar (a single
222
+ light mark, logo.src, as before, or a dark only cut), and to white on a
223
+ dark one (a light only cut). A cut drawn on its own surface is never
224
+ touched. The tint follows the bar's own state, so a lockup drawn outside
225
+ a header (a story's row, a page's own band) shows its artwork as given. */
226
+ .atelic-ui .nav.is-solid:not(.nav-dark) .nav-logo .mark.is-tinted {
177
227
  filter: brightness(0) saturate(1);
178
228
  }
229
+ .atelic-ui :is(.nav.is-transparent, .nav.nav-dark) .nav-logo .mark.is-tinted-light,
230
+ .atelic-ui .footer-brand img.is-tinted-light {
231
+ filter: brightness(0) invert(1);
232
+ }
179
233
  .atelic-ui .nav.is-transparent {
180
- color: #fff;
234
+ color: var(--on-dark);
181
235
  }
182
236
  .atelic-ui .nav.is-transparent .nav-logo .wordmark {
183
- color: #fff;
237
+ color: var(--on-dark);
184
238
  }
185
239
  .atelic-ui .nav.is-solid {
186
240
  background: color-mix(in srgb, var(--surface) 86%, transparent);
@@ -195,15 +249,16 @@
195
249
  .atelic-ui .nav.is-solid.nav-dark {
196
250
  background: color-mix(in srgb, var(--surface-dark) 88%, transparent);
197
251
  box-shadow: 0 1px 0 color-mix(in srgb, var(--surface) 12%, transparent);
198
- color: color-mix(in srgb, var(--surface) 96%, white);
252
+ color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
199
253
  }
200
- .atelic-ui .nav.nav-dark .nav-logo .mark {
201
- filter: none;
254
+ .atelic-ui .nav.nav-dark .nav-links > a:hover,
255
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn:hover,
256
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn[aria-expanded="true"] {
257
+ background: color-mix(in srgb, var(--on-dark) 8%, transparent);
202
258
  }
203
- .atelic-ui .nav.nav-dark .nav-links a:hover {
204
- background: rgba(255, 255, 255, 0.08);
205
- }
206
- .atelic-ui .nav.nav-dark .nav-links a.active {
259
+ .atelic-ui .nav.nav-dark .nav-links > a.active,
260
+ .atelic-ui .nav.nav-dark .nav-links > a[aria-current="page"],
261
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn.is-current {
207
262
  color: var(--primary-bright);
208
263
  }
209
264
  @media (min-width: 900px) {
@@ -217,6 +272,528 @@
217
272
  display: inline-flex;
218
273
  }
219
274
  }
275
+ /* ---- Header: groups, the mega menu, and the numbers ----
276
+ A bar holding nav groups or numbers (.is-wide) needs more room, so the
277
+ burger keeps the phone and tablet widths up to 1180px and the bar's
278
+ entries show from there. A plain bar keeps the 900px step above. */
279
+ .atelic-ui .nav-item {
280
+ display: flex;
281
+ }
282
+ .atelic-ui .nav-links .nav-group-btn {
283
+ display: inline-flex;
284
+ align-items: center;
285
+ gap: 6px;
286
+ white-space: nowrap;
287
+ }
288
+ .atelic-ui .nav-group-btn .nav-chevron {
289
+ flex: none;
290
+ opacity: 0.7;
291
+ transition: transform 0.2s ease;
292
+ }
293
+ .atelic-ui .nav-group-btn[aria-expanded="true"] .nav-chevron {
294
+ transform: rotate(180deg);
295
+ opacity: 1;
296
+ }
297
+ .atelic-ui .nav-links > a:focus-visible,
298
+ .atelic-ui .nav-group-btn:focus-visible,
299
+ .atelic-ui .nav-mega a:not(.btn):focus-visible,
300
+ .atelic-ui .nav-phone:focus-visible,
301
+ .atelic-ui .nav-call:focus-visible {
302
+ outline: 2px solid var(--primary);
303
+ outline-offset: 2px;
304
+ }
305
+ /* The feature card's button sits on the primary field, so its ring is the
306
+ page surface. */
307
+ .atelic-ui .nav-feature-cta:focus-visible {
308
+ outline: 2px solid var(--surface);
309
+ outline-offset: 2px;
310
+ }
311
+ /* The panel hangs from the bar itself: the item is never a positioned
312
+ box, so the fixed header is the panel's containing block, and the card
313
+ is held to the page's wrap, the bar's own content width, whatever the
314
+ panel holds. The padding above the card is the pointer's bridge from
315
+ the control down into the panel. */
316
+ .atelic-ui .nav-mega {
317
+ display: none;
318
+ position: absolute;
319
+ left: 0;
320
+ right: 0;
321
+ top: 100%;
322
+ padding: 10px var(--gutter) 0;
323
+ color: var(--ink);
324
+ max-height: calc(100vh - var(--nav-height));
325
+ overflow-y: auto;
326
+ }
327
+ .atelic-ui .nav-mega.is-open {
328
+ display: block;
329
+ }
330
+ .atelic-ui .nav-mega-card {
331
+ box-sizing: border-box;
332
+ width: 100%;
333
+ max-width: calc(var(--max-width) - 2 * var(--gutter));
334
+ margin-inline: auto;
335
+ display: flex;
336
+ align-items: stretch;
337
+ gap: 32px;
338
+ padding: 36px 40px;
339
+ background: var(--card);
340
+ border: 1px solid var(--hairline-strong);
341
+ border-radius: var(--radius-lg);
342
+ box-shadow: var(--shadow-lg, var(--shadow-md));
343
+ }
344
+ .atelic-ui .nav-mega-body {
345
+ flex: 1;
346
+ min-width: 0;
347
+ display: flex;
348
+ flex-direction: column;
349
+ gap: 12px;
350
+ }
351
+ /* The link to the group's own page reads as one more link, at a column
352
+ link's weight, never a heading over the panel. */
353
+ .atelic-ui .nav-mega-all {
354
+ align-self: flex-start;
355
+ font-size: 1.0625rem;
356
+ font-weight: var(--weight-semibold);
357
+ line-height: 1.3;
358
+ color: var(--ink);
359
+ }
360
+ .atelic-ui .nav-mega-all:hover {
361
+ color: var(--primary-ink, var(--primary));
362
+ }
363
+ /* Every panel opens to the same height, the feature card's, so moving
364
+ along the bar never makes the panel jump. */
365
+ /* The sections share the row, and wrap to a second one when their least
366
+ widths outrun it (a picture, icon rows, and cards beside a feature card
367
+ at a narrow desktop), so none is squeezed past reading or pushed out of
368
+ the card. A section's least width matters only once the row is full, so
369
+ a wide panel lays out exactly as before. */
370
+ .atelic-ui .nav-mega-sections {
371
+ flex: 1;
372
+ display: flex;
373
+ flex-wrap: wrap;
374
+ gap: 28px 32px;
375
+ align-items: stretch;
376
+ min-height: 440px;
377
+ }
378
+ .atelic-ui .nav-mega-sec {
379
+ min-width: 0;
380
+ display: flex;
381
+ flex-direction: column;
382
+ }
383
+ .atelic-ui .nav-mega-sec.is-links {
384
+ flex: 1 1 0;
385
+ min-width: 120px;
386
+ }
387
+ .atelic-ui .nav-mega-sec.is-rows {
388
+ flex: 2.4 1 0;
389
+ min-width: min(320px, 100%);
390
+ }
391
+ .atelic-ui .nav-mega-head {
392
+ display: block;
393
+ margin: 0 0 12px;
394
+ font-family: var(--font-mono);
395
+ font-size: 0.75rem;
396
+ font-weight: var(--weight-medium);
397
+ letter-spacing: 0.1em;
398
+ text-transform: uppercase;
399
+ color: var(--neutral-600);
400
+ }
401
+ .atelic-ui a.nav-mega-head:hover {
402
+ color: var(--primary-ink, var(--primary));
403
+ }
404
+ .atelic-ui .nav-mega-link {
405
+ display: flex;
406
+ flex-direction: column;
407
+ gap: 2px;
408
+ padding: 9px 0;
409
+ color: var(--ink);
410
+ }
411
+ .atelic-ui .nav-mega-label {
412
+ display: flex;
413
+ align-items: center;
414
+ gap: 10px;
415
+ font-weight: var(--weight-semibold);
416
+ font-size: 1.0625rem;
417
+ line-height: 1.3;
418
+ }
419
+ .atelic-ui .nav-mega-desc {
420
+ font-size: 0.86rem;
421
+ line-height: 1.35;
422
+ color: var(--ink-soft);
423
+ }
424
+ .atelic-ui .nav-mega-link:hover .nav-mega-label,
425
+ .atelic-ui .nav-mega-link[aria-current="page"] .nav-mega-label,
426
+ .atelic-ui a.nav-mega-head[aria-current="page"],
427
+ .atelic-ui .nav-mega-all[aria-current="page"] {
428
+ color: var(--primary-ink, var(--primary));
429
+ }
430
+ /* A link's children sit indented under it, each joined to the parent's
431
+ line by an elbow. */
432
+ .atelic-ui .nav-mega-sub {
433
+ position: relative;
434
+ display: flex;
435
+ align-items: center;
436
+ gap: 10px;
437
+ padding: 7px 0 7px 34px;
438
+ font-size: 0.97rem;
439
+ line-height: 1.35;
440
+ color: var(--ink-soft);
441
+ }
442
+ .atelic-ui .nav-mega-sub::before {
443
+ content: "";
444
+ position: absolute;
445
+ left: 10px;
446
+ top: 0;
447
+ width: 12px;
448
+ height: 52%;
449
+ border-left: 1.5px solid var(--neutral-200);
450
+ border-bottom: 1.5px solid var(--neutral-200);
451
+ border-bottom-left-radius: 6px;
452
+ }
453
+ .atelic-ui .nav-mega-sub:hover,
454
+ .atelic-ui .nav-mega-sub[aria-current="page"] {
455
+ color: var(--primary-ink, var(--primary));
456
+ }
457
+ .atelic-ui .nav-mega-badge {
458
+ flex: none;
459
+ padding: 3px 9px;
460
+ border-radius: var(--radius-pill);
461
+ background: var(--primary-fill, var(--primary));
462
+ color: var(--on-primary);
463
+ font-family: var(--font-mono);
464
+ font-size: 0.66rem;
465
+ font-weight: var(--weight-semibold);
466
+ letter-spacing: 0.08em;
467
+ line-height: 1.3;
468
+ text-transform: uppercase;
469
+ }
470
+ /* A picture: the photo fills the section, its caption over a wash at the
471
+ foot, the whole of it one link. */
472
+ .atelic-ui .nav-mega-sec.is-picture {
473
+ position: relative;
474
+ flex: 0.85 1 0;
475
+ min-width: min(220px, 100%);
476
+ justify-content: flex-end;
477
+ overflow: hidden;
478
+ border-radius: var(--radius-md);
479
+ background: var(--primary-deep);
480
+ }
481
+ .atelic-ui .nav-mega-picture {
482
+ position: absolute;
483
+ inset: 0;
484
+ width: 100%;
485
+ height: 100%;
486
+ object-fit: cover;
487
+ }
488
+ .atelic-ui .nav-mega-caption {
489
+ position: relative;
490
+ padding: 64px 20px 20px;
491
+ background: linear-gradient(transparent, color-mix(in srgb, var(--shade) 78%, transparent));
492
+ color: var(--on-dark);
493
+ font-size: 1.25rem;
494
+ font-weight: var(--weight-bold);
495
+ line-height: 1.2;
496
+ text-wrap: balance;
497
+ }
498
+ /* Icon rows, two across, one of them set on the primary when it leads. */
499
+ .atelic-ui .nav-mega-rows {
500
+ display: grid;
501
+ grid-template-columns: repeat(2, minmax(0, 1fr));
502
+ gap: 4px 16px;
503
+ align-content: start;
504
+ }
505
+ .atelic-ui .nav-mega-row {
506
+ display: flex;
507
+ align-items: center;
508
+ gap: 14px;
509
+ padding: 12px;
510
+ border-radius: var(--radius-md);
511
+ color: var(--ink);
512
+ }
513
+ .atelic-ui .nav-mega-row:hover {
514
+ background: var(--surface-alt);
515
+ }
516
+ .atelic-ui .nav-mega-row-icon {
517
+ flex: none;
518
+ width: 44px;
519
+ height: 44px;
520
+ display: grid;
521
+ place-items: center;
522
+ border-radius: 12px;
523
+ background: var(--surface-alt);
524
+ color: var(--ink-soft);
525
+ }
526
+ .atelic-ui .nav-mega-row-text {
527
+ flex: 1;
528
+ min-width: 0;
529
+ display: flex;
530
+ flex-direction: column;
531
+ }
532
+ .atelic-ui .nav-mega-row-label {
533
+ font-size: 1.0625rem;
534
+ font-weight: var(--weight-semibold);
535
+ line-height: 1.3;
536
+ }
537
+ .atelic-ui .nav-mega-row-desc {
538
+ font-size: 0.9rem;
539
+ line-height: 1.35;
540
+ color: var(--ink-soft);
541
+ }
542
+ .atelic-ui .nav-mega-row-go {
543
+ flex: none;
544
+ color: var(--neutral-500);
545
+ }
546
+ .atelic-ui .nav-mega-row[aria-current="page"] .nav-mega-row-label {
547
+ color: var(--primary-ink, var(--primary));
548
+ }
549
+ .atelic-ui .nav-mega-row.is-highlight {
550
+ background: var(--primary-fill, var(--primary));
551
+ color: var(--on-primary);
552
+ }
553
+ .atelic-ui .nav-mega-row.is-highlight:hover {
554
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 84%, var(--shade));
555
+ }
556
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-label {
557
+ color: var(--on-primary);
558
+ }
559
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-icon {
560
+ background: color-mix(in srgb, var(--on-primary) 18%, transparent);
561
+ color: var(--on-primary);
562
+ }
563
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-desc,
564
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-go {
565
+ color: var(--on-primary);
566
+ }
567
+ /* Small cards, set off from the sections before them by a rule. */
568
+ .atelic-ui .nav-mega-sec.is-cards {
569
+ flex: 1 1 0;
570
+ min-width: min(240px, 100%);
571
+ padding-left: 32px;
572
+ border-left: 1px solid var(--neutral-100);
573
+ }
574
+ .atelic-ui .nav-mega-cards {
575
+ display: flex;
576
+ flex-direction: column;
577
+ gap: 12px;
578
+ }
579
+ .atelic-ui .nav-mega-card-link {
580
+ display: flex;
581
+ align-items: center;
582
+ gap: 14px;
583
+ padding: 10px;
584
+ border: 1px solid var(--neutral-100);
585
+ border-radius: var(--radius-md);
586
+ color: var(--ink);
587
+ }
588
+ .atelic-ui .nav-mega-card-link:hover {
589
+ border-color: var(--neutral-300);
590
+ }
591
+ .atelic-ui .nav-mega-thumb {
592
+ flex: none;
593
+ width: 84px;
594
+ height: 84px;
595
+ border-radius: 10px;
596
+ object-fit: cover;
597
+ background: var(--surface-alt);
598
+ }
599
+ .atelic-ui .nav-mega-card-text {
600
+ min-width: 0;
601
+ display: flex;
602
+ flex-direction: column;
603
+ gap: 2px;
604
+ }
605
+ .atelic-ui .nav-mega-kicker {
606
+ font-family: var(--font-mono);
607
+ font-size: 0.66rem;
608
+ font-weight: var(--weight-medium);
609
+ letter-spacing: 0.08em;
610
+ text-transform: uppercase;
611
+ color: var(--neutral-600);
612
+ }
613
+ .atelic-ui .nav-mega-card-title {
614
+ margin-top: 2px;
615
+ font-size: 1rem;
616
+ font-weight: var(--weight-bold);
617
+ line-height: 1.25;
618
+ }
619
+ .atelic-ui .nav-mega-meta {
620
+ font-size: 0.84rem;
621
+ color: var(--ink-soft);
622
+ }
623
+ /* A card leading to the page being read: its rule in the primary, its
624
+ title in the primary's ink. */
625
+ .atelic-ui .nav-mega-card-link[aria-current="page"] {
626
+ border-color: var(--primary);
627
+ }
628
+ .atelic-ui .nav-mega-card-link[aria-current="page"] .nav-mega-card-title {
629
+ color: var(--primary-ink, var(--primary));
630
+ }
631
+ /* The feature card: one size in every group, the picture taking the
632
+ height the words leave, so the button lands in the same place each
633
+ time. */
634
+ .atelic-ui .nav-feature {
635
+ flex: none;
636
+ width: 340px;
637
+ min-height: 440px;
638
+ display: flex;
639
+ flex-direction: column;
640
+ overflow: hidden;
641
+ border-radius: var(--radius-md);
642
+ background: var(--primary-deep);
643
+ color: var(--on-primary);
644
+ }
645
+ .atelic-ui .nav-feature-img {
646
+ flex: 1 1 0;
647
+ min-height: 0;
648
+ width: 100%;
649
+ object-fit: cover;
650
+ }
651
+ .atelic-ui .nav-feature-body {
652
+ flex: none;
653
+ margin-top: auto;
654
+ display: flex;
655
+ flex-direction: column;
656
+ gap: 10px;
657
+ padding: 20px 22px 22px;
658
+ }
659
+ .atelic-ui .nav-feature-eyebrow {
660
+ font-family: var(--font-mono);
661
+ font-size: 0.72rem;
662
+ font-weight: var(--weight-medium);
663
+ letter-spacing: 0.1em;
664
+ text-transform: uppercase;
665
+ /* The bright primary on the card's deep primary is under 2 to 1. */
666
+ color: var(--on-primary);
667
+ }
668
+ .atelic-ui .nav-feature-title {
669
+ font-size: 1.3rem;
670
+ font-weight: var(--weight-bold);
671
+ line-height: 1.2;
672
+ letter-spacing: -0.01em;
673
+ text-wrap: balance;
674
+ }
675
+ .atelic-ui .nav-feature-text {
676
+ font-size: 0.95rem;
677
+ line-height: 1.45;
678
+ color: var(--on-primary);
679
+ }
680
+ /* The ticked points: the tick bare and the words both in the card's own
681
+ words color, since the bright primary all but vanishes on the deep
682
+ primary. */
683
+ .atelic-ui .nav-feature .nav-feature-points {
684
+ gap: 7px;
685
+ margin-top: 2px;
686
+ font-size: 0.94rem;
687
+ line-height: 1.4;
688
+ }
689
+ .atelic-ui .nav-feature .nav-feature-points li {
690
+ gap: 10px;
691
+ color: var(--on-primary);
692
+ }
693
+ .atelic-ui .nav-feature .nav-feature-points .tick {
694
+ width: 16px;
695
+ height: 16px;
696
+ margin-top: 3px;
697
+ background: none;
698
+ box-shadow: none;
699
+ color: var(--on-primary);
700
+ }
701
+ .atelic-ui .nav-feature-cta {
702
+ margin-top: 8px;
703
+ width: 100%;
704
+ }
705
+ /* The numbers: up to two tel links in the bar on a desktop, and the first
706
+ as a round call button beside the burger below. */
707
+ .atelic-ui .nav-phones {
708
+ display: none;
709
+ gap: 8px;
710
+ }
711
+ .atelic-ui .nav-phone {
712
+ display: inline-flex;
713
+ align-items: center;
714
+ gap: 8px;
715
+ padding: 6px 16px 6px 12px;
716
+ border-radius: var(--radius-pill);
717
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
718
+ white-space: nowrap;
719
+ transition: box-shadow 0.15s ease;
720
+ }
721
+ .atelic-ui .nav-phone:hover {
722
+ box-shadow: inset 0 0 0 1.5px currentColor;
723
+ }
724
+ .atelic-ui .nav-phone svg {
725
+ flex: none;
726
+ }
727
+ .atelic-ui .nav-phone-text {
728
+ display: flex;
729
+ flex-direction: column;
730
+ line-height: 1.15;
731
+ }
732
+ .atelic-ui .nav-phone-label {
733
+ font-family: var(--font-mono);
734
+ font-size: 0.64rem;
735
+ letter-spacing: 0.08em;
736
+ text-transform: uppercase;
737
+ opacity: 0.72;
738
+ }
739
+ .atelic-ui .nav-phone-number {
740
+ font-weight: var(--weight-bold);
741
+ font-size: 0.95rem;
742
+ }
743
+ .atelic-ui .nav-call {
744
+ display: inline-flex;
745
+ align-items: center;
746
+ justify-content: center;
747
+ width: 44px;
748
+ height: 44px;
749
+ flex: none;
750
+ border-radius: 50%;
751
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
752
+ }
753
+ .atelic-ui .nav.is-wide .nav-inner {
754
+ justify-content: flex-start;
755
+ }
756
+ .atelic-ui .nav.is-wide .nav-logo {
757
+ margin-right: auto;
758
+ }
759
+ @media (min-width: 900px) and (max-width: 1179px) {
760
+ .atelic-ui .nav.is-wide .nav-links {
761
+ display: none;
762
+ }
763
+ .atelic-ui .nav.is-wide .nav-burger {
764
+ display: inline-flex;
765
+ }
766
+ }
767
+ /* The second number waits for the room to hold it; the menu lists both. */
768
+ .atelic-ui .nav-phone + .nav-phone {
769
+ display: none;
770
+ }
771
+ @media (min-width: 1360px) {
772
+ .atelic-ui .nav-phone + .nav-phone {
773
+ display: inline-flex;
774
+ }
775
+ }
776
+ @media (min-width: 1180px) {
777
+ .atelic-ui .nav.is-wide .nav-logo {
778
+ margin-right: 8px;
779
+ }
780
+ .atelic-ui .nav.is-wide .nav-links {
781
+ flex: 1;
782
+ }
783
+ .atelic-ui .nav-phones {
784
+ display: flex;
785
+ }
786
+ .atelic-ui .nav-call {
787
+ display: none;
788
+ }
789
+ }
790
+ @media (prefers-reduced-motion: reduce) {
791
+ .atelic-ui .nav-group-btn .nav-chevron,
792
+ .atelic-ui .mobile-menu .mm-chevron {
793
+ transition: none;
794
+ }
795
+ }
796
+
220
797
  /* The burger folds into an X while the menu is open. State lives on the
221
798
  button's own aria-expanded, so no extra class plumbing. */
222
799
  .atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(1) {
@@ -296,10 +873,10 @@
296
873
  keeps its standard button styling. */
297
874
  .atelic-ui .mobile-menu .mm-link {
298
875
  font-size: 1.8rem;
299
- font-weight: 800;
876
+ font-weight: var(--weight-heavy);
300
877
  letter-spacing: -0.02em;
301
878
  padding: 14px 0;
302
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
879
+ border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
303
880
  display: flex;
304
881
  justify-content: space-between;
305
882
  align-items: center;
@@ -308,7 +885,7 @@
308
885
  font-family: var(--font-mono);
309
886
  font-size: 0.8rem;
310
887
  color: var(--primary-bright);
311
- font-weight: 500;
888
+ font-weight: var(--weight-medium);
312
889
  }
313
890
  .atelic-ui .mobile-menu .mm-cta {
314
891
  margin-top: 28px;
@@ -328,6 +905,103 @@
328
905
  text-decoration: none;
329
906
  }
330
907
 
908
+ /* A group in the menu is an accordion: its control is an entry like the
909
+ rest, and its links open under it. The rule above the group carries the
910
+ hairline, so the control drops its own. */
911
+ .atelic-ui .mobile-menu .mm-group {
912
+ border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
913
+ }
914
+ .atelic-ui .mobile-menu .mm-group-btn {
915
+ width: 100%;
916
+ border-bottom: 0;
917
+ text-align: left;
918
+ }
919
+ .atelic-ui .mobile-menu .mm-chevron {
920
+ flex: none;
921
+ color: var(--primary-bright);
922
+ transition: transform 0.2s ease;
923
+ }
924
+ .atelic-ui .mobile-menu .mm-group-btn[aria-expanded="true"] .mm-chevron {
925
+ transform: rotate(180deg);
926
+ }
927
+ .atelic-ui .mobile-menu .mm-group-panel {
928
+ display: none;
929
+ flex-direction: column;
930
+ gap: 16px;
931
+ padding: 0 0 20px;
932
+ }
933
+ .atelic-ui .mobile-menu .mm-group-panel.is-open {
934
+ display: flex;
935
+ }
936
+ .atelic-ui .mobile-menu .mm-group-all {
937
+ font-weight: var(--weight-bold);
938
+ font-size: 1.1rem;
939
+ color: var(--primary-bright);
940
+ }
941
+ .atelic-ui .mobile-menu .mm-group-col {
942
+ display: flex;
943
+ flex-direction: column;
944
+ }
945
+ .atelic-ui .mobile-menu .mm-group-head {
946
+ margin: 0 0 4px;
947
+ font-family: var(--font-mono);
948
+ font-size: 0.74rem;
949
+ letter-spacing: 0.1em;
950
+ text-transform: uppercase;
951
+ color: var(--neutral-300);
952
+ }
953
+ .atelic-ui .mobile-menu .mm-group-link {
954
+ padding: 9px 0;
955
+ font-size: 1.12rem;
956
+ font-weight: var(--weight-semibold);
957
+ }
958
+ .atelic-ui .mobile-menu .mm-group-link[aria-current="page"],
959
+ .atelic-ui .mobile-menu .mm-group-sub[aria-current="page"] {
960
+ color: var(--primary-bright);
961
+ }
962
+ .atelic-ui .mobile-menu .mm-group-link,
963
+ .atelic-ui .mobile-menu .mm-group-sub {
964
+ display: flex;
965
+ align-items: center;
966
+ gap: 10px;
967
+ }
968
+ .atelic-ui .mobile-menu .mm-group-item {
969
+ display: flex;
970
+ flex-direction: column;
971
+ }
972
+ /* A link's children sit indented under it, joined by the same elbow the
973
+ desktop panel draws. */
974
+ .atelic-ui .mobile-menu .mm-group-sub {
975
+ position: relative;
976
+ padding: 8px 0 8px 30px;
977
+ font-size: 1rem;
978
+ color: color-mix(in srgb, var(--surface) 78%, transparent);
979
+ }
980
+ .atelic-ui .mobile-menu .mm-group-sub::before {
981
+ content: "";
982
+ position: absolute;
983
+ left: 8px;
984
+ top: 0;
985
+ width: 12px;
986
+ height: 52%;
987
+ border-left: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
988
+ border-bottom: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
989
+ border-bottom-left-radius: 6px;
990
+ }
991
+ .atelic-ui .mobile-menu .mm-badge {
992
+ flex: none;
993
+ padding: 3px 9px;
994
+ border-radius: var(--radius-pill);
995
+ background: var(--primary-fill, var(--primary));
996
+ color: var(--on-primary);
997
+ font-family: var(--font-mono);
998
+ font-size: 0.66rem;
999
+ font-weight: var(--weight-semibold);
1000
+ letter-spacing: 0.08em;
1001
+ line-height: 1.3;
1002
+ text-transform: uppercase;
1003
+ }
1004
+
331
1005
  /* ---- Sticky CTA bar (phones only) ---- */
332
1006
  .atelic-ui .sticky-cta {
333
1007
  position: fixed;
@@ -360,6 +1034,209 @@
360
1034
  }
361
1035
  }
362
1036
 
1037
+ /* ---- Contact dock ----
1038
+ The corner launcher and its panel. The dock sets its own right and
1039
+ bottom inline as it tracks the sticky bar and the footer; these are the
1040
+ first paint's. On a phone the launcher is its icon and the panel a
1041
+ sheet across the bottom. */
1042
+ .atelic-ui .contact-dock {
1043
+ position: fixed;
1044
+ right: 24px;
1045
+ bottom: 24px;
1046
+ z-index: 96;
1047
+ display: flex;
1048
+ flex-direction: column;
1049
+ align-items: flex-end;
1050
+ gap: 12px;
1051
+ }
1052
+ /* Positioned, so it paints over the phone's sheet, which is fixed. */
1053
+ .atelic-ui .cd-launch {
1054
+ position: relative;
1055
+ display: inline-flex;
1056
+ align-items: center;
1057
+ gap: 10px;
1058
+ height: 52px;
1059
+ padding: 0 20px 0 16px;
1060
+ border-radius: var(--radius-pill);
1061
+ background: var(--primary-fill, var(--primary));
1062
+ color: var(--on-primary);
1063
+ font-weight: var(--weight-semibold);
1064
+ /* A ring of the page surface keeps the button apart from a band of its
1065
+ own color behind it, such as a primary footer. */
1066
+ box-shadow:
1067
+ 0 0 0 2px var(--surface),
1068
+ var(--shadow-md);
1069
+ transition: background 0.2s ease;
1070
+ }
1071
+ .atelic-ui .cd-launch:hover {
1072
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 84%, var(--shade));
1073
+ }
1074
+ .atelic-ui .cd-launch:active {
1075
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 74%, var(--shade));
1076
+ }
1077
+ .atelic-ui .cd-launch:focus-visible,
1078
+ .atelic-ui .cd-item:focus-visible {
1079
+ outline: 2px solid var(--primary);
1080
+ outline-offset: 2px;
1081
+ }
1082
+ .atelic-ui .cd-panel {
1083
+ width: min(380px, calc(100vw - 32px));
1084
+ max-height: min(620px, calc(100vh - 100px));
1085
+ display: flex;
1086
+ flex-direction: column;
1087
+ overflow: hidden;
1088
+ background: var(--card);
1089
+ color: var(--ink);
1090
+ border: 1px solid var(--hairline-strong);
1091
+ border-radius: var(--radius-lg);
1092
+ box-shadow: var(--shadow-lg, var(--shadow-md));
1093
+ }
1094
+ .atelic-ui .cd-panel[hidden] {
1095
+ display: none;
1096
+ }
1097
+ .atelic-ui .cd-head {
1098
+ display: flex;
1099
+ align-items: flex-start;
1100
+ gap: 8px;
1101
+ padding: 16px 12px 16px 18px;
1102
+ background: var(--primary-fill, var(--primary));
1103
+ color: var(--on-primary);
1104
+ }
1105
+ .atelic-ui .cd-head-text {
1106
+ flex: 1;
1107
+ min-width: 0;
1108
+ }
1109
+ .atelic-ui .cd-close {
1110
+ flex: none;
1111
+ width: 40px;
1112
+ height: 40px;
1113
+ display: grid;
1114
+ place-items: center;
1115
+ border-radius: 50%;
1116
+ color: var(--on-primary);
1117
+ }
1118
+ .atelic-ui .cd-close:hover {
1119
+ background: color-mix(in srgb, var(--on-primary) 14%, transparent);
1120
+ }
1121
+ .atelic-ui .cd-close:focus-visible {
1122
+ outline: 2px solid var(--on-primary);
1123
+ outline-offset: -2px;
1124
+ }
1125
+ .atelic-ui .cd-panel .cd-title {
1126
+ font-family: var(--font-sans);
1127
+ font-size: 1.15rem;
1128
+ font-weight: var(--weight-bold);
1129
+ letter-spacing: 0;
1130
+ line-height: 1.2;
1131
+ color: var(--on-primary);
1132
+ }
1133
+ .atelic-ui .cd-sub {
1134
+ margin-top: 2px;
1135
+ font-size: 0.92rem;
1136
+ line-height: 1.35;
1137
+ color: var(--on-primary);
1138
+ }
1139
+ .atelic-ui .cd-items {
1140
+ display: flex;
1141
+ flex-direction: column;
1142
+ gap: 2px;
1143
+ padding: 8px;
1144
+ overflow-y: auto;
1145
+ }
1146
+ .atelic-ui .cd-item {
1147
+ width: 100%;
1148
+ display: flex;
1149
+ align-items: center;
1150
+ gap: 14px;
1151
+ padding: 12px;
1152
+ border-radius: var(--radius-md);
1153
+ color: var(--ink);
1154
+ text-align: left;
1155
+ }
1156
+ .atelic-ui .cd-item:hover,
1157
+ .atelic-ui .cd-item.is-lead {
1158
+ background: var(--primary-tint, var(--surface-alt));
1159
+ }
1160
+ .atelic-ui .cd-item-icon {
1161
+ flex: none;
1162
+ width: 42px;
1163
+ height: 42px;
1164
+ display: grid;
1165
+ place-items: center;
1166
+ border-radius: 50%;
1167
+ background: var(--card);
1168
+ color: var(--primary);
1169
+ border: 1px solid var(--hairline-strong);
1170
+ }
1171
+ .atelic-ui .cd-item.is-lead .cd-item-icon {
1172
+ background: var(--primary-fill, var(--primary));
1173
+ border-color: var(--primary-fill, var(--primary));
1174
+ color: var(--on-primary);
1175
+ }
1176
+ .atelic-ui .cd-item-text {
1177
+ flex: 1;
1178
+ min-width: 0;
1179
+ display: flex;
1180
+ flex-direction: column;
1181
+ }
1182
+ .atelic-ui .cd-item-label {
1183
+ font-weight: var(--weight-bold);
1184
+ line-height: 1.25;
1185
+ }
1186
+ .atelic-ui .cd-item-desc {
1187
+ font-size: 0.9rem;
1188
+ line-height: 1.35;
1189
+ color: var(--ink-soft);
1190
+ }
1191
+ .atelic-ui .cd-item-go {
1192
+ flex: none;
1193
+ color: var(--neutral-600);
1194
+ }
1195
+ .atelic-ui .cd-foot {
1196
+ padding: 12px 20px 14px;
1197
+ border-top: 1px solid var(--hairline);
1198
+ font-size: 0.86rem;
1199
+ color: var(--ink-soft);
1200
+ }
1201
+ @media (max-width: 899px) {
1202
+ /* The phone's corner, before (or without) any tracking. */
1203
+ .atelic-ui .contact-dock {
1204
+ right: 16px;
1205
+ bottom: 16px;
1206
+ }
1207
+ .atelic-ui .cd-launch {
1208
+ width: 52px;
1209
+ padding: 0;
1210
+ justify-content: center;
1211
+ }
1212
+ .atelic-ui .cd-launch-text {
1213
+ position: absolute;
1214
+ width: 1px;
1215
+ height: 1px;
1216
+ overflow: hidden;
1217
+ clip-path: inset(50%);
1218
+ white-space: nowrap;
1219
+ }
1220
+ /* The sheet leaves room at its foot for the launcher, which floats
1221
+ over it as the close button. */
1222
+ .atelic-ui .cd-panel {
1223
+ position: fixed;
1224
+ left: 0;
1225
+ right: 0;
1226
+ bottom: 0;
1227
+ width: auto;
1228
+ max-height: 86vh;
1229
+ padding-bottom: 72px;
1230
+ border-width: 1px 0 0;
1231
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
1232
+ }
1233
+ }
1234
+ @media (prefers-reduced-motion: reduce) {
1235
+ .atelic-ui .cd-launch {
1236
+ transition: none;
1237
+ }
1238
+ }
1239
+
363
1240
  /* ---- Footer ---- */
364
1241
  .atelic-ui .footer {
365
1242
  background: var(--surface-dark);
@@ -368,7 +1245,7 @@
368
1245
  }
369
1246
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .footer, so it never meets the header's link rules */
370
1247
  .atelic-ui .footer a:hover {
371
- color: #fff;
1248
+ color: var(--on-dark);
372
1249
  }
373
1250
  /* One grid: the brand column, then the link columns, however many the
374
1251
  footer was given. A phone stacks the brand column over two across. */
@@ -380,14 +1257,19 @@
380
1257
  .atelic-ui .footer-brand {
381
1258
  grid-column: 1 / -1;
382
1259
  }
383
- .atelic-ui .footer h4 {
384
- color: #fff;
1260
+ /* A column's heading is a div with the heading role (Footer.tsx says
1261
+ why), so it carries the whole of its look here, the line height and
1262
+ the balance an h2 took from base.css included. */
1263
+ .atelic-ui .footer .footer-heading {
1264
+ color: var(--on-dark);
385
1265
  font-family: var(--font-mono);
386
1266
  font-size: 0.84rem;
1267
+ line-height: 1.04;
387
1268
  letter-spacing: 0.1em;
388
1269
  text-transform: uppercase;
389
- font-weight: 700;
390
- margin-bottom: 14px;
1270
+ text-wrap: balance;
1271
+ font-weight: var(--weight-bold);
1272
+ margin: 0 0 14px;
391
1273
  }
392
1274
  .atelic-ui .footer-brand img {
393
1275
  height: 38px;
@@ -397,14 +1279,16 @@
397
1279
  display: flex;
398
1280
  align-items: center;
399
1281
  gap: 10px;
400
- color: #fff;
401
- font-weight: 500;
1282
+ color: var(--on-dark);
1283
+ font-weight: var(--weight-medium);
402
1284
  margin-bottom: 10px;
403
1285
  }
1286
+ /* The stars read --star-fill, the token StarRating's filled star reads, so
1287
+ one line in a theme recolors both; the review gold is the fallback. */
404
1288
  .atelic-ui .footer-stars {
405
1289
  display: inline-flex;
406
1290
  gap: 2px;
407
- color: #f5b301;
1291
+ color: var(--star-fill, var(--review-gold));
408
1292
  }
409
1293
  .atelic-ui .footer nav a {
410
1294
  display: flex;
@@ -412,7 +1296,7 @@
412
1296
  gap: 10px;
413
1297
  padding: 6px 0;
414
1298
  color: var(--neutral-200);
415
- font-weight: 500;
1299
+ font-weight: var(--weight-medium);
416
1300
  }
417
1301
  .atelic-ui .footer nav a svg {
418
1302
  flex: none;
@@ -426,8 +1310,8 @@
426
1310
  color: var(--neutral-200);
427
1311
  }
428
1312
  .atelic-ui .footer .nap a {
429
- color: #fff;
430
- font-weight: 600;
1313
+ color: var(--on-dark);
1314
+ font-weight: var(--weight-semibold);
431
1315
  }
432
1316
  .atelic-ui .footer-grid > * {
433
1317
  overflow-wrap: anywhere;
@@ -447,24 +1331,30 @@
447
1331
  }
448
1332
  /* Text wordmark for a site with no mark image. */
449
1333
  .atelic-ui .footer-wordmark {
450
- color: #fff;
1334
+ color: var(--on-dark);
451
1335
  font-size: 1.3rem;
452
- font-weight: 600;
1336
+ font-weight: var(--weight-semibold);
453
1337
  letter-spacing: -0.045em;
454
1338
  margin-bottom: 18px;
455
1339
  }
456
1340
 
457
1341
  /* ---- Closing bar ---- */
458
- /* The developer credit below the footer: its own full width band, centered,
459
- small, and muted. Purely token themed (the hairline and hover lift derive
460
- from --surface through color-mix), so it rebrands with theme.css on any
461
- page it renders under, light or dark. */
1342
+ /* The line that closes every page, below the footer or after a document's
1343
+ sign off: its own full width band, small and muted, the copyright on the
1344
+ left and the credit on the right, or the one side centered when it stands
1345
+ alone. Token themed: the hairline and hover lift derive from --surface
1346
+ through color-mix and the words read --on-dark-faint, so it rebrands
1347
+ with theme.css on any page it renders under, light or dark. */
462
1348
  .atelic-ui .closing-bar {
463
1349
  background: var(--surface-dark);
464
1350
  border-top: 1px solid color-mix(in srgb, var(--surface) 10%, transparent);
465
- color: var(--neutral-500);
1351
+ color: var(--on-dark-faint);
466
1352
  font-size: 0.82rem;
467
1353
  padding-block: 18px;
1354
+ /* While the phone's sticky bar shows, SiteShell sets its measured
1355
+ height here, so the copyright and the credit clear it. The room sits
1356
+ below everything, so nothing on screen moves when it appears. */
1357
+ padding-bottom: calc(18px + var(--sticky-cta-space, 0px));
468
1358
  }
469
1359
  .atelic-ui .closing-bar-line {
470
1360
  display: flex;
@@ -486,10 +1376,10 @@
486
1376
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the footer's link rules */
487
1377
  .atelic-ui .closing-bar a {
488
1378
  color: var(--neutral-300);
489
- font-weight: 500;
1379
+ font-weight: var(--weight-medium);
490
1380
  }
491
1381
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
492
1382
  .atelic-ui .closing-bar a:hover {
493
- color: color-mix(in srgb, var(--surface) 96%, white);
1383
+ color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
494
1384
  }
495
1385
  }