-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
531 lines (500 loc) · 24.5 KB
/
Copy pathstyles.css
File metadata and controls
531 lines (500 loc) · 24.5 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
/* Page-specific layer on top of nocturne.css (the real Nocturne Design
System — https://github.com/starside-io/nocturne). Structure and content
use Nocturne's own components (noct-topbar, noct-panel, noct-card,
noct-stat, noct-tag, noct-badge, noct-btn, noct-disclosure) directly.
This file only supplies what Nocturne doesn't ship: the hero, the work
history list, and the bespoke per-project illustrations. */
:root {
--edge: clamp(20px, 5vw, 72px);
--section-accent: var(--noct-primary);
}
html { scroll-behavior: smooth; }
body { text-wrap: pretty; }
section[id] { scroll-margin-top: 64px; }
.skip-link {
position: fixed; top: 10px; left: 10px; z-index: 100;
padding: 9px 12px;
background: var(--noct-text); color: var(--noct-bg);
font-family: var(--noct-font-mono); font-size: 13px; text-transform: uppercase;
transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
/* — page rhythm — */
.page-section { padding: clamp(48px,8vh,96px) var(--edge); max-width: 1200px; margin: 0 auto; }
.page-section--hero { padding-top: clamp(64px,11vh,140px); padding-bottom: clamp(72px,12vh,150px); position: relative; }
.page-rule { height: 1px; border: 0; background: var(--noct-border); margin-bottom: clamp(40px,6vh,72px); }
.eyebrow {
display: inline-flex; align-items: center; gap: 12px;
font-family: var(--noct-font-mono); font-size: 12px; letter-spacing: 0.08em;
text-transform: uppercase; color: var(--section-accent);
}
.eyebrow__rule { width: 44px; height: 1px; background: var(--section-accent); display: inline-block; }
.prose { margin: 0 0 var(--noct-space-4); font-size: 16px; line-height: 1.7; color: var(--noct-text-muted); }
.prose:last-child { margin-bottom: 0; }
.prose--lg { font-size: 17px; color: var(--noct-text); }
.prose--sm { font-size: 14px; line-height: 1.6; color: var(--noct-text-dim); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row--tags { display: flex; flex-wrap: wrap; gap: 8px; }
/* — hero — */
.hero-inner {
position: relative; display: flex; gap: clamp(32px,5vw,64px);
align-items: center; flex-wrap: wrap;
}
.hero-content { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; flex: 1 1 420px; min-width: 0; }
.status-line {
display: flex; align-items: center; gap: 10px;
font-family: var(--noct-font-mono); font-size: 12px; letter-spacing: 0.04em;
text-transform: uppercase; color: var(--noct-text-dim);
}
.status-line a { color: var(--noct-info); }
.status-line a:hover { text-shadow: var(--noct-glow-info); }
/* — hero terminal window: desktop only, real screens are noisy enough
without a second column fighting the intro copy on a phone — */
.hero-terminal { display: none; }
@media (min-width: 960px) {
.hero-terminal { display: block; }
}
.terminal-window {
width: 100%; max-width: 460px; flex: 1 1 380px;
border: var(--noct-border-hairline) solid var(--noct-border-strong);
background: var(--noct-ink-900);
}
.terminal-window__bar {
display: flex; align-items: center; gap: 7px;
padding: 8px 12px;
border-bottom: var(--noct-border-hairline) solid var(--noct-border);
background: var(--noct-surface);
}
.terminal-window__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--noct-border-strong); }
.terminal-window__dot--danger { background: var(--noct-danger); }
.terminal-window__dot--primary { background: var(--noct-primary); }
.terminal-window__dot--success { background: var(--noct-success); }
.terminal-window__title {
margin-left: 6px; font-family: var(--noct-font-mono); font-size: 11px;
letter-spacing: 0.04em; color: var(--noct-text-dim);
}
.terminal-window__body {
padding: 16px 18px;
font-family: var(--noct-font-mono); font-size: 13px; line-height: 1.9;
color: var(--noct-text-muted);
}
.terminal-window__prompt { color: var(--noct-primary); margin-right: 6px; }
.tw-spacer { height: 1.9em; }
.terminal-cursor {
display: inline-block; width: 7px; height: 13px;
background: var(--noct-primary); margin-left: 3px; vertical-align: -2px;
animation: terminal-blink 1s steps(1) infinite;
}
@keyframes terminal-blink { 50% { opacity: 0; } }
/* — code typing loop: each line is its own overflow-clipped box whose
width steps from 0 to 100% during its slice of one shared 8s cycle,
so they type in sequence, hold, then the whole thing resets and
repeats — nonstop, no JS. steps(N) = the line's character count. — */
.tw-line {
display: block; overflow: hidden; white-space: nowrap;
width: 0; max-width: 100%;
animation-duration: 8s; animation-iteration-count: infinite;
}
.tw-line--1 { animation-name: tw-l1; animation-timing-function: steps(28); }
.tw-line--2 { animation-name: tw-l2; animation-timing-function: steps(11); }
.tw-line--3 { animation-name: tw-l3; animation-timing-function: steps(26); }
.tw-line--4 { animation-name: tw-l4; animation-timing-function: steps(26); }
.tw-line--5 { animation-name: tw-l5; animation-timing-function: steps(26); }
.tw-line--6 { animation-name: tw-l6; animation-timing-function: steps(30); }
@keyframes tw-l1 {
0%, 2% { width: 0; }
13% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
@keyframes tw-l2 {
0%, 13% { width: 0; }
17% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
@keyframes tw-l3 {
0%, 17% { width: 0; }
27% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
@keyframes tw-l4 {
0%, 27% { width: 0; }
37% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
@keyframes tw-l5 {
0%, 37% { width: 0; }
47% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
@keyframes tw-l6 {
0%, 47% { width: 0; }
57% { width: 100%; }
85% { width: 100%; }
88%, 100% { width: 0; }
}
/* — a glitch flicker on the section markers, hover only — */
.noct-panel__index { transition: text-shadow .1s ease; cursor: default; }
.noct-panel__index:hover { text-shadow: 1px 0 0 var(--noct-info), -1px 0 0 var(--noct-danger); }
/* — inline term definitions, CSS-only (see noct-tooltip) — */
.term-hint { border-bottom: 1px dotted var(--noct-text-dim); cursor: help; }
.term-hint:hover { border-bottom-color: var(--section-accent); color: var(--section-accent); }
/* — scroll-driven reveal, pure CSS (animation-timeline: view()), no JS.
Unsupported browsers (Safari, at this writing) just skip the @supports
block and render content at full opacity — never gated behind it. — */
@supports (animation-timeline: view()) {
.reveal {
animation: reveal-in linear both;
animation-timeline: view();
animation-range: entry 0% entry 40%;
}
@keyframes reveal-in {
from { opacity: 0; transform: translateY(28px); }
to { opacity: 1; transform: translateY(0); }
}
}
/* — hero name boot-in: a brief terminal-flicker on load, staggered per
letter via nth-child (each line wrapper counts its own children). — */
@keyframes boot-flicker {
0% { opacity: 0; text-shadow: 0 0 22px var(--noct-primary); }
8% { opacity: 1; }
11% { opacity: .15; }
16% { opacity: 1; text-shadow: 0 0 22px var(--noct-primary); }
100% { opacity: 1; text-shadow: none; }
}
.hero-title .letter { animation: boot-flicker .8s steps(1,end) both; }
.hero-title .letter:nth-child(1) { animation-delay: .02s; }
.hero-title .letter:nth-child(2) { animation-delay: .06s; }
.hero-title .letter:nth-child(3) { animation-delay: .10s; }
.hero-title .letter:nth-child(4) { animation-delay: .14s; }
.hero-title .letter:nth-child(5) { animation-delay: .18s; }
.hero-title .letter:nth-child(6) { animation-delay: .22s; }
.hero-title .letter:nth-child(7) { animation-delay: .26s; }
/* — stat tiles breathe, like live instrumentation rather than static type — */
@keyframes stat-pulse { 0%, 100% { box-shadow: none; } 50% { box-shadow: var(--noct-glow-info-soft); } }
.noct-stat--cyan { animation: stat-pulse 3.6s ease-in-out infinite; }
.hero-title {
margin: 0; font-family: var(--noct-font-display); font-weight: var(--noct-weight-bold);
text-transform: uppercase;
font-size: clamp(46px,8vw,104px); line-height: 1.02; letter-spacing: -0.01em;
cursor: default;
}
.letter {
display: inline-block;
transition: transform .3s cubic-bezier(.22,1.4,.36,1), color .3s ease, text-shadow .3s ease;
}
.letter:hover {
transform: translateY(-10px);
color: var(--noct-primary);
text-shadow: 2px 0 var(--noct-info), -2px 0 var(--noct-danger);
}
/* — shared glitch language: RGB-split shadow + a brief jitter, hover-only — */
@keyframes glitch-jitter {
0% { transform: translate(0); }
20% { transform: translate(-2px, 1px); }
40% { transform: translate(2px, -1px); }
60% { transform: translate(-1px, 0); }
80% { transform: translate(1px, 1px); }
100% { transform: translate(0); }
}
.noct-topbar__link {
transition: text-shadow .15s ease;
}
.noct-topbar__link:hover {
text-shadow: 1px 0 var(--noct-info), -1px 0 var(--noct-danger);
}
.noct-panel__title {
display: inline-block;
transition: text-shadow .15s ease;
}
.noct-panel__title:hover {
text-shadow: 2px 0 var(--noct-info), -2px 0 var(--noct-danger);
animation: glitch-jitter .3s steps(2) 1;
}
.decision-title { display: inline-block; transition: text-shadow .15s ease; }
.noct-disclosure__summary:hover .decision-title {
text-shadow: 2px 0 var(--noct-info), -2px 0 var(--noct-danger);
animation: glitch-jitter .3s steps(2) 1;
}
/* — portrait: duotone wash + HUD corner brackets + a scan sweep on hover — */
.portrait {
position: relative;
overflow: hidden;
width: min(100%, 230px);
border: var(--noct-border-hairline) solid var(--noct-border-strong);
clip-path: polygon(0 0, calc(100% - var(--noct-clip-corner)) 0, 100% var(--noct-clip-corner), 100% 100%, var(--noct-clip-corner) 100%, 0 calc(100% - var(--noct-clip-corner)));
}
.portrait img {
position: relative; z-index: 1;
width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 38%;
filter: grayscale(.8) contrast(1.2) brightness(.92);
}
.portrait::before {
content: ""; position: absolute; inset: 0; z-index: 2;
background: var(--noct-primary);
mix-blend-mode: color;
opacity: .38;
pointer-events: none;
}
.portrait::after {
content: ""; position: absolute; left: 0; right: 0; top: -8%; height: 2px; z-index: 4;
background: var(--noct-primary);
box-shadow: 0 0 12px var(--noct-primary), 0 0 24px var(--noct-primary);
opacity: 0; pointer-events: none;
transition: opacity .2s ease;
}
.portrait:hover::after { opacity: .85; animation: portrait-scan 1.8s linear infinite; }
@keyframes portrait-scan { from { top: -8%; } to { top: 105%; } }
.portrait__corner { position: absolute; z-index: 3; width: 16px; height: 16px; pointer-events: none; }
.portrait__corner--tl { top: 6px; left: 6px; border-left: 2px solid var(--noct-primary); border-top: 2px solid var(--noct-primary); }
.portrait__corner--tr { top: 6px; right: 6px; border-right: 2px solid var(--noct-primary); border-top: 2px solid var(--noct-primary); }
.portrait__corner--bl { bottom: 6px; left: 6px; border-left: 2px solid var(--noct-primary); border-bottom: 2px solid var(--noct-primary); }
.portrait__corner--br { bottom: 6px; right: 6px; border-right: 2px solid var(--noct-primary); border-bottom: 2px solid var(--noct-primary); }
.portrait figcaption {
margin-top: 12px; font-family: var(--noct-font-mono); font-size: 11px;
letter-spacing: 0.06em; text-transform: uppercase; color: var(--noct-text-dim);
}
/* — scope card row (About) — */
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; }
/* — work history — */
.job-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.job-list .noct-card__header { flex-wrap: wrap; row-gap: 6px; }
.job-list .noct-card__title { flex: 1 1 auto; min-width: 0; }
.job-list .noct-badge { flex: none; }
/* — two-column project layout — */
.project-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); gap: clamp(32px,6vw,72px); align-items: start; }
.project-grid--about { grid-template-columns: minmax(0,1fr) minmax(220px,.7fr); }
.project-aside { display: flex; flex-direction: column; gap: 16px; }
.project-visual {
position: relative;
width: 100%;
height: 154px;
overflow: hidden;
border: var(--noct-border-hairline) solid var(--noct-border);
background: var(--noct-ink-900);
clip-path: polygon(0 0, calc(100% - var(--noct-clip-corner)) 0, 100% var(--noct-clip-corner), 100% 100%, var(--noct-clip-corner) 100%, 0 calc(100% - var(--noct-clip-corner)));
}
.project-visual-stage { position: absolute; top: 50%; left: 50%; width: 156px; height: 88px; transform: translate(-50%, -50%) scale(1.45); }
.spec-list { display: flex; flex-direction: column; gap: 8px; }
.spec-list .noct-card__body { padding: 12px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.spec-list .noct-card__body > span:first-child { font-family: var(--noct-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--noct-text-dim); }
.spec-list .noct-card__body > span:last-child { font-family: var(--noct-font-display); font-weight: 600; font-size: 14px; text-align: right; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
/* ══════════════════ bespoke illustrations ══════════════════
Nocturne has no equivalent component; these stay hand-built but read
--section-accent so each project's tone (set on the <section>) drives
them, and their shapes now use hard edges/clip-paths to match the rest
of the system instead of the soft rounded look they had before. */
.felix-diagram, .canvas-scene { width: 100%; height: 100%; }
.felix-ground { fill: none; stroke: color-mix(in srgb, var(--section-accent) 34%, transparent); stroke-width: 1; stroke-dasharray: 3 6; }
.felix-node { fill: var(--section-accent); }
.felix-cat { transform: translate(78px, 47px); transform-box: fill-box; transform-origin: center; animation: felix-cat-walk 6.8s ease-in-out infinite; }
.felix-cat-body, .felix-cat-head, .felix-cat-ear {
fill: color-mix(in srgb, var(--section-accent) 22%, var(--noct-ink-900));
stroke: var(--section-accent);
stroke-width: 1;
}
.felix-cat-eye { fill: var(--noct-text); }
.felix-tail, .felix-leg { fill: none; stroke: var(--section-accent); stroke-width: 3; stroke-linecap: round; }
.felix-tail { transform-box: fill-box; transform-origin: left bottom; animation: felix-tail-swish .7s ease-in-out infinite alternate; }
.felix-leg { transform-box: fill-box; transform-origin: top; animation: felix-step .42s ease-in-out infinite alternate; }
.felix-leg-b { animation-delay: -.42s; }
@keyframes felix-cat-walk {
0% { transform: translate(36px,47px) scaleX(-1); }
47% { transform: translate(119px,46px) scaleX(-1); }
50% { transform: translate(119px,47px) scaleX(1); }
97% { transform: translate(36px,46px) scaleX(1); }
100% { transform: translate(36px,47px) scaleX(-1); }
}
@keyframes felix-tail-swish { from { transform: rotate(-7deg); } to { transform: rotate(10deg); } }
@keyframes felix-step { from { transform: rotate(-13deg); } to { transform: rotate(13deg); } }
.canvas-frame { fill: none; stroke: color-mix(in srgb, var(--section-accent) 40%, transparent); stroke-width: 1; stroke-dasharray: 3 5; }
.canvas-dot { fill: var(--section-accent); animation: canvas-dot-pulse 2.6s ease-in-out infinite; }
.canvas-dot-b { animation-delay: -.85s; }
.canvas-dot-c { animation-delay: -1.7s; }
.canvas-shape { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.canvas-rect { stroke: var(--section-accent); stroke-dasharray: 138; animation: canvas-draw-rect 7.2s linear infinite; }
.canvas-ellipse { stroke: color-mix(in srgb, var(--section-accent) 55%, var(--noct-text)); stroke-dasharray: 82; animation: canvas-draw-ellipse 7.2s linear infinite; }
.canvas-cursor path { stroke: var(--noct-ink-900); stroke-width: .7; }
.canvas-cursor-a path, .canvas-cursor-a .canvas-tag { fill: var(--section-accent); }
.canvas-cursor-b path, .canvas-cursor-b .canvas-tag { fill: color-mix(in srgb, var(--section-accent) 55%, var(--noct-text)); }
.canvas-cursor-a { animation: canvas-trace-rect 7.2s ease-in-out infinite; }
.canvas-cursor-b { animation: canvas-trace-ellipse 7.2s ease-in-out infinite; }
@keyframes canvas-dot-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes canvas-draw-rect {
0%, 5% { stroke-dashoffset: 138; opacity: 1; }
42%, 88% { stroke-dashoffset: 0; opacity: 1; }
96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes canvas-draw-ellipse {
0%, 50% { stroke-dashoffset: 82; opacity: 1; }
82%, 88% { stroke-dashoffset: 0; opacity: 1; }
96%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes canvas-trace-rect {
0%, 5% { transform: translate(28px, 26px); }
16.25% { transform: translate(70px, 26px); }
23.5% { transform: translate(70px, 53px); }
34.75% { transform: translate(28px, 53px); }
42% { transform: translate(28px, 26px); }
56%, 100% { transform: translate(34px, 64px); }
}
@keyframes canvas-trace-ellipse {
0%, 44% { transform: translate(124px, 64px); }
50% { transform: translate(118px, 45px); }
58% { transform: translate(104px, 57px); }
66% { transform: translate(90px, 45px); }
74% { transform: translate(104px, 33px); }
82% { transform: translate(118px, 45px); }
92%, 100% { transform: translate(124px, 64px); }
}
.harbor-scene { background: linear-gradient(to bottom, var(--noct-ink-800) 0 54%, var(--noct-ink-900) 55%); }
.harbor-water {
position: absolute; inset: 58% 0 0;
background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--section-accent) 18%, transparent) 0 1px, transparent 1px 9px);
}
.harbor-lighthouse {
position: absolute; left: 31px; bottom: 15px; width: 13px; height: 43px;
background: linear-gradient(to right, var(--noct-ink-400), var(--noct-text) 52%, var(--noct-ink-500));
clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
z-index: 3;
}
.harbor-lighthouse::before {
content: ""; position: absolute; top: -8px; left: -2px; width: 17px; height: 9px;
background: var(--section-accent);
box-shadow: 0 0 10px var(--section-accent);
}
.harbor-beam {
position: absolute; left: 39px; bottom: 55px; width: 104px; height: 42px;
transform-origin: 0 50%;
clip-path: polygon(0 43%, 100% 0, 100% 100%, 0 57%);
background: linear-gradient(to right, color-mix(in srgb, var(--section-accent) 55%, transparent), transparent);
animation: harbor-sweep 6s ease-in-out infinite;
z-index: 1;
}
.harbor-fog {
position: absolute; left: -40px; width: 230px; height: 16px;
background: color-mix(in srgb, var(--noct-ink-300) 16%, transparent);
filter: blur(6px);
animation: harbor-fog 7s ease-in-out infinite alternate;
z-index: 4;
}
.harbor-fog-a { top: 22px; }
.harbor-fog-b { top: 48px; animation-delay: -3s; animation-duration: 9s; }
.harbor-fog-c { top: 69px; animation-delay: -5s; animation-duration: 8s; }
@keyframes harbor-sweep { 0%, 100% { transform: rotate(-9deg); opacity: .3; } 50% { transform: rotate(9deg); opacity: .78; } }
@keyframes harbor-fog { from { transform: translateX(-18px); opacity: .42; } to { transform: translateX(24px); opacity: .75; } }
.jenkins-terminal {
position: absolute; left: 13px; top: 24px; width: 46px; height: 37px; padding: 9px 7px;
border: 1px solid color-mix(in srgb, var(--section-accent) 55%, transparent);
color: var(--section-accent);
font: 600 10px/1 var(--noct-font-mono);
background: var(--noct-ink-900);
}
.jenkins-cursor { display: inline-block; width: 6px; height: 10px; margin-left: 2px; vertical-align: -1px; background: var(--section-accent); animation: jenkins-cursor .9s steps(1,end) infinite; }
.jenkins-pipeline { position: absolute; left: 58px; right: 24px; top: 43px; height: 1px; background: color-mix(in srgb, var(--section-accent) 48%, transparent); }
.jenkins-task {
position: absolute; left: 59px; top: 38px; width: 11px; height: 11px; border-radius: 50%;
background: var(--section-accent); box-shadow: 0 0 10px var(--section-accent);
animation: jenkins-task 2.7s cubic-bezier(.42,0,.25,1) infinite;
}
.jenkins-check {
position: absolute; right: 11px; top: 28px; display: grid; place-items: center; width: 31px; height: 31px;
border: 1px solid var(--section-accent);
color: var(--noct-text);
font: 600 16px/1 system-ui, sans-serif;
background: color-mix(in srgb, var(--section-accent) 20%, var(--noct-ink-900));
animation: jenkins-check 2.7s ease-out infinite;
}
@keyframes jenkins-cursor { 50% { opacity: 0; } }
@keyframes jenkins-task {
0%, 15% { transform: translateX(0); opacity: 0; }
25% { opacity: 1; }
72% { transform: translateX(62px); opacity: 1; }
80%, 100% { transform: translateX(62px); opacity: 0; }
}
@keyframes jenkins-check { 0%, 68%, 100% { transform: scale(.86); opacity: .45; } 78%, 88% { transform: scale(1.08); opacity: 1; } }
/* Sits directly above the prose, no frame — the cloud drifts side to side
over a wider range now that it isn't boxed, and the rain is nested
inside it so the drops travel with it, falling toward the text below. */
.research-weather { position: relative; width: 100%; height: 76px; margin: 28px 0 4px; opacity: .68; pointer-events: none; overflow: visible; }
.research-cloud {
position: absolute; top: 0; left: 0; width: 102px; height: 30px;
border: 1px solid color-mix(in srgb, var(--section-accent) 62%, transparent);
background: color-mix(in srgb, var(--section-accent) 14%, var(--noct-ink-900));
animation: research-cloud-drift 42s ease-in-out infinite;
}
.research-cloud::before, .research-cloud::after { content: ""; position: absolute; bottom: 8px; border: inherit; background: inherit; }
.research-cloud::before { left: 18px; width: 42px; height: 42px; }
.research-cloud::after { right: 17px; width: 33px; height: 33px; }
.research-rain {
position: absolute; top: 38px; left: calc(13px + var(--rain-x)); width: 1px; height: 30px;
background: linear-gradient(to bottom, transparent, var(--section-accent));
transform: rotate(12deg);
animation: research-rain 1.3s linear infinite;
animation-delay: var(--rain-delay);
}
.research-bolt {
position: absolute; top: 33px; left: 47px; width: 18px; height: 29px;
background: var(--section-accent);
clip-path: polygon(50% 0, 100% 0, 65% 42%, 93% 42%, 25% 100%, 43% 55%, 12% 55%);
filter: drop-shadow(0 0 7px var(--section-accent));
animation: research-flash 5.5s steps(1,end) infinite;
}
@keyframes research-cloud-drift { 0%, 100% { left: 0; } 50% { left: calc(100% - 102px); } }
@keyframes research-rain {
0% { opacity: 0; transform: translateY(-5px) rotate(12deg); }
25% { opacity: .8; }
100% { opacity: 0; transform: translateY(26px) rotate(12deg); }
}
@keyframes research-flash {
0%, 84%, 88%, 92%, 100% { opacity: 0; }
85%, 89% { opacity: 1; }
86%, 90% { opacity: .25; }
}
/* — per-project tone: Nocturne's own components use their real modifier
classes (noct-panel--cyan etc); this var only feeds the illustrations
above, which are ours, not Nocturne's. — */
.section--cyan { --section-accent: var(--noct-info); }
.section--magenta { --section-accent: var(--noct-danger); }
.section--violet { --section-accent: var(--noct-accent-violet); }
.section--green { --section-accent: var(--noct-success); }
.page-footer {
max-width: 1200px; margin: 0 auto; padding: 36px var(--edge);
font-family: var(--noct-font-mono); font-size: 12px; color: var(--noct-text-dim);
display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
@media (max-width: 640px) {
.noct-topbar__nav { display: none; }
.portrait { width: min(70vw, 200px); margin-inline: auto; }
.project-grid { grid-template-columns: minmax(0, 1fr); }
.project-visual { height: 140px; }
.project-visual-stage { transform: translate(-50%, -50%) scale(1.3); }
.research-weather { height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
}
.research-cloud, .research-rain, .research-bolt,
.felix-cat, .felix-tail, .felix-leg,
.harbor-beam, .harbor-fog,
.canvas-rect, .canvas-ellipse, .canvas-cursor-a, .canvas-cursor-b, .canvas-dot,
.jenkins-cursor, .jenkins-task, .jenkins-check,
.tw-line, .terminal-cursor, .noct-stat--cyan, .portrait::after { animation: none !important; }
.tw-line { width: 100% !important; }
.research-bolt { opacity: .7; }
.jenkins-task { transform: translateX(62px); }
.jenkins-check { opacity: 1; transform: none; }
.canvas-rect, .canvas-ellipse { stroke-dashoffset: 0; }
.canvas-cursor-a { transform: translate(34px, 64px); }
.canvas-cursor-b { transform: translate(124px, 64px); }
}