@atelic-action/ui 7.2.0 → 8.1.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 (131) hide show
  1. package/README.md +439 -132
  2. package/bin/atelic-check-sentry.ts +5 -0
  3. package/dist/gate/middleware.js +15 -1
  4. package/dist/monitoring/server.d.ts +72 -0
  5. package/dist/monitoring/server.js +201 -0
  6. package/dist/vite/index.d.ts +1 -1
  7. package/dist/vite/index.js +1 -1
  8. package/dist/vite/marketing-config.d.ts +28 -1
  9. package/dist/vite/marketing-config.js +62 -0
  10. package/package.json +23 -11
  11. package/src/app/ErrorFallback.tsx +6 -2
  12. package/src/app/context/AppContext.tsx +10 -1
  13. package/src/app/index.ts +0 -1
  14. package/src/app/layout/AppPage.tsx +36 -7
  15. package/src/app/layout/DesktopRail.tsx +15 -6
  16. package/src/app/layout/MobileMenu.tsx +14 -5
  17. package/src/app/layout/MobileTabBar.tsx +3 -2
  18. package/src/app/layout/PageError.tsx +7 -4
  19. package/src/app/layout/PageSkeleton.tsx +33 -26
  20. package/src/app/layout/SectionCards.tsx +7 -2
  21. package/src/app/layout/UserMenu.tsx +13 -7
  22. package/src/app/ui/alert.tsx +42 -12
  23. package/src/app/ui/badge.tsx +1 -1
  24. package/src/app/ui/button.tsx +2 -1
  25. package/src/app/ui/command.tsx +86 -21
  26. package/src/app/ui/country-dropdown.tsx +26 -47
  27. package/src/app/ui/form.tsx +48 -9
  28. package/src/app/ui/pagination.tsx +1 -1
  29. package/src/app/ui/progress.tsx +26 -12
  30. package/src/app/ui/search-input.tsx +16 -3
  31. package/src/app/ui/select.tsx +8 -3
  32. package/src/app/ui/slider.tsx +62 -15
  33. package/src/artifact/AppErrorBoundary.tsx +12 -7
  34. package/src/artifact/ArtifactShell.tsx +5 -1
  35. package/src/artifact/ErrorFallback.tsx +8 -1
  36. package/src/artifact/artifactConfig.ts +1 -1
  37. package/src/chrome/BrandLockup.tsx +102 -17
  38. package/src/chrome/ClosingBar.tsx +5 -3
  39. package/src/chrome/ContactDock.tsx +361 -0
  40. package/src/chrome/Footer.tsx +126 -31
  41. package/src/chrome/NavBadge.tsx +8 -0
  42. package/src/chrome/NavMegaPanel.tsx +399 -0
  43. package/src/chrome/SiteHeader.tsx +268 -23
  44. package/src/chrome/SiteMenu.tsx +200 -19
  45. package/src/chrome/SiteShell.tsx +151 -14
  46. package/src/chrome/StickyCTABar.tsx +60 -2
  47. package/src/chrome/brandMark.ts +56 -0
  48. package/src/chrome/icons.ts +58 -0
  49. package/src/chrome/index.ts +16 -0
  50. package/src/chrome/navSections.ts +55 -0
  51. package/src/components/ColumnChart.tsx +27 -2
  52. package/src/components/DataTable.tsx +104 -85
  53. package/src/components/Disclosure.tsx +3 -1
  54. package/src/components/Hint.tsx +3 -24
  55. package/src/components/NotFound.tsx +7 -3
  56. package/src/components/StarRating.tsx +45 -19
  57. package/src/components/ThresholdScale.tsx +36 -26
  58. package/src/email/atoms.tsx +13 -57
  59. package/src/email/frame.tsx +4 -6
  60. package/src/email/index.ts +4 -10
  61. package/src/email/scoreboard.tsx +107 -186
  62. package/src/email/text.ts +30 -0
  63. package/src/email/theme.tsx +76 -9
  64. package/src/gate/middleware.ts +15 -1
  65. package/src/hooks/useDismiss.ts +39 -0
  66. package/src/lib/emailText.tsx +26 -0
  67. package/src/lib/phoneText.tsx +40 -0
  68. package/src/lib/useScrollsSideways.ts +26 -0
  69. package/src/monitoring/ErrorCatcherScript.tsx +15 -0
  70. package/src/monitoring/catcher.ts +118 -0
  71. package/src/monitoring/index.ts +25 -0
  72. package/src/monitoring/sdk.ts +112 -0
  73. package/src/monitoring/server.ts +244 -0
  74. package/src/monitoring/start.ts +118 -0
  75. package/src/primitives/Button.tsx +5 -1
  76. package/src/primitives/Eyebrow.tsx +6 -2
  77. package/src/primitives/ProseBlocks.tsx +6 -1
  78. package/src/primitives/SectionHeading.tsx +3 -1
  79. package/src/primitives/StarRow.tsx +23 -8
  80. package/src/routing/index.ts +1 -0
  81. package/src/routing/miss.ts +32 -0
  82. package/src/scripts/check-sentry.ts +77 -0
  83. package/src/sections/BlogIndex.tsx +17 -3
  84. package/src/sections/BlogPost.tsx +10 -1
  85. package/src/sections/CTASection.tsx +2 -2
  86. package/src/sections/CalloutPanel.tsx +34 -0
  87. package/src/sections/ComparisonTable.tsx +23 -2
  88. package/src/sections/ContactForm.tsx +61 -17
  89. package/src/sections/FAQBrowser.tsx +11 -2
  90. package/src/sections/FeatureGrid.tsx +6 -2
  91. package/src/sections/FullBleedVideo.tsx +167 -0
  92. package/src/sections/Gallery.tsx +6 -4
  93. package/src/sections/Hero.tsx +70 -39
  94. package/src/sections/JumpRail.tsx +7 -0
  95. package/src/sections/LegalPage.tsx +10 -2
  96. package/src/sections/LinkColumns.tsx +80 -0
  97. package/src/sections/LocationSection.tsx +28 -5
  98. package/src/sections/Locations.tsx +18 -5
  99. package/src/sections/LogoMarquee.tsx +43 -11
  100. package/src/sections/MapEmbed.tsx +13 -9
  101. package/src/sections/PageHero.tsx +16 -2
  102. package/src/sections/ProcessSteps.tsx +27 -4
  103. package/src/sections/ProfileCards.tsx +12 -2
  104. package/src/sections/ProofStrip.tsx +44 -0
  105. package/src/sections/RevealSlider.tsx +28 -7
  106. package/src/sections/ReviewCarousel.tsx +17 -4
  107. package/src/sections/ReviewWall.tsx +2 -2
  108. package/src/sections/SplitSection.tsx +2 -1
  109. package/src/sections/index.ts +15 -6
  110. package/src/sections/siteConfig.ts +101 -8
  111. package/src/styles/app.css +33 -2
  112. package/src/styles/artifact.css +20 -8
  113. package/src/styles/base.css +68 -13
  114. package/src/styles/chrome.css +1134 -56
  115. package/src/styles/components.css +104 -65
  116. package/src/styles/defaults.css +140 -0
  117. package/src/styles/gate.css +21 -10
  118. package/src/styles/primitives.css +108 -39
  119. package/src/styles/sections.css +500 -437
  120. package/src/styles/star-rating.css +1 -4
  121. package/src/tokens/palettes.ts +24 -4
  122. package/src/types.ts +220 -3
  123. package/src/vite/index.ts +4 -0
  124. package/src/vite/marketing-config.ts +81 -1
  125. package/src/app/CardErrorBoundary.tsx +0 -39
  126. package/src/sections/CTABanner.tsx +0 -93
  127. package/src/sections/DeviceShowcase.tsx +0 -39
  128. package/src/sections/MediaBand.tsx +0 -20
  129. package/src/sections/MenuList.tsx +0 -44
  130. package/src/sections/PressQuotes.tsx +0 -51
  131. 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;
@@ -88,11 +97,13 @@
88
97
  box-shadow 0.3s ease,
89
98
  backdrop-filter 0.3s ease;
90
99
  }
