@keystone-sites/marketing-design-system 1.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 (130) hide show
  1. package/AGENTS.md +163 -0
  2. package/README.md +85 -0
  3. package/assets/media/brand/ks-lockup.svg +13 -0
  4. package/assets/media/brand/ks-logomark.svg +4 -0
  5. package/assets/media/brand/ks-wordmark-inline.svg +13 -0
  6. package/assets/media/brand/ks-wordmark.svg +11 -0
  7. package/assets/media/fonts/gt-standard-standard-vf.woff2 +0 -0
  8. package/assets/media/fonts/pp-kyoto-variable-upright-vf.woff2 +0 -0
  9. package/base.css +111 -0
  10. package/css-vars.d.ts +10 -0
  11. package/grid/engine.css +368 -0
  12. package/grid/field-hash.ts +31 -0
  13. package/grid/field.tsx +48 -0
  14. package/grid/gates.cjs +34 -0
  15. package/grid/region.tsx +97 -0
  16. package/icons.tsx +1224 -0
  17. package/index.css +77 -0
  18. package/lib/autoplay-gate.ts +88 -0
  19. package/lib/focus-trap.ts +42 -0
  20. package/lib/grader.ts +131 -0
  21. package/lib/legal-data.ts +1 -0
  22. package/lib/legal.ts +41 -0
  23. package/lib/noise.tsx +114 -0
  24. package/lib/render-boundary.tsx +27 -0
  25. package/lib/scroll-lock.ts +25 -0
  26. package/lib/swipe.ts +124 -0
  27. package/lib/use-active-section.ts +43 -0
  28. package/lib/use-count-up.ts +26 -0
  29. package/lib/use-grader-search.ts +118 -0
  30. package/lib/use-video-carousel.ts +271 -0
  31. package/media.ts +558 -0
  32. package/package.json +201 -0
  33. package/primitives/button-inline.css +52 -0
  34. package/primitives/button-inline.tsx +38 -0
  35. package/primitives/buttons.css +449 -0
  36. package/primitives/buttons.tsx +263 -0
  37. package/primitives/case-study-button.css +71 -0
  38. package/primitives/case-study-button.tsx +28 -0
  39. package/primitives/case-study-card.css +318 -0
  40. package/primitives/case-study-card.tsx +116 -0
  41. package/primitives/closer-row.css +14 -0
  42. package/primitives/closer-row.tsx +22 -0
  43. package/primitives/cta-row.css +41 -0
  44. package/primitives/cta-row.tsx +39 -0
  45. package/primitives/disclosure.css +210 -0
  46. package/primitives/disclosure.tsx +144 -0
  47. package/primitives/faq-question.css +220 -0
  48. package/primitives/faq-question.tsx +55 -0
  49. package/primitives/field.css +225 -0
  50. package/primitives/field.tsx +266 -0
  51. package/primitives/footer-item.css +72 -0
  52. package/primitives/footer-item.tsx +42 -0
  53. package/primitives/grader-menu.tsx +84 -0
  54. package/primitives/grader.css +302 -0
  55. package/primitives/grader.tsx +284 -0
  56. package/primitives/modal.css +151 -0
  57. package/primitives/modal.tsx +90 -0
  58. package/primitives/notice.css +39 -0
  59. package/primitives/notice.tsx +56 -0
  60. package/primitives/persona-card.css +374 -0
  61. package/primitives/persona-card.tsx +74 -0
  62. package/primitives/picture.css +11 -0
  63. package/primitives/picture.tsx +41 -0
  64. package/primitives/plan-card.css +378 -0
  65. package/primitives/plan-card.tsx +91 -0
  66. package/primitives/prose.css +118 -0
  67. package/primitives/prose.tsx +170 -0
  68. package/primitives/ramps.css +84 -0
  69. package/primitives/slider.css +179 -0
  70. package/primitives/slider.tsx +69 -0
  71. package/primitives/slug.css +87 -0
  72. package/primitives/slug.tsx +37 -0
  73. package/primitives/status.css +298 -0
  74. package/primitives/status.tsx +222 -0
  75. package/primitives/strip.css +40 -0
  76. package/primitives/surface.css +78 -0
  77. package/primitives/surface.tsx +95 -0
  78. package/primitives/table.css +226 -0
  79. package/primitives/table.tsx +122 -0
  80. package/primitives/tabs.css +85 -0
  81. package/primitives/tabs.tsx +122 -0
  82. package/primitives/text.css +110 -0
  83. package/primitives/toc.css +65 -0
  84. package/primitives/toc.tsx +42 -0
  85. package/rules/design-system.md +154 -0
  86. package/rules/grid-and-layout.md +166 -0
  87. package/scripts/generate-exports.mjs +61 -0
  88. package/scripts/generate-type-css.mjs +130 -0
  89. package/sections/faq-island.tsx +102 -0
  90. package/sections/faq.css +213 -0
  91. package/sections/faq.tsx +46 -0
  92. package/sections/footer-nav.tsx +95 -0
  93. package/sections/footer-signature.css +183 -0
  94. package/sections/footer-signature.tsx +114 -0
  95. package/sections/footer.css +735 -0
  96. package/sections/footer.tsx +283 -0
  97. package/sections/gallery-overlay.css +213 -0
  98. package/sections/gallery-overlay.tsx +267 -0
  99. package/sections/landing-benefits.css +59 -0
  100. package/sections/landing-benefits.tsx +81 -0
  101. package/sections/landing-closer.css +23 -0
  102. package/sections/landing-closer.tsx +26 -0
  103. package/sections/landing-hero.css +80 -0
  104. package/sections/landing-hero.tsx +69 -0
  105. package/sections/landing-quote.css +19 -0
  106. package/sections/landing-quote.tsx +30 -0
  107. package/sections/landing-sample.ts +66 -0
  108. package/sections/landing.css +45 -0
  109. package/sections/landing.tsx +69 -0
  110. package/sections/load-orchestrator.tsx +43 -0
  111. package/sections/load.css +138 -0
  112. package/sections/nav-desktop.css +530 -0
  113. package/sections/nav-desktop.tsx +155 -0
  114. package/sections/nav-mobile.css +571 -0
  115. package/sections/nav-mobile.tsx +222 -0
  116. package/sections/nav.css +126 -0
  117. package/sections/nav.tsx +394 -0
  118. package/sections/site-chat-data.ts +16 -0
  119. package/sections/site-chat-open.tsx +25 -0
  120. package/sections/site-chat.tsx +67 -0
  121. package/site-links.ts +36 -0
  122. package/site.ts +2 -0
  123. package/themes/inverted.css +139 -0
  124. package/tokens/fonts.css +38 -0
  125. package/tokens/motion.css +125 -0
  126. package/tokens/primitives.css +163 -0
  127. package/tokens/semantic.css +153 -0
  128. package/tokens/type-styles.json +145 -0
  129. package/tokens/type.css +1548 -0
  130. package/widgets.css +78 -0
@@ -0,0 +1,735 @@
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
+ }