-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
1384 lines (1306 loc) · 40.3 KB
/
Copy pathstyles.css
File metadata and controls
1384 lines (1306 loc) · 40.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
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
/* ============================================================
MetaStrip — design system inspired by slush.app
Dark canvas, vivid accents, giant condensed type, pill shapes
============================================================ */
:root {
--color-bg: #000000;
--color-hero: #dceeff;
--color-text: #ffffff;
--color-text-dark: #0a0a0a;
--color-muted: #999999;
--color-border: #222222;
--accent-orange: #fb4903;
--accent-yellow: #ffd731;
--accent-blue: #4da2ff;
--accent-green: #55db9c;
--accent-violet: #e9ccff;
--accent-purple: #5c4ade;
--font-display: "Anton", "Arial Narrow", sans-serif;
--font-body: "Archivo", "Helvetica Neue", sans-serif;
--radius-card: 30px;
--radius-pill: 999px;
--gap: 16px;
--ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* The hidden attribute has to win. A UA stylesheet gives [hidden] display:
none, but that is a normal rule with almost no specificity, so any class
here that sets display quietly overrides it — which is how a STOP button
for a folder run nobody had started ended up on screen, and how the folder
button stayed visible on browsers that cannot do folders at all. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* ===== Pills / buttons ===== */
.pill {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: var(--radius-pill);
padding: 12px 26px;
font-family: var(--font-body);
font-weight: 700;
font-size: 14px;
letter-spacing: 0.02em;
white-space: nowrap;
cursor: pointer;
border: 2px solid transparent;
transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, color 0.25s, border-color 0.25s;
}
.pill:hover { transform: scale(1.08); }
.pill:active { transform: scale(0.96); }
.pill:focus-visible,
.dropzone__sample-btn:focus-visible,
.meta-list__copy-json:focus-visible,
.nav__burger:focus-visible,
.nav__logo:focus-visible,
.result-card__dismiss:focus-visible,
.footer__tile:focus-visible {
outline: 2.5px solid var(--accent-orange);
outline-offset: 3px;
}
.faq__item summary:focus-visible {
outline: 2.5px solid var(--accent-orange);
outline-offset: 4px;
border-radius: 12px;
}
.pill--nav {
background: #ffffff;
color: var(--color-text-dark);
border-color: rgba(0, 0, 0, 0.12);
}
.pill--nav:hover { background: var(--accent-orange); color: #ffffff; border-color: #0a0a0a; }
.pill--dark { background: #000000; color: #ffffff; }
.pill--dark:hover { background: var(--accent-orange); color: #ffffff; }
.pill--light { background: #ffffff; color: var(--color-text-dark); border-color: #000000; }
.pill--light:hover { background: var(--accent-orange); color: #ffffff; }
.pill--accent { background: var(--accent-orange); color: #ffffff; cursor: default; }
.pill--big { padding: 18px 34px; font-size: 15px; }
/* ===== Nav ===== */
.nav {
position: absolute;
top: 0; left: 0; right: 0;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--gap);
padding: 28px clamp(20px, 4vw, 56px);
}
.nav__logo {
width: 56px; height: 56px;
flex-shrink: 0;
border-radius: 50%;
background: var(--accent-orange);
color: #ffffff;
font-family: var(--font-display);
font-size: 26px;
display: flex; align-items: center; justify-content: center;
border: 2.5px solid #0a0a0a;
transition: transform 0.25s var(--ease-smooth);
}
.nav__logo:hover { transform: rotate(-8deg) scale(1.08); }
.nav__links { display: flex; gap: 10px; }
/* ===== Hero ===== */
.hero {
position: relative;
min-height: 92vh;
background: var(--color-hero);
color: var(--color-text-dark);
border-radius: 0 0 var(--radius-card) var(--radius-card);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 140px 20px 80px;
overflow: hidden;
}
.hero__tube {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.hero__title, .hero__tagline, .hero__ctas { position: relative; z-index: 1; }
.hero__title {
font-family: var(--font-display);
font-size: clamp(72px, 17.5vw, 300px);
line-height: 0.9;
letter-spacing: 0.01em;
color: #0a0a0a;
user-select: none;
}
.hero__tagline {
font-size: clamp(24px, 4vw, 56px);
font-weight: 500;
letter-spacing: -0.02em;
margin-top: 24px;
}
.hero__ctas {
display: flex;
flex-wrap: wrap;
gap: 14px;
justify-content: center;
margin-top: 44px;
}
/* Floating stickers — die-cut white border like Slush, no blur */
.sticker {
position: absolute;
z-index: 2;
width: clamp(72px, 9vw, 150px);
filter:
drop-shadow(3px 0 0 #ffffff) drop-shadow(-3px 0 0 #ffffff)
drop-shadow(0 3px 0 #ffffff) drop-shadow(0 -3px 0 #ffffff)
drop-shadow(0 8px 6px rgba(10, 30, 60, 0.12));
animation: float 5s ease-in-out infinite;
user-select: none;
pointer-events: none;
}
.sticker svg { width: 100%; height: auto; aspect-ratio: 1; display: block; }
.sticker--pin { top: 21%; left: 15%; transform: rotate(-14deg); animation-delay: 0s; }
.sticker--cam { top: 24%; right: 13%; transform: rotate(12deg); animation-delay: 1.2s; }
.sticker--cut { bottom: 33%; right: 22%; transform: rotate(18deg); animation-delay: 2.1s; width: clamp(56px, 7vw, 116px); }
.sticker--photo { bottom: 30%; left: 13%; transform: rotate(-10deg); animation-delay: 3s; width: clamp(60px, 7.5vw, 124px); }
.sticker--spark1, .sticker--spark2, .sticker--spark3 {
width: clamp(18px, 2.2vw, 36px);
filter: none;
animation: spin-float 6s ease-in-out infinite;
}
.sticker--spark1 { bottom: 42%; left: 10.5%; animation-delay: 0.6s; }
.sticker--spark2 { top: 19%; right: 21%; animation-delay: 1.8s; }
.sticker--spark3 { bottom: 27%; left: 21%; width: clamp(12px, 1.5vw, 24px); animation-delay: 2.6s; }
@keyframes spin-float {
0%, 100% { translate: 0 0; rotate: 0deg; }
50% { translate: 0 -12px; rotate: 28deg; }
}
/* Inline sticker icons (metadata rows, buttons, alerts) */
.icon {
width: 20px;
height: 20px;
display: inline-block;
vertical-align: -4px;
flex-shrink: 0;
}
.icon--alert { width: 22px; height: 22px; vertical-align: -5px; }
@keyframes float {
0%, 100% { translate: 0 0; }
50% { translate: 0 -18px; }
}
@media (max-width: 640px) {
.nav__links { display: none; }
.sticker--cut, .sticker--photo, .sticker--spark1, .sticker--spark3 { display: none; }
}
/* ===== Section titles ===== */
.section-title {
font-family: var(--font-display);
font-size: clamp(44px, 8vw, 120px);
line-height: 0.95;
text-align: center;
letter-spacing: 0.01em;
}
.section-title--light { color: #ffffff; }
.section-title--dark { color: var(--color-text-dark); }
/* ===== App / dropzone ===== */
.app {
padding: 110px clamp(20px, 5vw, 72px) 90px;
max-width: 1100px;
margin: 0 auto;
}
.dropzone {
margin-top: 48px;
border: 3px dashed #3a3a3a;
border-radius: var(--radius-card);
background: #0d0d0d;
padding: 72px 24px;
text-align: center;
cursor: pointer;
transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-smooth);
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent-blue); background: #101722; }
.dropzone.is-dragover {
border-color: var(--accent-orange);
background: #1b0e06;
transform: scale(1.015);
}
.dropzone__emoji { display: block; }
.dropzone__emoji svg {
width: 76px;
height: 84px;
margin: 0 auto;
transform: rotate(-6deg);
filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.3));
transition: transform 0.3s var(--ease-smooth);
}
.dropzone:hover .dropzone__emoji svg, .dropzone.is-dragover .dropzone__emoji svg { transform: rotate(4deg) scale(1.08); }
.dropzone__text { font-size: 22px; font-weight: 700; margin-top: 18px; }
.dropzone__hint { color: var(--color-muted); margin-top: 8px; font-size: 14px; }
.dropzone__formats {
margin-top: 10px;
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #6f6f6f;
}
/* ===== Result cards ===== */
.results { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.result-card {
position: relative;
background: #111111;
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
padding: 28px;
display: grid;
grid-template-columns: var(--media-col, minmax(200px, 26%)) 1fr;
gap: 28px;
animation: card-in 0.5s var(--ease-smooth);
}
.result-card.is-removing {
animation: card-out 0.25s var(--ease-smooth) forwards;
}
@keyframes card-out {
from { opacity: 1; translate: 0 0; }
to { opacity: 0; translate: 0 -12px; }
}
.result-card__dismiss {
position: absolute;
top: -12px;
right: -12px;
width: 32px;
height: 32px;
border-radius: 50%;
border: 2.5px solid #0a0a0a;
background: #ffffff;
color: #0a0a0a;
font-size: 18px;
line-height: 1;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, color 0.2s;
z-index: 3;
}
.result-card__dismiss:hover { background: var(--accent-orange); color: #ffffff; transform: scale(1.1) rotate(90deg); }
@keyframes card-in {
from { opacity: 0; translate: 0 24px; }
to { opacity: 1; translate: 0 0; }
}
/* One column width per shape. A vertical reel wants a narrow tall box, a
landscape frame needs real width to be watchable, and anything 2:1 or
wider is unreadable beside a column of text at all — so scope, anamorphic
and IMAX-wide media take the full card width on their own row, with the
metadata table underneath. */
.result-card--portrait { --media-col: minmax(180px, 22%); }
.result-card--square { --media-col: minmax(200px, 26%); }
.result-card--landscape { --media-col: minmax(300px, 42%); }
/* a vertical clip is still something you watch, so it gets a wider column
than a vertical photo does */
.result-card[data-media-kind="video"].result-card--portrait { --media-col: minmax(240px, 30%); }
.result-card[data-media-kind="video"].result-card--square { --media-col: minmax(260px, 34%); }
.result-card--cinema {
grid-template-columns: 1fr;
}
.result-card--cinema .result-card__preview {
max-height: 62vh;
}
/* Media keeps the shape it was shot in. --media-ratio is set per card from
the real decoded dimensions, so a 4:3 photo, a vertical reel and a 2.39:1
scope frame each get their own box instead of being squeezed into the
same square thumbnail. */
.result-card__preview {
display: block;
width: 100%;
aspect-ratio: var(--media-ratio, 1);
object-fit: contain;
border-radius: 20px;
background: #000;
max-height: 46vh;
}
/* an audio file has no picture, so the player is the whole preview */
.result-card__preview--audio {
aspect-ratio: auto;
min-height: 54px;
background: transparent;
}
/* the browser's own PDF view, framed like any other preview */
.result-card__preview--doc {
border: 0;
background: #ffffff;
min-height: 260px;
}
/* a raw file with no embedded preview still needs a box, not a broken image */
.result-card__preview--blank {
border: 2px dashed #333333;
min-height: 160px;
}
.result-card__name { font-weight: 800; font-size: 18px; word-break: break-all; }
.result-card__sub { color: var(--color-muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 900px) {
/* stacked, so the media gets the whole width whatever its shape */
.result-card,
.result-card--portrait,
.result-card--square,
.result-card--landscape { grid-template-columns: 1fr; }
.result-card__preview { max-height: 52vh; }
/* a vertical photo does not need the whole phone screen, a vertical clip
does — that is the shape the phone is already holding */
.result-card[data-media-kind="photo"].result-card--portrait .result-card__preview { max-width: 260px; }
}
/* ===== GPS alert ===== */
.gps-alert {
margin-top: 18px;
background: var(--accent-orange);
color: #ffffff;
border-radius: 20px;
padding: 18px 22px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.gps-alert strong { font-size: 15px; letter-spacing: 0.03em; }
.gps-alert p { font-size: 14px; opacity: 0.9; margin-top: 2px; font-variant-numeric: tabular-nums; }
/* ===== Metadata list ===== */
.meta-list {
margin-top: 18px;
border: 1px solid var(--color-border);
border-radius: 20px;
overflow: hidden;
}
.meta-list__row {
display: grid;
grid-template-columns: 180px 1fr;
gap: 12px;
padding: 10px 18px;
font-size: 14px;
}
.meta-list__row:nth-child(odd) { background: #161616; }
.meta-list__row dt { color: var(--color-muted); font-weight: 500; }
.meta-list__row dd { word-break: break-word; }
.meta-clean { margin-top: 18px; color: var(--accent-green); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) {
.meta-list__row { grid-template-columns: 1fr; gap: 2px; }
}
/* ===== Strip actions ===== */
.result-card__actions {
position: relative;
margin-top: 20px;
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.pill--strip {
background: var(--accent-green);
color: var(--color-text-dark);
border: none;
font-size: 15px;
padding: 16px 30px;
}
.pill--strip:disabled { opacity: 0.6; cursor: wait; transform: none; }
.result-card__note { color: var(--color-muted); font-size: 13px; }
/* ===== What leaks ===== */
.leaks {
background: #ffffff;
color: var(--color-text-dark);
border-radius: var(--radius-card);
padding: 110px clamp(20px, 5vw, 72px);
}
.leaks__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
max-width: 1280px;
margin: 64px auto 0;
}
.leak-card {
position: relative;
border-radius: var(--radius-card);
padding: 40px 32px 96px;
overflow: hidden;
transition: transform 0.35s var(--ease-smooth);
}
.leak-card:hover { transform: translateY(-8px) rotate(-1deg); }
.leak-card--yellow { background: var(--accent-yellow); }
.leak-card--violet { background: var(--accent-violet); }
.leak-card--blue { background: var(--accent-blue); }
.leak-card h3 {
font-family: var(--font-display);
font-size: clamp(30px, 3vw, 44px);
line-height: 0.95;
font-style: italic;
letter-spacing: 0.01em;
}
.leak-card p { margin: 18px 0 26px; font-size: 15px; font-weight: 500; max-width: 34ch; }
.leak-card__emoji {
position: absolute;
right: 22px; bottom: 18px;
transform: rotate(10deg);
filter: drop-shadow(0 6px 5px rgba(0,0,0,0.18));
transition: transform 0.35s var(--ease-smooth);
}
.leak-card__emoji svg { width: 78px; height: 78px; display: block; }
.leak-card:hover .leak-card__emoji { transform: rotate(-6deg) scale(1.12); }
/* ===== Marquee ===== */
.marquee {
background: var(--color-bg);
padding: 80px 0;
overflow: hidden;
}
.marquee__track {
display: flex;
gap: 24px;
width: max-content;
animation: marquee 22s linear infinite;
}
.marquee__tile {
font-family: var(--font-display);
font-style: italic;
font-size: clamp(56px, 9vw, 130px);
line-height: 1;
color: #000000;
padding: 16px 44px 24px;
border-radius: var(--radius-card);
white-space: nowrap;
}
.marquee__tile--white { background: #ffffff; }
.marquee__tile--yellow { background: var(--accent-yellow); }
.marquee__tile--green { background: var(--accent-green); }
.marquee__tile--blue { background: var(--accent-blue); }
.marquee__tile--orange { background: var(--accent-orange); color: #ffffff; }
@keyframes marquee {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
/* ===== FAQ ===== */
.faq {
background: #ffffff;
color: var(--color-text-dark);
border-radius: var(--radius-card);
padding: 110px clamp(20px, 5vw, 72px);
}
.faq__list { max-width: 820px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
border: 2px solid #0a0a0a;
border-radius: 24px;
padding: 20px 26px;
background: #ffffff;
transition: background 0.35s var(--ease-smooth);
}
.faq__item[open] { background: var(--accent-yellow); }
.faq__item summary {
font-weight: 800;
font-size: 17px;
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq__item summary::after {
content: "+";
font-size: 26px;
font-weight: 400;
transition: rotate 0.35s var(--ease-smooth);
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__answer { overflow: hidden; }
.faq__answer p { margin: 0; padding-top: 12px; font-size: 15px; line-height: 1.6; }
.faq__answer a { text-decoration: underline; font-weight: 700; }
/* ===== Footer ===== */
.footer { background: var(--color-bg); padding: 24px clamp(16px, 3vw, 40px) 40px; }
.footer__cta {
background: var(--accent-green);
color: var(--color-text-dark);
border-radius: var(--radius-card);
padding: clamp(48px, 7vw, 96px);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 32px;
}
.footer__cta h2 {
font-family: var(--font-display);
font-size: clamp(40px, 6vw, 92px);
line-height: 0.95;
}
.footer__cta em { font-style: italic; }
.footer__row {
display: flex;
align-items: center;
gap: 16px;
margin-top: 24px;
flex-wrap: wrap;
}
.footer__tile {
background: #ffffff;
color: var(--color-text-dark);
font-family: var(--font-display);
font-size: 22px;
padding: 22px 36px;
border-radius: 24px;
transition: transform 0.25s var(--ease-smooth);
}
.footer__tile:hover { transform: scale(1.06) rotate(-2deg); }
.footer__credit { color: var(--color-muted); font-size: 14px; margin-left: auto; }
.footer__credit a { text-decoration: underline; }
@media (max-width: 900px) {
.leaks__grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 640px) {
.footer__credit { margin-left: 0; }
}
/* ===== Motion: scroll reveals & entrances ===== */
.reveal {
opacity: 0;
translate: 0 40px;
transition: opacity 0.9s var(--ease-smooth), translate 0.9s var(--ease-smooth);
transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; translate: 0 0; }
.hero__title { animation: rise 0.9s var(--ease-smooth) both; }
.hero__tagline { animation: rise 0.9s 0.12s var(--ease-smooth) both; }
.hero__ctas { animation: rise 0.9s 0.24s var(--ease-smooth) both; }
.hero__tube { animation: tube-in 1.4s var(--ease-smooth) both; }
@keyframes rise {
from { opacity: 0; translate: 0 44px; }
to { opacity: 1; translate: 0 0; }
}
@keyframes tube-in {
from { opacity: 0; scale: 1.06; }
to { opacity: 1; scale: 1; }
}
/* Stickers pop in, then keep floating (pop on the inner svg) */
.sticker svg { animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.sticker--pin svg { animation-delay: 0.45s; }
.sticker--cam svg { animation-delay: 0.6s; }
.sticker--photo svg { animation-delay: 0.75s; }
.sticker--cut svg { animation-delay: 0.9s; }
.sticker--spark1 svg, .sticker--spark2 svg, .sticker--spark3 svg { animation-delay: 1.05s; }
@keyframes pop {
from { scale: 0; rotate: -14deg; opacity: 0; }
60% { scale: 1.12; }
to { scale: 1; rotate: 0deg; opacity: 1; }
}
/* Micro-interactions */
.pill { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
.storage-meter__fill { transition: none; }
.reveal { opacity: 1; translate: none; transition: none; }
.hero__title, .hero__tagline, .hero__ctas, .hero__tube,
.sticker, .sticker svg, .marquee__track { animation: none; }
}
/* ===== Blog ===== */
.blog { padding: 110px clamp(20px, 5vw, 72px); max-width: 1320px; margin: 0 auto; }
.blog__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-top: 64px;
}
.blog-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 16px;
border-radius: var(--radius-card);
padding: 36px 30px;
color: var(--color-text-dark);
transition: transform 0.35s var(--ease-smooth);
}
.blog-card:hover { transform: translateY(-8px) rotate(1deg); }
.blog-card--orange { background: var(--accent-orange); color: #ffffff; }
.blog-card--yellow { background: var(--accent-yellow); }
.blog-card--green { background: var(--accent-green); }
.blog-card__tag {
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
border: 2px solid currentColor;
border-radius: var(--radius-pill);
padding: 5px 14px;
}
.blog-card h3 {
font-family: var(--font-display);
font-style: italic;
font-size: clamp(24px, 2.2vw, 32px);
line-height: 1;
}
.blog-card p { font-size: 14.5px; font-weight: 500; line-height: 1.55; }
.blog-card__read { font-weight: 800; font-size: 14px; margin-top: auto; }
@media (max-width: 900px) {
.blog__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
/* ===== Blog post pages ===== */
.blog-body { background: #ffffff; color: var(--color-text-dark); }
.blog-body .nav { position: relative; }
.blog-body .pill--nav { border-color: rgba(0,0,0,0.25); }
.post { max-width: 760px; margin: 0 auto; padding: 48px 24px 40px; }
.post__meta { color: #777777; font-size: 14px; font-weight: 600; }
.post__title {
font-family: var(--font-display);
font-size: clamp(38px, 6vw, 72px);
line-height: 0.98;
margin: 14px 0 34px;
}
.post p { font-size: 17.5px; line-height: 1.75; margin-bottom: 22px; }
/* the newer posts use lists and inline code, which the original three did not */
.post ul, .post ol {
margin: 0 0 26px 22px;
display: flex;
flex-direction: column;
gap: 12px;
}
.post li { font-size: 17px; line-height: 1.7; }
.post li strong { font-weight: 800; }
.post code {
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 15px;
background: rgba(10, 10, 10, 0.07);
padding: 2px 6px;
border-radius: 6px;
}
.post h2 {
font-family: var(--font-display);
font-size: clamp(24px, 3vw, 34px);
line-height: 1.05;
margin: 40px 0 16px;
}
.post a { color: var(--accent-orange); font-weight: 700; text-decoration: underline; }
.post__cta { margin-top: 44px; }
.post__cta .pill { text-decoration: none; color: var(--color-text-dark); }
.post__footer {
text-align: center;
color: #999999;
font-size: 13.5px;
padding: 40px 20px 56px;
}
/* ===== Creator ===== */
.creator { padding: 30px clamp(16px, 3vw, 40px) 110px; }
.creator__card {
max-width: 1200px;
margin: 0 auto;
background: var(--accent-violet);
color: var(--color-text-dark);
border-radius: var(--radius-card);
padding: clamp(32px, 5vw, 64px);
display: grid;
grid-template-columns: auto 1fr;
gap: clamp(28px, 4vw, 56px);
align-items: center;
}
.creator__photo {
width: clamp(150px, 16vw, 210px);
height: clamp(150px, 16vw, 210px);
object-fit: cover;
object-position: 50% 22%;
border-radius: 50%;
border: 6px solid #ffffff;
transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.creator__card:hover .creator__photo { transform: scale(1.06) rotate(-4deg); }
.creator__tag {
display: inline-block;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
border: 2px solid currentColor;
border-radius: var(--radius-pill);
padding: 5px 14px;
}
.creator__info h2 {
font-family: var(--font-display);
font-size: clamp(38px, 5vw, 72px);
line-height: 0.98;
margin: 16px 0 18px;
}
.creator__info p { font-size: 16px; font-weight: 500; line-height: 1.65; max-width: 56ch; margin-bottom: 14px; }
.creator__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 820px) {
.creator__card { grid-template-columns: 1fr; justify-items: start; }
}
/* ===== Per-button hover colors, spread across the palette ===== */
.nav__links .pill:nth-child(1):hover { background: var(--accent-orange); color: #ffffff; }
.nav__links .pill:nth-child(2):hover { background: var(--accent-yellow); color: #0a0a0a; }
.nav__links .pill:nth-child(3):hover { background: var(--accent-blue); color: #0a0a0a; }
.nav__links .pill:nth-child(4):hover { background: var(--accent-green); color: #0a0a0a; }
.nav > .pill--dark:hover { background: var(--accent-purple); color: #ffffff; }
.hero__ctas .pill--light:hover { background: var(--accent-green); color: #0a0a0a; }
.leak-card--yellow .pill--dark:hover { background: var(--accent-orange); color: #ffffff; }
.leak-card--violet .pill--dark:hover { background: var(--accent-purple); color: #ffffff; }
.leak-card--blue .pill--dark:hover { background: var(--accent-yellow); color: #0a0a0a; }
.gps-alert .pill--dark:hover { background: var(--accent-yellow); color: #0a0a0a; }
.creator__links .pill:nth-child(1):hover { background: var(--accent-blue); color: #0a0a0a; }
.creator__links .pill:nth-child(2):hover { background: var(--accent-purple); color: #ffffff; }
.creator__links .pill:nth-child(3):hover { background: var(--accent-yellow); color: #0a0a0a; }
.creator__links .pill:nth-child(4):hover { background: var(--accent-green); color: #0a0a0a; }
.footer__cta .pill--dark:hover { background: var(--accent-orange); color: #ffffff; }
.footer__tile:nth-child(1):hover { background: var(--accent-green); }
.footer__tile:nth-child(2):hover { background: var(--accent-blue); }
.footer__tile:nth-child(3):hover { background: var(--accent-violet); }
.footer__tile:nth-child(4):hover { background: var(--accent-yellow); }
.pill--strip:hover { background: var(--accent-yellow); color: #0a0a0a; }
/* ===== Before/after comparison ===== */
.strip-compare {
margin-top: 18px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
animation: card-in 0.5s var(--ease-smooth);
}
.strip-compare__col {
border-radius: 18px;
padding: 14px 18px;
display: flex;
flex-direction: column;
gap: 2px;
}
.strip-compare__col span { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; opacity: 0.7; }
.strip-compare__col strong { font-size: 15px; }
.strip-compare__col--before { background: #2a1005; color: #ff9e73; }
.strip-compare__col--after { background: #0d2418; color: var(--accent-green); }
/* ===== Privacy score badge ===== */
.result-card__media { position: relative; }
.score-badge {
position: absolute;
top: -10px;
left: -12px;
font-family: var(--font-display);
font-style: italic;
font-size: 17px;
letter-spacing: 0.04em;
padding: 8px 16px 9px;
border-radius: 14px;
border: 3px solid #0a0a0a;
transform: rotate(-7deg);
color: #0a0a0a;
box-shadow: 3px 4px 0 #0a0a0a;
}
.score-badge--leak { background: var(--accent-orange); color: #ffffff; }
.score-badge--risky { background: var(--accent-yellow); }
.score-badge--clean { background: var(--accent-green); }
.score-badge--flip { animation: badge-flip 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes badge-flip {
from { transform: rotate(-7deg) scale(0); }
60% { transform: rotate(-7deg) scale(1.25); }
to { transform: rotate(-7deg) scale(1); }
}
/* ===== Strip all bar ===== */
.strip-all {
margin-top: 32px;
background: #111111;
border: 1px solid var(--color-border);
border-radius: var(--radius-card);
padding: 18px 26px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
animation: card-in 0.5s var(--ease-smooth);
}
.strip-all p { font-weight: 700; font-size: 15px; }
/* ===== Copy clean button ===== */
.pill--copy {
background: transparent;
color: #ffffff;
border: 2px solid #3a3a3a;
font-size: 14px;
padding: 14px 24px;
}
.pill--copy:hover { background: var(--accent-blue); color: #0a0a0a; border-color: #0a0a0a; }
.pill--copy:disabled { opacity: 0.6; cursor: wait; transform: none; }
/* ===== Mini map (Leaflet) ===== */
.gps-alert__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-map { margin-top: 14px; max-width: 420px; animation: card-in 0.5s var(--ease-smooth); }
.mini-map__frame {
position: relative;
width: 100%;
height: 260px;
border-radius: 20px;
overflow: hidden;
border: 3px solid #0a0a0a;
background: #e9e5dc;
cursor: grab;
}
.mini-map__frame:active { cursor: grabbing; }
.mini-map__credit { color: var(--color-muted); font-size: 12px; margin-top: 8px; line-height: 1.5; }
.mini-map__credit a { color: var(--color-muted); text-decoration: underline; }
/* custom pin marker dropped on the Leaflet map */
.mini-map__marker { background: none; border: none; }
.mini-map__marker .icon { width: 34px; height: 34px; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.45)); }
/* re-skin Leaflet's default controls to fit the site rather than look bolted on */
.mini-map .leaflet-bar {
border: none !important;
box-shadow: none !important;
}
.mini-map .leaflet-control-zoom a,
.mini-map .mini-map__recenter a {
display: flex !important;
align-items: center;
justify-content: center;
width: 32px !important;
height: 32px !important;
line-height: normal !important;
border-radius: 50% !important;
border: 2px solid #0a0a0a !important;
background: #ffffff !important;
color: #0a0a0a !important;
margin-bottom: 6px;
}
.mini-map .leaflet-control-zoom a:hover,
.mini-map .mini-map__recenter a:hover { background: var(--accent-yellow) !important; }
.mini-map .mini-map__recenter { margin-top: 2px; }
.mini-map .leaflet-control-attribution {
background: rgba(255, 255, 255, 0.85) !important;
font-size: 10.5px !important;
border-radius: 8px 0 0 0;
}
/* ===== Selective strip checkboxes ===== */
.meta-check { display: inline-flex; align-items: center; margin-right: 6px; cursor: pointer; }
.meta-check input { position: absolute; opacity: 0; pointer-events: none; }
.meta-check span {
width: 18px; height: 18px;
border: 2px solid #555555;
border-radius: 6px;
display: inline-block;
transition: background 0.2s, border-color 0.2s;
position: relative;
}
.meta-check input:checked + span { background: var(--accent-green); border-color: var(--accent-green); }
.meta-check input:checked + span::after {
content: "";
position: absolute;
left: 4px; top: 1px;
width: 5px; height: 9px;
border: solid #0a0a0a;
border-width: 0 2.5px 2.5px 0;
transform: rotate(45deg);
}
.meta-check input:disabled + span { opacity: 0.35; }
/* the input itself is invisible (opacity: 0) for the custom checkbox look,
so its native focus ring would land on nothing a keyboard user can see;
draw the ring on the visible sibling instead. */
.meta-check input:focus-visible + span {
outline: 2.5px solid var(--accent-orange);
outline-offset: 2px;
}
.meta-list__reassure {
display: flex;
align-items: center;
gap: 8px;
margin-top: 12px;
padding: 10px 14px;
border-radius: 12px;
background: #10231a;
border-left: 4px solid var(--accent-green);
font-size: 13.5px;
line-height: 1.5;
}
.meta-list__hint { color: var(--color-muted); font-size: 12.5px; margin-top: 8px; }
.meta-list__copy-json {
background: none;
border: none;
color: var(--accent-blue);
font-weight: 700;
font-size: 12.5px;
text-decoration: underline;
cursor: pointer;
padding: 0;
margin-left: 4px;
}
.meta-list__copy-json:hover { color: var(--accent-orange); }
.meta-list__row dt { display: flex; align-items: center; gap: 4px; }
.blog-card--blue { background: var(--accent-blue); }
.blog-card--violet { background: var(--accent-violet); }
.blog-card--purple { background: var(--accent-purple); color: #ffffff; }
/* ===== Mobile nav burger + sheet ===== */
.nav__burger {
display: none;
flex-shrink: 0;