Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
1613 lines (1522 loc) · 48.1 KB
/
Copy pathstyles.css
File metadata and controls
1613 lines (1522 loc) · 48.1 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
/* ------------------------------------------------------------------
Colmez LP (Figma: SR007 / LP 9236:1110)
Design frame: 1496 wide. --u = 1 design px, fluid.
Scroll choreography lives in main.js and drives the custom props below.
------------------------------------------------------------------ */
@font-face {
font-family: "Overused Grotesk";
src: url("assets/fonts/OverusedGrotesk-VF.woff2") format("woff2"),
url("assets/fonts/OverusedGrotesk-VF.woff") format("woff");
font-weight: 300 900;
font-style: normal;
font-display: swap;
}
:root {
--c-black: #121212;
--c-white: #ffffff;
--c-grey-200: #737373;
--c-grey-800: #313131;
--c-gold-500: #ae9a29;
--c-gold-700: #38360d;
--u: calc(100vw / 1496);
--gutter: calc(40 * var(--u));
--content-w: calc(1416 * var(--u));
--font: "Overused Grotesk", "Helvetica Neue", Arial, sans-serif;
/* scroll track length of the stage (100vh pinned + this much scrolling).
The original choreography keeps its 420vh feel (main.js maps Pw over
420vh of scroll); 330vh cuts the dead tail — the waste/pattern exit now
happens DURING the crisis ride-in, driven by its entry progress E. */
--stage-track: 330vh;
/* scroll room for the pinned crisis accordion (two hand-over phases) */
--crisis-track: 200vh;
/* scroll room for the pinned team carousel (three member hand-overs) */
--team-track: 210vh;
/* band height: Figma's 1216u left ~388u of dead air under the last member,
halved on the client rev */
--team-h: calc(1022 * var(--u));
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--c-black); -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--c-black);
color: var(--c-white);
font-family: var(--font);
font-weight: 500;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
img { display: block; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.lp {
width: 100%;
container-type: inline-size;
}
@supports (width: 1cqw) {
.lp { --u: calc(100cqw / 1496); }
}
/* mobile-only hero block (see the media query at the end of the file) */
.mhero { display: none; }
/* ---------- STAGE ---------- */
.stage {
position: relative;
height: calc(100vh + var(--stage-track));
}
.stage__pin {
position: sticky;
top: 0;
height: 100vh;
overflow: hidden;
background: var(--c-black);
}
/* full-viewport layers */
.layer {
position: absolute;
inset: 0;
}
/* ---------- HERO COPY (Figma: headline at 40/271, 529 wide) ---------- */
.hero-copy {
position: absolute;
left: var(--gutter);
top: calc(271 * var(--u));
width: calc(529 * var(--u));
display: flex;
flex-direction: column;
gap: calc(16 * var(--u));
z-index: 1;
}
.hero-copy__headline {
font-size: calc(48 * var(--u));
line-height: 1;
letter-spacing: -0.02em;
--hbase: var(--c-white);
}
.hero-copy__meta {
display: flex;
align-items: center;
justify-content: space-between;
font-size: calc(14 * var(--u));
line-height: 1.2;
text-transform: uppercase;
color: var(--c-grey-200);
white-space: nowrap;
--hbase: var(--c-grey-200);
}
/* preloader entry variant: same sweep, but it leaves the base colour behind
(words appear); main.js swaps back to the dissolve gradient at handoff */
.hero-copy .hw.win {
background-image: linear-gradient(90deg,
var(--hbase) 0%,
var(--hbase) var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--c-grey-800) calc(var(--fill) + var(--tail-w)),
var(--c-grey-800) 100%);
}
/* hero words dissolve left→right with the same gold shimmer as the list below,
but in reverse: the sweep leaves transparency behind instead of white */
.hero-copy .hw {
display: inline-block;
padding: 0.14em 0 0.24em;
margin: -0.14em 0 -0.24em;
--fill: -40%; /* fully left of the word incl. the tail, so no gold at rest */
--edge-w: 14%;
--tail-w: 34%;
color: transparent;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(90deg,
transparent 0%,
transparent var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--hbase) calc(var(--fill) + var(--tail-w)),
var(--hbase) 100%);
-webkit-background-clip: text;
background-clip: text;
background-repeat: no-repeat;
}
/* ---------- PATTERN (vector canvas under the photo, inside the same box) ---------- */
.pattern-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: var(--c-black);
}
/* ---------- PHOTO LAYER (Figma: 1496×820 at y=460, rises to y=0) ---------- */
.layer--photo {
z-index: 3;
top: calc(460 * var(--u));
height: 100vh;
transform: translate3d(0, calc(var(--rise, 0) * -460 * var(--u)), 0);
will-change: transform;
}
.photo__canvas,
.photo__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.photo__img { object-fit: cover; }
.layer--photo.has-gl .photo__img { display: none; }
.layer--photo:not(.has-gl) .photo__canvas { display: none; }
.layer--photo:not(.has-gl) .photo__img { opacity: calc(1 - var(--dissolve, 0)); }
/* ---------- TEXT LAYER ---------- */
.layer--text {
z-index: 4;
pointer-events: none;
}
.waste {
position: absolute;
left: calc(50% - 110 * var(--u));
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: calc(64 * var(--u));
font-size: calc(50 * var(--u));
line-height: 1;
letter-spacing: -0.02em;
}
.waste__list {
width: calc(748 * var(--u));
--fill: -24%;
--edge-w: 14%; /* relative to one word now, so wider */
--tail-w: 34%;
}
/* Each word carries its own copy of the sweep gradient. JS sets background-size
to the paragraph width and background-position to the word offset, so all
words share one continuous sweep. (Gradient on the parent + composited word
transforms mis-renders in Chromium, hence per-word backgrounds.) */
.waste .w {
display: inline-block;
opacity: 0;
padding: 0.14em 0 0.24em; /* room for ascenders/descenders inside the bg box */
margin: -0.14em 0 -0.24em; /* …without changing layout */
will-change: transform, opacity;
color: transparent;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(90deg,
var(--c-white) 0%,
var(--c-white) var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--c-grey-800) calc(var(--fill) + var(--tail-w)),
var(--c-grey-800) 100%);
-webkit-background-clip: text;
background-clip: text;
background-repeat: no-repeat;
}
/* superscripts: grey-800 like the text while sliding in; the sweep turns them
grey-200 (instead of white). Own gradient copy, aligned by JS like the words. */
.waste__list sup {
display: inline-block;
font-size: 0.5em;
line-height: 0;
vertical-align: 0.55em;
letter-spacing: 0;
font-variant-numeric: tabular-nums;
color: transparent;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(90deg,
var(--c-grey-200) 0%,
var(--c-grey-200) var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--c-grey-800) calc(var(--fill) + var(--tail-w)),
var(--c-grey-800) 100%);
-webkit-background-clip: text;
background-clip: text;
background-repeat: no-repeat;
}
/* lead: word-by-word, same mechanics as the list (via .waste .w) */
.waste__lead {
width: calc(818 * var(--u));
--fill: -24%;
--edge-w: 14%;
--tail-w: 34%;
}
/* dissolve-out (stage exit): hero-style — the sweep leaves transparency
behind the gold edge instead of white. main.js swaps the class per word. */
.waste .w.wout {
background-image: linear-gradient(90deg,
transparent 0%,
transparent var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--c-white) calc(var(--fill) + var(--tail-w)),
var(--c-white) 100%);
}
.waste__list sup.wout {
background-image: linear-gradient(90deg,
transparent 0%,
transparent var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--c-grey-200) calc(var(--fill) + var(--tail-w)),
var(--c-grey-200) 100%);
}
/* ---------- SCROLL HINT (Figma: 40×129 at right gutter, y=661) ---------- */
.scroll-hint {
position: absolute;
z-index: 5;
bottom: calc(64 * var(--u));
right: var(--gutter);
width: calc(40 * var(--u));
height: calc(129 * var(--u));
padding: 0 calc(12 * var(--u)) calc(8 * var(--u));
background: var(--c-grey-200);
display: flex;
align-items: flex-end;
justify-content: center;
font-size: calc(16 * var(--u));
font-weight: 700;
line-height: 1.2;
opacity: var(--hint, 1);
}
.scroll-hint__arrow {
display: inline-block;
transform: rotate(90deg);
}
/* ---------- NAV (logo + CTA) ----------
Rest state = Figma hero positions. main.js interpolates top/left/width/height
towards the compact nav state (logo 24px tall top-left, CTA top-right). */
.nav {
position: fixed;
inset: 0;
z-index: 50; /* above every section — the compact nav rides the whole page */
pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__logo {
position: absolute;
left: var(--gutter);
top: var(--gutter);
width: var(--content-w);
height: calc(191 * var(--u));
will-change: left, top, width, height;
}
.nav__logo img { width: 100%; height: 100%; }
/* hover fx: pattern revealed through liquid holes; the glyph clipping happens
in the shader (logo.svg sampled as an alpha-mask texture — CSS mask-image on
a WebGL canvas is unreliable in Chromium) */
.nav__logo-fx {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
/* compact pair (separate elements so they can form while the big pair is
still dissolving); JS owns geometry + visibility. The mini logo's layer
blends with difference: white glyphs go black over the white screens
section and stay (near-)white on the dark ones, switching with the scroll */
.nav__logo--mini, .cta--mini { visibility: hidden; }
.nav--blend { mix-blend-mode: difference; }
/* CTA goo canvas: paints the gold slab while it dissolves into holes on
scroll (the DOM background goes transparent for the duration) */
.cta__fx {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.cta {
position: absolute;
left: calc(1117 * var(--u));
top: calc(271 * var(--u));
width: calc(339 * var(--u));
height: calc(129 * var(--u));
padding: 0 calc(12 * var(--u)) calc(8 * var(--u));
overflow: hidden; /* preloader draws it as a 2px line growing upward */
display: flex;
align-items: flex-end;
justify-content: space-between;
background: var(--c-gold-500);
color: var(--c-white);
font-size: calc(16 * var(--u));
font-weight: 700;
line-height: 1.2;
text-transform: uppercase;
white-space: nowrap;
will-change: left, top, width, height;
}
@media (prefers-reduced-motion: reduce) {
.waste__list, .waste__lead { transition: none; }
}
/* ---------- CRISIS (Figma 9236:1630) ----------
Headline (698, 48px) + accordion, pinned while the active state hands over
001 -> 002 -> 003. main.js drives per-item --mh (media height, design px),
subhead fades and the word sweeps; scroll room comes from --crisis-track. */
.crisis {
position: relative;
background: var(--c-black);
}
.crisis::after { /* scroll room for the pinned phases */
content: "";
display: block;
height: var(--crisis-track);
}
.crisis__pin {
position: sticky;
/* first accordion row (list top 266 in the pin) parks 66u under the top
edge — CLEAR of the fixed nav logo (bottom 44u; the old short-viewport
min() lifted boxes into it, client complaint). Constant top: on short
viewports subhead 003 may dip below the fold — nav clearance wins.
Mirror any change in crisisProgress(). */
top: calc(-200 * var(--u));
padding: calc(100 * var(--u)) 0 calc(132 * var(--u));
background: var(--c-black);
}
.crisis__head {
margin: 0 0 0 calc(40 * var(--u));
width: calc(798 * var(--u));
font-size: calc(48 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
color: var(--c-white);
}
/* crisis words: same sweep mechanics as .waste .w — per-word gradient,
--wbase is the colour the sweep leaves behind (white / gold for numbers) */
.crisis .cw, .map .cw, .quote .cw, .screens .cw, .security .cw, .footer .cw {
display: inline-block;
opacity: 0;
padding: 0.14em 0 0.24em;
margin: -0.14em 0 -0.24em;
will-change: transform, opacity;
--wbase: var(--c-white);
--wtail: var(--c-grey-800); /* pre-sweep colour — pick per section so the
unswept word melts into that section's bg */
--fill: -24%;
--edge-w: 14%;
--tail-w: 34%;
color: transparent;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(90deg,
var(--wbase) 0%,
var(--wbase) var(--fill),
var(--c-gold-500) calc(var(--fill) + var(--edge-w)),
var(--wtail) calc(var(--fill) + var(--tail-w)),
var(--wtail) 100%);
-webkit-background-clip: text;
background-clip: text;
background-repeat: no-repeat;
}
.crisis .cw--gold { --wbase: var(--c-gold-500); }
/* light sections: black ink sweeps in, tail melts into the section bg */
.screens .cw, .security .cw { --wbase: var(--c-black); --wtail: #fff; }
.team .cw { --wbase: var(--c-black); --wtail: #ebebeb; }
.screen-item__chip .cw { --wbase: var(--c-white); --wtail: var(--c-gold-500); }
/* fade-rise lines (subs, list rows, roles) — driven like the words, no fill */
.quote .fr, .screens .fr, .security .fr, .team .fr, .footer .fr { opacity: 0; will-change: transform, opacity; }
/* body blocks (client rev): long copy reveals as ONE block, not word by
word — the per-word cascade made big paragraphs feel over-busy */
.blk { opacity: 0; will-change: transform, opacity; }
/* ---------- MAP (Figma 9249:1707 + colmez-hero-map-brief.md) ---------- */
.map {
position: relative;
background: var(--c-black);
padding: calc(50 * var(--u)) 0 calc(140 * var(--u)); /* air before the quote band (client rev) */
}
.map__lead {
margin: 0 0 0 calc(50% - 108 * var(--u)); /* same column as the waste lead */
width: calc(820 * var(--u));
font-size: calc(44 * var(--u));
line-height: 1;
letter-spacing: -0.02em;
font-weight: 500;
color: var(--c-white);
}
/* full-bleed band, 759u tall like the Figma frame box (9249:1707 rev: the
framed field grew 713 -> 759 and the section paddings tightened); the
frame lines are
drawn ON the canvas (horizontals run the full page width, verticals sit at
the 40u content margins) so they can draw in with the scroll.
Viewport-capped so frame + map always fit on screen. */
.map__stage {
position: relative;
margin-top: calc(44 * var(--u));
width: 100%;
/* the vh term: viewport minus 64px nav clearance above the top line and
the 24u page-end tail below the bottom line — at page end the band runs
from just under the nav to ~24px above the viewport bottom (client rev) */
height: min(calc(759 * var(--u)), calc(100vh - 88px));
overflow: hidden;
}
/* pan wrapper fills the stage on desktop (map.js reads its size); on mobile
it is wider than the viewport and the stage scrolls it */
.map__pan {
position: absolute;
inset: 0;
}
.map__stage canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.crisis__list {
width: calc(1416 * var(--u));
margin: calc(80 * var(--u)) 0 0 calc(40 * var(--u));
display: flex;
flex-direction: column;
gap: calc(20 * var(--u)); /* tightened from Figma's 32 so subhead 003 fits on screen */
}
.crisis__rule {
border: 0;
margin: 0;
width: 100%;
height: 1px;
background: var(--c-grey-800);
}
.crisis-item {
display: flex;
align-items: stretch; /* image height drives the row */
justify-content: space-between;
gap: calc(40 * var(--u));
/* the row IS the media height: min-height 0 beats the flex min-content
floor (the hidden closed-state subhead otherwise inflates the row, the
pin height varies mid-morph and the scroll fights the layout) */
height: calc(var(--mh) * var(--u));
min-height: 0;
}
.crisis-item__left {
display: flex;
align-items: stretch;
gap: calc(32 * var(--u));
flex: 0 0 auto;
}
.crisis-item__num {
flex: 0 0 calc(100 * var(--u));
padding-top: calc(8 * var(--u));
}
/* number chip: grey plate, label bottom-left; width rides the open state
(26 idle / 100 active) via --chw, set inline by main.js like --mh */
.crisis-item__chip {
display: flex;
align-items: flex-end;
width: calc(var(--chw, 26) * var(--u));
height: calc(24 * var(--u));
padding: calc(4 * var(--u)) 0 calc(4 * var(--u)) calc(4 * var(--u));
background: var(--c-grey-800);
font-size: calc(10 * var(--u));
line-height: 1;
font-weight: 600;
}
.crisis-item__text {
width: calc(419 * var(--u));
display: flex;
flex-direction: column;
justify-content: space-between; /* title top, body bottom */
}
.crisis-item__title {
margin: 0;
font-size: calc(40 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
color: var(--c-white);
}
/* subhead: words hide themselves (.cw); the container opacity is used by
main.js to fade the OUTGOING subhead while the item collapses */
.crisis-item__desc {
margin: 0;
padding-top: calc(20 * var(--u));
font-size: calc(20 * var(--u));
line-height: 1;
font-weight: 400;
color: var(--c-white);
}
/* media height in design px via --mh, driven by main.js (340 active / 140 idle) */
.crisis-item { --mh: 140; --chw: 26; }
.crisis-item.is-open { --mh: 340; --chw: 100; }
.crisis-item__media {
position: relative;
flex: 0 0 auto;
width: calc(698 * var(--u));
height: calc(var(--mh) * var(--u));
overflow: hidden;
--ifill: -34%; /* photo shimmer sweep, driven by main.js; rest <= -(tail 26%)
so no gold sliver shows on the covered photo's left edge */
}
.crisis-item__media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
/* goo-reveal overlay (JS-appended canvas): the preloader-logo reveal erodes
a section-coloured cover off the image, gold rim on the melt edge */
.ggoo {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 2;
}
/* washed-photo layer (team carousel) sits UNDER the entry cover */
.ggoo--wash { z-index: 1; }
/* while the goo drives, the CSS shimmer ::after (kept as no-WebGL fallback)
steps aside — doubled class beats the per-section ::after rules that come
later in the file */
.ggoo-on.ggoo-on::after { content: none; }
/* shimmer-in (no-WebGL fallback): same sweep grammar as the words — a gold
edge wipes L→R, revealing the photo from under page-black */
.crisis-item__media::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(90deg,
transparent 0%,
transparent var(--ifill),
var(--c-gold-500) calc(var(--ifill) + 8%),
var(--c-black) calc(var(--ifill) + 26%),
var(--c-black) 100%);
}
/* ---------- QUOTE (Figma 9264:273) ---------- */
.quote {
position: relative;
height: calc(500 * var(--u));
background: var(--c-grey-800);
overflow: hidden;
}
.quote__media {
position: absolute;
left: 0;
top: 0;
width: calc(354 * var(--u));
height: 100%;
background: #454748;
overflow: hidden;
--ifill: -34%;
}
.quote__media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
/* photo shimmer — crisis grammar, cover colour = the section's grey */
.quote__media::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(90deg,
transparent 0%,
transparent var(--ifill),
var(--c-gold-500) calc(var(--ifill) + 8%),
var(--c-grey-800) calc(var(--ifill) + 26%),
var(--c-grey-800) 100%);
}
.quote__body {
position: absolute;
left: calc(499 * var(--u));
top: 50%;
transform: translateY(-50%);
width: calc(857 * var(--u));
display: flex;
flex-direction: column;
gap: calc(40 * var(--u));
}
.quote__text {
margin: 0;
font-size: calc(48 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
color: var(--c-white);
}
.quote__attr { display: flex; flex-direction: column; gap: calc(8 * var(--u)); }
.quote__name {
margin: 0;
font-size: calc(20 * var(--u));
line-height: 1;
font-weight: 400;
color: var(--c-white);
}
.quote__roles { display: flex; flex-direction: column; gap: calc(4 * var(--u)); }
.quote__role {
margin: 0;
font-size: calc(14 * var(--u));
line-height: 1;
color: #8e8e8e;
}
/* ---------- SCREENS (Figma 9279:16) ---------- */
.screens {
position: relative;
background: #fff;
color: var(--c-black);
padding: calc(150 * var(--u)) 0 0; /* the bottom run continues in .security */
}
.screens__head {
margin: 0 0 calc(149 * var(--u)) calc(40 * var(--u));
width: calc(798 * var(--u));
font-size: calc(48 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
color: var(--c-black);
}
.screens__list {
display: flex;
flex-direction: column;
gap: calc(120 * var(--u));
}
.screens__sep { height: 1px; background: rgba(115, 115, 115, 0.2); }
.screen-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 calc(40 * var(--u));
}
/* left column stretches to the media height; title block and the signal
list pin to its top and bottom (Figma: justify-between) */
.screen-item__left {
display: flex;
gap: calc(32 * var(--u));
width: calc(660 * var(--u));
flex: 0 0 auto;
align-self: stretch;
}
.screen-item__num {
flex: 0 0 auto;
width: calc(100 * var(--u));
padding-top: calc(8 * var(--u));
}
.screen-item__chip {
display: flex;
align-items: flex-end;
width: 100%;
height: calc(26 * var(--u));
background: var(--c-gold-500);
padding: calc(4 * var(--u)) 0 calc(4 * var(--u)) calc(4 * var(--u));
font-size: calc(10 * var(--u));
line-height: 1;
font-weight: 600;
color: var(--c-white);
}
.screen-item__text {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.screen-item__top { display: flex; flex-direction: column; gap: calc(32 * var(--u)); }
.screen-item__title {
margin: 0;
font-size: calc(40 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
}
.screen-item__sub { margin: 0; font-size: calc(20 * var(--u)); line-height: 1; font-weight: 400; }
.screen-item__rows {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: calc(24 * var(--u));
font-size: calc(20 * var(--u));
line-height: 1;
}
.screen-item__rows li + li {
border-top: 1px solid rgba(115, 115, 115, 0.2);
padding-top: calc(24 * var(--u));
}
.screen-item__media {
position: relative;
flex: 0 0 auto;
width: calc(696 * var(--u));
height: calc(441 * var(--u));
border: 1px solid var(--c-black);
overflow: hidden;
--ifill: -34%;
}
.screen-item__media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
/* shimmer over WHITE — the light section's take on the crisis photo sweep */
.screen-item__media::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: linear-gradient(90deg,
transparent 0%,
transparent var(--ifill),
var(--c-gold-500) calc(var(--ifill) + 8%),
#fff calc(var(--ifill) + 26%),
#fff 100%);
}
/* ---------- SECURITY (Figma 9286:337) ---------- */
/* white continuation of the screens run: gold chip + claim + SOC2 badge */
.security {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
color: var(--c-black);
padding: calc(241 * var(--u)) calc(40 * var(--u)) calc(200 * var(--u));
}
.security__left {
display: flex;
gap: calc(32 * var(--u));
align-items: flex-start;
}
.security__head {
margin: 0;
width: calc(718 * var(--u));
font-size: calc(48 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
}
.security__badge {
flex: 0 0 auto;
width: calc(220 * var(--u));
height: calc(220 * var(--u));
/* optically centred in the run between the heading's right edge (890u)
and the page edge: (1496-890-220)/2 = 193u each side, minus the 40u
section padding */
margin-right: calc(153 * var(--u));
}
/* ---------- TEAM (Figma 9286:278) ---------- */
.team {
position: relative;
background: var(--c-black); /* opaque: the underfooter sits behind it */
height: calc(var(--team-h) + var(--team-track));
}
/* the 1216u band pins centred in the viewport while the carousel scrubs */
.team__pin {
position: sticky;
/* centred in the viewport, but never so high that the heading (150u down)
slides under the fixed nav — mirrored by teamStickyTop() in main.js */
top: max(calc(64px - 150 * var(--u)), calc((100vh - var(--team-h)) / 2));
height: var(--team-h);
background: #ebebeb;
color: var(--c-black);
overflow: hidden;
}
.team__head {
position: absolute;
left: calc(40 * var(--u));
top: calc(150 * var(--u));
margin: 0;
width: calc(578 * var(--u));
font-size: calc(56 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
}
.team__name {
margin: 0;
font-size: calc(32 * var(--u));
line-height: 0.9;
letter-spacing: -0.02em;
font-weight: 500;
}
.team__chip {
display: flex;
align-items: flex-end;
height: calc(26 * var(--u));
padding: calc(4 * var(--u)) calc(8 * var(--u));
background: var(--c-grey-200);
color: var(--c-white);
font-size: calc(10 * var(--u));
line-height: 1;
font-weight: 600;
}
.team__bio {
position: absolute;
left: calc(997 * var(--u));
top: calc(599 * var(--u));
width: calc(459 * var(--u));
}
/* stacked bio variants; the carousel crossfades them (JS drives opacity) */
.team__bio-item {
position: absolute;
left: 0;
top: 0;
width: 100%;
display: flex;
flex-direction: column;
gap: calc(32 * var(--u));
}
.team__bio-item:not(:first-child) { opacity: 0; visibility: hidden; }
.team__desc { margin: 0; font-size: calc(20 * var(--u)); line-height: 1; font-weight: 400; }
.team__logos {
display: flex;
flex-direction: column;
gap: calc(24.7 * var(--u));
width: 100%;
}
.team__logos-row { display: flex; align-items: center; gap: calc(29 * var(--u)); }
.team__logos img { height: auto; width: auto; display: block; }
.team__list {
position: absolute;
left: calc(40 * var(--u));
top: calc(599 * var(--u));
width: calc(339 * var(--u));
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: calc(24 * var(--u));
}
.team__list li { cursor: pointer; }
.team__list li:not(.is-active) { opacity: 0.2; } /* dimmed queue; the inner .fr fades within */
.team__list li > div {
display: flex;
flex-direction: column;
gap: calc(12 * var(--u));
align-items: flex-start;
}
/* portrait strip: a centred vertical column on the page axis; the carousel
translates it so the active member's portrait (grown to 380x458) sits at
599u while the neighbours rest at 285x343.5 (JS drives size + offset) */
.team__strip {
position: absolute;
left: 50%;
top: 0;
transform: translate(-50%, calc(370 * var(--u))); /* rest pose: member 0 centred */
width: calc(380 * var(--u));
display: flex;
flex-direction: column;
align-items: center;
gap: calc(20 * var(--u));
}
.team__photo {
position: relative;
flex: 0 0 auto;
width: calc(285 * var(--u));
height: calc(343.5 * var(--u));
background: var(--c-black);
overflow: hidden;
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team__photo:first-child { width: calc(380 * var(--u)); height: calc(458 * var(--u)); }
/* ---------- FOOTER (Figma 9298:457) ---------- */
/* Underfooter: sticky at the viewport bottom for the whole page, painted
behind every section (they all carry z-index 1), so the team band slides
up off it at the end of the page instead of pushing it down. */
.lp > section,
.lp > .stage { position: relative; z-index: 1; }
.security { position: relative; z-index: 1; }
.footer {
position: sticky;
bottom: 0;
z-index: 0;
height: max(100vh, calc(792 * var(--u)));
background: var(--c-black);
overflow: hidden;
}
.footer__pattern {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
}
/* the black plate the whole footer sits on (Figma: 1416x450, nudged 21u up) */
.footer__content {
position: absolute;