Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
756 lines (732 loc) · 90.4 KB
/
Copy pathindex.html
File metadata and controls
756 lines (732 loc) · 90.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./support.js"></script>
</head>
<body>
<x-dc>
<helmet>
<title>Rexiox — Independent app studio</title>
<link rel="icon" type="image/png" href="assets/logo.png">
<link rel="apple-touch-icon" href="assets/logo.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400&family=Space+Grotesk:wght@500;600&display=swap" rel="stylesheet">
<style>
html{scroll-behavior:smooth}
body{margin:0;background:#050505;color:#f4f4f5;font-family:"Geist",system-ui,sans-serif;-webkit-font-smoothing:antialiased;--a1:#3a0a04;--a2:#c2240d;--a3:#ff5a3c;--a4:#2a0602}
*{box-sizing:border-box}
a{color:#f4f4f5}a:hover{color:#fff}
@keyframes rxDrift{0%{background-position:0 0%}50%{background-position:0 18%}100%{background-position:0 0%}}
@keyframes rxRise{from{transform:scaleY(0.6);opacity:0}to{transform:scaleY(1);opacity:1}}
@keyframes rxLogoIn{0%{opacity:0;transform:rotate(-120deg) scale(.3)}70%{opacity:1;transform:rotate(8deg) scale(1.06)}100%{opacity:1;transform:none}}
@keyframes rxBrandIn{from{transform:translateY(112%)}to{transform:none}}
@keyframes rxTrackIn{from{letter-spacing:0.5em;opacity:0}12%{opacity:1}to{letter-spacing:0.14em;opacity:1}}
@keyframes rxBrandLine{0%{transform:scaleX(0);transform-origin:left}48%{transform:scaleX(1);transform-origin:left}52%{transform:scaleX(1);transform-origin:right}100%{transform:scaleX(0);transform-origin:right}}
@keyframes rxLetterIn{from{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}
@keyframes rxHeaderIn{from{opacity:0;transform:translate(-50%,-24px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes rxWordIn{from{opacity:0;transform:translateY(0.35em)}to{opacity:1;transform:none}}
@keyframes rxBreathe{0%,100%{scale:1 1}50%{scale:1 1.07}}
@keyframes rxScrollDot{0%{transform:translateY(-100%);opacity:0}30%{opacity:1}100%{transform:translateY(260%);opacity:0}}
@keyframes rxGlow{0%,100%{opacity:.35;transform:translateX(-50%) scaleX(1)}50%{opacity:.7;transform:translateX(-50%) scaleX(1.12)}}
@keyframes rxPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(3.2);opacity:0}}
@keyframes rxSpin{to{transform:rotate(360deg)}}
@keyframes rxType{0%,10%{transform:scaleX(0.15)}45%,80%{transform:scaleX(1)}100%{transform:scaleX(0.15)}}
@keyframes rxBlink{0%,49%{opacity:1}50%,100%{opacity:0}}
@keyframes rxMenuIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes rxMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
</style>
</helmet>
<div style="background:#050505;color:#f4f4f5;min-height:100vh;overflow-x:hidden">
<section id="top" data-screen-label="Hero" data-hero="1" style="position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;overflow:visible">
<div data-bars="1" style="position:absolute;left:0;right:0;top:0;height:{{ barsH }};overflow:hidden;pointer-events:none;will-change:transform;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,0.85) 70%,rgba(0,0,0,0.55) 82%,rgba(0,0,0,0.22) 92%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 58%,rgba(0,0,0,0.85) 70%,rgba(0,0,0,0.55) 82%,rgba(0,0,0,0.22) 92%,transparent 100%)">{{ bars }}</div>
{{ barGlow }}
<div data-spot="1" style="position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .6s ease;background:radial-gradient(520px circle at var(--mx,50%) var(--my,60%),color-mix(in srgb,var(--a3) 16%,transparent),transparent 65%)"></div>
<div style="position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,#050505 0%,rgba(5,5,5,0.7) 30%,rgba(5,5,5,0) 55%)"></div>
<header data-header="1" style="position:fixed;z-index:20;top:20px;left:50%;transform:translateX(-50%);width:min(760px,calc(100% - 32px));transition:width .6s cubic-bezier(.2,.7,.2,1),background .4s ease,border-color .4s ease,top .5s cubic-bezier(.2,.7,.2,1);display:flex;align-items:center;gap:16px;padding:10px 10px 10px 14px;border-radius:999px;background:rgba(24,24,27,0.72);border:1px solid rgba(255,255,255,0.07);backdrop-filter:blur(12px)">
<a href="#top" aria-label="Rexiox" style="display:flex;align-items:center;text-decoration:none;margin-right:auto;padding:2px 6px 2px 0">{{ brand }}</a>
<nav data-nav="1" style="position:relative;display:flex;align-items:center;gap:2px;font-size:15px">
<span data-nav-pill="1" style="position:absolute;top:0;bottom:0;left:0;width:0;border-radius:999px;background:rgba(255,255,255,0.08);opacity:0;pointer-events:none;transition:left .45s cubic-bezier(.2,.7,.2,1),width .45s cubic-bezier(.2,.7,.2,1),opacity .3s ease"></span>
<a href="#about" data-nav-link="1" style="display:{{ navLinkDisp }};position:relative;padding:8px 14px;border-radius:999px;text-decoration:none;color:#a1a1aa;transition:color .3s" style-hover="color:#fff">About</a>
<a href="#apps" data-nav-link="1" style="display:{{ navLinkDisp }};position:relative;padding:8px 14px;border-radius:999px;text-decoration:none;color:#a1a1aa;transition:color .3s" style-hover="color:#fff">Apps</a>
<a href="#services" data-nav-link="1" style="display:{{ navLinkDisp }};position:relative;padding:8px 14px;border-radius:999px;text-decoration:none;color:#a1a1aa;transition:color .3s" style-hover="color:#fff">Services</a>
<a href="#contact" style="margin-left:6px;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s;padding:9px 18px;border-radius:999px;text-decoration:none;background:#fff;color:#0a0a0a;font-weight:500" style-hover="background:#e7e7e9;color:#0a0a0a">Contact</a>
<button type="button" onClick="{{ toggleMenu }}" aria-label="Menu" aria-expanded="{{ menuOpen }}" style="display:{{ menuBtnDisp }};margin-left:6px;width:40px;height:40px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,0.14);background:transparent;cursor:pointer;place-items:center">
<span style="position:relative;display:block;width:16px;height:10px">
<span style="position:absolute;left:0;right:0;top:{{ menuT1 }};height:1.5px;border-radius:1px;background:#f4f4f5;transform:rotate({{ menuR1 }});transition:top .3s ease,transform .3s ease"></span>
<span style="position:absolute;left:0;right:0;top:{{ menuT2 }};height:1.5px;border-radius:1px;background:#f4f4f5;transform:rotate({{ menuR2 }});transition:top .3s ease,transform .3s ease"></span>
</span>
</button>
</nav>
</header>
<sc-if value="{{ menuOpen }}" hint-placeholder-val="{{ false }}">
<div style="position:fixed;z-index:19;top:80px;left:16px;right:16px;display:flex;flex-direction:column;padding:8px;border-radius:24px;background:rgba(14,14,16,0.94);border:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:rxMenuIn .35s cubic-bezier(.16,1,.3,1) both">
<a href="#about" onClick="{{ closeMenu }}" style="display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:16px;font-size:17px;color:#f4f4f5;text-decoration:none" style-hover="background:rgba(255,255,255,0.06);color:#fff">About</a>
<a href="#apps" onClick="{{ closeMenu }}" style="display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:16px;font-size:17px;color:#f4f4f5;text-decoration:none" style-hover="background:rgba(255,255,255,0.06);color:#fff">Apps</a>
<a href="#services" onClick="{{ closeMenu }}" style="display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:16px;font-size:17px;color:#f4f4f5;text-decoration:none" style-hover="background:rgba(255,255,255,0.06);color:#fff">Services</a>
</div>
</sc-if>
<sc-if value="{{ showScroll }}" hint-placeholder-val="{{ true }}"><div data-reveal="1.4" style="position:absolute;left:50%;bottom:min(28px,3vh);margin-left:-30px;width:60px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none"><div data-scroll-cue="1" style="display:flex;flex-direction:column;align-items:center;gap:10px;transition:opacity .8s ease">
<span style="font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#f4f4f5">Scroll</span>
<div style="position:relative;width:1px;height:40px;overflow:hidden;background:rgba(255,255,255,0.3)">{{ scrollDot }}</div>
</div></div></sc-if>
<div data-hero-content="1" style="position:relative;z-index:2;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:min(28px,3.6vh);will-change:transform,opacity;text-align:center;padding:clamp(96px,14vh,120px) 20px clamp(48px,10vh,110px)">
<div aria-hidden="true" style="position:absolute;left:50%;top:50%;width:min(1100px,120vw);height:min(760px,110vh);transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(5,5,5,0.82) 0%,rgba(5,5,5,0.6) 40%,rgba(5,5,5,0) 70%);pointer-events:none;z-index:-1"></div>
<a href="#apps" data-reveal="0.2" style="display:flex;align-items:center;gap:10px;padding:5px 6px 5px 14px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);font-size:13px;color:#d4d4d8;background:rgba(5,5,5,0.35);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);text-decoration:none;transition:border-color .3s" style-hover="border-color:rgba(255,255,255,0.28);color:#d4d4d8">
{{ pulseDot }}<span style="display:{{ chipLeadDisp }}">Independent app studio</span>
<span style="display:{{ chipLeadDisp }};width:1px;height:14px;background:rgba(255,255,255,0.14)"></span>
<span style="display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,0.06);color:#f4f4f5">New: Macropad Studio<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span>
</a>
<h1 aria-label="We turn bold ideas into apps people use every day, everywhere." style="margin:0;font-weight:600;font-size:min(clamp(42px,6.6vw,92px),9.6vh);line-height:1.02;letter-spacing:-0.05em;max-width:15ch;text-wrap:balance;padding-bottom:0.06em">{{ heroTitle }}</h1>
<p data-reveal="0.45" style="margin:-6px 0 0;max-width:46ch;font-size:clamp(16px,1.4vw,19px);line-height:1.55;color:#ececee;text-shadow:0 1px 2px rgba(0,0,0,0.7),0 2px 18px rgba(0,0,0,0.85);text-wrap:balance">Rexiox designs and builds native apps for iPhone, iPad, Mac and Android.</p>
<div data-reveal="0.55" style="display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:8px">
<a href="#apps" style="transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s;white-space:nowrap;padding:15px 30px;border-radius:999px;background:#fff;color:#0a0a0a;text-decoration:none;font-size:16px;font-weight:600;letter-spacing:-0.01em;box-shadow:0 0 32px rgba(255,255,255,0.28);display:flex;align-items:center;gap:10px;padding-right:14px" style-hover="background:#e7e7e9;color:#0a0a0a">Explore our apps<span style="width:26px;height:26px;border-radius:999px;background:#0a0a0a;display:grid;place-items:center"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span></a>
<a href="#contact" style="transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s;white-space:nowrap;padding:15px 30px;border-radius:999px;border:1px solid rgba(255,255,255,0.22);color:#f4f4f5;text-decoration:none;font-size:16px;font-weight:600;letter-spacing:-0.01em;background:rgba(10,10,12,0.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)" style-hover="background:rgba(28,28,32,0.92);color:#fff">Get in touch</a>
</div>
</div>
</section>
<section id="about" data-screen-label="About" ref="{{ aboutRef }}" style="position:relative;z-index:1;isolation:isolate;padding:clamp(96px,12vw,168px) clamp(16px,4vw,48px);max-width:1100px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:32px;text-align:center">
<span data-reveal="0" style="padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);font-size:13px;color:#d4d4d8;background:rgba(5,5,5,0.2)">About Rexiox</span>
<h2 data-reveal="0.1" style="margin:0;font-weight:600;font-size:clamp(38px,5vw,68px);line-height:1;letter-spacing:-0.05em;max-width:14ch;text-wrap:balance;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:0.06em">A small studio with a big focus</h2>
<p style="margin:0;max-width:40ch;font-size:clamp(19px,1.9vw,24px);line-height:1.5;font-weight:500;letter-spacing:-0.015em;text-wrap:pretty">
<sc-for list="{{ words }}" as="w" hint-placeholder-count="0"><span data-aw="1" style="opacity:{{ w.o }};color:#f4f4f5;transition:opacity 0.35s ease">{{ w.t }} </span></sc-for>
</p>
</section>
<section id="apps" data-screen-label="Apps" style="padding:0 clamp(12px,2vw,24px) clamp(96px,12vw,160px)">
<div style="display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;padding:0 20px">
<span data-reveal="0" style="padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);font-size:13px;color:#d4d4d8">Our apps</span>
<h2 data-reveal="0.1" style="margin:0;font-weight:600;font-size:clamp(38px,5vw,68px);line-height:1;letter-spacing:-0.05em;max-width:12ch;text-wrap:balance;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent">Apps people open every day</h2>
<p data-reveal="0.2" style="margin:0;max-width:40ch;font-size:17px;line-height:1.5;color:#a1a1aa">Every app is designed, built and run by our own team.</p>
</div>
<div ref="{{ iconRowRef }}" data-reveal="0.3" style="user-select:none;-webkit-user-select:none;position:relative;margin:clamp(8px,2vw,32px) calc(-1 * clamp(12px,2vw,24px)) clamp(32px,5vw,80px);padding:48px 0 40px;overflow:hidden">
{{ appMarquee }}
<div style="position:absolute;top:0;bottom:0;left:0;width:clamp(80px,24vw,340px);background:linear-gradient(to right,#050505 18%,rgba(5,5,5,0.85) 45%,rgba(5,5,5,0));pointer-events:none;z-index:3"></div>
<div style="position:absolute;top:0;bottom:0;right:0;width:clamp(80px,24vw,340px);background:linear-gradient(to left,#050505 18%,rgba(5,5,5,0.85) 45%,rgba(5,5,5,0));pointer-events:none;z-index:3"></div>
<div style="position:absolute;left:50%;top:252px;width:28px;height:3px;margin-left:-14px;border-radius:2px;background:#f4f4f5;opacity:{{ zoneDot }};pointer-events:none;z-index:4;transition:opacity .4s ease"></div>
</div>
<div style="display:grid;grid-template-rows:{{ panelRows }};transition:grid-template-rows .8s cubic-bezier(.16,1,.3,1)"><div style="min-height:0;overflow:hidden">
<div data-reveal="0.2" style="max-width:1200px;margin:0 auto;padding-bottom:8px;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(40px,5vw,80px);align-items:flex-start;padding:0 clamp(4px,2vw,24px)">
<div style="flex:none;max-width:100%;opacity:{{ panelOpacity }};transform:translateY({{ panelShift }}px);transition:opacity .45s ease,transform .6s cubic-bezier(.16,1,.3,1)">
<div style="display:flex;flex-direction:column;align-items:center;gap:22px">
<div style="user-select:none;-webkit-user-select:none;position:relative;height:{{ deviceH }};max-width:100%;display:flex;align-items:center;justify-content:center">
<sc-if value="{{ isMac }}" hint-placeholder-val="{{ false }}">
<div style="width:min(600px,calc(100vw - 48px),46vw);min-width:min(320px,calc(100vw - 48px));aspect-ratio:16 / 10;padding:6px;border-radius:12px;background:transparent;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03)"><div style="position:relative;width:100%;height:100%;border-radius:7px;overflow:hidden;background:transparent">{{ slides }}<sc-if value="{{ noShot }}" hint-placeholder-val="{{ true }}"><div style="position:absolute;inset:0;border-radius:7px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div></div>
</sc-if> <sc-if value="{{ isCar }}" hint-placeholder-val="{{ false }}">
<div style="width:min(640px,calc(100vw - 48px),48vw);min-width:min(320px,calc(100vw - 48px));aspect-ratio:16 / 9;padding:6px;border-radius:12px;background:transparent;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03)"><div style="position:relative;width:100%;height:100%;border-radius:7px;overflow:hidden;background:transparent">{{ slides }}<sc-if value="{{ noShot }}" hint-placeholder-val="{{ true }}"><div style="position:absolute;inset:0;border-radius:7px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div></div>
</sc-if>
<sc-if value="{{ isPhone }}" hint-placeholder-val="{{ true }}">
<div style="height:100%;aspect-ratio:9 / 19.5;padding:6px;border-radius:22px;background:transparent;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03)"><div style="position:relative;width:100%;height:100%;border-radius:16px;overflow:hidden;background:transparent">{{ slides }}<sc-if value="{{ noShot }}" hint-placeholder-val="{{ true }}"><div style="position:absolute;inset:0;border-radius:16px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div></div>
</sc-if>
<sc-if value="{{ isDual }}" hint-placeholder-val="{{ false }}">
<div style="position:relative;height:100%;width:min(660px,calc(100vw - 48px),50vw);min-width:min(340px,calc(100vw - 48px))">
<div style="position:absolute;left:0;top:50%;width:84%;aspect-ratio:16 / 10;transform:translateY(-58%);padding:6px;border-radius:12px;background:transparent;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03)">
<div style="position:relative;width:100%;height:100%;border-radius:7px;overflow:hidden">{{ macSlides }}<sc-if value="{{ noMacShot }}" hint-placeholder-val="{{ false }}"><div style="position:absolute;inset:0;border-radius:7px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div>
</div>
<div style="position:absolute;right:0;bottom:3%;height:70%;aspect-ratio:9 / 19.5;padding:5px;border-radius:26px;background:#050505;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03),0 30px 60px -20px rgba(0,0,0,0.9)">
<div style="position:relative;width:100%;height:100%;border-radius:21px;overflow:hidden;background:#050505">{{ slides }}<sc-if value="{{ noShot }}" hint-placeholder-val="{{ false }}"><div style="position:absolute;inset:0;border-radius:21px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div>
</div>
</div>
</sc-if>
<sc-if value="{{ isTablet }}" hint-placeholder-val="{{ false }}">
<div style="height:100%;aspect-ratio:3 / 4;padding:7px;border-radius:20px;background:transparent;border:1px solid rgba(255,255,255,0.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.03)"><div style="position:relative;width:100%;height:100%;border-radius:13px;overflow:hidden;background:transparent">{{ slides }}<sc-if value="{{ noShot }}" hint-placeholder-val="{{ true }}"><div style="position:absolute;inset:0;border-radius:13px;border:1px dashed rgba(255,255,255,0.12);display:grid;place-items:center"><span style="font-family:'Geist Mono',monospace;font-size:11px;color:#71717a">{{ shotLabel }}</span></div></sc-if></div></div>
</sc-if>
</div>
<sc-if value="{{ multiShot }}" hint-placeholder-val="{{ false }}">
<div style="display:flex;align-items:center;gap:14px;user-select:none;-webkit-user-select:none">
<button onClick="{{ prevShot }}" aria-label="Previous" style="width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,0.14);background:transparent;color:#f4f4f5;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.3)"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#f4f4f5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 18l-6-6 6-6"></path></svg></button>
<div style="display:flex;align-items:center;gap:6px">
<sc-for list="{{ dots }}" as="d" hint-placeholder-count="0"><button onClick="{{ d.go }}" aria-label="Screenshot" style="height:6px;width:{{ d.w }}px;padding:0;border:0;border-radius:3px;background:#f4f4f5;opacity:{{ d.o }};cursor:pointer;transition:width .4s cubic-bezier(.16,1,.3,1),opacity .3s"></button></sc-for>
</div>
<button onClick="{{ nextShot }}" aria-label="Next" style="width:38px;height:38px;border-radius:999px;border:1px solid rgba(255,255,255,0.14);background:transparent;color:#f4f4f5;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.3)"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#f4f4f5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"></path></svg></button>
</div>
</sc-if>
</div>
</div>
<div style="position:relative;isolation:isolate;order:{{ textOrder }};flex:1 1 360px;max-width:480px;max-height:{{ colMaxH }};min-height:{{ colMinH }};justify-content:{{ colJustify }};display:flex;flex-direction:column;align-items:flex-start;gap:10px;opacity:{{ panelOpacity }};transform:translateY({{ panelShift }}px);transition:opacity .45s ease .06s,transform .6s cubic-bezier(.16,1,.3,1) .06s">
{{ headerVideo }}
<sc-if value="{{ isReal }}" hint-placeholder-val="{{ true }}">
<div style="display:flex;flex-direction:column;align-items:flex-start;gap:10px">
<div style="display:flex;align-items:center;gap:14px">
{{ iconImg }}
<div style="display:flex;flex-direction:column;gap:8px">
<h3 style="margin:0;font-weight:600;font-size:clamp(26px,2.6vw,34px);line-height:1.1;letter-spacing:-0.035em;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent">{{ cur.name }}</h3>
<div style="display:flex;align-items:center;gap:3px"><svg width="16" height="16" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 2.5l2.94 6.2 6.8.82-5.02 4.68 1.32 6.72L12 17.6l-6.04 3.32 1.32-6.72L2.26 9.52l6.8-.82z"></path></svg><svg width="16" height="16" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 2.5l2.94 6.2 6.8.82-5.02 4.68 1.32 6.72L12 17.6l-6.04 3.32 1.32-6.72L2.26 9.52l6.8-.82z"></path></svg><svg width="16" height="16" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 2.5l2.94 6.2 6.8.82-5.02 4.68 1.32 6.72L12 17.6l-6.04 3.32 1.32-6.72L2.26 9.52l6.8-.82z"></path></svg><svg width="16" height="16" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 2.5l2.94 6.2 6.8.82-5.02 4.68 1.32 6.72L12 17.6l-6.04 3.32 1.32-6.72L2.26 9.52l6.8-.82z"></path></svg><svg width="16" height="16" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 2.5l2.94 6.2 6.8.82-5.02 4.68 1.32 6.72L12 17.6l-6.04 3.32 1.32-6.72L2.26 9.52l6.8-.82z"></path></svg><span style="margin-left:6px;font-size:13px;color:#a1a1aa">{{ cur.rating }}</span></div>
</div>
</div>
<div style="display:flex;flex-direction:column;gap:6px">
<p style="margin:0 0 2px;max-width:40ch;font-size:clamp(16px,1.4vw,19px);line-height:1.4;font-weight:500;letter-spacing:-0.015em;color:#ececee;text-wrap:pretty">{{ cur.desc }}</p>
<sc-if value="{{ cur.desc2 }}" hint-placeholder-val="{{ false }}"><p style="margin:0;max-width:44ch;font-size:14px;line-height:1.55;color:#8b8b92;text-wrap:pretty">{{ cur.desc2 }}</p></sc-if>
<sc-if value="{{ cur.desc3 }}" hint-placeholder-val="{{ false }}"><p style="margin:0;max-width:44ch;font-size:14px;line-height:1.55;color:#8b8b92;text-wrap:pretty">{{ cur.desc3 }}</p></sc-if>
<sc-if value="{{ cur.desc4 }}" hint-placeholder-val="{{ false }}"><p style="margin:0;max-width:44ch;font-size:14px;line-height:1.55;color:#8b8b92;text-wrap:pretty">{{ cur.desc4 }}</p></sc-if>
<sc-if value="{{ cur.desc5 }}" hint-placeholder-val="{{ false }}"><p style="margin:0;max-width:44ch;font-size:14px;line-height:1.55;color:#8b8b92;text-wrap:pretty">{{ cur.desc5 }}</p></sc-if>
</div>
<div style="display:flex;flex-wrap:wrap;align-items:center;gap:10px;align-self:stretch;max-width:44ch;margin-top:14px">
<sc-if value="{{ cur.appStore }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.appStore }}" target="_blank" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="20" height="20" viewBox="0 0 24 24" fill="#ffffff"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Download on the</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">App Store</span></span></a></sc-if>
<sc-if value="{{ cur.playStore }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.playStore }}" target="_blank" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="18" height="18" viewBox="0 0 24 24" fill="#ffffff"><path d="M22.018 13.298l-3.919 2.218-3.515-3.493 3.543-3.521 3.891 2.202a1.49 1.49 0 0 1 0 2.594zM1.337.924a1.486 1.486 0 0 0-.112.568v21.017c0 .217.045.419.124.6l11.155-11.087L1.337.924zm12.207 10.065l3.258-3.238L3.45.195a1.466 1.466 0 0 0-.946-.179l11.04 10.973zm0 2.067l-11 10.933c.298.036.612-.016.906-.183l13.324-7.54-3.23-3.21z"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Get it on</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">Google Play</span></span></a></sc-if>
<sc-if value="{{ cur.github }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.github }}" target="_blank" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="20" height="20" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Open source on</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">GitHub</span></span></a></sc-if>
<sc-if value="{{ cur.klibs }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.klibs }}" target="_blank" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="18" height="18" viewBox="0 0 24 24" fill="#ffffff"><path d="M24 24H0V0h24L12 12Z"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Kotlin Multiplatform on</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">klibs.io</span></span></a></sc-if>
<sc-if value="{{ cur.macos }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.macos }}" target="_blank" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="20" height="20" viewBox="0 0 24 24" fill="#ffffff"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Download on the</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">Mac App Store</span></span></a></sc-if>
<sc-if value="{{ cur.dmg }}" hint-placeholder-val="{{ false }}"><a href="{{ cur.dmg }}" style="user-select:none;-webkit-user-select:none;display:flex;align-items:center;gap:10px;padding:8px 16px 8px 13px;border-radius:14px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.16);color:#f4f4f5;text-decoration:none;white-space:nowrap;transition:transform .45s cubic-bezier(.2,.7,.2,1),background .25s,border-color .25s" style-hover="background:rgba(255,255,255,0.09);border-color:rgba(255,255,255,0.28);color:#fff"><svg width="20" height="20" viewBox="0 0 24 24" fill="#ffffff"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"></path></svg><span style="display:flex;flex-direction:column;line-height:1.1"><span style="font-size:10px;color:#a1a1aa">Download for</span><span style="font-size:15px;font-weight:600;letter-spacing:-0.01em">macOS</span></span></a></sc-if>
<sc-if value="{{ cur.badge }}" hint-placeholder-val="{{ false }}"><div style="display:flex;align-items:center;gap:6px;margin-left:6px;align-self:center"><svg width="14" height="28" viewBox="0 0 20 40" fill="#f4f4f5" style="display:block"><path d="M15 38 C6 32 3 20 7 4" fill="none" stroke="#f4f4f5" stroke-width="1.3" stroke-linecap="round"></path><ellipse cx="10.8" cy="34" rx="3.6" ry="1.6" transform="rotate(-80 14 35)"></ellipse><ellipse cx="17" cy="33.4" rx="3.4" ry="1.5" transform="rotate(0 14 35)"></ellipse><ellipse cx="7.3" cy="29" rx="3.6" ry="1.6" transform="rotate(-65 10.5 30)"></ellipse><ellipse cx="13.5" cy="28.4" rx="3.4" ry="1.5" transform="rotate(-15 10.5 30)"></ellipse><ellipse cx="4.6" cy="23.5" rx="3.6" ry="1.6" transform="rotate(-50 7.8 24.5)"></ellipse><ellipse cx="10.8" cy="22.9" rx="3.4" ry="1.5" transform="rotate(-30 7.8 24.5)"></ellipse><ellipse cx="3.2" cy="17.5" rx="3.6" ry="1.6" transform="rotate(-35 6.4 18.5)"></ellipse><ellipse cx="9.4" cy="16.9" rx="3.4" ry="1.5" transform="rotate(-45 6.4 18.5)"></ellipse><ellipse cx="3" cy="11.5" rx="3.6" ry="1.6" transform="rotate(-20 6.2 12.5)"></ellipse><ellipse cx="9.2" cy="10.9" rx="3.4" ry="1.5" transform="rotate(-60 6.2 12.5)"></ellipse><ellipse cx="3.5999999999999996" cy="6" rx="3.6" ry="1.6" transform="rotate(-5 6.8 7)"></ellipse><ellipse cx="9.8" cy="5.4" rx="3.4" ry="1.5" transform="rotate(-75 6.8 7)"></ellipse></svg><div style="display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1"><div style="display:flex;align-items:center;gap:4px"><sc-if value="{{ cur.badgeShield }}" hint-placeholder-val="{{ false }}"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="#f4f4f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"></path><path d="m9 12 2 2 4-4"></path></svg></sc-if><sc-if value="{{ cur.badgeCar }}" hint-placeholder-val="{{ false }}"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#f4f4f5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2"></path><circle cx="7" cy="17" r="2"></circle><path d="M9 17h6"></path><circle cx="17" cy="17" r="2"></circle></svg></sc-if><sc-if value="{{ cur.badgeApple }}" hint-placeholder-val="{{ true }}"><svg width="13" height="13" viewBox="0 0 24 24" fill="#f4f4f5"><path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"></path></svg></sc-if><span style="font-size:13px;font-weight:600;letter-spacing:-0.01em;color:#f4f4f5">{{ cur.badgeTitle }}</span></div><span style="font-size:11px;color:#a1a1aa;white-space:nowrap">{{ cur.badge }}</span></div><svg width="14" height="28" viewBox="0 0 20 40" fill="#f4f4f5" style="display:block;transform:scaleX(-1)"><path d="M15 38 C6 32 3 20 7 4" fill="none" stroke="#f4f4f5" stroke-width="1.3" stroke-linecap="round"></path><ellipse cx="10.8" cy="34" rx="3.6" ry="1.6" transform="rotate(-80 14 35)"></ellipse><ellipse cx="17" cy="33.4" rx="3.4" ry="1.5" transform="rotate(0 14 35)"></ellipse><ellipse cx="7.3" cy="29" rx="3.6" ry="1.6" transform="rotate(-65 10.5 30)"></ellipse><ellipse cx="13.5" cy="28.4" rx="3.4" ry="1.5" transform="rotate(-15 10.5 30)"></ellipse><ellipse cx="4.6" cy="23.5" rx="3.6" ry="1.6" transform="rotate(-50 7.8 24.5)"></ellipse><ellipse cx="10.8" cy="22.9" rx="3.4" ry="1.5" transform="rotate(-30 7.8 24.5)"></ellipse><ellipse cx="3.2" cy="17.5" rx="3.6" ry="1.6" transform="rotate(-35 6.4 18.5)"></ellipse><ellipse cx="9.4" cy="16.9" rx="3.4" ry="1.5" transform="rotate(-45 6.4 18.5)"></ellipse><ellipse cx="3" cy="11.5" rx="3.6" ry="1.6" transform="rotate(-20 6.2 12.5)"></ellipse><ellipse cx="9.2" cy="10.9" rx="3.4" ry="1.5" transform="rotate(-60 6.2 12.5)"></ellipse><ellipse cx="3.5999999999999996" cy="6" rx="3.6" ry="1.6" transform="rotate(-5 6.8 7)"></ellipse><ellipse cx="9.8" cy="5.4" rx="3.4" ry="1.5" transform="rotate(-75 6.8 7)"></ellipse></svg></div></sc-if>
</div>
<sc-if value="{{ cur.note }}" hint-placeholder-val="{{ false }}"><span style="font-size:13px;color:#71717a">{{ cur.note }}</span></sc-if>
</div>
</sc-if>
<sc-if value="{{ isEmpty }}" hint-placeholder-val="{{ false }}">
<div style="display:flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%">
<div style="display:flex;align-items:center;gap:14px">
<div style="width:56px;height:56px;border-radius:14px;background:rgba(255,255,255,0.05);border:1px dashed rgba(255,255,255,0.16)"></div>
<span style="padding:5px 12px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);font-size:13px;color:#a1a1aa">Coming soon</span>
</div>
<div style="width:min(340px,70%);height:46px;border-radius:12px;background:rgba(255,255,255,0.06)"></div>
<div style="display:flex;flex-direction:column;gap:10px;width:min(440px,100%)">
<div style="height:14px;border-radius:7px;background:rgba(255,255,255,0.05)"></div>
<div style="height:14px;width:88%;border-radius:7px;background:rgba(255,255,255,0.05)"></div>
<div style="height:14px;width:62%;border-radius:7px;background:rgba(255,255,255,0.05)"></div>
</div>
<div style="display:flex;gap:12px;margin-top:8px">
<div style="width:150px;height:52px;border-radius:16px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08)"></div>
<div style="width:150px;height:52px;border-radius:16px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08)"></div>
</div>
</div>
</sc-if>
</div>
</div>
</div></div>
</section>
<section id="services" data-screen-label="Services" style="padding:0 clamp(16px,4vw,48px) clamp(96px,12vw,160px);max-width:1280px;margin:0 auto">
<div style="display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;margin-bottom:clamp(40px,5vw,64px)">
<span data-reveal="0" style="padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,0.12);font-size:13px;color:#d4d4d8">Services</span>
<h2 data-reveal="0.1" style="margin:0;font-weight:600;font-size:clamp(38px,5vw,68px);line-height:1;letter-spacing:-0.05em;max-width:14ch;text-wrap:balance;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:0.06em">We build for others, too</h2>
<p data-reveal="0.2" style="margin:0;max-width:44ch;font-size:17px;line-height:1.5;color:#a1a1aa">The team behind our apps works with companies on strategy and on the software itself.</p>
</div>
<article data-reveal="0" data-spotcard="1" style="position:relative;overflow:hidden;display:block;border-radius:32px;background:linear-gradient(to bottom,#0e0e10,#09090a);border:1px solid rgba(255,255,255,0.07)">
<div data-spotlayer="1" style="position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .5s ease;background:radial-gradient(460px circle at var(--x,50%) var(--y,0%),color-mix(in srgb,var(--a3) 11%,transparent),transparent 62%)"></div><div data-spotlayer="1" style="position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;opacity:0;transition:opacity .5s ease;background:radial-gradient(320px circle at var(--x,50%) var(--y,0%),color-mix(in srgb,var(--a3) 70%,transparent),transparent 70%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude"></div>
<div style="position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:clamp(32px,4vw,64px);padding:clamp(28px,4vw,56px)">
<div style="display:flex;flex-direction:column;gap:18px">
<div style="display:flex;align-items:center;gap:16px">
<div style="flex:none;width:64px;height:64px;border-radius:18px;border:1px solid rgba(255,255,255,0.08);background:rgba(255,255,255,0.02);display:grid;place-items:center">{{ visConsult }}</div>
<h3 style="margin:0;font-weight:600;font-size:clamp(26px,2.6vw,36px);line-height:1.05;letter-spacing:-0.04em;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:0.04em">Consulting</h3>
<span style="margin-left:auto;font-family:'Geist Mono',monospace;font-size:13px;color:#71717a">01</span>
</div>
<p style="margin:0;max-width:46ch;font-size:16px;line-height:1.55;color:#a1a1aa;text-wrap:pretty">Product strategy, technical direction and architecture reviews, so you know what to build and how before you commit.</p>
<div style="display:flex;flex-wrap:wrap;gap:8px"><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Product strategy</span><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Architecture</span><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Roadmapping</span></div>
</div>
<div style="display:flex;flex-direction:column;gap:18px">
<div style="display:flex;align-items:center;gap:16px">
<div style="flex:none;width:64px;height:64px;border-radius:18px;border:1px solid rgba(255,255,255,0.08);background:rgba(255,255,255,0.02);display:grid;place-items:center">{{ visDev }}</div>
<h3 style="margin:0;font-weight:600;font-size:clamp(26px,2.6vw,36px);line-height:1.05;letter-spacing:-0.04em;background:linear-gradient(to bottom,#ffffff 35%,#8b8b90);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:0.04em">Software development</h3>
<span style="margin-left:auto;font-family:'Geist Mono',monospace;font-size:13px;color:#71717a">02</span>
</div>
<p style="margin:0;max-width:46ch;font-size:16px;line-height:1.55;color:#a1a1aa;text-wrap:pretty">Native apps, web products and backends, designed and built end to end by the same team that ships our own apps.</p>
<div style="display:flex;flex-wrap:wrap;gap:8px"><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">iOS & macOS</span><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Android</span><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Web</span><span style="font-size:13px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.09);color:#d4d4d8">Backend & APIs</span></div>
</div>
</div>
</article>
<div data-reveal="0.1" style="display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin-top:clamp(40px,5vw,56px)">
<span style="font-size:clamp(20px,2vw,24px);font-weight:600;letter-spacing:-0.03em;color:#ececee">Have a project in mind?</span>
<a href="mailto:hello@rexiox.com" style="display:flex;align-items:center;gap:10px;padding:13px 16px 13px 24px;border-radius:999px;background:#fff;color:#0a0a0a;text-decoration:none;font-size:15px;font-weight:600;white-space:nowrap;transition:background .25s,gap .35s cubic-bezier(.16,1,.3,1)" style-hover="background:#e7e7e9;color:#0a0a0a;gap:14px">Start a project<span style="width:26px;height:26px;border-radius:999px;background:#0a0a0a;display:grid;place-items:center"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"></path></svg></span></a>
</div>
</section>
<footer id="contact" data-screen-label="Footer" style="padding:0 clamp(16px,4vw,48px) 32px">
<div style="max-width:1280px;margin:0 auto;display:flex;flex-direction:column;gap:48px">
<div data-reveal="0" style="display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:40px;padding-top:48px;border-top:1px solid rgba(255,255,255,0.07)">
<div style="display:flex;flex-direction:column;gap:14px;grid-column:{{ footCol }}">
<div style="display:flex;align-items:center;gap:10px">
<img src="assets/logo-white.png" alt="" style="width:32px;height:32px;border-radius:50%">
<span style="font-size:18px;font-weight:500">Rexiox</span>
</div>
<p style="margin:0;max-width:34ch;font-size:15px;line-height:1.55;color:#a1a1aa">We turn bold ideas into apps people use every day, everywhere.</p>
</div>
<div style="display:flex;flex-direction:column;gap:12px;font-size:15px">
<span style="font-size:13px;color:#71717a">Pages</span>
<a href="#about" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">About</a>
<a href="#apps" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">Apps</a>
<a href="#services" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">Services</a>
<a href="#contact" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">Contact</a>
</div>
<div style="display:flex;flex-direction:column;gap:12px;font-size:15px">
<span style="font-size:13px;color:#71717a">Social</span>
<a href="#" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">X</a>
<a href="#" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">Instagram</a>
<a href="#" style="color:#d4d4d8;text-decoration:none" style-hover="color:#fff">LinkedIn</a>
</div>
</div>
<div data-reveal="0.1" data-reveal-y="120" style="font-size:clamp(80px,19vw,280px);font-weight:600;letter-spacing:-0.07em;line-height:0.8;background:linear-gradient(to bottom,#2a2a2e,#050505);-webkit-background-clip:text;background-clip:text;color:transparent;user-select:none">rexiox</div>
<div style="display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;font-size:14px;color:#71717a">
<span>© 2026 Rexiox. All rights reserved.</span>
<div style="display:flex;flex-wrap:wrap;align-items:center;gap:20px">
<div style="display:flex;align-items:center">
<div role="radiogroup" aria-label="Color theme" aria-hidden="{{ palHidden }}" style="display:flex;align-items:center;gap:8px;overflow:hidden;max-width:{{ palW }};opacity:{{ palO }};visibility:{{ palVis }};padding:4px {{ palPad }} 4px 4px;margin:-4px 0 -4px -4px;transition:max-width .5s cubic-bezier(.16,1,.3,1),opacity .35s ease,padding .5s cubic-bezier(.16,1,.3,1),visibility 0s linear {{ palVisDelay }}">
<sc-for list="{{ swatches }}" as="s" hint-placeholder-count="0"><button type="button" role="radio" tabIndex="{{ s.tab }}" aria-checked="{{ s.on }}" aria-label="{{ s.name }}" title="{{ s.name }}" onClick="{{ s.pick }}" style="width:14px;height:14px;padding:0;border-radius:50%;cursor:pointer;background:{{ s.c }};border:none;box-shadow:{{ s.ring }};transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s" style-hover="transform:scale(1.2)"></button></sc-for>
</div>
<button type="button" onClick="{{ togglePal }}" aria-label="Color theme" aria-expanded="{{ palExp }}" title="Color theme" style="flex:none;width:28px;height:28px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,0.12);background:transparent;cursor:pointer;display:grid;place-items:center;transition:border-color .25s" style-hover="border-color:rgba(255,255,255,0.3)">
<span style="width:12px;height:12px;border-radius:50%;background:conic-gradient(from 200deg,var(--a3),var(--a2),var(--a4),var(--a3))"></span>
</button>
</div>
<span style="width:1px;height:14px;background:rgba(255,255,255,0.12)"></span>
<span>Privacy · Terms</span>
</div>
</div>
</div>
</footer>
</div>
</x-dc>
<script type="text/x-dc" data-dc-script data-props="{"palette":{"editor":"enum","options":["red","pureRed","crimson","ember","rose","magma","sunset","violet","blue","white","gray","orange","green","pink","gold","cyan"],"default":"pureRed","tsType":"string"},"showBrandText":{"editor":"boolean","default":true,"tsType":"boolean"},"showHeaderVideo":{"editor":"boolean","default":true,"tsType":"boolean"},"aboutText":{"editor":"text","default":"Rexiox is an independent studio that designs, builds and grows its own apps. We work in small teams, ship often, and care about every detail people touch.","tsType":"string"},"barCount":{"editor":"range","min":9,"max":31,"step":2,"default":17,"tsType":"number"},"animate":{"editor":"boolean","default":true,"tsType":"boolean"},"holdSeconds":{"editor":"range","min":2,"max":20,"step":1,"default":20,"unit":"s","tsType":"number"}}">
class Component extends DCLogic {
state = { p: 0, hov: -1, paused: false, bh: false, bk: 0 };
iconRowRef = React.createRef();
aboutRef = React.createRef();
palettes = {
red: ["#3a0a04", "#c2240d", "#ff5a3c", "#2a0602"],
pureRed: ["#2a0000", "#e00000", "#ff2a2a", "#140000"],
crimson: ["#2e0410", "#d0103a", "#ff4d6d", "#1a0208"],
ember: ["#3d0c00", "#ff3d00", "#ffb199", "#4a0a2a"],
rose: ["#33061f", "#e0256b", "#ff8fb8", "#200416"],
magma: ["#1f0306", "#a3001b", "#ff7a3d", "#3a0b4a"],
sunset: ["#3a0716", "#ff2e4d", "#ffb347", "#2a0640"],
violet: ["#1c0a4a", "#5b1df0", "#8f6bff", "#0b1a6e"],
blue: ["#06183f", "#1550ff", "#5aa0ff", "#04103a"],
white: ["#26262b", "#b4b4bc", "#ffffff", "#141418"],
gray: ["#141416", "#4a4a50", "#9a9aa2", "#0c0c0e"],
orange: ["#3a1602", "#e0620c", "#ffa45a", "#2a0e02"],
green: ["#03261a", "#0fa86a", "#5ce6a6", "#021a12"],
pink: ["#3a0624", "#e0287e", "#ff7ab8", "#26041a"],
gold: ["#2e2004", "#c48a12", "#f2cc6a", "#1e1502"],
cyan: ["#022a33", "#0ea5c4", "#67e3f5", "#021c24"],
};
curPal() { return this.state.userPal || this.props.palette || "pureRed"; }
applyPalette() {
const p = this.palettes[this.curPal()] || this.palettes.red;
["--a1", "--a2", "--a3", "--a4"].forEach((k, i) => document.body.style.setProperty(k, p[i]));
}
motionOK() { return (this.props.animate ?? true) && !window.matchMedia("(prefers-reduced-motion: reduce)").matches; }
vidRef = (v) => {
if (this.vidIO) { this.vidIO.disconnect(); this.vidIO = null; }
if (!v) return;
this.vidIO = new IntersectionObserver(([e]) => { if (e.isIntersecting) { v.preload = "auto"; const p = v.play(); p && p.catch(() => {}); } else v.pause(); }, { threshold: 0.01, rootMargin: "300px 0px" });
this.vidIO.observe(v);
};
onScroll = () => {
if (this.raf) return;
this.raf = requestAnimationFrame(() => {
this.raf = 0;
const y = window.scrollY, vh = window.innerHeight, m = this.motionOK();
const el = this.aboutRef.current;
const cue = document.querySelector('[data-scroll-cue]');
if (cue) cue.style.opacity = y > vh * 0.12 ? "0" : "1";
if (el) {
const r = el.getBoundingClientRect();
const p = Math.min(1, Math.max(0, (vh * 0.85 - r.top) / (r.height * 0.9)));
if (Math.abs(p - (this.pNow ?? -1)) > 0.002) {
this.pNow = p;
const ws = this.awEls || (this.awEls = el.querySelectorAll('[data-aw]')), L = ws.length;
for (let i = 0; i < L; i++) { const o = (0.16 + 0.84 * Math.min(1, Math.max(0, p * (L + 3) - i) / 3)).toFixed(3); if (ws[i].style.opacity !== o) ws[i].style.opacity = o; }
if (!ws.length) this.awEls = null;
}
}
const q = s => document.querySelector(s);
const hc = q('[data-hero-content]'), bars = q('[data-bars]'), hd = q('[data-header]');
if (m && hc && y < vh * 2.2) {
const t = Math.min(1, y / (vh * 0.75));
hc.style.transform = `translate3d(0,${Math.round(y * 0.28)}px,0)`;
hc.style.opacity = (1 - t).toFixed(3);
hc.style.visibility = t >= 1 ? "hidden" : "visible";
if (bars) bars.style.transform = `translate3d(0,${Math.round(y * 0.12)}px,0)`;
}
const heroOff = !!bars && bars.getBoundingClientRect().bottom < -50;
if (heroOff !== this.heroOff) { this.heroOff = heroOff; const hs = q('[data-hero]'); if (hs) hs.style.setProperty('--rxps', heroOff ? 'paused' : 'running'); if (bars) bars.style.visibility = heroOff ? 'hidden' : 'visible'; }
if (hd && (y > 40) !== this.hdS) {
const s = y > 40; this.hdS = s;
hd.style.width = s ? "min(620px, calc(100% - 32px))" : "min(760px, calc(100% - 32px))";
hd.style.top = s ? "12px" : "20px";
hd.style.background = s ? "rgba(14,14,16,0.86)" : "rgba(24,24,27,0.72)";
hd.style.borderColor = s ? "rgba(255,255,255,0.1)" : "rgba(255,255,255,0.07)";
}
});
};
onHeroMove = (e) => {
this.hmE = { currentTarget: e.currentTarget, clientX: e.clientX, clientY: e.clientY };
if (this.hmR) return;
this.hmR = requestAnimationFrame(() => { this.hmR = 0; this.onHeroMoveNow(this.hmE); });
};
onHeroMoveNow = (e) => {
const sec = e.currentTarget, rc = sec.getBoundingClientRect();
const fx = (e.clientX - rc.left) / rc.width, fy = (e.clientY - rc.top) / rc.height;
sec.style.setProperty("--mx", (fx * 100).toFixed(1) + "%"); sec.style.setProperty("--my", (fy * 100).toFixed(1) + "%");
const spot = sec.querySelector('[data-spot]'); if (spot) spot.style.opacity = "1";
const bs = sec.querySelectorAll('[data-bar]'), n = bs.length, ci = fx * n - 0.5;
bs.forEach((b, i) => { const g = Math.exp(-((i - ci) ** 2) / (2 * 2.2 ** 2)); b.style.transform = `scaleY(${(1 + g * 0.1).toFixed(4)})`; });
};
onHeroLeave = (e) => {
if (this.hmR) { cancelAnimationFrame(this.hmR); this.hmR = 0; }
const sec = e.currentTarget; const spot = sec.querySelector('[data-spot]'); if (spot) spot.style.opacity = "0";
sec.querySelectorAll('[data-bar]').forEach(b => b.style.transform = "scaleY(1)");
};
setupMotion() {
const m = this.motionOK(), off = [];
const on = (el, ev, fn, o) => { el.addEventListener(ev, fn, o); off.push(() => el.removeEventListener(ev, fn, o)); };
// reveals
const els = document.querySelectorAll('[data-reveal]');
if (m) {
els.forEach(el => {
const d = parseFloat(el.dataset.reveal || 0), dy = el.dataset.revealY || 36;
el.style.opacity = 0; el.style.transform = `translate3d(0,${dy}px,0)`;
el.style.transition = `opacity 1s ease ${d}s, transform 1.2s cubic-bezier(.16,1,.3,1) ${d}s`;
});
this.io = new IntersectionObserver(es => es.forEach(e => { if (e.isIntersecting) {
const t = e.target; t.style.opacity = 1; t.style.transform = "none"; this.io.unobserve(t);
setTimeout(() => { if (!t.hasAttribute('data-magnetic')) t.style.transition = ""; }, 2400);
} }), { threshold: 0.12, rootMargin: "0px 0px -6% 0px" });
els.forEach(el => this.io.observe(el));
const show = t => { t.style.opacity = 1; t.style.transform = "none"; this.io && this.io.unobserve(t); };
requestAnimationFrame(() => els.forEach(el => { if (el.getBoundingClientRect().top < window.innerHeight) show(el); }));
this.fb = setTimeout(() => els.forEach(el => { if (el.style.opacity === "0" && el.getBoundingClientRect().top < window.innerHeight * 1.2) show(el); }), 2500);
}
const hd = document.querySelector('[data-header]');
if (hd && m) hd.style.animation = "rxHeaderIn 1s cubic-bezier(.16,1,.3,1) .05s both";
// nav pill
const nav = document.querySelector('[data-nav]'), pill = document.querySelector('[data-nav-pill]');
if (nav && pill) {
nav.querySelectorAll('[data-nav-link]').forEach(l => on(l, "mouseenter", () => {
pill.style.left = l.offsetLeft + "px"; pill.style.width = l.offsetWidth + "px"; pill.style.opacity = "1";
}));
on(nav, "mouseleave", () => { pill.style.opacity = "0"; });
}
// magnetic buttons
if (false) document.querySelectorAll('[data-magnetic]').forEach(b => {
on(b, "mousemove", e => { const r = b.getBoundingClientRect();
b.style.transform = `translate(${((e.clientX - r.left - r.width / 2) * 0.22).toFixed(1)}px, ${((e.clientY - r.top - r.height / 2) * 0.32).toFixed(1)}px)`; });
on(b, "mouseleave", () => { b.style.transform = "translate(0,0)"; });
});
document.querySelectorAll('[data-spotcard]').forEach(c => {
const ls = c.querySelectorAll('[data-spotlayer]');
on(c, "mousemove", e => { const b = c.getBoundingClientRect(); c.style.setProperty("--x", (e.clientX - b.left) + "px"); c.style.setProperty("--y", (e.clientY - b.top) + "px"); ls.forEach(l => l.style.opacity = "1"); });
on(c, "mouseleave", () => ls.forEach(l => l.style.opacity = "0"));
});
// hero cursor
const hero = document.querySelector('[data-hero]');
if (hero && m && window.matchMedia("(pointer: fine)").matches) { on(hero, "mousemove", this.onHeroMove); on(hero, "mouseleave", this.onHeroLeave); }
on(window, "scroll", this.onScroll, { passive: true });
on(window, "resize", this.onScroll);
this.off = off;
this.onScroll();
}
STEP = 160; x = 0; sp = 1; hold = 0;
trackRef = React.createRef();
shotsOf(c) { return (c && (c.shots && c.shots.length ? c.shots : (c.shot ? [c.shot] : []))) || []; }
countOf(c) { return Math.max(this.shotsOf(c).length, (c && c.macShots || []).length); }
goShot = (i) => { const n = this.countOf(this.curItem); if (n < 2) return; this.setState({ slide: (i + n) % n }); this.slideT = performance.now(); };
slideVals(cur) {
const shots = this.shotsOf(cur), mshots = (cur && cur.macShots) || [], n = this.countOf(cur), s = Math.min(this.state.slide || 0, Math.max(0, n - 1));
this.curItem = cur;
const sw = { onPointerDown: e => { this.sx = e.clientX; }, onPointerUp: e => { if (this.sx == null) return; const dx = e.clientX - this.sx; this.sx = null; if (Math.abs(dx) > 30) this.goShot(s + (dx < 0 ? 1 : -1)); }, onDragStart: e => e.preventDefault() };
const mk = (list) => list.length ? React.createElement("div", { ...sw, style: { position: "absolute", inset: 0, display: "flex", cursor: list.length > 1 ? "grab" : "default", touchAction: "pan-y", userSelect: "none", transform: `translateX(${-(s % list.length) * 100}%)`, transition: "transform .8s cubic-bezier(.65,0,.25,1)" } },
list.map((src, i) => React.createElement("img", { key: src + i, src, alt: (cur.name || "") + " screenshot " + (i + 1), style: { flex: "none", width: "100%", height: "100%", objectFit: "cover", display: "block" } }))) : null;
return { slides: mk(shots), macSlides: mk(mshots), noShot: !shots.length, noMacShot: !mshots.length, multiShot: n > 1,
dots: Array.from({ length: n }, (_, i) => ({ w: i === s ? 22 : 6, o: i === s ? 1 : 0.3, go: () => this.goShot(i) })),
prevShot: () => this.goShot(s - 1), nextShot: () => this.goShot(s + 1) };
}
pick = (i) => {
if (!this.state.open) { this.setState({ active: i, open: true, zone: true, fading: false }); return; }
if (this.pendingIdx === i) return;
if (this.pendingIdx == null && i === (this.state.active ?? 0)) { if (!this.state.zone) this.setState({ zone: true }); return; }
this.pendingIdx = i;
this.setState({ fading: true, zone: true });
clearTimeout(this.ft); this.ft = setTimeout(() => { this.pendingIdx = null; this.setState({ active: i, fading: false, slide: 0 }); this.slideT = performance.now(); }, 300);
};
centerTile = (j) => {
const row = this.iconRowRef.current; if (!row) return;
const N = this.itemCount, W = N * this.STEP, cx = row.clientWidth / 2;
let to = cx - (j * this.STEP + 62);
while (to <= -W) to += W; while (to > 0) to -= W;
let from = this.x;
if (to - from > W / 2) from += W; else if (from - to > W / 2) from -= W;
this.anim = { from, to, t0: performance.now(), d: 1000 };
this.pick(j % N);
};
tick = (t) => {
this.tr = requestAnimationFrame(this.tick);
const dt = Math.min(0.05, (t - (this.lt || t)) / 1000); this.lt = t;
const row = this.iconRowRef.current, track = this.trackRef.current; if (!row || !track) return;
if (!this.rowIO) { this.rowIO = new IntersectionObserver(([e]) => { this.rowOff = !e.isIntersecting; }, { rootMargin: "200px 0px" }); this.rowIO.observe(row); }
if (this.rowOff && !this.anim) { if (this.hold) this.hold += dt * 1000; return; }
const N = this.itemCount, W = N * this.STEP, cx = row.clientWidth / 2;
if (this.lastCx != null && this.lastCx !== cx) { this.x += cx - this.lastCx; if (this.anim) { this.anim.from += cx - this.lastCx; this.anim.to += cx - this.lastCx; } }
this.lastCx = cx;
if (this.anim) {
const a = this.anim, k = Math.min(1, (t - a.t0) / a.d), e = 1 - Math.pow(1 - k, 4);
this.x = a.from + (a.to - a.from) * e;
if (k >= 1) { this.anim = null; this.x = a.to; this.hold = t + (this.props.holdSeconds ?? 6) * 1000; }
} else {
if (!this.inited) { this.inited = true; const f0 = Math.max(0, (this.realMask || []).indexOf(true)); this.x = cx - ((N + f0) * this.STEP + 62); this.hold = t + (this.props.holdSeconds ?? 6) * 1000; }
if (this.hoverPause && t > this.hold - 1500) this.hold = t + 1500;
if (this.motionOK() && t > this.hold) {
const jc = Math.round((cx - this.x - 62) / this.STEP), m = this.realMask || [];
const ic = ((jc % N) + N) % N; let step = 0;
for (let q = 1; q <= N; q++) { if (m[(ic + q) % N]) { step = q; break; } }
if (!step || step === N) { this.hold = t + 1000; return; }
let to = cx - ((jc + step) * this.STEP + 62), from = this.x;
while (to <= -W) { to += W; from += W; }
this.anim = { from, to, t0: t, d: Math.min(2400, 900 + step * 180) };
}
}
if (this.motionOK() && this.countOf(this.curItem) > 1 && t - (this.slideT || 0) > 3500) { this.slideT = t; this.goShot((this.state.slide || 0) + 1); }
const kids = track.children;
if (this.x !== this.lastX || cx !== this.lastCxP || kids.length !== this.lastK) {
this.lastX = this.x; this.lastCxP = cx; this.lastK = kids.length;
track.style.transform = `translate3d(${this.x.toFixed(2)}px,0,0)`;
for (let q = 0; q < kids.length; q++) {
const dd = Math.min(3, Math.abs(this.x + q * this.STEP + 62 - cx) / this.STEP), near = Math.max(0, 1 - dd);
kids[q].style.transform = `scale(${(0.9 + 0.26 * near * near).toFixed(3)})`;
kids[q].style.opacity = (1 - Math.min(dd, 2.5) * 0.24).toFixed(3);
}
}
if (this.anim) return;
const want = this.pendingIdx ?? (this.state.active ?? -1);
const j = Math.round((cx - this.x - 62) / this.STEP), d = Math.abs(this.x + j * this.STEP + 62 - cx), idx = ((j % N) + N) % N;
if (d < 58 && (this.realMask || [])[idx]) { if (idx !== want || !this.state.zone || !this.state.open) this.pick(idx); }
else if (this.state.zone) this.setState({ zone: false });
};
slugOf(s) { return String(s || "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, ""); }
appIndex(id) { const s = this.slugOf(id); return s ? (this.itemsArr || []).findIndex(it => it && it.name && (this.slugOf(it.name) === s || this.slugOf(it.slug) === s)) : -1; }
goApp(id, smooth) {
const i = this.appIndex(id); if (i < 0) return false;
this.hold = performance.now() + 60000;
this.centerTile(i); this.goHash("apps", smooth); return true;
}
goHash(id, smooth) {
const el = id && id !== "top" ? document.getElementById(id) : null;
const y = el ? el.getBoundingClientRect().top + window.scrollY - 72 : 0;
window.scrollTo({ top: Math.max(0, y), behavior: smooth ? "smooth" : "auto" });
}
setupLinks() {
try { history.scrollRestoration = "manual"; } catch (e) {}
const id = decodeURIComponent((location.hash || "").slice(1));
window.scrollTo(0, 0);
if (id) [120, 600, 1400].forEach(t => setTimeout(() => { if (document.getElementById(id) || id === "top") this.goHash(id, false); else if (t === 120) this.goApp(id, false); else this.goHash("apps", false); }, t));
this.onHashChange = () => { const id = decodeURIComponent((location.hash || "").slice(1)); if (id && !document.getElementById(id)) this.goApp(id, true); };
window.addEventListener("hashchange", this.onHashChange);
this.onLink = e => {
const a = e.target.closest && e.target.closest('a[href^="#"]'); if (!a) return;
const id = a.getAttribute("href").slice(1);
if (id && id !== "top" && !document.getElementById(id)) { if (this.appIndex(id) < 0) return; e.preventDefault(); this.goApp(id, true); try { history.pushState(null, "", "#" + id); } catch (err) {} return; }
e.preventDefault(); this.goHash(id, true);
try { history.pushState(null, "", id && id !== "top" ? "#" + id : location.pathname + location.search); } catch (err) {}
};
this.onHash = () => this.goHash(decodeURIComponent(location.hash.slice(1)), true);
document.addEventListener("click", this.onLink);
window.addEventListener("hashchange", this.onHash);
const ids = ["about", "apps", "services", "contact"];
this.spyIO = new IntersectionObserver(es => {
es.forEach(en => { if (!en.isIntersecting) return; const id = en.target.id;
if (("#" + id) !== location.hash) try { history.replaceState(null, "", "#" + id); } catch (err) {} });
}, { rootMargin: "-45% 0px -50% 0px" });
ids.forEach(i => { const el = document.getElementById(i); el && this.spyIO.observe(el); });
this.onTop = () => { if (window.scrollY < 80 && location.hash) try { history.replaceState(null, "", location.pathname + location.search); } catch (err) {} };
window.addEventListener("scroll", this.onTop, { passive: true });
}
componentWillUnmount() { window.removeEventListener("hashchange", this.onHashChange); window.removeEventListener("resize", this.onMob); window.removeEventListener("resize", this.onVh); this.teardown(); cancelAnimationFrame(this.tr); clearTimeout(this.ft); document.removeEventListener("click", this.onLink); window.removeEventListener("hashchange", this.onHash); window.removeEventListener("scroll", this.onTop); this.spyIO && this.spyIO.disconnect(); }
brandScramble() {
if (!this.motionOK()) return;
const word = "Rexiox", glyphs = "XROKAZ#%/<>01", els = document.querySelectorAll("[data-brand-l]");
const t0 = performance.now();
const step = (t) => {
let done = true;
els.forEach(el => { const i = +el.dataset.brandL, s = 450 + i * 70, e = s + 520 + i * 60, dt = t - t0;
if (dt < e) { done = false; if (dt >= s - 120) { const k = Math.floor(dt / 55); el.textContent = glyphs[(k * 7 + i * 3) % glyphs.length]; } }
else if (el.textContent !== word[i]) el.textContent = word[i]; });
if (!done) this.bsr = requestAnimationFrame(step);
};
this.bsr = requestAnimationFrame(step);
}
onMob = () => { const mob = window.innerWidth < 720; if (mob !== this.state.mob) this.setState({ mob, menuOpen: mob ? this.state.menuOpen : false }); };
componentDidMount() { window.addEventListener("resize", this.onMob); this.onMob(); try { const sp = localStorage.getItem("rexiox-palette"); if (sp && this.palettes[sp]) this.setState({ userPal: sp }); } catch (e) {} this.onVh = () => this.setState({ vh: window.innerHeight }); window.addEventListener("resize", this.onVh); this.applyPalette(); this.setupMotion(); this.setupLinks(); this.tr = requestAnimationFrame(this.tick); }
componentDidUpdate(pp) { if (pp.palette !== this.props.palette && this.state.userPal) { try { localStorage.removeItem("rexiox-palette"); } catch (e) {} this.setState({ userPal: null }); } this.applyPalette(); if (pp.animate !== this.props.animate) { this.teardown(); this.setupMotion(); } }
teardown() { clearTimeout(this.fb); this.io && this.io.disconnect(); (this.off || []).forEach(f => f()); if (this.raf) cancelAnimationFrame(this.raf); this.raf = 0; }
renderVals() {
const n = this.props.barCount ?? 19;
const animate = this.props.animate ?? true;
const mid = (n - 1) / 2;
const bars = [];
for (let i = 0; i < n; i++) {
const d = Math.abs(i - mid) / mid;
bars.push(React.createElement("div", { key: i, "data-bar": "1", style: { flex: 1, alignSelf: "flex-end", transformOrigin: "bottom", transition: "transform 1.1s cubic-bezier(.16,1,.3,1)", height: `calc(${(22 + Math.pow(d, 1.3) * 46).toFixed(2)}vh + 110vh)` } }, React.createElement("div", { style: { height: "100%", transformOrigin: "bottom", boxShadow: "inset 1px 0 0 rgba(0,0,0,0.38), inset -1px 0 0 rgba(255,255,255,0.04)",
background: (() => { const X = 22 + Math.pow(d, 1.3) * 46, v = f => (X * f).toFixed(2) + "vh"; return `linear-gradient(to bottom, rgba(0,0,0,0) 0, var(--a1) ${v(.14)}, var(--a2) ${v(.32)}, var(--a3) ${v(.40)}, #ffffff ${v(.46)}, var(--a3) ${v(.52)}, var(--a2) ${v(.62)}, color-mix(in srgb, var(--a2) 75%, var(--a4)) ${v(1)}, color-mix(in srgb, var(--a2) 50%, var(--a4)) calc(${v(1)} + 30vh), color-mix(in srgb, var(--a1) 45%, transparent) calc(${v(1)} + 70vh), transparent 100%)`; })(),
animation: animate ? `rxRise 1.2s cubic-bezier(.2,.7,.2,1) ${(Math.abs(i - mid) * 0.05).toFixed(2)}s both, rxBreathe ${(5 + (i % 5) * 0.7).toFixed(1)}s ease-in-out ${(1.2 + i * 0.37).toFixed(2)}s infinite` : "none", willChange: "transform",
}})));
}
// ── Apps: add a new app by adding one line here (icon = square image path) ──
const APPS = this.props.apps ?? [
{ name: "Macropad Studio", icon: "assets/apps/macropad.png?v=2", device: "phone",
shots: [ // iPhone screenshots
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/83/76/5e/83765e90-c72f-27b4-088c-de781e5f64a1/6.3in_1206_U00d72622__U2014_1_Main_board@1x.png/460x1022bb.webp",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/1b/60/57/1b6057dd-7ee9-8e40-8fdb-8b2121b5b1cb/6.3in_1206_U00d72622__U2014_2_Store@1x.png/460x1022bb.webp",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/19/77/b8/1977b87f-de01-897d-765b-82ce72db5887/6.3in_1206_U00d72622__U2014_5_Themes__U0026_Connect@1x.png/460x1022bb.webp",
"https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/ad/46/17/ad46174f-5e79-3936-7365-d39ee92789f8/6.3in_1206_U00d72622__U2014_3_Actions@1x.png/460x1022bb.webp",
],
macShots: [], // Mac screenshots
rating: "", category: "Utilities", badge: "New Release", badgeTitle: "App Store", badgeApple: true,
desc: "Turn your iPhone into a custom control deck for your Mac. Build keys, knobs and faders, assign any shortcut or macro, and scan a QR code to connect.",
desc2: "Knurled knobs, metal and wood surfaces, glowing LEDs and haptic feedback make every press feel mechanical and precise.",
desc4: "Built for developers, designers, editors and streamers. If you repeat it on your Mac, Macropad can put it on one key.",
desc5: "Free to download, with Pro features in the app. No account, no ads, no tracking, and your boards sync with iCloud.",
header: "https://rexiox.github.io/assets/macropad/Macropad-Header-3840x1646-30fps.mp4", // optional header video (wide, App Store style)
appStore: "https://apps.apple.com/us/app/macropad-studio/id6822714199",
dmg: "https://rexiox.github.io/project/mstudio/Macropad-1.0.dmg",
note: "Free · iOS 17+ · macOS 14+ (Helper)" },
{ name: "Sentinel", slug: "sentinel", icon: "https://rexiox.github.io/project/sentinel/logo.png", device: "phone",
shots: [
"https://play-lh.googleusercontent.com/Jmni2vAGFzRyAXb24q-nhlF0VVoEzLlcoeYykOHQTkUVfEUZ1cszoO6BBeuF8n5kyIGrX5A1yBPBXeiENqVt=w460-h1022",
"https://play-lh.googleusercontent.com/5YB7DYrfzUlwoZs3G1K7qtV9qYzV_D8OoMDMwF5v6kZ0Vxp5q6o5k9y1ST0Bz-p37qKkYv4SpjNBynGhK0kOS0I=w460-h1022",
"https://play-lh.googleusercontent.com/le0qIgGp9_fWav10tqwtdRraecGnu1NQvSZGyRh8FOxjZtJfREtC7Np5v8pDC1bVRnKosEHslEVsQmeTdKz6-bY=w460-h1022",
"https://play-lh.googleusercontent.com/_7EiZHyrA316-ZbrAojNsQpr9055DELxPmkSjWEP8FY5ehKtzvpwsaKgAo5LEYeYRCcXF4qtab-T6U60X_JQ7g=w460-h1022",
"https://play-lh.googleusercontent.com/L_h1HHqjPbi76V5jy4iouadG8GiqYZHCM4_gSBPC0GtJ41q8dPGx3DeMiaUdhYrkzJmyRdUi7QVxBxBmOBcc_Q=w460-h1022",
],
macShots: [],
rating: "", category: "Tools", badge: "", badgeTitle: "Security", badgeShield: true,
desc: "Understand your device's security state. Sentinel gives users and developers detailed insight into the device environment and security configuration.",
desc2: "Check system integrity, root status, emulator detection and app signature verification in one place.",
desc4: "Lightweight and fast. Results are instant, without affecting performance or battery life.",
desc5: "Open-source toolkit for Android and iOS. No data collected, nothing shared with third parties.",
playStore: "https://play.google.com/store/apps/details?id=com.rs.sentinel",
github: "https://github.com/rexiox/sentinel",
klibs: "https://klibs.io/project/rexiox/sentinel",
note: "Free · Open source · Android & iOS" },
{ name: "Otix", slug: "otix", icon: "https://rexiox.github.io/project/otix/logo.png", device: "phone",
shots: [
"https://play-lh.googleusercontent.com/8viOdzzQz2dcs0KsAY2LTgRhW2is_X3SH4zm8HFOgLv_HW_O3wTN9Tqj68VAmIv_3hGbged4LThEyPAYtP-S=w460-h1022",
"https://play-lh.googleusercontent.com/xtIY9CNp5uM-ZyP3Lcrmx5HMhhcMBRtkGbfYDSId-O0VEgbqGA96HAB395Q_joftw687Nt_bLfF7JSDMrpUJltQ=w460-h1022",
"https://play-lh.googleusercontent.com/l_WiNaTZVLyDNExiv3gEAqkBLgiwZUVC4RqBUFzt26XmlNCdEwJ0s3bErU_BPbatU6DYwoDChJ4vsQPngkgebg=w460-h1022",
"https://play-lh.googleusercontent.com/k3IhE3xXsawl6NT9XkFRQGrCLt5xOYX3OQL-evijM7s3bQJdoD53dIfzcJf9GJDTZLVGYmADlk2-6-bNUkFMkw=w460-h1022",
"https://play-lh.googleusercontent.com/mQbTgtgJoRE6_S-Af85zWTa-AHQQHQ3tftX_m0ohRG2CAKKdHt-lAw0ikSWdQL281AfYThUcVxpV0P-o4si-TQ=w460-h1022",
"https://play-lh.googleusercontent.com/pSIGnfmRVx85mgUYFcVfVl2S1Vl9sh_7it5AYeo3k-uHErCfRO4tuc4BIU6LWkLn08J2lVlok_c5LWqiJ_mowA=w460-h1022",
"https://play-lh.googleusercontent.com/1E0Q8rce45SU29bJhGsrecPMVp9m1LZJTEDD1fHubU7LYghtRsTPv2j7ZU02lYSMx3jFCQ3pYZhyFFt3uN116Qg=w460-h1022",
"https://play-lh.googleusercontent.com/rYXkrkCq6mZQWq8CM2Z2XLrvH26QzL_WS8vtJykm9pTLEmMw5l1ATaV09GdKTvSuTzj-ud3JOWRV3NWvZpmy=w460-h1022",
],
macShots: [],
rating: "", category: "Auto & Vehicles", badge: "Built for the Road", badgeTitle: "Android Auto", badgeCar: true,
desc: "Real-time speed, fuel level and battery status from your vehicle, shown directly on your Android Auto screen.",
desc2: "Track fuel consumption trends and battery charge cycles in detailed graphs, with personalized driving reports.",
desc4: "Past trips are stored securely on your device. Review speed, fuel and battery data any time.",
desc5: "A clean, minimal interface with large indicators, designed to keep distractions low while you drive.",
playStore: "https://play.google.com/store/apps/details?id=com.otix",
note: "Free · Android Auto" },
];
const hues = [25, 300, 150, 230, 45, 190, 340, 90];
const items = [...APPS];
if (this.minN == null) this.minN = Math.max(8, Math.ceil(Math.max(typeof window !== "undefined" ? window.innerWidth : 1600, 1920) / this.STEP) + 2);
const minN = this.minN;
for (let i = 0; items.length < Math.max(minN, APPS.length); i++) items.push({ hue: hues[i % hues.length] });
this.itemCount = items.length; this.realMask = items.map(it => !!it.name);
if (!this.preloaded) { this.preloaded = true; items.forEach(it => { if (it.icon) { const im = new Image(); im.decoding = "async"; im.src = it.icon; } }); }
const tile = (it, i, k, j) => {
const inZone = this.state.zone && i === (this.state.active ?? -1), on = this.state.hov === k || inZone, c = it.icon ? "rgba(255,255,255,0.3)" : `oklch(0.72 0.19 ${it.hue})`;
const inner = it.icon
? React.createElement("img", { decoding: "async", loading: "lazy", src: it.icon, alt: it.name, style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", borderRadius: 29, display: "block" } })
: React.createElement("div", { style: { width: 48, height: 48, borderRadius: 14, background: "rgba(255,255,255,0.06)", border: "1px dashed rgba(255,255,255,0.16)" } });
return React.createElement("div", { key: k, title: it.name || "Coming soon", onClick: it.name ? () => this.centerTile(j) : undefined,
onMouseEnter: () => this.setState({ hov: k }), onMouseLeave: () => this.setState({ hov: -1 }),
style: { position: "relative", flex: "none", width: 124, height: 124, borderRadius: 30, display: "grid", placeItems: "center", cursor: it.name ? "pointer" : "default", textDecoration: "none",
background: "linear-gradient(to bottom,#0f0f11,#070708)", border: "1px solid " + (on ? "rgba(255,255,255,0.22)" : "rgba(255,255,255,0.09)"),
boxShadow: "inset 0 1px 0 rgba(255,255,255,0.06)", transformOrigin: "50% 50%", transition: "border-color .4s ease" } },
inner,
React.createElement("span", { style: { position: "absolute", top: "calc(100% + 14px)", left: "50%", transform: `translateX(-50%) translateY(${on ? 0 : -4}px)`, opacity: on ? 1 : 0,
transition: "opacity .3s, transform .3s", fontSize: 14, fontWeight: 600, color: it.name ? "#f4f4f5" : "#71717a", whiteSpace: "nowrap" } }, it.name || "Coming soon"));
};
const all = [...items, ...items].map((it, j) => tile(it, j % items.length, "t" + j, j));
const appMarquee = React.createElement("div", { ref: this.trackRef,
onMouseEnter: () => { this.hoverPause = true; }, onMouseLeave: () => { this.hoverPause = false; this.setState({ hov: -1 }); },
style: { display: "flex", gap: this.STEP - 124, width: "max-content", padding: "16px 0 44px", willChange: "transform" } }, all);
const text = this.props.aboutText ?? "Rexiox is an independent studio that designs, builds and grows its own apps. We work in small teams, ship often, and care about every detail people touch.";
const ws = text.split(/\s+/), p = this.state.p;
const words = ws.map((t, i) => ({ t, o: (0.16 + 0.84 * Math.min(1, Math.max(0, p * (ws.length + 3) - i) / 3)).toFixed(3) }));
const bh = this.state.bh, letters = "Rexiox".split("");
const ease = "cubic-bezier(.65,0,.25,1)";
const brand = React.createElement("span", {
onMouseEnter: () => this.setState({ bh: true }), onMouseLeave: () => this.setState({ bh: false }),
style: { display: "flex", alignItems: "center", gap: 10 } },
React.createElement("img", { decoding: "async", loading: "lazy", src: "assets/logo-glyph.png", alt: "", style: { height: 22, width: "auto", display: "block",
animation: "rxLogoIn 1.1s cubic-bezier(.2,.7,.2,1) .1s both" } }),
(this.props.showBrandText ?? true) && React.createElement("span", { style: { display: "flex", fontFamily: "'Space Grotesk',sans-serif", textTransform: "uppercase", fontSize: 20, fontWeight: 600, letterSpacing: "0.14em", lineHeight: 1.15, color: "#f4f4f5", position: "relative", animation: animate ? "rxTrackIn 1.6s cubic-bezier(.16,1,.3,1) .5s both" : "none" } },
letters.map((l, i) => React.createElement("span", { key: i, style: { display: "inline-block", overflow: "hidden", height: "1.15em" } },
React.createElement("span", { style: { display: "block", animation: animate ? `rxBrandIn 1s cubic-bezier(.16,1,.3,1) ${(0.55 + i * 0.05).toFixed(2)}s both` : "none" } },
React.createElement("span", { style: { display: "flex", flexDirection: "column",
transform: bh ? "translateY(-50%)" : "translateY(0)", transition: `transform .55s ${ease} ${(i * 0.035).toFixed(3)}s` } },
React.createElement("span", { "data-brand-l": i }, l),
React.createElement("span", { style: { color: "var(--a3)" } }, l)))))));
const E = React.createElement, an = (v) => animate ? v : "none";
const ring = (s, c) => E("div", { style: { position: "absolute", width: s, height: s, borderRadius: "50%", border: "1px solid " + c } });
const visConsult = E("div", { style: { position: "relative", width: 52, height: 52, display: "grid", placeItems: "center" } },
ring(52, "rgba(255,255,255,0.10)"), ring(34, "rgba(255,255,255,0.16)"),
E("div", { style: { position: "absolute", width: 10, height: 10, borderRadius: "50%", background: "#f4f4f5" } }),
E("div", { style: { position: "absolute", inset: 0, animation: an("rxSpin 7s linear infinite") } }, E("div", { style: { position: "absolute", top: -3, left: "50%", marginLeft: -3, width: 6, height: 6, borderRadius: "50%", background: "var(--a3)" } })),
E("div", { style: { position: "absolute", width: 34, height: 34, left: 9, top: 9, animation: an("rxSpin 4.5s linear infinite reverse") } }, E("div", { style: { position: "absolute", bottom: -2.5, left: "50%", marginLeft: -2.5, width: 5, height: 5, borderRadius: "50%", background: "rgba(255,255,255,0.7)" } })));
const line = (w, c, d) => E("div", { style: { height: 4, width: w, borderRadius: 2, background: c, transformOrigin: "left", animation: an(`rxType 3.6s cubic-bezier(.65,0,.25,1) ${d}s infinite`) } });
const visDev = E("div", { style: { display: "flex", flexDirection: "column", gap: 6, width: 44 } },
line(30, "rgba(255,255,255,0.55)", 0), E("div", { style: { display: "flex", gap: 6, paddingLeft: 8 } }, line(14, "var(--a3)", 0.25), line(18, "rgba(255,255,255,0.3)", 0.35)),
line(36, "rgba(255,255,255,0.3)", 0.5),
E("div", { style: { display: "flex", alignItems: "center", gap: 4 } }, line(20, "rgba(255,255,255,0.55)", 0.7), E("div", { style: { width: 2, height: 10, background: "#f4f4f5", animation: an("rxBlink 1s steps(1) infinite") } })));
this.itemsArr = items;
const cur = items[Math.min(this.state.active ?? 0, items.length - 1)] || {};
return {
headerVideo: (() => { const on = !!(cur.header && this.state.open && !this.state.fading && (this.props.showHeaderVideo ?? true));
const fadeY = "linear-gradient(to bottom,transparent 0%,rgba(0,0,0,0.45) 10%,#000 24%,#000 34%,rgba(0,0,0,0.35) 62%,transparent 85%)", fadeX = "linear-gradient(to right,transparent 0%,#000 18%,#000 82%,transparent 100%)";
if (!cur.header || !(this.props.showHeaderVideo ?? true)) return null;
return React.createElement(React.Fragment, null, React.createElement("div", { "aria-hidden": true, style: { flex: "none", width: "100%", aspectRatio: "100 / 30" } }), React.createElement("div", { "aria-hidden": true, style: { position: "absolute", zIndex: -1, top: 0, left: "-4%", right: "-4%", aspectRatio: "3840 / 1646", overflow: "hidden", pointerEvents: "none",
opacity: on ? 1 : 0, transition: "opacity .9s ease", transform: "translateZ(0)", willChange: "opacity",
WebkitMaskImage: fadeY + "," + fadeX, maskImage: fadeY + "," + fadeX, WebkitMaskComposite: "source-in", maskComposite: "intersect" } },
cur.header ? React.createElement("video", { key: cur.header, src: cur.header, ref: this.vidRef, muted: true, loop: true, playsInline: true, preload: "none",
style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", display: "block" } }) : null,
React.createElement("div", { style: { position: "absolute", inset: 0, background: "rgba(5,5,5,0.2)" } })));
})(),
textOrder: this.state.mob ? -1 : 0,
barsH: this.state.mob ? "125vh" : "210vh",
navLinkDisp: this.state.mob ? "none" : "block",
menuBtnDisp: this.state.mob ? "grid" : "none",
menuOpen: !!(this.state.mob && this.state.menuOpen),
toggleMenu: () => this.setState(s => ({ menuOpen: !s.menuOpen })),
closeMenu: () => this.setState({ menuOpen: false }),
menuT1: this.state.menuOpen ? "4px" : "1px", menuT2: this.state.menuOpen ? "4px" : "7px",
menuR1: this.state.menuOpen ? "45deg" : "0deg", menuR2: this.state.menuOpen ? "-45deg" : "0deg",
chipLeadDisp: this.state.mob ? "none" : "inline",
colMinH: this.state.mob ? "0" : "clamp(440px,48vw,640px)",
deviceH: this.state.mob ? ((cur.device || "phone") === "mac" || cur.device === "car" ? "auto" : cur.device === "dual" ? "min(420px,76vw)" : "min(520px,120vw)") : "clamp(440px,48vw,640px)",
footCol: this.state.mob ? "1 / -1" : "span 2",
colJustify: cur.header && (this.props.showHeaderVideo ?? true) ? "flex-start" : "center",
colMaxH: cur.header && (this.props.showHeaderVideo ?? true) ? "none" : "clamp(440px,48vw,640px)",
cur, isReal: !!cur.name, isEmpty: !cur.name, shotLabel: cur.name ? cur.name + " screenshot" : "Coming soon", ...this.slideVals(cur), shotImgOld: cur.shot ? React.createElement("img", { decoding: "async", loading: "lazy", src: cur.shot, alt: cur.name, style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", display: "block" } }) : null,
iconImg: cur.icon ? React.createElement("img", { key: cur.icon, decoding: "async", src: cur.icon, alt: "", style: { width: 60, height: 60, borderRadius: 15, display: "block", flex: "none" } }) : null,
isMac: (cur.device || "phone") === "mac", isCar: cur.device === "car", isPhone: (cur.device || "phone") === "phone", isTablet: cur.device === "tablet", isDual: cur.device === "dual", panelOpacity: (this.state.fading || !this.state.open) ? 0 : 1, panelShift: (this.state.fading || !this.state.open) ? 18 : 0,
panelRows: this.state.open ? "1fr" : "0fr",
zoneDot: this.state.zone ? 0.9 : 0.2,
visConsult, visDev,
palW: this.state.palOpen ? "260px" : "0px", palVis: this.state.palOpen ? "visible" : "hidden", palVisDelay: this.state.palOpen ? "0s" : ".5s", palPad: this.state.palOpen ? "14px" : "0px", palHidden: this.state.palOpen ? "false" : "true", palO: this.state.palOpen ? 1 : 0, palExp: this.state.palOpen ? "true" : "false",
togglePal: () => this.setState(s => ({ palOpen: !s.palOpen })),
swatches: ["white", "pureRed", "red", "crimson", "rose", "orange", "violet", "blue", "cyan"].filter(k => this.palettes[k]).map(k => { const on = k === this.curPal();
return { name: k === "pureRed" ? "Red" : k === "red" ? "Coral" : k[0].toUpperCase() + k.slice(1), on: on ? "true" : "false", tab: this.state.palOpen ? 0 : -1, c: this.palettes[k][2],
ring: on ? "0 0 0 2px #050505, 0 0 0 3.5px rgba(255,255,255,0.85)" : "0 0 0 1px rgba(255,255,255,0.12)",
pick: () => { try { localStorage.setItem("rexiox-palette", k); } catch (e) {} this.setState({ userPal: k }); } }; }),
barGlow: React.createElement("div", { "aria-hidden": "true", style: { position: "absolute", left: "50%", top: "62vh", width: "110vw", height: "38vh", borderRadius: "50%", pointerEvents: "none",
background: "radial-gradient(ellipse at center, color-mix(in srgb, var(--a3) 40%, transparent), color-mix(in srgb, var(--a3) 12%, transparent) 40%, transparent 70%)", transform: "translateX(-50%)", willChange: "opacity, transform",
animation: animate ? "rxGlow 6s ease-in-out 1.5s infinite" : "none", opacity: 0.4 } }),
showScroll: (this.state.vh ?? (typeof window !== "undefined" ? window.innerHeight : 900)) >= 640,
pulseDot: React.createElement("span", { style: { position: "relative", width: 7, height: 7, flex: "none" } },
React.createElement("span", { style: { position: "absolute", inset: 0, borderRadius: "50%", background: "var(--a3)", animation: animate ? "rxPulse 2s cubic-bezier(.2,.7,.2,1) infinite" : "none" } }),
React.createElement("span", { style: { position: "absolute", inset: 0, borderRadius: "50%", background: "var(--a3)" } })),
heroTitle: (() => { const ws = "We turn bold ideas into apps people use every day, everywhere.".split(" "), hi = 8;
const base = "linear-gradient(to bottom,#ffffff 35%,#8b8b90)", acc = "linear-gradient(to bottom,#ffffff 10%,color-mix(in srgb,var(--a3) 70%,#8b8b90) 80%)";
return ws.map((w, i) => React.createElement(React.Fragment, { key: i }, React.createElement("span", { style: i >= hi ? { display: "inline-block", filter: "drop-shadow(0 1px 1px rgba(0,0,0,0.85)) drop-shadow(0 2px 14px rgba(0,0,0,0.95))" } : { display: "inline-block" } }, React.createElement("span", { "aria-hidden": "true", style: { display: "inline-block", background: i >= hi ? acc : base, WebkitBackgroundClip: "text", backgroundClip: "text", color: "transparent", paddingBottom: "0.08em",
animation: animate ? `rxWordIn .9s cubic-bezier(.16,1,.3,1) ${(0.3 + i * 0.07).toFixed(2)}s both` : "none" } }, w)), i < ws.length - 1 ? " " : null)); })(),
scrollDot: React.createElement("div", { style: { position: "absolute", left: 0, top: 0, width: 1, height: 14, background: "#f4f4f5", animation: animate ? "rxScrollDot 2.2s cubic-bezier(.65,0,.35,1) infinite" : "none" } }),
brand,
appMarquee, iconRowRef: this.iconRowRef,
bars: React.createElement("div", { style: { position: "absolute", inset: 0, display: "flex", alignItems: "flex-end" } }, bars),
words, aboutRef: this.aboutRef,
};
}
}
</script>
</body>
</html>