@atelic-action/ui 8.0.0 → 8.2.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 (64) hide show
  1. package/README.md +187 -22
  2. package/bin/atelic-check-sentry.ts +5 -0
  3. package/dist/gate/middleware.js +15 -1
  4. package/dist/monitoring/server.d.ts +122 -0
  5. package/dist/monitoring/server.js +302 -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 +10 -2
  11. package/src/app/layout/DesktopRail.tsx +6 -4
  12. package/src/app/layout/MobileMenu.tsx +10 -5
  13. package/src/app/layout/MobileTabBar.tsx +3 -2
  14. package/src/app/layout/PageError.tsx +2 -2
  15. package/src/app/layout/SectionCards.tsx +7 -2
  16. package/src/app/layout/UserMenu.tsx +1 -1
  17. package/src/app/ui/alert.tsx +1 -1
  18. package/src/app/ui/form.tsx +2 -2
  19. package/src/artifact/AppErrorBoundary.tsx +12 -7
  20. package/src/chrome/BrandLockup.tsx +46 -7
  21. package/src/chrome/ContactDock.tsx +59 -13
  22. package/src/chrome/Footer.tsx +97 -28
  23. package/src/chrome/NavMegaPanel.tsx +11 -6
  24. package/src/chrome/SiteHeader.tsx +68 -18
  25. package/src/chrome/SiteMenu.tsx +207 -72
  26. package/src/chrome/SiteShell.tsx +25 -3
  27. package/src/chrome/StickyCTABar.tsx +24 -8
  28. package/src/chrome/index.ts +2 -0
  29. package/src/components/NotFound.tsx +3 -2
  30. package/src/gate/middleware.ts +15 -1
  31. package/src/lib/emailText.tsx +26 -0
  32. package/src/lib/phoneText.tsx +49 -0
  33. package/src/monitoring/ErrorCatcherScript.tsx +26 -0
  34. package/src/monitoring/catcher.ts +118 -0
  35. package/src/monitoring/index.ts +25 -0
  36. package/src/monitoring/sdk.ts +112 -0
  37. package/src/monitoring/server.ts +368 -0
  38. package/src/monitoring/start.ts +118 -0
  39. package/src/primitives/Button.tsx +3 -1
  40. package/src/primitives/Eyebrow.tsx +6 -2
  41. package/src/routing/index.ts +11 -32
  42. package/src/routing/miss.ts +32 -0
  43. package/src/routing/routerErrors.tsx +57 -0
  44. package/src/routing/staticNotFound.tsx +64 -0
  45. package/src/scripts/check-sentry.ts +98 -0
  46. package/src/sections/CalloutPanel.tsx +4 -1
  47. package/src/sections/ContactInfoCard.tsx +1 -1
  48. package/src/sections/FullBleedVideo.tsx +13 -4
  49. package/src/sections/Hero.tsx +10 -3
  50. package/src/sections/LinkColumns.tsx +30 -14
  51. package/src/sections/Locations.tsx +1 -1
  52. package/src/sections/LogoMarquee.tsx +1 -1
  53. package/src/sections/PricingBand.tsx +1 -1
  54. package/src/sections/ProcessSteps.tsx +1 -1
  55. package/src/sections/siteConfig.ts +67 -5
  56. package/src/styles/app.css +9 -0
  57. package/src/styles/base.css +34 -2
  58. package/src/styles/chrome.css +449 -41
  59. package/src/styles/defaults.css +61 -2
  60. package/src/styles/primitives.css +20 -7
  61. package/src/styles/sections.css +52 -9
  62. package/src/types.ts +40 -2
  63. package/src/vite/index.ts +4 -0
  64. package/src/vite/marketing-config.ts +81 -1
@@ -84,6 +84,11 @@
84
84
 
85
85
  /* Fixed header: transparent over a hero, solid once scrolled, or dark. */
86
86
  .atelic-ui .nav {
87
+ /* The bar's and its panels' width and gutter, resolved here, on the
88
+ header, so a band around it that restates the named tokens reaches
89
+ both. */
90
+ --_header-max: var(--header-max, var(--max-width));
91
+ --_header-gutter: var(--header-gutter, var(--gutter));
87
92
  position: fixed;
88
93
  top: 0;
89
94
  left: 0;
@@ -97,11 +102,13 @@
97
102
  box-shadow 0.3s ease,
98
103
  backdrop-filter 0.3s ease;
99
104
  }
105
+ /* The bar and its panels run as wide as the page's wrap unless a design
106
+ sets --header-max and --header-gutter to run them wider. */
100
107
  .atelic-ui .nav-inner {
101
108
  width: 100%;
102
- max-width: var(--max-width);
109
+ max-width: var(--_header-max);
103
110
  margin-inline: auto;
104
- padding-inline: var(--gutter);
111
+ padding-inline: var(--_header-gutter);
105
112
  display: flex;
106
113
  align-items: center;
107
114
  justify-content: space-between;
@@ -115,6 +122,9 @@
115
122
  font-weight: var(--weight-heavy);
116
123
  letter-spacing: -0.02em;
117
124
  font-size: 1.02rem;
125
+ /* The lockup never shrinks: a crowded bar (five groups, a number, a
126
+ call to action) once squeezed a wide mark below its height. */
127
+ flex: none;
118
128
  /* The brand's name never breaks inside a word: the root's anywhere
119
129
  (defaults.css, Long words) would let a crowded bar squeeze the wordmark
120
130
  letter by letter. It still wraps at its spaces. */
@@ -126,6 +136,7 @@
126
136
  display: block;
127
137
  height: var(--brand-mark-height);
128
138
  width: auto;
139
+ max-width: none;
129
140
  flex: none;
130
141
  }
