@keystone-sites/marketing-design-system 1.0.26 → 2.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 (204) hide show
  1. package/README.md +47 -67
  2. package/fonts/gt-america-300-italic.woff2 +0 -0
  3. package/fonts/gt-america-300.woff2 +0 -0
  4. package/fonts/gt-america-400-italic.woff2 +0 -0
  5. package/fonts/gt-america-400.woff2 +0 -0
  6. package/fonts/gt-america-500.woff2 +0 -0
  7. package/fonts/gt-america-extended-300.woff2 +0 -0
  8. package/fonts/gt-america-extended-400.woff2 +0 -0
  9. package/fonts/gt-america-extended-500.woff2 +0 -0
  10. package/fonts/gt-america-extended-700.woff2 +0 -0
  11. package/fonts/gt-america-mono-300.woff2 +0 -0
  12. package/fonts/gt-america-mono-500.woff2 +0 -0
  13. package/fonts/pp-kyoto-vf.woff2 +0 -0
  14. package/package.json +46 -203
  15. package/src/base.css +300 -0
  16. package/src/fonts.css +131 -0
  17. package/src/hue.ts +17 -0
  18. package/src/icon.tsx +56 -0
  19. package/src/mark.tsx +14 -0
  20. package/src/motion.ts +123 -0
  21. package/src/parts/chip.css +84 -0
  22. package/src/parts/chip.tsx +40 -0
  23. package/src/parts/composer.css +195 -0
  24. package/src/parts/composer.tsx +220 -0
  25. package/src/parts/cx.ts +2 -0
  26. package/src/parts/faq.css +77 -0
  27. package/src/parts/faq.tsx +25 -0
  28. package/src/parts/footer.css +51 -0
  29. package/src/parts/footer.tsx +27 -0
  30. package/src/parts/nav.css +180 -0
  31. package/src/parts/nav.tsx +101 -0
  32. package/src/parts/photo.css +15 -0
  33. package/src/parts/photo.tsx +24 -0
  34. package/src/parts/plans.css +89 -0
  35. package/src/parts/plans.tsx +56 -0
  36. package/src/parts/prose.css +86 -0
  37. package/src/parts/prose.tsx +49 -0
  38. package/src/parts/shape.css +47 -0
  39. package/src/parts/shape.tsx +68 -0
  40. package/src/parts/split.tsx +49 -0
  41. package/src/parts/stamp.css +85 -0
  42. package/src/parts/stamp.tsx +36 -0
  43. package/src/parts/work-card.css +51 -0
  44. package/src/parts/work-card.tsx +40 -0
  45. package/src/set.css +439 -0
  46. package/src/styles.css +20 -0
  47. package/src/tokens/color.css +471 -0
  48. package/src/tokens/roles.css +12 -0
  49. package/src/tokens/type.css +11 -0
  50. package/src/wordmark.tsx +34 -0
  51. package/AGENTS.md +0 -192
  52. package/assets/media/brand/ks-lockup.svg +0 -13
  53. package/assets/media/brand/ks-logomark.svg +0 -4
  54. package/assets/media/brand/ks-wordmark-inline.svg +0 -13
  55. package/assets/media/brand/ks-wordmark.svg +0 -11
  56. package/assets/media/fonts/gt-standard-standard-vf.woff2 +0 -0
  57. package/assets/media/fonts/pp-kyoto-variable-upright-vf.woff2 +0 -0
  58. package/base.css +0 -113
  59. package/css-vars.d.ts +0 -10
  60. package/grid/engine.css +0 -367
  61. package/grid/field-hash.ts +0 -31
  62. package/grid/field.tsx +0 -48
  63. package/grid/gates.cjs +0 -35
  64. package/grid/region.tsx +0 -97
  65. package/icons.tsx +0 -1282
  66. package/index.css +0 -89
  67. package/lib/autoplay-gate.ts +0 -88
  68. package/lib/focus-trap.ts +0 -42
  69. package/lib/grader.ts +0 -123
  70. package/lib/legal-data.ts +0 -1
  71. package/lib/legal.ts +0 -41
  72. package/lib/noise.tsx +0 -114
  73. package/lib/phone.ts +0 -294
  74. package/lib/render-boundary.tsx +0 -27
  75. package/lib/scroll-lock.ts +0 -25
  76. package/lib/swipe.ts +0 -124
  77. package/lib/use-active-section.ts +0 -43
  78. package/lib/use-count-up.ts +0 -26
  79. package/lib/use-grader-search.ts +0 -143
  80. package/lib/use-popover.ts +0 -30
  81. package/lib/use-video-carousel.ts +0 -271
  82. package/media.ts +0 -558
  83. package/primitives/breadcrumb.css +0 -51
  84. package/primitives/breadcrumb.tsx +0 -46
  85. package/primitives/business-picker.css +0 -135
  86. package/primitives/business-picker.tsx +0 -298
  87. package/primitives/button-inline.css +0 -52
  88. package/primitives/button-inline.tsx +0 -38
  89. package/primitives/buttons.css +0 -551
  90. package/primitives/buttons.tsx +0 -330
  91. package/primitives/case-study-button.css +0 -71
  92. package/primitives/case-study-button.tsx +0 -28
  93. package/primitives/case-study-card.css +0 -318
  94. package/primitives/case-study-card.tsx +0 -116
  95. package/primitives/chip.css +0 -127
  96. package/primitives/chip.tsx +0 -53
  97. package/primitives/closer-row.css +0 -14
  98. package/primitives/closer-row.tsx +0 -22
  99. package/primitives/cta-row.css +0 -41
  100. package/primitives/cta-row.tsx +0 -39
  101. package/primitives/disclosure.css +0 -302
  102. package/primitives/disclosure.tsx +0 -277
  103. package/primitives/faq-question.css +0 -220
  104. package/primitives/faq-question.tsx +0 -55
  105. package/primitives/field.css +0 -279
  106. package/primitives/field.tsx +0 -376
  107. package/primitives/footer-item.css +0 -72
  108. package/primitives/footer-item.tsx +0 -42
  109. package/primitives/glyph-toggle.css +0 -62
  110. package/primitives/glyph-toggle.tsx +0 -42
  111. package/primitives/grader-menu.tsx +0 -84
  112. package/primitives/grader.css +0 -369
  113. package/primitives/grader.tsx +0 -285
  114. package/primitives/keystone-score.css +0 -156
  115. package/primitives/keystone-score.tsx +0 -204
  116. package/primitives/modal.css +0 -194
  117. package/primitives/modal.tsx +0 -204
  118. package/primitives/month-range.css +0 -80
  119. package/primitives/month-range.tsx +0 -183
  120. package/primitives/notice.css +0 -39
  121. package/primitives/notice.tsx +0 -56
  122. package/primitives/persona-card.css +0 -374
  123. package/primitives/persona-card.tsx +0 -74
  124. package/primitives/picture.css +0 -11
  125. package/primitives/picture.tsx +0 -41
  126. package/primitives/plan-card.css +0 -398
  127. package/primitives/plan-card.tsx +0 -153
  128. package/primitives/prose.css +0 -164
  129. package/primitives/prose.tsx +0 -194
  130. package/primitives/ramps.css +0 -77
  131. package/primitives/report-nav.css +0 -382
  132. package/primitives/report-nav.tsx +0 -353
  133. package/primitives/report.css +0 -601
  134. package/primitives/report.tsx +0 -357
  135. package/primitives/skeleton.css +0 -82
  136. package/primitives/skeleton.tsx +0 -56
  137. package/primitives/slider.css +0 -179
  138. package/primitives/slider.tsx +0 -69
  139. package/primitives/slug.css +0 -87
  140. package/primitives/slug.tsx +0 -37
  141. package/primitives/status.css +0 -427
  142. package/primitives/status.tsx +0 -323
  143. package/primitives/strip.css +0 -40
  144. package/primitives/surface.css +0 -88
  145. package/primitives/surface.tsx +0 -100
  146. package/primitives/table.css +0 -227
  147. package/primitives/table.tsx +0 -122
  148. package/primitives/tabs.css +0 -85
  149. package/primitives/tabs.tsx +0 -122
  150. package/primitives/tag.css +0 -46
  151. package/primitives/tag.tsx +0 -33
  152. package/primitives/text.css +0 -127
  153. package/primitives/toc.css +0 -65
  154. package/primitives/toc.tsx +0 -42
  155. package/primitives/tooltip.css +0 -56
  156. package/primitives/tooltip.tsx +0 -103
  157. package/rules/design-system.md +0 -154
  158. package/rules/grid-and-layout.md +0 -166
  159. package/scripts/generate-exports.mjs +0 -61
  160. package/scripts/generate-type-css.mjs +0 -130
  161. package/sections/faq-island.tsx +0 -102
  162. package/sections/faq.css +0 -213
  163. package/sections/faq.tsx +0 -46
  164. package/sections/footer-nav.tsx +0 -95
  165. package/sections/footer-signature.css +0 -223
  166. package/sections/footer-signature.tsx +0 -127
  167. package/sections/footer.css +0 -735
  168. package/sections/footer.tsx +0 -286
  169. package/sections/gallery-overlay.css +0 -213
  170. package/sections/gallery-overlay.tsx +0 -267
  171. package/sections/landing-benefits.css +0 -59
  172. package/sections/landing-benefits.tsx +0 -81
  173. package/sections/landing-closer.css +0 -23
  174. package/sections/landing-closer.tsx +0 -26
  175. package/sections/landing-hero.css +0 -80
  176. package/sections/landing-hero.tsx +0 -69
  177. package/sections/landing-quote.css +0 -19
  178. package/sections/landing-quote.tsx +0 -30
  179. package/sections/landing-sample.ts +0 -66
  180. package/sections/landing.css +0 -45
  181. package/sections/landing.tsx +0 -69
  182. package/sections/load-orchestrator.tsx +0 -43
  183. package/sections/load.css +0 -138
  184. package/sections/nav-desktop.css +0 -530
  185. package/sections/nav-desktop.tsx +0 -155
  186. package/sections/nav-menu.css +0 -57
  187. package/sections/nav-menu.tsx +0 -112
  188. package/sections/nav-mobile.css +0 -571
  189. package/sections/nav-mobile.tsx +0 -222
  190. package/sections/nav.css +0 -127
  191. package/sections/nav.tsx +0 -394
  192. package/sections/site-chat-data.ts +0 -16
  193. package/sections/site-chat-open.tsx +0 -25
  194. package/sections/site-chat.tsx +0 -67
  195. package/site-links.ts +0 -41
  196. package/site.ts +0 -2
  197. package/themes/inverted.css +0 -139
  198. package/tokens/fonts.css +0 -38
  199. package/tokens/motion.css +0 -150
  200. package/tokens/primitives.css +0 -163
  201. package/tokens/semantic.css +0 -159
  202. package/tokens/type-styles.json +0 -145
  203. package/tokens/type.css +0 -1548
  204. package/widgets.css +0 -78
