@mkbabb/glass-ui 3.13.0 → 4.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 (304) hide show
  1. package/dist/CardAction-XH4YBVEK.js +158 -0
  2. package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DdtWXxOK.js} +57 -52
  3. package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-B0Vs6atR.js} +1 -1
  4. package/dist/{DataTable-BCddn3T3.js → DataTable-C464Zbqd.js} +99 -97
  5. package/dist/DialogContent-DDE6pQBU.js +103 -0
  6. package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-8eZbdmPc.js} +1 -1
  7. package/dist/FadingScroll-DwNnvKMs.js +76 -0
  8. package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-Dpzwvc4t.js} +1 -1
  9. package/dist/IconChip-BDw1j5mu.js +54 -0
  10. package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-BpC0R_Ec.js} +1 -1
  11. package/dist/{Notification-DdwNxIrI.js → Notification-DKjKsQq8.js} +8 -8
  12. package/dist/{NumberFieldContent-CqaN-SvN.js → NumberFieldContent-1VtwDSgf.js} +1 -1
  13. package/dist/PopoverContent-BTorlp--.js +127 -0
  14. package/dist/{Progress-DwlUKGbr.js → Progress-hAT4gqGH.js} +97 -77
  15. package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-CUVFTWk2.js} +2 -2
  16. package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-C1jb3b3K.js} +22 -6
  17. package/dist/{Switch-CsIuYP_e.js → Switch-Dr--uLGH.js} +1 -1
  18. package/dist/{Toaster-D6q4HtXu.js → Toaster-Bm_HQSpc.js} +6 -6
  19. package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-Dzk9hWsF.js} +1 -1
  20. package/dist/animated-digit.js +2 -2
  21. package/dist/api/index.d.ts +8 -5
  22. package/dist/api.js +2 -2
  23. package/dist/aurora.js +132 -117
  24. package/dist/{button-ChXMfsud.js → button-BNDWhAZb.js} +2 -2
  25. package/dist/button.js +1 -1
  26. package/dist/card.js +1 -1
  27. package/dist/carousel.d.ts +1 -1
  28. package/dist/carousel.js +97 -141
  29. package/dist/collapsible.js +1 -1
  30. package/dist/color-swatch.d.ts +1 -0
  31. package/dist/color-swatch.js +47 -0
  32. package/dist/color.js +1 -1
  33. package/dist/command.js +1 -1
  34. package/dist/components/custom/aurora/constants/presets.d.ts +28 -0
  35. package/dist/components/custom/aurora/constants/renderMode.d.ts +2 -0
  36. package/dist/components/custom/aurora/index.d.ts +1 -1
  37. package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
  38. package/dist/components/custom/color-swatch/index.d.ts +1 -0
  39. package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
  40. package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
  41. package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
  42. package/dist/components/custom/constellation/constellationField.d.ts +2 -369
  43. package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
  44. package/dist/components/custom/constellation/index.d.ts +1 -1
  45. package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
  46. package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
  47. package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
  48. package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
  49. package/dist/components/custom/dock/constants.d.ts +35 -0
  50. package/dist/components/custom/dock/index.d.ts +2 -0
  51. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
  52. package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
  53. package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
  54. package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
  55. package/dist/components/custom/fading-scroll/index.d.ts +2 -0
  56. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +7 -0
  57. package/dist/components/custom/fourier-field/index.d.ts +1 -1
  58. package/dist/components/custom/fourier-field/math.d.ts +17 -0
  59. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +8 -0
  60. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -1
  61. package/dist/components/custom/goo-blob/constants.d.ts +6 -1
  62. package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
  63. package/dist/components/custom/handmark/brush.d.ts +269 -0
  64. package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
  65. package/dist/components/custom/handmark/constants.d.ts +39 -0
  66. package/dist/components/custom/handmark/freehand.d.ts +69 -0
  67. package/dist/components/custom/handmark/geometry.d.ts +52 -0
  68. package/dist/components/custom/handmark/index.d.ts +27 -0
  69. package/dist/components/custom/handmark/ink.d.ts +11 -0
  70. package/dist/components/custom/handmark/texture.d.ts +39 -0
  71. package/dist/components/custom/handmark/types.d.ts +62 -0
  72. package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
  73. package/dist/components/custom/icon-chip/index.d.ts +2 -0
  74. package/dist/components/custom/icon-chip/types.d.ts +72 -0
  75. package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +15 -2
  76. package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
  77. package/dist/components/custom/pager-dots/index.d.ts +2 -0
  78. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +20 -25
  79. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
  80. package/dist/components/custom/tabs/constants.d.ts +9 -3
  81. package/dist/components/custom/tabs/index.d.ts +1 -1
  82. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +14 -0
  83. package/dist/components/ui/_shared/index.d.ts +2 -0
  84. package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
  85. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
  86. package/dist/components/ui/card/Card.vue.d.ts +1 -1
  87. package/dist/components/ui/carousel/index.d.ts +0 -1
  88. package/dist/components/ui/command/Command.vue.d.ts +3 -0
  89. package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
  90. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +5 -0
  91. package/dist/components/ui/index.d.ts +0 -1
  92. package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
  93. package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
  94. package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
  95. package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
  96. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
  97. package/dist/composables/dark/index.d.ts +1 -1
  98. package/dist/composables/dark/useGlobalDark.d.ts +23 -1
  99. package/dist/composables/motion/useViewTransition.d.ts +36 -1
  100. package/dist/configurator.js +1 -1
  101. package/dist/confirm-dialog.js +2 -2
  102. package/dist/constellation.js +92 -94
  103. package/dist/context-menu.js +2 -2
  104. package/dist/controls.js +10 -4
  105. package/dist/dark.d.ts +1 -1
  106. package/dist/dark.js +1 -1
  107. package/dist/data-table.js +1 -1
  108. package/dist/dialog.js +2 -2
  109. package/dist/dock.js +510 -321
  110. package/dist/{dockContext-BegmJVmx.js → dockContext-Bu1Avy-a.js} +1 -1
  111. package/dist/dom.js +5 -5
  112. package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-BJ7E9js_.js} +2 -2
  113. package/dist/dropdown-menu.js +1 -1
  114. package/dist/expandable-container.js +42 -38
  115. package/dist/fading-scroll.d.ts +1 -0
  116. package/dist/fading-scroll.js +2 -0
  117. package/dist/forms.js +3 -3
  118. package/dist/fourier-field.js +38 -37
  119. package/dist/fourier-math.js +2 -2
  120. package/dist/glass-panel.js +39 -36
  121. package/dist/glass-ui.css +1 -1
  122. package/dist/glass-ui.js +129 -145
  123. package/dist/goo-blob.js +86 -81
  124. package/dist/handmark.d.ts +1 -0
  125. package/dist/handmark.js +707 -0
  126. package/dist/header-ribbon.js +1 -1
  127. package/dist/hover-card.js +1 -1
  128. package/dist/hover-popover.js +1 -1
  129. package/dist/icon-chip.d.ts +1 -0
  130. package/dist/icon-chip.js +2 -0
  131. package/dist/icon-tooltip.js +1 -1
  132. package/dist/index.d.ts +2 -2
  133. package/dist/keyboard.js +1 -1
  134. package/dist/label.js +1 -1
  135. package/dist/labeled-field.js +6 -6
  136. package/dist/{math-U6-RrLmV.js → math-DeuJwLFx.js} +11 -3
  137. package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-DWRQXBxJ.js} +10 -4
  138. package/dist/metric-badge.js +1 -1
  139. package/dist/metric-cell.js +25 -22
  140. package/dist/metric-stack.js +1 -1
  141. package/dist/motion-core.js +33 -32
  142. package/dist/motion-curves.js +1 -1
  143. package/dist/motion.js +4 -4
  144. package/dist/notification.js +1 -1
  145. package/dist/number-field.js +1 -1
  146. package/dist/pager-dots.d.ts +1 -0
  147. package/dist/pager-dots.js +91 -0
  148. package/dist/paper-backdrop.js +1 -1
  149. package/dist/popover.js +1 -1
  150. package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
  151. package/dist/progress.js +1 -1
  152. package/dist/pulse.js +1 -1
  153. package/dist/reactive.js +2 -2
  154. package/dist/scrolling-text.js +1 -1
  155. package/dist/search.js +5 -5
  156. package/dist/select.js +3 -3
  157. package/dist/separator.js +1 -1
  158. package/dist/{sheet-1fChZjtw.js → sheet-CquRYOAw.js} +59 -55
  159. package/dist/sheet.js +1 -1
  160. package/dist/{slider-B-JP2JlI.js → slider-DQ95MET2.js} +7 -7
  161. package/dist/slider.js +1 -1
  162. package/dist/sortable-list.js +3 -3
  163. package/dist/styles/animations.css +11 -26
  164. package/dist/styles/components.css +1 -1
  165. package/dist/styles/configurator.css +35 -0
  166. package/dist/styles/dock/density.css +19 -0
  167. package/dist/styles/dock/overflow.css +15 -0
  168. package/dist/styles/dock/rail-extend.css +168 -71
  169. package/dist/styles/dock/section.css +59 -0
  170. package/dist/styles/dock/shell.css +34 -5
  171. package/dist/styles/dock-controls/icon-button.css +11 -1
  172. package/dist/styles/dock-controls/tab-button.css +24 -83
  173. package/dist/styles/dock-controls/triggers.css +7 -0
  174. package/dist/styles/dock.css +6 -3
  175. package/dist/styles/drawer.css +46 -0
  176. package/dist/styles/feedback-tone.css +104 -0
  177. package/dist/styles/glass/ladder.css +68 -22
  178. package/dist/styles/glass/surface-axis.css +113 -0
  179. package/dist/styles/glass/surfaces.css +88 -12
  180. package/dist/styles/glass.css +5 -2
  181. package/dist/styles/icon-chip.css +149 -0
  182. package/dist/styles/index.css +67 -5
  183. package/dist/styles/instrument-chassis.css +42 -0
  184. package/dist/styles/menu.css +127 -0
  185. package/dist/styles/segmented-tabs.css +160 -89
  186. package/dist/styles/select.css +50 -0
  187. package/dist/styles/theme/bridges.css +11 -1
  188. package/dist/styles/tokens/color-radius.css +40 -13
  189. package/dist/styles/tokens/dark-arm.css +124 -16
  190. package/dist/styles/tokens/glass.css +83 -23
  191. package/dist/styles/tokens/light-dark.css +48 -19
  192. package/dist/styles/tokens/offsets-sizing.css +62 -0
  193. package/dist/styles/tokens/property-regs.css +3 -10
  194. package/dist/styles/tokens/scale-paper.css +45 -2
  195. package/dist/styles/tokens/scheme-motion.css +32 -14
  196. package/dist/styles/transitions.css +7 -7
  197. package/dist/styles/typography/scale.css +153 -0
  198. package/dist/styles/typography/semantic.css +220 -0
  199. package/dist/styles/typography/utilities.css +159 -0
  200. package/dist/styles/typography.css +23 -507
  201. package/dist/styles/utilities/a11y-overrides.css +33 -4
  202. package/dist/styles/utilities/base.css +177 -1
  203. package/dist/styles/utilities/btn.css +18 -201
  204. package/dist/styles/view-transition.css +4 -1
  205. package/dist/switch.js +1 -1
  206. package/dist/tabs.js +154 -183
  207. package/dist/timeline.js +2 -2
  208. package/dist/toast.js +1 -1
  209. package/dist/toggle-chip.js +3 -1
  210. package/dist/toggle-group.js +1 -1
  211. package/dist/typewriter.js +1 -1
  212. package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
  213. package/dist/useConfiguratorState-kiIlun8I.js +303 -0
  214. package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
  215. package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-CdwJ7284.js} +1 -1
  216. package/dist/{useSpringMount-CI2jOstM.js → useSpringMount-CvopqiFr.js} +1 -1
  217. package/dist/useSurfaceAxis-CMnF2zHb.js +7 -0
  218. package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-28Tk2-t2.js} +1 -1
  219. package/dist/{vReveal-CqaCz_mC.js → useViewTransition-COsPjQVZ.js} +15 -12
  220. package/dist/vReveal-D9k0jADx.js +10 -0
  221. package/dist/watercolor-dot.js +12 -5
  222. package/package.json +71 -7
  223. package/src/styles/animations.css +11 -26
  224. package/src/styles/configurator.css +35 -0
  225. package/src/styles/dock/density.css +19 -0
  226. package/src/styles/dock/overflow.css +15 -0
  227. package/src/styles/dock/rail-extend.css +168 -71
  228. package/src/styles/dock/section.css +59 -0
  229. package/src/styles/dock/shell.css +34 -5
  230. package/src/styles/dock-controls/icon-button.css +11 -1
  231. package/src/styles/dock-controls/tab-button.css +24 -83
  232. package/src/styles/dock-controls/triggers.css +7 -0
  233. package/src/styles/dock.css +6 -3
  234. package/src/styles/drawer.css +42 -0
  235. package/src/styles/feedback-tone.css +104 -0
  236. package/src/styles/glass/ladder.css +68 -22
  237. package/src/styles/glass/surface-axis.css +113 -0
  238. package/src/styles/glass/surfaces.css +88 -12
  239. package/src/styles/glass.css +5 -2
  240. package/src/styles/icon-chip.css +149 -0
  241. package/src/styles/index.css +66 -4
  242. package/src/styles/instrument-chassis.css +42 -0
  243. package/src/styles/menu.css +127 -0
  244. package/src/styles/segmented-tabs.css +156 -87
  245. package/src/styles/select.css +50 -0
  246. package/src/styles/theme/bridges.css +11 -1
  247. package/src/styles/tokens/color-radius.css +40 -13
  248. package/src/styles/tokens/dark-arm.css +124 -16
  249. package/src/styles/tokens/glass.css +83 -23
  250. package/src/styles/tokens/light-dark.css +48 -19
  251. package/src/styles/tokens/offsets-sizing.css +62 -0
  252. package/src/styles/tokens/property-regs.css +3 -10
  253. package/src/styles/tokens/scale-paper.css +45 -2
  254. package/src/styles/tokens/scheme-motion.css +32 -14
  255. package/src/styles/transitions.css +7 -7
  256. package/src/styles/typography/scale.css +153 -0
  257. package/src/styles/typography/semantic.css +220 -0
  258. package/src/styles/typography/utilities.css +159 -0
  259. package/src/styles/typography.css +23 -507
  260. package/src/styles/utilities/a11y-overrides.css +33 -4
  261. package/src/styles/utilities/base.css +177 -1
  262. package/src/styles/utilities/btn.css +18 -201
  263. package/src/styles/view-transition.css +4 -1
  264. package/dist/CardAction-Cj2eycQ2.js +0 -157
  265. package/dist/DialogContent-Dl9WkAoS.js +0 -100
  266. package/dist/PopoverContent-BYwt2-4x.js +0 -121
  267. package/dist/TabsList-Dttss653.js +0 -105
  268. package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
  269. package/dist/components/custom/underline/index.d.ts +0 -2
  270. package/dist/components/custom/underline/types.d.ts +0 -56
  271. package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
  272. package/dist/underline.d.ts +0 -1
  273. package/dist/underline.js +0 -85
  274. package/dist/useConfiguratorState-DAoeHVue.js +0 -287
  275. /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-C_s6fG7r.js} +0 -0
  276. /package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-ON3x7cuk.js} +0 -0
  277. /package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-DkMaQzH5.js} +0 -0
  278. /package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-DSjasZIt.js} +0 -0
  279. /package/dist/{Input-DWQQIOC4.js → Input-DVG_J0ne.js} +0 -0
  280. /package/dist/{Label-r3WzWrsj.js → Label-Ck9SWEKM.js} +0 -0
  281. /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-CkPRRgl_.js} +0 -0
  282. /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-nBKe0vkB.js} +0 -0
  283. /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-Dcczq44n.js} +0 -0
  284. /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DK2y1Bun.js} +0 -0
  285. /package/dist/{Separator-0JE6LtNu.js → Separator-BArl4OaB.js} +0 -0
  286. /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-CBt_VvXa.js} +0 -0
  287. /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
  288. /package/dist/{compile-B7NGOBcP.js → compile-EXXzEr1q.js} +0 -0
  289. /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
  290. /package/dist/{createContext-BM46COQ-.js → createContext-B2RaZ-b8.js} +0 -0
  291. /package/dist/{prng-D27-B3tK.js → prng-Cg22zv8g.js} +0 -0
  292. /package/dist/{springPresets--YdWTHtm.js → springPresets-WXaLbu8u.js} +0 -0
  293. /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
  294. /package/dist/{useInterval-iHludrxk.js → useInterval-CNdua40W.js} +0 -0
  295. /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
  296. /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-C12hXwOZ.js} +0 -0
  297. /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-V6nq5gJb.js} +0 -0
  298. /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-NUG2zYAW.js} +0 -0
  299. /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
  300. /package/dist/{useSortable-muI29agz.js → useSortable-BVqlJRBR.js} +0 -0
  301. /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-NmBM5V_4.js} +0 -0
  302. /package/dist/{useTimer-Dzarvzuk.js → useTimer-B_PAasDL.js} +0 -0
  303. /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-CDfJuakL.js} +0 -0
  304. /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-CvBcCYDf.js} +0 -0
