Repository navigation
Expand file tree
/
Copy pathglobals.css
More file actions
537 lines (507 loc) · 35.6 KB
/
Copy pathglobals.css
File metadata and controls
537 lines (507 loc) · 35.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
/* ============================================================
Tokens. Palette from the brand mark: steel, whetstone grit (teal), spark (amber, mark only).
Shape rule: buttons are pills, surfaces 20px, inputs and small blocks 10px.
============================================================ */
:root {
--bg: #eef2f7; --surface: #ffffff; --surface-2: #f6f8fb; --sunk: #e6ebf2;
--text: #111827; --text-2: #3d4757; --muted: #5f6b7d;
--line: rgba(17, 24, 39, .08); --line-2: rgba(17, 24, 39, .14);
--grit: #0a7a6d; --on-grit: #ffffff;
--term-bg: #0f1520; --term-text: #d9e0ea; --term-dim: #7f8b9c; --term-hl: #34dcc6;
--nav-bg: rgba(238, 242, 247, .72);
--shadow-lg: 0 40px 80px -48px rgba(17, 24, 39, .55), 0 12px 28px -18px rgba(17, 24, 39, .2);
--mark-shadow: 0 50px 100px -50px rgba(17, 24, 39, .65);
--glow-rgb: 10, 122, 109; --spark-rgb: 245, 165, 36; --grit-2: #0b8f80; --spark: #b86a00; --steel: #5b6b80;
--ring: rgba(17, 24, 39, .06);
--spark-ink: #8a4f00;
--stage-shadow: 0 50px 100px -44px rgba(17, 24, 39, .4), 0 14px 30px -20px rgba(17, 24, 39, .18);
--ease-out: cubic-bezier(.23, 1, .32, 1);
--r-lg: 20px; --r-md: 14px; --r-sm: 10px;
--font-stack: var(--font-sans), system-ui, -apple-system, "Segoe UI", sans-serif;
--mono-stack: var(--font-mono), ui-monospace, "Cascadia Code", Consolas, monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #0c111b; --surface: #131a28; --surface-2: #161e2d; --sunk: #0f1521;
--text: #e9edf3; --text-2: #b4bfcd; --muted: #8b97a9;
--line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
--grit: #34dcc6; --on-grit: #062a26;
--term-bg: #0a0f18;
--nav-bg: rgba(12, 17, 27, .7);
--shadow-lg: 0 50px 100px -48px rgba(0, 0, 0, .9), 0 12px 28px -18px rgba(0, 0, 0, .5);
--mark-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
--glow-rgb: 52, 220, 198; --grit-2: #8ff0e2; --spark: #ffc857; --steel: #8a98ad;
--ring: rgba(255, 255, 255, .04);
--spark-ink: #ffc857;
--stage-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 14px 30px -20px rgba(0, 0, 0, .6);
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #0c111b; --surface: #131a28; --surface-2: #161e2d; --sunk: #0f1521;
--text: #e9edf3; --text-2: #b4bfcd; --muted: #8b97a9;
--line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .13);
--grit: #34dcc6; --on-grit: #062a26;
--term-bg: #0a0f18;
--nav-bg: rgba(12, 17, 27, .7);
--shadow-lg: 0 50px 100px -48px rgba(0, 0, 0, .9), 0 12px 28px -18px rgba(0, 0, 0, .5);
--mark-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9);
--glow-rgb: 52, 220, 198; --grit-2: #8ff0e2; --spark: #ffc857; --steel: #8a98ad;
--ring: rgba(255, 255, 255, .04);
--spark-ink: #ffc857;
--stage-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 14px 30px -20px rgba(0, 0, 0, .6);
color-scheme: dark;
}
/* ============================================================
Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
background: var(--bg); color: var(--text);
font: 16px/1.6 var(--font-stack); -webkit-font-smoothing: antialiased; overflow-x: clip;
transition: background-color 200ms ease, color 200ms ease;
}
body > main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
code, kbd { font-family: var(--mono-stack); }
:focus-visible { outline: 2px solid var(--grit); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 { margin: 0; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
h3 { margin: 0; letter-spacing: -.02em; font-weight: 600; }
.lede { margin: 24px 0 0; font-size: 20px; line-height: 1.5; letter-spacing: -.01em; color: var(--text-2); max-width: 34ch; }
.sub { margin: 0 0 48px; font-size: 18px; color: var(--text-2); max-width: 56ch; }
/* ============================================================
Buttons and links
============================================================ */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
border-radius: 999px; font-weight: 500; font-size: 14.5px; white-space: nowrap;
transition: transform 160ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--grit); color: var(--on-grit); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
.btn-solid:hover { background: color-mix(in oklab, var(--grit) 88%, var(--text)); }
.btn-ghost:hover { border-color: color-mix(in oklab, var(--grit) 45%, var(--line-2)); }
}
.text-link { display: inline-block; color: var(--text-2); font-size: 15px; padding: 6px 0; border-bottom: 1px solid var(--line-2); transition: color 180ms ease, border-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { color: var(--text); border-color: var(--grit); } }
.link-btn { color: var(--grit); font-weight: 500; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .link-btn:hover { text-decoration: underline; text-underline-offset: 3px; } }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--text-2); transition: transform 160ms var(--ease-out), background-color 180ms ease; }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--sunk); color: var(--text); } }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; } :root[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .theme-sun { display: block; } :root:not([data-theme="light"]) .theme-moon { display: none; }
}
/* ============================================================
Nav (translucent layer, content scrolls under it)
============================================================ */
.nav {
position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
background: var(--nav-bg); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 16px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--text-2); }
.nav-links a { padding: 6px 0; transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text); } }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-gh { height: 38px; padding: 0 16px; font-size: 14px; }
.lang { display: flex; padding: 2px; border-radius: 999px; border: 1px solid var(--line-2); }
.lang a { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); transition: background-color 180ms ease, color 180ms ease; }
.lang a[aria-current="true"] { background: var(--sunk); color: var(--text); }
/* ============================================================
Install command (the one place Geist Mono is used)
============================================================ */
.cmd {
position: relative; display: flex; align-items: center; gap: 10px; min-width: 0;
padding: 6px 6px 6px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-2);
font-family: var(--mono-stack); font-size: 14px;
}
.cmd[data-size="sm"] { padding: 3px 3px 3px 12px; border-radius: var(--r-sm); font-size: 12.5px; background: var(--sunk); border-color: transparent; }
.cmd .dollar { color: var(--muted); user-select: none; }
.cmd[data-size="sm"] .dollar { display: none; }
.cmd code { flex: 1; min-width: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .hl { color: var(--grit); }
.copy {
position: relative; flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted);
transition: transform 160ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.cmd[data-size="sm"] .copy { width: 32px; height: 32px; border-radius: 7px; }
.copy:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .copy:hover { background: color-mix(in oklab, var(--grit) 12%, transparent); color: var(--text); } }
.copy svg { position: absolute; width: 16px; height: 16px; transition: opacity 200ms ease, transform 200ms var(--ease-out), filter 200ms ease; }
.copy .i-check { opacity: 0; transform: scale(.6); filter: blur(3px); color: var(--grit); }
.copy[data-status="done"] .i-copy { opacity: 0; transform: scale(.6); filter: blur(3px); }
.copy[data-status="done"] .i-check { opacity: 1; transform: none; filter: none; }
.copy-error {
position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: max-content; max-width: 260px;
padding: 8px 12px; border-radius: var(--r-sm); background: var(--text); color: var(--bg);
font: 13px/1.4 var(--font-stack); text-align: left; white-space: normal;
}
/* ============================================================
Hero: the organization. The headline is revealed line by line; the mark rises like a sun
from behind a grinding-wheel horizon, and a spark glint runs along the wheel's rim.
============================================================ */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: -30deg; }
.hero {
position: relative; padding: 72px 0 0; overflow: clip;
background: radial-gradient(55% 45% at 50% 100%, rgba(var(--glow-rgb), .13), rgba(var(--spark-rgb), .04) 55%, transparent 80%);
}
.hero-copy { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(44px, 7.6vw, 108px); line-height: .96; letter-spacing: -.05em; }
.hero h1 .l {
display: block; padding-bottom: .12em; margin-bottom: -.06em;
background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 .l1 { background-image: linear-gradient(180deg, var(--text) 30%, var(--steel)); }
.hero h1 .l2 { background-image: linear-gradient(95deg, var(--grit) 5%, var(--grit-2) 55%, var(--spark) 100%); }
.hero .lede { margin: 26px auto 0; max-width: 46ch; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
/* The scene: --m is the mark size, --rim how much wheel shows below its rim.
The .sun box ends at the rim and clips the mark, so the mark seems to rise from behind the wheel. */
.hero-scene { --m: clamp(150px, 17vw, 230px); --rim: 64px; position: relative; height: calc(var(--m) * 1.1 + var(--rim)); margin-top: 48px; }
.hero-scene .horizon { top: calc(100% - var(--rim)); z-index: 0; }
/* The wheel continues below the hero; fade it into the next section instead of a hard cut */
.hero-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: var(--rim); pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.sun { position: absolute; left: 50%; bottom: var(--rim); z-index: 1; width: var(--m); height: calc(var(--m) * 1.2); transform: translateX(-50%); clip-path: inset(-60% -60% 0 -60%); }
.sun .mark { position: absolute; left: 0; bottom: calc(var(--m) * -.16); width: 100%; }
/* The brand mark (app-icon style) */
.mark { aspect-ratio: 1; overflow: hidden; border-radius: 22%; box-shadow: var(--mark-shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mark[data-size="sm"] { width: 76px; margin-bottom: 28px; }
.mark svg { display: block; width: 100%; height: 100%; }
.mark-spark { transform-origin: 284px 244px; animation: ignite 900ms var(--ease-out) 450ms both; }
.mark-cursor { animation: blink 1.1s steps(1) 1.4s 3; }
/* Marks inside a scroll reveal wait until they are on screen */
html[data-js] .reveal:not([data-in]) .mark-spark, html[data-js] .reveal:not([data-in]) .mark-cursor { animation-play-state: paused; }
@keyframes ignite { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }
/* Grinding-wheel horizon */
.horizon { position: absolute; left: 50%; top: 150px; width: max(170vw, 1700px); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.horizon-disc {
position: absolute; inset: 0; border-radius: 50%;
background: radial-gradient(closest-side, var(--bg) 97%, transparent 100%);
box-shadow:
0 -1px 0 0 rgba(var(--glow-rgb), .75),
0 -22px 70px -14px rgba(var(--glow-rgb), .5),
0 -110px 220px -30px rgba(var(--glow-rgb), .22),
inset 0 40px 90px -40px rgba(var(--glow-rgb), .35);
}
/* Grit: fine concentric grooves near the rim, like the face of a wheel */
.horizon-disc::before {
content: ""; position: absolute; inset: 0; border-radius: 50%;
background: repeating-radial-gradient(circle, transparent 0 9px, var(--ring) 9px 10px);
-webkit-mask-image: radial-gradient(closest-side, transparent 93%, #000 99%, transparent 100%);
mask-image: radial-gradient(closest-side, transparent 93%, #000 99%, transparent 100%);
}
/* The spark glint that runs along the rim */
.horizon-disc::after {
content: ""; position: absolute; inset: -1px; border-radius: 50%; opacity: 0;
background: conic-gradient(from var(--sweep), rgba(var(--spark-rgb), 0) 0deg, rgba(var(--spark-rgb), .7) 2.5deg, #fff6dc 4.5deg, rgba(var(--spark-rgb), 0) 5.5deg, transparent 360deg);
-webkit-mask-image: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 2px), transparent 100%);
mask-image: radial-gradient(closest-side, transparent calc(100% - 6px), #000 calc(100% - 2px), transparent 100%);
}
/* One orchestrated load sequence (skipped with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
.hero h1 .l { animation: lineIn 1.1s var(--ease-out) .1s both; }
.hero h1 .l2 { animation-delay: .28s; }
.hero .lede { animation: rise .9s var(--ease-out) .42s both; }
.hero-links { animation: rise .9s var(--ease-out) .55s both; }
.hero-scene .horizon { animation: horizonRise 2s var(--ease-out) .2s both; }
.sun .mark { animation: sunrise 1.8s var(--ease-out) .6s both; }
.sun .mark-spark { animation-delay: 2s; }
.sun .mark-cursor { animation-delay: 2.9s; }
.horizon-disc::after { animation: glint 7s cubic-bezier(.45, 0, .25, 1) 1.6s infinite; }
}
@keyframes rise { from { opacity: 0; translate: 0 18px; filter: blur(6px); } }
@keyframes lineIn { from { clip-path: inset(0 -10% 100% -10%); translate: 0 .4em; } to { clip-path: inset(-30% -10% -40% -10%); translate: 0 0; } }
@keyframes horizonRise { from { translate: 0 12vh; opacity: 0; } 40% { opacity: 1; } }
@keyframes sunrise { from { translate: 0 105%; } }
@keyframes glint {
0% { --sweep: -32deg; opacity: 0; }
10% { opacity: 1; }
60% { --sweep: 26deg; opacity: 1; }
68%, 100% { --sweep: 28deg; opacity: 0; }
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--glow-rgb), .55); } 60% { box-shadow: 0 0 0 6px rgba(var(--glow-rgb), 0); } }
/* ============================================================
Home sections
============================================================ */
.section { padding: 96px 0; border-top: 1px solid var(--line); }
/* About: manifesto, values and plain facts */
.section.section-about { border-top: 0; padding: 120px 0 96px; }
.manifesto {
margin: 0 auto 104px; max-width: 28ch; text-align: center; text-wrap: pretty;
font-size: clamp(30px, 4.2vw, 56px); line-height: 1.16; letter-spacing: -.035em; font-weight: 600;
view-timeline: --manifesto block;
}
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) {
.manifesto span {
color: color-mix(in oklab, var(--text) 20%, transparent);
animation: lit linear both; animation-timeline: --manifesto;
animation-range: cover calc(16% + var(--i) / var(--n) * 36%) cover calc(20% + var(--i) / var(--n) * 36%);
}
}
}
@keyframes lit { to { color: var(--text); } }
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.values li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line-2); }
.values h3 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.04em; transition: color 220ms ease; }
.values p { margin: 0; max-width: 44ch; font-size: 18px; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) { .values li:hover h3 { color: var(--grit); } }
.org-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; }
.org-facts dt { font-size: 13px; color: var(--muted); }
.org-facts dd { margin: 4px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; }
/* Status chip: real state of an area or project */
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--sunk); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status[data-status="active"] { color: var(--grit); background: rgba(var(--glow-rgb), .12); }
.status[data-status="in-progress"] { color: var(--spark-ink); background: rgba(var(--spark-rgb), .14); }
/* What we do: two areas, each with its own visual */
.areas { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.area { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.area-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; }
.area h3 { font-size: 28px; letter-spacing: -.03em; }
.area p { margin: 0; max-width: 46ch; color: var(--text-2); }
.area .text-link { margin-top: 6px; }
.area-visual { height: 220px; margin: auto 0 0 32px; overflow: hidden; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; border-top-left-radius: 14px; background: var(--term-bg); box-shadow: var(--shadow-lg); }
.area-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 28% 32%; transition: scale 700ms var(--ease-out); }
.area-research { background: radial-gradient(120% 80% at 100% 100%, rgba(var(--spark-rgb), .14), transparent 60%), var(--surface); }
/* Draft pages: the guides are still being written */
.drafts { position: relative; height: 210px; margin-top: auto; }
.drafts i {
position: absolute; bottom: -36px; width: 44%; height: 200px; padding: 26px 20px; border-radius: 12px 12px 0 0;
background: repeating-linear-gradient(180deg, var(--line-2) 0 2px, transparent 2px 16px) content-box, var(--surface-2);
border: 1px solid var(--line-2); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35);
transition: rotate 500ms var(--ease-out), translate 500ms var(--ease-out);
}
.drafts i:nth-child(1) { left: 10%; rotate: -9deg; }
.drafts i:nth-child(2) { left: 29%; bottom: -24px; rotate: 1deg; }
.drafts i:nth-child(3) { left: 48%; rotate: 10deg; }
@media (hover: hover) and (pointer: fine) {
.area-skills:hover .area-visual img { scale: 1.04; }
.area-research:hover .drafts i:nth-child(1) { rotate: -14deg; translate: -12px -4px; }
.area-research:hover .drafts i:nth-child(2) { translate: 0 -14px; }
.area-research:hover .drafts i:nth-child(3) { rotate: 15deg; translate: 12px -4px; }
}
/* Projects: the first one gets the full width, the rest share a row */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.project-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--term-bg); border-bottom: 1px solid var(--line-2); }
.project-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 28% 30%; transition: scale 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .project:hover .project-shot img { scale: 1.03; } }
.project:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
.project:first-child .project-shot { order: 2; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-left: 1px solid var(--line-2); }
.project-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.project-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.project-tags > span:first-child { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.project h3 { font-size: 26px; letter-spacing: -.03em; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .project h3 a:hover { color: var(--grit); } }
.project p { margin: 0; color: var(--text-2); }
.project-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.project-next { justify-content: center; background: transparent; border-style: dashed; }
.project-next .project-body { justify-content: center; }
.project-next .project-links { margin-top: 8px; }
/* Spotlight border: lights up under the pointer (position set by Glow.tsx) */
.glow { position: relative; isolation: isolate; }
.glow::before, .glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 300ms ease; }
.glow::before {
z-index: 3; padding: 1px;
background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow-rgb), .9), transparent 45%);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow::after { z-index: 2; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow-rgb), .07), transparent 45%); }
@media (hover: hover) and (pointer: fine) { .glow:hover::before, .glow:hover::after { opacity: 1; } }
/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team-card { height: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 22px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.team-who h3 { font-size: 24px; letter-spacing: -.03em; }
.team-who a { position: relative; z-index: 4; color: var(--grit); font-size: 14.5px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .team-who a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.team-bio { grid-column: 1 / -1; margin: 20px 0 0; font-size: 17px; color: var(--text-2); }
.team-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.avatar { width: 88px; height: 88px; flex: none; border-radius: 50%; object-fit: cover; background: var(--sunk); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px rgba(var(--glow-rgb), .55); }
.avatar-fallback { display: grid; place-items: center; font-size: 26px; font-weight: 600; color: var(--text-2); }
.team-outro { margin: 28px 0 0; font-size: 17px; color: var(--text-2); }
/* Contact: the wheel again, as a bookend to the hero */
.section.cta { position: relative; overflow: clip; padding: 140px 0 200px; }
.horizon[data-variant="cta"] { top: 72%; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta h2 { max-width: 14ch; font-size: clamp(44px, 6.5vw, 88px); letter-spacing: -.05em; line-height: 1; }
.cta .sub { margin: 18px auto 36px; }
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 940px; text-align: left; }
.channels a {
display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: var(--r-lg);
border: 1px solid var(--line-2); background: color-mix(in oklab, var(--surface) 82%, transparent);
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
transition: border-color 180ms ease, transform 160ms var(--ease-out);
}
.channels a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .channels a:hover { border-color: color-mix(in oklab, var(--grit) 55%, var(--line-2)); } }
.channels strong { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.channels svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.channels span { font-size: 14.5px; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
.horizon[data-variant="cta"] .horizon-disc::after { animation-delay: 1s; }
}
/* Scroll reveals (only hide content when JS runs and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
html[data-js] .reveal { opacity: 0; translate: 0 22px; filter: blur(6px); transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), filter .9s var(--ease-out); }
html[data-js] .reveal[data-in] { opacity: 1; translate: 0 0; filter: none; }
.sub.reveal, .values li:nth-child(2), .areas > .reveal:nth-child(2), .projects > .reveal:nth-child(2), .team > li:nth-child(2) { transition-delay: .08s; }
.values li:nth-child(3), .projects > .reveal:nth-child(3) { transition-delay: .16s; }
}
/* ============================================================
Project detail
============================================================ */
.detail { padding: 48px 0 96px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--text); } }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }
.detail .project-tags { margin-bottom: 14px; }
.detail h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.detail-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.detail-head .lede { max-width: 58ch; margin-top: 14px; font-size: 18px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.detail-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: start; }
.shot { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: var(--term-bg); }
.shot img { display: block; width: 100%; }
.detail-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.side-title { margin: 0 0 10px; font-size: 15px; letter-spacing: -.01em; }
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; }
.asks li { position: relative; padding-left: 16px; }
.asks li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 2px; background: var(--grit); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.install { display: grid; gap: 10px; min-width: 0; }
.install-panel { display: grid; gap: 8px; min-width: 0; }
/* Long commands (git clone paths) wrap instead of hiding behind a horizontal scroll */
.install-panel .cmd code { white-space: pre-wrap; overflow-wrap: anywhere; padding: 6px 0; line-height: 1.5; }
.install-os { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.install-hint { margin: 4px 0 0; font-size: 13.5px; color: var(--text-2); }
.detail-live h2 { margin-bottom: 28px; }
/* Live stage window (real output of a project, embedded) */
.stage {
max-width: 1160px; margin: 0 auto; border-radius: 18px; overflow: hidden;
background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--stage-shadow);
}
.stage-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 10px 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.stage-dots { display: flex; gap: 7px; flex: none; }
.stage-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.stage-url {
flex: 1; min-width: 0; padding: 5px 12px; border-radius: 8px; background: var(--sunk); text-align: center;
font: 12.5px var(--mono-stack); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stage-open { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background-color 180ms ease, color 180ms ease; }
.stage-open svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .stage-open:hover { background: var(--sunk); color: var(--text); } }
.seg.stage-tabs { width: 100%; max-width: none; border-radius: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.stage-frame { position: relative; height: clamp(420px, 66vh, 680px); background: var(--sunk); }
.stage-frame iframe { display: block; width: 100%; height: 100%; border: 0; transition: opacity 240ms ease, filter 240ms ease; }
.stage-frame[data-loading="true"] iframe { opacity: .25; filter: blur(4px); }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.stage-frame[data-loading="true"] .stage-loading { opacity: 1; }
.stage-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; font-size: 13.5px; color: var(--muted); background: var(--surface-2); border-top: 1px solid var(--line); }
.stage-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); }
.stage-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--grit); }
@media (prefers-reduced-motion: no-preference) { .stage-live i { animation: pulse 2.4s ease-in-out infinite; } }
/* Segmented tabs: an overlay clipped with clip-path gives a seamless color change */
.seg { position: relative; overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; border-radius: 12px; background: var(--sunk); }
.seg::-webkit-scrollbar { display: none; }
.seg-track { position: relative; display: inline-block; min-width: max-content; }
.seg-list { display: flex; gap: 2px; padding: 4px; }
.seg-list > * { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); white-space: nowrap; transition: transform 160ms var(--ease-out); }
.seg-list button:active { transform: scale(.97); }
.seg-overlay { position: absolute; inset: 0; pointer-events: none; clip-path: inset(4px var(--r, 100%) 4px var(--l, 0) round 8px); transition: clip-path 260ms var(--ease-out); }
.seg-overlay > * { background: var(--surface); color: var(--text); }
.seg[data-instant="true"] .seg-overlay { transition: none; }
/* ============================================================
Footer, 404, redirect
============================================================ */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand .brand { color: var(--text); font-size: 15px; }
.footer-brand p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover { color: var(--text); } }
.not-found { display: grid; align-items: center; padding: 96px 0; }
.not-found img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 32px; box-shadow: var(--mark-shadow); }
.not-found h1 { font-size: clamp(36px, 5vw, 60px); }
.not-found .lede { max-width: 48ch; }
.not-found .lede + .lede { margin-top: 10px; font-size: 16px; color: var(--muted); }
.not-found-links { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.redirect { min-height: 100dvh; display: grid; place-items: center; }
.redirect a { margin: 0 8px; color: var(--grit); }
/* ============================================================
Responsive
============================================================ */
@media (max-width: 1040px) {
.nav-links { display: none; }
}
@media (max-width: 980px) {
.detail-grid, .areas, .projects { grid-template-columns: minmax(0, 1fr); }
.project:first-child { display: flex; }
.project:first-child .project-shot { order: 0; aspect-ratio: 16 / 9; min-height: 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
.channels { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 860px) {
.hero { padding-top: 48px; }
.team { grid-template-columns: minmax(0, 1fr); }
.values li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
.org-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section.section-about { padding: 88px 0 72px; }
.manifesto { margin-bottom: 72px; }
.section.cta { padding: 96px 0 150px; }
.detail-head { flex-direction: column; align-items: flex-start; }
.section { padding: 64px 0; }
.area { min-height: 0; }
}
@media (max-width: 640px) {
.wrap { padding: 0 16px; }
.nav .wrap { gap: 12px; }
.nav-gh { display: none; }
.lede { font-size: 18px; }
.stage-dots, .stage-open svg { display: none; }
.stage-frame { height: 400px; }
.area-copy, .project-body, .team-card { padding: 24px; }
.area-visual { height: 180px; margin-left: 24px; }
.drafts { height: 180px; }
.team-card { gap: 0 16px; }
.avatar { width: 64px; height: 64px; }
}
/* ============================================================
Accessibility preferences
============================================================ */
@media (prefers-reduced-motion: reduce) {
.mark-spark, .mark-cursor { animation: none; }
.seg-overlay { transition-duration: 0ms; }
.btn:active, .icon-btn:active, .copy:active, .seg-list button:active, .channels a:active { transform: none; }
.copy svg { transition: opacity 150ms ease; transform: none !important; filter: none !important; }
.drafts i, .area-visual img, .project-shot img { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
.nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.channels a { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
:root { --line: rgba(17, 24, 39, .3); --line-2: rgba(17, 24, 39, .45); }
}