131
142
  /* A mark cut per surface: the light bar shows the one for a light ground,
@@ -175,23 +186,41 @@
175
186
  color 0.15s;
176
187
  }
177
188
  .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"] {
189
+ .atelic-ui .nav-links .nav-group-btn:hover {
180
190
  background: var(--hover-tint);
181
191
  }
192
+ /* The open group's pill: the hover tint and the bar's own words unless a
193
+ theme sets --nav-open-bg and --nav-open-ink. */
194
+ .atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
195
+ background: var(--nav-open-bg, var(--hover-tint));
196
+ color: var(--nav-open-ink);
197
+ }
182
198
  /* The entry for where the reader is: a page's scroll spied stop, the
183
199
  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. */
200
+ so they read --primary-ink. */
186
201
  .atelic-ui .nav-links > a.active,
187
202
  .atelic-ui .nav-links > a[aria-current="page"],
188
203
  .atelic-ui .nav-links .nav-group-btn.is-current {
189
204
  color: var(--primary-ink, var(--primary));
190
- }
205
+ /* Marked by more than its hue: a deep primary can sit within 2 to 1 of
206
+ the bar's other words, so the entry carries the underline the
207
+ transparent bar gives it too. */
208
+ text-decoration-line: underline;
209
+ text-decoration-thickness: 2px;
210
+ text-underline-offset: 6px;
211
+ }
212
+ /* Over a hero no surface sits behind the transparent bar, and a primary
213
+ cut for light grounds can read under 2 to 1 on a dark photograph, so
214
+ the entry keeps its siblings' --on-dark and is marked by an underline
215
+ instead of a hue. An underline, not a weight: the entries are already
216
+ semibold, and a heavier one would shift the bar as the reader moves. */
191
217
  .atelic-ui .nav.is-transparent .nav-links > a.active,
192
218
  .atelic-ui .nav.is-transparent .nav-links > a[aria-current="page"],
193
219
  .atelic-ui .nav.is-transparent .nav-links .nav-group-btn.is-current {
194
- color: var(--primary);
220
+ color: var(--on-dark);
221
+ text-decoration-line: underline;
222
+ text-decoration-thickness: 2px;
223
+ text-underline-offset: 6px;
195
224
  }
196
225
  /* Desktop only, and hidden until the bar is solid: on small screens the
197
226
  sticky CTA bar and the menu carry the action, and the wordmark needs the
@@ -217,6 +246,46 @@
217
246
  transform 0.25s,
218
247
  opacity 0.2s;
219
248
  }
249
+ /* The burger with its words beside it (menuLabel): the words, then the
250
+ three lines in their own column, which close to an X as before. */
251
+ .atelic-ui .nav-burger.has-label {
252
+ flex-direction: row;
253
+ align-items: center;
254
+ gap: 10px;
255
+ }
256
+ .atelic-ui .nav-burger.has-label > .nav-burger-label {
257
+ width: auto;
258
+ height: auto;
259
+ background: none;
260
+ border-radius: 0;
261
+ font-weight: var(--weight-semibold);
262
+ font-size: 0.95rem;
263
+ line-height: 1;
264
+ }
265
+ .atelic-ui .nav-burger.has-label > .nav-burger-lines {
266
+ display: flex;
267
+ flex-direction: column;
268
+ gap: 5px;
269
+ width: 24px;
270
+ height: auto;
271
+ background: none;
272
+ }
273
+ /* The lines before the words (menu.burger.labelAfter), and the burger in
274
+ an outlined pill (menu.burger.outlined). */
275
+ .atelic-ui .nav-burger.has-label.is-label-after {
276
+ flex-direction: row-reverse;
277
+ }
278
+ .atelic-ui .nav-burger.is-outlined {
279
+ align-items: center;
280
+ justify-content: center;
281
+ min-height: 44px;
282
+ padding: 8px 16px;
283
+ border-radius: var(--radius-pill);
284
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
285
+ }
286
+ .atelic-ui .nav-burger.is-outlined:hover {
287
+ box-shadow: inset 0 0 0 1.5px currentColor;
288
+ }
220
289
  /* A mark drawn on a surface it was not cut for is flattened to that
221
290
  surface's silhouette (resolveMark): to ink on the light bar (a single
222
291
  light mark, logo.src, as before, or a dark only cut), and to white on a
@@ -319,7 +388,7 @@
319
388
  left: 0;
320
389
  right: 0;
321
390
  top: 100%;
322
- padding: 10px var(--gutter) 0;
391
+ padding: 10px var(--_header-gutter) 0;
323
392
  color: var(--ink);
324
393
  max-height: calc(100vh - var(--nav-height));
325
394
  overflow-y: auto;
@@ -330,7 +399,7 @@
330
399
  .atelic-ui .nav-mega-card {
331
400
  box-sizing: border-box;
332
401
  width: 100%;
333
- max-width: calc(var(--max-width) - 2 * var(--gutter));
402
+ max-width: calc(var(--_header-max) - 2 * var(--_header-gutter));
334
403
  margin-inline: auto;
335
404
  display: flex;
336
405
  align-items: stretch;
@@ -364,9 +433,12 @@
364
433
  along the bar never makes the panel jump. */