@@ -72,10 +72,9 @@
72
72
  --duration-xxl: 1.5s;
73
73
  --duration-shimmer-fast: 3s;
74
74
  --duration-shimmer: 5s;
75
- /* Sparkle micro-event — primary-CTA disco-grain sparkle sweep, success
76
- affirmations. R5 vocab.γ gap row 3 (single-site at dock.css:735 today,
77
- reserved for J.W2.7 §17 audacious-CTA buildout). */
78
- --duration-sparkle: 600ms;
75
+ /* BA.W-GLASS-CAL (H2a) — `--duration-sparkle` (600ms) DELETED with the disco
76
+ recipe retirement: the sparkle-sweep keyframe + its sole `btn-audacious`
77
+ consumer are gone. */
79
78
 
80
79
  /* AH.W5-e (FA-8 §4d) — motion-duration + staged-reveal canon.
81
80
 
@@ -186,6 +185,28 @@
186
185
  --spring-gentle: linear(0, 0.09415 2.041%, 0.27374 4.082%, 0.45506 6.122%, 0.60779 8.163%, 0.72570 10.204%, 0.81213 12.245%, 0.87336 14.286%, 0.91570 16.327%, 0.94445 18.367%, 0.96371 20.408%, 0.97645 22.449%, 0.98481 24.490%, 0.99025 26.531%, 0.99377 28.571%, 0.99604 30.612%, 0.99749 32.653%, 0.99841 34.694%, 0.99900 36.735%, 0.99937 38.776%, 0.99961 40.816%, 0.99975 42.857%, 0.99985 44.898%, 1.00000 46.939%, 1.00000 48.980%, 1.00000 51.020%, 1.00000 53.061%, 1.00000 55.102%, 1.00000 57.143%, 1.00000 59.184%, 1.00000 61.224%, 1.00000 63.265%, 1.00000 65.306%, 1.00000 67.347%, 1.00000 69.388%, 1.00000 71.429%, 1.00000 73.469%, 1.00000 75.510%, 1.00000 77.551%, 1.00000 79.592%, 1.00000 81.633%, 1.00000 83.673%, 1.00000 85.714%, 1.00000 87.755%, 1.00000 89.796%, 1.00000 91.837%, 1.00000 93.878%, 1.00000 95.918%, 1.00000 97.959%, 1);
187
186
  --spring-dock: linear(0, 0.10282 2.041%, 0.31773 4.082%, 0.54783 6.122%, 0.74309 8.163%, 0.88550 10.204%, 0.97598 12.245%, 1.02452 14.286%, 1.04368 16.327%, 1.04501 18.367%, 1.03739 20.408%, 1.02681 22.449%, 1.01672 24.490%, 1.00873 26.531%, 1.00323 28.571%, 0.99996 30.612%, 0.99837 32.653%, 0.99789 34.694%, 0.99805 36.735%, 0.99848 38.776%, 0.99897 40.816%, 0.99940 42.857%, 0.99972 44.898%, 0.99993 46.939%, 1.00004 48.980%, 1.00000 51.020%, 1.00000 53.061%, 1.00000 55.102%, 1.00000 57.143%, 1.00000 59.184%, 1.00000 61.224%, 1.00000 63.265%, 1.00000 65.306%, 1.00000 67.347%, 1.00000 69.388%, 1.00000 71.429%, 1.00000 73.469%, 1.00000 75.510%, 1.00000 77.551%, 1.00000 79.592%, 1.00000 81.633%, 1.00000 83.673%, 1.00000 85.714%, 1.00000 87.755%, 1.00000 89.796%, 1.00000 91.837%, 1.00000 93.878%, 1.00000 95.918%, 1.00000 97.959%, 1);
188
187
 
188
+ /* ── PER-SPRING DURATION CLOCK (BA.W-GLASS-CAL Unit 3) ──
189
+ Generated from `scripts/regen-spring-tokens.mjs` — DO NOT hand-edit.
190
+ Each `--spring-<name>-duration` is the spring's OWN 2%-band envelope-settle
191
+ time `t_s = -ln(0.02) / (ζ·ωₙ)` (ωₙ = 2π/response), derived from the SAME
192
+ (response, ζ) PRESETS table the `--spring-*` `linear()` curves above
193
+ derive from — never a hand value.
194
+
195
+ WHY: the `--spring-<name>` curve is NORMALIZED to 0..1 and discards the
196
+ spring's settle time. Pairing it with a generic `--duration-*` clock
197
+ (0.2/0.3/0.45s) re-timed EVERY spring to the same wall clock — snappy
198
+ (response 0.35s) and smooth (0.5s) both ran 300ms, so the crisp snappy
199
+ register dragged a dead sub-pixel tail (the R10-2 read: within-1px at
200
+ ~109ms but the transition ran 300ms). These clocks re-time UNDER each
201
+ register to its own settle WITHOUT touching the §6 register canon (which
202
+ spring fits which job): a `transition` pairs `--spring-<name>` with the
203
+ matching `--spring-<name>-duration`. */
204
+ --spring-smooth-duration: 0.36s;
205
+ --spring-snappy-duration: 0.34s;
206
+ --spring-bouncy-duration: 0.69s;
207
+ --spring-gentle-duration: 0.44s;
208
+ --spring-dock-duration: 0.28s;
209
+
189
210
  /* Core cubic-bezier (exits, fallbacks, non-spring uses) */
