-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
807 lines (752 loc) · 43.3 KB
/
Copy pathindex.html
File metadata and controls
807 lines (752 loc) · 43.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Akshay Nataraja — Data Scientist</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Outfit:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--vanilla: #FAF8F3;
--lavender: #C9BAFF;
--coral: #FFB5A0;
--mint: #9FECCE;
--sky: #A2CEFF;
--lemon: #FFE68A;
--rose: #FFB8CC;
--sage: #B5DFBE;
--bg-lav: #EDE8FF;
--bg-cor: #FFE8E1;
--bg-mnt: #E0FAF1;
--bg-sky: #E0F0FF;
--bg-lem: #FFF8DC;
--bg-ros: #FFE8EF;
--text: #1E1A14;
--muted: #8A8480;
--surface: #FFFFFF;
--border: rgba(30,26,20,0.09);
--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html { scroll-behavior: smooth; }
body {
font-family: 'Outfit', sans-serif;
background: var(--vanilla);
color: var(--text);
cursor: none;
overflow-x: hidden;
}
/* ── CURSOR ── */
#cur {
position: fixed; pointer-events: none; z-index: 9999;
transform: translate(-50%,-50%);
}
#cur svg { width: 22px; height: 22px; transition: transform 0.2s var(--ease); }
#cur-ring {
position: fixed; width: 44px; height: 44px;
border: 1.5px solid rgba(30,26,20,0.22); border-radius: 50%;
pointer-events: none; z-index: 9998;
transform: translate(-50%,-50%);
transition: width .22s var(--ease), height .22s var(--ease), border-color .22s;
}
body.is-hover #cur svg { transform: scale(1.6); }
body.is-hover #cur-ring { width: 64px; height: 64px; border-color: rgba(30,26,20,0.1); }
/* ── SCATTER CLICK ── */
.scatter {
position: fixed; pointer-events: none; border-radius: 50%; z-index: 9990;
animation: scatterOut 0.65s var(--ease) forwards;
}
@keyframes scatterOut {
0% { opacity:.85; transform:translate(0,0) scale(1); }
100% { opacity:0; transform:translate(var(--tx),var(--ty)) scale(0.1); }
}
/* ── NAV ── */
nav {
position: fixed; top:0; inset-inline:0; z-index:100;
display:flex; align-items:center; justify-content:space-between;
padding: 26px clamp(24px,6vw,80px);
background: rgba(250,248,243,0.82); backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
}
.logo {
font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:400;
color:var(--text); text-decoration:none; letter-spacing:.01em;
}
.nav-links { display:flex; gap:40px; list-style:none; }
.nav-links a {
font-size:.78rem; font-weight:400; letter-spacing:.14em; text-transform:uppercase;
color:var(--muted); text-decoration:none; position:relative; transition:color .25s;
}
.nav-links a::after {
content:''; position:absolute; bottom:-3px; left:0; right:0;
height:1.5px; background:var(--lavender);
transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease);
}
.nav-links a:hover { color:var(--text); }
.nav-links a:hover::after { transform:scaleX(1); }
/* ── HERO ── */
#hero {
min-height:100vh; display:grid; grid-template-columns:1fr 1fr;
padding: 100px clamp(24px,6vw,80px) 0; overflow:hidden;
}
.hero-left {
display:flex; flex-direction:column; justify-content:center;
padding-right:48px; padding-bottom:60px;
}
.eyebrow {
font-size:.73rem; letter-spacing:.22em; text-transform:uppercase; color:var(--muted);
margin-bottom:26px; display:flex; align-items:center; gap:14px;
opacity:0; animation:fadeUp .7s .15s var(--ease) forwards;
}
.eyebrow-line { width:28px; height:1.5px; background:var(--lavender); flex-shrink:0; }
h1 {
font-family:'Playfair Display',serif;
font-size:clamp(3rem,5.2vw,5.2rem); font-weight:400; line-height:1.0; letter-spacing:-.02em;
opacity:0; animation:fadeUp .8s .3s var(--ease) forwards;
}
h1 em { font-style:italic; color:var(--muted); }
.tw-row {
margin-top:20px; height:2.2rem;
font-family:'Playfair Display',serif; font-size:clamp(1.3rem,2.2vw,2rem); font-weight:400;
opacity:0; animation:fadeUp .8s .45s var(--ease) forwards;
display:flex; align-items:center; gap:2px;
}
#tw-text { color:var(--text); }
.tw-cur {
display:inline-block; width:2px; height:1.1em;
background:var(--lavender); vertical-align:text-bottom;
animation:blink 1s step-end infinite;
}
@keyframes blink { 50%{opacity:0;} }
.hero-bio {
margin-top:32px; font-size:.97rem; color:var(--muted); line-height:1.85; font-weight:300;
max-width:420px; opacity:0; animation:fadeUp .8s .6s var(--ease) forwards;
}
.hero-cta {
margin-top:44px; display:flex; gap:14px; flex-wrap:wrap;
opacity:0; animation:fadeUp .8s .75s var(--ease) forwards;
}
.btn {
display:inline-flex; align-items:center; gap:8px;
padding:14px 30px; border-radius:100px;
font-size:.84rem; font-weight:500; letter-spacing:.05em;
text-decoration:none; cursor:none; border:none;
transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform:translateY(-3px); box-shadow:0 14px 40px rgba(0,0,0,.1); }
.btn-primary { background:var(--text); color:var(--vanilla); }
.btn-outline { background:transparent; color:var(--text); border:1.5px solid rgba(30,26,20,.2); }
.hero-right { display:flex; align-items:stretch; position:relative; overflow:hidden; }
#neuralCanvas {
width:100%; height:100%; min-height:500px;
opacity:0; animation:fadeIn 1.2s .9s ease forwards;
}
@keyframes fadeIn { to{opacity:1;} }
@keyframes fadeUp { to{opacity:1;transform:none;} }
/* ── TICKER ── */
.ticker-wrap {
overflow:hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
padding:14px 0; background:var(--vanilla); position:relative; z-index:1;
}
.ticker-track { display:flex; width:max-content; animation:tick 32s linear infinite; }
.ticker-item {
white-space:nowrap; font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
color:var(--muted); padding:0 28px; display:flex; align-items:center; gap:28px;
}
.tdot { display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--lavender); flex-shrink:0; }
@keyframes tick { to{transform:translateX(-50%);} }
/* ── ABOUT ── */
#about {
padding:120px clamp(24px,6vw,80px);
display:grid; grid-template-columns:1.1fr .9fr; gap:100px; align-items:center;
}
.section-label {
font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--muted);
margin-bottom:22px; display:flex; align-items:center; gap:12px;
}
.section-label::before { content:''; width:22px; height:1.5px; background:var(--coral); }
.about-heading {
font-family:'Playfair Display',serif;
font-size:clamp(1.9rem,3.2vw,2.9rem); font-weight:400; line-height:1.25; margin-bottom:24px;
}
.about-heading em { font-style:italic; }
.about-body { font-size:.96rem; color:var(--muted); line-height:1.9; font-weight:300; margin-bottom:18px; }
.stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:44px; }
.stat-box {
background:var(--surface); border:1px solid var(--border); border-radius:16px;
padding:22px 18px; position:relative; overflow:hidden;
transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-box::before {
content:''; position:absolute; top:0; left:0; right:0;
height:3px; background:var(--acc,var(--lavender));
}
.stat-box:nth-child(1){--acc:var(--lavender);}
.stat-box:nth-child(2){--acc:var(--coral);}
.stat-box:nth-child(3){--acc:var(--mint);}
.stat-box:hover { transform:translateY(-5px); box-shadow:0 16px 48px rgba(0,0,0,.07); }
.stat-num { font-family:'Playfair Display',serif; font-size:2.6rem; font-weight:400; line-height:1; }
.stat-lbl { font-size:.75rem; color:var(--muted); margin-top:6px; }
/* ── SKILL RINGS ── */
.rings-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ring-wrap { display:flex; flex-direction:column; align-items:center; gap:10px; }
.ring-svg { width:108px; height:108px; }
.ring-bg { fill:none; stroke:rgba(30,26,20,.07); stroke-width:6; }
.ring-fill {
fill:none; stroke-width:6; stroke-linecap:round;
transform:rotate(-90deg); transform-origin:50% 50%;
transition:stroke-dashoffset 1.5s cubic-bezier(.25,.46,.45,.94);
}
.ring-num { font-family:'Playfair Display',serif; font-size:17px; font-weight:400; fill:var(--text); text-anchor:middle; dominant-baseline:middle; }
.ring-lbl { font-size:.76rem; color:var(--muted); text-align:center; letter-spacing:.04em; }
/* ── EXPERIENCE ── */
#experience { padding:0 clamp(24px,6vw,80px) 120px; }
.exp-list { margin-top:0; display:flex; flex-direction:column; gap:2px; border:1px solid var(--border); border-radius:24px; overflow:hidden; background:var(--border); }
.exp-item {
background:var(--surface); padding:36px 44px;
display:grid; grid-template-columns:1fr auto;
gap:8px 40px; align-items:start;
position:relative; overflow:hidden;
transition:background .25s var(--ease);
}
.exp-item::before {
content:''; position:absolute; left:0; top:0; bottom:0;
width:3px; background:var(--acc,var(--lavender));
transform:scaleY(0); transform-origin:bottom;
transition:transform .35s var(--ease);
}
.exp-item:hover::before { transform:scaleY(1); }
.exp-item:nth-child(1){--acc:var(--lavender);}
.exp-item:nth-child(2){--acc:var(--coral);}
.exp-item:nth-child(3){--acc:var(--mint);}
.exp-item:nth-child(4){--acc:var(--sky);}
.exp-item:hover { background:#FAFAFA; }
.exp-role { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:400; margin-bottom:4px; }
.exp-company { font-size:.85rem; font-weight:500; color:var(--text); margin-bottom:12px; }
.exp-company span { color:var(--muted); font-weight:300; }
.exp-bullets { list-style:none; display:flex; flex-direction:column; gap:7px; }
.exp-bullets li { font-size:.87rem; color:var(--muted); line-height:1.65; font-weight:300; padding-left:16px; position:relative; }
.exp-bullets li::before { content:''; position:absolute; left:0; top:.55em; width:5px; height:5px; border-radius:50%; background:var(--acc,var(--lavender)); }
.exp-date { font-size:.73rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); white-space:nowrap; padding-top:4px; }
/* ── PROJECTS ── */
#projects { padding:120px clamp(24px,6vw,80px); background:var(--surface); }
.proj-header { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:56px; }
.proj-title { font-family:'Playfair Display',serif; font-size:clamp(2.2rem,4vw,3.8rem); font-weight:400; line-height:1.1; }
.proj-title em { font-style:italic; color:var(--muted); }
.proj-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.proj-card {
border-radius:20px; overflow:hidden; border:1px solid var(--border);
background:var(--card-bg,var(--vanilla)); cursor:none;
transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.proj-card:hover { transform:translateY(-9px) rotate(-.3deg); box-shadow:0 26px 64px rgba(0,0,0,.09); }
.proj-card:nth-child(1){--card-bg:var(--bg-lav);}
.proj-card:nth-child(2){--card-bg:var(--bg-cor);}
.proj-card:nth-child(3){--card-bg:var(--bg-mnt);}
.proj-card:nth-child(4){--card-bg:var(--bg-sky);}
.proj-card:nth-child(5){--card-bg:var(--bg-lem);}
.proj-card:nth-child(6){--card-bg:var(--bg-ros);}
.proj-visual {
height:190px; display:flex; align-items:center; justify-content:center; padding:22px;
}
.proj-visual svg { width:100%; height:100%; transition:transform .4s var(--ease); }
.proj-card:hover .proj-visual svg { transform:scale(1.05); }
.proj-body { padding:22px 26px 26px; }
.proj-tags { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.ptag { font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); background:rgba(30,26,20,.05); border-radius:100px; padding:4px 10px; }
.proj-name { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:400; margin-bottom:10px; }
.proj-desc { font-size:.86rem; color:var(--muted); line-height:1.72; font-weight:300; }
.proj-award { display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:.76rem; font-weight:500; color:var(--text); background:var(--lemon); border-radius:100px; padding:4px 12px; }
.proj-link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:.79rem; font-weight:500; color:var(--text); text-decoration:none; letter-spacing:.05em; }
.proj-link .arr { transition:transform .25s var(--ease); }
.proj-link:hover .arr { transform:translate(4px,-4px); }
/* ── CONTACT ── */
#contact { padding:160px clamp(24px,6vw,80px); text-align:center; }
.contact-title { font-family:'Playfair Display',serif; font-size:clamp(2.8rem,5.5vw,5.2rem); font-weight:400; line-height:1.05; margin-bottom:36px; }
.contact-title em { font-style:italic; color:transparent; -webkit-text-stroke:1.5px var(--text); }
.contact-sub { font-size:.98rem; color:var(--muted); margin-bottom:44px; font-weight:300; max-width:420px; margin-inline:auto; line-height:1.75; }
.contact-links { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
/* ── FOOTER ── */
footer { border-top:1px solid var(--border); padding:26px clamp(24px,6vw,80px); display:flex; justify-content:space-between; align-items:center; font-size:.77rem; color:var(--muted); }
/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(26px); transition:opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.vis { opacity:1; transform:none; }
/* ── RESPONSIVE ── */
@media(max-width:960px){
#hero{grid-template-columns:1fr;padding-top:120px;}
.hero-right{height:55vw;}
.hero-left{padding-right:0;}
#about{grid-template-columns:1fr;gap:60px;}
.proj-grid{grid-template-columns:1fr 1fr;}
.nav-links{display:none;}
.exp-item{grid-template-columns:1fr;gap:4px;}
.exp-date{order:-1;}
}
@media(max-width:600px){
.proj-grid{grid-template-columns:1fr;}
.rings-grid{grid-template-columns:repeat(2,1fr);}
.stat-row{grid-template-columns:1fr;}
}
</style>
</head>
<body>
<!-- CURSOR -->
<div id="cur">
<svg viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<line x1="11" y1="0" x2="11" y2="22" stroke="#1E1A14" stroke-width="1.4"/>
<line x1="0" y1="11" x2="22" y2="11" stroke="#1E1A14" stroke-width="1.4"/>
<circle cx="11" cy="11" r="2.8" fill="#1E1A14"/>
</svg>
</div>
<div id="cur-ring"></div>
<!-- NAV -->
<nav>
<a href="#" class="logo" id="logo-el">Akshay Nataraja</a>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#experience">Experience</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<!-- HERO -->
<section id="hero">
<div class="hero-left">
<p class="eyebrow"><span class="eyebrow-line"></span>Data Scientist & ML Engineer</p>
<h1>Building systems<br>that <em>learn</em> from<br>data.</h1>
<div class="tw-row"><span id="tw-text"></span><span class="tw-cur"></span></div>
<p class="hero-bio">CS student at Penn State with experience in machine learning, data pipelines, and full-stack engineering — from RNA-Seq research to production ML at Western Union.</p>
<div class="hero-cta">
<a href="#projects" class="btn btn-primary magnetic">View Projects</a>
<a href="https://codakshay.github.io" target="_blank" class="btn btn-outline magnetic">Portfolio Site</a>
<a href="#contact" class="btn btn-outline magnetic">Get In Touch</a>
</div>
</div>
<div class="hero-right">
<canvas id="neuralCanvas"></canvas>
</div>
</section>
<!-- TICKER -->
<div class="ticker-wrap" aria-hidden="true">
<div class="ticker-track" id="tickerTrack"></div>
</div>
<!-- ABOUT -->
<section id="about">
<div class="about-left reveal">
<p class="section-label">About</p>
<h2 class="about-heading">Scientist by training,<br><em>builder by nature.</em></h2>
<p class="about-body">I'm a Computer Science student at Penn State (Minor in Math Applications) with hands-on experience across the full data and ML stack — from exploratory analysis and model building to production deployment and automated pipelines.</p>
<p class="about-body">I've worked in data science, software engineering, and research — building everything from DeepAR forecasting models at Western Union to RNA-Seq bioinformatics pipelines on HPC clusters. I care about writing clean, reproducible, impactful code.</p>
<div class="stat-row">
<div class="stat-box"><div class="stat-num"><span class="cu" data-t="4">0</span></div><div class="stat-lbl">Internships held</div></div>
<div class="stat-box"><div class="stat-num"><span class="cu" data-t="3">0</span>rd</div><div class="stat-lbl">Northrop Grumman Hack</div></div>
<div class="stat-box"><div class="stat-num"><span class="cu" data-t="12">0</span>+</div><div class="stat-lbl">Languages & frameworks</div></div>
</div>
</div>
<div class="about-right reveal" style="transition-delay:.15s">
<p class="section-label">Core Skills</p>
<div class="rings-grid" id="ringsGrid"></div>
</div>
</section>
<!-- EXPERIENCE -->
<section id="experience">
<div class="reveal" style="margin-bottom:48px">
<p class="section-label">Experience</p>
<h2 style="font-family:'Playfair Display',serif;font-size:clamp(2.2rem,4vw,3.8rem);font-weight:400;line-height:1.1;">Where I've<br><em style="font-style:italic;color:var(--muted)">Worked</em></h2>
</div>
<div class="exp-list reveal" style="transition-delay:.1s">
<div class="exp-item">
<div>
<div class="exp-role">Junior Associate — Data Science & ML Engineer</div>
<div class="exp-company">Western Union <span>· Denver, CO</span></div>
<ul class="exp-bullets">
<li>Collaborated to build an internal dashboard platform for company-wide analytics using JavaScript and AWS.</li>
<li>Built DeepAR time series models in Dataiku to forecast weekend capital allocations, enabling data-driven distributions and optimizing capital float utilization.</li>
<li>Built scalable data pipelines and automated workflows for data processing and analysis.</li>
</ul>
</div>
<div class="exp-date">Summer 2025 — Present</div>
</div>
<div class="exp-item">
<div>
<div class="exp-role">Software Engineering Intern</div>
<div class="exp-company">Circle Plus <span>· Remote</span></div>
<ul class="exp-bullets">
<li>Implemented API connections with Zoho, Asana, and Xero to automate workflows and gather data.</li>
<li>Optimized lean canvas generation for startups by integrating AWS Bedrock, enabling scalable business plan development for 100+ startup users.</li>
</ul>
</div>
<div class="exp-date">Spring 2025 — Present</div>
</div>
<div class="exp-item">
<div>
<div class="exp-role">Data Analyst Intern</div>
<div class="exp-company">Customers Bank <span>· Malvern, PA</span></div>
<ul class="exp-bullets">
<li>Applied PCA for dimensionality reduction and performed clustering on risk rating data using Python, pandas, and scikit-learn to group correlated auditable entities and support automated audit scheduling.</li>
<li>Built audit dashboards with matplotlib and developed automated Python and shell scripts, streamlining workflows for data reconciliation and SOX file processing.</li>
</ul>
</div>
<div class="exp-date">Summer 2024</div>
</div>
<div class="exp-item">
<div>
<div class="exp-role">Web Development Intern</div>
<div class="exp-company">Attollo Prep <span>· University Park, PA</span></div>
<ul class="exp-bullets">
<li>Collaborated with a team of 4 developers to build a dynamic web application using Django to collect and manage student information.</li>
<li>Created a secure web login system for user authentication.</li>
</ul>
</div>
<div class="exp-date">Fall 2023 — Spring 2024</div>
</div>
</div>
</section>
<!-- PROJECTS -->
<section id="projects">
<div class="proj-header reveal">
<div>
<p class="section-label">Projects</p>
<h2 class="proj-title">Selected<br><em>Work</em></h2>
</div>
<a href="https://codakshay.github.io" target="_blank" class="btn btn-outline magnetic" style="flex-shrink:0">Full Portfolio</a>
</div>
<div class="proj-grid">
<!-- 1. RNA-Seq Pipeline — line chart (gene expression) -->
<div class="proj-card reveal">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<!-- Grid lines -->
<line x1="10" y1="112" x2="195" y2="112" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<line x1="10" y1="82" x2="195" y2="82" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<line x1="10" y1="52" x2="195" y2="52" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<line x1="10" y1="22" x2="195" y2="22" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<!-- Disease cohort (overexpressed) -->
<polyline points="10,108 28,90 46,74 64,44 82,28 100,36 118,24 136,38 154,26 172,18 190,14"
fill="none" stroke="#C9BAFF" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- Healthy cohort -->
<polyline points="10,118 28,112 46,108 64,102 82,96 100,100 118,94 136,98 154,92 172,96 190,90"
fill="none" stroke="#9FECCE" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- Axis -->
<line x1="10" y1="130" x2="195" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<line x1="10" y1="10" x2="10" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<!-- Legend dots -->
<circle cx="18" cy="10" r="4" fill="#C9BAFF"/>
<circle cx="70" cy="10" r="4" fill="#9FECCE"/>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">R</span><span class="ptag">Python</span><span class="ptag">Shell</span><span class="ptag">HPC</span></div>
<h3 class="proj-name">RNA-Seq Research Pipeline</h3>
<p class="proj-desc">Built an R & Shell RNA-Seq pipeline to analyze gene expression, comparing disease vs. healthy cohorts for bipolar disorder biomarker discovery. Conducted SNP genotype analysis on 88 subjects with PCA and k-means clustering on an HPC cluster.</p>
</div>
</div>
<!-- 2. Object Detection — confusion matrix style -->
<div class="proj-card reveal" style="transition-delay:.1s">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<!-- Bounding box scene -->
<rect x="14" y="14" width="172" height="112" rx="4" fill="none" stroke="rgba(30,26,20,.1)" stroke-width="1"/>
<!-- Object 1: detected box -->
<rect x="28" y="28" width="58" height="54" rx="3" fill="none" stroke="#FFB5A0" stroke-width="2.2"/>
<rect x="28" y="28" width="58" height="14" rx="3" fill="#FFB5A0"/>
<text x="34" y="39" font-size="8" fill="white" font-family="Outfit,sans-serif" font-weight="500">96%</text>
<!-- Object 2: detected box -->
<rect x="112" y="40" width="62" height="62" rx="3" fill="none" stroke="#C9BAFF" stroke-width="2.2"/>
<rect x="112" y="40" width="62" height="14" rx="3" fill="#C9BAFF"/>
<text x="118" y="51" font-size="8" fill="white" font-family="Outfit,sans-serif" font-weight="500">89%</text>
<!-- Object 3: smaller box -->
<rect x="48" y="88" width="42" height="32" rx="3" fill="none" stroke="#9FECCE" stroke-width="2.2"/>
<rect x="48" y="88" width="42" height="13" rx="3" fill="#9FECCE"/>
<text x="54" y="98" font-size="8" fill="white" font-family="Outfit,sans-serif" font-weight="500">72%</text>
<!-- Corner markers (SAM-2 style) -->
<line x1="14" y1="22" x2="14" y2="14" stroke="#FFB5A0" stroke-width="2"/>
<line x1="14" y1="14" x2="22" y2="14" stroke="#FFB5A0" stroke-width="2"/>
<line x1="178" y1="14" x2="186" y2="14" stroke="#FFB5A0" stroke-width="2"/>
<line x1="186" y1="14" x2="186" y2="22" stroke="#FFB5A0" stroke-width="2"/>
<line x1="14" y1="118" x2="14" y2="126" stroke="#FFB5A0" stroke-width="2"/>
<line x1="14" y1="126" x2="22" y2="126" stroke="#FFB5A0" stroke-width="2"/>
<line x1="186" y1="118" x2="186" y2="126" stroke="#FFB5A0" stroke-width="2"/>
<line x1="178" y1="126" x2="186" y2="126" stroke="#FFB5A0" stroke-width="2"/>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">Python</span><span class="ptag">SAM-2</span><span class="ptag">Roboflow</span><span class="ptag">JavaScript</span></div>
<h3 class="proj-name">Object Detection Challenge</h3>
<p class="proj-desc">Won 3rd place at the Northrop Grumman Innovation Hack Week. Built an object detection program using a SAM-2 model with Python and Roboflow.</p>
<div class="proj-award">3rd Place — Northrop Grumman</div>
</div>
</div>
<!-- 3. Smart Start — adaptive learning bar chart -->
<div class="proj-card reveal" style="transition-delay:.2s">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<!-- Axis -->
<line x1="10" y1="130" x2="195" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<line x1="10" y1="10" x2="10" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<!-- Adaptive level bars (showing progression) -->
<rect x="20" y="110" width="18" height="20" rx="3" fill="#9FECCE" opacity=".8"/>
<rect x="44" y="96" width="18" height="34" rx="3" fill="#9FECCE" opacity=".85"/>
<rect x="68" y="80" width="18" height="50" rx="3" fill="#9FECCE" opacity=".9"/>
<rect x="92" y="60" width="18" height="70" rx="3" fill="#9FECCE"/>
<rect x="116" y="44" width="18" height="86" rx="3" fill="#C9BAFF"/>
<rect x="140" y="30" width="18" height="100" rx="3" fill="#C9BAFF" opacity=".9"/>
<rect x="164" y="18" width="18" height="112" rx="3" fill="#C9BAFF" opacity=".85"/>
<!-- Progress curve overlay -->
<polyline points="29,108 53,94 77,78 101,58 125,42 149,28 173,16"
fill="none" stroke="rgba(30,26,20,.2)" stroke-width="1.5" stroke-dasharray="4,3"/>
<!-- Dots -->
<circle cx="29" cy="108" r="3" fill="#9FECCE"/>
<circle cx="101" cy="58" r="3" fill="#C9BAFF"/>
<circle cx="173" cy="16" r="3" fill="#C9BAFF"/>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">Python</span><span class="ptag">ACT-R</span><span class="ptag">scikit-learn</span><span class="ptag">Pygame</span></div>
<h3 class="proj-name">Smart Start</h3>
<p class="proj-desc">AI-powered educational app to enhance kindergarten readiness. Uses the ACT-R cognitive architecture and adaptive gameplay that adjusts to learner level in real time.</p>
</div>
</div>
<!-- 4. Cat Feeder — timeline / schedule chart -->
<div class="proj-card reveal" style="transition-delay:.05s">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<!-- Schedule blocks (feeding timeline) -->
<rect x="10" y="14" width="180" height="112" rx="6" fill="rgba(30,26,20,.02)" stroke="rgba(30,26,20,.06)" stroke-width="1"/>
<!-- Timeline axis -->
<line x1="22" y1="110" x2="180" y2="110" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<!-- Row labels area -->
<rect x="22" y="30" width="3" height="72" rx="1.5" fill="rgba(30,26,20,.08)"/>
<!-- Feeder 1 events -->
<rect x="32" y="30" width="28" height="16" rx="4" fill="#A2CEFF"/>
<rect x="100" y="30" width="28" height="16" rx="4" fill="#A2CEFF"/>
<rect x="158" y="30" width="22" height="16" rx="4" fill="#A2CEFF" opacity=".6"/>
<!-- Feeder 2 events -->
<rect x="66" y="56" width="28" height="16" rx="4" fill="#FFB5A0"/>
<rect x="134" y="56" width="28" height="16" rx="4" fill="#FFB5A0"/>
<!-- Wi-Fi signal icon (top right) -->
<path d="M170,22 Q178,16 186,22" fill="none" stroke="#9FECCE" stroke-width="1.8" stroke-linecap="round"/>
<path d="M173,27 Q178,23 183,27" fill="none" stroke="#9FECCE" stroke-width="1.8" stroke-linecap="round"/>
<circle cx="178" cy="31" r="2.2" fill="#9FECCE"/>
<!-- Timeline ticks -->
<line x1="32" y1="108" x2="32" y2="112" stroke="rgba(30,26,20,.2)" stroke-width="1"/>
<line x1="66" y1="108" x2="66" y2="112" stroke="rgba(30,26,20,.2)" stroke-width="1"/>
<line x1="100" y1="108" x2="100" y2="112" stroke="rgba(30,26,20,.2)" stroke-width="1"/>
<line x1="134" y1="108" x2="134" y2="112" stroke="rgba(30,26,20,.2)" stroke-width="1"/>
<line x1="168" y1="108" x2="168" y2="112" stroke="rgba(30,26,20,.2)" stroke-width="1"/>
<!-- SQL indicator -->
<rect x="22" y="86" width="40" height="12" rx="3" fill="#FFE68A" opacity=".8"/>
<rect x="68" y="86" width="34" height="12" rx="3" fill="#FFE68A" opacity=".6"/>
<rect x="108" y="86" width="50" height="12" rx="3" fill="#FFE68A" opacity=".5"/>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">Python</span><span class="ptag">TypeScript</span><span class="ptag">SQL</span><span class="ptag">Raspberry Pi</span></div>
<h3 class="proj-name">Automated Cat Feeder</h3>
<p class="proj-desc">Wi-Fi-compatible smart cat feeder using Raspberry Pi 5, enabling communication between multiple feeders on a schedule. Full-stack TypeScript web app with SQL feeding history and meal management.</p>
</div>
</div>
<!-- 5. Western Union DeepAR — time series forecast (example) -->
<div class="proj-card reveal" style="transition-delay:.15s">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<line x1="10" y1="112" x2="195" y2="112" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<line x1="10" y1="82" x2="195" y2="82" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<line x1="10" y1="52" x2="195" y2="52" stroke="rgba(30,26,20,.07)" stroke-width="1"/>
<!-- Actual capital line -->
<polyline points="10,100 26,88 42,104 58,76 74,60 90,68 106,50 122,56 138,44 154,52" fill="none" stroke="#FFE68A" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- Forecast (dashed) -->
<polyline points="154,52 166,40 178,44 190,32" fill="none" stroke="#FFE68A" stroke-width="2.5" stroke-dasharray="5,4" stroke-linecap="round" stroke-linejoin="round"/>
<!-- Confidence band -->
<polyline points="154,52 166,32 178,36 190,22" fill="none" stroke="rgba(255,230,138,.4)" stroke-width="1" stroke-dasharray="3,3"/>
<polyline points="154,52 166,48 178,52 190,44" fill="none" stroke="rgba(255,230,138,.4)" stroke-width="1" stroke-dasharray="3,3"/>
<!-- Forecast boundary -->
<line x1="154" y1="18" x2="154" y2="118" stroke="rgba(30,26,20,.14)" stroke-width="1" stroke-dasharray="3,3"/>
<circle cx="154" cy="52" r="4.5" fill="white" stroke="#FFE68A" stroke-width="2"/>
<line x1="10" y1="130" x2="195" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<line x1="10" y1="10" x2="10" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">DeepAR</span><span class="ptag">Dataiku</span><span class="ptag">AWS</span><span class="ptag">Time Series</span></div>
<h3 class="proj-name">Capital Allocation Forecasting</h3>
<p class="proj-desc">Built DeepAR time series models at Western Union to forecast weekend capital allocations, enabling data-driven distributions and optimizing capital float utilization at scale.</p>
</div>
</div>
<!-- 6. Customers Bank PCA clustering — scatter (example) -->
<div class="proj-card reveal" style="transition-delay:.25s">
<div class="proj-visual"><svg viewBox="0 0 200 140" xmlns="http://www.w3.org/2000/svg">
<line x1="10" y1="130" x2="195" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<line x1="10" y1="10" x2="10" y2="130" stroke="rgba(30,26,20,.12)" stroke-width="1"/>
<!-- Cluster 1 -->
<circle cx="40" cy="38" r="5.5" fill="#FFB5A0" opacity=".9"/>
<circle cx="54" cy="50" r="4" fill="#FFB5A0" opacity=".9"/>
<circle cx="28" cy="52" r="4.5" fill="#FFB5A0" opacity=".85"/>
<circle cx="62" cy="36" r="4" fill="#FFB5A0" opacity=".9"/>
<circle cx="46" cy="64" r="4" fill="#FFB5A0" opacity=".85"/>
<circle cx="32" cy="26" r="3.5" fill="#FFB5A0" opacity=".8"/>
<!-- Cluster 2 -->
<circle cx="130" cy="90" r="5.5" fill="#9FECCE" opacity=".9"/>
<circle cx="144" cy="76" r="4" fill="#9FECCE" opacity=".9"/>
<circle cx="118" cy="78" r="4.5" fill="#9FECCE" opacity=".85"/>
<circle cx="152" cy="94" r="4" fill="#9FECCE" opacity=".9"/>
<circle cx="136" cy="106" r="4" fill="#9FECCE" opacity=".85"/>
<circle cx="122" cy="96" r="3.5" fill="#9FECCE" opacity=".8"/>
<!-- Cluster 3 -->
<circle cx="168" cy="32" r="5" fill="#C9BAFF" opacity=".9"/>
<circle cx="180" cy="44" r="4" fill="#C9BAFF" opacity=".9"/>
<circle cx="158" cy="46" r="4.5" fill="#C9BAFF" opacity=".85"/>
<circle cx="174" cy="54" r="3.5" fill="#C9BAFF" opacity=".8"/>
<!-- PCA axis label -->
<text x="185" y="128" font-size="7" fill="rgba(30,26,20,.25)" font-family="Outfit,sans-serif">PC1</text>
<text x="12" y="18" font-size="7" fill="rgba(30,26,20,.25)" font-family="Outfit,sans-serif">PC2</text>
</svg></div>
<div class="proj-body">
<div class="proj-tags"><span class="ptag">PCA</span><span class="ptag">scikit-learn</span><span class="ptag">pandas</span><span class="ptag">Python</span></div>
<h3 class="proj-name">Audit Risk Clustering</h3>
<p class="proj-desc">Applied PCA for dimensionality reduction and k-means clustering on risk rating data at Customers Bank to group auditable entities and support automated audit scheduling.</p>
</div>
</div>
</div>
</section>
<!-- CONTACT -->
<section id="contact">
<p class="section-label reveal" style="justify-content:center">Let's work together</p>
<h2 class="contact-title reveal" style="transition-delay:.1s">Have a problem<br>worth <em>solving?</em></h2>
<p class="contact-sub reveal" style="transition-delay:.2s">Open to internships, research collaborations, and full-time roles. I'd love to hear what you're building.</p>
<div class="contact-links reveal" style="transition-delay:.3s">
<a href="mailto:akshaynataraja11@gmail.com" class="btn btn-primary magnetic">Say Hello</a>
<a href="https://linkedin.com/in/akshay-nataraja" target="_blank" class="btn btn-outline magnetic">LinkedIn</a>
<a href="https://codakshay.github.io" target="_blank" class="btn btn-outline magnetic">Portfolio</a>
<a href="tel:6104128366" class="btn btn-outline magnetic">610-412-8366</a>
</div>
</section>
<footer>
<span>Akshay Nataraja — Data Scientist & ML Engineer</span>
<span>Penn State University · CS & Math</span>
</footer>
<script>
/* ─── CURSOR ─── */
const cur=document.getElementById('cur'),curR=document.getElementById('cur-ring');
let mx=0,my=0,rx=0,ry=0;
document.addEventListener('mousemove',e=>{mx=e.clientX;my=e.clientY;cur.style.left=mx+'px';cur.style.top=my+'px';});
(function loop(){rx+=(mx-rx)*.1;ry+=(my-ry)*.1;curR.style.left=rx+'px';curR.style.top=ry+'px';requestAnimationFrame(loop);})();
document.querySelectorAll('a,button,.proj-card,.stat-box,.ring-wrap,.exp-item').forEach(el=>{
el.addEventListener('mouseenter',()=>document.body.classList.add('is-hover'));
el.addEventListener('mouseleave',()=>document.body.classList.remove('is-hover'));
});
/* ─── SCATTER CLICK ─── */
const COLS=['#C9BAFF','#9FECCE','#FFB5A0','#A2CEFF','#FFE68A','#FFB8CC','#B5DFBE'];
document.addEventListener('click',e=>{
const n=12+Math.floor(Math.random()*5);
for(let i=0;i<n;i++){
const p=document.createElement('div');p.className='scatter';
const sz=4+Math.random()*8,ang=(Math.PI*2/n)*i+(Math.random()-.5)*.7,d=35+Math.random()*65;
p.style.cssText=`left:${e.clientX}px;top:${e.clientY}px;width:${sz}px;height:${sz}px;background:${COLS[Math.floor(Math.random()*COLS.length)]};--tx:${Math.cos(ang)*d}px;--ty:${Math.sin(ang)*d}px;animation-duration:${.4+Math.random()*.3}s;animation-delay:${Math.random()*.05}s;`;
document.body.appendChild(p);setTimeout(()=>p.remove(),900);
}
});
/* ─── NEURAL NETWORK CANVAS ─── */
const canvas=document.getElementById('neuralCanvas'),ctx=canvas.getContext('2d');
const NCOLS=['#C9BAFF','#9FECCE','#FFB5A0','#A2CEFF','#FFE68A','#FFB8CC'];
let mox=-9999,moy=-9999;
function resize(){canvas.width=canvas.parentElement.offsetWidth;canvas.height=Math.max(canvas.parentElement.offsetHeight,500);}
resize();window.addEventListener('resize',resize);
canvas.addEventListener('mousemove',e=>{const r=canvas.getBoundingClientRect();mox=e.clientX-r.left;moy=e.clientY-r.top;});
canvas.addEventListener('mouseleave',()=>{mox=-9999;moy=-9999;});
const nodes=Array.from({length:52},()=>({
x:Math.random()*800,y:Math.random()*600,
vx:(Math.random()-.5)*.32,vy:(Math.random()-.5)*.32,
r:3.5+Math.random()*4.5,color:NCOLS[Math.floor(Math.random()*NCOLS.length)],
phase:Math.random()*Math.PI*2,ps:.016+Math.random()*.024
}));
const sigs=[];let lastSig=0;
function spawnSig(now){
if(now-lastSig<1600)return;lastSig=now;
for(let k=0;k<20;k++){
const i=Math.floor(Math.random()*nodes.length),j=Math.floor(Math.random()*nodes.length);
if(i===j)continue;
const dx=nodes[i].x-nodes[j].x,dy=nodes[i].y-nodes[j].y;
if(Math.sqrt(dx*dx+dy*dy)<145){sigs.push({from:nodes[i],to:nodes[j],t:0,spd:.007+Math.random()*.007,color:nodes[i].color});break;}
}
}
function drawFrame(now){
ctx.clearRect(0,0,canvas.width,canvas.height);
for(let i=0;i<nodes.length;i++)for(let j=i+1;j<nodes.length;j++){
const dx=nodes[i].x-nodes[j].x,dy=nodes[i].y-nodes[j].y,d=Math.sqrt(dx*dx+dy*dy);
if(d<145){ctx.strokeStyle=`rgba(100,95,110,${(1-d/145)*.2})`;ctx.lineWidth=.8;ctx.beginPath();ctx.moveTo(nodes[i].x,nodes[i].y);ctx.lineTo(nodes[j].x,nodes[j].y);ctx.stroke();}
}
nodes.forEach(n=>{
const mdx=n.x-mox,mdy=n.y-moy,md=Math.sqrt(mdx*mdx+mdy*mdy);
if(md<110){const f=(110-md)/110*.9;n.vx+=(mdx/md)*f;n.vy+=(mdy/md)*f;}
const spd=Math.sqrt(n.vx*n.vx+n.vy*n.vy);if(spd>2){n.vx=(n.vx/spd)*2;n.vy=(n.vy/spd)*2;}
n.vx*=.994;n.vy*=.994;n.x+=n.vx;n.y+=n.vy;n.phase+=n.ps;
if(n.x<n.r){n.x=n.r;n.vx*=-1;}if(n.x>canvas.width-n.r){n.x=canvas.width-n.r;n.vx*=-1;}
if(n.y<n.r){n.y=n.r;n.vy*=-1;}if(n.y>canvas.height-n.r){n.y=canvas.height-n.r;n.vy*=-1;}
const pr=n.r*(1+.18*Math.sin(n.phase));
ctx.fillStyle=n.color;ctx.beginPath();ctx.arc(n.x,n.y,pr,0,Math.PI*2);ctx.fill();
});
spawnSig(now);
for(let i=sigs.length-1;i>=0;i--){
const s=sigs[i];s.t+=s.spd;if(s.t>=1){sigs.splice(i,1);continue;}
const x=s.from.x+(s.to.x-s.from.x)*s.t,y=s.from.y+(s.to.y-s.from.y)*s.t;
ctx.fillStyle=s.color;ctx.beginPath();ctx.arc(x,y,4,0,Math.PI*2);ctx.fill();
ctx.strokeStyle=s.color;ctx.lineWidth=1;ctx.globalAlpha=.3;ctx.beginPath();ctx.arc(x,y,8,0,Math.PI*2);ctx.stroke();ctx.globalAlpha=1;
}
requestAnimationFrame(drawFrame);
}
requestAnimationFrame(drawFrame);
/* ─── TYPEWRITER ─── */
const phrases=['Data Scientist','ML Engineer','Software Engineer','Data Analyst','CS @ Penn State'];
let pi=0,ci=0,del=false;const twEl=document.getElementById('tw-text');
function typeStep(){
const c=phrases[pi];
if(!del){twEl.textContent=c.slice(0,++ci);if(ci===c.length){del=true;return setTimeout(typeStep,1900);}setTimeout(typeStep,75+Math.random()*40);}
else{twEl.textContent=c.slice(0,--ci);if(ci===0){del=false;pi=(pi+1)%phrases.length;return setTimeout(typeStep,280);}setTimeout(typeStep,42);}
}
setTimeout(typeStep,1100);
/* ─── TICKER ─── */
const techs=['Python','TensorFlow','PyTorch','scikit-learn','pandas','NumPy','SQL','React','Node.js','TypeScript','Docker','AWS','Dataiku','DeepAR','R','Jupyter','Git','Matplotlib','Java','C++'];
const track=document.getElementById('tickerTrack');
[techs,techs].forEach(arr=>arr.forEach(t=>{const s=document.createElement('span');s.className='ticker-item';s.innerHTML=`<span class="tdot"></span>${t}`;track.appendChild(s);}));
/* ─── SKILL RINGS ─── */
const skills=[
{name:'Python',pct:95,color:'#C9BAFF'},{name:'ML / DL',pct:88,color:'#FFB5A0'},
{name:'Data Analysis',pct:90,color:'#9FECCE'},{name:'SQL',pct:85,color:'#A2CEFF'},
{name:'TypeScript',pct:80,color:'#FFE68A'},{name:'R',pct:78,color:'#FFB8CC'},
];
const RR=38,CIRC=2*Math.PI*RR,grid=document.getElementById('ringsGrid');
skills.forEach(s=>{
const off=CIRC*(1-s.pct/100),w=document.createElement('div');w.className='ring-wrap';
w.innerHTML=`<svg class="ring-svg" viewBox="0 0 100 100"><circle class="ring-bg" cx="50" cy="50" r="${RR}"/><circle class="ring-fill" cx="50" cy="50" r="${RR}" stroke="${s.color}" stroke-dasharray="${CIRC}" stroke-dashoffset="${CIRC}" data-off="${off}" data-pct="${s.pct}"/><text class="ring-num" x="50" y="50" data-pct="${s.pct}">0%</text></svg><span class="ring-lbl">${s.name}</span>`;
grid.appendChild(w);
});
/* ─── OBSERVERS ─── */
const revObs=new IntersectionObserver(ents=>{ents.forEach(e=>{if(e.isIntersecting){e.target.classList.add('vis');revObs.unobserve(e.target);}});},{threshold:.08,rootMargin:'0px 0px -40px 0px'});
document.querySelectorAll('.reveal').forEach(el=>revObs.observe(el));
const ringObs=new IntersectionObserver(ents=>{
ents.forEach(e=>{
if(!e.isIntersecting)return;
const fill=e.target;fill.style.strokeDashoffset=parseFloat(fill.dataset.off);
const pct=parseInt(fill.dataset.pct),numEl=fill.parentElement.querySelector('.ring-num');
let t0=null;(function step(ts){if(!t0)t0=ts;const p=Math.min((ts-t0)/1400,1),ease=1-Math.pow(1-p,3);numEl.textContent=Math.round(ease*pct)+'%';if(p<1)requestAnimationFrame(step);})(performance.now());
ringObs.unobserve(fill);
});
},{threshold:.5});
document.querySelectorAll('.ring-fill').forEach(el=>ringObs.observe(el));
const cuObs=new IntersectionObserver(ents=>{
ents.forEach(e=>{
if(!e.isIntersecting)return;const el=e.target,tgt=parseInt(el.dataset.t);let t0=null;
(function step(ts){if(!t0)t0=ts;const p=Math.min((ts-t0)/1500,1);el.textContent=Math.floor((1-Math.pow(1-p,3))*tgt);if(p<1)requestAnimationFrame(step);else el.textContent=tgt;})(performance.now());
cuObs.unobserve(el);
});
},{threshold:.5});
document.querySelectorAll('.cu').forEach(el=>cuObs.observe(el));
/* ─── MAGNETIC BUTTONS ─── */
document.querySelectorAll('.magnetic').forEach(btn=>{
btn.addEventListener('mousemove',e=>{const r=btn.getBoundingClientRect();btn.style.transform=`translate(${(e.clientX-(r.left+r.width/2))*.3}px,${(e.clientY-(r.top+r.height/2))*.3}px)`;});
btn.addEventListener('mouseleave',()=>{btn.style.transition='transform .5s cubic-bezier(.25,.46,.45,.94)';btn.style.transform='';setTimeout(()=>btn.style.transition='',500);});
});
/* ─── LOGO SCRAMBLE ─── */
const logoEl=document.getElementById('logo-el'),logoOrig=logoEl.textContent;
const CHARS='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
logoEl.addEventListener('mouseenter',()=>{
let iter=0;const iv=setInterval(()=>{
logoEl.textContent=logoOrig.split('').map((ch,i)=>{if(ch===' ')return ' ';if(i<iter)return logoOrig[i];return CHARS[Math.floor(Math.random()*CHARS.length)];}).join('');
iter+=0.4;if(iter>=logoOrig.length)clearInterval(iv);
},38);
});
</script>
</body>
</html>