Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
3934 lines (3799 loc) · 312 KB
/
Copy pathindex.html
File metadata and controls
3934 lines (3799 loc) · 312 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
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dalin Huang · Senior AI Developer, Agent Systems</title>
<meta name="description"
content="Dalin Huang, Senior AI Developer (Agent Systems). I build AI that builds, and the trust that lets it ship. Currently at Parker AI, taking marketing fully agentic: data, research, production, and shipping, in loops that close themselves and improve with every run. 10+ years shipping production systems.">
<meta name="keywords" content="Dalin Huang, AI Developer, Agent Systems, Parker AI, LLM fine-tuning, evals, Temporal, Postgres, React, Next.js">
<meta property="og:title" content="Dalin Huang · Senior AI Developer, Agent Systems">
<meta property="og:description" content="I build AI that builds. And the trust that lets it ship. Ask the model, walk the agent office, explore the career clock.">
<meta property="og:image" content="https://dalin.dev/img/avatar.jpg">
<meta property="og:type" content="website">
<meta property="og:url" content="https://dalin.dev">
<meta name="theme-color" content="#04060c">
<link rel="canonical" href="https://dalin.dev">
<link rel="icon" href="img/favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700;800&display=swap" rel="stylesheet">
<style>
:root {
--bg-deep: #04060c;
--bg: #07090f;
--bg-elev: #0a0d14;
--panel: #080c15;
--panel-2: #0b101c;
--ink-strong: #f5f7fa;
--ink: #e0e7ec;
--ink-dim: #94a3b8;
--ink-faint: #56627a;
--accent-live: #4ade80;
--accent-link: #60a5fa;
--accent-warn: #fbbf24;
--accent-hot: #f472b6;
--rule: rgba(96, 165, 250, 0.10);
--rule-strong: rgba(96, 165, 250, 0.22);
--glow-live: 0 0 0.75rem rgba(74, 222, 128, 0.45);
--glow-link: 0 0 0.75rem rgba(96, 165, 250, 0.45);
--glow-warn: 0 0 0.75rem rgba(251, 191, 36, 0.45);
--c-agents: #a78bfa;
--c-train: #f472b6;
--c-data: #22d3ee;
--c-backend: #4ade80;
--c-frontend: #60a5fa;
--c-commerce: #fbbf24;
--mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Roboto Mono', monospace;
--radius: 0.75rem;
--maxw: 80rem; /* 1280px at the base root size; grows with the root on big screens */
--gutter: clamp(1rem, 3vw, 2.5rem);
--fz: 1.18; /* type scale on top of the root size */
}
/* ROOT-SCALE: 16px up to 1440px wide, then grows with the window (≈19px at 1920, 22px cap) like browser zoom */
html { font-size: clamp(16px, calc(16px + (100vw - 1440px) / 160), 22px); } /* ROOT-SCALE */
@media (min-width: 2200px) { :root { --maxw: 90rem; } }
@media (max-width: 640px) { :root { --fz: 1.08; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 3.5rem; }
html, body {
background: var(--bg-deep);
color: var(--ink);
font-family: var(--mono);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
}
body { overflow-x: hidden; font-size: calc(var(--fz) * 0.75rem); }
body::before {
content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
background:
radial-gradient(56.25rem 31.25rem at 85% -10%, rgba(96,165,250,0.08), transparent 60%),
radial-gradient(43.75rem 31.25rem at -10% 30%, rgba(167,139,250,0.06), transparent 60%);
}
main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, h4 { font-weight: 700; color: var(--ink-strong); }
a { color: var(--accent-link); text-decoration: none; }
a:hover { text-shadow: var(--glow-link); }
button, input { font-family: inherit; }
:focus-visible { outline: 1px solid var(--accent-link); outline-offset: 0.125rem; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
}
}
/* ─── Top bar ─── */
.topbar {
position: sticky; top: 0; z-index: 100;
display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
padding: 0.625rem max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
background: rgba(4, 6, 12, 0.82);
backdrop-filter: blur(0.625rem); -webkit-backdrop-filter: blur(0.625rem);
border-bottom: 1px solid var(--rule);
font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.08em;
}
.topbar .left { display: flex; gap: 0.75rem; align-items: center; white-space: nowrap; }
.topbar .logo { color: var(--accent-live); font-weight: 800; letter-spacing: 0.25em; font-size: calc(var(--fz) * 0.6875rem); }
.topbar .mono { color: var(--ink-faint); }
.topbar .v { color: var(--ink-dim); cursor: pointer; transition: color 180ms ease-out; }
.topbar .v:hover { color: var(--ink-strong); }
.topbar nav { display: flex; gap: 1rem; align-items: center; }
.topbar nav a { color: var(--ink-dim); transition: color 180ms ease-out; }
.topbar nav a:hover { color: var(--accent-link); }
.topbar nav .sep { width: 1px; height: 0.75rem; background: var(--rule-strong); }
.topbar nav a.res { color: var(--accent-live); }
.dot {
display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 50%;
background: var(--accent-live); box-shadow: var(--glow-live);
animation: pulseDot 2s ease-in-out infinite;
vertical-align: middle; margin-right: 0.25rem; cursor: pointer;
}
@keyframes pulseDot { 50% { opacity: .35; } }
@media (max-width: 760px) {
.topbar { padding: 0.5rem 1rem; flex-wrap: wrap; row-gap: 0.375rem; }
.topbar .ext { display: none; }
.topbar nav { gap: 0.75rem; }
.topbar .loc { display: none; }
}
/* ─── Intro band (the Ask model is the first screen) ─── */
.intro {
position: relative; padding: 0.75rem 0 0;
display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 2.5rem; align-items: center;
}
.intro .ghost { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.35; }
.intro .ghost svg { width: 100%; height: 100%; display: block; }
.intro > .who, .intro > .about { position: relative; z-index: 1; min-width: 0; }
.intro .op { font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.22em; color: var(--ink-faint); margin-bottom: 0.25rem; }
.intro .who { display: flex; flex-direction: column; gap: 0.125rem; }
.intro h1 { font-size: calc(var(--fz) * 1.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.intro .role { color: var(--accent-link); font-size: calc(var(--fz) * 0.8125rem); font-weight: 700; }
.intro .role .where { color: var(--ink-faint); font-weight: 400; }
.intro .bio { color: var(--ink-dim); font-size: calc(var(--fz) * 0.75rem); line-height: 1.55; text-align: right; }
.intro .bio b { color: var(--ink-strong); font-weight: 700; }
.intro .bio .hl { color: var(--accent-live); }
.intro .links { margin-top: 0.625rem; display: none; flex-wrap: wrap; gap: 0.5rem; font-size: calc(var(--fz) * 0.625rem); }
.intro .links a {
color: var(--accent-live); padding: 0.4375rem 0.6875rem;
border: 1px solid rgba(74, 222, 128, 0.30); border-radius: 0.25rem;
letter-spacing: 0.08em; transition: all 180ms ease-out;
}
.intro .links a:hover { background: rgba(74, 222, 128, 0.10); box-shadow: var(--glow-live); }
.intro .links a.primary { background: rgba(74,222,128,0.12); color: #bbf7d0; }
.sec.first { margin-top: 1.25rem; }
#ask .section-head { margin-bottom: 0.625rem; }
.section-head .count a { color: var(--accent-link); text-decoration: none; }
.section-head .count a:hover { text-decoration: underline; }
/* macOS terminal chrome */
.hero-terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.875rem; margin-top: 0.875rem; }
.macterm {
background: #0a0d14;
border: 1px solid rgba(255,255,255,0.10);
border-radius: 0.625rem; overflow: hidden;
box-shadow: 0 0.75rem 2.25rem rgba(0,0,0,0.60), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.macterm-bar {
display: flex; align-items: center; gap: 0.625rem; padding: 0.5625rem 0.8125rem;
background: linear-gradient(180deg, #232a36 0%, #181d26 100%);
border-bottom: 1px solid rgba(255,255,255,0.06);
position: relative; user-select: none;
}
.dots3 { display: flex; gap: 0.375rem; }
.dots3 span { width: 0.75rem; height: 0.75rem; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.30); }
.dots3 .r { background: #ff5f57; } .dots3 .y { background: #febc2e; } .dots3 .g { background: #28c840; }
.macterm-bar .title {
position: absolute; left: 50%; transform: translateX(-50%);
font-size: calc(var(--fz) * 0.6875rem); color: #b8c0ce; font-weight: 500; letter-spacing: 0.02em;
pointer-events: none; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis;
}
.badge {
margin-left: auto; font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.15em; color: var(--accent-live);
display: flex; align-items: center; gap: 0.3125rem; white-space: nowrap;
}
.badge .ld { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0.625rem currentColor; animation: pulseDot 2s ease-in-out infinite; }
.macterm-body { padding: 0.75rem 0.875rem; font-size: calc(var(--fz) * 0.625rem); color: var(--ink-dim); line-height: 1.55; }
.macterm-body.term, .macterm-body.ft { height: calc(var(--fz) * 11.75rem); overflow: hidden; }
.term .stream { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; overflow: hidden; }
.term .line { opacity: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term .line.show { opacity: 1; transition: opacity 220ms ease-out; }
.term .ok { color: var(--accent-live); } .term .warn { color: var(--accent-warn); }
.term .key { color: var(--accent-link); } .term .dim { color: var(--ink-faint); }
.ft-row { display: block; margin-bottom: 0.3125rem; font-size: calc(var(--fz) * 0.625rem); white-space: nowrap; }
.ft-row b { color: var(--ink-strong); font-weight: 700; }
.ft .bar { display: inline-block; letter-spacing: -0.5px; color: var(--accent-live); text-shadow: 0 0 0.25rem rgba(74,222,128,0.4); }
.ft .bar.prog { color: var(--accent-warn); }
.ft .ok { color: var(--accent-live); } .ft .warn { color: var(--accent-warn); } .ft .key { color: var(--accent-link); }
.ft .delta { color: var(--ink-faint); font-size: calc(var(--fz) * 0.5625rem); margin-left: 0.125rem; }
.ft .delta.down { color: var(--accent-live); }
.ft-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent); margin: 0.4375rem 0; }
.ft-recent { font-size: calc(var(--fz) * 0.5625rem); color: var(--ink-faint); }
.ft-log { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; }
.ft-log:first-child { color: var(--ink); opacity: 1; }
@media (max-width: 900px) {
.intro { grid-template-columns: 1fr; gap: 0.375rem; padding: 0.875rem 0 0.25rem; }
.intro .bio { text-align: left; }
.intro h1 { font-size: calc(var(--fz) * 1.75rem); }
.hero-terms { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
main { padding: 0 1rem; }
.intro .ghost { display: none; }
.intro { padding-top: 0.875rem; gap: 0.5rem; }
.intro .op, .section-head .tagline { display: none; } /* phones: get the answer onto the first screen */
.intro .bio { font-size: calc(var(--fz) * 0.75rem); line-height: 1.6; }
.intro .links { display: flex; gap: 0.3125rem; margin-top: 0.5rem; flex-wrap: nowrap; }
.intro .bio { text-align: left; }
.intro .links a { padding: 0.375rem 0.4375rem; letter-spacing: 0.02em; white-space: nowrap; }
.llm-prompt { padding: 0.625rem 0.75rem 0.5rem; }
.llm-net .tag:not(.tag2) { display: none; }
.macterm-body.term, .macterm-body.ft { height: calc(var(--fz) * 10.75rem); }
.macterm-bar .title { display: none; }
}
/* ─── Section heads ─── */
.sec { margin-top: 3.5rem; }
.section-head {
margin: 0 0 0.375rem; display: flex; align-items: baseline; gap: 0.625rem; flex-wrap: wrap;
font-size: calc(var(--fz) * 0.6875rem); letter-spacing: 0.20em; text-transform: uppercase;
color: var(--accent-link); font-weight: 700;
}
.section-head .num { color: var(--ink-faint); font-weight: 400; }
.section-head .count { color: var(--ink-faint); font-weight: 400; letter-spacing: 0.12em; }
.section-sub { color: var(--ink-dim); font-size: calc(var(--fz) * 0.75rem); margin-bottom: 1rem; max-width: 53.75rem; line-height: 1.65; }
/* ════════════════ 01 · ASK THE MODEL (LLM inference) ════════════════ */
.llm {
background: var(--panel); border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--radius); overflow: hidden;
box-shadow: 0 1.5rem 4.375rem rgba(0,0,0,0.55), 0 0 0 1px rgba(96,165,250,0.04) inset;
}
.llm .badge.busy { color: var(--accent-warn); }
.llm .badge.train { color: var(--accent-hot); }
.llm-stages { display: flex; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.llm-stages::-webkit-scrollbar { display: none; }
.llm-stage {
flex: 1 0 auto; padding: 0.5rem 0.75rem; font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.14em; color: var(--ink-faint);
border-right: 1px solid var(--rule); position: relative; white-space: nowrap; transition: color 200ms, background 200ms;
}
.llm-stage:last-child { border-right: 0; }
.llm-stage .n { opacity: 0.6; margin-right: 0.25rem; }
.llm-stage::after {
content: ""; position: absolute; left: 0; bottom: 0; height: 0.125rem; width: 0;
background: var(--accent-link); box-shadow: var(--glow-link);
}
.llm-stage.active { color: var(--ink-strong); background: rgba(96,165,250,0.07); }
.llm-stage.active::after { animation: stageBar 1.2s ease-in-out infinite; }
.llm-stage.done { color: var(--ink-faint); } /* finished stages step back; only the running one is lit */
.llm-stage.done::after { width: 100%; background: var(--accent-live); box-shadow: none; opacity: 0.28; }
.llm-stage.train.active { color: #fbcfe8; background: rgba(244,114,182,0.08); }
.llm-stage.train.active::after { background: var(--accent-hot); }
@keyframes stageBar { 0% { width: 0; left: 0; } 50% { width: 100%; left: 0; } 100% { width: 0; left: 100%; } }
.llm-prompt { padding: 0.625rem 1rem 0.5rem; }
.composer {
display: flex; align-items: center; gap: 0.5rem; padding: 0.1875rem 0.1875rem 0.1875rem 0.75rem;
border: 1.5px solid rgba(96,165,250,0.45); border-radius: 0.75rem; background: #0b1120;
transition: border-color 200ms, box-shadow 200ms, background 200ms;
}
/* Two states. Idle: one blue light circles the box, a bright head with a fading tail, and a text cursor blinks inside ("type here").
Lit: on click or typing the whole ring snaps solid with a short flash, and stays lit until the question is sent. */
.composer { position: relative; isolation: isolate; }
/* the travelling light: three dashes on an SVG outline of the box (long faint tail, shorter body, short white-hot head), moving at an even speed */
.composer .ring { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); pointer-events: none; overflow: visible; opacity: 0; transition: opacity 240ms;
filter: drop-shadow(0 0 5px rgba(96,165,250,0.95)) drop-shadow(0 0 14px rgba(56,189,248,0.6)); }
.composer .ring rect { x: 1.5px; y: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); rx: calc(0.75rem - 0.5px); fill: none; stroke-width: 1.5; animation: composerRing 3.4s linear infinite; animation-delay: calc(var(--k) * -0.034s); }
/* one comet: twelve faint layers of shrinking length whose leading ends coincide, so their alpha adds up to a smooth fade, plus a white head. Plain-number keyframes (a calc(var()) end value did not interpolate, so nothing moved); each layer is shifted by a negative delay. The animation never stops (only the opacity changes), so the light does not jump when the box lights up. */
.composer .ring rect { stroke: rgba(96,165,250,0.17); }
.composer .ring .hd { stroke: #f0f9ff; stroke-width: 2; stroke-linecap: round; }
.composer.idle { border-color: rgba(96,165,250,0.2); }
.composer.idle .ring { opacity: 1; }
@keyframes composerRing { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.composer.lit { border-color: #7dd3fc; background: #0c1730; box-shadow: 0 0 0 1px rgba(125,211,252,0.55), 0 0 1.25rem rgba(56,189,248,0.42), inset 0 0 1.25rem rgba(56,189,248,0.10); animation: composerIgnite 520ms ease-out; }
@keyframes composerIgnite {
0% { box-shadow: 0 0 0 0 rgba(224,242,254,0.95), 0 0 0 rgba(56,189,248,0); border-color: #f0f9ff; }
35% { box-shadow: 0 0 0 5px rgba(125,211,252,0.35), 0 0 2.5rem rgba(56,189,248,0.75), inset 0 0 1.75rem rgba(125,211,252,0.28); border-color: #e0f2fe; }
100% { box-shadow: 0 0 0 1px rgba(125,211,252,0.55), 0 0 1.25rem rgba(56,189,248,0.42), inset 0 0 1.25rem rgba(56,189,248,0.10); border-color: #7dd3fc; }
}
.composer.lit .caret { color: #e0f2fe; text-shadow: 0 0 0.625rem rgba(125,211,252,0.9); }
.type-cur { display: none; width: 0.5rem; height: 1.05em; background: #93c5fd; border-radius: 1px; box-shadow: 0 0 0.5rem rgba(96,165,250,0.8); animation: typeBlink 1.05s steps(1) infinite; }
.composer.idle .type-cur { display: inline-block; }
@keyframes typeBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .composer .ring rect, .composer.lit, .type-cur { animation: none; } }
.llm-prompt .caret { color: #93c5fd; font-weight: 800; font-size: calc(var(--fz) * 0.875rem); }
.llm-prompt input {
flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0.375rem 0;
color: var(--ink-strong); font: 500 calc(var(--fz) * 0.8125rem) var(--mono); caret-color: #93c5fd;
}
.llm-prompt input::placeholder { color: var(--ink-dim); opacity: 0.85; }
.llm-run {
background: rgba(74,222,128,0.12); color: #bbf7d0; border: 1px solid rgba(74,222,128,0.35);
border-radius: 0.5rem; padding: 0.4375rem 0.75rem; font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.12em; cursor: pointer; font-weight: 700;
transition: all 160ms ease-out; white-space: nowrap;
}
.llm-run:hover { background: rgba(74,222,128,0.22); box-shadow: var(--glow-live); }
.llm-run:disabled { opacity: 0.5; cursor: progress; }
.llm-sugg {
display: flex; gap: 0.375rem; padding: 0 1rem 0.875rem; overflow-x: auto; scrollbar-width: none;
border-bottom: 1px solid var(--rule);
}
.llm-sugg::-webkit-scrollbar { display: none; }
.llm-sugg .lbl { font-size: calc(var(--fz) * 0.5625rem); color: var(--ink-faint); letter-spacing: 0.14em; align-self: center; margin-right: 0.125rem; white-space: nowrap; }
.chip {
font-size: calc(var(--fz) * 0.625rem); padding: 0.3125rem 0.625rem; border-radius: 999px; white-space: nowrap; cursor: pointer;
background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10); color: var(--ink-dim);
transition: all 160ms ease-out;
}
/* Quiet by default: the input, the answer and the network carry the screen. Supporting text stays faint until hovered. */
.llm-sugg .chip { background: transparent; border-color: rgba(255,255,255,0.07); color: var(--ink-faint); }
.llm-out-wrap .lbl label, .llm-foot .stats { opacity: 0.6; transition: opacity 160ms; }
.llm-out-wrap .lbl label:hover, .llm-foot:hover .stats { opacity: 1; }
.chip:hover { color: var(--ink-strong); border-color: var(--accent-link); background: rgba(96,165,250,0.08); }
.llm-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "chat right" "chat foot"; grid-template-rows: auto 1fr; }
.llm-chat { grid-area: chat; } .llm-right { grid-area: right; } .llm-foot { grid-area: foot; align-self: end; } /* wide screens: stats + feedback sit under the next-token panel, so both columns end level */
.llm-chat { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--rule); }
.llm-under { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding: 0.875rem 1rem 1rem; border-top: 1px solid var(--rule); }
.llm-under > * { min-width: 0; }
.llm-block .lbl { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.16em; color: var(--ink-faint); margin-bottom: 0.5rem; display: flex; justify-content: space-between; }
.llm-block .lbl b { color: var(--ink-dim); font-weight: 500; letter-spacing: 0.06em; }
.tok-wrap { position: relative; padding-top: 1.875rem; min-height: 4rem; }
.attn-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tok-row { display: flex; flex-wrap: wrap; gap: 0.3125rem; position: relative; }
.tok {
--h: 215;
display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
padding: 0.1875rem 0.375rem 0.125rem; border-radius: 0.25rem; font-size: calc(var(--fz) * 0.6875rem); white-space: pre;
background: hsla(var(--h), 80%, 60%, 0.13); border: 1px solid hsla(var(--h), 80%, 65%, 0.38);
color: hsl(var(--h), 90%, 80%);
opacity: 0; transform: translateY(0.375rem) scale(0.96); transition: opacity 180ms, transform 180ms, box-shadow 300ms;
}
.tok.show { opacity: 1; transform: none; }
.tok .id { font-size: calc(var(--fz) * 0.5rem); color: var(--ink-faint); }
.tok.key { box-shadow: 0 0 0 1px hsla(var(--h), 90%, 70%, .9), 0 0 1rem hsla(var(--h), 90%, 60%, .55); }
.tok-empty { color: var(--ink-faint); font-size: calc(var(--fz) * 0.625rem); }
.emb-grid { display: flex; flex-direction: column; gap: 0.25rem; }
.emb-row { display: grid; grid-template-columns: 3.875rem 1fr; align-items: center; gap: 0.5rem; font-size: calc(var(--fz) * 0.5625rem); }
.emb-row .t { color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: pre; }
.emb-row .cells { display: grid; grid-template-columns: repeat(32, 1fr); gap: 1px; }
.emb-row.sum { margin-top: 0.25rem; } .emb-row.sum .t { color: var(--ink-strong); }
.emb-row .cells i { height: 0.5625rem; border-radius: 1.5px; opacity: 0; transform: scaleY(0.2); transition: opacity 240ms, transform 240ms; }
.emb-row.show .cells i { opacity: 1; transform: none; }
.ret { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.5rem; font-size: calc(var(--fz) * 0.625rem); padding: 0.3125rem 0; border-bottom: 1px dashed var(--rule); opacity: 0; transform: translateX(-6px); transition: all 220ms; }
.ret.show { opacity: 1; transform: none; }
.ret .score { color: var(--accent-live); font-weight: 700; font-variant-numeric: tabular-nums; }
.ret .src { color: var(--ink); }
.ret .src small { display: block; color: var(--ink-faint); font-size: calc(var(--fz) * 0.5625rem); }
.llm-right { display: flex; flex-direction: column; min-width: 0; }
.llm-net { position: relative; height: clamp(12.5rem, 16vw, 15.5rem); background:
radial-gradient(ellipse 70% 60% at 50% 50%, rgba(96,165,250,0.06), transparent 70%); }
.llm-net canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.llm-net .tag { position: absolute; top: 0.625rem; left: 0.75rem; font-size: calc(var(--fz) * 0.5625rem); color: var(--ink-faint); letter-spacing: 0.14em; pointer-events: none; }
.llm-net .tag b { color: var(--ink-dim); font-weight: 500; }
.llm-net .tag2 { left: auto; right: 0.75rem; text-align: right; }
.llm-next { border-top: 1px solid var(--rule); padding: 0.75rem 1rem 0.875rem; display: grid; grid-template-columns: 7.5rem minmax(0,1fr); gap: 0.875rem; align-items: start; }
.llm-next .cur { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.14em; color: var(--ink-faint); }
.llm-next .cur b { display: block; margin-top: 0.375rem; font-size: calc(var(--fz) * 1rem); letter-spacing: 0; color: var(--ink-strong); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.llm-next .cur small { display: block; margin-top: 0.25rem; font-size: calc(var(--fz) * 0.5625rem); color: var(--ink-faint); letter-spacing: 0.06em; }
.cands { display: flex; flex-direction: column; gap: 0.25rem; }
.cand { display: grid; grid-template-columns: 6rem minmax(0,1fr) 2.625rem; gap: 0.5rem; align-items: center; font-size: calc(var(--fz) * 0.625rem); height: 0.9375rem; }
.cand .w { white-space: pre; overflow: hidden; text-overflow: ellipsis; color: var(--ink-dim); }
.cand .bar { height: 0.375rem; background: rgba(255,255,255,0.05); border-radius: 0.1875rem; overflow: hidden; }
.cand .bar i { display: block; height: 100%; width: 0; background: rgba(96,165,250,0.55); border-radius: 0.1875rem; transition: width 120ms linear; }
.cand .p { text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.cand.pick .w { color: var(--ink-strong); }
.cand.pick .bar i { background: var(--accent-live); box-shadow: var(--glow-live); }
.cand.pick .p { color: var(--accent-live); }
.llm-out-wrap { flex: 1; padding: 0.875rem 1.125rem 0.875rem; }
.llm-q { font-size: calc(var(--fz) * 0.75rem); color: var(--ink-dim); margin-bottom: 0.5rem; overflow-wrap: anywhere; }
.llm-q::before { content: 'YOU ❯ '; color: var(--accent-live); font-size: 0.8em; letter-spacing: 0.12em; }
.llm-out a { color: var(--accent-link); text-decoration: underline; text-decoration-color: rgba(96,165,250,0.45); text-underline-offset: 0.2em; }
.llm-out a:hover { text-decoration-color: currentColor; text-shadow: var(--glow-link); }
.llm-out a.ext::after { content: '↗'; font-size: 0.75em; margin-left: 0.125em; } /* plain inline, so a comma after the link can't wrap alone */
.llm-out-wrap .lbl { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.16em; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 0.625rem; margin-bottom: 0.625rem; }
.llm-out-wrap .lbl label { cursor: pointer; display: inline-flex; gap: 0.375rem; align-items: center; }
.llm-out-wrap .lbl input { accent-color: #a78bfa; }
.llm-out { min-height: 6rem; font-size: calc(var(--fz) * 0.8125rem); line-height: 1.65; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.llm-out .ph { color: var(--ink-faint); }
.llm-out .tk { border-radius: 0.1875rem; transition: background 400ms, color 600ms, text-shadow 600ms; }
.llm-out .tk.fresh { color: #fff; text-shadow: 0 0 0.75rem rgba(96,165,250,0.9); }
.llm-out.tokens .tk:nth-child(6n+1) { background: rgba(167,139,250,0.20); }
.llm-out.tokens .tk:nth-child(6n+2) { background: rgba(74,222,128,0.16); }
.llm-out.tokens .tk:nth-child(6n+3) { background: rgba(251,191,36,0.16); }
.llm-out.tokens .tk:nth-child(6n+4) { background: rgba(244,114,182,0.17); }
.llm-out.tokens .tk:nth-child(6n+5) { background: rgba(34,211,238,0.16); }
.llm-out.tokens .tk:nth-child(6n+6) { background: rgba(96,165,250,0.17); }
.llm-cursor { display: inline-block; width: 0.5rem; height: 0.9375rem; vertical-align: -2px; background: var(--accent-live); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.llm-rel { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.75rem; min-height: 0; }
.llm-rel .lbl2 { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.14em; color: var(--ink-faint); align-self: center; margin-right: 0.25rem; }
.rchip {
--c: var(--accent-link);
font-size: calc(var(--fz) * 0.625rem); padding: 0.25rem 0.5625rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
background: color-mix(in srgb, var(--c) 10%, transparent);
opacity: 0; transform: translateY(0.25rem); transition: opacity 220ms, transform 220ms, box-shadow 160ms;
}
.rchip.show { opacity: 1; transform: none; }
.llm-rel .brk { flex-basis: 100%; height: 0; }
.qchip {
font-size: calc(var(--fz) * 0.625rem); padding: 0.25rem 0.625rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
color: #bbf7d0; border: 1px solid rgba(74,222,128,0.35); background: rgba(74,222,128,0.07);
opacity: 0; transform: translateY(0.25rem); transition: opacity 220ms, transform 220ms, box-shadow 160ms;
}
.qchip.show { opacity: 1; transform: none; }
.qchip:hover { box-shadow: var(--glow-live); background: rgba(74,222,128,0.14); }
.rchip:hover { box-shadow: 0 0 0.75rem color-mix(in srgb, var(--c) 60%, transparent); }
.llm-foot {
display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.625rem;
padding: 0.625rem 1rem; border-top: 1px solid var(--rule); font-size: calc(var(--fz) * 0.5938rem); color: var(--ink-faint); letter-spacing: 0.06em;
}
.llm-foot .stats b { color: var(--ink-dim); font-weight: 500; }
.fb { display: flex; gap: 0.375rem; align-items: center; }
.fb button {
background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12); color: var(--ink-dim);
border-radius: 0.375rem; padding: 0.3125rem 0.5625rem; font-size: calc(var(--fz) * 0.625rem); cursor: pointer; transition: all 160ms;
}
.fb button:hover:not(:disabled) { border-color: var(--accent-hot); color: #fbcfe8; box-shadow: 0 0 0.625rem rgba(244,114,182,.35); }
.fb button:disabled { opacity: 0.35; cursor: default; }
.fb .msg { color: #f9a8d4; }
@media (max-width: 860px) {
.llm-main { grid-template-columns: 1fr; grid-template-areas: "chat" "foot" "right"; grid-template-rows: auto; } /* narrow: feedback stays right under the answer */
.llm-chat { border-right: 0; }
.llm-foot { border-bottom: 1px solid var(--rule); }
.llm-under { grid-template-columns: 1fr; gap: 1rem; }
.llm-under .emb-block, .llm-under .ret-block { display: none; }
.llm-under.has-run .ret-block { display: block; }
.llm-net { height: 14.375rem; }
.llm-next { grid-template-columns: 1fr; gap: 0.5rem; }
.llm-next .cur b { display: inline; margin-left: 0.5rem; font-size: calc(var(--fz) * 0.8125rem); }
.llm-next .cur small { display: inline; margin-left: 0.5rem; }
.cand { grid-template-columns: 5.25rem minmax(0,1fr) 2.5rem; }
.llm-out { font-size: calc(var(--fz) * 0.8125rem); }
}
/* ─── How this works (follows the running stage) ─── */
.how {
margin-top: 0.75rem; border-radius: var(--radius); scroll-margin-top: 4.5rem;
border: 1px solid rgba(255,255,255,0.07); background: linear-gradient(180deg, rgba(11,16,28,0.75), rgba(7,9,15,0.35));
transition: border-color 300ms, box-shadow 300ms;
}
.how:not(.shown) { display: none; } /* hidden until someone asks how the model works */
.how.open { border-color: rgba(96,165,250,0.22); }
.how.flash { box-shadow: 0 0 0 1px rgba(96,165,250,0.5), 0 0 2rem rgba(96,165,250,0.18); }
.how-head {
display: flex; align-items: baseline; gap: 0.875rem; width: 100%; padding: 0.75rem 1rem;
background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.how-head h3 { font-size: calc(var(--fz) * 0.6875rem); letter-spacing: 0.2em; color: var(--accent-link); white-space: nowrap; }
.how-tease { color: var(--ink-faint); font-size: calc(var(--fz) * 0.7188rem); transition: color 160ms; }
.how-head:hover .how-tease { color: var(--ink-dim); }
.how-chev { margin-left: auto; color: var(--ink-faint); font-size: calc(var(--fz) * 0.75rem); transition: transform 300ms; }
.how.open .how-chev { transform: rotate(180deg); }
.how-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms ease; }
.how.open .how-body { grid-template-rows: 1fr; }
.how-inner { overflow: hidden; min-height: 0; }
.how-pad { padding: 0.125rem 1rem 1rem; }
.how-lead { color: var(--ink-dim); font-size: calc(var(--fz) * 0.7812rem); line-height: 1.7; max-width: 65rem; margin-bottom: 0.875rem; }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.625rem; }
.how-step {
border: 1px solid rgba(255,255,255,0.07); border-radius: 0.625rem; padding: 0.75rem 0.875rem;
background: rgba(255,255,255,0.015); transition: border-color 220ms, background 220ms, box-shadow 220ms;
}
.how-step .hs-n { font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.16em; color: var(--ink-dim); font-weight: 700; margin-bottom: 0.5rem; }
.how-step .hs-n span { color: var(--ink-faint); font-weight: 400; margin-right: 0.375rem; }
.how-step p { font-size: calc(var(--fz) * 0.7188rem); line-height: 1.6; color: var(--ink-dim); display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.5rem; }
.how-step p + p { margin-top: 0.375rem; }
.how-step p b { color: var(--ink-faint); font-weight: 700; letter-spacing: 0.12em; font-size: calc(var(--fz) * 0.5625rem); text-transform: uppercase; padding-top: 0.125rem; }
.how-step p.here { color: var(--ink); }
.how-step p.here b { color: var(--accent-live); }
.how-step.on { border-color: rgba(96,165,250,0.55); background: rgba(96,165,250,0.06); box-shadow: 0 0 1.375rem rgba(96,165,250,0.12); }
.how-step.on .hs-n { color: var(--ink-strong); }
.how-step.train.on { border-color: rgba(244,114,182,0.55); background: rgba(244,114,182,0.06); box-shadow: 0 0 1.375rem rgba(244,114,182,0.12); }
.how-data { margin-top: 0.875rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: calc(var(--fz) * 0.625rem); color: var(--ink-faint); letter-spacing: 0.06em; }
.how-data .k { letter-spacing: 0.16em; margin-right: 0.25rem; }
.how-data span:not(.k) { padding: 0.1875rem 0.5625rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.09); color: var(--ink-dim); }
.how-data span b { color: var(--ink-strong); font-weight: 700; }
@media (max-width: 1100px) {
.how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
.how-head { flex-wrap: wrap; gap: 0.25rem 0.75rem; padding: 0.75rem; }
.how-tease { order: 3; flex-basis: 100%; }
.how-pad { padding: 0.125rem 0.75rem 0.75rem; }
.how-steps { grid-template-columns: 1fr; }
}
/* ════════════════ 02 · OFFICE (Three.js) ════════════════ */
.office3d {
position: relative; aspect-ratio: 16 / 9; min-height: 28.75rem; max-height: min(51.25rem, calc(100vh - 6.875rem));
border-radius: var(--radius); overflow: hidden;
background: radial-gradient(ellipse 80% 70% at 50% 35%, #111a2c 0%, #070a12 75%);
border: 1px solid rgba(255,255,255,0.07);
box-shadow: 0 1.5rem 4.375rem rgba(0,0,0,0.55);
touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.office3d canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; }
.office3d canvas:active { cursor: grabbing; }
.of-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-faint); font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.16em; }
.of-hud {
position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.375rem;
pointer-events: none; z-index: 3;
}
.of-pill {
font-size: calc(var(--fz) * 0.5938rem); letter-spacing: 0.08em; padding: 0.3125rem 0.5625rem; border-radius: 999px;
background: rgba(5,8,15,0.78); border: 1px solid rgba(255,255,255,0.09); color: var(--ink-dim);
backdrop-filter: blur(0.375rem); -webkit-backdrop-filter: blur(0.375rem); white-space: nowrap;
}
.of-pill b { color: var(--ink-strong); font-weight: 700; font-variant-numeric: tabular-nums; }
.of-pill.title { color: var(--ink-strong); font-weight: 700; letter-spacing: 0.16em; }
.of-pill .g { color: var(--accent-live); } .of-pill .a { color: var(--accent-warn); } .of-pill .r { color: #f87171; }
.of-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.of-label {
--c: #60a5fa;
position: absolute; left: 0; top: 0; will-change: transform;
font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.08em; padding: 0.1875rem 0.5rem 0.1875rem 0.4375rem; border-radius: 999px;
background: rgba(5,8,15,0.80); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
color: var(--ink); white-space: nowrap; pointer-events: auto; cursor: pointer;
display: inline-flex; align-items: center; gap: 0.3125rem; transition: border-color 200ms, box-shadow 200ms, opacity 200ms;
}
.of-label .d { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0.5rem var(--c); flex: none; }
.of-label .n { font-weight: 700; color: var(--ink-strong); }
/* calm by default: a desk shows its name; what it is doing appears only while it handles a ticket, raises an alert, is selected, or is hovered */
.of-label .s { color: var(--ink-faint); display: none; }
.of-label.working .s, .of-label.alert .s, .of-label.sel .s, .of-label:hover .s { display: inline; }
.of-label.steady, .of-label.sleep { opacity: 0.82; }
.of-label.working { box-shadow: 0 0 0.875rem color-mix(in srgb, var(--c) 55%, transparent); }
.of-label.working .s { color: var(--c); }
.of-label.sleep .s { color: var(--ink-faint); font-style: italic; }
.of-label.alert { border-color: #f87171; box-shadow: 0 0 0.875rem rgba(248,113,113,.6); }
.of-label.alert .s { color: #fca5a5; }
.of-label.prop { --c: #94a3b8; opacity: 0.85; }
.of-label.sel { box-shadow: 0 0 0 1px var(--c), 0 0 1.125rem color-mix(in srgb, var(--c) 70%, transparent); }
.of-card {
position: absolute; left: 0.75rem; bottom: 0.75rem; width: min(22.5rem, calc(100% - 1.5rem)); z-index: 4;
background: rgba(5,8,15,0.92); border: 1px solid var(--rule-strong); border-radius: 0.625rem;
padding: 0.75rem 0.875rem; font-size: calc(var(--fz) * 0.6875rem); line-height: 1.6; color: var(--ink-dim);
backdrop-filter: blur(0.5rem); -webkit-backdrop-filter: blur(0.5rem);
opacity: 0; transform: translateY(0.5rem); pointer-events: none; transition: opacity 220ms, transform 220ms;
}
.of-card.show { opacity: 1; transform: none; pointer-events: auto; }
.of-card h4 { font-size: calc(var(--fz) * 0.75rem); letter-spacing: 0.12em; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.of-card h4 i { width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.of-card .meta { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 0.375rem; }
.of-card .x { position: absolute; top: 0.5rem; right: 0.625rem; color: var(--ink-faint); cursor: pointer; font-size: calc(var(--fz) * 0.6875rem); background: none; border: 0; }
.of-card .st { margin-top: 0.5rem; font-size: calc(var(--fz) * 0.5938rem); color: var(--ink-faint); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.of-card .st b { color: var(--ink-strong); font-weight: 700; }
.of-ctrl { position: absolute; right: 0.75rem; bottom: 0.75rem; display: flex; gap: 0.375rem; z-index: 3; }
.of-ctrl button {
width: 2rem; height: 2rem; border-radius: 0.5rem; cursor: pointer; font-size: calc(var(--fz) * 0.875rem); line-height: 1;
background: rgba(5,8,15,0.8); border: 1px solid rgba(255,255,255,0.12); color: var(--ink-dim);
transition: all 160ms;
}
.of-ctrl button:hover { color: var(--ink-strong); border-color: var(--accent-link); }
.of-hint { position: absolute; right: 0.75rem; bottom: 3.25rem; font-size: calc(var(--fz) * 0.5625rem); color: var(--ink-faint); letter-spacing: 0.1em; z-index: 3; pointer-events: none; text-align: right; }
.of-fallback { position: absolute; inset: 0; display: none; padding: 1.5rem; overflow: auto; }
.of-fallback.show { display: block; }
.of-fallback li { margin: 0.375rem 0 0.375rem 1rem; color: var(--ink-dim); }
@media (max-width: 640px) {
.office3d { aspect-ratio: auto; min-height: 0; height: 25rem; }
.of-pill .full { display: none; }
.of-label { font-size: calc(var(--fz) * 0.5rem); padding: 0.125rem 0.375rem; gap: 0.25rem; }
.of-label .s { display: none; }
.of-label.working .s, .of-label.alert .s { display: inline; }
.of-label.prop { display: none; }
.of-label.minor:not(.sel) { display: none; }
.of-pill.hide-m { display: none; }
.of-card { bottom: 3.25rem; }
.of-hint { display: none; }
}
/* ════════════════ 03 · KNOWLEDGE MAP (career clock) ════════════════ */
.kmap {
display: grid; grid-template-columns: minmax(0, 1fr) clamp(20rem, 26%, 25rem);
background: var(--panel); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden;
box-shadow: 0 1.5rem 4.375rem rgba(0,0,0,0.55);
}
.km-toolbar {
grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center;
padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--rule);
}
.km-chip {
--c: #94a3b8;
font-size: calc(var(--fz) * 0.5938rem); letter-spacing: 0.1em; padding: 0.3125rem 0.625rem; border-radius: 999px; cursor: pointer; white-space: nowrap;
color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: transparent;
transition: all 160ms; display: inline-flex; align-items: center; gap: 0.375rem;
}
.km-chip i { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--c); }
.km-chip:hover, .km-chip.on { background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: 0 0 0.75rem color-mix(in srgb, var(--c) 35%, transparent); }
.km-search {
margin-left: auto; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.10);
border-radius: 999px; padding: 0.3125rem 0.75rem; color: var(--ink); font-size: calc(var(--fz) * 0.625rem); width: 9.375rem; outline: 0;
}
.km-search:focus { border-color: var(--accent-link); }
.km-stage { position: relative; padding: 0.375rem; min-width: 0; }
.km-svg { width: 100%; height: auto; display: block; max-height: min(56.25rem, calc(100vh - 9.375rem)); margin: 0 auto; overflow: visible; }
.km-roles-m { display: none; flex-wrap: wrap; gap: 0.375rem; padding: 0 0.75rem 0.75rem; }
.km-side { border-left: 1px solid var(--rule); padding: 1.125rem 1.125rem 1rem; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.km-side .kicker { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.16em; color: var(--ink-faint); }
.km-side h3 { font-size: calc(var(--fz) * 1.125rem); line-height: 1.2; display: flex; align-items: center; gap: 0.625rem; }
.km-side h3 i { width: 0.625rem; height: 0.625rem; border-radius: 50%; flex: none; }
.km-side .sub { font-size: calc(var(--fz) * 0.6562rem); color: var(--ink-dim); }
.km-side .lvl { display: inline-flex; gap: 0.1875rem; vertical-align: middle; margin-right: 0.375rem; }
.km-side .lvl span { width: 0.875rem; height: 0.3125rem; border-radius: 0.125rem; background: rgba(255,255,255,0.1); }
.km-side .lvl span.on { background: var(--c, var(--accent-live)); box-shadow: 0 0 0.375rem var(--c, var(--accent-live)); }
.km-side .ev { font-size: calc(var(--fz) * 0.6875rem); line-height: 1.65; color: var(--ink); border-left: 0.125rem solid var(--c, var(--accent-link)); padding-left: 0.625rem; }
.km-side .grp .gl { font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 0.375rem; }
.km-side .tags { display: flex; flex-wrap: wrap; gap: 0.3125rem; }
.km-side .tag {
--c: #94a3b8;
font-size: calc(var(--fz) * 0.5938rem); padding: 0.1875rem 0.5rem; border-radius: 0.25rem; cursor: pointer; white-space: nowrap;
color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.km-side .tag:hover { background: color-mix(in srgb, var(--c) 22%, transparent); }
.km-side .tag.plain { cursor: default; }
.km-side .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem 0.625rem; font-size: calc(var(--fz) * 0.5938rem); color: var(--ink-dim); }
.km-side .legend span { display: flex; align-items: center; gap: 0.375rem; }
.km-side .legend i { width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.km-side .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.km-side .stats div { background: rgba(255,255,255,0.025); border: 1px solid var(--rule); border-radius: 0.375rem; padding: 0.5rem; }
.km-side .stats b { display: block; font-size: calc(var(--fz) * 1.125rem); color: var(--ink-strong); }
.km-side .stats small { font-size: calc(var(--fz) * 0.5312rem); letter-spacing: 0.12em; color: var(--ink-faint); }
.km-side .hint { font-size: calc(var(--fz) * 0.5938rem); color: var(--ink-faint); margin-top: auto; line-height: 1.6; }
.km-edge { fill: none; stroke-width: 1.1; stroke-opacity: 0.13; transition: stroke-opacity 260ms, stroke-width 260ms; }
.km-svg.focus .km-edge { stroke-opacity: 0.025; }
.km-svg.focus .km-edge.hi { stroke-opacity: 0.95; stroke-width: 2.2; stroke-dasharray: 5 7; animation: kmflow 0.9s linear infinite; }
@keyframes kmflow { to { stroke-dashoffset: -24; } }
.km-node { cursor: pointer; transition: opacity 260ms; }
.km-node .hit { fill: transparent; }
.km-node .dotc { transition: r 200ms; }
.km-node text { font: 500 15px var(--mono); fill: #9fb0c8; transition: fill 200ms; }
.km-node.l3 text { fill: #dbe5f2; font-weight: 700; }
.km-node.l1 text { fill: #6b7a93; }
.km-svg.focus .km-node { opacity: 0.22; }
.km-svg.focus .km-node.hi { opacity: 1; }
.km-node.hi text { fill: #fff; font-weight: 700; }
.km-node.sel .dotc { filter: url(#kmGlow); }
.km-role { cursor: pointer; transition: opacity 260ms; }
.km-role .band { fill: none; stroke-linecap: round; transition: stroke-width 200ms; }
/* no bounding-box outline on map items; keyboard focus glows on the shape itself */
.km-svg g:focus, .km-svg g:focus-visible { outline: none; }
.km-role:focus-visible .band { filter: drop-shadow(0 0 6px rgba(255,255,255,0.75)); }
.km-node:focus-visible .dotc { stroke: #fff; stroke-width: 2; }
.km-role text { font: 700 12.5px var(--mono); letter-spacing: 1.5px; fill: #05101c; pointer-events: none; }
.km-svg.focus .km-role { opacity: 0.3; }
.km-svg.focus .km-role.hi { opacity: 1; }
.km-role.sel .band { filter: url(#kmGlow); }
.km-domain-arc { fill: none; stroke-width: 3; stroke-linecap: round; }
.km-domain-lbl { font: 700 14px var(--mono); letter-spacing: 3px; }
.km-year { font: 400 11px var(--mono); fill: #4b5872; }
.km-pulse { pointer-events: none; }
.km-svg.compact .km-node text { display: none; }
/* phones: the one focused label is big, so it can reach past the domain arc; a dark halo keeps it readable */
.km-svg.compact.focus .km-node.hi text { display: inline; font-size: 26px; paint-order: stroke; stroke: #070b14; stroke-width: 7px; stroke-linejoin: round; }
.km-svg.compact .km-role text { display: none; }
.km-svg.compact .km-domain-lbl { font-size: 24px; letter-spacing: 2px; transition: opacity 260ms; }
.km-svg.compact.focus .km-domain-lbl { opacity: 0.35; }
@media (max-width: 900px) {
.kmap { grid-template-columns: 1fr; }
.km-side { border-left: 0; border-top: 1px solid var(--rule); min-height: 0; }
.km-roles-m { display: flex; }
.km-search { margin-left: 0; width: 100%; order: -1; }
.km-chip { font-size: calc(var(--fz) * 0.5312rem); padding: 0.25rem 0.5rem; gap: 0.3125rem; letter-spacing: 0.06em; }
}
/* ════════════════ 04 · EXPERIENCE ════════════════ */
.roles { display: flex; flex-direction: column; gap: 0.5rem; }
.role-card {
--c: var(--accent-live);
background: var(--bg); border: 1px solid var(--rule); border-left: 0.1875rem solid var(--c);
border-radius: 0.375rem; overflow: hidden; transition: box-shadow 400ms, border-color 400ms;
}
.role-card.archived { --c: #3b4a63; }
.role-card.flash { box-shadow: 0 0 0 1px var(--accent-link), var(--glow-link); }
.role-card .head { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0.8125rem 1rem; cursor: pointer; gap: 0.625rem; }
.role-card .name { color: var(--ink-strong); font-weight: 700; font-size: calc(var(--fz) * 0.875rem); }
.role-card .name .title { color: var(--ink-dim); font-weight: 400; font-size: calc(var(--fz) * 0.6875rem); }
.role-card .blurb { color: var(--ink-faint); font-size: calc(var(--fz) * 0.625rem); margin-top: 0.1875rem; }
.role-card .right { display: flex; gap: 0.625rem; align-items: center; font-size: calc(var(--fz) * 0.625rem); white-space: nowrap; }
.role-card .period { color: var(--accent-warn); letter-spacing: 0.06em; }
.role-card .status { padding: 0.125rem 0.375rem; border-radius: 0.125rem; background: rgba(74,222,128,0.12); color: var(--accent-live); font-size: calc(var(--fz) * 0.5rem); letter-spacing: 0.15em; font-weight: 700; }
.role-card.archived .status { background: rgba(148,163,184,0.10); color: var(--ink-dim); }
.role-card .jump { color: var(--ink-faint); font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.08em; padding: 0.25rem 0.5rem; border: 1px solid var(--rule); border-radius: 0.1875rem; cursor: pointer; }
.role-card .jump:hover { color: var(--accent-link); border-color: var(--accent-link); }
.role-card .caret { color: var(--ink-faint); font-size: calc(var(--fz) * 0.5625rem); transition: transform 180ms; display: inline-block; }
.role-card.open .caret { transform: rotate(90deg); }
.role-card .body { display: none; padding: 0 1rem 1rem; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.role-card.open .body { display: grid; }
.role-card ul { padding-left: 1rem; color: var(--ink); font-size: calc(var(--fz) * 0.7188rem); line-height: 1.7; }
.role-card li { margin-bottom: 0.3125rem; }
.role-card li b { color: var(--ink-strong); }
.role-card .metrics { display: flex; flex-direction: column; gap: 0.375rem; }
.role-card .metrics .row { display: flex; justify-content: space-between; font-size: calc(var(--fz) * 0.5938rem); border-bottom: 1px dashed var(--rule); padding-bottom: 0.25rem; }
.role-card .metrics .k { color: var(--ink-faint); letter-spacing: 0.1em; }
.role-card .metrics .v { color: var(--accent-live); font-weight: 700; }
.role-card .stack { margin-top: 0.625rem; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.role-card .stack span { font-size: calc(var(--fz) * 0.5625rem); padding: 0.125rem 0.375rem; border-radius: 0.1875rem; color: var(--ink-dim); background: rgba(255,255,255,0.04); border: 1px solid var(--rule); }
.edu { margin-top: 0.625rem; padding: 0.75rem 1rem; border: 1px dashed var(--rule-strong); border-radius: 0.375rem; font-size: calc(var(--fz) * 0.6875rem); color: var(--ink-dim); display: flex; justify-content: space-between; gap: 0.625rem; flex-wrap: wrap; }
.edu b { color: var(--ink-strong); }
@media (max-width: 640px) {
.role-card .head { grid-template-columns: 1fr; }
.role-card .right { justify-content: flex-start; flex-wrap: wrap; }
.role-card .body { grid-template-columns: 1fr; gap: 0.75rem; }
}
/* ════════════════ 05 · PROJECTS ════════════════ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.svc {
background: var(--bg); border: 1px solid var(--rule); border-radius: 0.375rem; padding: 0.875rem;
position: relative; transition: transform 180ms, box-shadow 180ms, border-color 180ms;
display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 0.375rem 1.25rem rgba(0,0,0,0.4); border-color: var(--rule-strong); }
.svc.live:hover { border-color: var(--accent-live); }
.svc.oss:hover { border-color: var(--accent-warn); }
.svc .dot-svc { position: absolute; top: 0.875rem; right: 0.875rem; width: 0.375rem; height: 0.375rem; border-radius: 50%; }
.svc.live .dot-svc { background: var(--accent-live); box-shadow: var(--glow-live); animation: pulseDot 2s ease-in-out infinite; }
.svc.oss .dot-svc { background: var(--accent-warn); box-shadow: var(--glow-warn); }
.svc.archived .dot-svc { background: var(--ink-faint); }
.svc.proto:hover { border-color: var(--c-agents); }
.svc.proto .dot-svc { background: var(--c-agents); box-shadow: 0 0 0.75rem rgba(167,139,250,0.45); }
.svc .name { color: var(--accent-link); font-weight: 700; font-size: calc(var(--fz) * 0.8125rem); padding-right: 1rem; }
.svc .name a { color: inherit; }
.svc .meta { color: var(--ink-faint); font-size: calc(var(--fz) * 0.5312rem); letter-spacing: 0.12em; margin: 0.1875rem 0 0.625rem; }
.svc .desc { color: var(--ink-dim); font-size: calc(var(--fz) * 0.6875rem); line-height: 1.6; flex: 1; }
.svc .visit { margin-top: 0.625rem; font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.10em; color: var(--accent-live); }
.svc.svc-hidden { display: none; }
.svc-toggle {
grid-column: 1 / -1; margin-top: 0.25rem; background: var(--bg); border: 1px dashed var(--rule-strong);
border-radius: 0.375rem; padding: 0.6875rem 0.875rem; color: var(--ink-faint); font-size: calc(var(--fz) * 0.625rem); letter-spacing: 0.14em;
text-transform: uppercase; cursor: pointer; transition: all 180ms;
}
.svc-toggle:hover { border-color: var(--accent-link); color: var(--accent-link); }
@media (min-width: 1300px) { .services { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
/* ─── Footer ─── */
.footer {
max-width: var(--maxw); margin: 3.5rem auto 0; padding: 1.125rem var(--gutter) 1.75rem; border-top: 1px solid var(--rule);
display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
font-size: calc(var(--fz) * 0.625rem); color: var(--ink-faint); letter-spacing: 0.10em;
}
.footer .v { cursor: pointer; transition: color 180ms; }
.footer .v:hover { color: var(--ink-dim); }
/* ─── Boot / matrix / version pop ─── */
.boot { position: fixed; inset: 0; z-index: 1000; background: var(--bg-deep); display: flex; align-items: center; justify-content: center; transition: opacity 300ms ease-out; }
.boot.hide { opacity: 0; pointer-events: none; }
.boot .term-boot { width: min(35rem, 90vw); padding: 1.5rem; color: var(--accent-live); font-size: calc(var(--fz) * 0.8125rem); line-height: 1.8; text-shadow: 0 0 0.5rem rgba(74,222,128,0.35); }
.boot .term-boot .line { opacity: 0; }
.boot .term-boot .line.show { opacity: 1; transition: opacity 140ms ease-out; }
.boot .term-boot .caret::after { content: '▍'; animation: blink 1s steps(1) infinite; }
.matrix-rain { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.6); pointer-events: none; color: var(--accent-live); overflow: hidden; transition: opacity 400ms ease-out; }
.matrix-rain.hide { opacity: 0; }
.matrix-rain .col { position: absolute; top: -10%; font-size: calc(var(--fz) * 0.875rem); white-space: pre; animation: rain linear forwards; text-shadow: 0 0 0.5rem var(--accent-live); line-height: 1.15; }
@keyframes rain { to { top: 110%; } }
.matrix-rain .tag { position: absolute; bottom: 1.5rem; right: 1.5rem; font-size: calc(var(--fz) * 0.6875rem); letter-spacing: 0.18em; text-shadow: 0 0 0.5rem var(--accent-live); }
.vpop {
position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 200;
background: var(--bg); border: 1px solid var(--accent-link); border-radius: 0.375rem; padding: 0.625rem 0.875rem;
font-size: calc(var(--fz) * 0.6875rem); color: var(--ink); box-shadow: 0 0.5rem 1.875rem rgba(0,0,0,0.6), var(--glow-link);
display: flex; gap: 0.875rem; align-items: center; white-space: nowrap;
}
.vpop .label { color: var(--accent-link); font-weight: 700; letter-spacing: 0.1em; font-size: calc(var(--fz) * 0.625rem); }
.vpop a { color: var(--accent-live); }
.vpop .close { color: var(--ink-faint); cursor: pointer; font-size: calc(var(--fz) * 0.5625rem); letter-spacing: 0.12em; }
</style>
</head>
<body>
<div class="boot" id="boot" aria-hidden="true">
<div class="term-boot">
<div class="line">> INITIALIZING DALIN.DEV v2026.2</div>
<div class="line">> LOADING WEIGHTS dalin-lm (resume.pdf) ........ OK</div>
<div class="line">> WAKING AGENTS [████████████████] 14/14 + 1 human</div>
<div class="line">> STATUS ISLAND 30/30 systems ............... OK</div>
<div class="line caret">> READY </div>
</div>
</div>
<header class="topbar">
<div class="left">
<span class="logo">DALIN.DEV</span>
<span class="mono v" id="version-top" title="Previous versions">v2026.2</span>
<span class="mono loc">·</span>
<span class="mono loc"><span class="dot" id="status-dot"></span><span id="status-text">ONLINE · OTTAWA</span></span>
</div>
<nav aria-label="Sections and links">
<a href="#ask">ASK</a>
<a href="#office">OFFICE</a>
<a href="#map">MAP</a>
<a href="#work">WORK</a>
<span class="sep ext"></span>
<a class="ext" href="https://www.linkedin.com/in/dalinhuang/" target="_blank" rel="noopener">LINKEDIN</a>
<a class="ext" href="https://github.com/dalindev" target="_blank" rel="noopener">GITHUB</a>
<a class="ext" href="mailto:dhuan023@gmail.com">EMAIL</a>
<a class="res" href="Dalin_Huang_Resume_2026.pdf" target="_blank" rel="noopener">RESUME</a>
</nav>
</header>
<main>
<section class="intro">
<div class="ghost" aria-hidden="true">
<svg viewBox="0 0 800 240" preserveAspectRatio="xMidYMid slice">
<g fill="none" stroke="rgba(96,165,250,0.30)" stroke-width="0.7" stroke-dasharray="3 5">
<path d="M80,60 Q200,180 380,90"/><path d="M380,90 Q500,40 720,140"/>
<path d="M380,90 Q480,200 620,180"/><path d="M120,200 Q280,120 380,90"/>
<path d="M720,140 Q650,80 540,100"/><path d="M120,200 Q380,260 620,180"/>
</g>
<g>
<circle cx="80" cy="60" r="6" fill="#4ade80" opacity=".7"/><circle cx="380" cy="90" r="9" fill="#60a5fa" opacity=".7"/>
<circle cx="720" cy="140" r="6" fill="#a78bfa" opacity=".7"/><circle cx="120" cy="200" r="4" fill="#fbbf24" opacity=".7"/>
<circle cx="620" cy="180" r="4" fill="#f472b6" opacity=".7"/><circle cx="540" cy="100" r="4" fill="#22d3ee" opacity=".7"/>
</g>
</svg>
</div>
<div class="who">
<h1>Dalin Huang</h1>
<div class="role">Senior AI Developer</div>
</div>
<div class="about">
<p class="bio">
I build <span class="hl">AI that builds</span>. And <span class="hl">the trust that lets it ship</span>.<br>
Currently at <b>Parker AI</b>, taking marketing fully agentic.
</p>
<div class="links">
<a href="https://www.linkedin.com/in/dalinhuang/" target="_blank" rel="noopener">→ LINKEDIN</a>
<a href="https://github.com/dalindev" target="_blank" rel="noopener">→ GITHUB</a>
<a href="mailto:dhuan023@gmail.com">→ EMAIL</a>
<a class="primary" href="Dalin_Huang_Resume_2026.pdf" target="_blank" rel="noopener">→ RESUME.PDF</a>
</div>
</div>
</section>
<!-- ═════════ 01 · ASK ═════════ -->
<section class="sec first" id="ask">
<h2 class="section-head"><span class="num">01</span> ASK THE MODEL</h2>
<div class="llm" id="llm">
<div class="macterm-bar">
<div class="dots3"><span class="r"></span><span class="y"></span><span class="g"></span></div>
<div class="title" id="llm-title">dalin-lm · tiny classifier · training in your browser…</div>
<div class="badge" id="llm-badge"><span class="ld"></span><span id="llm-badge-t">READY</span></div>
</div>
<form class="llm-prompt" id="llm-form" autocomplete="off">
<div class="composer idle" id="composer">
<svg class="ring" aria-hidden="true"><rect pathLength="100" style="--k:0.0;stroke-dasharray:18.0 82.0;stroke-dashoffset:-0.0"/><rect pathLength="100" style="--k:2.34;stroke-dasharray:15.66 84.34;stroke-dashoffset:-2.34"/><rect pathLength="100" style="--k:4.55;stroke-dasharray:13.45 86.55;stroke-dashoffset:-4.55"/><rect pathLength="100" style="--k:6.64;stroke-dasharray:11.36 88.64;stroke-dashoffset:-6.64"/><rect pathLength="100" style="--k:8.59;stroke-dasharray:9.41 90.59;stroke-dashoffset:-8.59"/><rect pathLength="100" style="--k:10.4;stroke-dasharray:7.6 92.4;stroke-dashoffset:-10.4"/><rect pathLength="100" style="--k:12.06;stroke-dasharray:5.94 94.06;stroke-dashoffset:-12.06"/><rect pathLength="100" style="--k:13.56;stroke-dasharray:4.44 95.56;stroke-dashoffset:-13.56"/><rect pathLength="100" style="--k:14.9;stroke-dasharray:3.1 96.9;stroke-dashoffset:-14.9"/><rect pathLength="100" style="--k:16.04;stroke-dasharray:1.96 98.04;stroke-dashoffset:-16.04"/><rect pathLength="100" style="--k:16.98;stroke-dasharray:1.02 98.98;stroke-dashoffset:-16.98"/><rect pathLength="100" style="--k:17.66;stroke-dasharray:0.34 99.66;stroke-dashoffset:-17.66"/><rect class="hd" pathLength="100" style="--k:16.8;stroke-dasharray:1.2 98.8;stroke-dashoffset:-16.8"/></svg>
<span class="caret" aria-hidden="true">❯</span><span class="type-cur" aria-hidden="true"></span>
<input id="llm-input" maxlength="80" placeholder="Type a question about my work…" aria-label="Ask about my work" enterkeyhint="send">
<button class="llm-run" id="llm-run" type="submit">ASK ↵</button>
</div>
</form>
<div class="llm-sugg" id="llm-sugg">
<span class="lbl">TRY</span>
</div>
<div class="llm-stages" id="llm-stages">
<div class="llm-stage" data-s="tok"><span class="n">01</span>TOKENIZE</div>
<div class="llm-stage" data-s="emb"><span class="n">02</span>EMBED</div>
<div class="llm-stage" data-s="ret"><span class="n">03</span>RETRIEVE</div>
<div class="llm-stage" data-s="pre"><span class="n">04</span>PREFILL</div>
<div class="llm-stage" data-s="dec"><span class="n">05</span>DECODE</div>
<div class="llm-stage train" data-s="bwd"><span class="n">06</span>BACKPROP</div>
</div>
<div class="llm-main">
<div class="llm-chat">
<div class="llm-out-wrap">
<div class="lbl"><span>ANSWER · streamed token by token</span><label><input type="checkbox" id="show-tokens"> show token boundaries</label></div>
<div class="llm-q" id="llm-q" hidden></div>
<div class="llm-out" id="llm-out" aria-live="polite"><span class="ph">The answer streams here. Type a question above, or tap a suggestion.</span></div>
<div class="llm-rel" id="llm-rel"></div>
</div>
</div>
<div class="llm-right">
<div class="llm-net" id="llm-net">
<canvas id="llm-canvas" aria-hidden="true"></canvas>
<div class="tag" id="net-tag">CLASSIFIER · <b>real</b> · training…</div>
<div class="tag tag2" id="net-tag2">idle</div>
</div>
<div class="llm-next">
<div class="cur">NEXT TOKEN<b id="cur-tok">—</b><small id="cur-meta">softmax · T=0.7</small></div>
<div class="cands" id="cands"></div>
</div>
</div>
<div class="llm-foot">
<div class="stats" id="llm-stats">answers are written ahead of time, not generated</div>
<div class="fb">
<span class="msg" id="fb-msg"></span>
<button id="fb-up" disabled title="Good answer: one real training step toward it">👍 train on this</button>
<button id="fb-down" disabled title="Bad answer: one real training step away from it">👎</button>
</div>
</div>
</div>
<div class="llm-under" id="llm-left">
<div class="llm-block">
<div class="lbl"><span>TOKENS + ATTENTION</span><b id="tok-count">0 tok</b></div>
<div class="tok-wrap">
<svg class="attn-svg" id="attn-svg" aria-hidden="true"></svg>
<div class="tok-row" id="tok-row"><span class="tok-empty">waiting for a prompt…</span></div>
</div>
</div>
<div class="llm-block emb-block">
<div class="lbl"><span>EMBEDDINGS</span><b>learned · d=64 → 32 shown</b></div>
<div class="emb-grid" id="emb-grid"></div>
</div>
<div class="llm-block ret-block">
<div class="lbl"><span>RETRIEVED CONTEXT</span><b>top-3 · simulated scores</b></div>
<div id="ret-list"></div>
</div>
</div>
</div>
<div class="how" id="how">
<button class="how-head" id="how-toggle" type="button" aria-expanded="false" aria-controls="how-body">
<h3>HOW THIS WORKS</h3>
<span class="how-tease">A tiny classifier, trained in your browser. What's real, what's simulated.</span>
<span class="how-chev" aria-hidden="true">▾</span>
</button>
<div class="how-body" id="how-body">
<div class="how-inner"><div class="how-pad">
<p class="how-lead">No API calls and no large language model. A tiny classifier (the network in the picture) trains in your browser when the page loads and helps pick one of my hand-written answers. The rest plays out, step by step, how an LLM would produce that answer.</p>
<div class="how-steps">
<div class="how-step" data-s="tok"><div class="hs-n"><span>01</span>TOKENIZE</div>
<p><b>LLM</b>Splits text into sub-word tokens from a learned vocabulary.</p>
<p class="here"><b>Here</b>Simulated. The classifier has no vocabulary: it hashes your words, word pairs and letter triples into 1,024 input slots.</p></div>
<div class="how-step" data-s="emb"><div class="hs-n"><span>02</span>EMBED</div>
<p><b>LLM</b>Each token looks up a learned vector that encodes its meaning.</p>
<p class="here"><b>Here</b>Real. Each row is the 64 numbers the classifier learned for one of your words; the last row is the whole question after ReLU.</p></div>
<div class="how-step" data-s="ret"><div class="hs-n"><span>03</span>RETRIEVE</div>
<p><b>LLM</b>With RAG, the question is compared with document chunks by cosine similarity.</p>
<p class="here"><b>Here</b>Keywords pick the answer first, then the closest example question, then the classifier, and only if it knows one of your words. The scores beside the resume sections are simulated.</p></div>
<div class="how-step" data-s="pre"><div class="hs-n"><span>04</span>PREFILL</div>
<p><b>LLM</b>The prompt passes through every transformer block, and attention decides which tokens look at which.</p>
<p class="here"><b>Here</b>Simulated. The classifier has no attention; the arcs show what it looks like in a real model.</p></div>
<div class="how-step" data-s="dec"><div class="hs-n"><span>05</span>DECODE</div>
<p><b>LLM</b>Scores every token, softmax turns the scores into probabilities, and one token is sampled.</p>
<p class="here"><b>Here</b>Simulated. The answer text is fixed, so it can't invent facts, though the wrong answer can get picked. The real softmax is in the picture: one probability per answer.</p></div>
<div class="how-step train" data-s="bwd"><div class="hs-n"><span>06</span>BACKPROP · 👍 TRAIN ON THIS</div>
<p><b>LLM</b>Training measures how wrong the output was and sends that error backwards to nudge every weight.</p>
<p class="here"><b>Here</b>Real, on the classifier. 👍 runs one gradient step that makes this answer more likely for your question; 👎 makes it less likely. The weights change only in your browser. The big version is what I run at Parker AI: user reactions feed a fine-tuning queue for our self-hosted models.</p></div>
</div>
<div class="how-data" id="how-data"></div>
</div></div>
</div>
</div>
</section>
<!-- ═════════ 02 · OFFICE ═════════ -->
<section class="sec" id="office">
<h2 class="section-head"><span class="num">02</span> THE AGENT OFFICE <span class="count" id="office-count">· 14 desks · 1 human gate</span></h2>
<p class="section-sub">My personal agent team: Grok bots plus Claude Code. Tickets flow down the lane. Trusted changes ship to prod on their own; the long tail waits for a human. Click a desk to meet an agent.</p>
<div class="office3d" id="office3d">
<div class="of-loading" id="of-loading">LOADING OFFICE…</div>
<div class="of-labels" id="of-labels"></div>
<div class="of-hud" id="of-hud"></div>
<div class="of-card" id="of-card" role="dialog" aria-live="polite"></div>
<div class="of-hint" id="of-hint">drag to rotate · click a desk</div>
<div class="of-ctrl">
<button id="of-left" title="Rotate left" aria-label="Rotate left">⟲</button>
<button id="of-right" title="Rotate right" aria-label="Rotate right">⟳</button>
<button id="of-reset" title="Overview" aria-label="Reset view">⤢</button>
</div>
<div class="of-fallback" id="of-fallback"></div>
</div>
</section>
<!-- ═════════ 03 · MAP ═════════ -->
<section class="sec" id="map">
<h2 class="section-head"><span class="num">03</span> KNOWLEDGE MAP <span class="count">· career clock: roles ↔ skills</span></h2>
<p class="section-sub">My career as a clock: roles inside, skills outside. Hover or tap to trace them.</p>
<div class="kmap" id="kmap">
<div class="km-toolbar" id="km-toolbar">
<input class="km-search" id="km-search" placeholder="⌕ search skills" aria-label="Search skills">
</div>
<div class="km-stage">
<svg class="km-svg" id="km-svg" viewBox="-40 -40 1080 1080" role="img" aria-label="Radial map of roles and skills"></svg>
<div class="km-roles-m" id="km-roles-m"></div>
</div>
<aside class="km-side" id="km-side"></aside>
</div>
</section>
<!-- ═════════ 04 · EXPERIENCE ═════════ -->
<section class="sec" id="work">
<h2 class="section-head"><span class="num">04</span> EXPERIENCE <span class="count" id="roles-count"></span></h2>
<div class="roles" id="roles-list"></div>