Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
549 lines (514 loc) · 34.5 KB
/
Copy pathstyle.css
File metadata and controls
549 lines (514 loc) · 34.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
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
/* Bekha — amber phosphor terminal */
:root {
--void: #0f0a03; /* the tube when it is off */
--tube: #17100566; /* panels: a breath lighter */
--amber: #ffb000; /* P3 phosphor */
--amber-hot: #ffd27a; /* overdriven phosphor, for the giant type */
--amber-dim: #a5741a; /* faded phosphor: meta, rules */
--text: #f1e2c2; /* body copy, warm white */
--red: #ff5a36; /* errors and sudo */
--line: color-mix(in srgb, var(--amber) 15%, transparent);
--glow: 0 0 6px color-mix(in srgb, var(--amber) 40%, transparent), 0 0 22px color-mix(in srgb, var(--amber) 15%, transparent);
--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
--pixel: "VT323", "IBM Plex Mono", monospace;
--gut: clamp(20px, 5vw, 72px);
--max: 1320px;
}
html[data-theme="green"] { --void: #020a04; --amber: #3dff70; --amber-hot: #c2ffd2; --amber-dim: #2b8f45; --text: #dcf5e2; }
html[data-theme="white"] { --void: #0b0b0c; --amber: #f0f0f0; --amber-hot: #ffffff; --amber-dim: #8c8c8c; --text: #d4d4d4; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--void);
transition: background-color .3s;
color: var(--text);
font: 400 16px/1.65 var(--mono);
min-height: 100vh;
overflow-x: hidden;
}
/* the glass: faint scanlines and a vignette, one fixed layer, never in the way */
body::after {
content: "";
position: fixed; inset: 0; pointer-events: none; z-index: 50;
background: radial-gradient(ellipse at center, #0000 55%, #000000a0 100%);
}
::selection { background: var(--amber); color: var(--void); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--amber); color: var(--void); padding: 8px 12px; }
.skip:focus { top: 12px; }
/* ---------- top bar ---------- */
.bar {
position: sticky; top: 0; z-index: 40;
display: flex; align-items: center; gap: 32px;
padding: 14px var(--gut);
background: #0f0a03ee;
border-bottom: 1px solid var(--line);
font-size: 14px;
}
.bar__home { color: var(--amber); text-decoration: none; text-shadow: var(--glow); font-weight: 500; }
.bar__nav { display: flex; gap: 24px; }
.bar__nav a { color: var(--text); text-decoration: none; padding: 6px 0; }
.bar__nav a:hover { color: var(--amber); text-decoration: underline; text-underline-offset: 6px; }
.bar__status { margin: 0 0 0 auto; color: var(--amber-dim); display: flex; align-items: center; gap: 8px; }
.led { width: 7px; height: 7px; background: var(--amber); box-shadow: var(--glow); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
/* ---------- shared ---------- */
main > section { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.prompt, .cmd { color: var(--amber-dim); margin: 0 0 12px; font-size: 15px; }
.prompt__ps { color: var(--amber); margin-right: 8px; }
.h2 {
font: 400 clamp(36px, 5.2vw, 72px)/1 var(--pixel);
color: var(--amber); text-shadow: var(--glow);
margin: 0 0 48px; max-width: 22ch; letter-spacing: .01em;
}
.h3 { font: 400 clamp(28px, 3.2vw, 44px)/1.05 var(--pixel); color: var(--amber); text-shadow: var(--glow); margin: 0 0 24px; max-width: 30ch; }
/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vh, 96px) !important; padding-bottom: 96px !important; min-height: calc(100svh - 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.name {
font: 400 clamp(120px, 21vw, 320px)/.78 var(--pixel);
margin: 0 0 28px -0.04em;
color: var(--amber-hot);
text-shadow: 0 0 2px #fff3d6, 0 0 18px color-mix(in srgb, var(--amber) 67%, transparent), 0 0 60px color-mix(in srgb, var(--amber) 33%, transparent);
letter-spacing: -.02em;
white-space: nowrap;
}
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; max-width: 46ch; margin: 0 0 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { color: var(--amber-dim); font-size: 13px; }
.facts dd { margin: 0; color: var(--amber); font-weight: 500; }
.torus { margin: 0; display: grid; justify-items: center; gap: 8px; cursor: grab; user-select: none; touch-action: pan-y; }
.torus:active { cursor: grabbing; }
.torus pre {
margin: 0; font: 400 clamp(5px, .6vw, 9.5px)/1 var(--mono);
color: var(--amber); text-shadow: 0 0 8px color-mix(in srgb, var(--amber) 50%, transparent);
min-height: 1em;
}
.moon {
cursor: crosshair;
width: min(460px, 100%); aspect-ratio: 1; display: block; touch-action: none;
filter: drop-shadow(0 0 4px color-mix(in srgb, var(--amber) 60%, transparent)) drop-shadow(0 0 30px color-mix(in srgb, var(--amber) 14%, transparent));
}
.torus figcaption { color: var(--amber-dim); font-size: 13px; }
/* the live terminal */
.term { border: 1px solid var(--line); background: var(--tube); }
.term__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 8px 6px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--amber-dim); }
.term__btns { display: flex; gap: 4px; }
.term__btns button, .term__respawn {
font: inherit; color: var(--amber); background: none; border: 1px solid var(--line);
min-width: 36px; height: 30px; padding: 0 8px; cursor: pointer;
}
.term__btns button:hover, .term__respawn:hover { background: var(--amber); color: var(--void); }
.term__body { padding: 16px 20px; }
.term__respawn { display: block; width: 100%; height: 56px; border: 0; text-align: left; padding: 0 20px; font-size: 15px; }
.term__respawn[hidden] { display: none; }
.term.is-min .term__body, .term.is-closed .term__body { display: none; }
.term.is-closed .term__bar { opacity: .5; }
.term.is-max { position: fixed; inset: 24px; z-index: 45; background: var(--void); display: flex; flex-direction: column; box-shadow: 0 0 0 100vmax #000000b0, 0 0 80px color-mix(in srgb, var(--amber) 15%, transparent); }
.term.is-max .term__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.term.is-max .term__out { max-height: none; flex: 1; }
.uptime { display: flex; align-items: center; gap: 10px; margin: -24px 0 40px; color: var(--amber-dim); font-size: 14px; }
.uptime.is-done { color: var(--amber); }
.uptime.is-bad { color: var(--red); }
.row__state.is-down { color: var(--red) !important; }
.row__state.is-checking { opacity: .5; }
.term__out { max-height: 220px; overflow-y: auto; font-size: 15px; white-space: pre-wrap; scrollbar-width: thin; scrollbar-color: var(--amber-dim) transparent; }
.term__out:empty { display: none; }
.term__out p { margin: 0; }
.term__out .echo { color: var(--amber-dim); }
.term__out .hl { color: var(--amber); }
.term__out .err { color: var(--red); }
.term__line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.term__ps { color: var(--amber); text-shadow: var(--glow); white-space: nowrap; }
.term__field { position: relative; flex: 1 1 160px; min-width: 0; display: flex; }
.term__in {
flex: 1 1 auto; width: 100%; min-width: 0; background: none; border: 0; outline: 0;
color: var(--text); font: inherit; font-size: 16px; caret-color: var(--amber); padding: 6px 0;
}
/* fish-style suggestion: the typed part is invisible and only pushes the grey rest into place */
.term__suggest { position: absolute; inset: 0; padding: 6px 0; font: inherit; font-size: 16px; white-space: pre; overflow: hidden; pointer-events: none; }
.term__typed { visibility: hidden; }
.term__rest { color: var(--amber-dim); opacity: .7; }
.term__hint { color: var(--amber-dim); font-size: 13px; }
.term__hint kbd { font: inherit; color: var(--amber); border: 1px solid var(--line); padding: 0 6px; }
.term:focus-within { border-color: color-mix(in srgb, var(--amber) 40%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--amber) 13%, transparent), 0 0 30px color-mix(in srgb, var(--amber) 6%, transparent); }
/* ---------- work: nmap ---------- */
.work { padding-top: 120px !important; padding-bottom: 120px !important; border-top: 1px solid var(--line); }
.scan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; }
.scan__head, .row__link { display: grid; grid-template-columns: 92px 52px minmax(0, 1fr); column-gap: 16px; }
.scan__head { grid-column: 1; color: var(--amber-dim); font-size: 13px; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.scan__head span:nth-child(4) { display: none; }
.scan__rows { grid-column: 1; list-style: none; margin: 0; padding: 0; }
.scan .screen { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; }
.row__link {
padding: 16px 12px; text-decoration: none; border-bottom: 1px solid var(--line);
transition: background .15s, color .15s;
}
.row__port { color: var(--amber-dim); font-size: 14px; padding-top: 2px; }
.row__state { color: var(--amber); font-size: 14px; padding-top: 2px; }
.row__name { font-weight: 600; color: var(--text); grid-column: 3; grid-row: 1; }
.row__tag { grid-column: 3; grid-row: 1; justify-self: end; align-self: start; margin-top: 1px; padding: 1px 7px; font-size: 12px; line-height: 1.5; color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent); }
.row.is-on .row__tag { color: var(--void); border-color: var(--void); }
.row__ver { grid-column: 3; color: var(--text); opacity: .85; font-size: 14px; line-height: 1.55; max-height: 0; overflow: hidden; transition: max-height .25s ease, margin .25s ease; }
.row.is-on .row__link { background: var(--amber); color: var(--void); }
.row.is-on .row__port, .row.is-on .row__state, .row.is-on .row__name, .row.is-on .row__ver { color: var(--void); }
.row.is-on .row__ver { max-height: 320px; margin-top: 6px; }
.row.is-on .row__name::after { content: " _"; animation: blink 1s steps(1) infinite; }
.scan:not(.is-all) .row--more, .scan:not(.is-all) .when-all, .scan.is-all .when-top { display: none; }
.scan.is-all .row--more { animation: row-in .3s ease both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.scan__more { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 12px; color: var(--amber-dim); font-size: 14px; }
.scan__more-btn { font: inherit; font-size: 14px; color: var(--amber); background: none; border: 1px solid var(--line); padding: 8px 14px; cursor: pointer; transition: background .15s, color .15s; }
.scan__more-btn::before { content: "$ "; color: var(--amber-dim); }
.scan__more-btn:hover, .scan__more-btn:focus-visible { background: var(--amber); color: var(--void); outline: none; }
.scan__more-btn:hover::before, .scan__more-btn:focus-visible::before { color: var(--void); }
@media (prefers-reduced-motion: reduce) { .scan.is-all .row--more { animation: none; } }
.screen { margin: 0; }
.screen__crt {
position: relative; aspect-ratio: 16 / 10; overflow: hidden;
border: 1px solid color-mix(in srgb, var(--amber) 33%, transparent); background: #000;
box-shadow: 0 0 0 6px #120c03, 0 0 0 7px var(--line), 0 0 60px color-mix(in srgb, var(--amber) 8%, transparent);
}
.screen__crt img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; filter: sepia(.35) saturate(1.1) contrast(1.05); }
.screen__crt.is-tuning img, .screen__crt.is-tuning .screen__ascii { animation: tune .42s steps(7) 1; }
@keyframes tune {
0% { clip-path: inset(0 0 100% 0); filter: brightness(2.2) sepia(1); }
25% { clip-path: inset(10% 0 55% 0); transform: translateX(-10px) skewX(-4deg); filter: drop-shadow(6px 0 #ff2a4d) drop-shadow(-6px 0 #2ad8ff) brightness(1.6); }
45% { clip-path: inset(0 0 30% 0); transform: translateX(8px); filter: drop-shadow(-4px 0 #ff2a4d) drop-shadow(4px 0 #2ad8ff); }
70% { clip-path: inset(0); transform: translateX(-3px); filter: drop-shadow(2px 0 #ff2a4d) drop-shadow(-2px 0 #2ad8ff) sepia(.6); }
100% { clip-path: inset(0); transform: none; }
}
.screen__ascii {
position: absolute; inset: 0; margin: 0; display: grid; place-items: center;
font: 400 clamp(6px, .7vw, 11px)/1.05 var(--mono); color: var(--amber); text-shadow: 0 0 8px color-mix(in srgb, var(--amber) 53%, transparent);
background: radial-gradient(ellipse at center, #1b1205 0%, #000 80%);
}
.screen__ascii[hidden] { display: none; }
.screen figcaption { margin-top: 18px; color: var(--amber-dim); font-size: 13px; display: flex; gap: 24px; flex-wrap: wrap; }
.ping { color: var(--amber); }
.ping.is-down { color: var(--red); }
.done { color: var(--amber-dim); font-size: 14px; margin: 40px 0 0; }
/* ---------- whoami ---------- */
.who { padding-top: 120px !important; padding-bottom: 120px !important; border-top: 1px solid var(--line); }
.neo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: 120px; }
.neo__art { margin: 0; color: var(--amber); text-shadow: var(--glow); font: 500 clamp(11px, 1.1vw, 16px)/1.25 var(--mono); }
.neo__cap { margin: 8px 0 0; color: var(--amber); text-shadow: var(--glow); font-weight: 500; text-align: center; }
.bar__lang { margin-left: 28px; font: inherit; font-size: 13px; color: var(--amber); background: none; border: 1px solid var(--line); padding: 6px 10px; cursor: pointer; }
.bar__lang:hover { background: var(--amber); color: var(--void); }
.neo__user { margin: 0; font: 400 40px/1 var(--pixel); color: var(--amber); text-shadow: var(--glow); }
.neo__user span { color: var(--text); }
.neo__rule { margin: 4px 0 16px; color: var(--amber-dim); }
.neo__list { margin: 0; display: grid; gap: 4px; }
.neo__list div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
.neo__list dt { color: var(--amber); font-weight: 600; }
.neo__list dd { margin: 0; }
.neo__swatch { display: flex; gap: 0; margin: 20px 0 0; }
.neo__swatch i { width: 32px; height: 18px; }
.neo__swatch i:nth-child(1) { background: #3a2603; } .neo__swatch i:nth-child(2) { background: #6b4505; }
.neo__swatch i:nth-child(3) { background: #a5741a; } .neo__swatch i:nth-child(4) { background: #ffb000; }
.neo__swatch i:nth-child(5) { background: #ffd27a; } .neo__swatch i:nth-child(6) { background: #ff5a36; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.log .ok { color: var(--amber); margin-right: 10px; }
/* ---------- contact ---------- */
.contact { padding-top: 120px !important; padding-bottom: 120px !important; border-top: 1px solid var(--line); }
.contact__h { font: 400 clamp(44px, 6.4vw, 96px)/.92 var(--pixel); color: var(--amber-hot); text-shadow: 0 0 18px color-mix(in srgb, var(--amber) 67%, transparent), 0 0 60px color-mix(in srgb, var(--amber) 27%, transparent); margin: 0 0 24px; max-width: 16ch; }
.contact__lead { margin: 0 0 56px; font-size: 18px; }
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.big {
display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
font: 400 clamp(36px, 5vw, 64px)/1 var(--pixel); color: var(--amber);
transition: background .12s, color .12s, padding .12s;
}
.big span { font: 400 15px/1 var(--mono); color: var(--amber-dim); }
.big:hover, .big:focus-visible { background: var(--amber); color: var(--void); padding-left: 20px; padding-right: 20px; }
.big:hover span, .big:focus-visible span { color: var(--void); }
.foot { max-width: var(--max); margin: 0 auto; padding: 32px var(--gut) 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--amber-dim); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 0; }
/* ---------- the code flashlight: this page's own source behind everything ---------- */
.src { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.src pre {
position: absolute; inset: -8px; margin: 0; padding: 8px;
font: 400 12px/1.45 var(--mono); color: var(--amber);
white-space: pre; overflow: hidden;
column-width: 460px; column-gap: 48px; column-fill: auto;
}
.src__dim { opacity: .045; }
.src__lit {
opacity: .55; text-shadow: 0 0 6px var(--amber);
-webkit-mask-image: radial-gradient(circle var(--lamp, 0px) at var(--mx, -999px) var(--my, -999px), #000 0%, #0008 35%, transparent 100%);
mask-image: radial-gradient(circle var(--lamp, 0px) at var(--mx, -999px) var(--my, -999px), #000 0%, #0008 35%, transparent 100%);
}
.bar, main, .foot { position: relative; z-index: 1; }
.bar { position: sticky; z-index: 40; }
.bar__prog { margin: 0 0 0 auto; color: var(--amber-dim); font-size: 13px; white-space: pre; }
.bar__sound { margin-left: 28px; font: inherit; font-size: 13px; color: var(--amber-dim); background: none; border: 1px solid var(--line); padding: 6px 10px; cursor: pointer; }
.bar__sound:hover, .bar__sound[aria-pressed="true"] { color: var(--amber); border-color: var(--amber-dim); }
.bar__status { margin-left: 28px !important; }
.snake { margin: 0; font: 400 clamp(13px, 1.25vw, 18px)/1.15 var(--mono); color: var(--amber); text-shadow: var(--glow); white-space: pre; }
.breach { position: fixed; inset: 0; z-index: 120; background: #000; color: var(--amber); padding: clamp(24px, 6vw, 96px); overflow: auto; display: flex; flex-direction: column; gap: 24px; }
.breach pre { margin: 0; font: 400 clamp(14px, 1.3vw, 18px)/1.6 var(--mono); text-shadow: var(--glow); white-space: pre-wrap; }
.breach__big { margin: 0; font: 400 clamp(64px, 13vw, 220px)/.85 var(--pixel); color: var(--amber-hot); text-shadow: 0 0 20px var(--amber), 0 0 80px var(--amber); animation: blink 1s steps(1) 3; }
.breach__note { margin: 0; font-size: 18px; color: var(--text); }
.breach__note a { color: var(--amber); }
.breach__close { align-self: flex-start; font: inherit; color: var(--void); background: var(--amber); border: 0; padding: 12px 18px; cursor: pointer; }
.big__label { font-weight: 400; }
/* ---------- Russian: VT323 has no Cyrillic, so the pixel headings switch to Pixelify Sans ---------- */
html[lang="ru"] .h2, html[lang="ru"] .h3, html[lang="ru"] .contact__h, html[lang="ru"] .breach__big,
html[lang="ru"] .name, html[lang="ru"] .intro__name {
font-family: "Pixelify Sans", var(--pixel); letter-spacing: 0;
}
html[lang="ru"] .name { font-size: clamp(96px, 16vw, 240px); line-height: .9; }
html[lang="ru"] .intro__name { font-size: clamp(90px, 18vw, 280px); }
html[lang="ru"] .h2 { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; }
html[lang="ru"] .h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; }
html[lang="ru"] .contact__h { font-size: clamp(38px, 5.2vw, 78px); line-height: 1; }
.bar__lang, .bar__sound { white-space: nowrap; }
/* ---------- scroll: every section prints like terminal output ---------- */
html.rv-on .rv { opacity: 0; transform: translateX(-10px); }
html.rv-on .in .rv {
opacity: 1; transform: none;
transition: opacity .35s steps(4, end), transform .45s cubic-bezier(.2, .8, .2, 1);
transition-delay: calc(var(--i, 0) * 70ms);
}
html.rv-on .neo__art { clip-path: inset(0 0 100% 0); }
html.rv-on .in .neo__art { animation: draw-down 1.1s steps(9, end) forwards; }
@keyframes draw-down { to { clip-path: inset(0 0 0 0); } }
html.rv-on .screen__crt { transform: scaleY(.006); filter: brightness(3); }
html.rv-on .in .screen__crt { animation: tube-on .7s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes tube-on {
0% { transform: scaleY(.006) scaleX(.2); filter: brightness(4); }
40% { transform: scaleY(.006) scaleX(1); filter: brightness(3); }
100% { transform: none; filter: none; }
}
.cmd.is-typing::after { content: "_"; animation: blink .6s steps(1) infinite; }
/* matrix rain for the language switch */
.rain { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 110; pointer-events: none; mix-blend-mode: screen; }
/* ---------- CRT power-on: once per visit ---------- */
.power { position: fixed; inset: 0; z-index: 100; background: #000; pointer-events: none;
animation: power-off-overlay .9s .15s steps(1, end) forwards; }
.power::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
background: var(--amber-hot); box-shadow: 0 0 24px 6px var(--amber);
transform: scaleX(0); animation: power-line .9s .15s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes power-line {
0% { transform: scaleX(0); opacity: 1; }
35% { transform: scaleX(1); height: 2px; margin-top: -1px; opacity: 1; }
70% { transform: scaleX(1); top: 0; height: 100%; margin-top: 0; opacity: .35; }
100% { transform: scaleX(1); top: 0; height: 100%; margin-top: 0; opacity: 0; }
}
@keyframes power-off-overlay { 0% { background: #000; } 40% { background: transparent; } 100% { background: transparent; visibility: hidden; } }
html.seen .power { display: none; }
/* ---------- responsive ---------- */
@media (max-width: 900px) {
.bar__prog { display: none; }
.bar__sound { margin-left: auto; }
.hero__grid { grid-template-columns: 1fr; }
.torus { justify-items: start; }
.torus pre { font-size: 6px; }
.scan { grid-template-columns: 1fr; grid-template-rows: none; }
.scan .screen { grid-column: 1; grid-row: 2; position: relative; top: 0; margin-bottom: 24px; }
.scan__head { grid-row: 3; } .scan__rows { grid-row: 4; }
.neo { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.bar { gap: 16px; }
.bar__home { display: none; }
.bar__nav { width: 100%; justify-content: space-between; }
.bar__status, .bar__prog, .bar__sound { display: none; }
.name { font-size: 33vw; }
.row__link, .scan__head { grid-template-columns: 76px 44px minmax(0, 1fr); column-gap: 10px; }
.row__tag { grid-row: 2; justify-self: start; margin-top: 6px; }
.term__hint { display: none; }
.term.is-max { inset: 8px; }
.term__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.torus { display: none; }
.hero { min-height: auto; padding-top: 40px !important; }
.neo__art { font-size: 10px; }
.big { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
.power { display: none; }
.src__lit { display: none; }
*, *::before, *::after { animation: none !important; transition: none !important; }
html { scroll-behavior: auto; }
}
@media (hover: none) { .src__lit { display: none; } }
/* ---------- the opening shot ---------- */
.intro { display: none; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro {
display: block; position: fixed; inset: 0; z-index: 200; background: #000; overflow: hidden;
animation: intro-safety 0s 10s forwards; /* if the script never runs, the site still comes up */
}
@keyframes intro-safety { to { visibility: hidden; } }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s, filter .4s; }
.intro.is-diving canvas { opacity: 1; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--amber) 50%, transparent)); }
.intro.is-named canvas { filter: brightness(.18) blur(2px); }
.intro__log {
position: absolute; left: 6vw; top: 8vh; margin: 0; white-space: pre-wrap; max-width: 88vw;
font: 500 clamp(12px, 1.1vw, 16px)/1.75 var(--mono); color: var(--amber); text-shadow: var(--glow);
transition: opacity .4s;
}
.intro.is-diving .intro__log { opacity: .3; }
.intro.is-named .intro__log { opacity: 0; }
.intro__lock {
position: absolute; left: 50%; top: calc(50% + 70px); transform: translateX(-50%); margin: 0; white-space: nowrap;
font: 600 clamp(12px, 1.2vw, 16px)/1 var(--mono); letter-spacing: .06em; color: var(--amber-hot);
background: #000c; padding: 8px 12px; border: 1px solid var(--amber); opacity: 0;
}
.intro.is-locked .intro__lock { opacity: 1; animation: blink .25s steps(1) 4; }
.intro.is-named .intro__lock { opacity: 0; animation: none; }
.intro__title { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; opacity: 0; }
.intro.is-named .intro__title { opacity: 1; }
.intro__name {
margin: 0; font: 400 clamp(110px, 24vw, 380px)/.8 var(--pixel); color: var(--amber-hot);
text-shadow: 0 0 3px #fff3d6, 0 0 30px var(--amber), 0 0 90px var(--amber);
}
.intro__sub { margin: 18px 0 0; font: 500 clamp(14px, 1.4vw, 20px)/1 var(--mono); color: var(--amber); letter-spacing: .04em; }
.intro__skip { position: absolute; right: 24px; bottom: 20px; margin: 0; font: 400 13px var(--mono); color: var(--amber-dim); }
.intro::after { content: ""; position: absolute; inset: 0; background: var(--amber-hot); opacity: 0; pointer-events: none; }
.intro.is-named::after { animation: intro-flash .45s ease-out 1; }
@keyframes intro-flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.intro.is-off { animation: intro-off .55s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes intro-off {
0% { transform: none; filter: none; }
55% { transform: scaleY(.004); filter: brightness(3); }
100% { transform: scaleY(.004) scaleX(0); filter: brightness(4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }
/* the project screen as a TV: static between channels, a channel number in the corner */
.screen__static { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.screen__static.is-on { opacity: .85; }
.screen__osd {
position: absolute; top: 14px; right: 18px; font: 400 clamp(28px, 2.6vw, 42px)/1 var(--pixel);
color: #7dff9b; text-shadow: 0 0 8px #3dff70, 2px 0 #ff2a4d, -2px 0 #2ad8ff; opacity: 0; pointer-events: none;
}
.screen__osd.is-on { opacity: 1; }
.hero__copy .name, .torus { transition: transform .25s ease-out; will-change: transform; }
/* the phosphor trail behind the pointer */
.trail { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 46; pointer-events: none; }
/* the name's letters: each one moves and heats up on its own */
.name .ltr { display: inline-block; transition: transform .18s ease-out, filter .18s; filter: brightness(calc(1 + var(--heat, 0) * .6)) drop-shadow(0 0 calc(var(--heat, 0) * 26px) var(--amber)); }
/* a broken signal on hover: links and project names jitter with a red-blue split */
@keyframes signal {
0% { text-shadow: 2px 0 #ff2a4d, -2px 0 #2ad8ff; transform: translateX(0); }
20% { text-shadow: -3px 0 #ff2a4d, 3px 0 #2ad8ff; transform: translateX(-2px) skewX(-6deg); }
40% { text-shadow: 2px 0 #ff2a4d, -1px 0 #2ad8ff; transform: translateX(2px); }
60% { text-shadow: -1px 0 #ff2a4d, 2px 0 #2ad8ff; transform: translateX(-1px) skewX(4deg); }
100% { text-shadow: none; transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.bar__nav a:hover, .row:hover .row__name, .big:hover .big__label, .bar__home:hover { display: inline-block; animation: signal .32s steps(5, end) 1; }
}
/* ---------- BEKHA-OS windows: live projects booted from /work ---------- */
.work-hint { margin: -28px 0 36px; color: var(--amber-dim); font-size: 13px; }
@media (max-width: 999px), (hover: none) { .work-hint { display: none; } }
.win {
position: fixed; width: min(1100px, 72vw); height: min(720px, 74vh); z-index: 300;
display: flex; flex-direction: column; background: var(--void);
border: 1px solid var(--amber); box-shadow: 0 0 0 1px #000, 0 30px 80px #000c, 0 0 50px color-mix(in srgb, var(--amber) 22%, transparent);
animation: win-open .26s cubic-bezier(.2, .8, .2, 1);
}
.win[hidden] { display: none; }
.win:not(.is-front) { border-color: var(--amber-dim); box-shadow: 0 20px 60px #000a; }
.win.is-max { left: 12px !important; top: 12px !important; width: calc(100vw - 24px) !important; height: calc(100vh - 64px) !important; }
.win.is-closing { animation: win-close .18s ease-in forwards; }
@keyframes win-open { from { transform: scaleY(.02) scaleX(.6); filter: brightness(3); opacity: .4; } to { transform: none; filter: none; opacity: 1; } }
@keyframes win-close { to { transform: scaleY(.02); opacity: 0; filter: brightness(3); } }
.win__bar {
display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 6px 4px 14px;
background: var(--amber); color: var(--void); cursor: grab; user-select: none; font: 600 13px var(--mono);
}
.win:not(.is-front) .win__bar { background: color-mix(in srgb, var(--amber) 35%, var(--void)); color: var(--text); }
.win.is-dragging .win__bar { cursor: grabbing; }
.win__btns { display: flex; gap: 4px; }
.win__btns button, .win__ext {
font: inherit; color: inherit; background: none; border: 1px solid currentColor; min-width: 30px; height: 24px; padding: 0 6px;
cursor: pointer; text-decoration: none; display: inline-grid; place-items: center;
}
.win__btns button:hover, .win__ext:hover { background: var(--void); color: var(--amber); }
.win__body { position: relative; flex: 1; min-height: 0; background: #000; }
.win__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .3s; }
.win__body.is-up iframe { opacity: 1; }
.win.is-dragging iframe { pointer-events: none; }
.win__boot { position: absolute; left: 20px; top: 16px; margin: 0; font: 500 14px/1.6 var(--mono); color: var(--amber); text-shadow: var(--glow); white-space: pre-wrap; }
.win__body.is-up .win__boot { display: none; }
.win__grip { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, var(--amber) 50%); }
.win.is-max .win__grip { display: none; }
.taskbar {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 400; display: flex; gap: 6px; padding: 6px 12px;
background: #0f0a03f2; border-top: 1px solid var(--amber); font: 500 13px var(--mono);
}
.taskbar[hidden] { display: none; }
.taskbar::before { content: "BEKHA-OS"; color: var(--void); background: var(--amber); padding: 4px 10px; font-weight: 600; }
.taskbar__item { font: inherit; color: var(--amber); background: none; border: 1px solid var(--line); padding: 4px 12px; cursor: pointer; }
.taskbar__item:hover { background: var(--amber); color: var(--void); }
/* narrow laptops: the top bar keeps to one line */
.bar__status { white-space: nowrap; }
@media (max-width: 1320px) { .bar__prog { display: none; } .bar__lang { margin-left: auto; } }
/* ---------- tty2: live chat ---------- */
.chat-launch {
position: fixed; right: 20px; bottom: 20px; z-index: 46;
display: inline-flex; align-items: center; gap: 10px;
font: 500 14px var(--mono); color: var(--amber); background: var(--void);
border: 1px solid var(--amber-dim); padding: 10px 14px; cursor: pointer;
box-shadow: 0 10px 40px #000c, 0 0 24px color-mix(in srgb, var(--amber) 10%, transparent);
}
.chat-launch:hover, .chat-launch.is-open { border-color: var(--amber); text-shadow: var(--glow); }
.chat-launch__dot { width: 8px; height: 8px; background: var(--amber); box-shadow: var(--glow); animation: chat-blink 1.2s steps(2) infinite; }
.chat-launch__badge { background: var(--amber); color: var(--void); font-weight: 600; padding: 0 6px; }
@keyframes chat-blink { 50% { opacity: .15; } }
.chat {
position: fixed; right: 20px; bottom: 76px; z-index: 46;
width: min(380px, calc(100vw - 32px)); height: min(520px, calc(100vh - 120px));
display: flex; flex-direction: column; background: var(--void);
border: 1px solid var(--amber); box-shadow: 0 30px 80px #000d, 0 0 40px color-mix(in srgb, var(--amber) 12%, transparent);
font: 14px/1.5 var(--mono); color: var(--text);
}
.chat[hidden] { display: none; }
.chat__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--amber); }
.chat__title { font: 20px/1 var(--pixel); }
.chat__close { font: inherit; color: var(--amber-dim); background: none; border: 1px solid var(--line); width: 28px; height: 28px; cursor: pointer; }
.chat__close:hover { color: var(--amber); border-color: var(--amber); }
.chat__meta { margin: 0; padding: 6px 12px; font-size: 12px; color: var(--amber-dim); border-bottom: 1px solid var(--line); }
.chat__log { flex: 1; overflow-y: auto; padding: 10px 12px; scrollbar-width: thin; scrollbar-color: var(--amber-dim) transparent; }
.chat__line { margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__who { color: var(--amber-dim); margin-right: 8px; }
.chat__line.is-owner { color: var(--amber); text-shadow: var(--glow); }
.chat__line.is-owner .chat__who { color: var(--amber); }
.chat__line.is-sys { color: var(--amber-dim); }
.chat__line.is-err { color: var(--red); }
.chat__form { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat__ps { color: var(--amber); white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis; }
.chat__in { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; caret-color: var(--amber); }
.chat__in::placeholder { color: var(--amber-dim); opacity: .7; }
@media (max-width: 560px) {
.chat-launch { right: 16px; bottom: 16px; }
.chat { right: 0; left: 0; bottom: 0; width: 100%; height: min(78vh, 100dvh); border-width: 1px 0 0; }
.chat:not([hidden]) ~ .chat-launch, .chat-launch.is-open { display: none; }
}
.chat__line.is-pending { opacity: .5; }
.chat__form.is-busy .chat__ps { animation: chat-blink .8s steps(2) infinite; }
.chat__in:disabled { opacity: .6; }
/* chat motion: lines slide in, my answers surface word by word (as LUNA does in Lunar Navigator) */
.chat__line { animation: chat-line-in .32s cubic-bezier(.2, .7, .3, 1) both; }
.chat__line.is-me { animation-name: chat-line-in-me; }
@keyframes chat-line-in { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
@keyframes chat-line-in-me { from { opacity: 0; transform: translateX(10px); } }
.chat__reveal .chat__word { display: inline-block; animation: chat-word-in .42s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes chat-word-in { from { opacity: 0; filter: blur(5px); transform: translateY(3px); } }
.chat__dots { display: inline-flex; gap: 5px; margin-left: 8px; vertical-align: middle; }
.chat__dots i { width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 6px currentColor; animation: chat-dot 1.1s ease-in-out infinite; }
.chat__dots i:nth-child(2) { animation-delay: .15s; }
.chat__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-4px); } }
.chat__line.is-typing .chat__dots { margin-left: 0; }
@media (prefers-reduced-motion: reduce) {
.chat__line, .chat__reveal .chat__word { animation: none; }
.chat__dots i { animation-duration: 2.4s; }
}
.chat__clock { color: var(--amber); font-weight: 500; font-variant-numeric: tabular-nums; }