100
+ /* The bar and its panels run as wide as the page's wrap unless a design
101
+ sets --header-max and --header-gutter to run them wider. */
91
102
  .atelic-ui .nav-inner {
92
103
  width: 100%;
93
- max-width: var(--max-width);
104
+ max-width: var(--header-max, var(--max-width));
94
105
  margin-inline: auto;
95
- padding-inline: var(--gutter);
106
+ padding-inline: var(--header-gutter, var(--gutter));
96
107
  display: flex;
97
108
  align-items: center;
98
109
  justify-content: space-between;
@@ -103,20 +114,44 @@
103
114
  align-items: center;
104
115
  gap: 10px;
105
116
  font-family: var(--font-brand);
106
- font-weight: 800;
117
+ font-weight: var(--weight-heavy);
107
118
  letter-spacing: -0.02em;
108
119
  font-size: 1.02rem;
120
+ /* The lockup never shrinks: a crowded bar (five groups, a number, a
121
+ call to action) once squeezed a wide mark below its height. */
122
+ flex: none;
123
+ /* The brand's name never breaks inside a word: the root's anywhere
124
+ (defaults.css, Long words) would let a crowded bar squeeze the wordmark
125
+ letter by letter. It still wraps at its spaces. */
126
+ overflow-wrap: normal;
109
127
  }
128
+ /* The mark stands at the theme's mark height and runs as wide as its own
129
+ ratio, so a wide wordmark reads at a height the theme picks. */
110
130
  .atelic-ui .nav-logo .mark {
111
- height: 30px;
112
- width: 30px;
131
+ display: block;
132
+ height: var(--brand-mark-height);
133
+ width: auto;
134
+ max-width: none;
135
+ flex: none;
136
+ }
137
+ /* A mark cut per surface: the light bar shows the one for a light ground,
138
+ a dark or transparent bar the one for a dark ground. Neither is ever
139
+ recolored. */
140
+ .atelic-ui .nav-logo .mark.is-on-dark,
141
+ .atelic-ui .nav.is-transparent .nav-logo .mark.is-on-light,
142
+ .atelic-ui .nav.nav-dark .nav-logo .mark.is-on-light {
143
+ display: none;
144
+ }
145
+ .atelic-ui .nav.is-transparent .nav-logo .mark.is-on-dark,
146
+ .atelic-ui .nav.nav-dark .nav-logo .mark.is-on-dark {
147
+ display: block;
113
148
  }
114
149
  /* The recipient half of a sent artifact's lockup (BrandLockup: recipient):
115
150
  a quiet times sign in the mono face, then the business's mark at
116
151
  wordmark height. */
117
152
  .atelic-ui .nav-logo .nav-x {
118
153
  font-family: var(--font-mono);
119
- font-weight: 400;
154
+ font-weight: var(--weight-regular);
120
155
  font-size: 0.9rem;
121
156
  color: color-mix(in srgb, currentColor 55%, transparent);
122
157
  margin: 0 2px;
@@ -124,7 +159,7 @@
124
159
  .atelic-ui .nav-logo .nav-recipient {
125
160
  /* Matches the sender's mark, so a square recipient mark reads at the
126
161
  same size as the sender's would; a wide wordmark simply runs longer. */
127
- height: 30px;
162
+ height: var(--brand-mark-height);
128
163
  width: auto;
129
164
  display: block;
130
165
  }
@@ -133,21 +168,54 @@
133
168
  align-items: center;
134
169
  gap: 4px;
135
170
  }
