-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
919 lines (806 loc) · 26.7 KB
/
Copy pathindex.html
File metadata and controls
919 lines (806 loc) · 26.7 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Abdo HM – Writer · Traveler · Dreamer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500&family=Noto+Naskh+Arabic:wght@400;500&display=swap" rel="stylesheet">
<style>
:root {
--ink: #0d0c0b;
--ash: #1a1917;
--smoke: #2a2825;
--dust: #3d3a35;
--fog: #6b6560;
--mist: #9c948a;
--paper: #c8bfb0;
--cream: #e8dfd0;
--gold: #c8a96e;
--gold-light: #e2c98a;
--white: #f5f0e8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
background: var(--ink);
color: var(--cream);
font-family: 'Montserrat', sans-serif;
font-weight: 300;
overflow-x: hidden;
cursor: default;
}
/* ── NOISE OVERLAY ── */
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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
pointer-events: none;
z-index: 9999;
opacity: 0.6;
}
/* ── NAVIGATION ── */
nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
padding: 28px 60px;
background: linear-gradient(to bottom, rgba(13,12,11,0.95), transparent);
}
.nav-logo {
font-family: 'Cormorant Garamond', serif;
font-size: 22px;
font-weight: 300;
letter-spacing: 0.15em;
color: var(--gold);
text-decoration: none;
}
.nav-links {
display: flex;
gap: 40px;
list-style: none;
}
.nav-links a {
font-size: 10px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--mist);
text-decoration: none;
transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
/* ── HERO ── */
.hero {
position: relative;
height: 100vh;
display: flex;
align-items: flex-end;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
background:
linear-gradient(to bottom, rgba(13,12,11,0.3) 0%, rgba(13,12,11,0.1) 30%, rgba(13,12,11,0.7) 70%, rgba(13,12,11,1) 100%),
linear-gradient(to right, rgba(13,12,11,0.8) 0%, transparent 60%);
z-index: 1;
}
.hero-image {
position: absolute;
inset: 0;
background: url('/mnt/user-data/uploads/final_pic_walp.jpg') center/cover no-repeat;
transform: scale(1.05);
animation: slowZoom 20s ease-out forwards;
}
@keyframes slowZoom {
to { transform: scale(1); }
}
.hero-content {
position: relative;
z-index: 2;
padding: 0 60px 80px;
max-width: 700px;
animation: heroFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
animation-delay: 0.3s;
}
@keyframes heroFadeUp {
from { opacity: 0; transform: translateY(40px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
font-size: 9px;
letter-spacing: 0.35em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 12px;
}
.hero-tag::before {
content: '';
width: 40px;
height: 1px;
background: var(--gold);
}
.hero-name {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(56px, 8vw, 100px);
font-weight: 300;
line-height: 0.9;
color: var(--white);
margin-bottom: 8px;
}
.hero-name em {
font-style: italic;
color: var(--gold-light);
}
.hero-sub {
font-size: 11px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--fog);
margin-top: 24px;
margin-bottom: 40px;
}
.hero-scroll {
display: flex;
align-items: center;
gap: 12px;
font-size: 9px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--fog);
text-decoration: none;
transition: color 0.3s;
}
.hero-scroll:hover { color: var(--gold); }
.scroll-line {
width: 1px;
height: 50px;
background: linear-gradient(to bottom, var(--gold), transparent);
animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
/* ── SECTION BASE ── */
section {
padding: 120px 60px;
max-width: 1200px;
margin: 0 auto;
}
.section-label {
font-size: 9px;
letter-spacing: 0.4em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 12px;
}
.section-label::after {
content: '';
flex: 1;
max-width: 60px;
height: 1px;
background: var(--gold);
opacity: 0.5;
}
.section-title {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(36px, 5vw, 64px);
font-weight: 300;
line-height: 1.1;
color: var(--white);
margin-bottom: 32px;
}
.section-title em {
font-style: italic;
color: var(--gold-light);
}
/* ── ABOUT ── */
.about-grid {
display: grid;
grid-template-columns: 1fr;
max-width: 700px;
gap: 48px;
}
.about-text p {
color: var(--mist);
font-size: 15px;
line-height: 1.9;
margin-bottom: 20px;
}
.about-text p:first-child {
font-family: 'Cormorant Garamond', serif;
font-size: 22px;
font-weight: 300;
color: var(--paper);
line-height: 1.6;
font-style: italic;
}
.about-visual {
position: relative;
}
.about-portrait {
width: 100%;
aspect-ratio: 3/4;
object-fit: cover;
filter: grayscale(30%) contrast(1.1);
}
.portrait-placeholder {
width: 100%;
aspect-ratio: 3/4;
background: var(--smoke);
border: 1px solid var(--dust);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 16px;
color: var(--fog);
}
.portrait-placeholder span {
font-size: 10px;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.about-frame {
position: absolute;
top: 20px; left: 20px; right: -20px; bottom: -20px;
border: 1px solid var(--dust);
z-index: -1;
}
.stats-row {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
background: var(--dust);
border: 1px solid var(--dust);
margin-top: 48px;
}
.stat {
background: var(--ash);
padding: 28px 24px;
text-align: center;
}
.stat-num {
font-family: 'Cormorant Garamond', serif;
font-size: 42px;
font-weight: 300;
color: var(--gold);
line-height: 1;
}
.stat-label {
font-size: 9px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--fog);
margin-top: 8px;
}
/* ── BOOK SECTION ── */
.book-section {
background: var(--ash);
padding: 120px 0;
position: relative;
overflow: hidden;
}
.book-section::before {
content: '"';
position: absolute;
top: -40px;
right: 60px;
font-family: 'Cormorant Garamond', serif;
font-size: 400px;
color: var(--smoke);
line-height: 1;
pointer-events: none;
}
.book-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 60px;
}
.book-grid {
display: grid;
grid-template-columns: 1fr;
max-width: 700px;
gap: 40px;
}
.book-cover-wrap {
position: relative;
}
.book-cover {
width: 100%;
max-width: 400px;
box-shadow:
-20px 20px 60px rgba(0,0,0,0.8),
-2px 2px 0 rgba(255,255,255,0.03);
transform: perspective(1000px) rotateY(5deg);
transition: transform 0.6s ease;
}
.book-cover:hover {
transform: perspective(1000px) rotateY(0deg);
}
.book-glow {
position: absolute;
bottom: -30px;
left: 0;
right: 0;
height: 60px;
background: radial-gradient(ellipse, rgba(200,169,110,0.15), transparent 70%);
filter: blur(10px);
}
.book-info {
position: relative;
z-index: 1;
}
.book-arabic-title {
font-family: 'Noto Naskh Arabic', serif;
font-size: 36px;
color: var(--gold-light);
margin-bottom: 8px;
direction: rtl;
}
.book-english-title {
font-family: 'Cormorant Garamond', serif;
font-size: 18px;
font-style: italic;
color: var(--fog);
margin-bottom: 40px;
}
.book-desc p {
color: var(--mist);
font-size: 14px;
line-height: 1.9;
margin-bottom: 20px;
}
.book-quote {
border-left: 2px solid var(--gold);
padding: 20px 28px;
margin: 36px 0;
background: rgba(200,169,110,0.04);
}
.book-quote p {
font-family: 'Cormorant Garamond', serif;
font-size: 20px;
font-style: italic;
color: var(--paper);
line-height: 1.6;
}
.book-quote cite {
display: block;
font-family: 'Montserrat', sans-serif;
font-size: 10px;
letter-spacing: 0.2em;
color: var(--fog);
margin-top: 12px;
font-style: normal;
}
.btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 14px 36px;
font-size: 10px;
letter-spacing: 0.3em;
text-transform: uppercase;
text-decoration: none;
transition: all 0.3s;
}
.btn-gold {
background: var(--gold);
color: var(--ink);
}
.btn-gold:hover {
background: var(--gold-light);
}
.btn-outline {
border: 1px solid var(--dust);
color: var(--mist);
margin-left: 16px;
}
.btn-outline:hover {
border-color: var(--gold);
color: var(--gold);
}
/* ── QUOTES ── */
.quotes-section {
position: relative;
}
.quotes-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
background: var(--dust);
border: 1px solid var(--dust);
margin-top: 60px;
}
.quote-card {
background: var(--ink);
padding: 48px 36px;
transition: background 0.3s;
}
.quote-card:hover {
background: var(--ash);
}
.quote-num {
font-family: 'Cormorant Garamond', serif;
font-size: 48px;
color: var(--dust);
line-height: 1;
margin-bottom: 24px;
}
.quote-text {
font-family: 'Cormorant Garamond', serif;
font-size: 18px;
font-style: italic;
color: var(--paper);
line-height: 1.7;
margin-bottom: 20px;
}
.quote-source {
font-size: 9px;
letter-spacing: 0.25em;
text-transform: uppercase;
color: var(--gold);
}
/* ── TRAVELS ── */
.travels-section {
background: linear-gradient(to bottom, var(--ink), var(--ash), var(--ink));
padding: 120px 0;
}
.travels-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 60px;
}
.places-list {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1px;
background: var(--dust);
margin-top: 60px;
}
.place-item {
background: var(--ink);
padding: 40px 32px;
border-bottom: 2px solid transparent;
transition: all 0.3s;
cursor: default;
}
.place-item:hover {
background: var(--ash);
border-bottom-color: var(--gold);
}
.place-country {
font-size: 9px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--fog);
margin-bottom: 8px;
}
.place-city {
font-family: 'Cormorant Garamond', serif;
font-size: 28px;
font-weight: 300;
color: var(--cream);
margin-bottom: 12px;
}
.place-note {
font-size: 12px;
color: var(--fog);
line-height: 1.6;
}
/* ── CONTACT ── */
.contact-section {
text-align: center;
padding: 140px 60px;
position: relative;
}
.contact-section::before {
content: '';
position: absolute;
top: 0; left: 10%; right: 10%;
height: 1px;
background: linear-gradient(to right, transparent, var(--dust), transparent);
}
.contact-big {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(48px, 7vw, 88px);
font-weight: 300;
color: var(--white);
line-height: 1;
margin-bottom: 24px;
}
.contact-big em {
font-style: italic;
color: var(--gold-light);
}
.contact-sub {
color: var(--fog);
font-size: 13px;
margin-bottom: 48px;
letter-spacing: 0.05em;
}
.social-row {
display: flex;
justify-content: center;
gap: 32px;
margin-top: 60px;
}
.social-link {
font-size: 9px;
letter-spacing: 0.3em;
text-transform: uppercase;
color: var(--fog);
text-decoration: none;
padding-bottom: 4px;
border-bottom: 1px solid transparent;
transition: all 0.3s;
}
.social-link:hover {
color: var(--gold);
border-bottom-color: var(--gold);
}
/* ── FOOTER ── */
footer {
border-top: 1px solid var(--smoke);
padding: 32px 60px;
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-logo {
font-family: 'Cormorant Garamond', serif;
font-size: 18px;
color: var(--gold);
font-weight: 300;
letter-spacing: 0.1em;
}
.footer-copy {
font-size: 10px;
color: var(--fog);
letter-spacing: 0.15em;
}
/* ── DIVIDER ── */
.ornament {
text-align: center;
color: var(--dust);
font-size: 18px;
letter-spacing: 0.5em;
padding: 20px 0;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
nav { padding: 24px 28px; }
section { padding: 80px 28px; }
.book-inner, .travels-inner { padding: 0 28px; }
.about-grid, .book-grid { grid-template-columns: 1fr; gap: 48px; }
.about-frame { display: none; }
.quotes-grid { grid-template-columns: 1fr; }
.places-list { grid-template-columns: 1fr 1fr; }
footer { padding: 28px; flex-direction: column; gap: 16px; text-align: center; }
.book-cover { max-width: 280px; }
}
/* ── REVEAL ANIMATIONS ── */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body>
<!-- NAV -->
<nav>
<a href="#" class="nav-logo">abdo hm</a>
<ul class="nav-links">
<li><a href="#about">About</a></li>
<li><a href="#book">Book</a></li>
<li><a href="#words">Words</a></li>
</ul>
</nav>
<!-- HERO -->
<div class="hero">
<div class="hero-image"></div>
<div class="hero-bg"></div>
<div class="hero-content">
<div class="hero-tag">Casablanca, Morocco</div>
<h1 class="hero-name">Abdo<br><em>HM</em></h1>
<p class="hero-sub">Writer · Traveler · Free Soul</p>
<a href="#book" class="hero-scroll">
<div class="scroll-line"></div>
Discover
</a>
</div>
</div>
<!-- ABOUT -->
<section id="about">
<div class="about-grid">
<div class="about-text reveal">
<div class="section-label">About</div>
<h2 class="section-title">A Young Man Who<br><em>Lived Honestly</em></h2>
<p>"I am not a writer, an intellectual, or a novelist. I simply love to write."</p>
<p>Abdo HM is a young Moroccan writer from Casablanca — a city he wants to escape but that never escapes him. He writes not for fame or recognition, but because writing is his only way to not disappear in silence.</p>
<p>His work is raw, unfiltered, and deeply human. Born from lived experience, his words speak to everyone who has ever felt that life is a masquerade party they are attending without a mask.</p>
<p>When not writing, he travels — seeking the small seas that no one visits, the northern breakfasts that taste of something real, and the stars you can only count when sleeping on Bedouin mats far from city lights.</p>
<div class="stats-row">
<div class="stat">
<div class="stat-num">1</div>
<div class="stat-label">Published Book</div>
</div>
<div class="stat">
<div class="stat-num">∞</div>
<div class="stat-label">Dark Thoughts</div>
</div>
<div class="stat">
<div class="stat-num">MA</div>
<div class="stat-label">Morocco</div>
</div>
</div>
</div>
</div>
</section>
<!-- BOOK -->
<div class="book-section" id="book">
<div class="book-inner">
<div class="book-grid">
<div class="book-info reveal">
<div class="section-label">Latest Book</div>
<div class="book-arabic-title">حياة لا تستحق العيش</div>
<div class="book-english-title">A Life Not Worth Living</div>
<div class="book-desc">
<p>A very simple book, rich with dark events. A farewell letter and a gift to the people he loves. An honest account of a young man living through Casablanca's harsh streets, broken relationships, solitude, and the relentless question of whether it is all worth it.</p>
<p>Written in both Arabic and English, this debut work is not a manifesto of despair — it is an act of survival through honesty.</p>
</div>
<div class="book-quote">
<p>"I did not write this book to convince you that life is not worth living, nor to prove that it is. I wrote it only to say: this is how I lived it."</p>
<cite>— Abdo HM, The End</cite>
</div>
<div style="display:flex; align-items:center; gap:28px; margin-bottom:32px;">
<div style="text-align:center;">
<div style="font-family:'Cormorant Garamond',serif; font-size:48px; font-weight:300; color:var(--gold); line-height:1;">30</div>
<div style="font-size:9px; letter-spacing:0.3em; text-transform:uppercase; color:var(--fog);">DH</div>
</div>
<div style="width:1px; height:48px; background:var(--dust);"></div>
<div style="font-size:11px; color:var(--mist); line-height:1.7;">نصوص وتأملات<br><span style="color:var(--fog); font-size:10px;">Texts & Reflections</span></div>
</div>
<div>
<a href="#bank" class="btn btn-gold">Order — 30 DH</a>
<a href="#words" class="btn btn-outline">Read Excerpts</a>
</div>
</div>
</div>
</div>
</div>
<!-- WORDS / QUOTES -->
<section id="words">
<div class="section-label reveal">Excerpts</div>
<h2 class="section-title reveal">Words From<br><em>The Dark World</em></h2>
<div class="quotes-grid">
<div class="quote-card reveal">
<div class="quote-num">01</div>
<p class="quote-text">"Family is everything. Without them, you are worth zero. Family is your only refuge when no one else remains."</p>
<div class="quote-source">The Family</div>
</div>
<div class="quote-card reveal">
<div class="quote-num">02</div>
<p class="quote-text">"Writing was my only way to not disappear in silence."</p>
<div class="quote-source">The End</div>
</div>
<div class="quote-card reveal">
<div class="quote-num">03</div>
<p class="quote-text">"Life is just a masquerade party, and I attended it without a mask."</p>
<div class="quote-source">My Birthday</div>
</div>
<div class="quote-card reveal">
<div class="quote-num">04</div>
<p class="quote-text">"I may not need anyone, but I will always need my father."</p>
<div class="quote-source">Scribbles</div>
</div>
<div class="quote-card reveal">
<div class="quote-num">05</div>
<p class="quote-text">"Our streets lack art, love, and flower shops. They lack musicians, intellectuals, and smiling people."</p>
<div class="quote-source">Scribbles</div>
</div>
<div class="quote-card reveal">
<div class="quote-num">06</div>
<p class="quote-text">"She was the best thing that happened to me in my dark life. She was the light that brought me out of the darkness I was in."</p>
<div class="quote-source">Moonlight</div>
</div>
</div>
</section>
<!-- BANK / ORDER -->
<section id="bank" style="padding: 80px 60px; max-width: 700px; margin: 0 auto;">
<div class="section-label reveal">Order & Payment</div>
<h2 class="section-title reveal" style="font-size: clamp(28px, 4vw, 48px);">Get Your Copy<br><em>30 DH</em></h2>
<!-- STEP 1 -->
<div id="step1">
<p style="color: var(--mist); font-size: 14px; line-height: 1.8; margin-bottom: 32px;">Transfer <strong style="color:var(--gold);">30 DH</strong> to the account below, then click <em style="color:var(--cream);">"I've Paid"</em> to receive your PDF instantly.</p>
<div style="border: 1px solid var(--dust); background: var(--ash); margin-bottom: 32px;">
<div style="padding: 20px 32px; border-bottom: 1px solid var(--dust); display: flex; justify-content: space-between; align-items: center;">
<span style="font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fog);">Bank</span>
<span style="font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream);">CIH Bank — Maroc</span>
</div>
<div style="padding: 20px 32px; border-bottom: 1px solid var(--dust); display: flex; justify-content: space-between; align-items: center;">
<span style="font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fog);">Account Holder</span>
<span style="font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream);">Abdelhak El Haoumy</span>
</div>
<div style="padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;">
<span style="font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fog); white-space: nowrap;">RIB</span>
<span id="ribText" style="font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 400; color: var(--gold); letter-spacing: 0.1em; word-break: break-all; flex:1;">2307803272512211001700</span>
<button id="copyBtn" onclick="copyRIB()" style="background:none; border:1px solid var(--dust); color:var(--fog); font-size:9px; letter-spacing:0.2em; text-transform:uppercase; padding:8px 16px; cursor:pointer; transition: all 0.3s; white-space:nowrap;">Copy</button>
</div>
</div>
<button onclick="showStep2()" style="width:100%; padding:16px; background:var(--gold); color:var(--ink); font-family:'Montserrat',sans-serif; font-size:11px; letter-spacing:0.3em; text-transform:uppercase; border:none; cursor:pointer; transition:background 0.3s;" onmouseover="this.style.background='var(--gold-light)'" onmouseout="this.style.background='var(--gold)'">
✓ I've Paid — Send me the PDF
</button>
</div>
<!-- STEP 2: download -->
<div id="step2" style="display:none; text-align:center; padding: 56px 32px; border: 1px solid var(--dust); background: var(--ash);">
<div style="font-size: 48px; margin-bottom: 20px;">📖</div>
<h3 style="font-family:'Cormorant Garamond',serif; font-size:36px; font-weight:300; color:var(--white); margin-bottom:12px;">Thank you</h3>
<p style="color:var(--mist); font-size:14px; line-height:1.9; margin-bottom:36px;">Your copy of <em style="color:var(--cream);">حياة لا تستحق العيش</em> is ready.<br>Click below to download your PDF.</p>
<a href="حياة_لا_تستحق_العيش_PUBLISHED.pdf" download style="display:inline-flex; align-items:center; gap:12px; padding:16px 40px; background:var(--gold); color:var(--ink); font-family:'Montserrat',sans-serif; font-size:11px; letter-spacing:0.3em; text-transform:uppercase; text-decoration:none; transition:background 0.3s;" onmouseover="this.style.background='var(--gold-light)'" onmouseout="this.style.background='var(--gold)'">
↓ Download PDF
</a>
<p style="color:var(--fog); font-size:10px; letter-spacing:0.2em; margin-top:28px; text-transform:uppercase;">شكراً — Abdo HM</p>
</div>
</section>
<!-- FOOTER -->
<footer>
<div class="footer-logo">abdo hm</div>
<div class="footer-copy">© 2025 Abd al-Haq al-Houmi. All rights reserved.</div>
</footer>
<script>
// Scroll reveal
const reveals = document.querySelectorAll('.reveal');
const io = new IntersectionObserver((entries) => {
entries.forEach((e, i) => {
if (e.isIntersecting) {
setTimeout(() => e.target.classList.add('visible'), i * 80);
io.unobserve(e.target);
}
});
}, { threshold: 0.1 });
reveals.forEach(el => io.observe(el));
function showStep2() {
document.getElementById('step1').style.display = 'none';
document.getElementById('step2').style.display = 'block';
document.getElementById('step2').scrollIntoView({ behavior: 'smooth', block: 'center' });
}
function copyRIB() {
navigator.clipboard.writeText('2307803272512211001700').then(() => {
const btn = document.getElementById('copyBtn');
btn.textContent = 'Copied!';
btn.style.borderColor = 'var(--gold)';
btn.style.color = 'var(--gold)';
setTimeout(() => {
btn.textContent = 'Copy';
btn.style.borderColor = 'var(--dust)';
btn.style.color = 'var(--fog)';
}, 2000);
});
}
// Nav on scroll
const nav = document.querySelector('nav');
window.addEventListener('scroll', () => {
nav.style.background = window.scrollY > 80
? 'rgba(13,12,11,0.97)'
: 'linear-gradient(to bottom, rgba(13,12,11,0.95), transparent)';
});
</script>
</body>
</html>