365
434
  /* The sections share the row, and wrap to a second one when their least
366
435
  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. */
436
+ at a narrow desktop, or two link columns, icon rows, and cards on a
437
+ wide wrap), so none is squeezed past reading or pushed out of the card.
438
+ A section's least width is the larger of a readable floor (set on its
439
+ list) and its longest word, so a crowded row wraps a section before any
440
+ label breaks inside a word. It matters only once the row is full, so a
441
+ roomy panel lays out exactly as before. */
370
442
  .atelic-ui .nav-mega-sections {
371
443
  flex: 1;
372
444
  display: flex;
@@ -375,18 +447,28 @@
375
447
  align-items: stretch;
376
448
  min-height: 440px;
377
449
  }
450
+ /* Words in a panel break only as a last resort, never to make a section
451
+ narrower: the root's anywhere (defaults.css, Long words) would let a
452
+ section's least width fall to a single letter. */
453
+ .atelic-ui .nav-mega-card {
454
+ overflow-wrap: break-word;
455
+ }
378
456
  .atelic-ui .nav-mega-sec {
379
457
  min-width: 0;
380
458
  display: flex;
381
459
  flex-direction: column;
382
460
  }
461
+ .atelic-ui .nav-mega-sec:is(.is-links, .is-rows, .is-cards) {
462
+ min-width: auto;
463
+ }
383
464
  .atelic-ui .nav-mega-sec.is-links {
384
465
  flex: 1 1 0;
385
- min-width: 120px;
466
+ }
467
+ .atelic-ui .nav-mega-sec.is-links > ul {
468
+ min-width: min(120px, 100%);
386
469
  }
387
470
  .atelic-ui .nav-mega-sec.is-rows {
388
471
  flex: 2.4 1 0;
389
- min-width: min(320px, 100%);
390
472
  }
391
473
  .atelic-ui .nav-mega-head {
392
474
  display: block;
@@ -421,6 +503,16 @@
421
503
  line-height: 1.35;
422
504
  color: var(--ink-soft);
423
505
  }
506
+ /* A quiet link (a long list, such as the towns under a region): the
507
+ softer words and the regular weight, a little closer together. */
508
+ .atelic-ui .nav-mega-link.is-quiet {
509
+ color: var(--ink-soft);
510
+ padding: 5px 0;
511
+ }
512
+ .atelic-ui .nav-mega-link.is-quiet .nav-mega-label {
513
+ font-weight: var(--weight-regular);
514
+ font-size: 1rem;
515
+ }
424
516
  .atelic-ui .nav-mega-link:hover .nav-mega-label,
425
517
  .atelic-ui .nav-mega-link[aria-current="page"] .nav-mega-label,
426
518
  .atelic-ui a.nav-mega-head[aria-current="page"],
@@ -498,7 +590,8 @@
498
590
  /* Icon rows, two across, one of them set on the primary when it leads. */
499
591
  .atelic-ui .nav-mega-rows {
500
592
  display: grid;
501
- grid-template-columns: repeat(2, minmax(0, 1fr));
593
+ grid-template-columns: repeat(2, minmax(min-content, 1fr));
594
+ min-width: min(320px, 100%);
502
595
  gap: 4px 16px;
503
596
  align-content: start;
504
597
  }
@@ -567,7 +660,6 @@
567
660
  /* Small cards, set off from the sections before them by a rule. */
568
661
  .atelic-ui .nav-mega-sec.is-cards {
569
662
  flex: 1 1 0;
570
- min-width: min(240px, 100%);
571
663
  padding-left: 32px;
572
664
  border-left: 1px solid var(--neutral-100);
573
665
  }
@@ -575,6 +667,8 @@
575
667
  display: flex;
576
668
  flex-direction: column;
577
669
  gap: 12px;
670
+ /* The section's 240px floor, less its rule's padding. */
671
+ min-width: min(208px, 100%);
578
672
  }
579
673
  .atelic-ui .nav-mega-card-link {
580
674
  display: flex;
@@ -639,8 +733,10 @@
639
733
  flex-direction: column;
640
734
  overflow: hidden;
641
735
  border-radius: var(--radius-md);
642
- background: var(--primary-deep);
643
- color: var(--on-primary);
736
+ /* The card's words, resolved on the card, below any band. */
737
+ --_menu-card-ink: var(--menu-card-ink, var(--on-primary));
738
+ background: var(--menu-card-bg, var(--primary-deep));
739
+ color: var(--_menu-card-ink);
644
740
  }