136
- .atelic-ui .nav-links a {
171
+ /* The bar's own entries only: a direct link or a group's control, never a
172
+ link inside an open panel, which keeps its own styling (rule 7). */
173
+ .atelic-ui .nav-links > a,
174
+ .atelic-ui .nav-links .nav-group-btn {
137
175
  padding: 8px 14px;
138
176
  border-radius: var(--radius-pill);
139
- font-weight: 600;
177
+ font-weight: var(--weight-semibold);
140
178
  font-size: 0.95rem;
141
179
  transition:
142
180
  background 0.15s,
143
181
  color 0.15s;
144
182
  }
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 {
150
- color: var(--primary);
183
+ .atelic-ui .nav-links > a:hover,
184
+ .atelic-ui .nav-links .nav-group-btn:hover {
185
+ background: var(--hover-tint);
186
+ }
187
+ /* The open group's pill: the hover tint and the bar's own words unless a
188
+ theme sets --nav-open-bg and --nav-open-ink. */
189
+ .atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
190
+ background: var(--nav-open-bg, var(--hover-tint));
191
+ color: var(--nav-open-ink, inherit);
192
+ }
193
+ /* The entry for where the reader is: a page's scroll spied stop, the
194
+ page being read, or the group holding it. Words on the bar's surface,
195
+ so they read --primary-ink. */
196
+ .atelic-ui .nav-links > a.active,
197
+ .atelic-ui .nav-links > a[aria-current="page"],
198
+ .atelic-ui .nav-links .nav-group-btn.is-current {
199
+ color: var(--primary-ink, var(--primary));
200
+ /* Marked by more than its hue: a deep primary can sit within 2 to 1 of
201
+ the bar's other words, so the entry carries the underline the
202
+ transparent bar gives it too. */
203
+ text-decoration-line: underline;
204
+ text-decoration-thickness: 2px;
205
+ text-underline-offset: 6px;
206
+ }
207
+ /* Over a hero no surface sits behind the transparent bar, and a primary
208
+ cut for light grounds can read under 2 to 1 on a dark photograph, so
209
+ the entry keeps its siblings' --on-dark and is marked by an underline
210
+ instead of a hue. An underline, not a weight: the entries are already
211
+ semibold, and a heavier one would shift the bar as the reader moves. */
212
+ .atelic-ui .nav.is-transparent .nav-links > a.active,
213
+ .atelic-ui .nav.is-transparent .nav-links > a[aria-current="page"],
214
+ .atelic-ui .nav.is-transparent .nav-links .nav-group-btn.is-current {
215
+ color: var(--on-dark);
216
+ text-decoration-line: underline;
217
+ text-decoration-thickness: 2px;
218
+ text-underline-offset: 6px;
151
219
  }
152
220
  /* Desktop only, and hidden until the bar is solid: on small screens the
153
221
  sticky CTA bar and the menu carry the action, and the wordmark needs the
@@ -156,6 +224,7 @@
156
224
  that hid the button itself. */
157
225
  .atelic-ui .nav .nav-cta {
158
226
  display: none;
227
+ white-space: nowrap;
159
228
  }
160
229
  .atelic-ui .nav-burger {
161
230
  display: inline-flex;
@@ -172,15 +241,48 @@
172
241
  transform 0.25s,
173
242
  opacity 0.2s;
174
243
  }
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 {
244
+ /* The burger with its words beside it (menuLabel): the words, then the
245
+ three lines in their own column, which close to an X as before. */
246
+ .atelic-ui .nav-burger.has-label {
247
+ flex-direction: row;
248
+ align-items: center;
249
+ gap: 10px;
250
+ }
251
+ .atelic-ui .nav-burger.has-label > .nav-burger-label {
252
+ width: auto;
253
+ height: auto;
254
+ background: none;
255
+ border-radius: 0;
256
+ font-weight: var(--weight-semibold);
257
+ font-size: 0.95rem;
258
+ line-height: 1;
259
+ }
260
+ .atelic-ui .nav-burger.has-label > .nav-burger-lines {
261
+ display: flex;
262
+ flex-direction: column;
263
+ gap: 5px;
264
+ width: 24px;
265
+ height: auto;
266
+ background: none;
267
+ }
268
+ /* A mark drawn on a surface it was not cut for is flattened to that
269
+ surface's silhouette (resolveMark): to ink on the light bar (a single
270
+ light mark, logo.src, as before, or a dark only cut), and to white on a
271
+ dark one (a light only cut). A cut drawn on its own surface is never
272
+ touched. The tint follows the bar's own state, so a lockup drawn outside
273
+ a header (a story's row, a page's own band) shows its artwork as given. */
274
+ .atelic-ui .nav.is-solid:not(.nav-dark) .nav-logo .mark.is-tinted {
177
275
  filter: brightness(0) saturate(1);
178
276
  }
277
+ .atelic-ui :is(.nav.is-transparent, .nav.nav-dark) .nav-logo .mark.is-tinted-light,
278
+ .atelic-ui .footer-brand img.is-tinted-light {
279
+ filter: brightness(0) invert(1);
280
+ }
179
281
  .atelic-ui .nav.is-transparent {
180
- color: #fff;
282
+ color: var(--on-dark);
181
283
  }
182
284
  .atelic-ui .nav.is-transparent .nav-logo .wordmark {
183
- color: #fff;
285
+ color: var(--on-dark);
184
286
  }
185
287
  .atelic-ui .nav.is-solid {
186
288
  background: color-mix(in srgb, var(--surface) 86%, transparent);
@@ -195,15 +297,16 @@
195
297
  .atelic-ui .nav.is-solid.nav-dark {
196
298
  background: color-mix(in srgb, var(--surface-dark) 88%, transparent);
197
299
  box-shadow: 0 1px 0 color-mix(in srgb, var(--surface) 12%, transparent);
198
- color: color-mix(in srgb, var(--surface) 96%, white);
199
- }
200
- .atelic-ui .nav.nav-dark .nav-logo .mark {
201
- filter: none;
300
+ color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
202
301
  }
203
- .atelic-ui .nav.nav-dark .nav-links a:hover {
204
- background: rgba(255, 255, 255, 0.08);
302
+ .atelic-ui .nav.nav-dark .nav-links > a:hover,
303
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn:hover,
304
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn[aria-expanded="true"] {
305
+ background: color-mix(in srgb, var(--on-dark) 8%, transparent);
205
306
  }
206
- .atelic-ui .nav.nav-dark .nav-links a.active {
307
+ .atelic-ui .nav.nav-dark .nav-links > a.active,
308
+ .atelic-ui .nav.nav-dark .nav-links > a[aria-current="page"],
309
+ .atelic-ui .nav.nav-dark .nav-links .nav-group-btn.is-current {
207
310
  color: var(--primary-bright);
208
311
  }
209
312
  @media (min-width: 900px) {
@@ -217,6 +320,553 @@
217
320
  display: inline-flex;
218
321
  }
219
322
  }
323
+ /* ---- Header: groups, the mega menu, and the numbers ----
324
+ A bar holding nav groups or numbers (.is-wide) needs more room, so the
325
+ burger keeps the phone and tablet widths up to 1180px and the bar's
326
+ entries show from there. A plain bar keeps the 900px step above. */
327
+ .atelic-ui .nav-item {
328
+ display: flex;
329
+ }
330
+ .atelic-ui .nav-links .nav-group-btn {
331
+ display: inline-flex;
332
+ align-items: center;
333
+ gap: 6px;
334
+ white-space: nowrap;
335
+ }
336
+ .atelic-ui .nav-group-btn .nav-chevron {
337
+ flex: none;
338
+ opacity: 0.7;
339
+ transition: transform 0.2s ease;
340
+ }
341
+ .atelic-ui .nav-group-btn[aria-expanded="true"] .nav-chevron {
342
+ transform: rotate(180deg);
343
+ opacity: 1;
344
+ }
345
+ .atelic-ui .nav-links > a:focus-visible,
346
+ .atelic-ui .nav-group-btn:focus-visible,
347
+ .atelic-ui .nav-mega a:not(.btn):focus-visible,
348
+ .atelic-ui .nav-phone:focus-visible,
349
+ .atelic-ui .nav-call:focus-visible {
350
+ outline: 2px solid var(--primary);
351
+ outline-offset: 2px;
352
+ }
353
+ /* The feature card's button sits on the primary field, so its ring is the
354
+ page surface. */
355
+ .atelic-ui .nav-feature-cta:focus-visible {
356
+ outline: 2px solid var(--surface);
357
+ outline-offset: 2px;
358
+ }
359
+ /* The panel hangs from the bar itself: the item is never a positioned
360
+ box, so the fixed header is the panel's containing block, and the card
361
+ is held to the page's wrap, the bar's own content width, whatever the
362
+ panel holds. The padding above the card is the pointer's bridge from
363
+ the control down into the panel. */
364
+ .atelic-ui .nav-mega {
365
+ display: none;
366
+ position: absolute;
367
+ left: 0;
368
+ right: 0;
369
+ top: 100%;
370
+ padding: 10px var(--header-gutter, var(--gutter)) 0;
371
+ color: var(--ink);
372
+ max-height: calc(100vh - var(--nav-height));
373
+ overflow-y: auto;
374
+ }
375
+ .atelic-ui .nav-mega.is-open {
376
+ display: block;
377
+ }
378
+ .atelic-ui .nav-mega-card {
379
+ box-sizing: border-box;
380
+ width: 100%;
381
+ max-width: calc(var(--header-max, var(--max-width)) - 2 * var(--header-gutter, var(--gutter)));
382
+ margin-inline: auto;
383
+ display: flex;
384
+ align-items: stretch;
385
+ gap: 32px;
386
+ padding: 36px 40px;
387
+ background: var(--card);
388
+ border: 1px solid var(--hairline-strong);
389
+ border-radius: var(--radius-lg);
390
+ box-shadow: var(--shadow-lg, var(--shadow-md));
391
+ }
392
+ .atelic-ui .nav-mega-body {
393
+ flex: 1;
394
+ min-width: 0;
395
+ display: flex;
396
+ flex-direction: column;
397
+ gap: 12px;
398
+ }
399
+ /* The link to the group's own page reads as one more link, at a column
400
+ link's weight, never a heading over the panel. */
401
+ .atelic-ui .nav-mega-all {
402
+ align-self: flex-start;
403
+ font-size: 1.0625rem;
404
+ font-weight: var(--weight-semibold);
405
+ line-height: 1.3;
406
+ color: var(--ink);
407
+ }
408
+ .atelic-ui .nav-mega-all:hover {
409
+ color: var(--primary-ink, var(--primary));
410
+ }
411
+ /* Every panel opens to the same height, the feature card's, so moving
412
+ along the bar never makes the panel jump. */
413
+ /* The sections share the row, and wrap to a second one when their least
414
+ widths outrun it (a picture, icon rows, and cards beside a feature card
415
+ at a narrow desktop, or two link columns, icon rows, and cards on a
416
+ wide wrap), so none is squeezed past reading or pushed out of the card.
417
+ A section's least width is the larger of a readable floor (set on its
418
+ list) and its longest word, so a crowded row wraps a section before any
419
+ label breaks inside a word. It matters only once the row is full, so a
420
+ roomy panel lays out exactly as before. */
421
+ .atelic-ui .nav-mega-sections {
422
+ flex: 1;
423
+ display: flex;
424
+ flex-wrap: wrap;
425
+ gap: 28px 32px;
426
+ align-items: stretch;
427
+ min-height: 440px;
428
+ }
429
+ /* Words in a panel break only as a last resort, never to make a section
430
+ narrower: the root's anywhere (defaults.css, Long words) would let a
431
+ section's least width fall to a single letter. */
432
+ .atelic-ui .nav-mega-card {
433
+ overflow-wrap: break-word;
434
+ }
435
+ .atelic-ui .nav-mega-sec {
436
+ min-width: 0;
437
+ display: flex;
438
+ flex-direction: column;
439
+ }
440
+ .atelic-ui .nav-mega-sec:is(.is-links, .is-rows, .is-cards) {
441
+ min-width: auto;
442
+ }
443
+ .atelic-ui .nav-mega-sec.is-links {
444
+ flex: 1 1 0;
445
+ }
446
+ .atelic-ui .nav-mega-sec.is-links > ul {
447
+ min-width: min(120px, 100%);
448
+ }
449
+ .atelic-ui .nav-mega-sec.is-rows {
450
+ flex: 2.4 1 0;
451
+ }
452
+ .atelic-ui .nav-mega-head {
453
+ display: block;
454
+ margin: 0 0 12px;
455
+ font-family: var(--font-mono);
456
+ font-size: 0.75rem;
457
+ font-weight: var(--weight-medium);
458
+ letter-spacing: 0.1em;
459
+ text-transform: uppercase;
460
+ color: var(--neutral-600);
461
+ }
462
+ .atelic-ui a.nav-mega-head:hover {
463
+ color: var(--primary-ink, var(--primary));
464
+ }
465
+ .atelic-ui .nav-mega-link {
466
+ display: flex;
467
+ flex-direction: column;
468
+ gap: 2px;
469
+ padding: 9px 0;
470
+ color: var(--ink);
471
+ }
472
+ .atelic-ui .nav-mega-label {
473
+ display: flex;
474
+ align-items: center;
475
+ gap: 10px;
476
+ font-weight: var(--weight-semibold);
477
+ font-size: 1.0625rem;
478
+ line-height: 1.3;
479
+ }
480
+ .atelic-ui .nav-mega-desc {
481
+ font-size: 0.86rem;
482
+ line-height: 1.35;
483
+ color: var(--ink-soft);
484
+ }
485
+ /* A quiet link (a long list, such as the towns under a region): the
486
+ softer words and the regular weight, a little closer together. */
487
+ .atelic-ui .nav-mega-link.is-quiet {
488
+ color: var(--ink-soft);
489
+ padding: 5px 0;
490
+ }
491
+ .atelic-ui .nav-mega-link.is-quiet .nav-mega-label {
492
+ font-weight: var(--weight-regular);
493
+ font-size: 1rem;
494
+ }
495
+ .atelic-ui .nav-mega-link:hover .nav-mega-label,
496
+ .atelic-ui .nav-mega-link[aria-current="page"] .nav-mega-label,
497
+ .atelic-ui a.nav-mega-head[aria-current="page"],
498
+ .atelic-ui .nav-mega-all[aria-current="page"] {
499
+ color: var(--primary-ink, var(--primary));
500
+ }
501
+ /* A link's children sit indented under it, each joined to the parent's
502
+ line by an elbow. */
503
+ .atelic-ui .nav-mega-sub {
504
+ position: relative;
505
+ display: flex;
506
+ align-items: center;
507
+ gap: 10px;
508
+ padding: 7px 0 7px 34px;
509
+ font-size: 0.97rem;
510
+ line-height: 1.35;
511
+ color: var(--ink-soft);
512
+ }
513
+ .atelic-ui .nav-mega-sub::before {
514
+ content: "";
515
+ position: absolute;
516
+ left: 10px;
517
+ top: 0;
518
+ width: 12px;
519
+ height: 52%;
520
+ border-left: 1.5px solid var(--neutral-200);
521
+ border-bottom: 1.5px solid var(--neutral-200);
522
+ border-bottom-left-radius: 6px;
523
+ }
524
+ .atelic-ui .nav-mega-sub:hover,
525
+ .atelic-ui .nav-mega-sub[aria-current="page"] {
526
+ color: var(--primary-ink, var(--primary));
527
+ }
528
+ .atelic-ui .nav-mega-badge {
529
+ flex: none;
530
+ padding: 3px 9px;
531
+ border-radius: var(--radius-pill);
532
+ background: var(--primary-fill, var(--primary));
533
+ color: var(--on-primary);
534
+ font-family: var(--font-mono);
535
+ font-size: 0.66rem;
536
+ font-weight: var(--weight-semibold);
537
+ letter-spacing: 0.08em;
538
+ line-height: 1.3;
539
+ text-transform: uppercase;
540
+ }
541
+ /* A picture: the photo fills the section, its caption over a wash at the
542
+ foot, the whole of it one link. */
543
+ .atelic-ui .nav-mega-sec.is-picture {
544
+ position: relative;
545
+ flex: 0.85 1 0;
546
+ min-width: min(220px, 100%);
547
+ justify-content: flex-end;
548
+ overflow: hidden;
549
+ border-radius: var(--radius-md);
550
+ background: var(--primary-deep);
551
+ }
552
+ .atelic-ui .nav-mega-picture {
553
+ position: absolute;
554
+ inset: 0;
555
+ width: 100%;
556
+ height: 100%;
557
+ object-fit: cover;
558
+ }
559
+ .atelic-ui .nav-mega-caption {
560
+ position: relative;
561
+ padding: 64px 20px 20px;
562
+ background: linear-gradient(transparent, color-mix(in srgb, var(--shade) 78%, transparent));
563
+ color: var(--on-dark);
564
+ font-size: 1.25rem;
565
+ font-weight: var(--weight-bold);
566
+ line-height: 1.2;
567
+ text-wrap: balance;
568
+ }
569
+ /* Icon rows, two across, one of them set on the primary when it leads. */
570
+ .atelic-ui .nav-mega-rows {
571
+ display: grid;
572
+ grid-template-columns: repeat(2, minmax(min-content, 1fr));
573
+ min-width: min(320px, 100%);
574
+ gap: 4px 16px;
575
+ align-content: start;
576
+ }
577
+ .atelic-ui .nav-mega-row {
578
+ display: flex;
579
+ align-items: center;
580
+ gap: 14px;
581
+ padding: 12px;
582
+ border-radius: var(--radius-md);
583
+ color: var(--ink);
584
+ }
585
+ .atelic-ui .nav-mega-row:hover {
586
+ background: var(--surface-alt);
587
+ }
588
+ .atelic-ui .nav-mega-row-icon {
589
+ flex: none;
590
+ width: 44px;
591
+ height: 44px;
592
+ display: grid;
593
+ place-items: center;
594
+ border-radius: 12px;
595
+ background: var(--surface-alt);
596
+ color: var(--ink-soft);
597
+ }
598
+ .atelic-ui .nav-mega-row-text {
599
+ flex: 1;
600
+ min-width: 0;
601
+ display: flex;
602
+ flex-direction: column;
603
+ }
604
+ .atelic-ui .nav-mega-row-label {
605
+ font-size: 1.0625rem;
606
+ font-weight: var(--weight-semibold);
607
+ line-height: 1.3;
608
+ }
609
+ .atelic-ui .nav-mega-row-desc {
610
+ font-size: 0.9rem;
611
+ line-height: 1.35;
612
+ color: var(--ink-soft);
613
+ }
614
+ .atelic-ui .nav-mega-row-go {
615
+ flex: none;
616
+ color: var(--neutral-500);
617
+ }
618
+ .atelic-ui .nav-mega-row[aria-current="page"] .nav-mega-row-label {
619
+ color: var(--primary-ink, var(--primary));
620
+ }
621
+ .atelic-ui .nav-mega-row.is-highlight {
622
+ background: var(--primary-fill, var(--primary));
623
+ color: var(--on-primary);
624
+ }
625
+ .atelic-ui .nav-mega-row.is-highlight:hover {
626
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 84%, var(--shade));
627
+ }
628
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-label {
629
+ color: var(--on-primary);
630
+ }
631
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-icon {
632
+ background: color-mix(in srgb, var(--on-primary) 18%, transparent);
633
+ color: var(--on-primary);
634
+ }
635
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-desc,
636
+ .atelic-ui .nav-mega-row.is-highlight .nav-mega-row-go {
637
+ color: var(--on-primary);
638
+ }
639
+ /* Small cards, set off from the sections before them by a rule. */
640
+ .atelic-ui .nav-mega-sec.is-cards {
641
+ flex: 1 1 0;
642
+ padding-left: 32px;
643
+ border-left: 1px solid var(--neutral-100);
644
+ }
645
+ .atelic-ui .nav-mega-cards {
646
+ display: flex;
647
+ flex-direction: column;
648
+ gap: 12px;
649
+ /* The section's 240px floor, less its rule's padding. */
650
+ min-width: min(208px, 100%);
651
+ }
652
+ .atelic-ui .nav-mega-card-link {
653
+ display: flex;
654
+ align-items: center;
655
+ gap: 14px;
656
+ padding: 10px;
657
+ border: 1px solid var(--neutral-100);
658
+ border-radius: var(--radius-md);
659
+ color: var(--ink);
660
+ }
661
+ .atelic-ui .nav-mega-card-link:hover {
662
+ border-color: var(--neutral-300);
663
+ }
664
+ .atelic-ui .nav-mega-thumb {
665
+ flex: none;
666
+ width: 84px;
667
+ height: 84px;
668
+ border-radius: 10px;
669
+ object-fit: cover;
670
+ background: var(--surface-alt);
671
+ }
672
+ .atelic-ui .nav-mega-card-text {
673
+ min-width: 0;
674
+ display: flex;
675
+ flex-direction: column;
676
+ gap: 2px;
677
+ }
678
+ .atelic-ui .nav-mega-kicker {
679
+ font-family: var(--font-mono);
680
+ font-size: 0.66rem;
681
+ font-weight: var(--weight-medium);
682
+ letter-spacing: 0.08em;
683
+ text-transform: uppercase;
684
+ color: var(--neutral-600);
685
+ }
686
+ .atelic-ui .nav-mega-card-title {
687
+ margin-top: 2px;
688
+ font-size: 1rem;
689
+ font-weight: var(--weight-bold);
690
+ line-height: 1.25;
691
+ }
692
+ .atelic-ui .nav-mega-meta {
693
+ font-size: 0.84rem;
694
+ color: var(--ink-soft);
695
+ }
696
+ /* A card leading to the page being read: its rule in the primary, its
697
+ title in the primary's ink. */
698
+ .atelic-ui .nav-mega-card-link[aria-current="page"] {
699
+ border-color: var(--primary);
700
+ }
701
+ .atelic-ui .nav-mega-card-link[aria-current="page"] .nav-mega-card-title {
702
+ color: var(--primary-ink, var(--primary));
703
+ }
704
+ /* The feature card: one size in every group, the picture taking the
705
+ height the words leave, so the button lands in the same place each
706
+ time. */
707
+ .atelic-ui .nav-feature {
708
+ flex: none;
709
+ width: 340px;
710
+ min-height: 440px;
711
+ display: flex;
712
+ flex-direction: column;
713
+ overflow: hidden;
714
+ border-radius: var(--radius-md);
715
+ background: var(--primary-deep);
716
+ color: var(--on-primary);
717
+ }
718
+ .atelic-ui .nav-feature-img {
719
+ flex: 1 1 0;
720
+ min-height: 0;
721
+ width: 100%;
722
+ object-fit: cover;
723
+ }
724
+ .atelic-ui .nav-feature-body {
725
+ flex: none;
726
+ margin-top: auto;
727
+ display: flex;
728
+ flex-direction: column;
729
+ gap: 10px;
730
+ padding: 20px 22px 22px;
731
+ }
732
+ .atelic-ui .nav-feature-eyebrow {
733
+ font-family: var(--font-mono);
734
+ font-size: 0.72rem;
735
+ font-weight: var(--weight-medium);
736
+ letter-spacing: 0.1em;
737
+ text-transform: uppercase;
738
+ /* The bright primary on the card's deep primary is under 2 to 1. */
739
+ color: var(--on-primary);
740
+ }
741
+ .atelic-ui .nav-feature-title {
742
+ font-size: 1.3rem;
743
+ font-weight: var(--weight-bold);
744
+ line-height: 1.2;
745
+ letter-spacing: -0.01em;
746
+ text-wrap: balance;
747
+ }
748
+ .atelic-ui .nav-feature-text {
749
+ font-size: 0.95rem;
750
+ line-height: 1.45;
751
+ color: var(--on-primary);
752
+ }
753
+ /* The ticked points: the tick bare and the words both in the card's own
754
+ words color, since the bright primary all but vanishes on the deep
755
+ primary. */
756
+ .atelic-ui .nav-feature .nav-feature-points {
757
+ gap: 7px;
758
+ margin-top: 2px;
759
+ font-size: 0.94rem;
760
+ line-height: 1.4;
761
+ }
762
+ .atelic-ui .nav-feature .nav-feature-points li {
763
+ gap: 10px;
764
+ color: var(--on-primary);
765
+ }
766
+ .atelic-ui .nav-feature .nav-feature-points .tick {
767
+ width: 16px;
768
+ height: 16px;
769
+ margin-top: 3px;
770
+ background: none;
771
+ box-shadow: none;
772
+ color: var(--on-primary);
773
+ }
774
+ .atelic-ui .nav-feature-cta {
775
+ margin-top: 8px;
776
+ width: 100%;
777
+ }
778
+ /* The numbers: up to two tel links in the bar on a desktop, and the first
779
+ as a round call button beside the burger below. */
780
+ .atelic-ui .nav-phones {
781
+ display: none;
782
+ gap: 8px;
783
+ }
784
+ .atelic-ui .nav-phone {
785
+ display: inline-flex;
786
+ align-items: center;
787
+ gap: 8px;
788
+ padding: var(--nav-phone-pad, 6px 16px 6px 12px);
789
+ border-radius: var(--radius-pill);
790
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
791
+ white-space: nowrap;
792
+ transition: box-shadow 0.15s ease;
793
+ }
794
+ .atelic-ui .nav-phone:hover {
795
+ box-shadow: inset 0 0 0 1.5px currentColor;
796
+ }
797
+ .atelic-ui .nav-phone svg {
798
+ flex: none;
799
+ }
800
+ .atelic-ui .nav-phone-text {
801
+ display: flex;
802
+ flex-direction: column;
803
+ line-height: 1.15;
804
+ }
805
+ .atelic-ui .nav-phone-label {
806
+ font-family: var(--font-mono);
807
+ font-size: 0.64rem;
808
+ letter-spacing: 0.08em;
809
+ text-transform: uppercase;
810
+ opacity: 0.72;
811
+ }
812
+ .atelic-ui .nav-phone-number {
813
+ font-weight: var(--weight-bold);
814
+ font-size: var(--nav-phone-size, 0.95rem);
815
+ }
816
+ .atelic-ui .nav-call {
817
+ display: inline-flex;
818
+ align-items: center;
819
+ justify-content: center;
820
+ width: 44px;
821
+ height: 44px;
822
+ flex: none;
823
+ border-radius: 50%;
824
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
825
+ }
826
+ .atelic-ui .nav.is-wide .nav-inner {
827
+ justify-content: flex-start;
828
+ }
829
+ .atelic-ui .nav.is-wide .nav-logo {
830
+ margin-right: auto;
831
+ }
832
+ @media (min-width: 900px) and (max-width: 1179px) {
833
+ .atelic-ui .nav.is-wide .nav-links {
834
+ display: none;
835
+ }
836
+ .atelic-ui .nav.is-wide .nav-burger {
837
+ display: inline-flex;
838
+ }
839
+ }
840
+ /* The second number waits for the room to hold it; the menu lists both. */
841
+ .atelic-ui .nav-phone + .nav-phone {
842
+ display: none;
843
+ }
844
+ @media (min-width: 1360px) {
845
+ .atelic-ui .nav-phone + .nav-phone {
846
+ display: inline-flex;
847
+ }
848
+ }
849
+ @media (min-width: 1180px) {
850
+ .atelic-ui .nav.is-wide .nav-logo {
851
+ margin-right: 8px;
852
+ }
853
+ .atelic-ui .nav.is-wide .nav-links {
854
+ flex: 1;
855
+ }
856
+ .atelic-ui .nav-phones {
857
+ display: flex;
858
+ }
859
+ .atelic-ui .nav-call {
860
+ display: none;
861
+ }
862
+ }
863
+ @media (prefers-reduced-motion: reduce) {
864
+ .atelic-ui .nav-group-btn .nav-chevron,
865
+ .atelic-ui .mobile-menu .mm-chevron {
866
+ transition: none;
867
+ }
868
+ }
869
+
220
870
  /* The burger folds into an X while the menu is open. State lives on the
221
871
  button's own aria-expanded, so no extra class plumbing. */
222
872
  .atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(1) {
@@ -296,10 +946,10 @@
296
946
  keeps its standard button styling. */
297
947
  .atelic-ui .mobile-menu .mm-link {
298
948
  font-size: 1.8rem;
299
- font-weight: 800;
949
+ font-weight: var(--weight-heavy);
300
950
  letter-spacing: -0.02em;
301
951
  padding: 14px 0;
302
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
952
+ border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
303
953
  display: flex;
304
954
  justify-content: space-between;
305
955
  align-items: center;
@@ -308,11 +958,33 @@
308
958
  font-family: var(--font-mono);
309
959
  font-size: 0.8rem;
310
960
  color: var(--primary-bright);
311
- font-weight: 500;
961
+ font-weight: var(--weight-medium);
312
962
  }
313
963
  .atelic-ui .mobile-menu .mm-cta {
314
964
  margin-top: 28px;
315
965
  }
966
+ /* The menu's call to action reads --menu-cta-bg and --menu-cta-ink,
967
+ defaulting to the primary button it always was. A theme whose sheet's
968
+ ground is its primary sets them to --on-primary and --primary-ink, or
969
+ the button vanishes into the sheet. */
970
+ .atelic-ui .mobile-menu .mm-cta.btn-primary {
971
+ background: var(--menu-cta-bg, var(--primary-fill, var(--primary)));
972
+ color: var(--menu-cta-ink, var(--on-primary));
973
+ }
974
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:hover {
975
+ background: color-mix(
976
+ in srgb,
977
+ var(--menu-cta-bg, var(--primary-fill, var(--primary))) 84%,
978
+ var(--shade)
979
+ );
980
+ }
981
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:active {
982
+ background: color-mix(
983
+ in srgb,
984
+ var(--menu-cta-bg, var(--primary-fill, var(--primary))) 74%,
985
+ var(--shade)
986
+ );
987
+ }
316
988
  .atelic-ui .mobile-menu .mm-contact {
317
989
  margin-top: auto;
318
990
  font-family: var(--font-mono);
@@ -328,6 +1000,107 @@
328
1000
  text-decoration: none;
329
1001
  }
330
1002
 
1003
+ /* A group in the menu is an accordion: its control is an entry like the
1004
+ rest, and its links open under it. The rule above the group carries the
1005
+ hairline, so the control drops its own. */
1006
+ .atelic-ui .mobile-menu .mm-group {
1007
+ border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 10%, transparent);
1008
+ }
1009
+ .atelic-ui .mobile-menu .mm-group-btn {
1010
+ width: 100%;
1011
+ border-bottom: 0;
1012
+ text-align: left;
1013
+ }
1014
+ .atelic-ui .mobile-menu .mm-chevron {
1015
+ flex: none;
1016
+ color: var(--primary-bright);
1017
+ transition: transform 0.2s ease;
1018
+ }
1019
+ .atelic-ui .mobile-menu .mm-group-btn[aria-expanded="true"] .mm-chevron {
1020
+ transform: rotate(180deg);
1021
+ }
1022
+ .atelic-ui .mobile-menu .mm-group-panel {
1023
+ display: none;
1024
+ flex-direction: column;
1025
+ gap: 16px;
1026
+ padding: 0 0 20px;
1027
+ }
1028
+ .atelic-ui .mobile-menu .mm-group-panel.is-open {
1029
+ display: flex;
1030
+ }
1031
+ .atelic-ui .mobile-menu .mm-group-all {
1032
+ font-weight: var(--weight-bold);
1033
+ font-size: 1.1rem;
1034
+ color: var(--primary-bright);
1035
+ }
1036
+ .atelic-ui .mobile-menu .mm-group-col {
1037
+ display: flex;
1038
+ flex-direction: column;
1039
+ }
1040
+ .atelic-ui .mobile-menu .mm-group-head {
1041
+ margin: 0 0 4px;
1042
+ font-family: var(--font-mono);
1043
+ font-size: 0.74rem;
1044
+ letter-spacing: 0.1em;
1045
+ text-transform: uppercase;
1046
+ color: var(--neutral-300);
1047
+ }
1048
+ .atelic-ui .mobile-menu .mm-group-link {
1049
+ padding: 9px 0;
1050
+ font-size: 1.12rem;
1051
+ font-weight: var(--weight-semibold);
1052
+ }
1053
+ .atelic-ui .mobile-menu .mm-group-link[aria-current="page"],
1054
+ .atelic-ui .mobile-menu .mm-group-sub[aria-current="page"] {
1055
+ color: var(--primary-bright);
1056
+ }
1057
+ .atelic-ui .mobile-menu .mm-group-link,
1058
+ .atelic-ui .mobile-menu .mm-group-sub {
1059
+ display: flex;
1060
+ align-items: center;
1061
+ gap: 10px;
1062
+ }
1063
+ .atelic-ui .mobile-menu .mm-group-item {
1064
+ display: flex;
1065
+ flex-direction: column;
1066
+ }
1067
+ /* A link's children sit indented under it, joined by the same elbow the
1068
+ desktop panel draws. */
1069
+ .atelic-ui .mobile-menu .mm-group-sub {
1070
+ position: relative;
1071
+ padding: 8px 0 8px 30px;
1072
+ font-size: 1rem;
1073
+ color: color-mix(in srgb, var(--surface) 78%, transparent);
1074
+ }
1075
+ .atelic-ui .mobile-menu .mm-group-sub::before {
1076
+ content: "";
1077
+ position: absolute;
1078
+ left: 8px;
1079
+ top: 0;
1080
+ width: 12px;
1081
+ height: 52%;
1082
+ border-left: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
1083
+ border-bottom: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
1084
+ border-bottom-left-radius: 6px;
1085
+ }
1086
+ /* The phone menu's badge reads --menu-badge-bg and --menu-badge-ink,
1087
+ defaulting to the primary pill it always was. A theme whose sheet's
1088
+ ground is its primary sets them to --on-primary and --primary-ink, or
1089
+ the pill vanishes into the sheet. */
1090
+ .atelic-ui .mobile-menu .mm-badge {
1091
+ flex: none;
1092
+ padding: 3px 9px;
1093
+ border-radius: var(--radius-pill);
1094
+ background: var(--menu-badge-bg, var(--primary-fill, var(--primary)));
1095
+ color: var(--menu-badge-ink, var(--on-primary));
1096
+ font-family: var(--font-mono);
1097
+ font-size: 0.66rem;
1098
+ font-weight: var(--weight-semibold);
1099
+ letter-spacing: 0.08em;
1100
+ line-height: 1.3;
1101
+ text-transform: uppercase;
1102
+ }
1103
+
331
1104
  /* ---- Sticky CTA bar (phones only) ---- */
332
1105
  .atelic-ui .sticky-cta {
333
1106
  position: fixed;
@@ -360,6 +1133,213 @@
360
1133
  }
361
1134
  }
362
1135
 
1136
+ /* ---- Contact dock ----
1137
+ The corner launcher and its panel. The dock sets its own right and
1138
+ bottom inline as it tracks the sticky bar and the footer; these are the
1139
+ first paint's. On a phone the launcher is its icon and the panel a
1140
+ sheet across the bottom. */
1141
+ .atelic-ui .contact-dock {
1142
+ position: fixed;
1143
+ right: 24px;
1144
+ bottom: 24px;
1145
+ z-index: 96;
1146
+ display: flex;
1147
+ flex-direction: column;
1148
+ align-items: flex-end;
1149
+ gap: 12px;
1150
+ }
1151
+ /* Positioned, so it paints over the phone's sheet, which is fixed. */
1152
+ .atelic-ui .cd-launch {
1153
+ position: relative;
1154
+ display: inline-flex;
1155
+ align-items: center;
1156
+ gap: 10px;
1157
+ height: 52px;
1158
+ padding: 0 20px 0 16px;
1159
+ border-radius: var(--radius-pill);
1160
+ background: var(--primary-fill, var(--primary));
1161
+ color: var(--on-primary);
1162
+ font-weight: var(--weight-semibold);
1163
+ /* A ring of the page surface keeps the button apart from a band of its
1164
+ own color behind it, such as a primary footer. */
1165
+ box-shadow:
1166
+ 0 0 0 2px var(--surface),
1167
+ var(--shadow-md);
1168
+ transition: background 0.2s ease;
1169
+ }
1170
+ .atelic-ui .cd-launch:hover {
1171
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 84%, var(--shade));
1172
+ }
1173
+ .atelic-ui .cd-launch:active {
1174
+ background: color-mix(in srgb, var(--primary-fill, var(--primary)) 74%, var(--shade));
1175
+ }
1176
+ .atelic-ui .cd-launch:focus-visible,
1177
+ .atelic-ui .cd-item:focus-visible {
1178
+ outline: 2px solid var(--primary);
1179
+ outline-offset: 2px;
1180
+ }
1181
+ .atelic-ui .cd-panel {
1182
+ width: min(380px, calc(100vw - 32px));
1183
+ max-height: min(620px, calc(100vh - 100px));
1184
+ display: flex;
1185
+ flex-direction: column;
1186
+ overflow: hidden;
1187
+ background: var(--card);
1188
+ color: var(--ink);
1189
+ border: 1px solid var(--hairline-strong);
1190
+ border-radius: var(--radius-lg);
1191
+ box-shadow: var(--shadow-lg, var(--shadow-md));
1192
+ }
1193
+ .atelic-ui .cd-panel[hidden] {
1194
+ display: none;
1195
+ }
1196
+ .atelic-ui .cd-head {
1197
+ display: flex;
1198
+ align-items: flex-start;
1199
+ gap: 8px;
1200
+ padding: 16px 12px 16px 18px;
1201
+ background: var(--primary-fill, var(--primary));
1202
+ color: var(--on-primary);
1203
+ }
1204
+ .atelic-ui .cd-head-text {
1205
+ flex: 1;
1206
+ min-width: 0;
1207
+ }
1208
+ .atelic-ui .cd-close {
1209
+ flex: none;
1210
+ width: 40px;
1211
+ height: 40px;
1212
+ display: grid;
1213
+ place-items: center;
1214
+ border-radius: 50%;
1215
+ color: var(--on-primary);
1216
+ }
1217
+ .atelic-ui .cd-close:hover {
1218
+ background: color-mix(in srgb, var(--on-primary) 14%, transparent);
1219
+ }
1220
+ .atelic-ui .cd-close:focus-visible {
1221
+ outline: 2px solid var(--on-primary);
1222
+ outline-offset: -2px;
1223
+ }
1224
+ /* A heading by role (ContactDock.tsx says why), so it carries the whole
1225
+ of its look, the balance and the margin an h2 took included. */
1226
+ .atelic-ui .cd-panel .cd-title {
1227
+ margin: 0;
1228
+ font-family: var(--font-sans);
1229
+ font-size: 1.15rem;
1230
+ font-weight: var(--weight-bold);
1231
+ letter-spacing: 0;
1232
+ line-height: 1.2;
1233
+ text-wrap: balance;
1234
+ color: var(--on-primary);
1235
+ }
1236
+ .atelic-ui .cd-sub {
1237
+ margin-top: 2px;
1238
+ font-size: 0.92rem;
1239
+ line-height: 1.35;
1240
+ color: var(--on-primary);
1241
+ }
1242
+ .atelic-ui .cd-items {
1243
+ display: flex;
1244
+ flex-direction: column;
1245
+ gap: 2px;
1246
+ padding: 8px;
1247
+ overflow-y: auto;
1248
+ }
1249
+ .atelic-ui .cd-item {
1250
+ width: 100%;
1251
+ display: flex;
1252
+ align-items: center;
1253
+ gap: 14px;
1254
+ padding: 12px;
1255
+ border-radius: var(--radius-md);
1256
+ color: var(--ink);
1257
+ text-align: left;
1258
+ }
1259
+ .atelic-ui .cd-item:hover,
1260
+ .atelic-ui .cd-item.is-lead {
1261
+ background: var(--primary-tint, var(--surface-alt));
1262
+ }
1263
+ .atelic-ui .cd-item-icon {
1264
+ flex: none;
1265
+ width: 42px;
1266
+ height: 42px;
1267
+ display: grid;
1268
+ place-items: center;
1269
+ border-radius: 50%;
1270
+ background: var(--card);
1271
+ color: var(--primary);
1272
+ border: 1px solid var(--hairline-strong);
1273
+ }
1274
+ .atelic-ui .cd-item.is-lead .cd-item-icon {
1275
+ background: var(--primary-fill, var(--primary));
1276
+ border-color: var(--primary-fill, var(--primary));
1277
+ color: var(--on-primary);
1278
+ }
1279
+ .atelic-ui .cd-item-text {
1280
+ flex: 1;
1281
+ min-width: 0;
1282
+ display: flex;
1283
+ flex-direction: column;
1284
+ }
1285
+ .atelic-ui .cd-item-label {
1286
+ font-weight: var(--weight-bold);
1287
+ line-height: 1.25;
1288
+ }
1289
+ .atelic-ui .cd-item-desc {
1290
+ font-size: 0.9rem;
1291
+ line-height: 1.35;
1292
+ color: var(--ink-soft);
1293
+ }
1294
+ .atelic-ui .cd-item-go {
1295
+ flex: none;
1296
+ color: var(--neutral-600);
1297
+ }
1298
+ .atelic-ui .cd-foot {
1299
+ padding: 12px 20px 14px;
1300
+ border-top: 1px solid var(--hairline);
1301
+ font-size: 0.86rem;
1302
+ color: var(--ink-soft);
1303
+ }
1304
+ @media (max-width: 899px) {
1305
+ /* The phone's corner, before (or without) any tracking. */
1306
+ .atelic-ui .contact-dock {
1307
+ right: 16px;
1308
+ bottom: 16px;
1309
+ }
1310
+ .atelic-ui .cd-launch {
1311
+ width: 52px;
1312
+ padding: 0;
1313
+ justify-content: center;
1314
+ }
1315
+ .atelic-ui .cd-launch-text {
1316
+ position: absolute;
1317
+ width: 1px;
1318
+ height: 1px;
1319
+ overflow: hidden;
1320
+ clip-path: inset(50%);
1321
+ white-space: nowrap;
1322
+ }
1323
+ /* The sheet leaves room at its foot for the launcher, which floats
1324
+ over it as the close button. */
1325
+ .atelic-ui .cd-panel {
1326
+ position: fixed;
1327
+ left: 0;
1328
+ right: 0;
1329
+ bottom: 0;
1330
+ width: auto;
1331
+ max-height: 86vh;
1332
+ padding-bottom: 72px;
1333
+ border-width: 1px 0 0;
1334
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
1335
+ }
1336
+ }
1337
+ @media (prefers-reduced-motion: reduce) {
1338
+ .atelic-ui .cd-launch {
1339
+ transition: none;
1340
+ }
1341
+ }
1342
+
363
1343
  /* ---- Footer ---- */
364
1344
  .atelic-ui .footer {
365
1345
  background: var(--surface-dark);
@@ -368,7 +1348,7 @@
368
1348
  }
369
1349
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .footer, so it never meets the header's link rules */
370
1350
  .atelic-ui .footer a:hover {
371
- color: #fff;
1351
+ color: var(--on-dark);
372
1352
  }
373
1353
  /* One grid: the brand column, then the link columns, however many the
374
1354
  footer was given. A phone stacks the brand column over two across. */
@@ -380,31 +1360,75 @@
380
1360
  .atelic-ui .footer-brand {
381
1361
  grid-column: 1 / -1;
382
1362
  }
383
- .atelic-ui .footer h4 {
384
- color: #fff;
1363
+ /* A column's heading is a div with the heading role (Footer.tsx says
1364
+ why), so it carries the whole of its look here, the line height and
1365
+ the balance an h2 took from base.css included. */
1366
+ .atelic-ui .footer .footer-heading {
1367
+ color: var(--on-dark);
385
1368
  font-family: var(--font-mono);
386
1369
  font-size: 0.84rem;
1370
+ line-height: 1.04;
387
1371
  letter-spacing: 0.1em;
388
1372
  text-transform: uppercase;
389
- font-weight: 700;
390
- margin-bottom: 14px;
1373
+ text-wrap: balance;
1374
+ font-weight: var(--weight-bold);
1375
+ margin: 0 0 14px;
391
1376
  }
392
1377
  .atelic-ui .footer-brand img {
393
- height: 38px;
1378
+ height: var(--footer-mark-height, 38px);
394
1379
  margin-bottom: 18px;
395
1380
  }
396
1381
  .atelic-ui .footer-rating {
397
1382
  display: flex;
398
1383
  align-items: center;
399
1384
  gap: 10px;
400
- color: #fff;
401
- font-weight: 500;
1385
+ color: var(--on-dark);
1386
+ font-weight: var(--weight-medium);
402
1387
  margin-bottom: 10px;
403
1388
  }
1389
+ /* The stars read --star-fill, the token StarRating's filled star reads, so
1390
+ one line in a theme recolors both; the review gold is the fallback. */
404
1391
  .atelic-ui .footer-stars {
405
1392
  display: inline-flex;
406
1393
  gap: 2px;
407
- color: #f5b301;
1394
+ color: var(--star-fill, var(--review-gold));
1395
+ }
1396
+ /* A rating linked to the Google profile: the stars and the words one
1397
+ link, laid out as the plain line is. */
1398
+ .atelic-ui .footer .footer-rating-link {
1399
+ display: inline-flex;
1400
+ align-items: center;
1401
+ gap: 10px;
1402
+ color: var(--on-dark);
1403
+ text-decoration-line: underline;
1404
+ text-decoration-color: color-mix(in srgb, var(--on-dark) 40%, transparent);
1405
+ text-underline-offset: 4px;
1406
+ }
1407
+ .atelic-ui .footer .footer-rating-link:hover {
1408
+ text-decoration-color: currentColor;
1409
+ }
1410
+ /* The hours, a column of their own beside the links: each row's days over
1411
+ or beside its range, whichever the column's width allows. */
1412
+ .atelic-ui .footer-hours dl {
1413
+ display: flex;
1414
+ flex-direction: column;
1415
+ gap: 8px;
1416
+ margin: 0;
1417
+ font-size: 0.9rem;
1418
+ line-height: 1.4;
1419
+ }
1420
+ .atelic-ui .footer-hours dl > div {
1421
+ display: flex;
1422
+ flex-wrap: wrap;
1423
+ column-gap: 8px;
1424
+ }
1425
+ .atelic-ui .footer-hours dt {
1426
+ color: var(--on-dark);
1427
+ font-weight: var(--weight-medium);
1428
+ }
1429
+ .atelic-ui .footer-hours dd {
1430
+ margin: 0;
1431
+ color: var(--neutral-200);
408
1432
  }
409
1433
  .atelic-ui .footer nav a {
410
1434
  display: flex;
@@ -412,7 +1436,7 @@
412
1436
  gap: 10px;
413
1437
  padding: 6px 0;
414
1438
  color: var(--neutral-200);
415
- font-weight: 500;
1439
+ font-weight: var(--weight-medium);
416
1440
  }
417
1441
  .atelic-ui .footer nav a svg {
418
1442
  flex: none;
@@ -426,47 +1450,95 @@
426
1450
  color: var(--neutral-200);
427
1451
  }
428
1452
  .atelic-ui .footer .nap a {
429
- color: #fff;
430
- font-weight: 600;
431
- }
1453
+ color: var(--on-dark);
1454
+ font-weight: var(--footer-nap-weight, var(--weight-semibold));
1455
+ }
1456
+ /* An address with no profile to link takes the token too, and otherwise
1457
+ the column's own weight, as it always has. */
1458
+ .atelic-ui .footer .nap span.nap-address {
1459
+ font-weight: var(--footer-nap-weight, inherit);
1460
+ }
1461
+ /* A word in a column breaks only as a last resort, never to make the
1462
+ column narrower: each column's least width is its longest word (an
1463
+ icon and a one word label together), so a crowded row wraps a column
1464
+ to the next row before a label breaks inside a word. An email address
1465
+ offers its own breaks, after the @ and before each dot (Footer.tsx). */
432
1466
  .atelic-ui .footer-grid > * {
433
- overflow-wrap: anywhere;
1467
+ overflow-wrap: break-word;
434
1468
  }
435
1469
  .atelic-ui .footer .nap-address {
436
1470
  display: flex;
437
1471
  flex-direction: column;
438
1472
  }
1473
+ /* From 760px one row that wraps: the brand column at 1.4 shares, each
1474
+ other column at one, as the grid laid them out, but a column never
1475
+ narrows past its longest word; when the row cannot hold every column
1476
+ at that, the last wraps to a second row rather than squeeze. */
439
1477
  @media (min-width: 760px) {
440
1478
  .atelic-ui .footer-grid {
441
- grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-columns, 4), minmax(0, 1fr));
1479
+ display: flex;
1480
+ flex-wrap: wrap;
442
1481
  gap: 48px 32px;
443
1482
  }