190
211
  --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
191
212
  --motion-ease-out: cubic-bezier(0, 0, 0.2, 1);
@@ -269,15 +290,13 @@
269
290
  /* ═══════════════════════════════════════════════
270
291
  §2.C ANIMATION EXPRESSIVENESS
271
292
 
272
- Three idiom families:
293
+ Two idiom families (the audacious press-ripple RETIRED at BA.W-GLASS-CAL):
273
294
  • Progress lifecycle — the progress bar rides an intake pulse on
274
295
  rising-edge, a crescendo brightening at ≥85%, and a one-shot discharge
275
296
  flash at 100% (the crescendo is the typed `@property --progress-crescendo`).
276
297
  • Chassis phase-tint companion — `@property --phase-tint-amount` so the
277
298
  chassis backdrop warms toward the active phase, interpolating with
278
299
  `--phase-color` across the consumer's phase-handoff window (600ms default).
279
- • Audacious button press-ripple — `btn-audacious` gains a typed
280
- `@property --ripple-radius` ramping 0 → max over the ripple duration.
281
300
  ═══════════════════════════════════════════════ */
282
301
 
283
302
  /* Progress lifecycle — typed crescendo + segment-local durations */
@@ -291,13 +310,12 @@
291
310
  overwhelming the chassis chrome's resting register. */