645
741
  .atelic-ui .nav-feature-img {
646
742
  flex: 1 1 0;
@@ -663,7 +759,7 @@
663
759
  letter-spacing: 0.1em;
664
760
  text-transform: uppercase;
665
761
  /* The bright primary on the card's deep primary is under 2 to 1. */
666
- color: var(--on-primary);
762
+ color: var(--_menu-card-ink);
667
763
  }
668
764
  .atelic-ui .nav-feature-title {
669
765
  font-size: 1.3rem;
@@ -675,7 +771,7 @@
675
771
  .atelic-ui .nav-feature-text {
676
772
  font-size: 0.95rem;
677
773
  line-height: 1.45;
678
- color: var(--on-primary);
774
+ color: var(--_menu-card-ink);
679
775
  }
680
776
  /* The ticked points: the tick bare and the words both in the card's own
681
777
  words color, since the bright primary all but vanishes on the deep
@@ -688,7 +784,7 @@
688
784
  }
689
785
  .atelic-ui .nav-feature .nav-feature-points li {
690
786
  gap: 10px;
691
- color: var(--on-primary);
787
+ color: var(--_menu-card-ink);
692
788
  }
693
789
  .atelic-ui .nav-feature .nav-feature-points .tick {
694
790
  width: 16px;
@@ -696,7 +792,7 @@
696
792
  margin-top: 3px;
697
793
  background: none;
698
794
  box-shadow: none;
699
- color: var(--on-primary);
795
+ color: var(--_menu-card-ink);
700
796
  }
701
797
  .atelic-ui .nav-feature-cta {
702
798
  margin-top: 8px;
@@ -712,7 +808,7 @@
712
808
  display: inline-flex;
713
809
  align-items: center;
714
810
  gap: 8px;
715
- padding: 6px 16px 6px 12px;
811
+ padding: var(--nav-phone-pad);
716
812
  border-radius: var(--radius-pill);
717
813
  box-shadow: inset 0 0 0 1.5px var(--neutral-300);
718
814
  white-space: nowrap;
@@ -738,7 +834,7 @@
738
834
  }
739
835
  .atelic-ui .nav-phone-number {
740
836
  font-weight: var(--weight-bold);
741
- font-size: 0.95rem;
837
+ font-size: var(--nav-phone-size);
742
838
  }
743
839
  .atelic-ui .nav-call {
744
840
  display: inline-flex;
@@ -796,13 +892,16 @@
796
892
 
797
893
  /* The burger folds into an X while the menu is open. State lives on the
798
894
  button's own aria-expanded, so no extra class plumbing. */
799
- .atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(1) {
895
+ .atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(1),
896
+ .atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(1) {
800
897
  transform: translateY(7px) rotate(45deg);
801
898
  }
802
- .atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(2) {
899
+ .atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(2),
900
+ .atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(2) {
803
901
  opacity: 0;
804
902
  }
805
- .atelic-ui .nav-burger[aria-expanded="true"] span:nth-child(3) {
903
+ .atelic-ui .nav-burger[aria-expanded="true"]:not(.has-label) > span:nth-child(3),
904
+ .atelic-ui .nav-burger[aria-expanded="true"] > .nav-burger-lines > span:nth-child(3) {
806
905
  transform: translateY(-7px) rotate(-45deg);
807
906
  }
808
907
 
@@ -821,6 +920,9 @@
821
920
  border: 0;
822
921
  background: var(--surface-dark);
823
922
  color: var(--surface);
923
+ /* The call to action's fill, read three times (rest, hover, press),
924
+ resolved once here on the sheet, below any band. */
925
+ --_menu-cta-bg: var(--menu-cta-bg, var(--primary-fill, var(--primary)));
824
926
  flex-direction: column;
825
927
  padding: calc(var(--nav-height) + 20px) var(--gutter) 40px;
826
928
  overflow-y: auto;
@@ -863,9 +965,11 @@
863
965
  background: currentColor;
864
966
  border-radius: 2px;
865
967
  }
968
+ /* biome-ignore lint/style/noDescendingSpecificity: scoped to the menu's close button, which never meets the burger's lines */
866
969
  .atelic-ui .mobile-menu .mm-close span:nth-child(1) {
867
970
  transform: translateY(3.5px) rotate(45deg);
868
971
  }
972
+ /* biome-ignore lint/style/noDescendingSpecificity: scoped to the menu's close button, which never meets the burger's lines */
869
973
  .atelic-ui .mobile-menu .mm-close span:nth-child(2) {
870
974
  transform: translateY(-3.5px) rotate(-45deg);
871
975
  }
@@ -890,6 +994,20 @@
890
994
  .atelic-ui .mobile-menu .mm-cta {
891
995
  margin-top: 28px;
892
996
  }
997
+ /* The menu's call to action reads --menu-cta-bg and --menu-cta-ink,
998
+ defaulting to the primary button it always was. A theme whose sheet's
999
+ ground is its primary sets them to --on-primary and --primary-ink, or
1000
+ the button vanishes into the sheet. */
1001
+ .atelic-ui .mobile-menu .mm-cta.btn-primary {
1002
+ background: var(--_menu-cta-bg);
1003
+ color: var(--menu-cta-ink, var(--on-primary));
1004
+ }
1005
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:hover {
1006
+ background: color-mix(in srgb, var(--_menu-cta-bg) 84%, var(--shade));
1007
+ }
1008
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:active {
1009
+ background: color-mix(in srgb, var(--_menu-cta-bg) 74%, var(--shade));
1010
+ }
893
1011
  .atelic-ui .mobile-menu .mm-contact {
894
1012
  margin-top: auto;
895
1013
  font-family: var(--font-mono);
@@ -988,12 +1106,16 @@
988
1106
  border-bottom: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
989
1107
  border-bottom-left-radius: 6px;
990
1108
  }
1109
+ /* The phone menu's badge reads --menu-badge-bg and --menu-badge-ink,
1110
+ defaulting to the primary pill it always was. A theme whose sheet's
1111
+ ground is its primary sets them to --on-primary and --primary-ink, or
1112
+ the pill vanishes into the sheet. */
991
1113
  .atelic-ui .mobile-menu .mm-badge {
992
1114
  flex: none;
993
1115
  padding: 3px 9px;
994
1116
  border-radius: var(--radius-pill);
995
- background: var(--primary-fill, var(--primary));
996
- color: var(--on-primary);
1117
+ background: var(--menu-badge-bg, var(--primary-fill, var(--primary)));
1118
+ color: var(--menu-badge-ink, var(--on-primary));
997
1119
  font-family: var(--font-mono);
998
1120
  font-size: 0.66rem;
999
1121
  font-weight: var(--weight-semibold);
@@ -1002,6 +1124,184 @@
1002
1124
  text-transform: uppercase;
1003
1125
  }
1004
1126
 
1127
+ /* The link to the page being read is marked for the eye as well as by
1128
+ aria-current, on either sheet: the 2px underline the bar marks its
1129
+ current entry with, under the words alone (a plain entry's number and
1130
+ a link's badge stay clear of it). */
1131
+ .atelic-ui
1132
+ .mobile-menu
1133
+ :is(.mm-link, .mm-group-link, .mm-group-sub)[aria-current="page"]
1134
+ .mm-label,
1135
+ .atelic-ui .mobile-menu .mm-group-all[aria-current="page"] {
1136
+ text-decoration-line: underline;
1137
+ text-decoration-thickness: 2px;
1138
+ text-underline-offset: 6px;
1139
+ }
1140
+
1141
+ /* ---- The light menu sheet (SiteMenu surface="light") ----
1142
+ The page's own ground and ink: the lockup and a round close button
1143
+ across the top, the entries as rows under hairlines, and a foot on the
1144
+ alternate ground, pushed to the sheet's bottom when the list is short
1145
+ and following it when an open group runs long. Every rule restyles the
1146
+ dark sheet's own classes, so the two share their markup and behavior. */
1147
+ .atelic-ui .mobile-menu.is-light {
1148
+ /* The bar's own width and gutter, so the top row sits where the bar's
1149
+ lockup and burger sit, and the row dividers' rule. */
1150
+ --_header-max: var(--header-max, var(--max-width));
1151
+ --_header-gutter: var(--header-gutter, var(--gutter));
1152
+ --_menu-rule: var(--menu-rule, var(--hairline));
1153
+ background: var(--surface);
1154
+ color: var(--ink);
1155
+ padding: 0;
1156
+ }
1157
+ /* The top row is the bar: as tall, its content inset as the bar's wrap
1158
+ insets it, so opening the sheet moves neither the lockup nor the
1159
+ button under the reader's thumb. The rule under it is a shadow, as the
1160
+ bar's is, so it takes none of the height. */
1161
+ .atelic-ui .mobile-menu.is-light .mm-top {
1162
+ flex: none;
1163
+ display: flex;
1164
+ align-items: center;
1165
+ justify-content: space-between;
1166
+ gap: 16px;
1167
+ height: var(--nav-height);
1168
+ padding-block: 0;
1169
+ padding-inline: max(
1170
+ var(--_header-gutter),
1171
+ calc((100% - var(--_header-max)) / 2 + var(--_header-gutter))
1172
+ );
1173
+ box-shadow: 0 1px 0 var(--hairline-strong);
1174
+ }
1175
+ /* The lockup's mark drawn for the light ground, flattened to ink when the
1176
+ brand gave only a light cut, as the light bar draws it. */
1177
+ /* biome-ignore lint/style/noDescendingSpecificity: scoped to the light sheet, so it never meets the header bar's tint rules */
1178
+ .atelic-ui .mobile-menu.is-light .nav-logo .mark.is-tinted {
1179
+ filter: brightness(0) saturate(1);
1180
+ }
1181
+ .atelic-ui .mobile-menu.is-light .mm-close {
1182
+ position: static;
1183
+ flex: none;
1184
+ align-items: center;
1185
+ justify-content: center;
1186
+ width: 44px;
1187
+ height: 44px;
1188
+ padding: 0;
1189
+ margin-left: auto;
1190
+ border-radius: 50%;
1191
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
1192
+ color: var(--ink);
1193
+ }
1194
+ .atelic-ui .mobile-menu.is-light .mm-close:hover {
1195
+ box-shadow: inset 0 0 0 1.5px var(--ink);
1196
+ }
1197
+ .atelic-ui .mobile-menu.is-light .mm-list {
1198
+ padding: 4px var(--gutter) 24px;
1199
+ }
1200
+ /* A row: the group's label (or a plain entry) bold in ink at a moderate
1201
+ size, a chevron at the right, a hairline under it. */
1202
+ .atelic-ui .mobile-menu.is-light .mm-link {
1203
+ min-height: 60px;
1204
+ padding: 12px 0;
1205
+ gap: 12px;
1206
+ font-size: 1.3rem;
1207
+ font-weight: var(--weight-bold);
1208
+ letter-spacing: -0.01em;
1209
+ border-bottom: 1px solid var(--_menu-rule);
1210
+ }
1211
+ .atelic-ui .mobile-menu.is-light .mm-group {
1212
+ border-bottom: 1px solid var(--_menu-rule);
1213
+ }
1214
+ .atelic-ui .mobile-menu.is-light .mm-group-btn {
1215
+ border-bottom: 0;
1216
+ }
1217
+ /* biome-ignore lint/style/noDescendingSpecificity: scoped to the light sheet, where it restyles the dark sheet's chevron */
1218
+ .atelic-ui .mobile-menu.is-light .mm-chevron {
1219
+ color: var(--ink-soft);
1220
+ }
1221
+ /* The open group's label and chevron take the primary's words. */
1222
+ .atelic-ui .mobile-menu.is-light .mm-group-btn[aria-expanded="true"],
1223
+ .atelic-ui .mobile-menu.is-light .mm-group-btn[aria-expanded="true"] .mm-chevron {
1224
+ color: var(--primary-ink, var(--primary));
1225
+ }
1226
+ .atelic-ui .mobile-menu.is-light .mm-group-panel {
1227
+ gap: 14px;
1228
+ padding: 0 0 18px;
1229
+ }
1230
+ .atelic-ui .mobile-menu.is-light .mm-group-all {
1231
+ font-size: 1.06rem;
1232
+ font-weight: var(--weight-semibold);
1233
+ color: var(--primary-ink, var(--primary));
1234
+ }
1235
+ /* A section's heading: a small quiet caps label. */
1236
+ .atelic-ui .mobile-menu.is-light .mm-group-head {
1237
+ color: var(--ink-soft);
1238
+ font-size: 0.72rem;
1239
+ }
1240
+ .atelic-ui .mobile-menu.is-light .mm-group-link {
1241
+ font-size: 1.06rem;
1242
+ color: var(--ink);
1243
+ }
1244
+ .atelic-ui .mobile-menu.is-light .mm-group-sub {
1245
+ color: var(--ink-soft);
1246
+ font-size: 1rem;
1247
+ }
1248
+ .atelic-ui .mobile-menu.is-light .mm-group-sub::before {
1249
+ border-color: var(--neutral-300);
1250
+ }
1251
+ /* A quiet link (the towns under a region): the softer words and the
1252
+ regular weight, as the desktop panel sets it. */
1253
+ .atelic-ui .mobile-menu.is-light .mm-group-link.is-quiet {
1254
+ font-weight: var(--weight-regular);
1255
+ color: var(--ink-soft);
1256
+ }
1257
+ /* The current page keeps the primary's words on the light ground, where
1258
+ the bright primary the dark sheet uses would vanish. */
1259
+ .atelic-ui .mobile-menu.is-light .mm-group-link[aria-current="page"],
1260
+ .atelic-ui .mobile-menu.is-light .mm-group-sub[aria-current="page"] {
1261
+ color: var(--primary-ink, var(--primary));
1262
+ }
1263
+ .atelic-ui .mobile-menu.is-light .mm-foot {
1264
+ margin-top: auto;
1265
+ display: flex;
1266
+ flex-direction: column;
1267
+ gap: 12px;
1268
+ padding: 16px var(--gutter) max(24px, env(safe-area-inset-bottom));
1269
+ background: var(--surface-alt);
1270
+ border-top: 1px solid var(--hairline-strong);
1271
+ }
1272
+ .atelic-ui .mobile-menu.is-light .mm-cta {
1273
+ width: 100%;
1274
+ margin-top: 0;
1275
+ justify-content: center;
1276
+ }
1277
+ /* A number's card: an outlined card, the number's words as a small caps
1278
+ line over the number, the whole card one tel link. */
1279
+ .atelic-ui .mobile-menu.is-light .mm-phone-card {
1280
+ display: flex;
1281
+ flex-direction: column;
1282
+ gap: 2px;
1283
+ padding: 10px 14px;
1284
+ border-radius: var(--radius-md);
1285
+ box-shadow: inset 0 0 0 1.5px var(--neutral-300);
1286
+ background: var(--card);
1287
+ color: var(--ink);
1288
+ }
1289
+ .atelic-ui .mobile-menu.is-light .mm-phone-card:hover {
1290
+ box-shadow: inset 0 0 0 1.5px var(--ink);
1291
+ }
1292
+ .atelic-ui .mobile-menu.is-light .mm-phone-label {
1293
+ font-family: var(--font-mono);
1294
+ font-size: 0.68rem;
1295
+ font-weight: var(--weight-medium);
1296
+ letter-spacing: 0.08em;
1297
+ text-transform: uppercase;
1298
+ color: var(--ink-soft);
1299
+ }
1300
+ .atelic-ui .mobile-menu.is-light .mm-phone-number {
1301
+ font-size: 1rem;
1302
+ font-weight: var(--weight-bold);
1303
+ }
1304
+
1005
1305
  /* ---- Sticky CTA bar (phones only) ---- */
1006
1306
  .atelic-ui .sticky-cta {
1007
1307
  position: fixed;
@@ -1049,6 +1349,12 @@
1049
1349
  align-items: flex-end;
1050
1350
  gap: 12px;
1051
1351
  }
1352
+ /* The launcher steps aside while either phone menu sheet is open. The
1353
+ sheet already covers it from the top layer; hidden, it never shows
1354
+ through the slide in, and is out of reach as well as out of sight. */
1355
+ .atelic-ui:has(dialog.mobile-menu[open]) .contact-dock {
1356
+ visibility: hidden;
1357
+ }
1052
1358
  /* Positioned, so it paints over the phone's sheet, which is fixed. */
1053
1359
  .atelic-ui .cd-launch {
1054
1360
  position: relative;
@@ -1122,12 +1428,16 @@
1122
1428
  outline: 2px solid var(--on-primary);
1123
1429
  outline-offset: -2px;
1124
1430
  }
1431
+ /* A heading by role (ContactDock.tsx says why), so it carries the whole
1432
+ of its look, the balance and the margin an h2 took included. */
1125
1433
  .atelic-ui .cd-panel .cd-title {
1434
+ margin: 0;
1126
1435
  font-family: var(--font-sans);
1127
1436
  font-size: 1.15rem;
1128
1437
  font-weight: var(--weight-bold);
1129
1438
  letter-spacing: 0;
1130
1439
  line-height: 1.2;
1440
+ text-wrap: balance;
1131
1441
  color: var(--on-primary);
1132
1442
  }
1133
1443
  .atelic-ui .cd-sub {
@@ -1245,7 +1555,15 @@
1245
1555
  }
1246
1556
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .footer, so it never meets the header's link rules */
1247
1557
  .atelic-ui .footer a:hover {
1248
- color: var(--on-dark);
1558
+ color: var(--footer-link-hover, var(--on-dark));
1559
+ }
1560
+ /* A theme whose links are the hover's color already marks the hover by a
1561
+ line instead (--footer-link-hover-decoration: underline), on the column
1562
+ links and the contact lines; the rating link keeps its own underline. */
1563
+ /* biome-ignore lint/style/noDescendingSpecificity: scoped to the footer, so it never meets the header's link rules */
1564
+ .atelic-ui .footer :is(nav, .nap) a:hover {
1565
+ text-decoration-line: var(--footer-link-hover-decoration);
1566
+ text-underline-offset: 4px;
1249
1567
  }
1250
1568
  /* One grid: the brand column, then the link columns, however many the
1251
1569
  footer was given. A phone stacks the brand column over two across. */
@@ -1272,7 +1590,7 @@
1272
1590
  margin: 0 0 14px;
1273
1591
  }
1274
1592
  .atelic-ui .footer-brand img {
1275
- height: 38px;
1593
+ height: var(--footer-mark-height);
1276
1594
  margin-bottom: 18px;
1277
1595
  }
1278
1596
  .atelic-ui .footer-rating {
@@ -1290,12 +1608,49 @@
1290
1608
  gap: 2px;
1291
1609
  color: var(--star-fill, var(--review-gold));
1292
1610
  }
1611
+ /* A rating linked to the Google profile: the stars and the words one
1612
+ link, laid out as the plain line is. */
1613
+ .atelic-ui .footer .footer-rating-link {
1614
+ display: inline-flex;
1615
+ align-items: center;
1616
+ gap: 10px;
1617
+ color: var(--on-dark);
1618
+ text-decoration-line: underline;
1619
+ text-decoration-color: color-mix(in srgb, var(--on-dark) 40%, transparent);
1620
+ text-underline-offset: 4px;
1621
+ }
1622
+ .atelic-ui .footer .footer-rating-link:hover {
1623
+ text-decoration-color: currentColor;
1624
+ }
1625
+ /* The hours, a column of their own beside the links: each row's days over
1626
+ or beside its range, whichever the column's width allows. */
1627
+ .atelic-ui .footer-hours dl {
1628
+ display: flex;
1629
+ flex-direction: column;
1630
+ gap: 8px;
1631
+ margin: 0;
1632
+ font-size: 0.9rem;
1633
+ line-height: 1.4;
1634
+ }
1635
+ .atelic-ui .footer-hours dl > div {
1636
+ display: flex;
1637
+ flex-wrap: wrap;
1638
+ column-gap: 8px;
1639
+ }
1640
+ .atelic-ui .footer-hours dt {
1641
+ color: var(--on-dark);
1642
+ font-weight: var(--weight-medium);
1643
+ }
1644
+ .atelic-ui .footer-hours dd {
1645
+ margin: 0;
1646
+ color: var(--neutral-200);
1647
+ }
1293
1648
  .atelic-ui .footer nav a {
1294
1649
  display: flex;
1295
1650
  align-items: center;
1296
1651
  gap: 10px;
1297
1652
  padding: 6px 0;
1298
- color: var(--neutral-200);
1653
+ color: var(--footer-link, var(--neutral-200));
1299
1654
  font-weight: var(--weight-medium);
1300
1655
  }
1301
1656
  .atelic-ui .footer nav a svg {
@@ -1309,24 +1664,57 @@
1309
1664
  font-style: normal;
1310
1665
  color: var(--neutral-200);
1311
1666
  }
1667
+ /* --footer-nap-weight keeps its defaults at the reads: the links' is
1668
+ semibold and the plain address's is inherited, two looks one token
1669
+ restyles together, and no custom property can hold inherit. */
1312
1670
  .atelic-ui .footer .nap a {
1313
1671
  color: var(--on-dark);
1314
- font-weight: var(--weight-semibold);
1315
- }
1672
+ font-weight: var(--footer-nap-weight, var(--weight-semibold));
1673
+ }
1674
+ /* An address with no profile to link takes the token too, and otherwise
1675
+ the column's own weight, as it always has. */
1676
+ .atelic-ui .footer .nap span.nap-address {
1677
+ font-weight: var(--footer-nap-weight, inherit);
1678
+ }
1679
+ /* A word in a column breaks only as a last resort, never to make the
1680
+ column narrower: each column's least width is its longest word (an
1681
+ icon and a one word label together), so a crowded row wraps a column
1682
+ to the next row before a label breaks inside a word. An email address
1683
+ offers its own breaks, after the @ and before each dot (Footer.tsx). */
1316
1684
  .atelic-ui .footer-grid > * {
1317
- overflow-wrap: anywhere;
1685
+ overflow-wrap: break-word;
1318
1686
  }
1319
1687
  .atelic-ui .footer .nap-address {
1320
1688
  display: flex;
1321
1689
  flex-direction: column;
1322
1690
  }
1691
+ /* From 760px one row that wraps: the brand column at 1.4 shares, each
1692
+ other column at one, as the grid laid them out, but a column never
1693
+ narrows past its longest word; when the row cannot hold every column
1694
+ at that, the last wraps to a second row rather than squeeze. */
1323
1695
  @media (min-width: 760px) {
1324
1696
  .atelic-ui .footer-grid {
1325
- grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-columns, 4), minmax(0, 1fr));
1697
+ display: flex;
1698
+ flex-wrap: wrap;
1326
1699
  gap: 48px 32px;
1327
1700
  }
