-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
805 lines (758 loc) · 48.3 KB
/
index.html
File metadata and controls
805 lines (758 loc) · 48.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
801
802
803
804
805
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Amrit Sharma - Portfolio</title>
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@300;400;500&family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap" rel="stylesheet">
<style>
:root {
--bg: #07080a;
--bg2: #0d0f13;
--bg3: #111417;
--border: rgba(255,255,255,0.07);
--border-hi: rgba(255,255,255,0.14);
--accent: #00e5c8;
--accent2: #3d7fff;
--text: #e8eaed;
--muted: #6b7280;
--dim: #9ca3af;
--nav-bg: rgba(7,8,10,0.88);
--noise-opacity: 0.5;
--grid-color: rgba(0,229,200,0.028);
--glow-color: rgba(0,229,200,0.055);
}
[data-theme="light"] {
--bg: #f5f6f8;
--bg2: #eceef2;
--bg3: #e4e7ec;
--border: rgba(0,0,0,0.09);
--border-hi: rgba(0,0,0,0.15);
--accent: #00b89e;
--accent2: #2563eb;
--text: #0f1117;
--muted: #6b7280;
--dim: #374151;
--nav-bg: rgba(245,246,248,0.92);
--noise-opacity: 0.25;
--edu-detail-color: #007a68;
--proj-desc-color: #6b7280;
}
@media(prefers-color-scheme: light) {
:root:not([data-theme="dark"]) {
--bg: #f5f6f8;
--bg2: #eceef2;
--bg3: #e4e7ec;
--border: rgba(0,0,0,0.09);
--border-hi: rgba(0,0,0,0.15);
--accent: #00b89e;
--accent2: #2563eb;
--text: #0f1117;
--muted: #6b7280;
--dim: #374151;
--nav-bg: rgba(245,246,248,0.92);
--noise-opacity: 0.25;
--grid-color: rgba(0,168,150,0.04);
--glow-color: rgba(0,168,150,0.07);
--edu-detail-color: #007a68;
--proj-desc-color: #6b7280;
}
}
[data-theme="light"] {
--bg: #f5f6f8;
--bg2: #eceef2;
--bg3: #e4e7ec;
--border: rgba(0,0,0,0.09);
--border-hi: rgba(0,0,0,0.15);
--accent: #00b89e;
--accent2: #2563eb;
--text: #0f1117;
--muted: #6b7280;
--dim: #374151;
--nav-bg: rgba(245,246,248,0.92);
--noise-opacity: 0.25;
--grid-color: rgba(0,168,150,0.04);
--glow-color: rgba(0,168,150,0.07);
--edu-detail-color: #007a68;
--proj-desc-color: #6b7280;
}
[data-theme="dark"] {
--bg: #07080a;
--bg2: #0d0f13;
--bg3: #111417;
--border: rgba(255,255,255,0.07);
--border-hi: rgba(255,255,255,0.14);
--accent: #00e5c8;
--accent2: #3d7fff;
--text: #e8eaed;
--muted: #6b7280;
--dim: #9ca3af;
--nav-bg: rgba(7,8,10,0.88);
--noise-opacity: 0.5;
--grid-color: rgba(0,229,200,0.028);
--glow-color: rgba(0,229,200,0.055);
--edu-detail-color: rgba(0,229,200,.55);
--proj-desc-color: #c4c9d4;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
background: var(--bg);
color: var(--text);
font-family: 'DM Sans', sans-serif;
font-weight: 300;
overflow-x: hidden;
line-height: 1.6;
}
body::before {
content:'';
position:fixed; inset:0;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
pointer-events:none; z-index:9999; opacity:var(--noise-opacity);
}
/* THEME TOGGLE */
.theme-toggle {
background: none;
border: 1px solid var(--border-hi);
color: var(--muted);
cursor: pointer;
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
transition: all .2s;
flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 15px; height: 15px; }
/* THEME TOGGLE ICONS */
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }
@media(prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .icon-sun { display: block; }
:root:not([data-theme="dark"]) .icon-moon { display: none; }
}
::-webkit-scrollbar { width:3px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--accent); }
/* NAV */
nav {
position:fixed; top:0; left:0; right:0; z-index:200;
display:flex; align-items:center; justify-content:space-between;
padding:1.15rem 4rem;
background:var(--nav-bg);
backdrop-filter:blur(22px);
border-bottom:1px solid var(--border);
}
.nav-logo { font-family:'DM Mono',monospace; font-size:.9rem; font-weight:700; color:var(--accent); letter-spacing:.18em; text-decoration:none; text-transform:uppercase; }
.nav-links { display:flex; gap:2.2rem; list-style:none; }
.nav-links a { font-family:'DM Mono',monospace; font-size:.78rem; font-weight:700; color:var(--muted); text-decoration:none; letter-spacing:.12em; text-transform:uppercase; transition:color .2s; }
.nav-links a:hover { color:var(--accent); }
/* HERO */
#hero { min-height:100vh; display:flex; align-items:center; padding:9rem 4rem 5rem; position:relative; overflow:hidden; }
#hero::before {
content:''; position:absolute; inset:0;
background-image: linear-gradient(var(--grid-color, rgba(0,229,200,0.028)) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color, rgba(0,229,200,0.028)) 1px, transparent 1px);
background-size:64px 64px; animation:gridDrift 24s linear infinite;
}
#hero::after {
content:''; position:absolute; top:15%; left:55%; width:700px; height:700px;
background:radial-gradient(circle, var(--glow-color, rgba(0,229,200,0.055)) 0%, transparent 65%);
pointer-events:none; transform:translateX(-50%);
}
@keyframes gridDrift { 0%{transform:translate(0,0)} 100%{transform:translate(64px,64px)} }
.hero-inner { position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; width:100%; max-width:1200px; margin:0 auto; gap:4rem; }
.hero-left { flex:1; }
.hero-eyebrow { display:inline-flex; align-items:center; gap:.6rem; font-family:'DM Mono',monospace; font-size:.68rem; color:var(--accent); letter-spacing:.22em; text-transform:uppercase; margin-bottom:1.8rem; opacity:0; animation:fadeUp .6s ease .15s forwards; }
.hero-eyebrow::before { content:''; display:block; width:2rem; height:1px; background:var(--accent); }
.hero-name { font-family:'Archivo Black',sans-serif; font-size:clamp(3.2rem,7vw,6.4rem); font-weight:400; line-height:.96; letter-spacing:-.025em; margin-bottom:.6rem; opacity:0; animation:fadeUp .7s ease .3s forwards; }
.hero-name .grad { background:linear-gradient(130deg, var(--accent) 0%, var(--accent2) 65%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-role { font-family:'DM Mono',monospace; font-size:.78rem; color:var(--muted); letter-spacing:.18em; text-transform:uppercase; margin-bottom:2rem; opacity:0; animation:fadeUp .7s ease .45s forwards; }
.hero-desc { font-size:.97rem; color:var(--dim); line-height:1.9; max-width:530px; margin-bottom:2.8rem; opacity:0; animation:fadeUp .7s ease .6s forwards; }
.hero-desc strong { color:var(--text); font-weight:500; }
.hero-badges { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:2.8rem; opacity:0; animation:fadeUp .7s ease .72s forwards; }
.badge { font-family:'DM Mono',monospace; font-size:.63rem; letter-spacing:.1em; color:var(--text); border:1px solid var(--border-hi); padding:.3rem .75rem; text-transform:uppercase; transition:all .2s; }
.badge:hover { border-color:var(--accent); color:var(--accent); }
.hero-cta { display:flex; gap:1rem; flex-wrap:wrap; opacity:0; animation:fadeUp .7s ease .85s forwards; }
.btn-primary { display:inline-flex; align-items:center; gap:.5rem; padding:.82rem 2rem; background:var(--accent); color:var(--bg); font-family:'DM Mono',monospace; font-size:.75rem; font-weight:500; letter-spacing:.1em; text-decoration:none; text-transform:uppercase; clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); transition:all .22s; }
.btn-primary:hover { background:var(--text); color:var(--bg); transform:translateY(-2px); box-shadow:0 8px 28px rgba(0,229,200,.28); }
.btn-outline { display:inline-flex; align-items:center; gap:.5rem; padding:.82rem 2rem; background:transparent; color:var(--dim); border:1px solid var(--border-hi); font-family:'DM Mono',monospace; font-size:.75rem; letter-spacing:.1em; text-decoration:none; text-transform:uppercase; transition:all .22s; }
.btn-outline:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.hero-stats { display:flex; flex-direction:column; gap:1.2rem; flex-shrink:0; opacity:0; animation:fadeLeft .9s ease 1s forwards; }
.stat-card { background:var(--bg2); border:1px solid var(--border); padding:1.3rem 1.8rem; text-align:right; position:relative; min-width:165px; }
.stat-card::before { content:''; position:absolute; top:0; right:0; width:3px; height:100%; background:var(--accent); }
.stat-num { font-family:'Syne',sans-serif; font-size:1.9rem; font-weight:700; color:var(--accent); line-height:1; margin-bottom:.2rem; }
.stat-lbl { font-family:'DM Mono',monospace; font-size:.62rem; color:var(--muted); letter-spacing:.1em; text-transform:uppercase; }
/* SECTIONS */
.section-wrap { border-top:1px solid var(--border); }
.section-wrap.alt { background:var(--bg2); border-bottom:1px solid var(--border); }
section { padding:6rem 4rem; max-width:1200px; margin:0 auto; }
.sec-head { display:flex; align-items:center; gap:1.4rem; margin-bottom:3.8rem; }
.sec-num { font-family:'DM Mono',monospace; font-size:.68rem; color:var(--accent); letter-spacing:.15em; }
.sec-title { font-family:'Archivo Black',sans-serif; font-size:clamp(1.7rem,2.8vw,2.3rem); font-weight:400; letter-spacing:-.015em; }
.sec-line { flex:1; height:1px; background:var(--border); }
/* ABOUT */
.about-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:5rem; align-items:start; }
.about-text p { color:var(--dim); line-height:1.95; font-size:.95rem; margin-bottom:1.1rem; }
.about-text p strong { color:var(--text); font-weight:500; }
.about-text .location-line { font-family:'DM Mono',monospace; font-size:.7rem; color:var(--muted); letter-spacing:.08em; margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--border); }
.about-facts { display:flex; flex-direction:column; gap:.9rem; }
.fact-row { display:flex; align-items:flex-start; gap:1rem; padding:1.1rem 1.3rem; border:1px solid var(--border); background:var(--bg3); transition:border-color .2s; }
.fact-row:hover { border-color:var(--accent); }
.fact-icon { width:32px; height:32px; flex-shrink:0; background:rgba(0,229,200,.07); display:flex; align-items:center; justify-content:center; }
.fact-icon svg { width:15px; height:15px; stroke:var(--accent); }
.fact-body strong { display:block; font-size:.85rem; font-weight:500; color:var(--text); margin-bottom:.15rem; }
.fact-body span { font-family:'DM Mono',monospace; font-size:.68rem; color:var(--muted); }
/* SKILLS */
.skills-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.skill-cat { background:var(--bg2); border:1px solid var(--border); padding:1.8rem; position:relative; overflow:hidden; transition:border-color .25s, transform .25s; }
.skill-cat:hover { border-color:var(--accent); transform:translateY(-3px); }
.skill-cat::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--accent),var(--accent2)); transform:scaleX(0); transition:transform .3s; transform-origin:left; }
.skill-cat:hover::after { transform:scaleX(1); }
.skill-cat-title { font-family:'Syne',sans-serif; font-size:.88rem; font-weight:600; color:var(--text); margin-bottom:1.1rem; padding-bottom:.7rem; border-bottom:1px solid var(--border); }
.tags { display:flex; flex-wrap:wrap; gap:.45rem; }
.tag { font-family:'DM Mono',monospace; font-size:.63rem; color:var(--muted); background:var(--bg3); border:1px solid var(--border); padding:.28rem .65rem; letter-spacing:.04em; transition:all .18s; cursor:default; }
.tag:hover { background:rgba(0,229,200,.08); border-color:var(--accent); color:var(--accent); }
/* EXPERIENCE */
.timeline { position:relative; padding-left:2rem; }
.timeline::before { content:''; position:absolute; left:0; top:0; bottom:0; width:1px; background:var(--border); }
.t-item { position:relative; padding-bottom:3rem; }
.t-item:last-child { padding-bottom:0; }
.t-item::before { content:''; position:absolute; left:-2rem; top:.38rem; width:7px; height:7px; background:var(--accent); box-shadow:0 0 12px var(--accent); transform:rotate(45deg); }
.t-date { font-family:'DM Mono',monospace; font-size:.75rem; color:var(--accent); letter-spacing:.15em; margin-bottom:.4rem; }
.t-role { font-family:'Syne',sans-serif; font-size:1.08rem; font-weight:600; color:var(--text); margin-bottom:.15rem; }
.t-company { font-size:.83rem; color:var(--muted); margin-bottom:.9rem; font-style:italic; }
.t-bullets { list-style:none; }
.t-bullets li { font-size:.85rem; color:var(--dim); line-height:1.8; padding-left:1.1rem; position:relative; margin-bottom:.35rem; max-width:680px; }
.t-bullets li::before { content:'›'; position:absolute; left:0; color:var(--accent); }
.t-award { display:inline-flex; align-items:center; gap:.4rem; margin-top:.6rem; font-family:'DM Mono',monospace; font-size:.65rem; color:var(--accent); letter-spacing:.08em; border:1px solid rgba(0,229,200,.2); padding:.25rem .7rem; background:rgba(0,229,200,.05); }
/* PROJECTS */
.projects-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.4rem; }
.proj-card { background:var(--bg2); border:1px solid var(--border); padding:2rem; display:flex; flex-direction:column; position:relative; overflow:hidden; transition:border-color .25s, transform .3s; }
.proj-card:hover { border-color:var(--accent); transform:translateY(-5px); }
.proj-card::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--accent),transparent); opacity:0; transition:opacity .3s; }
.proj-card:hover::before { opacity:1; }
.proj-num { font-family:'DM Mono',monospace; font-size:.62rem; color:var(--border-hi); letter-spacing:.2em; margin-bottom:1.1rem; }
.proj-title { font-family:'Syne',sans-serif; font-size:1rem; font-weight:700; color:var(--text); margin-bottom:.7rem; line-height:1.3; }
.proj-desc { font-size:.82rem; color:var(--proj-desc-color); line-height:1.75; flex:1; margin-bottom:1.4rem; }
.proj-tags { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1.4rem; }
.ptag { font-family:'DM Mono',monospace; font-size:.6rem; padding:.22rem .6rem; letter-spacing:.07em; }
.ptag-py { background:rgba(61,127,255,.1); color:#3d7fff; border:1px solid rgba(61,127,255,.22); }
.ptag-ml { background:rgba(0,229,200,.08); color:var(--accent); border:1px solid rgba(0,229,200,.2); }
.ptag-an { background:rgba(255,107,53,.08); color:#ff6b35; border:1px solid rgba(255,107,53,.2); }
.proj-link { display:inline-flex; align-items:center; gap:.4rem; font-family:'DM Mono',monospace; font-size:.68rem; color:var(--muted); text-decoration:none; letter-spacing:.1em; text-transform:uppercase; transition:color .2s; margin-top:auto; }
.proj-link:hover { color:var(--accent); }
.proj-link svg { transition:transform .2s; }
.proj-link:hover svg { transform:translate(3px,-3px); }
.proj-links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: auto;
}
.proj-link--secondary {
opacity: 0.75;
}
.proj-link--secondary:hover {
opacity: 1;
}
/* EDUCATION */
.edu-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.4rem; }
.edu-card { background:var(--bg); border:1px solid var(--border); padding:2rem; position:relative; overflow:hidden; transition:border-color .25s; }
.edu-card:hover { border-color:var(--accent2); }
.edu-card::before { content:''; position:absolute; top:0; left:0; width:3px; height:100%; background:var(--accent2); }
.edu-year { font-family:'DM Mono',monospace; font-size:.65rem; color:var(--accent2); letter-spacing:.15em; margin-bottom:.5rem; }
.edu-degree { font-family:'Syne',sans-serif; font-size:1.02rem; font-weight:600; color:var(--text); margin-bottom:.25rem; line-height:1.3; }
.edu-school { font-size:.83rem; color:var(--muted); margin-bottom:.7rem; font-style:italic; }
.edu-detail { font-family:'DM Mono',monospace; font-size:.68rem; color:var(--edu-detail-color); line-height:1.6; }
.certs-list { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.5rem; }
.cert-item { border:1px solid var(--border); padding:1rem 1.2rem; background:var(--bg3); transition:border-color .2s; }
.cert-item:hover { border-color:var(--accent); }
.cert-name { font-size:.82rem; color:var(--text); font-weight:500; margin-bottom:.25rem; line-height:1.3; }
.cert-issuer { font-family:'DM Mono',monospace; font-size:.63rem; color:var(--muted); letter-spacing:.06em; }
/* CONTACT */
.contact-wrap { display:grid; grid-template-columns:1fr; gap:2rem; align-items:center; max-width:680px; }
.contact-heading { font-family:'Archivo Black',sans-serif; font-size:clamp(2rem,3.5vw,3rem); font-weight:400; line-height:1.08; letter-spacing:-.02em; margin-bottom:1rem; }
.contact-heading span { background:linear-gradient(130deg,var(--accent),var(--accent2)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.contact-sub { font-size:.9rem; color:var(--muted); line-height:1.85; margin-bottom:2rem; }
.contact-links { display:flex; flex-direction:column; gap:.85rem; }
.c-link { display:flex; align-items:center; gap:1rem; padding:.95rem 1.2rem; background:var(--bg2); border:1px solid var(--border); text-decoration:none; transition:all .22s; }
.c-link:hover { border-color:var(--accent); transform:translateX(6px); }
.c-link-icon { width:34px; height:34px; flex-shrink:0; background:rgba(0,229,200,.07); display:flex; align-items:center; justify-content:center; }
.c-link-icon svg { width:16px; height:16px; }
.c-link strong { display:block; font-size:.83rem; font-weight:500; color:var(--text); }
.c-link span:not(.c-link-value) { display:none; }
@keyframes barUp { from{transform:scaleY(0);transform-origin:bottom} to{transform:scaleY(1)} }
.bar:nth-child(1){height:38%;animation-delay:.1s}
.bar:nth-child(2){height:62%;animation-delay:.18s}
.bar:nth-child(3){height:44%;animation-delay:.26s}
.bar:nth-child(4){height:78%;animation-delay:.34s}
.bar:nth-child(5){height:52%;animation-delay:.42s}
.bar:nth-child(6){height:88%;animation-delay:.5s;background:rgba(61,127,255,.12);border-color:var(--accent2)}
.bar:nth-child(7){height:68%;animation-delay:.58s}
.bar:nth-child(8){height:82%;animation-delay:.66s}
@keyframes barUp { from{transform:scaleY(0);transform-origin:bottom} to{transform:scaleY(1)} }
/* FOOTER */
footer { border-top:1px solid var(--border); padding:2rem 4rem; display:flex; justify-content:space-between; align-items:center; }
footer p { font-family:'DM Mono',monospace; font-size:.67rem; color:var(--muted); letter-spacing:.1em; }
footer a { color:var(--accent); text-decoration:none; }
/* ANIMATIONS */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(28px)} to{opacity:1;transform:none} }
/* SCROLL-DRIVEN REVEAL BASE */
.reveal { opacity:0; transform:translateY(32px); transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.on { opacity:1; transform:none; }
/* STAGGERED CHILDREN — each direct child animates in sequence */
.reveal-stagger > * {
opacity:0; transform:translateY(24px);
transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal-stagger.on > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.reveal-stagger.on > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.reveal-stagger.on > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.reveal-stagger.on > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }
.reveal-stagger.on > *:nth-child(5) { opacity:1; transform:none; transition-delay:.45s; }
.reveal-stagger.on > *:nth-child(6) { opacity:1; transform:none; transition-delay:.55s; }
/* SLIDE FROM LEFT */
.reveal-left { opacity:0; transform:translateX(-32px); transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-left.on { opacity:1; transform:none; }
/* SLIDE FROM RIGHT */
.reveal-right { opacity:0; transform:translateX(32px); transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-right.on { opacity:1; transform:none; }
/* SCALE IN */
.reveal-scale { opacity:0; transform:scale(.96); transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal-scale.on { opacity:1; transform:scale(1); }
/* SCROLL PROGRESS LINE — top of page */
#scroll-progress {
position:fixed; top:0; left:0; height:2px; width:0%;
background:linear-gradient(90deg, var(--accent), var(--accent2));
z-index:9999; transition:width .1s linear;
}
/* CONTACT HIGHLIGHT */
.c-link-value {
font-family:'DM Mono',monospace;
font-size:.72rem;
color:var(--accent);
font-weight:500;
letter-spacing:.04em;
margin-top:.18rem;
display:block;
}
/* RESPONSIVE */
@media(max-width:1000px){
nav{padding:1rem 1.5rem}
#hero{padding:8rem 1.5rem 4rem}
section{padding:4rem 1.5rem}
.about-grid,.contact-wrap{grid-template-columns:1fr;gap:2.5rem}
.skills-grid,.certs-list{grid-template-columns:1fr 1fr}
.projects-grid,.edu-grid{grid-template-columns:1fr}
footer{padding:1.5rem;flex-direction:column;gap:.5rem;text-align:center}
.hero-stats{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0.75rem;margin-top:1.5rem}
}
@media(max-width:600px){
.nav-links{display:none}
.skills-grid,.projects-grid,.certs-list{grid-template-columns:1fr}
.hero-inner{flex-direction:column;align-items:center;text-align:center;gap:1.5rem}
.hero-photo{
width:130px !important;
height:130px !important;
margin-top:0 !important;
margin-right:0 !important;
align-self:center !important;
order:-1;
}
.hero-left{order:1;width:100%}
.hero-cta{justify-content:center}
.hero-badges{justify-content:center}
.hero-desc{max-width:100%}
.hero-stats{
display:flex !important;
flex-direction:row;
flex-wrap:wrap;
justify-content:center;
gap:0.6rem;
margin-top:1.5rem;
padding:0 1rem;
}
.stat-card{flex:1 1 130px;min-width:120px}
#hero{flex-direction:column !important;align-items:center}
.hero-wrap{width:100%}
.hero-stats{position:static;width:100%;padding:1.5rem 1.5rem 2rem;justify-content:center}
}
</style>
</head>
<body>
<div id="scroll-progress"></div>
<!-- NAV -->
<nav>
<a href="#hero" class="nav-logo">Amrit Sharma · Data Analyst, London</a>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#experience">Experience</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#education">Education</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme">
<svg class="icon-moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"/></svg>
<svg class="icon-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>
</button>
</nav>
<!-- HERO -->
<section id="hero">
<div class="hero-wrap">
<div class="hero-inner">
<div class="hero-left">
<h1 class="hero-name">Amrit<br><span class="grad">Sharma</span></h1>
<p class="hero-role">Data Analyst · Business Analytics</p>
<p class="hero-desc">
I turn complex datasets into clear, <strong>commercially relevant decisions</strong> — combining <strong>Python, SQL, and machine learning</strong> with a sharp eye for <strong>data storytelling</strong> and stakeholder impact. Previously at <strong>JPMorgan Chase</strong> and <strong>180 Degrees Consulting</strong>.
</p>
<div class="hero-badges">
<span class="badge">Sutton, Greater London</span>
</div>
<div class="hero-cta">
<a href="#projects" class="btn-primary">
View Projects
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
</a>
<a href="assets/Amrit Sharma Resume.pdf" download class="btn-outline">
Download CV
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><path d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
</a>
<a href="#contact" class="btn-outline">Get in Touch</a>
</div>
</div>
<img src="assets/headshot.jpg" alt="Amrit Sharma" class="hero-photo"
style="width:280px;height:280px;aspect-ratio:1/1;border-radius:50%;object-fit:cover;object-position:center top;border:2px solid var(--accent);flex-shrink:0;align-self:flex-start;margin-top:-4rem;margin-right:6rem;opacity:0;animation:fadeLeft .9s ease .6s forwards;">
</div>
</div>
<div class="hero-stats">
<div class="stat-card"><div class="stat-num">$1M+</div><div class="stat-lbl">Fraud Prevented (Q)</div></div>
<div class="stat-card"><div class="stat-num">60%</div><div class="stat-lbl">Turnaround Reduction</div></div>
<div class="stat-card"><div class="stat-num">40k+</div><div class="stat-lbl">Records Analysed</div></div>
<div class="stat-card"><div class="stat-num">200+</div><div class="stat-lbl">Investment Leads Vetted</div></div>
</div>
</div>
</section>
<!-- ABOUT -->
<div class="section-wrap alt">
<section id="about">
<div class="sec-head"><span class="sec-num">01</span><h2 class="sec-title">About</h2><div class="sec-line"></div></div>
<div class="about-grid reveal-stagger reveal">
<div class="about-text">
<p>I'm a <strong>Data Analyst</strong> with hands-on experience across e-commerce, financial services, and market intelligence, built through projects with real clients and measurable outcomes.</p>
<p>At <strong>J.P. Morgan Chase</strong>, I worked in fraud detection at scale, contributing to the prevention of $1M+ in quarterly losses and reducing investigation turnaround by 60% through data and process analysis. At <strong>180 Degrees Consulting</strong>, I applied the same analytical rigour to market intelligence: segmenting competitors, scoring leads, and producing client-ready frameworks that fed directly into commercial strategy.</p>
<p>I hold an <strong>MSc in Business Analytics from Durham University</strong> (Merit, Scholarship recipient), with formal training in machine learning, statistical modelling, and predictive analytics. My background in business gives me a broader lens on the work. I approach analysis with an understanding of commercial context, stakeholder priorities, and the decisions the data ultimately needs to support.</p>
</div>
<div class="about-facts">
<div class="fact-row">
<div class="fact-icon"><svg viewBox="0 0 24 24" fill="none" stroke-width="1.8"><path d="M3 3h18v18H3z"/><path d="M3 9h18M9 21V9"/></svg></div>
<div class="fact-body"><strong>Financial Services</strong><span>Fraud Analysis · Risk & Controls · J.P. Morgan Chase</span></div>
</div>
<div class="fact-row">
<div class="fact-icon"><svg viewBox="0 0 24 24" fill="none" stroke-width="1.8"><circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15.3 15.3 0 010 20M12 2a15.3 15.3 0 000 20"/></svg></div>
<div class="fact-body"><strong>Market Intelligence</strong><span>DENUE Pipeline · Competitor Analytics · Mexico Market</span></div>
</div>
<div class="fact-row">
<div class="fact-icon"><svg viewBox="0 0 24 24" fill="none" stroke-width="1.8"><path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75"/></svg></div>
<div class="fact-body"><strong>Stakeholder Engagement</strong><span>Customer Excellence Award (2023) · J.P. Morgan · Global Teams</span></div>
</div>
<div class="fact-row">
<div class="fact-icon"><svg viewBox="0 0 24 24" fill="none" stroke-width="1.8"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"/></svg></div>
<div class="fact-body"><strong>Process Optimisation</strong><span>BPMN Mapping · Gap Analysis · 60% Turnaround Improvement</span></div>
</div>
<div class="fact-row">
<div class="fact-icon"><svg viewBox="0 0 24 24" fill="none" stroke-width="1.8"><path d="M12 20h9"/><path d="M16.5 3.5a2.121 2.121 0 013 3L7 19l-4 1 1-4L16.5 3.5z"/></svg></div>
<div class="fact-body"><strong>Strategy Consulting</strong><span>200+ Leads Vetted · BPMN Workflows · 180 Degrees Consulting</span></div> </div>
</div>
</div>
</section>
</div>
<!-- SKILLS -->
<div class="section-wrap">
<section id="skills">
<div class="sec-head"><span class="sec-num">02</span><h2 class="sec-title">Skills</h2><div class="sec-line"></div></div>
<div class="skills-grid reveal-stagger reveal">
<div class="skill-cat">
<div class="skill-cat-title">Languages & Tools</div>
<div class="tags"><span class="tag">Python</span><span class="tag">SQL</span><span class="tag">Excel (Advanced)</span><span class="tag">Power BI</span></div>
</div>
<div class="skill-cat">
<div class="skill-cat-title">Python Libraries</div>
<div class="tags"><span class="tag">Pandas</span><span class="tag">NumPy</span><span class="tag">Matplotlib</span><span class="tag">Seaborn</span><span class="tag">Plotly</span><span class="tag">scikit-learn</span></div>
</div>
<div class="skill-cat">
<div class="skill-cat-title">Analysis Techniques</div>
<div class="tags"><span class="tag">Regression</span><span class="tag">Classification</span><span class="tag">Clustering</span><span class="tag">Time Series</span><span class="tag">Statistical Testing</span><span class="tag">EDA</span><span class="tag">Data Cleaning</span><span class="tag">Data Validation</span></div>
</div>
<div class="skill-cat">
<div class="skill-cat-title">Business Analysis</div>
<div class="tags"><span class="tag">Requirements Gathering</span><span class="tag">Stakeholder Management</span><span class="tag">BPMN Mapping</span><span class="tag">Gap Analysis</span><span class="tag">Risk & Controls</span><span class="tag">Decision Support</span><span class="tag">Process Mapping</span></div>
</div>
<div class="skill-cat">
<div class="skill-cat-title">Visualisation & Reporting</div>
<div class="tags"><span class="tag">Dashboard Development</span><span class="tag">KPI Reporting</span><span class="tag">Trend Analysis</span><span class="tag">Variance Analysis</span></div>
</div>
<div class="skill-cat">
<div class="skill-cat-title">Domain Knowledge</div>
<div class="tags"><span class="tag">Fraud Detection</span><span class="tag">Credit Risk</span><span class="tag">Market Intelligence</span><span class="tag">Campaign Attribution</span><span class="tag">Customer Segmentation</span><span class="tag">CLV Modelling</span><span class="tag">Compliance</span></div>
</div>
</div>
</section>
</div>
<!-- EXPERIENCE -->
<div class="section-wrap alt">
<section id="experience">
<div class="sec-head"><span class="sec-num">03</span><h2 class="sec-title">Experience</h2><div class="sec-line"></div></div>
<div class="timeline reveal-left reveal">
<div class="t-item">
<div class="t-date">Jan 2025 — Mar 2025</div>
<div class="t-role">Student Strategy Consultant</div>
<div class="t-company">180 Degrees Consulting — Outreach & Market Strategy, Durham, UK</div>
<ul class="t-bullets">
<li>Analysed organisational processes and market data to identify gaps in investor readiness, generating evidence-based insight that
supported workshops clarifying business requirements and delivery roadmaps.</li>
<li>Evaluated 200+ potential investment leads against financial, operational, and strategic criteria, producing a ranked shortlist and
supporting evidence-based selection decisions for the client team.</li>
<li>Designed a structured recruitment and outreach funnel using data-driven stage definitions, improving stakeholder visibility into
candidate sourcing and conversion rates.</li>
<li>Mapped end-to-end sales and engagement workflows using BPMN, enabling stakeholders to reduce lead-to-closure friction through
clearer handoffs and ownership.</li>
</ul>
</div>
<div class="t-item">
<div class="t-date">Apr 2022 — Jun 2023</div>
<div class="t-role">Fraud Specialist II</div>
<div class="t-company">J.P. Morgan Chase & Co. — Mumbai, India</div>
<ul class="t-bullets">
<li>Analysed large volumes of debit card transaction data to identify emerging fraud patterns, directly contributing to the prevention of over
$1M (approx. £800K) in quarterly financial losses.</li>
<li>Conducted workflow analysis to identify process bottlenecks, delivering data-backed recommendations that reduced investigation
turnaround times by 60%.</li>
<li>Supported enhancements to fraud detection logic by translating operational pain points into clear analytical requirements for technical
teams, using SQL and Excel for data extraction and root cause analysis.</li>
<li>Presented concise analytical findings to global stakeholders; recognised with the Customer Excellence Award (2023) for clarity and
commercial impact of reporting.</li>
</ul>
<div class="t-award">Customer Excellence Award — 2023</div>
</div>
<div class="t-item">
<div class="t-date">Jul 2021 — Dec 2021</div>
<div class="t-role">Business Development Executive</div>
<div class="t-company">Big Mouth Digital & Media — Mumbai, India</div>
<ul class="t-bullets">
<li>Conducted market and competitor analysis to identify new commercial opportunities, supporting data-driven pipeline growth decisions
that contributed to the acquisition of 8 new clients.</li>
<li>Analysed customer and campaign performance data to improve regional market presence and support evidence-based pricing and
delivery decisions.</li>
</ul>
</div>
</div>
</section>
</div>
<!-- PROJECTS -->
<div class="section-wrap">
<section id="projects">
<div class="sec-head"><span class="sec-num">04</span><h2 class="sec-title">Projects</h2><div class="sec-line"></div></div>
<div class="projects-grid reveal-stagger reveal">
<div class="proj-card">
<div class="proj-num">PROJECT · 01</div>
<div class="proj-title">Customer Lifecycle Campaign Analysis</div>
<p class="proj-desc">End-to-end customer analytics on 1M+ UK e-commerce transactions. RFM segmentation, churn prediction, CLV modelling and campaign attribution — outputting a £12,500/month Google Ads + Klaviyo strategy.</p>
<div class="proj-tags"><span class="ptag ptag-py">Python</span><span class="ptag ptag-ml">Machine Learning</span><span class="ptag ptag-an">CLV</span><span class="ptag ptag-an">RFM</span></div>
<div class="proj-links">
<a href="https://github.com/macash916/Customer-Lifecycle-Campaign-Analysis" target="_blank" class="proj-link">View on GitHub <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
<a href="https://macash916.github.io/assets/Customer_Lifecycle_Final.pdf" target="_blank" class="proj-link proj-link--secondary">View Presentation <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
</div>
</div>
<div class="proj-card">
<div class="proj-num">PROJECT · 02</div>
<div class="proj-title">IMADATA Market Intelligence & Competitor Analytics</div>
<p class="proj-desc">Analysed 40k+ business records using Python to identify structural patterns in customer and competitor data. Segmented organisations into actionable profiles via clustering, with multi-year trend analysis to surface high-growth regions and strategic expansion opportunities.</p>
<div class="proj-tags"><span class="ptag ptag-py">Python</span><span class="ptag ptag-ml">Clustering</span><span class="ptag ptag-an">Market Intelligence</span><span class="ptag ptag-an">Geospatial</span></div>
<div class="proj-links">
<a href="https://github.com/macash916/IMADATA-Market-Intelligence" target="_blank" class="proj-link">View on GitHub <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
<a href="https://imadata-market-intelligence.streamlit.app" target="_blank" class="proj-link proj-link--secondary">Launch Live Dashboard <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
</div>
</div>
<div class="proj-card">
<div class="proj-num">PROJECT · 03</div>
<div class="proj-title">JPMorgan Quantitative Research</div>
<p class="proj-desc">Quantitative research suite covering commodity forecasting, contract pricing, credit risk ML, and optimisation algorithms. Completed as part of JPMorgan's virtual Quantitative Research programme.</p>
<div class="proj-tags"><span class="ptag ptag-py">Python</span><span class="ptag ptag-ml">Quant Finance</span><span class="ptag ptag-an">Credit Risk</span><span class="ptag ptag-an">Forecasting</span></div>
<div class="proj-links">
<a href="https://github.com/macash916/JPMorgan-Quantitative-Research" target="_blank" class="proj-link">View on GitHub <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
<a href="https://macash916.github.io/assets/JPMorgan_QR_Project_Analysis.pdf" target="_blank" class="proj-link proj-link--secondary">View Research Report <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"></path></svg></a>
</div>
</div>
<div class="proj-card">
<div class="proj-num">PROJECT · 04</div>
<div class="proj-title">Time Series Data Visualisation</div>
<p class="proj-desc">Analysed financial time series data to assess stationarity and trend behaviour using statistical testing. Applied differencing and rolling averages to extract underlying trends from volatile datasets. Built reproducible preprocessing workflows to support consistent reporting.</p>
<div class="proj-tags"><span class="ptag ptag-py">Python</span><span class="ptag ptag-ml">Time Series</span><span class="ptag ptag-an">Statistical Testing</span></div>
<a href="https://github.com/macash916" target="_blank" class="proj-link">View on GitHub <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M7 7h10v10"/></svg></a>
</div>
</div>
</section>
</div>
<!-- EDUCATION -->
<div class="section-wrap alt">
<section id="education">
<div class="sec-head"><span class="sec-num">05</span><h2 class="sec-title">Education</h2><div class="sec-line"></div></div>
<div class="edu-grid reveal-stagger reveal">
<div class="edu-card">
<div class="edu-year">Sep 2024 — Sep 2025</div>
<div class="edu-degree">MSc Business Analytics</div>
<div class="edu-school">Durham University — Durham Business School, UK</div>
<div class="edu-detail">Grade: Merit · Durham University Business School Scholarship Recipient</div>
</div>
<div class="edu-card">
<div class="edu-year">Jul 2017 — Jul 2020</div>
<div class="edu-degree">Bachelor of Business Administration (Marketing)</div>
<div class="edu-school">D. Y. Patil University — Mumbai, India</div>
<div class="edu-detail">Grade: 8.4 CGPA (First Class Equivalent)</div>
</div>
</div>
<div style="margin-top:2.8rem">
<div style="font-family:'DM Mono',monospace;font-size:.67rem;color:var(--muted);letter-spacing:.15em;text-transform:uppercase;margin-bottom:1.2rem;">Certifications</div>
<div class="certs-list">
<div class="cert-item">
<div class="cert-name">Quantitative Research Job Simulation</div>
<div class="cert-issuer">JPMorgan Chase · Forage</div>
</div>
<div class="cert-item"><div class="cert-name">Google Analytics Professional Certification</div></div>
<div class="cert-item"><div class="cert-name">Google — Ads, Search, Display, Measurement & Apps</div></div>
</div>
</div>
</section>
</div>
<!-- CONTACT -->
<div class="section-wrap">
<section id="contact">
<div class="sec-head"><span class="sec-num">06</span><h2 class="sec-title">Contact</h2><div class="sec-line"></div></div>
<div class="contact-wrap reveal-scale reveal">
<div>
<h3 class="contact-heading">Let's work<br><span>together.</span></h3>
<p class="contact-sub">Open to Data Analyst and Business Analyst roles in London and beyond. Also available for freelance analytics and consulting projects. Legally authorised to work in the UK.</p>
<div class="contact-links">
<a href="mailto:amritmail2012@gmail.com" class="c-link">
<div class="c-link-icon"><svg viewBox="0 0 24 24" fill="none" stroke="var(--accent)" stroke-width="1.8"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg></div>
<div><strong>Email</strong><span class="c-link-value">amritmail2012@gmail.com</span></div>
</a>
<a href="https://github.com/macash916" target="_blank" class="c-link">
<div class="c-link-icon"><svg viewBox="0 0 24 24" fill="var(--accent)"><path d="M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/></svg></div>
<div><strong>GitHub</strong><span>github.com/macash916</span></div>
</a>
<a href="https://www.linkedin.com/in/amrit-s-74974a97/" target="_blank" class="c-link">
<div class="c-link-icon"><svg viewBox="0 0 24 24" fill="var(--accent)"><path d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"/><circle cx="4" cy="4" r="2"/></svg></div>
<div><strong>LinkedIn</strong><span>linkedin.com/in/amrit-s-74974a97</span></div>
</a>
<a href="tel:+447936649235" class="c-link">
<div class="c-link-icon"><svg viewBox="0 0 24 24" fill="none" stroke="var(--accent)" stroke-width="1.8"><path d="M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07A19.5 19.5 0 013.88 9.8 19.79 19.79 0 01.81 1.17 2 2 0 012.8 0h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L7.09 7.91a16 16 0 006 6l.95-.95a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z"/></svg></div>
<div><strong>Phone</strong><span class="c-link-value">+44 7936 649235</span></div>
</a>
</div>
</div>
</div>
</section>
</div>
<footer>
<p>© 2026 Amrit Sharma · Data Analyst, London</p>
<p>Hosted on <a href="https://github.com/macash916/macash916.github.io" target="_blank">GitHub Pages</a></p>
</footer>
<script>
// ── SCROLL PROGRESS BAR ──
const progressBar = document.getElementById('scroll-progress');
window.addEventListener('scroll', () => {
const scrollTop = window.scrollY;
const docHeight = document.documentElement.scrollHeight - window.innerHeight;
const pct = docHeight > 0 ? (scrollTop / docHeight) * 100 : 0;
progressBar.style.width = pct + '%';
}, { passive: true });
// ── SCROLL-DRIVEN REVEAL ENGINE ──
const revealClasses = ['.reveal', '.reveal-left', '.reveal-right', '.reveal-scale', '.reveal-stagger'];
const allReveal = document.querySelectorAll(revealClasses.join(','));
const observer = new IntersectionObserver((entries) => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.classList.add('on');
observer.unobserve(e.target); // fire once — no re-hiding on scroll back up
}
});
}, { threshold: 0.12, rootMargin: '0px 0px -40px 0px' });
allReveal.forEach(el => observer.observe(el));
// ── SECTION HEADING LINE DRAW ──
// Animate the horizontal rule line in each section header on scroll
const secLines = document.querySelectorAll('.sec-line');
secLines.forEach(line => {
line.style.transform = 'scaleX(0)';
line.style.transformOrigin = 'left';
line.style.transition = 'transform .9s cubic-bezier(.22,1,.36,1) .2s';
});
const lineObserver = new IntersectionObserver((entries) => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.style.transform = 'scaleX(1)';
lineObserver.unobserve(e.target);
}
});
}, { threshold: 0.5 });
secLines.forEach(l => lineObserver.observe(l));
// ── STAT CARD NUMBER COUNT-UP ──
function countUp(el, target, suffix, duration) {
const isDecimal = target % 1 !== 0;
const start = performance.now();
const update = (now) => {
const elapsed = now - start;
const progress = Math.min(elapsed / duration, 1);
const ease = 1 - Math.pow(1 - progress, 3);
const val = isDecimal ? (target * ease).toFixed(1) : Math.floor(target * ease);
el.textContent = val + suffix;
if (progress < 1) requestAnimationFrame(update);
};
requestAnimationFrame(update);
}
const statObserver = new IntersectionObserver((entries) => {
entries.forEach(e => {
if (e.isIntersecting) {
const nums = e.target.querySelectorAll('.stat-num');
nums.forEach(num => {
const text = num.textContent.trim();
const match = text.match(/([\d.]+)(.*)/);
if (match) countUp(num, parseFloat(match[1]), match[2], 1400);
});
statObserver.unobserve(e.target);
}
});
}, { threshold: 0.4 });
const heroStats = document.querySelector('.hero-stats');
if (heroStats) statObserver.observe(heroStats);
// ── THEME TOGGLE ──
(function() {
const root = document.documentElement;
const btn = document.getElementById('themeToggle');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');
// On load — always follow device theme, ignore any saved preference
root.setAttribute('data-theme', prefersDark.matches ? 'dark' : 'light');
// Manual toggle — saves override to localStorage
btn.addEventListener('click', function() {
const current = root.getAttribute('data-theme');
const next = current === 'dark' ? 'light' : 'dark';
root.setAttribute('data-theme', next);
localStorage.setItem('theme', next);
});
// Device theme change — always overrides manual toggle
prefersDark.addEventListener('change', function(e) {
const newTheme = e.matches ? 'dark' : 'light';
root.setAttribute('data-theme', newTheme);
localStorage.setItem('theme', newTheme);
});
})();
</script>
</body>
</html>