292
311
  --phase-tint-peak: 6%;
293
312
 
294
- /* Audacious button press-ripple — geometry + duration. The ripple
295
- radius caps at 12rem so an oversized button doesn't paint a
296
- transparent halo beyond its bounds (the parent's `overflow:
297
- hidden` clips the visible region; the cap keeps the gradient
298
- falloff well-defined). */
299
- --ripple-radius-max: 12rem;
300
- --motion-duration-ripple: 340ms;
313
+ /* BA.W-GLASS-CAL (H2a) — the `btn-audacious` press-ripple knobs
314
+ (`--ripple-radius-max` 12rem, `--motion-duration-ripple` 340ms) DELETED
315
+ with the disco recipe retirement: the ripple was btn-audacious-private and
316
+ has no surviving consumer (the calm CTA register's press is the §6
317
+ `--scale-press-btn` scale beat). The `@property --ripple-radius`
318
+ registration retires with it (property-regs.css). */
301
319
 
302
320
  /* Skeleton breath variant — the M.3 "known-imminent" loading
303
321
  register. 6s cycle (the canon ambient rate) so a known-imminent
@@ -23,7 +23,7 @@
23
23
  .fade-slide-enter-active {
24
24
  transition:
25
25
  opacity var(--duration-normal) var(--ease-out),
26
- transform var(--duration-normal) var(--spring-smooth);
26
+ transform var(--spring-smooth-duration) var(--spring-smooth);
27
27
  }
28
28
  .fade-slide-leave-active {
29
29
  transition:
@@ -43,7 +43,7 @@
43
43
  .dialog-scale-enter-active {
44
44
  transition:
45
45
  opacity var(--duration-slow) var(--ease-out),
46
- transform var(--duration-slow) var(--spring-bouncy);
46
+ transform var(--spring-bouncy-duration) var(--spring-bouncy);
47
47
  }
48
48
  .dialog-scale-leave-active {
49
49
  transition:
@@ -63,7 +63,7 @@
63
63
  .pop-enter-active {
64
64
  transition:
65
65
  opacity var(--duration-fast) var(--ease-out),
66
- transform var(--duration-slow) var(--spring-bouncy);
66
+ transform var(--spring-bouncy-duration) var(--spring-bouncy);
67
67
  }
68
68
  .pop-leave-active {
69
69
  transition:
@@ -83,7 +83,7 @@
83
83
  .dropdown-enter-active {
84
84
  transition:
85
85
  opacity var(--duration-instant) var(--ease-out),
86
- transform var(--duration-normal) var(--spring-snappy);
86
+ transform var(--spring-snappy-duration) var(--spring-snappy);
87
87
  }
88
88
  .dropdown-leave-active {
89
89
  transition:
@@ -110,7 +110,7 @@
110
110
  .pane-swap-enter-active {
111
111
  transition:
112
112
  opacity var(--duration-normal) var(--ease-out),
113
- transform var(--duration-normal) var(--spring-smooth);
113
+ transform var(--spring-smooth-duration) var(--spring-smooth);
114
114
  }
115
115
  .pane-swap-leave-active {
116
116
  transition:
@@ -130,7 +130,7 @@
130
130
  .metric-swap-enter-active {
131
131
  transition:
132
132
  opacity var(--duration-normal) var(--ease-out),
133
- transform var(--duration-normal) var(--spring-smooth);
133
+ transform var(--spring-smooth-duration) var(--spring-smooth);
134
134
  }
135
135
  .metric-swap-leave-active {
136
136
  transition:
@@ -145,7 +145,7 @@
145
145
 
146
146
  /* ── Dock entrance utility ── */