1328
- .atelic-ui .footer-brand {
1329
- grid-column: auto;
1701
+ .atelic-ui .footer-grid > * {
1702
+ flex: 1 1 0;
1703
+ }
1704
+ .atelic-ui .footer-grid > .footer-brand {
1705
+ flex-grow: 1.4;
1706
+ }
1707
+ /* With the hours beside the four link columns a tablet has no room for
1708
+ the brand column too, so it keeps the row above them until 1100px. */
1709
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1710
+ flex-basis: 100%;
1711
+ }
1712
+ }
1713
+ /* One row from 1100px, the brand column a little wider than without the
1714
+ hours, so the lockup and the rating keep a line each. */
1715
+ @media (min-width: 1100px) {
1716
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1717
+ flex: 2 1 0;
1330
1718
  }
1331
1719
  }
1332
1720
  /* Text wordmark for a site with no mark image. */
@@ -1337,6 +1725,20 @@
1337
1725
  letter-spacing: -0.045em;
1338
1726
  margin-bottom: 18px;
1339
1727
  }
1728
+ /* The header's lockup on the band: the mark at the footer's mark height,
1729
+ the wordmark beside it, and the brand's name never broken in a word. */
1730
+ .atelic-ui .footer-lockup {
1731
+ display: flex;
1732
+ align-items: center;
1733
+ gap: 12px;
1734
+ overflow-wrap: normal;
1735
+ }
1736
+ .atelic-ui .footer-brand .footer-lockup .mark {
1737
+ display: block;
1738
+ flex: none;
1739
+ width: auto;
1740
+ margin-bottom: 0;
1741
+ }
1340
1742
 
1341
1743
  /* ---- Closing bar ---- */
1342
1744
  /* The line that closes every page, below the footer or after a document's
@@ -1375,11 +1777,17 @@
1375
1777
  }
1376
1778
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the footer's link rules */
1377
1779
  .atelic-ui .closing-bar a {
1378
- color: var(--neutral-300);
1780
+ color: var(--closing-link, var(--neutral-300));
1379
1781
  font-weight: var(--weight-medium);
1380
1782
  }
1783
+ /* The credit's link sits inside a sentence, so it is underlined, never
1784
+ marked by its color alone. */
1785
+ .atelic-ui .closing-bar .credit a {
1786
+ text-decoration-line: underline;
1787
+ text-underline-offset: 3px;
1788
+ }
1381
1789
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
1382
1790
  .atelic-ui .closing-bar a:hover {
1383
- color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
1791
+ color: var(--closing-link-hover, color-mix(in srgb, var(--surface) 96%, var(--on-dark)));
1384
1792
  }
1385
1793
  }