444
- .atelic-ui .footer-brand {
445
- grid-column: auto;
1483
+ .atelic-ui .footer-grid > * {
1484
+ flex: 1 1 0;
1485
+ }
1486
+ .atelic-ui .footer-grid > .footer-brand {
1487
+ flex-grow: 1.4;
1488
+ }
1489
+ /* With the hours beside the four link columns a tablet has no room for
1490
+ the brand column too, so it keeps the row above them until 1100px. */
1491
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1492
+ flex-basis: 100%;
1493
+ }
1494
+ }
1495
+ /* One row from 1100px, the brand column a little wider than without the
1496
+ hours, so the lockup and the rating keep a line each. */
1497
+ @media (min-width: 1100px) {
1498
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1499
+ flex: 2 1 0;
446
1500
  }
447
1501
  }
448
1502
  /* Text wordmark for a site with no mark image. */
449
1503
  .atelic-ui .footer-wordmark {
450
- color: #fff;
1504
+ color: var(--on-dark);
451
1505
  font-size: 1.3rem;
452
- font-weight: 600;
1506
+ font-weight: var(--weight-semibold);
453
1507
  letter-spacing: -0.045em;
454
1508
  margin-bottom: 18px;
455
1509
  }
1510
+ /* The header's lockup on the band: the mark at the footer's mark height,
1511
+ the wordmark beside it, and the brand's name never broken in a word. */
1512
+ .atelic-ui .footer-lockup {
1513
+ display: flex;
1514
+ align-items: center;
1515
+ gap: 12px;
1516
+ overflow-wrap: normal;
1517
+ }
1518
+ .atelic-ui .footer-brand .footer-lockup .mark {
1519
+ display: block;
1520
+ flex: none;
1521
+ width: auto;
1522
+ margin-bottom: 0;
1523
+ }
456
1524
 