147
147
  .dock-in {
148
- animation: dock-in var(--duration-panel) var(--spring-snappy) both;
148
+ animation: dock-in var(--spring-snappy-duration) var(--spring-snappy) both;
149
149
  transform-origin: center bottom;
150
150
  }
151
151
 
@@ -0,0 +1,153 @@
1
+ /* typography/scale.css — the OFL face FILES + the :root --type-* SCALE tokens.
2
+ *
3
+ * Carved from typography.css (BA.W-CARVE2) — the FACE declarations (the
4
+ * calibrated `local()` fallback faces for Plus Jakarta Sans + Fira Code) and
5
+ * the √φ scale-number :root block. @import-ed FIRST by the typography.css thin
6
+ * root (the faces + scale numbers must precede the semantic classes that read
7
+ * them). The carve moves rules in the SAME cascade position → byte-isomorphic
8
+ * dist (the no-god-module import-order gate is the witness). */
9
+
10
+ /* ═══════════════════════════════════════════════
11
+ OFL FACE FILES — Plus Jakarta Sans (brand display)
12
+ ═══════════════════════════════════════════════ */
13
+
14
+ /* The payload-bearing "Plus Jakarta Sans" faces live in `fonts.css`
15
+ (`@mkbabb/glass-ui/styles/fonts`), split off the critical entry path so
16
+ `./styles` does not carry the ~99 KB-gzipped font binary. The calibrated
17
+ `local()` fallback face below carries NO payload, stays on the critical
18
+ path, and paints during the `font-display: optional` window. Its metric
19
+ overrides (per system face) were derived via @capsizecss/core's
20
+ `createFontStack` against the bundled latin woff2 — the swap is metrically
21
+ neutral (no CLS). */
22
+ @font-face {
23
+ font-family: "Plus Jakarta Sans Fallback";
24
+ src:
25
+ local("System Font"), local(".SFNS-Regular"), local(".SFNSText-Regular"),
26
+ local("-apple-system");
27
+ ascent-override: 92.3784%;
28
+ descent-override: 19.7572%;
29
+ size-adjust: 112.3639%;
30
+ }
31
+ @font-face {
32
+ font-family: "Plus Jakarta Sans Fallback";
33
+ src: local("Segoe UI"), local("SegoeUI");
34
+ ascent-override: 98.3348%;
35
+ descent-override: 21.0311%;
36
+ size-adjust: 105.5577%;
37
+ }
38
+ @font-face {
39
+ font-family: "Plus Jakarta Sans Fallback";
40
+ src: local("Roboto Regular"), local("Roboto-Regular");
41
+ ascent-override: 98.6597%;
42
+ descent-override: 21.1006%;
43
+ size-adjust: 105.2101%;
44
+ }
45
+ @font-face {
46
+ font-family: "Plus Jakarta Sans Fallback";
47
+ src: local("Arial"), local("ArialMT");
48
+ ascent-override: 98.8763%;
49
+ descent-override: 21.147%;
50
+ line-gap-override: 0%;
51
+ size-adjust: 104.9796%;
52
+ }
53
+
54
+ /* ═══════════════════════════════════════════════
55
+ OFL FACE FILES — Fira Code (canonical mono)
56
+ ═══════════════════════════════════════════════ */
57
+
58
+ /* The payload-bearing "Fira Code" faces live in `fonts.css`
59
+ (`@mkbabb/glass-ui/styles/fonts`), split off the critical entry path. The
60
+ calibrated `local()` fallback face below carries NO payload, stays on the
61
+ critical path, and covers the `font-display: swap` window. Its metric
62
+ overrides reference Roboto Mono (the platform monos cluster within ~2%);
63
+ size-adjust ≈ 1.0 makes the swap geometrically transparent. */
64
+ @font-face {
65
+ font-family: "Fira Code Fallback";
66
+ src:
67
+ local("SF Mono"), local("SFMono-Regular"), local("Menlo"), local("Consolas"),
68
+ local("Courier New"), local("Roboto Mono Regular");
69
+ ascent-override: 99.0161%;
70
+ descent-override: 32.2052%;
71
+ size-adjust: 99.9837%;
72
+ }
73
+
74
+ :root {
75
+ /* Font family tokens. `--font-text` / `--font-display` / `--font-serif` /
76
+ `--font-mono` are NOT declared here — their source-of-truth lives in
77
+ tokens.css §0 (`--font-stack-*`), bridged to Tailwind via theme.css's
78
+ `@theme` block; declaring `:root` literals here would shadow consumer
79
+ `@theme` overrides (un-layered `:root` wins over `@layer theme`). The
80
+ self-hosted faces above expose `"Plus Jakarta Sans"` + `"Fira Code"`,
81
+ each pairing with a calibrated `"... Fallback"`. The brand text register
82
+ (Plus Jakarta Sans) engages by default for every consumer; --font-mono
83
+ references `"Fira Code"` first then the fallback chain. */
84
+
85
+ /* Scale tokens */
86
+ --type-admin-label: 0.625rem; /* 10px — fixed sub-control micro (NOT fluid) */
87
+ --type-micro: 0.6875rem; /* 11px — fixed sub-control micro (NOT fluid) */
88
+ /* BODY/CONTROL register (AY.W-SCALE1 — the desktop-fluid half of corpus #4):
89
+ a GENTLE clamp() viewport base so the control/body register grows ~1-2 steps
90
+ on a wide display (the 27" "font too small" the user flagged) WITHOUT a
91
+ media-query staircase. The <min> of every clamp is the rung's prior fixed rem
92
+ — byte-identical at narrow/mobile (no shipped-narrow reflow; the coarse 1.5×
93
+ --ui-scale still lifts the comfort axis ON TOP). The vw slope is the body
94
+ register's GENTLE slope (not the φ-display ladder's aggressive vw) — the
95
+ "non-contrived" bar. The vw fluid term lives HERE (the typographic base),
96
+ exactly ONCE; the --ui-scale comfort scalar multiplies it exactly ONCE LATER
97
+ (tokens.css --control-text/-sm) — NO double-vw under coarse. The φ-identity
98
+ rungs below (--type-subheading/-heading/-title + the --type-display-* ladder)
99
+ are EXCLUDED — a hero/title is a typographic identity, not a control. */
100
+ --type-caption: clamp(
101
+ 0.75rem,
102
+ 0.71rem + 0.21vw,
103
+ 1rem
104
+ ); /* 12px floor — --control-text-sm source */
105
+ --type-small: clamp(
106
+ 0.875rem,
107
+ 0.8rem + 0.25vw,
108
+ 1.25rem
109
+ ); /* 14px floor — --control-text source (the workhorse) */
110
+ --type-body: clamp(
111
+ 1rem,
112
+ 0.92rem + 0.27vw,
113
+ 1.375rem
114
+ ); /* 16px floor — global body cascade */
115
+ --type-prose: clamp(
116
+ 1.125rem,
117
+ 1.04rem + 0.28vw,
118
+ 1.5rem
119
+ ); /* 18px floor — long-form prose */
120
+ --type-subheading: 1.272rem; /* 20.4px — √φ */
121
+ --type-heading: 1.618rem; /* 25.9px — φ */
122
+ --type-title: 2.058rem; /* 32.9px — φ^(3/2) */
123
+ --type-display-1: clamp(1.618rem, 1.2rem + 1.6vw, 2.618rem); /* φ^2 */
124
+ --type-display-2: clamp(2.058rem, 1.5rem + 2.2vw, 3.33rem); /* φ^(5/2) */
125
+ --type-display-3: clamp(2.618rem, 2rem + 3vw, 4.236rem); /* φ^3 */
126
+ --type-display-4: clamp(3.33rem, 2.5rem + 4vw, 5.382rem); /* φ^(7/2) */
127
+ --type-display-5: clamp(4.236rem, 3.5rem + 6vw, 6.854rem); /* φ^4 */
128
+ /* Audacious display tier (v1.0.3). Extends the φ-ladder three rungs
129
+ beyond display-5 for poster-type consumers (speedtest hero,
130
+ dashboard pane titles when the consumer wants the number to win).
131
+ Same vw-axis as display-1..5 — consumer-agnostic. */
132
+ --type-display-mega: clamp(
133
+ 5.382rem,
134
+ 4rem + 9vw,
135
+ 11.089rem
136
+ ); /* φ^(9/2) — peak 177px */
137
+ --type-display-hero: clamp(
138
+ 6.854rem,
139
+ 4.5rem + 12vw,
140
+ 17.942rem
141
+ ); /* φ^5 — peak 287px */
142
+ --type-display-audacious: clamp(
143
+ 8.728rem,
144
+ 5rem + 16vw,
145
+ 22rem
146
+ ); /* φ^(11/2) — peak 352px (fast.com peg) */
147
+
148
+ /* Line heights & letter spacing live at tokens.css §0 as the canonical
149
+ --type-leading-* / --type-tracking-* rungs. theme.css bridges them
150
+ to Tailwind's `leading-*` / `tracking-*` utilities. The duplicate
151
+ --leading-* / --tracking-* declarations that previously sat here
152
+ were retired in v0.8.6 (audit U.W0.C-c §1.1 / Union 2). */
153
+ }
@@ -0,0 +1,220 @@
1
+ /* typography/semantic.css — the BODY cascade + the DISPLAY / HEADING / BODY /
2
+ * MICRO / ADMIN-LABEL semantic type classes.
3
+ *
4
+ * Carved from typography.css (BA.W-CARVE2) — the semantic register classes
5
+ * that read the scale tokens declared in typography/scale.css. @import-ed
6
+ * SECOND by the typography.css thin root (after the faces+scale, before the
7
+ * aux/mono utilities). The carve moves rules in the SAME cascade position →
8
+ * byte-isomorphic dist (the no-god-module import-order gate is the witness). */
9
+
10
+ /* ═══════════════════════════════════════════════
11
+ BODY CASCADE — the brand text register inherits globally
12
+ ═══════════════════════════════════════════════ */
13
+ body {
14
+ font-family: var(--font-text);
15
+ color: var(--foreground);
16
+ font-size: var(--type-body);
17
+ line-height: var(--type-leading-body);
18
+ }
19
+
20
+ /* ═══════════════════════════════════════════════
21
+ DISPLAY — Plus Jakarta Sans display, tracking-tight
22
+ ═══════════════════════════════════════════════ */
23
+ @utility text-display-audacious {
24
+ font-family: var(--font-display);
25
+ font-size: var(--type-display-audacious);
26
+ line-height: var(--type-leading-display);
27
+ letter-spacing: var(--type-tracking-tight);
28
+ font-optical-sizing: auto;
29
+ font-weight: 600;
30
+ /* AQ.W3 §W3.3 — balance multi-line display headlines. Text-only (no box) so
31
+ balance is safe; degrades to unbalanced wrapping with zero break. */
32
+ text-wrap: balance;
33
+ }
34
+
35
+ /* `.text-hero` — the poster-type hero register. Ceiling pegs to
36
+ `--type-display-audacious` (φ^(11/2) — peak 352px). Three knobs tune without
37
+ forking: `--text-hero-size` (total clamp), `--text-hero-leading` (line-height,
38
+ default 0.84), `--text-hero-tracking` (letter-spacing, default -0.03em).
39
+ `font-weight: 300` + `font-feature-settings: ss01, tnum, lnum` lock the
40
+ numeric/stylistic baseline; consumer data-attribute registers compose on top. */
41
+ @utility text-hero {
42
+ font-family: var(--font-display);
43
+ font-size: var(--text-hero-size, var(--type-display-audacious));
44
+ line-height: var(--text-hero-leading, 0.84);
45
+ letter-spacing: var(--text-hero-tracking, -0.03em);
46
+ font-weight: 300;
47
+ font-feature-settings: "ss01", "tnum", "lnum";
48
+ font-variant-numeric: tabular-nums lining-nums;
49
+ font-optical-sizing: auto;
50
+ display: inline-block;
51
+ max-inline-size: 100%;
52
+ /* AQ.W3 §W3.3 — `text-wrap: nowrap` (modern) sits AFTER `white-space:
53
+ nowrap` (legacy fallback) so supporting engines honor the modern form and
54
+ older ones fall through to `white-space`. Forgiving parse, no `@supports`. */
55
+ white-space: nowrap;
56
+ text-wrap: nowrap;
57
+ }
58
+
59
+ @utility text-display-hero {
60
+ font-family: var(--font-display);
61
+ font-size: var(--type-display-hero);
62
+ line-height: var(--type-leading-display);
63
+ letter-spacing: var(--type-tracking-tight);
64
+ font-optical-sizing: auto;
65
+ font-weight: 600;
66
+ text-wrap: balance; /* AQ.W3 §W3.3 */
67
+ }
68
+
69
+ @utility text-display-mega {
70
+ font-family: var(--font-display);
71
+ font-size: var(--type-display-mega);
72
+ line-height: var(--type-leading-display);
73
+ letter-spacing: var(--type-tracking-tight);
74
+ font-optical-sizing: auto;
75
+ font-weight: 600;
76
+ text-wrap: balance; /* AQ.W3 §W3.3 */
77
+ }
78
+
79
+ @utility text-display-5 {
80
+ font-family: var(--font-display);
81
+ font-size: var(--type-display-5);
82
+ line-height: var(--type-leading-display);
83
+ letter-spacing: var(--type-tracking-tight);
84
+ font-optical-sizing: auto;
85
+ font-weight: 600;
86
+ text-wrap: balance; /* AQ.W3 §W3.3 */
87
+ }
88
+
89
+ @utility text-display-4 {
90
+ font-family: var(--font-display);
91
+ font-size: var(--type-display-4);
92
+ line-height: var(--type-leading-display);
93
+ letter-spacing: var(--type-tracking-tight);
94
+ font-optical-sizing: auto;
95
+ font-weight: 600;
96
+ text-wrap: balance; /* AQ.W3 §W3.3 */
97
+ }
98
+
99
+ @utility text-display-3 {
100
+ font-family: var(--font-display);
101
+ font-size: var(--type-display-3);
102
+ line-height: var(--type-leading-display);
103
+ letter-spacing: var(--type-tracking-tight);
104
+ font-optical-sizing: auto;
105
+ font-weight: 600;
106
+ text-wrap: balance; /* AQ.W3 §W3.3 */
107
+ }
108
+
109
+ @utility text-display-2 {
110
+ font-family: var(--font-display);
111
+ font-size: var(--type-display-2);
112
+ line-height: var(--type-leading-display);
113
+ letter-spacing: var(--type-tracking-tight);
114
+ font-optical-sizing: auto;
115
+ font-weight: 600;
116
+ text-wrap: balance; /* AQ.W3 §W3.3 */
117
+ }
118
+
119
+ @utility text-display {
120
+ font-family: var(--font-display);
121
+ font-size: var(--type-display-1);
122
+ line-height: var(--type-leading-display);
123
+ letter-spacing: var(--type-tracking-tight);
124
+ font-optical-sizing: auto;
125
+ font-weight: 600;
126
+ text-wrap: balance; /* AQ.W3 §W3.3 */
127
+ }
128
+
129
+ /* ═══════════════════════════════════════════════
130
+ HEADINGS / BODY — Plus Jakarta Sans text register
131
+ ═══════════════════════════════════════════════ */
132
+ @utility text-title {
133
+ font-family: var(--font-text);
134
+ font-size: var(--type-title);
135
+ line-height: var(--type-leading-heading);
136
+ letter-spacing: var(--type-tracking-tight);
137
+ font-weight: 700;
138
+ text-wrap: balance; /* AQ.W3 §W3.3 */
139
+ }
140
+
141
+ @utility text-heading {
142
+ font-family: var(--font-text);
143
+ font-size: var(--type-heading);
144
+ line-height: var(--type-leading-heading);
145
+ font-weight: 700;
146
+ text-wrap: balance; /* AQ.W3 §W3.3 */
147
+ }
148
+
149
+ @utility text-subheading {
150
+ font-family: var(--font-text);
151
+ font-size: var(--type-subheading);
152
+ line-height: var(--type-leading-body);
153
+ font-weight: 600;
154
+ text-wrap: balance; /* AQ.W3 §W3.3 */
155
+ }
156
+
157
+ /* Canonical dock control label register — text labels INSIDE
158
+ `.dock-tab-button` (Start, Next, Submit, …) that want an emphatic character
159
+ without `.text-heading`'s `font-weight: 700` (which reads as literal bold in
160
+ a dock pill). Composes the `--dock-label-size` knob when set (dock.css
161
+ audacious mobile carve), else `--type-subheading`. Weight 400 — Plus Jakarta
162
+ reads heavier than its numeric weight at pill size, so regular is the
163
+ not-bold register. */
164
+ @utility dock-label {
165
+ font-family: var(--font-text);
166
+ font-size: var(--dock-label-size, var(--type-subheading));
167
+ line-height: var(--type-leading-body);
168
+ font-weight: 400;
169
+ letter-spacing: var(--type-tracking-normal);
170
+ }
171
+
172
+ @utility text-prose {
173
+ font-family: var(--font-text);
174
+ font-size: var(--type-prose);
175
+ line-height: var(--type-leading-prose);
176
+ font-weight: 400;
177
+ /* AQ.W3 §W3.3 — `pretty` fixes orphans/rivers in prose. Prose registers
178
+ only (not every text class); degrades to default wrapping, zero break. */
179
+ text-wrap: pretty;
180
+ }
181
+
182
+ @utility text-body {
183
+ font-family: var(--font-text);
184
+ font-size: var(--type-body);
185
+ line-height: var(--type-leading-body);
186
+ font-weight: 400;
187
+ text-wrap: pretty; /* AQ.W3 §W3.3 */
188
+ }
189
+
190
+ @utility text-small {
191
+ font-family: var(--font-text);
192
+ font-size: var(--type-small);
193
+ line-height: var(--type-leading-small);
194
+ font-weight: 400;
195
+ }
196
+
197
+ @utility text-caption {
198
+ font-family: var(--font-text);
199
+ font-size: var(--type-caption);
200
+ line-height: var(--type-leading-caption);
201
+ font-style: italic;
202
+ font-weight: 400;
203
+ }
204
+
205
+ /* ═══════════════════════════════════════════════
206
+ MICRO / ADMIN LABEL — Fira Code
207
+ ═══════════════════════════════════════════════ */
208
+ @utility text-micro {
209
+ font-size: var(--type-micro);
210
+ line-height: 1.25;
211
+ }
212
+
213
+ @utility text-admin-label {
214
+ font-family: var(--font-mono);
215
+ font-size: var(--type-admin-label);
216
+ line-height: 1;
217
+ text-transform: uppercase;
218
+ letter-spacing: var(--type-tracking-caps);
219
+ font-weight: 500;
220
+ }
@@ -0,0 +1,159 @@
1
+ /* typography/utilities.css — the MATH / MONO / FONT-FAMILY / ORNAMENTAL / AUX
2
+ * registers.
3
+ *
4
+ * Carved from typography.css (BA.W-CARVE2) — the math/mono variants, the
5
+ * font-family utilities (.cm-serif/.fira-code), the ornamental .fourier-f, and
6
+ * the @layer components AUX section-label/pane-title/kinetic hooks. @import-ed
7
+ * LAST by the typography.css thin root (after the faces+scale and the semantic
8
+ * classes). The carve moves rules in the SAME cascade position →
9
+ * byte-isomorphic dist (the no-god-module import-order gate is the witness). */
10
+
11
+ /* ═══════════════════════════════════════════════
12
+ MATH — Plus Jakarta Sans italic
13
+ ═══════════════════════════════════════════════ */
14
+ @utility text-math {
15
+ font-family: var(--font-text);
16
+ font-style: italic;
17
+ }
18
+
19
+ @utility text-math-body {
20
+ font-family: var(--font-text);
21
+ font-size: var(--type-prose);
22
+ line-height: var(--type-leading-prose);
23
+ font-style: italic;
24
+ }
25
+
26
+ /* ═══════════════════════════════════════════════
27
+ MONO variants
28
+ ═══════════════════════════════════════════════ */
29
+ @utility text-mono-caption {
30
+ font-family: var(--font-mono);
31
+ font-size: var(--type-caption);
32
+ letter-spacing: var(--type-tracking-wider);
33
+ text-transform: uppercase;
34
+ font-weight: 500;
35
+ }
36
+
37
+ @utility text-mono-small {
38
+ font-family: var(--font-mono);
39
+ font-size: var(--type-small);
40
+ line-height: var(--type-leading-small);
41
+ }
42
+
43
+ @utility text-mono-prose {
44
+ font-family: var(--font-mono);
45
+ font-size: var(--type-prose);
46
+ line-height: var(--type-leading-prose);
47
+ letter-spacing: 0.02em;
48
+ }
49
+
50
+ @utility text-mono-micro {
51
+ font-family: var(--font-mono);
52
+ font-size: var(--type-micro);
53
+ line-height: 1.25;
54
+ letter-spacing: 0.025em;
55
+ }
56
+
57
+ /* ═══════════════════════════════════════════════
58
+ FONT FAMILY UTILITIES
59
+ ═══════════════════════════════════════════════ */
60
+ /* .cm-serif — the Computer-Modern math/serif voice. A DISTINCT face from the
61
+ brand text register: it resolves to the consumer-supplied serif (system
62
+ serif by default; a math consumer maps Computer Modern / KaTeX over it). It
63
+ is NOT the Plus Jakarta text register — the one serif survivor of the
64
+ register reconciliation. */
65
+ @utility cm-serif {
66
+ font-family: var(--font-serif-math, serif);
67
+ }
68
+
69
+ @utility fira-code {
70
+ font-family: var(--font-mono);
71
+ font-feature-settings: "liga", "calt";
72
+ }
73
+
74
+ /* ═══════════════════════════════════════════════
75
+ ORNAMENTAL — Fourier F
76
+ ═══════════════════════════════════════════════ */
77
+ @utility fourier-f {
78
+ font-family: var(--font-display);
79
+ font-style: italic;
80
+ font-size: 1.35em;
81
+ line-height: 1;
82
+ vertical-align: -0.05em;
83
+ font-weight: 700;
84
+ display: inline-block;
85
+ }
86
+
87
+ /* ═══════════════════════════════════════════════
88
+ AUX — section label, pane title, kinetic hooks
89
+ ═══════════════════════════════════════════════ */
90
+ @layer components {
91
+ /* Responsive pane title */
92
+ .text-pane-title {
93
+ font-family: var(--font-display);
94
+ font-size: clamp(2.4rem, 1.8rem + 2vw, 3.33rem);
95
+ line-height: var(--type-leading-display);
96
+ letter-spacing: var(--type-tracking-tight);
97
+ font-weight: 600;
98
+ font-optical-sizing: auto;
99
+ }
100
+
101
+ /* AV.W16 TW3 — the pane title scales off its PANE's box, not the viewport.
102
+ An unnamed @container query resolves to the nearest ancestor container,
103
+ so the title grows once its pane clears 40rem (≈ 640px) regardless of the
104
+ viewport. Contract: the consuming pane sets `container-type: inline-size`
105
+ (the dock/chassis pattern); without a container ancestor the compact base
106
+ holds. */
107
+ @container (min-width: 40rem) {
108
+ .text-pane-title {
109
+ font-size: var(--type-display-3);
110
+ }
111
+ }
112
+
113
+ /* Section label (mono, small caps) */
114
+ .section-label {
115
+ font-family: var(--font-mono);
116
+ font-size: var(--type-caption);
117
+ color: var(--muted-foreground);
118
+ text-transform: uppercase;
119
+ letter-spacing: var(--type-tracking-caps);
120
+ }
121
+
122
+ /* Section-accent eyebrow (AZ.W-SUFFUSE D3-7 / D1-8). ONE coherent
123
+ section-accent register — the colored mono eyebrow reads as an
124
+ intentional system, not a four-hue rainbow. The accent reads a single
125
+ `--section-label-accent` knob (default `--section-color-7`, the violet
126
+ brand anchor) so a page tints its whole eyebrow column at ONE chroma
127
+ from one override, NOT a different hue per section. This is the
128
+ one-color-event rule at PAGE scope: the eyebrow is the page's ONE
129
+ accent identity. The label/value/body ink below stays neutral. */
130
+ .section-label--tinted {
131
+ color: var(--section-label-accent, var(--section-color-7));
132
+ }
133
+
134
+ /* Font-feature helpers */
135
+ .tabular-nums {
136
+ font-variant-numeric: tabular-nums;
137
+ }
138
+
139
+ /* Kinetic: per-character stagger */
140
+ .char-stagger > .char {
141
+ display: inline-block;
142
+ animation: fade-in var(--spring-smooth-duration) var(--spring-smooth, ease) backwards;
143
+ animation-delay: calc(var(--char-index, 0) * 30ms);
144
+ }
145
+
146
+ /* Letter-pressed treatment — reads as text engraved into the panel
147
+ surface. Speedtest's idle hero `0` consumes this via
148
+ `.text-hero[data-idle="true"]`; the `text-engraved` utility is the
149
+ glass-ui contract that any consumer can apply for the same look.
150
+ Opacity dropped in P.W1.B — the audacious canon mutes by colour
151
+ (`--muted-foreground`), not by alpha; opacity ≤ 0.4 over a glass
152
+ surface read as a fade, not as engraving. */
153
+ .text-engraved {
154
+ color: var(--muted-foreground);
155
+ /* AW.W26 — composes the `--text-shadow-engraved` @theme identity token
156
+ (the two-stop emboss) instead of a hand-rolled literal (gate 4). */
157
+ text-shadow: var(--text-shadow-engraved);
158
+ }
159
+ }