-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIndex.html
More file actions
1422 lines (1329 loc) · 62 KB
/
Copy pathIndex.html
File metadata and controls
1422 lines (1329 loc) · 62 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>Zombie Siege Protocol — Survive the Wave</title>
<meta name="description" content="A medieval zombie wave defense game. Hold the keep. Burn the horde. Outlast the dark." />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@500;600;700&family=IM+Fell+English:ital@0;1&family=Bungee&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@500;600;700&family=IM+Fell+English:ital@0;1&family=Bungee&display=swap" />
<link rel="stylesheet" href="CSS/style.css">
<style>
/* ============================================================
ZOMBIE SIEGE PROTOCOL — site styles
============================================================ */
</style>
</head>
<body>
<!-- ============================== CURTAIN ============================== -->
<div class="curtain" id="curtain">
<div class="curtain__half curtain__half--left"></div>
<div class="curtain__half curtain__half--right"></div>
<div class="curtain__seal">⚔ SIEGE PROTOCOL INITIATED ⚔</div>
</div>
<!-- ============================== CURSOR & SCROLL BAR ============================== -->
<div class="cursor" id="cursor">
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="bladeG" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#fff8e0"/>
<stop offset="1" stop-color="#9a8870"/>
</linearGradient>
</defs>
<!-- blade -->
<polygon points="32,2 36,40 32,46 28,40" fill="url(#bladeG)" stroke="#3a2010" stroke-width="1"/>
<!-- guard -->
<rect x="18" y="40" width="28" height="4" fill="#d4a017" stroke="#3a2010" stroke-width="1"/>
<!-- grip -->
<rect x="29" y="44" width="6" height="14" fill="#5a2818" stroke="#3a2010" stroke-width="1"/>
<!-- pommel -->
<circle cx="32" cy="60" r="3.5" fill="#d4a017" stroke="#3a2010" stroke-width="1"/>
</svg>
</div>
<div class="scroll-progress" id="scrollProgress"></div>
<!-- ============================== NAV ============================== -->
<nav class="nav" id="nav">
<a href="#hero" class="nav__logo">
<svg class="nav__logo-mark" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 2 L16 12 L12 22 L8 12 Z" fill="currentColor"/>
<line x1="4" y1="12" x2="20" y2="12"/>
</svg>
ZSP
</a>
<ul class="nav__links">
<li><a href="#story">Lore</a></li>
<li><a href="#gameplay">Gameplay</a></li>
<li><a href="#gallery">Gallery</a></li>
<li><a href="#stats">Features</a></li>
<li><a href="#contact">Enlist</a></li>
</ul>
<button class="hamburger" id="hamburger" aria-label="Menu">
<span></span><span></span><span></span>
</button>
</nav>
<aside class="mobile-panel" id="mobilePanel">
<ul>
<li><a href="#story">Lore</a></li>
<li><a href="#gameplay">Gameplay</a></li>
<li><a href="#gallery">Gallery</a></li>
<li><a href="#stats">Features</a></li>
<li><a href="#contact">Enlist</a></li>
</ul>
</aside>
<!-- ============================== HERO ============================== -->
<header class="hero" id="hero">
<div class="hero__sky"></div>
<div class="hero__clouds"></div>
<!-- Mountains -->
<div class="hero__layer hero__layer--mountains" data-depth="0.08">
<svg viewBox="0 0 1440 300" preserveAspectRatio="none">
<polygon points="0,300 0,180 120,90 240,160 380,60 520,170 700,80 880,180 1040,100 1200,170 1320,80 1440,160 1440,300" fill="#0a0606"/>
<polygon points="0,300 0,220 100,160 260,210 400,150 560,220 760,170 920,230 1100,180 1260,230 1440,200 1440,300" fill="#100808" opacity=".85"/>
</svg>
</div>
<!-- Village -->
<div class="hero__layer hero__layer--village" data-depth="0.16">
<svg viewBox="0 0 1440 200" preserveAspectRatio="none">
<g fill="#1a0d08">
<!-- castle -->
<rect x="100" y="80" width="60" height="80"/>
<polygon points="100,80 130,40 160,80"/>
<rect x="80" y="100" width="20" height="60"/>
<rect x="160" y="100" width="20" height="60"/>
<!-- towers -->
<rect x="280" y="100" width="30" height="60"/>
<polygon points="280,100 295,80 310,100"/>
<!-- houses -->
<rect x="400" y="120" width="50" height="40"/>
<polygon points="400,120 425,95 450,120"/>
<rect x="480" y="130" width="40" height="30"/>
<polygon points="480,130 500,110 520,130"/>
<rect x="540" y="115" width="55" height="45"/>
<polygon points="540,115 567,90 595,115"/>
<!-- church -->
<rect x="640" y="90" width="40" height="70"/>
<polygon points="640,90 660,55 680,90"/>
<rect x="655" y="60" width="10" height="20"/>
<!-- more houses -->
<rect x="730" y="125" width="45" height="35"/>
<polygon points="730,125 752,105 775,125"/>
<rect x="800" y="115" width="50" height="45"/>
<polygon points="800,115 825,90 850,115"/>
<rect x="880" y="130" width="40" height="30"/>
<polygon points="880,130 900,110 920,130"/>
<!-- watch tower -->
<rect x="950" y="80" width="35" height="80"/>
<polygon points="945,80 967,55 990,80"/>
<rect x="1020" y="120" width="50" height="40"/>
<polygon points="1020,120 1045,95 1070,120"/>
<rect x="1100" y="110" width="60" height="50"/>
<polygon points="1100,110 1130,80 1160,110"/>
<rect x="1200" y="130" width="45" height="30"/>
<polygon points="1200,130 1222,108 1245,130"/>
<rect x="1280" y="120" width="50" height="40"/>
<polygon points="1280,120 1305,95 1330,120"/>
<rect x="1360" y="115" width="50" height="45"/>
<polygon points="1360,115 1385,90 1410,115"/>
</g>
<!-- glowing windows -->
<g fill="#ff8c3c" opacity=".7">
<rect x="115" y="120" width="4" height="6"/>
<rect x="135" y="125" width="4" height="6"/>
<rect x="415" y="140" width="3" height="4"/>
<rect x="555" y="135" width="3" height="5"/>
<rect x="813" y="130" width="3" height="5"/>
<rect x="1115" y="135" width="3" height="4"/>
<rect x="1295" y="135" width="3" height="5"/>
</g>
</svg>
</div>
<!-- Ruins / foreground -->
<div class="hero__layer hero__layer--ruins" data-depth="0.3">
<svg viewBox="0 0 1440 120" preserveAspectRatio="none">
<g fill="#000">
<!-- broken wall -->
<polygon points="0,120 0,70 40,75 60,50 90,80 120,60 150,90 200,70 230,100 280,80 320,95 380,75 420,90 460,65 500,85 540,95 600,70 640,90 700,80 760,55 800,80 850,70 900,90 960,75 1010,95 1060,80 1120,60 1170,85 1220,75 1280,95 1330,70 1380,85 1440,70 1440,120"/>
</g>
<!-- jagged tombstones / spikes -->
<g fill="#0a0606">
<polygon points="180,120 195,90 210,120"/>
<polygon points="350,120 365,95 380,120"/>
<polygon points="600,120 615,88 630,120"/>
<polygon points="850,120 870,92 890,120"/>
<polygon points="1100,120 1115,95 1130,120"/>
</g>
<!-- crows -->
<g fill="#000" opacity=".8">
<path d="M 280 30 q 5 -4 10 0 q -5 -2 -10 0 z"/>
<path d="M 920 20 q 5 -4 10 0 q -5 -2 -10 0 z"/>
</g>
</svg>
</div>
<canvas class="hero__embers" id="embers"></canvas>
<div class="hero__fog"></div>
<!-- Health indicator -->
<div class="hero__health">
<div class="hero__health-label"><span>Keep Integrity</span><span>72%</span></div>
<div class="hero__health-track"><div class="hero__health-fill"></div></div>
</div>
<!-- Sound toggle -->
<button class="sound-toggle" id="soundToggle" aria-label="Toggle ambient sound">
<svg id="soundIcon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/>
<line x1="23" y1="9" x2="17" y2="15"/>
<line x1="17" y1="9" x2="23" y2="15"/>
</svg>
<span class="sound-toggle__label">Ambience Off</span>
</button>
<div class="hero__content">
<div class="hero__eyebrow">⚔ A Medieval Wave Defense ⚔</div>
<h1 class="hero__title" id="heroTitle" aria-label="Zombie Siege Protocol"></h1>
<p class="hero__tagline">The dead remember the old walls. The torches will not last the night. <em>Hold the line.</em></p>
<div class="hero__ctas">
<a href="#contact" class="btn btn--primary">⚔ Wishlist Now</a>
<a href="#gameplay" class="btn">Watch the Trailer</a>
</div>
</div>
<div class="hero__scroll">Descend</div>
</header>
<!-- ============================== STORY ============================== -->
<section class="story" id="story">
<div class="story__bg" id="storyBg">
<svg viewBox="0 0 2880 400" preserveAspectRatio="none">
<g fill="#3a1808">
<rect x="200" y="200" width="80" height="120"/>
<polygon points="200,200 240,160 280,200"/>
<rect x="350" y="220" width="60" height="100"/>
<polygon points="350,220 380,180 410,220"/>
<rect x="500" y="180" width="100" height="140"/>
<polygon points="500,180 550,140 600,180"/>
<rect x="700" y="220" width="70" height="100"/>
<polygon points="700,220 735,180 770,220"/>
<rect x="900" y="200" width="80" height="120"/>
<polygon points="900,200 940,170 980,200"/>
<rect x="1100" y="240" width="60" height="80"/>
<polygon points="1100,240 1130,210 1160,240"/>
<rect x="1300" y="180" width="90" height="140"/>
<polygon points="1300,180 1345,140 1390,180"/>
<rect x="1500" y="220" width="65" height="100"/>
<polygon points="1500,220 1532,185 1565,220"/>
<rect x="1700" y="200" width="75" height="120"/>
<polygon points="1700,200 1737,170 1775,200"/>
<rect x="1900" y="230" width="55" height="90"/>
<polygon points="1900,230 1927,200 1955,230"/>
<rect x="2100" y="190" width="85" height="130"/>
<polygon points="2100,190 2142,155 2185,190"/>
<rect x="2300" y="220" width="70" height="100"/>
<polygon points="2300,220 2335,185 2370,220"/>
<rect x="2500" y="200" width="80" height="120"/>
<polygon points="2500,200 2540,170 2580,200"/>
</g>
</svg>
</div>
<div class="story__grid">
<div class="story__text">
<div class="section-eyebrow reveal">Chapter I</div>
<h2 class="section-title reveal reveal-delay-1">The kingdom <em>fell</em> in a single night.</h2>
<p class="reveal reveal-delay-2">They came as the bells of vespers rang — not from the forest, not from the sea, but from the cemeteries the village had been told to forget. The plague-pits opened. The earth disgorged what should have stayed buried. By dawn there was no kingdom left to mourn.</p>
<p class="reveal reveal-delay-3">You are the last sworn sword of House Vaelos. The keep is half-burned. The walls are crumbling. The horde is endless. And every torch you raise tonight is a torch the dead will see for miles.</p>
<p class="reveal reveal-delay-4"><em>Defend. Upgrade. Outlast. Wave by wave, the night gets darker.</em></p>
</div>
<div class="story__warrior reveal reveal-delay-2">
<div class="warrior-frame" id="warriorFrame">
<svg viewBox="0 0 400 533" preserveAspectRatio="none">
<rect x="2" y="2" width="396" height="529" />
</svg>
<div class="warrior-frame__corner warrior-frame__corner--tl"></div>
<div class="warrior-frame__corner warrior-frame__corner--tr"></div>
<div class="warrior-frame__corner warrior-frame__corner--bl"></div>
<div class="warrior-frame__corner warrior-frame__corner--br"></div>
</div>
<svg class="warrior" viewBox="0 0 200 360" xmlns="http://www.w3.org/2000/svg">
<defs>
<radialGradient id="warriorGlow" cx="50%" cy="50%" r="70%">
<stop offset="0%" stop-color="rgba(255,140,60,.5)"/>
<stop offset="100%" stop-color="rgba(255,140,60,0)"/>
</radialGradient>
</defs>
<!-- glow -->
<ellipse cx="100" cy="320" rx="80" ry="14" fill="url(#warriorGlow)"/>
<!-- cape -->
<path d="M 60 95 Q 30 200 50 320 L 100 310 L 150 320 Q 170 200 140 95 Z" fill="#1a0808" stroke="#3a1010" stroke-width="1"/>
<!-- legs -->
<rect x="85" y="240" width="12" height="80" fill="#0a0a0a"/>
<rect x="103" y="240" width="12" height="80" fill="#0a0a0a"/>
<!-- boots -->
<rect x="80" y="315" width="20" height="10" fill="#1a0d04" stroke="#3a1808" stroke-width="1"/>
<rect x="100" y="315" width="20" height="10" fill="#1a0d04" stroke="#3a1808" stroke-width="1"/>
<!-- torso/armor -->
<path d="M 70 130 L 130 130 L 138 240 L 62 240 Z" fill="#1a0d04"/>
<path d="M 70 130 L 130 130 L 138 240 L 62 240 Z" fill="none" stroke="#d4a017" stroke-width="1.5"/>
<!-- chest emblem -->
<path d="M 100 155 L 110 175 L 100 195 L 90 175 Z" fill="#dc3c1e"/>
<!-- shoulders -->
<ellipse cx="62" cy="135" rx="14" ry="10" fill="#0a0a0a" stroke="#d4a017" stroke-width="1"/>
<ellipse cx="138" cy="135" rx="14" ry="10" fill="#0a0a0a" stroke="#d4a017" stroke-width="1"/>
<!-- arms -->
<rect x="50" y="140" width="14" height="80" fill="#0a0a0a"/>
<rect x="136" y="140" width="14" height="80" fill="#0a0a0a"/>
<!-- shield (left) -->
<path d="M 30 160 Q 30 200 50 230 Q 70 200 70 160 Z" fill="#3a1808" stroke="#d4a017" stroke-width="2"/>
<path d="M 50 175 L 56 195 L 50 215 L 44 195 Z" fill="#dc3c1e"/>
<!-- sword (right) -->
<rect x="156" y="80" width="3" height="140" fill="#9a8870"/>
<rect x="148" y="218" width="20" height="4" fill="#d4a017"/>
<rect x="155" y="222" width="6" height="20" fill="#3a1808"/>
<circle cx="158" cy="245" r="4" fill="#d4a017"/>
<!-- helmet -->
<path d="M 75 95 Q 75 70 100 65 Q 125 70 125 95 L 125 130 L 75 130 Z" fill="#0a0a0a" stroke="#d4a017" stroke-width="1.5"/>
<!-- visor slit (glowing) -->
<rect x="83" y="100" width="34" height="3" fill="#ff8c3c">
<animate attributeName="opacity" values="1;.5;1;1;.4;1" dur="3s" repeatCount="indefinite"/>
</rect>
<!-- helmet crest -->
<path d="M 100 65 L 95 50 L 100 55 L 105 50 Z" fill="#dc3c1e"/>
</svg>
</div>
</div>
</section>
<!-- ============================== GAMEPLAY ============================== -->
<section class="gameplay" id="gameplay">
<div class="gameplay__grid">
<div class="gameplay__head">
<div class="section-eyebrow reveal">Chapter II</div>
<h2 class="section-title reveal reveal-delay-1">How you <em>survive</em>.</h2>
</div>
<div class="wave-counter reveal" id="waveCounter">
<div class="wave-counter__label">Current Wave</div>
<div class="wave-counter__number" data-target="47">0</div>
<div class="wave-counter__sub">…and the night is still young.</div>
</div>
<div class="health-demo reveal reveal-delay-1" id="healthDemo">
<div class="health-demo__label"><span>Keep Integrity</span><span id="healthPct">100%</span></div>
<div class="health-bar"><div class="health-bar__fill" id="healthFill"><div class="health-bar__shine"></div></div></div>
<p class="health-demo__caption">Repair walls between waves. Each breach costs precious gold — and your last good night's sleep.</p>
</div>
<div class="controls reveal" id="controls">
<div class="controls__label">Controls</div>
<div class="controls__grid">
<div class="key" data-key="Q">Q</div>
<div class="key" data-key="W">W</div>
<div class="key" data-key="E">E</div>
<div class="key" data-key="R">R</div>
<div class="key" data-key="F">F</div>
<div class="key" data-key="A">A</div>
<div class="key" data-key="S">S</div>
<div class="key" data-key="D">D</div>
<div class="key" data-key="1">1</div>
<div class="key" data-key="2">2</div>
<div class="key key--wide" data-key=" ">SPACE — Block</div>
</div>
<div class="controls__legend">
<div><strong>WASD</strong> Move</div>
<div><strong>Q</strong> Heavy Strike</div>
<div><strong>E</strong> Torch / Burn</div>
<div><strong>R</strong> Repair Wall</div>
<div><strong>F</strong> Battle Cry</div>
<div><strong>1-2</strong> Switch Weapon</div>
</div>
</div>
<div class="tree reveal reveal-delay-1" id="tree">
<div class="tree__label">Upgrade Tree</div>
<svg class="tree__svg" viewBox="0 0 500 240">
<!-- lines -->
<line x1="250" y1="40" x2="120" y2="120"/>
<line x1="250" y1="40" x2="250" y2="120"/>
<line x1="250" y1="40" x2="380" y2="120"/>
<line x1="120" y1="120" x2="70" y2="200"/>
<line x1="120" y1="120" x2="170" y2="200"/>
<line x1="250" y1="120" x2="220" y2="200"/>
<line x1="250" y1="120" x2="280" y2="200"/>
<line x1="380" y1="120" x2="330" y2="200"/>
<line x1="380" y1="120" x2="430" y2="200"/>
<!-- nodes -->
<circle class="node node--root" cx="250" cy="40" r="14"/>
<text x="250" y="22">CORE</text>
<circle class="node" cx="120" cy="120" r="11"/>
<text x="120" y="105">BLADE</text>
<circle class="node" cx="250" cy="120" r="11"/>
<text x="250" y="105">FIRE</text>
<circle class="node" cx="380" cy="120" r="11"/>
<text x="380" y="105">FAITH</text>
<circle class="node" cx="70" cy="200" r="8"/>
<text x="70" y="222">Reach</text>
<circle class="node" cx="170" cy="200" r="8"/>
<text x="170" y="222">Crit</text>
<circle class="node" cx="220" cy="200" r="8"/>
<text x="220" y="222">Pyre</text>
<circle class="node" cx="280" cy="200" r="8"/>
<text x="280" y="222">Ash</text>
<circle class="node" cx="330" cy="200" r="8"/>
<text x="330" y="222">Mend</text>
<circle class="node" cx="430" cy="200" r="8"/>
<text x="430" y="222">Bless</text>
</svg>
</div>
<div class="mechanics">
<div class="flip-card reveal">
<div class="flip-card__inner">
<div class="flip-card__face">
<svg class="flip-card__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M5 2 L12 11 L17 7 L22 11 L13 22 L2 11 Z"/>
<path d="M12 11 L8 15"/>
</svg>
<div>
<div class="flip-card__title">Wave Combat</div>
<div class="flip-card__hint">Hover →</div>
</div>
</div>
<div class="flip-card__face flip-card__face--back">
<div class="flip-card__title">Wave Combat</div>
<p>Real-time melee against escalating undead formations. Read their lurch, time your parry, and remember — they don't tire.</p>
</div>
</div>
</div>
<div class="flip-card reveal reveal-delay-1">
<div class="flip-card__inner">
<div class="flip-card__face">
<svg class="flip-card__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M12 2 C 8 8 14 10 12 14 C 9 10 16 8 12 2 Z"/>
<path d="M7 14 C 5 18 9 22 12 22 C 15 22 19 18 17 14 C 16 17 13 18 12 17 C 11 18 8 17 7 14 Z"/>
</svg>
<div>
<div class="flip-card__title">Pyre System</div>
<div class="flip-card__hint">Hover →</div>
</div>
</div>
<div class="flip-card__face flip-card__face--back">
<div class="flip-card__title">Pyre System</div>
<p>Light braziers across the keep to slow the horde. Fire spreads. So does the smoke. So does the visibility for the next wave.</p>
</div>
</div>
</div>
<div class="flip-card reveal reveal-delay-2">
<div class="flip-card__inner">
<div class="flip-card__face">
<svg class="flip-card__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<circle cx="12" cy="12" r="9"/>
<path d="M12 3 L12 21 M3 12 L21 12"/>
<circle cx="12" cy="12" r="3"/>
</svg>
<div>
<div class="flip-card__title">Three Paths</div>
<div class="flip-card__hint">Hover →</div>
</div>
</div>
<div class="flip-card__face flip-card__face--back">
<div class="flip-card__title">Three Paths</div>
<p>Specialize in <em>Blade</em>, <em>Fire</em>, or <em>Faith</em>. Mix and match each run. No path saves you alone.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================== GALLERY ============================== -->
<section class="gallery" id="gallery">
<div class="gallery__head">
<div class="section-eyebrow reveal">Chapter III</div>
<h2 class="section-title reveal reveal-delay-1">Scenes from the <em>siege</em>.</h2>
</div>
<div class="gallery__grid" id="galleryGrid">
<!-- Gallery tiles use inline SVG illustrations -->
<div class="tile tile--a reveal" data-cap="The First Breach" data-sub="Wave 03 — East Gate">
<svg viewBox="0 0 600 400" preserveAspectRatio="xMidYMid slice">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#3a1808"/>
<stop offset=".6" stop-color="#1a0a04"/>
<stop offset="1" stop-color="#0d0d0d"/>
</linearGradient>
<radialGradient id="moon1" cx="80%" cy="20%" r="20%">
<stop offset="0" stop-color="#d4a017"/>
<stop offset="1" stop-color="rgba(212,160,23,0)"/>
</radialGradient>
</defs>
<rect width="600" height="400" fill="url(#g1)"/>
<circle cx="480" cy="80" r="35" fill="#d4a017" opacity=".7"/>
<circle cx="480" cy="80" r="100" fill="url(#moon1)"/>
<!-- gate -->
<polygon points="0,400 0,200 80,160 150,180 220,140 280,160 280,400" fill="#000"/>
<rect x="200" y="220" width="80" height="180" fill="#1a0d08" stroke="#5a2818" stroke-width="2"/>
<path d="M 200 280 L 280 220 M 200 220 L 280 280" stroke="#3a1808" stroke-width="3"/>
<!-- silhouette warriors -->
<polygon points="320,400 320,310 330,290 350,310 350,400" fill="#000"/>
<line x1="335" y1="290" x2="335" y2="240" stroke="#d4a017" stroke-width="2"/>
<polygon points="400,400 400,320 412,300 432,320 432,400" fill="#000"/>
<!-- zombies -->
<g fill="#1a0808">
<path d="M 480 400 L 480 350 L 475 340 L 485 340 L 490 350 L 490 400 Z"/>
<path d="M 520 400 L 520 360 L 515 350 L 525 350 L 530 360 L 530 400 Z"/>
<path d="M 560 400 L 560 355 L 555 345 L 565 345 L 570 355 L 570 400 Z"/>
</g>
<!-- embers -->
<circle cx="350" cy="200" r="2" fill="#ff8c3c"/>
<circle cx="380" cy="180" r="1.5" fill="#ff8c3c"/>
<circle cx="420" cy="220" r="2" fill="#dc3c1e"/>
<circle cx="450" cy="160" r="1.5" fill="#ff8c3c"/>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The First Breach</div>
<div class="tile__subcap">Wave 03 — East Gate</div>
</div>
</div>
<div class="tile tile--b reveal reveal-delay-1" data-cap="The Burning Wall" data-sub="Defense — Night II">
<svg viewBox="0 0 600 300" preserveAspectRatio="xMidYMid slice">
<defs>
<linearGradient id="g2" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#2a0a04"/>
<stop offset=".5" stop-color="#5a1808"/>
<stop offset="1" stop-color="#1a0808"/>
</linearGradient>
</defs>
<rect width="600" height="300" fill="url(#g2)"/>
<!-- wall -->
<rect x="0" y="160" width="600" height="140" fill="#0a0606"/>
<g fill="#1a0d08" stroke="#000" stroke-width="1">
<rect x="20" y="170" width="60" height="40"/>
<rect x="90" y="180" width="50" height="30"/>
<rect x="150" y="170" width="55" height="40"/>
<rect x="215" y="180" width="60" height="30"/>
<rect x="285" y="170" width="50" height="40"/>
<rect x="345" y="175" width="55" height="35"/>
<rect x="410" y="170" width="60" height="40"/>
<rect x="480" y="180" width="50" height="30"/>
<rect x="540" y="170" width="50" height="40"/>
</g>
<!-- battlements -->
<g fill="#0a0606">
<rect x="0" y="155" width="20" height="15"/>
<rect x="40" y="155" width="20" height="15"/>
<rect x="80" y="155" width="20" height="15"/>
<rect x="120" y="155" width="20" height="15"/>
<rect x="160" y="155" width="20" height="15"/>
<rect x="200" y="155" width="20" height="15"/>
<rect x="240" y="155" width="20" height="15"/>
<rect x="280" y="155" width="20" height="15"/>
<rect x="320" y="155" width="20" height="15"/>
<rect x="360" y="155" width="20" height="15"/>
<rect x="400" y="155" width="20" height="15"/>
<rect x="440" y="155" width="20" height="15"/>
<rect x="480" y="155" width="20" height="15"/>
<rect x="520" y="155" width="20" height="15"/>
<rect x="560" y="155" width="20" height="15"/>
</g>
<!-- fire -->
<g>
<ellipse cx="180" cy="140" rx="25" ry="40" fill="#dc3c1e" opacity=".7"/>
<ellipse cx="180" cy="140" rx="15" ry="30" fill="#ff8c3c"/>
<ellipse cx="180" cy="140" rx="8" ry="20" fill="#d4a017"/>
<ellipse cx="380" cy="130" rx="30" ry="50" fill="#dc3c1e" opacity=".7"/>
<ellipse cx="380" cy="130" rx="18" ry="36" fill="#ff8c3c"/>
<ellipse cx="380" cy="130" rx="10" ry="22" fill="#d4a017"/>
<ellipse cx="520" cy="145" rx="22" ry="36" fill="#dc3c1e" opacity=".7"/>
<ellipse cx="520" cy="145" rx="13" ry="26" fill="#ff8c3c"/>
</g>
<!-- embers -->
<g fill="#ff8c3c">
<circle cx="200" cy="80" r="1.5"/>
<circle cx="220" cy="60" r="1"/>
<circle cx="400" cy="70" r="1.5"/>
<circle cx="380" cy="50" r="1"/>
<circle cx="540" cy="80" r="1.5"/>
</g>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Burning Wall</div>
<div class="tile__subcap">Defense — Night II</div>
</div>
</div>
<div class="tile tile--c reveal reveal-delay-2" data-cap="The Necromancer" data-sub="Boss — Wave 25">
<svg viewBox="0 0 400 400" preserveAspectRatio="xMidYMid slice">
<defs>
<radialGradient id="g3" cx="50%" cy="40%" r="60%">
<stop offset="0" stop-color="#3a0e2a"/>
<stop offset="1" stop-color="#0a0606"/>
</radialGradient>
</defs>
<rect width="400" height="400" fill="url(#g3)"/>
<!-- robe figure -->
<path d="M 200 130 Q 130 250 120 400 L 280 400 Q 270 250 200 130 Z" fill="#0a0606"/>
<!-- hood -->
<path d="M 160 130 Q 200 80 240 130 L 240 180 L 160 180 Z" fill="#000"/>
<!-- glowing eyes -->
<circle cx="185" cy="150" r="3" fill="#dc3c1e">
<animate attributeName="opacity" values="1;.4;1" dur="2s" repeatCount="indefinite"/>
</circle>
<circle cx="215" cy="150" r="3" fill="#dc3c1e">
<animate attributeName="opacity" values="1;.4;1" dur="2s" repeatCount="indefinite"/>
</circle>
<!-- staff -->
<line x1="290" y1="100" x2="270" y2="380" stroke="#3a1808" stroke-width="4"/>
<circle cx="290" cy="100" r="14" fill="#dc3c1e" opacity=".6"/>
<circle cx="290" cy="100" r="8" fill="#ff8c3c"/>
<!-- magic -->
<g opacity=".7">
<circle cx="290" cy="100" r="20" fill="none" stroke="#dc3c1e" stroke-width="1">
<animate attributeName="r" values="20;40;20" dur="3s" repeatCount="indefinite"/>
<animate attributeName="opacity" values=".7;0;.7" dur="3s" repeatCount="indefinite"/>
</circle>
</g>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Necromancer</div>
<div class="tile__subcap">Boss — Wave 25</div>
</div>
</div>
<div class="tile tile--d reveal reveal-delay-3" data-cap="The Last Torch" data-sub="The Hour Before Dawn">
<svg viewBox="0 0 400 600" preserveAspectRatio="xMidYMid slice">
<defs>
<linearGradient id="g4" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#08060a"/>
<stop offset=".7" stop-color="#1a0808"/>
<stop offset="1" stop-color="#0d0d0d"/>
</linearGradient>
<radialGradient id="torchglow" cx="50%" cy="40%" r="50%">
<stop offset="0" stop-color="rgba(255,140,60,.6)"/>
<stop offset="1" stop-color="rgba(255,140,60,0)"/>
</radialGradient>
</defs>
<rect width="400" height="600" fill="url(#g4)"/>
<ellipse cx="200" cy="240" rx="200" ry="200" fill="url(#torchglow)"/>
<!-- warrior central -->
<g>
<path d="M 170 580 L 170 380 Q 160 360 180 350 L 220 350 Q 240 360 230 380 L 230 580 Z" fill="#000"/>
<!-- head -->
<ellipse cx="200" cy="340" rx="18" ry="22" fill="#0a0a0a" stroke="#d4a017" stroke-width="1"/>
<rect x="190" y="335" width="20" height="3" fill="#ff8c3c"/>
<!-- torch arm -->
<line x1="220" y1="380" x2="280" y2="280" stroke="#000" stroke-width="10"/>
<rect x="275" y="240" width="10" height="50" fill="#3a1808"/>
<ellipse cx="280" cy="230" rx="20" ry="40" fill="#dc3c1e" opacity=".8"/>
<ellipse cx="280" cy="230" rx="12" ry="28" fill="#ff8c3c"/>
<ellipse cx="280" cy="225" rx="6" ry="16" fill="#fff8e0"/>
</g>
<!-- distant zombies -->
<g fill="#000" opacity=".8">
<rect x="50" y="540" width="6" height="40"/>
<rect x="80" y="555" width="5" height="30"/>
<rect x="320" y="545" width="6" height="40"/>
<rect x="350" y="560" width="5" height="25"/>
<rect x="20" y="555" width="5" height="30"/>
<rect x="370" y="555" width="5" height="30"/>
</g>
<!-- embers -->
<g fill="#ff8c3c">
<circle cx="280" cy="180" r="2"/>
<circle cx="290" cy="150" r="1.5"/>
<circle cx="270" cy="120" r="1"/>
<circle cx="300" cy="100" r="1.5"/>
</g>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Last Torch</div>
<div class="tile__subcap">The Hour Before Dawn</div>
</div>
</div>
<div class="tile tile--e reveal" data-cap="The Forgotten Crypt" data-sub="Map — Whispering Hollows">
<svg viewBox="0 0 400 400" preserveAspectRatio="xMidYMid slice">
<defs>
<linearGradient id="g5" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#1a1810"/>
<stop offset="1" stop-color="#0a0606"/>
</linearGradient>
</defs>
<rect width="400" height="400" fill="url(#g5)"/>
<!-- crypt -->
<rect x="120" y="180" width="160" height="160" fill="#2a1808" stroke="#5a2818" stroke-width="2"/>
<path d="M 110 180 L 200 100 L 290 180 Z" fill="#1a0d08" stroke="#5a2818" stroke-width="2"/>
<!-- door -->
<rect x="170" y="240" width="60" height="100" fill="#000"/>
<path d="M 180 250 L 220 290 M 180 290 L 220 250" stroke="#d4a017" stroke-width="1"/>
<!-- glow from door -->
<ellipse cx="200" cy="340" rx="60" ry="20" fill="#ff8c3c" opacity=".3"/>
<!-- tombstones -->
<g fill="#1a0d08" stroke="#5a2818">
<path d="M 40 360 L 40 320 Q 40 305 55 305 Q 70 305 70 320 L 70 360 Z"/>
<path d="M 330 360 L 330 320 Q 330 305 345 305 Q 360 305 360 320 L 360 360 Z"/>
<path d="M 90 380 L 90 350 Q 90 340 100 340 Q 110 340 110 350 L 110 380 Z"/>
<path d="M 290 375 L 290 345 Q 290 335 300 335 Q 310 335 310 345 L 310 375 Z"/>
</g>
<!-- fog -->
<ellipse cx="200" cy="380" rx="200" ry="20" fill="#3a1808" opacity=".5"/>
<!-- bats -->
<path d="M 80 80 q 5 -3 10 0 q -5 -2 -10 0 z" fill="#000"/>
<path d="M 330 60 q 5 -3 10 0 q -5 -2 -10 0 z" fill="#000"/>
<path d="M 250 110 q 5 -3 10 0 q -5 -2 -10 0 z" fill="#000"/>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Forgotten Crypt</div>
<div class="tile__subcap">Map — Whispering Hollows</div>
</div>
</div>
<div class="tile tile--f reveal reveal-delay-1" data-cap="The Horde Approaches" data-sub="Wave 12 — Open Field">
<svg viewBox="0 0 600 300" preserveAspectRatio="xMidYMid slice">
<defs>
<linearGradient id="g6" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#3a1808"/>
<stop offset=".7" stop-color="#5a2010"/>
<stop offset="1" stop-color="#1a0808"/>
</linearGradient>
</defs>
<rect width="600" height="300" fill="url(#g6)"/>
<circle cx="300" cy="80" r="40" fill="#dc3c1e" opacity=".5"/>
<circle cx="300" cy="80" r="20" fill="#ff8c3c"/>
<!-- ground -->
<rect x="0" y="220" width="600" height="80" fill="#0a0606"/>
<!-- approaching horde silhouettes -->
<g fill="#000">
<path d="M 50 270 L 50 235 L 47 230 L 53 230 L 56 235 L 56 270 Z"/>
<path d="M 90 270 L 90 230 L 87 225 L 93 225 L 96 230 L 96 270 Z"/>
<path d="M 130 270 L 130 240 L 127 235 L 133 235 L 136 240 L 136 270 Z"/>
<path d="M 170 270 L 170 230 L 167 225 L 173 225 L 176 230 L 176 270 Z"/>
<path d="M 210 270 L 210 240 L 207 235 L 213 235 L 216 240 L 216 270 Z"/>
<path d="M 250 270 L 250 232 L 247 227 L 253 227 L 256 232 L 256 270 Z"/>
<path d="M 290 270 L 290 235 L 287 230 L 293 230 L 296 235 L 296 270 Z"/>
<path d="M 330 270 L 330 230 L 327 225 L 333 225 L 336 230 L 336 270 Z"/>
<path d="M 370 270 L 370 235 L 367 230 L 373 230 L 376 235 L 376 270 Z"/>
<path d="M 410 270 L 410 230 L 407 225 L 413 225 L 416 230 L 416 270 Z"/>
<path d="M 450 270 L 450 240 L 447 235 L 453 235 L 456 240 L 456 270 Z"/>
<path d="M 490 270 L 490 232 L 487 227 L 493 227 L 496 232 L 496 270 Z"/>
<path d="M 530 270 L 530 235 L 527 230 L 533 230 L 536 235 L 536 270 Z"/>
<path d="M 570 270 L 570 240 L 567 235 L 573 235 L 576 240 L 576 270 Z"/>
</g>
<!-- further row -->
<g fill="#000" opacity=".6">
<rect x="60" y="200" width="4" height="22"/>
<rect x="110" y="198" width="4" height="24"/>
<rect x="160" y="200" width="4" height="22"/>
<rect x="220" y="198" width="4" height="24"/>
<rect x="270" y="200" width="4" height="22"/>
<rect x="340" y="198" width="4" height="24"/>
<rect x="400" y="200" width="4" height="22"/>
<rect x="460" y="198" width="4" height="24"/>
<rect x="520" y="200" width="4" height="22"/>
</g>
<!-- mist -->
<ellipse cx="300" cy="280" rx="300" ry="20" fill="#dc3c1e" opacity=".25"/>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Horde Approaches</div>
<div class="tile__subcap">Wave 12 — Open Field</div>
</div>
</div>
<div class="tile tile--g reveal reveal-delay-2" data-cap="The Armory" data-sub="Forge between Waves">
<svg viewBox="0 0 600 300" preserveAspectRatio="xMidYMid slice">
<defs>
<radialGradient id="g7" cx="50%" cy="60%" r="60%">
<stop offset="0" stop-color="#5a2010"/>
<stop offset="1" stop-color="#0d0d0d"/>
</radialGradient>
</defs>
<rect width="600" height="300" fill="url(#g7)"/>
<!-- anvil -->
<path d="M 240 220 L 360 220 L 350 200 L 250 200 Z" fill="#1a0d08" stroke="#5a2818" stroke-width="2"/>
<rect x="270" y="220" width="60" height="50" fill="#0a0606"/>
<rect x="260" y="270" width="80" height="10" fill="#1a0d08"/>
<!-- forge fire -->
<ellipse cx="300" cy="195" rx="50" ry="20" fill="#dc3c1e" opacity=".5"/>
<ellipse cx="300" cy="195" rx="35" ry="12" fill="#ff8c3c"/>
<ellipse cx="300" cy="195" rx="20" ry="6" fill="#fff8e0"/>
<!-- swords on wall -->
<g stroke="#9a8870" stroke-width="2">
<line x1="80" y1="60" x2="80" y2="160"/>
<line x1="120" y1="60" x2="120" y2="160"/>
<line x1="500" y1="60" x2="500" y2="160"/>
<line x1="540" y1="60" x2="540" y2="160"/>
</g>
<g fill="#d4a017">
<rect x="70" y="158" width="20" height="3"/>
<rect x="110" y="158" width="20" height="3"/>
<rect x="490" y="158" width="20" height="3"/>
<rect x="530" y="158" width="20" height="3"/>
</g>
<!-- shield -->
<path d="M 175 80 Q 175 130 200 160 Q 225 130 225 80 Z" fill="#3a1808" stroke="#d4a017" stroke-width="2"/>
<path d="M 200 95 L 210 120 L 200 145 L 190 120 Z" fill="#dc3c1e"/>
<path d="M 425 80 Q 425 130 450 160 Q 475 130 475 80 Z" fill="#3a1808" stroke="#d4a017" stroke-width="2"/>
<path d="M 450 95 L 460 120 L 450 145 L 440 120 Z" fill="#dc3c1e"/>
<!-- embers -->
<g fill="#ff8c3c">
<circle cx="290" cy="160" r="2"/>
<circle cx="310" cy="140" r="1.5"/>
<circle cx="320" cy="120" r="1"/>
<circle cx="280" cy="120" r="1.5"/>
</g>
</svg>
<div class="tile__overlay">
<div class="tile__caption">The Armory</div>
<div class="tile__subcap">Forge between Waves</div>
</div>
</div>
</div>
</section>
<!-- ============================== LIGHTBOX ============================== -->
<div class="lightbox" id="lightbox">
<div class="lightbox__stage">
<button class="lightbox__close" id="lbClose" aria-label="Close">×</button>
<button class="lightbox__nav lightbox__nav--prev" id="lbPrev" aria-label="Previous">‹</button>
<button class="lightbox__nav lightbox__nav--next" id="lbNext" aria-label="Next">›</button>
<div id="lbContent"></div>
<div class="lightbox__caption" id="lbCaption"></div>
</div>
</div>
<!-- ============================== STATS ============================== -->
<section class="stats" id="stats">
<div class="stats__pattern"></div>
<div style="max-width:1280px;margin:0 auto;text-align:center;margin-bottom:60px;position:relative;z-index:1;">
<div class="section-eyebrow reveal">Chapter IV</div>
<h2 class="section-title reveal reveal-delay-1">What <em>awaits</em> you.</h2>
</div>
<div class="stats__grid">
<div class="stat reveal">
<svg class="stat__icon stat__icon--pulse" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M12 2 L15 9 L22 10 L17 15 L18 22 L12 18 L6 22 L7 15 L2 10 L9 9 Z"/>
</svg>
<div class="stat__number" data-target="6" data-suffix="+">0</div>
<div class="stat__label">Enemy Types</div>
</div>
<div class="stat reveal reveal-delay-1">
<svg class="stat__icon stat__icon--rotate" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<circle cx="12" cy="12" r="9"/>
<path d="M12 3 L12 21 M3 12 L21 12 M5 5 L19 19 M19 5 L5 19"/>
</svg>
<div class="stat__number" data-target="3">0</div>
<div class="stat__label">Upgrade Paths</div>
</div>
<div class="stat reveal reveal-delay-2">
<svg class="stat__icon stat__icon--bob" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M3 12 C 6 6 9 18 12 12 S 18 6 21 12"/>
<path d="M3 17 C 6 11 9 23 12 17 S 18 11 21 17"/>
</svg>
<div class="stat__number" data-target="999" data-suffix="+">0</div>
<div class="stat__label">Endless Waves</div>
</div>
<div class="stat reveal reveal-delay-3">
<svg class="stat__icon stat__icon--flicker" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
<path d="M12 2 C 8 8 14 10 12 14 C 9 10 16 8 12 2 Z"/>
<path d="M7 14 C 5 18 9 22 12 22 C 15 22 19 18 17 14 C 16 17 13 18 12 17 C 11 18 8 17 7 14 Z"/>
</svg>
<div class="stat__number" data-target="42">0</div>
<div class="stat__label">Weapons & Relics</div>
</div>
</div>
</section>
<!-- ============================== CONTACT ============================== -->
<section class="contact" id="contact">
<div class="contact__inner">
<div class="contact__head">
<div class="section-eyebrow reveal">Chapter V</div>
<h2 class="section-title reveal reveal-delay-1">Enlist for the <em>vigil</em>.</h2>
<p class="reveal reveal-delay-2" style="color:var(--muted);font-style:italic;">Beta keys for sworn defenders. Receive the horn-call when the gates open.</p>
</div>
<form class="contact__form" id="contactForm" novalidate>
<div class="field field--reveal">
<label for="cname">Your Sworn Name</label>
<input id="cname" type="text" required autocomplete="name" />
</div>
<div class="field field--reveal">
<label for="cemail">Raven Address</label>
<input id="cemail" type="email" required autocomplete="email" />
</div>
<div class="field field--reveal">
<label for="cmsg">Pledge / Question</label>
<textarea id="cmsg" rows="4"></textarea>
</div>
<div class="submit-wrap field--reveal">
<button type="submit" class="btn btn--primary contact__submit" id="submitBtn">⚔ Send the Pigeon</button>
</div>
<div class="contact__msg" id="contactMsg">⚔ Vigil registered. Watch the skies for the raven.</div>
</form>
</div>
</section>
<!-- ============================== FOOTER ============================== -->
<footer class="footer">
<div class="footer__texture"></div>
<div class="torch torch--left">
<div class="torch__flame torch__flame--inner"></div>
<div class="torch__flame"></div>
<div class="torch__stick"></div>
</div>
<div class="torch torch--right">
<div class="torch__flame torch__flame--inner"></div>
<div class="torch__flame"></div>
<div class="torch__stick"></div>
</div>
<div class="footer__inner">
<div class="footer__brand">
<h3>ZOMBIE SIEGE PROTOCOL</h3>
<p>A medieval wave defense. Coming when the kingdom is ready — and not a moment sooner.</p>
<div class="footer__social" style="margin-top:24px;">
<a href="#" aria-label="Discord">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M20 4 C 18 3 15.5 2.5 15.5 2.5 L 15.2 2.9 C 17.2 3.4 18.4 4.2 18.4 4.2 C 14.5 2.5 9.5 2.5 5.6 4.2 C 5.6 4.2 6.8 3.4 8.8 2.9 L 8.5 2.5 C 8.5 2.5 6 3 4 4 C 2 7 1.5 13 2.5 18 C 4.5 19.5 7 20 7 20 L 7.7 18.8 C 6.5 18.4 5.4 17.7 5.4 17.7 C 5.7 17.9 6 18 6.3 18.2 C 9.2 19.6 12.5 19.6 15.7 18.2 C 16 18 16.3 17.9 16.6 17.7 C 16.6 17.7 15.5 18.4 14.3 18.8 L 15 20 C 15 20 17.5 19.5 19.5 18 C 20.5 13 20 7 20 4 Z M 9 14 C 8 14 7 13 7 12 C 7 11 8 10 9 10 C 10 10 11 11 11 12 C 11 13 10 14 9 14 Z M 15 14 C 14 14 13 13 13 12 C 13 11 14 10 15 10 C 16 10 17 11 17 12 C 17 13 16 14 15 14 Z"/></svg>
</a>
<a href="#" aria-label="Twitter">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M22 4 C 21 4.5 20 4.8 19 5 C 18 4 16.5 3.5 15 3.5 C 12 3.5 10 6 10 8.5 L 10 9.5 C 7 9.3 4 7.5 2 5 C 1.5 6 1.5 7 2 8 C 2.5 9 3.5 10 4.5 10.5 C 3.5 10.5 2.8 10.2 2 10 C 2 12.5 4 14.5 6.5 15 C 6 15 5.5 15 5 15 C 5.5 17 7.5 18.5 10 18.5 C 8 20 5.5 21 3 21 C 5 22 7.5 22.5 10 22.5 C 17 22.5 20.5 16.5 20.5 11 L 20.5 10.5 C 21.3 10 22 9 22 8 C 21.3 8.3 20.5 8.5 20 8.5 C 21 8 21.5 7 22 6 C 21.3 6.5 20.5 6.8 19.5 7 C 20.5 6 21.5 5 22 4 Z"/></svg>
</a>
<a href="#" aria-label="YouTube">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M22 7 C 22 5 20 4 18 4 L 6 4 C 4 4 2 5 2 7 L 2 17 C 2 19 4 20 6 20 L 18 20 C 20 20 22 19 22 17 Z M 10 16 L 10 8 L 16 12 Z"/></svg>
</a>
<a href="#" aria-label="Steam">
<svg viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="12" r="10"/><circle cx="15" cy="9" r="2.5" fill="#0d0d0d"/><circle cx="9" cy="14" r="2" fill="#0d0d0d"/></svg>
</a>
</div>
</div>
<div class="footer__col">
<h4>The Game</h4>
<ul>
<li><a href="#story">Lore</a></li>
<li><a href="#gameplay">Gameplay</a></li>
<li><a href="#gallery">Gallery</a></li>
<li><a href="#stats">Features</a></li>
</ul>
</div>
<div class="footer__col">
<h4>The Guild</h4>
<ul>
<li><a href="#">Press Kit</a></li>
<li><a href="#">Wishlist</a></li>
<li><a href="#">Devlog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
<div class="footer__bottom">
© House Vaelos — All rights reserved. <span style="color:var(--orange);">⚔</span> Type SIEGE for an old vow.
</div>
</footer>
<!-- ============================================================
SCRIPTS
============================================================ -->
<script>
'use strict';
// =========== CURTAIN OPEN ===========
window.addEventListener('load', () => {
setTimeout(() => document.getElementById('curtain').classList.add('is-open'), 200);
setTimeout(() => document.getElementById('curtain').remove(), 2000);
initTypewriter();
});
// =========== CUSTOM CURSOR ===========
const cursor = document.getElementById('cursor');
const isCoarse = window.matchMedia('(hover: none), (pointer: coarse)').matches;
let mouseX = window.innerWidth/2, mouseY = window.innerHeight/2;
let cursorX = mouseX, cursorY = mouseY;
if (!isCoarse) {
document.addEventListener('mousemove', e => {
mouseX = e.clientX; mouseY = e.clientY;
// Spawn spark occasionally
if (Math.random() < 0.3) spawnSpark(e.clientX, e.clientY);
}, { passive: true });
document.addEventListener('mousedown', () => cursor.classList.add('is-click'));
document.addEventListener('mouseup', () => cursor.classList.remove('is-click'));
(function loop() {
cursorX += (mouseX - cursorX) * 0.25;
cursorY += (mouseY - cursorY) * 0.25;
cursor.style.transform = `translate(${cursorX}px, ${cursorY}px) translate(-50%, -50%) rotate(-35deg)`;
requestAnimationFrame(loop);
})();
}
function spawnSpark(x, y) {
const s = document.createElement('div');
s.className = 'spark';
s.style.left = (x - 2 + (Math.random()-.5)*8) + 'px';
s.style.top = (y - 2 + (Math.random()-.5)*8) + 'px';
document.body.appendChild(s);
const dx = (Math.random()-.5) * 30;
const dy = 10 + Math.random()*20;
s.animate([
{ transform: 'translate(0,0) scale(1)', opacity: .9 },