457
1525
  /* ---- Closing bar ---- */
458
1526
  /* The line that closes every page, below the footer or after a document's
459
1527
  sign off: its own full width band, small and muted, the copyright on the
460
1528
  left and the credit on the right, or the one side centered when it stands
461
- alone. Purely token themed (the hairline and hover lift derive
462
- from --surface through color-mix), so it rebrands with theme.css on any
463
- page it renders under, light or dark. */
1529
+ alone. Token themed: the hairline and hover lift derive from --surface
1530
+ through color-mix and the words read --on-dark-faint, so it rebrands
1531
+ with theme.css on any page it renders under, light or dark. */
464
1532
  .atelic-ui .closing-bar {
465
1533
  background: var(--surface-dark);
466
1534
  border-top: 1px solid color-mix(in srgb, var(--surface) 10%, transparent);
467
- color: var(--neutral-500);
1535
+ color: var(--on-dark-faint);
468
1536
  font-size: 0.82rem;
469
1537
  padding-block: 18px;
1538
+ /* While the phone's sticky bar shows, SiteShell sets its measured
1539
+ height here, so the copyright and the credit clear it. The room sits
1540
+ below everything, so nothing on screen moves when it appears. */
1541
+ padding-bottom: calc(18px + var(--sticky-cta-space, 0px));
470
1542
  }
471
1543
  .atelic-ui .closing-bar-line {
472
1544
  display: flex;
@@ -488,10 +1560,16 @@
488
1560
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the footer's link rules */
489
1561
  .atelic-ui .closing-bar a {
490
1562
  color: var(--neutral-300);
491
- font-weight: 500;
1563
+ font-weight: var(--weight-medium);
1564
+ }
1565
+ /* The credit's link sits inside a sentence, so it is underlined, never
1566
+ marked by its color alone. */
1567
+ .atelic-ui .closing-bar .credit a {
1568
+ text-decoration-line: underline;
1569
+ text-underline-offset: 3px;
492
1570
  }
493
1571
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
494
1572
  .atelic-ui .closing-bar a:hover {
495
- color: color-mix(in srgb, var(--surface) 96%, white);
1573
+ color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
496
1574
  }
497
1575
  }