@@ -1,735 +0,0 @@
1
- /* Flow frame: the block holds its tick rows as a minimum and keeps a
2
- material gap under the input when the copy wraps taller. */
3
- .f-top {
4
- width: 100%;
5
- min-height: calc(var(--t) * 10);
6
- padding: calc(var(--t) + 32px) 0 var(--space-4xl) 20px;
7
- /* content column: 300 → 416 across the base band */
8
- --_gw: calc(var(--wA) * 300 + var(--wB) * 416);
9
- }
10
-
11
- .f-ti,
12
- .f-tag,
13
- .f-inp,
14
- .f-inpcol {
15
- box-sizing: border-box;
16
- }
17
- .f-tag {
18
- margin-bottom: var(--space-4xl);
19
- }
20
- .f-inpcol {
21
- width: var(--_gw);
22
- }
23
-
24
- @container (--rs) {
25
- .f-top {
26
- min-height: calc(var(--t) * 7);
27
- padding: calc(var(--t)) 0 0 0;
28
- /* Scale the content column with the tick to avoid the exposed rail. */
29
- --_gw: calc((var(--wA) + var(--wB)) * 416);
30
- }
31
- /* The box holds its tick rows as a minimum; the padding keeps the
32
- centered content off the borders when it grows, and the extra 12px
33
- below lifts the optical center. The bottom border shares the pixel
34
- with the row below. */
35
- .f-ti {
36
- margin-left: calc(var(--t));
37
- margin-bottom: -1px;
38
- width: calc(var(--t) * 10 + 1px);
39
- min-height: calc(var(--t) * 6 + 1px);
40
- border: 1px solid var(--line);
41
- display: flex;
42
- flex-direction: column;
43
- align-items: center;
44
- justify-content: center;
45
- padding: var(--space-3xl) 0 calc(var(--space-3xl) + 12px);
46
- }
47
- .f-tag,
48
- .f-inp {
49
- width: var(--_gw);
50
- }
51
- .f-tag {
52
- margin-bottom: var(--space-5xl);
53
- }
54
- }
55
-
56
- @container (--rt) {
57
- .f-top {
58
- min-height: calc(var(--t) * 6);
59
- }
60
- .f-ti {
61
- margin-left: 0;
62
- margin-bottom: 0;
63
- width: 100%;
64
- min-height: calc(var(--t) * 5);
65
- border: none;
66
- }
67
- }
68
-
69
- @container (--rd1) {
70
- .f-top {
71
- min-height: calc(var(--t) * 3);
72
- /* The input's bottom border shares the pixel with the row below. */
73
- padding-bottom: 0;
74
- --_gw: calc(var(--wA) * 416 + var(--wB) * 528);
75
- }
76
- .f-ti {
77
- width: calc(var(--t) * 12 + 1px);
78
- min-height: 0;
79
- margin-bottom: -1px;
80
- display: flex;
81
- flex-direction: row;
82
- align-items: stretch;
83
- padding: 0;
84
- }
85
- .f-tag,
86
- .f-inp {
87
- width: calc(var(--t) * 6 + 1px);
88
- min-height: calc(var(--t) * 2 + 1px);
89
- border: 1px solid var(--line);
90
- display: flex;
91
- flex-direction: column;
92
- justify-content: center;
93
- }
94
- .f-tag {
95
- margin-bottom: 0;
96
- padding: var(--space-md) var(--space-4xl);
97
- }
98
- .f-inp {
99
- margin-left: -1px;
100
- padding: var(--space-md) var(--space-4xl);
101
- align-items: stretch;
102
- }
103
- /* Match heading insets so footer dots share a vertical axis. */
104
- .f-inpcol {
105
- width: 100%;
106
- padding-inline: var(--space-2xs);
107
- }
108
- }
109
-
110
- @container (--rd2) {
111
- .f-top {
112
- --_gw: calc(var(--wB) * 528);
113
- }
114
- .f-tag {
115
- padding: var(--space-md) 56px;
116
- }
117
- .f-inp {
118
- padding: var(--space-md) 56px;
119
- }
120
- }
121
-
122
- /* ---- tagline, prompt, bullets ---- */
123
-
124
- .f-tagrow {
125
- display: flex;
126
- align-items: flex-start;
127
- gap: var(--space-lg);
128
- padding-left: var(--space-2xs);
129
- }
130
- .f-promptrow {
131
- display: flex;
132
- align-items: flex-start;
133
- gap: var(--space-lg);
134
- margin-bottom: var(--space-xl);
135
- }
136
-
137
- .f-dot {
138
- flex: none;
139
- border-radius: var(--radius-full);
140
- width: 6px;
141
- height: 6px;
142
- }
143
- .f-dot-tag {
144
- background: var(--color-orange-400);
145
- margin-top: var(--space-lg);
146
- }
147
- .f-dot-prompt {
148
- background: var(--color-teal-400);
149
- margin-top: 7px;
150
- }
151
-
152
- .f-tagline {
153
- color: var(--color-text-200);
154
- --fs-rm: var(--ts-display-serif-xs-plus-light-fs);
155
- --fs-rs: var(--ts-display-serif-sm-extralight-fs);
156
- --fs-rt: var(--ts-display-serif-sm-extralight-fs);
157
- --fs-rd1: var(--ts-display-serif-sm-extralight-fs);
158
- --fs-rd2: var(--ts-display-serif-md-plus-thin-fs);
159
- --lh-rm: var(--ts-display-serif-xs-plus-light-lh);
160
- --lh-rs: var(--ts-display-serif-sm-extralight-lh);
161
- --lh-rt: var(--ts-display-serif-sm-extralight-lh);
162
- --lh-rd1: var(--ts-display-serif-sm-extralight-lh);
163
- --lh-rd2: var(--ts-display-serif-md-plus-thin-lh);
164
- --fs-rm-to: var(--ts-display-serif-sm-light-fs);
165
- --lh-rm-to: var(--ts-display-serif-sm-light-lh);
166
- --fs-rd1-to: var(--ts-display-serif-md-plus-extralight-fs);
167
- --lh-rd1-to: var(--ts-display-serif-md-plus-extralight-lh);
168
- }
169
- .f-prompt {
170
- color: var(--color-text-300);
171
- --fs-rm: var(--ts-text-md-light-fs);
172
- --fs-rs: var(--fs-rm);
173
- --fs-rt: var(--fs-rm);
174
- --fs-rd1: var(--ts-text-md-light-fs);
175
- --fs-rd2: var(--ts-text-lg-light-fs);
176
- --lh-rm: var(--ts-text-md-light-lh);
177
- --lh-rs: var(--lh-rm);
178
- --lh-rt: var(--lh-rm);
179
- --lh-rd1: var(--ts-text-md-light-lh);
180
- --lh-rd2: var(--ts-text-lg-light-lh);
181
- --fs-rd1-to: var(--fs-rd2);
182
- --lh-rd1-to: var(--lh-rd2);
183
- }
184
-
185
- .f-brk-b {
186
- display: none;
187
- }
188
-
189
- @container (--rs) {
190
- .f-dot {
191
- width: 8px;
192
- height: 8px;
193
- }
194
- .f-dot-tag {
195
- margin-top: 21px;
196
- }
197
- .f-dot-prompt {
198
- margin-top: 0;
199
- }
200
- .f-promptrow {
201
- align-items: center;
202
- }
203
- .f-tagline {
204
- --font: var(--ts-display-serif-sm-extralight-font);
205
- --ls: var(--ts-display-serif-sm-extralight-ls);
206
- }
207
- .f-brk-a {
208
- display: none;
209
- }
210
- .f-brk-b {
211
- display: revert;
212
- }
213
- .f-brk-c {
214
- display: none;
215
- }
216
- }
217
-
218
- @container (--rt) {
219
- .f-tagrow {
220
- padding-left: var(--space-none);
221
- }
222
- .f-dot {
223
- width: 6px;
224
- height: 6px;
225
- }
226
- }
227
-
228
- @container (--rd1) {
229
- .f-tagrow {
230
- padding-left: var(--space-2xs);
231
- }
232
- .f-dot {
233
- width: 8px;
234
- height: 8px;
235
- }
236
- .f-dot-tag {
237
- margin-top: 19px;
238
- }
239
- .f-brk-a {
240
- display: revert;
241
- }
242
- .f-brk-b {
243
- display: none;
244
- }
245
- }
246
-
247
- @container (--rd2) {
248
- .f-tagline {
249
- --font: var(--ts-display-serif-md-plus-thin-font);
250
- --ls: var(--ts-display-serif-md-plus-thin-ls);
251
- }
252
- }
253
-
254
- /* The grader steps sm → md → lg per band; the footer's pill runs taller
255
- than the stock md and lg heights. */
256
- .f-grader {
257
- --grader-size: sm;
258
- }
259
- .f-grader .grader {
260
- width: 100%;
261
- }
262
- @container (--rs) {
263
- .f-grader {
264
- --grader-size: md;
265
- }
266
- .f-grader .grader .grader-field {
267
- height: 50px;
268
- }
269
- }
270
- @container (--rd2) {
271
- .f-grader {
272
- --grader-size: lg;
273
- }
274
- .f-grader .grader .grader-field {
275
- height: 66px;
276
- padding-inline: var(--space-xl) var(--space-lg);
277
- }
278
- }
279
-
280
- .f-nav {
281
- width: calc(var(--t) * 11 + 1px);
282
- margin-bottom: -1px;
283
- }
284
-
285
- .fnav-groups {
286
- list-style: none;
287
- margin: var(--space-none);
288
- padding: var(--space-none);
289
- width: 100%;
290
- isolation: isolate;
291
- }
292
-
293
- /* Descending z-order lets an open drawer shadow cover the next row. */
294
- .fnav-group:nth-child(1) { z-index: 4; }
295
- .fnav-group:nth-child(2) { z-index: 3; }
296
- .fnav-group:nth-child(3) { z-index: 2; }
297
- .fnav-group:nth-child(4) { z-index: 1; }
298
-
299
- .fnav-group {
300
- position: relative;
301
- box-sizing: border-box;
302
- border: 1px solid var(--line);
303
- width: 100%;
304
- height: calc(var(--t) * 2 + 1px);
305
- /* Keep the header fixed while the list follows the animated clip edge. */
306
- padding: calc(var(--t) - 12px) 20px 0;
307
- overflow: clip;
308
- --_open: var(--open-rm);
309
- /* the zero-offset origin shadow paints nothing; it gives the open
310
- transition a same-structure start so the offset grows 0,0 → 3,3 */
311
- box-shadow: var(--shadow-hard-square-md-0);
312
- /* This resting rule controls close timing. */
313
- transition: height var(--motion-drawer-duration) var(--motion-drawer-ease);
314
- }
315
- .fnav-group + .fnav-group {
316
- margin-top: -1px;
317
- }
318
-
319
- /* Publish drawer growth in ticks while the accordion is open. */
320
- .fnav-group[data-open] {
321
- --drawer-extra: var(--fnav-extra-rm);
322
- height: calc(var(--t) * var(--_open) + 1px);
323
- background: var(--color-bg-100);
324
- box-shadow: var(--shadow-hard-square-md);
325
- /* Grow the shadow after the drawer finishes opening. */
326
- transition:
327
- height var(--motion-drawer-duration) var(--motion-drawer-ease-open),
328
- box-shadow var(--motion-drawer-shadow-duration) var(--motion-drawer-ease)
329
- var(--motion-drawer-duration);
330
- }
331
-
332
- .fnav-h {
333
- margin: var(--space-none);
334
- }
335
-
336
- .fnav-trigger {
337
- appearance: none;
338
- border: 0;
339
- margin: var(--space-none);
340
- padding: var(--space-none);
341
- background: none;
342
- cursor: pointer;
343
- display: flex;
344
- align-items: center;
345
- justify-content: space-between;
346
- width: 100%;
347
- height: 24px;
348
- color: inherit;
349
- touch-action: manipulation;
350
- }
351
- /* closed: extend the tap target to the whole 2t row with a hit-area
352
- pseudo anchored to the group — the header itself stays in flow, so
353
- nothing relayouts when the state flips mid-animation. */
354
- .fnav-group:not([data-open]) .fnav-trigger::before {
355
- content: "";
356
- position: absolute;
357
- inset: 0;
358
- }
359
- .fnav-hg {
360
- display: flex;
361
- align-items: center;
362
- gap: var(--space-lg);
363
- padding-left: var(--space-2xs);
364
- }
365
- .fnav-static {
366
- display: none;
367
- }
368
-
369
- .fnav-dot {
370
- flex: none;
371
- border-radius: var(--radius-full);
372
- width: 6px;
373
- height: 6px;
374
- }
375
- .fnav-dot[data-g="product"] { background: var(--color-yellow-400); }
376
- .fnav-dot[data-g="resources"] { background: var(--color-pink-400); }
377
- .fnav-dot[data-g="company"] { background: var(--color-purple-400); }
378
- .fnav-dot[data-g="findus"] { background: var(--color-blue-400); }
379
-
380
- .fnav-name {
381
- --fs-rm: var(--ts-display-serif-3xs-regular-fs); --fs-rs: var(--ts-display-serif-3xs-regular-fs); --fs-rt: var(--ts-display-serif-4xs-plus-medium-fs); --fs-rd1: var(--ts-display-serif-3xs-medium-fs); --fs-rd2: var(--ts-display-serif-2xs-medium-fs);
382
- --lh-rm: var(--ts-display-serif-3xs-regular-lh); --lh-rs: var(--ts-display-serif-3xs-regular-lh); --lh-rt: var(--ts-display-serif-4xs-plus-medium-lh); --lh-rd1: var(--ts-display-serif-3xs-medium-lh); --lh-rd2: var(--ts-display-serif-2xs-medium-lh); --fs-rm-to: var(--ts-display-serif-2xs-plus-regular-fs); --lh-rm-to: var(--ts-display-serif-2xs-plus-regular-lh); --fs-rt-to: var(--fs-rd1); --lh-rt-to: var(--lh-rd1); --fs-rd1-to: var(--fs-rd2); --lh-rd1-to: var(--lh-rd2);
383
- color: var(--color-text-200);
384
- white-space: nowrap;
385
- }
386
-
387
- .fnav-chevron {
388
- flex: none;
389
- color: var(--color-border-300);
390
- transition: rotate var(--motion-drawer-duration) var(--motion-drawer-ease);
391
- }
392
- .fnav-group[data-open] .fnav-chevron {
393
- rotate: 180deg;
394
- /* Match the chevron timing to the drawer height. */
395
- transition: rotate var(--motion-drawer-duration) var(--motion-drawer-ease-open);
396
- }
397
-
398
- /* Closed lists leave the accessibility tree; the box's moving clip edge
399
- does the visual reveal on open. On close the box edge stops at the
400
- closed row bottom — above the first item's slot — so the wrap sweeps
401
- its own bottom-up clip on the same curve; visibility flips after. */
402
- .fnav-listwrap {
403
- margin-top: var(--space-md);
404
- padding-left: var(--space-xl);
405
- visibility: hidden;
406
- pointer-events: none;
407
- clip-path: inset(0 0 100% 0);
408
- transition:
409
- visibility 0s linear var(--motion-drawer-duration),
410
- clip-path var(--motion-drawer-duration) var(--motion-drawer-ease);
411
- }
412
- .fnav-group[data-open] .fnav-listwrap {
413
- visibility: visible;
414
- pointer-events: auto;
415
- clip-path: inset(0 0 0 0);
416
- transition: none;
417
- }
418
-
419
- .fnav-list {
420
- list-style: none;
421
- margin: var(--space-none);
422
- padding: var(--space-none);
423
- display: flex;
424
- flex-direction: column;
425
- gap: var(--space-md);
426
- }
427
- /* flex items, not inline baselines — an inline-flex link on the li's
428
- baseline would add descender space below every item */
429
- .fnav-list li {
430
- display: flex;
431
- }
432
-
433
- /* Footer nav items ride the grid instead of the item's fixed step. */
434
- .fnav-list .fitem {
435
- --fs-rm: 14; --fs-rs: 14; --fs-rt: 14; --fs-rd1: 14; --fs-rd2: 16;
436
- --lh-rm: 18; --lh-rs: 18; --lh-rt: 18; --lh-rd1: 18; --lh-rd2: 22; --fs-rm-to: 16; --lh-rm-to: 22; --fs-rt-to: 16; --lh-rt-to: 22;
437
- }
438
- @container (--rs) {
439
- .f-nav {
440
- width: calc(var(--t) * 10 + 1px);
441
- margin-left: calc(var(--t));
442
- }
443
- .fnav-group {
444
- padding: calc(var(--t) - 12px) 32px 0;
445
- --_open: var(--open-rs);
446
- }
447
- .fnav-group[data-open] {
448
- --drawer-extra: var(--fnav-extra-rs);
449
- }
450
- .fnav-dot {
451
- width: 8px;
452
- height: 8px;
453
- }
454
- /* The 576 design pins the group name and items in px through the band. */
455
- .fnav-name {
456
- --font: var(--ts-display-serif-2xs-plus-regular-font);
457
- --ls: var(--ts-display-serif-2xs-plus-regular-ls);
458
- --fs-px: 20px;
459
- --lh-px: 24px;
460
- }
461
- .fnav-listwrap {
462
- margin-top: var(--space-lg);
463
- padding-left: 22px;
464
- }
465
- .fnav-list {
466
- gap: 10px;
467
- }
468
- .fnav-list .fitem {
469
- --fs-px: 16px;
470
- --lh-px: 22px;
471
- }
472
- }
473
-
474
- @container (--rt) {
475
- .f-nav {
476
- width: calc(var(--t) * 12 + 1px);
477
- margin-left: 0;
478
- }
479
- .fnav-groups {
480
- display: flex;
481
- }
482
- .fnav-group,
483
- .fnav-group[data-open] {
484
- width: calc(var(--t) * 3 + 1px);
485
- height: calc(var(--t) * 4 + 1px);
486
- padding: var(--space-2xl) var(--space-2xl) 0;
487
- overflow: visible;
488
- background: none;
489
- box-shadow: none;
490
- /* Static columns do not publish drawer growth. */
491
- --drawer-extra: 0;
492
- }
493
- .fnav-group + .fnav-group {
494
- margin-top: 0;
495
- margin-left: -1px;
496
- }
497
- .fnav-trigger {
498
- display: none;
499
- }
500
- .fnav-static {
501
- display: flex;
502
- align-items: center;
503
- gap: var(--space-md);
504
- padding-left: var(--space-2xs);
505
- }
506
- .fnav-dot {
507
- width: 6px;
508
- height: 6px;
509
- }
510
- .fnav-name {
511
- --font: var(--ts-display-serif-4xs-plus-medium-font);
512
- --ls: var(--ts-display-serif-4xs-plus-medium-ls);
513
- --fs-px: initial;
514
- --lh-px: initial;
515
- }
516
- .fnav-list .fitem {
517
- --fs-px: initial;
518
- --lh-px: initial;
519
- }
520
- .fnav-listwrap,
521
- .fnav-group[data-open] .fnav-listwrap {
522
- margin-top: var(--space-lg);
523
- padding-left: var(--space-xl);
524
- visibility: visible;
525
- pointer-events: auto;
526
- clip-path: none;
527
- transition: none;
528
- }
529
- .fnav-list {
530
- gap: var(--space-md);
531
- }
532
- }
533
-
534
- @container (--rd1) {
535
- .fnav-group,
536
- .fnav-group[data-open] {
537
- padding: var(--space-3xl) var(--space-4xl) 0;
538
- }
539
- .fnav-static {
540
- gap: var(--space-lg);
541
- }
542
- .fnav-dot {
543
- width: 8px;
544
- height: 8px;
545
- }
546
- .fnav-name {
547
- --font: var(--ts-display-serif-3xs-medium-font);
548
- --ls: var(--ts-display-serif-3xs-medium-ls);
549
- }
550
- .fnav-listwrap,
551
- .fnav-group[data-open] .fnav-listwrap {
552
- padding-left: var(--space-3xl);
553
- }
554
- .fnav-list {
555
- gap: var(--space-lg);
556
- }
557
- .fnav-list .fitem {
558
- --fs-px: 16px;
559
- --lh-px: 22px;
560
- }
561
- }
562
-
563
- @container (--rd2) {
564
- .fnav-group,
565
- .fnav-group[data-open] {
566
- height: calc(var(--t) * 3 + 1px);
567
- padding: var(--space-6xl) 56px 0;
568
- }
569
- .fnav-name {
570
- --font: var(--ts-display-serif-2xs-medium-font);
571
- --ls: var(--ts-display-serif-2xs-medium-ls);
572
- }
573
- .fnav-listwrap,
574
- .fnav-group[data-open] .fnav-listwrap {
575
- margin-top: var(--space-xl);
576
- }
577
- .fnav-list .fitem {
578
- --fs-px: initial;
579
- --lh-px: initial;
580
- }
581
- }
582
-
583
- .f-railext {
584
- position: absolute;
585
- inset: 0;
586
- z-index: -1;
587
- pointer-events: none;
588
- }
589
- .f-ext {
590
- position: absolute;
591
- box-sizing: border-box;
592
- left: calc(var(--t) * var(--gx));
593
- top: calc(var(--t) * var(--gy));
594
- width: calc(var(--t) + 1px);
595
- height: calc(var(--t) + 1px);
596
- border: 1px solid var(--line);
597
- opacity: 0;
598
- transition: opacity var(--motion-drawer-duration) var(--motion-drawer-ease);
599
- }
600
- .f-ext.on {
601
- opacity: 1;
602
- /* cascade away from the drawer, nearest cell first; close fades with
603
- the collapse — no stagger, no delay (the base rule above) */
604
- transition-delay: calc(var(--i) * var(--motion-rail-stagger));
605
- }
606
-
607
- .f-ext.rs {
608
- display: none;
609
- }
610
- @container (--rs) {
611
- .f-ext.rm { display: none; }
612
- .f-ext.rs { display: block; }
613
- }
614
- @container (--rt) {
615
- .f-ext.rm,
616
- .f-ext.rs { display: none; }
617
- }
618
-
619
- .f-logo {
620
- position: relative;
621
- width: 100%;
622
- height: calc(var(--t) * 8);
623
- }
624
- .f-lockband {
625
- margin-top: calc(var(--t));
626
- height: calc(var(--t) * 3);
627
- width: 100%;
628
- display: flex;
629
- align-items: center;
630
- justify-content: center;
631
- }
632
- .f-lockup {
633
- display: block;
634
- width: calc(var(--t) * 8);
635
- aspect-ratio: 380 / 61;
636
- background-color: var(--color-text-200);
637
- -webkit-mask-image: url("/media/brand/ks-lockup.svg");
638
- mask-image: url("/media/brand/ks-lockup.svg");
639
- -webkit-mask-size: contain;
640
- mask-size: contain;
641
- -webkit-mask-repeat: no-repeat;
642
- mask-repeat: no-repeat;
643
- -webkit-mask-position: center;
644
- mask-position: center;
645
- }
646
-
647
- .f-copy {
648
- box-sizing: border-box;
649
- border: 1px solid var(--line);
650
- display: grid;
651
- grid-template-columns: repeat(2, minmax(0, 1fr));
652
- grid-template-rows: repeat(3, minmax(0, 1fr));
653
- align-items: center;
654
- margin-top: calc(var(--t));
655
- width: calc(var(--t) * 12 + 1px);
656
- height: calc(var(--t) * 3);
657
- padding-inline: calc(var(--t));
658
- /* 2xs → xs regular, tracked tighter than the step. */
659
- --font: var(--ts-text-2xs-regular-font);
660
- --opsz: var(--ts-text-2xs-regular-opsz);
661
- --ls: -0.02em;
662
- --fs-rm: var(--ts-text-2xs-regular-fs); --fs-rs: var(--ts-text-2xs-regular-fs); --fs-rt: var(--ts-text-2xs-regular-fs); --fs-rd1: var(--ts-text-xs-regular-fs); --fs-rd2: var(--ts-text-sm-regular-fs);
663
- --lh-rm: var(--ts-text-2xs-regular-lh); --lh-rs: var(--ts-text-2xs-regular-lh); --lh-rt: var(--ts-text-2xs-regular-lh); --lh-rd1: var(--ts-text-xs-regular-lh); --lh-rd2: var(--ts-text-sm-regular-lh); --fs-rm-to: var(--ts-text-xs-regular-fs); --lh-rm-to: var(--ts-text-xs-regular-lh); --fs-rd1-to: var(--fs-rd2); --lh-rd1-to: var(--lh-rd2);
664
- color: var(--color-text-500);
665
- white-space: nowrap;
666
- }
667
- .f-legal-links {
668
- display: contents;
669
- }
670
- .f-copy > span {
671
- grid-column: 1 / -1;
672
- grid-row: 3;
673
- display: flex;
674
- align-items: center;
675
- justify-content: center;
676
- }
677
- .f-legal-links > * {
678
- display: flex;
679
- align-items: center;
680
- justify-content: center;
681
- }
682
- .f-copy a,
683
- .f-legal-preferences {
684
- color: inherit;
685
- text-decoration: none;
686
- }
687
- .f-legal-preferences {
688
- appearance: none;
689
- border: 0;
690
- padding: 0;
691
- background: transparent;
692
- font: inherit;
693
- cursor: pointer;
694
- }
695
- .f-legal-preferences:focus-visible {
696
- box-shadow: 0 0 0 var(--ring-w) var(--color-bg-400);
697
- }
698
-
699
- @container (--rs) {
700
- .f-copy {
701
- --ls: var(--ts-text-xs-regular-ls);
702
- --fs-px: 12px;
703
- --lh-px: 16px;
704
- }
705
- }
706
-
707
- @container (--rd1) {
708
- /* +1px covers the line-inclusive r5 overlay so #042019 cannot
709
- leak under the copyright cell (the left cells already paint t+1). */
710
- .f-logo {
711
- height: calc(var(--t) * 5 + 1px);
712
- }
713
- .f-copy {
714
- display: flex;
715
- margin-top: 0;
716
- margin-left: calc(var(--t) * 5);
717
- width: calc(var(--t) * 7 + 1px);
718
- height: calc(var(--t) + 1px);
719
- justify-content: center;
720
- gap: var(--space-sm);
721
- padding-inline: var(--space-none);
722
- padding-right: var(--t);
723
- border-bottom: none;
724
- --fs-px: initial;
725
- --lh-px: initial;
726
- }
727
- }
728
-
729
- @container (--rd2) {
730
- .f-copy {
731
- gap: var(--space-6xl);
732
- padding-right: var(--space-none);
733
- --opsz: var(--ts-text-sm-regular-opsz);
734
- }
735
- }