Repository navigation
Expand file tree
/
Copy pathpresentation.html
More file actions
1681 lines (1519 loc) · 64.4 KB
/
Copy pathpresentation.html
File metadata and controls
1681 lines (1519 loc) · 64.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agent Reasoning: The Thinking Layer</title>
<!-- Fonts: Cormorant Garamond (display) + Source Serif 4 (body) -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400;1,8..60,500&display=swap" rel="stylesheet">
<style>
/* ===========================================
CSS CUSTOM PROPERTIES (PAPER & INK THEME)
=========================================== */
:root {
/* Colors */
--bg-primary: #faf9f7;
--bg-secondary: #f3f1ed;
--bg-accent: #eee9e0;
--text-primary: #1a1a1a;
--text-secondary: #4a4a4a;
--text-muted: #777;
--accent-blue: #1e3a5f;
--accent-crimson: #c41e3a;
--accent-gold: #8b6914;
--border-light: #ddd5c8;
--border-dark: #1a1a1a;
/* Typography */
--font-display: 'Cormorant Garamond', Georgia, serif;
--font-body: 'Source Serif 4', Georgia, serif;
--title-size: clamp(2rem, 6vw, 5rem);
--h2-size: clamp(1.4rem, 3.5vw, 2.8rem);
--h3-size: clamp(1.1rem, 2.5vw, 1.6rem);
--body-size: clamp(0.8rem, 1.4vw, 1.1rem);
--small-size: clamp(0.65rem, 1vw, 0.875rem);
--code-size: clamp(0.65rem, 1vw, 0.85rem);
/* Spacing */
--slide-padding: clamp(1.5rem, 4vw, 4rem);
--content-gap: clamp(0.75rem, 2vw, 2rem);
--element-gap: clamp(0.25rem, 1vw, 1rem);
/* Animation */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
--duration-normal: 0.6s;
}
/* ===========================================
BASE STYLES
=========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* ===========================================
VIEWPORT FITTING: MANDATORY BASE STYLES
Include this ENTIRE file in every presentation.
These styles ensure slides fit exactly in the viewport.
=========================================== */
/* 1. Lock html/body to viewport */
html, body {
height: 100%;
overflow-x: hidden;
}
html {
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
}
/* 2. Each slide = exact viewport height */
.slide {
width: 100vw;
height: 100vh;
height: 100dvh;
overflow: hidden;
scroll-snap-align: start;
display: flex;
flex-direction: column;
position: relative;
}
/* 3. Content container with flex for centering */
.slide-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
max-height: 100%;
overflow: hidden;
padding: var(--slide-padding);
}
/* 4. ALL typography uses clamp() for responsive scaling */
/* (Already defined in :root above) */
/* 5. Cards/containers use viewport-relative max sizes */
.card, .container, .content-box {
max-width: min(90vw, 1000px);
max-height: min(80vh, 700px);
}
/* 6. Lists auto-scale with viewport */
.feature-list, .bullet-list {
gap: clamp(0.4rem, 1vh, 1rem);
}
.feature-list li, .bullet-list li {
font-size: var(--body-size);
line-height: 1.4;
}
/* 7. Grids adapt to available space */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
gap: clamp(0.5rem, 1.5vw, 1rem);
}
/* 8. Images constrained to viewport */
img, .image-container {
max-width: 100%;
max-height: min(50vh, 400px);
object-fit: contain;
}
/* ===========================================
RESPONSIVE BREAKPOINTS
Aggressive scaling for smaller viewports
=========================================== */
/* Short viewports (< 700px height) */
@media (max-height: 700px) {
:root {
--slide-padding: clamp(0.75rem, 3vw, 2rem);
--content-gap: clamp(0.4rem, 1.5vw, 1rem);
--title-size: clamp(1.25rem, 4.5vw, 2.5rem);
--h2-size: clamp(1rem, 3vw, 1.75rem);
}
}
/* Very short viewports (< 600px height) */
@media (max-height: 600px) {
:root {
--slide-padding: clamp(0.5rem, 2.5vw, 1.5rem);
--content-gap: clamp(0.3rem, 1vw, 0.75rem);
--title-size: clamp(1.1rem, 4vw, 2rem);
--body-size: clamp(0.7rem, 1.2vw, 0.95rem);
}
.nav-dots, .keyboard-hint, .decorative {
display: none;
}
}
/* Extremely short (landscape phones, < 500px height) */
@media (max-height: 500px) {
:root {
--slide-padding: clamp(0.4rem, 2vw, 1rem);
--title-size: clamp(1rem, 3.5vw, 1.5rem);
--h2-size: clamp(0.9rem, 2.5vw, 1.25rem);
--body-size: clamp(0.65rem, 1vw, 0.85rem);
}
}
/* Narrow viewports (< 600px width) */
@media (max-width: 600px) {
:root {
--title-size: clamp(1.25rem, 7vw, 2.5rem);
}
.grid {
grid-template-columns: 1fr;
}
}
/* ===========================================
REDUCED MOTION
=========================================== */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
transition-duration: 0.2s !important;
}
html {
scroll-behavior: auto;
}
}
/* ===========================================
PAPER & INK THEME STYLES
=========================================== */
body {
font-family: var(--font-body);
background: var(--bg-primary);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
}
.slide {
background: var(--bg-primary);
}
/* === TYPOGRAPHY === */
h1, h2, h3 {
font-family: var(--font-display);
font-weight: 600;
line-height: 1.15;
letter-spacing: -0.01em;
}
h1 {
font-size: var(--title-size);
font-weight: 300;
color: var(--text-primary);
}
h2 {
font-size: var(--h2-size);
color: var(--accent-blue);
margin-bottom: var(--content-gap);
}
h3 {
font-size: var(--h3-size);
color: var(--text-primary);
font-weight: 500;
}
p, li {
font-family: var(--font-body);
font-size: var(--body-size);
line-height: 1.65;
color: var(--text-secondary);
}
/* === DROP CAPS === */
.drop-cap::first-letter {
float: left;
font-family: var(--font-display);
font-size: clamp(2.5rem, 5vw, 4.5rem);
line-height: 0.8;
padding-right: clamp(0.3rem, 0.5vw, 0.5rem);
padding-top: clamp(0.15rem, 0.3vw, 0.25rem);
color: var(--accent-crimson);
font-weight: 600;
}
/* === PULL QUOTES === */
.pull-quote {
font-family: var(--font-display);
font-style: italic;
font-size: clamp(1.1rem, 2.5vw, 1.8rem);
color: var(--accent-blue);
border-left: 3px solid var(--accent-crimson);
padding-left: clamp(0.75rem, 1.5vw, 1.5rem);
margin: var(--content-gap) 0;
line-height: 1.4;
max-width: min(80%, 700px);
}
/* === HORIZONTAL RULES === */
.elegant-rule {
display: flex;
align-items: center;
gap: clamp(0.5rem, 1vw, 1rem);
margin: var(--content-gap) 0;
}
.elegant-rule::before,
.elegant-rule::after {
content: '';
flex: 1;
height: 1px;
background: var(--border-light);
}
.elegant-rule .ornament {
font-family: var(--font-display);
font-size: var(--small-size);
color: var(--accent-crimson);
letter-spacing: 0.3em;
}
/* === SLIDE COUNTER === */
.slide-counter {
position: fixed;
top: clamp(0.75rem, 1.5vw, 1.5rem);
right: clamp(0.75rem, 1.5vw, 1.5rem);
font-family: var(--font-display);
font-size: var(--small-size);
color: var(--text-muted);
z-index: 100;
letter-spacing: 0.05em;
}
/* === PROGRESS BAR === */
.progress-bar {
position: fixed;
top: 0;
left: 0;
height: 2px;
background: var(--accent-crimson);
z-index: 1000;
transition: width 0.3s ease;
width: 0%;
}
/* === NAV DOTS === */
.nav-dots {
position: fixed;
right: clamp(0.5rem, 1vw, 1rem);
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: clamp(4px, 0.5vh, 8px);
z-index: 100;
}
.nav-dot {
width: clamp(5px, 0.5vw, 8px);
height: clamp(5px, 0.5vw, 8px);
border-radius: 50%;
background: var(--border-light);
cursor: pointer;
transition: all 0.3s ease;
border: none;
padding: 0;
}
.nav-dot.active {
background: var(--accent-crimson);
transform: scale(1.4);
}
/* === ANIMATIONS === */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity var(--duration-normal) var(--ease-out-expo),
transform var(--duration-normal) var(--ease-out-expo);
}
.reveal-left {
opacity: 0;
transform: translateX(-40px);
transition: opacity var(--duration-normal) var(--ease-out-expo),
transform var(--duration-normal) var(--ease-out-expo);
}
.reveal-scale {
opacity: 0;
transform: scale(0.92);
transition: opacity var(--duration-normal) var(--ease-out-expo),
transform var(--duration-normal) var(--ease-out-expo);
}
.slide.visible .reveal,
.slide.visible .reveal-left,
.slide.visible .reveal-scale {
opacity: 1;
transform: translateY(0) translateX(0) scale(1);
}
/* Stagger children */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.4s; }
.reveal:nth-child(5) { transition-delay: 0.5s; }
.reveal:nth-child(6) { transition-delay: 0.6s; }
.reveal:nth-child(7) { transition-delay: 0.7s; }
.reveal-left:nth-child(1) { transition-delay: 0.1s; }
.reveal-left:nth-child(2) { transition-delay: 0.2s; }
.reveal-left:nth-child(3) { transition-delay: 0.3s; }
.reveal-left:nth-child(4) { transition-delay: 0.4s; }
/* === TITLE SLIDE === */
.title-slide {
justify-content: center;
align-items: center;
text-align: center;
background: var(--bg-primary);
}
.title-slide .slide-content {
align-items: center;
max-width: min(90vw, 800px);
}
.title-ornament {
font-family: var(--font-display);
font-size: var(--small-size);
letter-spacing: 0.4em;
text-transform: uppercase;
color: var(--accent-crimson);
margin-bottom: var(--content-gap);
}
.title-slide h1 {
font-weight: 300;
font-style: italic;
margin-bottom: clamp(0.5rem, 1vw, 1rem);
}
.title-slide h1 em {
font-style: normal;
font-weight: 600;
color: var(--accent-blue);
}
.title-subtitle {
font-family: var(--font-body);
font-size: clamp(0.85rem, 1.5vw, 1.15rem);
color: var(--text-muted);
max-width: min(80%, 500px);
line-height: 1.6;
}
.title-meta {
font-family: var(--font-display);
font-size: var(--small-size);
color: var(--text-muted);
letter-spacing: 0.15em;
margin-top: var(--content-gap);
}
.title-rule {
width: clamp(40px, 6vw, 80px);
height: 1px;
background: var(--accent-crimson);
margin: var(--element-gap) 0;
}
/* === SECTION HEADER SLIDES === */
.section-header {
text-align: center;
background: var(--bg-secondary);
}
.section-header .slide-content {
align-items: center;
}
.section-number {
font-family: var(--font-display);
font-size: clamp(3rem, 8vw, 8rem);
font-weight: 300;
color: var(--border-light);
line-height: 1;
position: absolute;
top: clamp(1rem, 3vw, 3rem);
left: clamp(1rem, 3vw, 3rem);
}
.section-header h2 {
font-size: clamp(1.8rem, 4.5vw, 3.5rem);
font-weight: 300;
font-style: italic;
color: var(--text-primary);
}
.section-tagline {
font-family: var(--font-body);
font-size: var(--body-size);
color: var(--text-muted);
margin-top: var(--element-gap);
}
/* === FEATURE CARDS === */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
gap: clamp(0.6rem, 1.2vw, 1.2rem);
width: 100%;
max-width: min(95vw, 1000px);
}
.feature-card {
background: var(--bg-secondary);
border: 1px solid var(--border-light);
padding: clamp(0.75rem, 1.5vw, 1.5rem);
border-radius: 2px;
transition: border-color 0.3s ease;
}
.feature-card:hover {
border-color: var(--accent-crimson);
}
.feature-card .card-icon {
font-size: clamp(1rem, 2vw, 1.5rem);
margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem);
}
.feature-card h3 {
font-family: var(--font-display);
font-size: clamp(0.9rem, 1.5vw, 1.15rem);
font-weight: 600;
margin-bottom: clamp(0.15rem, 0.3vw, 0.3rem);
color: var(--accent-blue);
}
.feature-card p {
font-size: var(--small-size);
line-height: 1.5;
color: var(--text-muted);
}
/* === CODE BLOCKS === */
.code-block {
background: #1a1a1a;
color: #e8e4df;
padding: clamp(0.75rem, 1.5vw, 1.5rem);
border-radius: 2px;
font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
font-size: var(--code-size);
line-height: 1.6;
overflow: hidden;
max-width: min(95vw, 700px);
white-space: pre;
border-left: 3px solid var(--accent-crimson);
}
.code-block .keyword { color: #c41e3a; }
.code-block .string { color: #6b8e23; }
.code-block .comment { color: #666; font-style: italic; }
.code-block .func { color: #1e3a5f; }
.code-block .type { color: #8b6914; }
/* === TABLE STYLES === */
.data-table {
width: 100%;
max-width: min(95vw, 900px);
border-collapse: collapse;
font-size: var(--small-size);
}
.data-table th {
font-family: var(--font-display);
font-weight: 600;
text-align: left;
padding: clamp(0.3rem, 0.6vw, 0.6rem) clamp(0.4rem, 0.8vw, 0.8rem);
border-bottom: 2px solid var(--text-primary);
color: var(--accent-blue);
font-size: var(--small-size);
}
.data-table td {
padding: clamp(0.25rem, 0.5vw, 0.5rem) clamp(0.4rem, 0.8vw, 0.8rem);
border-bottom: 1px solid var(--border-light);
font-family: var(--font-body);
font-size: var(--small-size);
color: var(--text-secondary);
}
.data-table tr:last-child td {
border-bottom: none;
}
.highlight-cell {
color: var(--accent-crimson) !important;
font-weight: 600;
}
/* === ARCHITECTURE DIAGRAM (CSS) === */
.arch-flow {
display: flex;
flex-direction: column;
align-items: center;
gap: clamp(0.3rem, 0.6vw, 0.6rem);
max-width: min(90vw, 600px);
margin: 0 auto;
}
.arch-box {
background: var(--bg-secondary);
border: 1px solid var(--border-light);
padding: clamp(0.4rem, 0.8vw, 0.8rem) clamp(0.8rem, 1.5vw, 1.5rem);
font-family: var(--font-display);
font-size: var(--small-size);
font-weight: 600;
color: var(--accent-blue);
text-align: center;
width: 100%;
max-width: min(80%, 400px);
border-radius: 2px;
}
.arch-box.primary {
background: var(--accent-blue);
color: #fff;
border-color: var(--accent-blue);
}
.arch-box.accent {
border-color: var(--accent-crimson);
color: var(--accent-crimson);
}
.arch-arrow {
font-family: var(--font-display);
font-size: var(--small-size);
color: var(--text-muted);
text-align: center;
}
.arch-row {
display: flex;
gap: clamp(0.3rem, 0.6vw, 0.6rem);
width: 100%;
max-width: min(90%, 500px);
}
.arch-row .arch-box {
flex: 1;
max-width: none;
}
/* === TWO-COLUMN LAYOUT === */
.two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(1rem, 2vw, 2.5rem);
align-items: start;
width: 100%;
max-width: min(95vw, 1000px);
}
@media (max-width: 600px) {
.two-col {
grid-template-columns: 1fr;
}
}
/* === STRATEGY BADGES === */
.badge {
display: inline-block;
font-family: var(--font-display);
font-size: clamp(0.55rem, 0.8vw, 0.7rem);
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
padding: clamp(0.15rem, 0.3vw, 0.25rem) clamp(0.4rem, 0.6vw, 0.6rem);
border: 1px solid var(--border-light);
border-radius: 1px;
color: var(--text-muted);
}
.badge.crimson {
border-color: var(--accent-crimson);
color: var(--accent-crimson);
}
.badge.blue {
border-color: var(--accent-blue);
color: var(--accent-blue);
}
/* === BULLET LISTS === */
.styled-list {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: clamp(0.3rem, 0.6vw, 0.6rem);
}
.styled-list li {
font-size: var(--body-size);
padding-left: clamp(1rem, 1.5vw, 1.5rem);
position: relative;
line-height: 1.5;
}
.styled-list li::before {
content: '';
position: absolute;
left: 0;
top: clamp(0.45rem, 0.7vw, 0.6rem);
width: clamp(4px, 0.4vw, 6px);
height: clamp(4px, 0.4vw, 6px);
background: var(--accent-crimson);
border-radius: 50%;
}
.styled-list li strong {
color: var(--accent-blue);
font-weight: 600;
}
/* === CLOSING SLIDE === */
.closing-slide {
text-align: center;
background: var(--bg-secondary);
}
.closing-slide .slide-content {
align-items: center;
}
.closing-links {
display: flex;
gap: clamp(0.75rem, 1.5vw, 1.5rem);
margin-top: var(--content-gap);
flex-wrap: wrap;
justify-content: center;
}
.closing-links a {
font-family: var(--font-display);
font-size: var(--small-size);
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--accent-blue);
text-decoration: none;
border-bottom: 1px solid var(--accent-crimson);
padding-bottom: 2px;
transition: color 0.3s ease;
}
.closing-links a:hover {
color: var(--accent-crimson);
}
/* === COMPACT LIST FOR DENSE SLIDES === */
.compact-list {
list-style: none;
padding: 0;
display: flex;
flex-direction: column;
gap: clamp(0.15rem, 0.3vw, 0.3rem);
}
.compact-list li {
font-size: var(--small-size);
padding-left: clamp(0.75rem, 1vw, 1rem);
position: relative;
line-height: 1.45;
color: var(--text-secondary);
}
.compact-list li::before {
content: '';
position: absolute;
left: 0;
top: clamp(0.35rem, 0.5vw, 0.5rem);
width: clamp(3px, 0.3vw, 5px);
height: clamp(3px, 0.3vw, 5px);
background: var(--accent-crimson);
border-radius: 50%;
}
/* === METRIC BAR === */
.metric-row {
display: flex;
align-items: center;
gap: clamp(0.4rem, 0.8vw, 0.8rem);
margin-bottom: clamp(0.2rem, 0.4vw, 0.4rem);
}
.metric-label {
font-family: var(--font-display);
font-size: var(--small-size);
font-weight: 600;
color: var(--accent-blue);
min-width: clamp(80px, 10vw, 120px);
}
.metric-bar {
flex: 1;
height: clamp(6px, 0.8vw, 10px);
background: var(--bg-accent);
border-radius: 1px;
overflow: hidden;
}
.metric-fill {
height: 100%;
background: var(--accent-crimson);
border-radius: 1px;
transition: width 1s var(--ease-out-expo);
}
.metric-value {
font-family: var(--font-body);
font-size: var(--small-size);
color: var(--text-muted);
min-width: clamp(30px, 4vw, 50px);
text-align: right;
}
/* === DECORATIVE ELEMENTS === */
.page-corner {
position: absolute;
font-family: var(--font-display);
font-size: var(--small-size);
color: var(--border-light);
letter-spacing: 0.2em;
}
.page-corner.top-left {
top: var(--slide-padding);
left: var(--slide-padding);
}
.page-corner.bottom-right {
bottom: var(--slide-padding);
right: var(--slide-padding);
}
</style>
</head>
<body>
<!-- Progress bar -->
<div class="progress-bar" id="progressBar"></div>
<!-- Slide counter -->
<div class="slide-counter" id="slideCounter">1 / 22</div>
<!-- Navigation dots -->
<nav class="nav-dots" id="navDots" aria-label="Slide navigation"></nav>
<!-- ==========================================
SLIDE 1: TITLE
========================================== -->
<section class="slide title-slide" data-slide="1">
<div class="slide-content">
<div class="title-ornament reveal">The Thinking Layer</div>
<div class="title-rule reveal"></div>
<h1 class="reveal">Agent <em>Reasoning</em></h1>
<div class="title-rule reveal"></div>
<p class="title-subtitle reveal">
Transforming open-source LLMs into deliberate problem solvers
through 16 cognitive architectures grounded in research.
</p>
<p class="title-meta reveal">Python + Go · Ollama · MIT License</p>
</div>
</section>
<!-- ==========================================
SLIDE 2: THE PROBLEM
========================================== -->
<section class="slide" data-slide="2">
<div class="slide-content">
<h2 class="reveal">The Gap in LLM Reasoning</h2>
<p class="drop-cap reveal" style="max-width: min(85%, 700px);">
Large language models predict the next token. They don't plan, backtrack, or verify their own logic.
When faced with multi-step problems, they confabulate. When asked to self-correct, they often
make things worse. The raw generation loop wasn't built for structured thought.
</p>
<div class="pull-quote reveal">
"From predicting the next token to predicting the next thought."
</div>
<p class="reveal" style="max-width: min(85%, 700px);">
Agent Reasoning wraps any Ollama-served model in cognitive architectures drawn from
peer-reviewed research. The model stays the same; the thinking process around it changes.
</p>
</div>
</section>
<!-- ==========================================
SLIDE 3: SECTION HEADER - ARCHITECTURES
========================================== -->
<section class="slide section-header" data-slide="3">
<span class="section-number decorative reveal">I</span>
<div class="slide-content">
<h2 class="reveal">Cognitive Architectures</h2>
<p class="section-tagline reveal">16 reasoning strategies, each grounded in published research</p>
</div>
</section>
<!-- ==========================================
SLIDE 4: CORE STRATEGIES (6 cards)
========================================== -->
<section class="slide" data-slide="4">
<div class="slide-content">
<h2 class="reveal">Core Strategies</h2>
<div class="feature-grid reveal-scale" style="transition-delay: 0.2s;">
<div class="feature-card">
<div class="card-icon">☰</div>
<h3>Chain-of-Thought</h3>
<p>Step-by-step prompt injection. Math, logic, explanations. Wei et al. 2022.</p>
</div>
<div class="feature-card">
<div class="card-icon">☆</div>
<h3>Tree of Thoughts</h3>
<p>BFS branch exploration with heuristic scoring and pruning. Yao et al. 2023.</p>
</div>
<div class="feature-card">
<div class="card-icon">⚙</div>
<h3>ReAct</h3>
<p>Interleaved reasoning + tool use. Web search, calculator, Wikipedia. Yao et al. 2022.</p>
</div>
<div class="feature-card">
<div class="card-icon">✎</div>
<h3>Self-Reflection</h3>
<p>Draft, critique, refine loop. Multi-turn improvement. Shinn et al. 2023.</p>
</div>
<div class="feature-card">
<div class="card-icon">⚒</div>
<h3>Decomposed</h3>
<p>Break complex queries into sub-tasks, solve sequentially. Khot et al. 2022.</p>
</div>
<div class="feature-card">
<div class="card-icon">☑</div>
<h3>Self-Consistency</h3>
<p>Generate k samples, majority vote. Temperature-sampled diversity. Wang et al. 2022.</p>
</div>
</div>
</div>
</section>
<!-- ==========================================
SLIDE 5: ADVANCED STRATEGIES (6 cards)
========================================== -->
<section class="slide" data-slide="5">
<div class="slide-content">
<h2 class="reveal">Advanced Strategies</h2>
<div class="feature-grid reveal-scale" style="transition-delay: 0.2s;">
<div class="feature-card">
<div class="card-icon">↺</div>
<h3>Refinement Loop</h3>
<p>Generator, Critic (0.0-1.0 score), Refiner. Iterates until quality threshold met.</p>
</div>
<div class="feature-card">
<div class="card-icon">◆</div>
<h3>Complex Refinement</h3>
<p>5-stage pipeline: Accuracy, Clarity, Depth, Examples, Polish. Production-grade.</p>
</div>
<div class="feature-card">
<div class="card-icon">⚔</div>
<h3>Adversarial Debate</h3>
<p>Pro/con debate rounds with LLM judge. Irving et al. 2018.</p>
</div>
<div class="feature-card">
<div class="card-icon">♜</div>
<h3>MCTS</h3>
<p>Monte Carlo Tree Search with UCB1. Complex strategy and planning. Browne et al. 2012.</p>
</div>
<div class="feature-card">
<div class="card-icon">★</div>
<h3>Analogical</h3>
<p>Structural analogy mapping. Cross-domain problem solving. Gentner 1983.</p>
</div>
<div class="feature-card">
<div class="card-icon">?</div>
<h3>Socratic + Meta</h3>
<p>Progressive questioning, plus auto-classification that routes to the optimal strategy.</p>
</div>
</div>
</div>
</section>
<!-- ==========================================
SLIDE 6: SECTION HEADER - ARCHITECTURE
========================================== -->
<section class="slide section-header" data-slide="6">
<span class="section-number decorative reveal">II</span>
<div class="slide-content">
<h2 class="reveal">System Architecture</h2>
<p class="section-tagline reveal">How queries flow from user input to reasoned output</p>
</div>
</section>
<!-- ==========================================
SLIDE 7: DATA FLOW
========================================== -->
<section class="slide" data-slide="7">
<div class="slide-content" style="align-items: center;">
<h2 class="reveal">Query Pipeline</h2>
<div class="arch-flow reveal-scale" style="transition-delay: 0.2s;">
<div class="arch-box primary">User Query + Model+Strategy Syntax</div>
<div class="arch-arrow">↓</div>
<div class="arch-box">ReasoningInterceptor (routing layer)</div>
<div class="arch-arrow">↓ parses "gemma3:270m+tot"</div>
<div class="arch-box accent">AGENT_MAP (16 strategies, 21 aliases)</div>
<div class="arch-arrow">↓</div>
<div class="arch-row">
<div class="arch-box">BaseAgent</div>
<div class="arch-box">stream(query)</div>
</div>
<div class="arch-arrow">↓</div>
<div class="arch-box">OllamaClient → HTTP → localhost:11434</div>
<div class="arch-arrow">↓</div>
<div class="arch-box primary">Streamed Chunks Back to User</div>
</div>
</div>
</section>
<!-- ==========================================
SLIDE 8: INTERCEPTOR PATTERN
========================================== -->
<section class="slide" data-slide="8">
<div class="slide-content">
<h2 class="reveal">The Interceptor Pattern</h2>