forked from codechefPesuecc/CodeChef-PESUECC-Chapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
847 lines (743 loc) · 20.7 KB
/
Copy pathglobals.css
File metadata and controls
847 lines (743 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
@import "tailwindcss";
/*
* Enable class-based dark mode: the `dark:` variant matches when a `.dark`
* class is present on <html> (toggled by the Navbar theme switch), instead of
* Tailwind v4's default `prefers-color-scheme` media query.
*/
@custom-variant dark (&:where(.dark, .dark *));
/*
* CodeChef PESUECC Chapter — brand system.
* Palette and typography per DESIGN.md. Static color tokens live in `@theme`
* so they emit `--color-*` custom properties AND generate utilities
* (bg-cream, text-chocolate, border-hairline, ...). Font tokens use
* `@theme inline` because they reference the next/font variables set on <html>.
*/
@theme {
--color-cream: #f5f1eb;
/* primary background canvas */
--color-brown: #5b4638;
/* primary structural elements */
--color-chocolate: #3e2f24;
/* headers & deep accents */
--color-bronze: #a67c52;
/* interactive CTAs / buttons */
--color-charcoal: #1f1f1f;
/* body typography */
--color-panel: #ffffff;
/* card backgrounds */
--color-hairline: #e2e8f0;
/* soft borders */
}
@theme inline {
--font-display: var(--font-space-grotesk);
--font-sans: var(--font-inter);
--font-mono: var(--font-jetbrains-mono);
}
/*
* Site canvas + backdrop swap by theme. Because every brand utility resolves to
* `var(--color-*)`, redefining those variables under `.dark` re-themes the whole
* site at once. `--color-cream` intentionally stays light in both themes: it is
* the "ink on dark surfaces" role (text-cream in the footer / CTA), while the
* page canvas is driven separately by `--site-canvas`.
*/
:root {
--site-canvas: var(--color-cream);
--site-backdrop: url("/lightmode.png");
--l-shape-fill: #FBF6ED;
--grid-line: color-mix(in oklab, var(--color-chocolate) 8%, transparent);
/* Code editor / console surface — light IDE in light mode. */
--ide-bar: #efe9e0;
--ide-border: #e3dacd;
--ide-body: #ffffff;
--ide-ink-strong: #3e2f24;
--ide-ink: #6f5f4e;
--ide-ink-dim: #9c8b77;
--ide-code: #3e2f24;
}
.dark {
--color-brown: #b58a5f;
/* lighter warm taupe for text/borders on dark */
--color-chocolate: #f7f0e6;
/* headings become the lightest ink */
--color-bronze: #bd8a4a;
/* brighter copper accent, matches darkmode.png */
--color-charcoal: #e8dfd2;
/* body typography, light on dark */
--color-panel: #221a12;
/* elevated card surface */
--color-hairline: #3a2c20;
/* borders & hairline dividers */
--site-canvas: #16110c;
/* deep warm near-black page canvas */
--site-backdrop: url("/darkmode.png");
--l-shape-fill: #1C1714;
--grid-line: color-mix(in oklab, var(--color-cream) 5%, transparent);
/* Code editor / console surface — warm terminal-dark in dark mode. */
--ide-bar: #1e1610;
--ide-border: #3a2c20;
--ide-body: #16110c;
--ide-ink-strong: #f0e9dd;
--ide-ink: rgba(240, 233, 221, 0.62);
--ide-ink-dim: rgba(240, 233, 221, 0.4);
--ide-code: #cbb89a;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--site-canvas);
background-image: var(--site-backdrop);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
color: var(--color-charcoal);
}
/* Lenis smooth scroll */
html.lenis,
html.lenis body {
height: auto;
}
.lenis.lenis-smooth {
scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
overscroll-behavior: contain;
}
.lenis.lenis-stopped {
overflow: hidden;
}
/* Accessible focus rings for interactive elements */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
outline: 2px solid var(--color-bronze);
outline-offset: 2px;
border-radius: 6px;
}
/* Honour reduced-motion for native scrolling */
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
/*
* Arena — problem statement prose. Rendered from challenge markdown by
* ProblemStatement. Colours use brand tokens so the copy re-themes in dark mode;
* fenced code blocks stay a warm terminal-dark in both themes.
*/
.arena-prose {
color: color-mix(in oklab, var(--color-charcoal) 90%, transparent);
font-size: 0.95rem;
}
.arena-prose> :first-child {
margin-top: 0;
}
.arena-prose h2 {
font-family: var(--font-display), sans-serif;
font-weight: 700;
color: var(--color-chocolate);
font-size: 1.05rem;
letter-spacing: -0.01em;
margin: 1.75rem 0 0.6rem;
}
.arena-prose h3 {
font-family: var(--font-display), sans-serif;
font-weight: 600;
color: var(--color-chocolate);
font-size: 0.95rem;
margin: 1.25rem 0 0.5rem;
}
.arena-prose p {
line-height: 1.7;
margin: 0.75rem 0;
}
.arena-prose strong {
color: var(--color-chocolate);
font-weight: 600;
}
.arena-prose a {
color: var(--color-bronze);
text-decoration: underline;
text-underline-offset: 2px;
}
.arena-prose ul,
.arena-prose ol {
margin: 0.75rem 0;
padding-left: 1.35rem;
}
.arena-prose ul {
list-style: disc;
}
.arena-prose ol {
list-style: decimal;
}
.arena-prose li {
margin: 0.35rem 0;
line-height: 1.6;
}
.arena-prose li::marker {
color: var(--color-bronze);
}
.arena-prose :not(pre)>code {
font-family: var(--font-mono), monospace;
font-size: 0.85em;
color: var(--color-brown);
background: color-mix(in oklab, var(--color-bronze) 14%, transparent);
border: 1px solid color-mix(in oklab, var(--color-bronze) 22%, transparent);
padding: 0.1em 0.4em;
border-radius: 6px;
}
.arena-prose .arena-io-label {
margin-top: 0.75rem;
font-family: var(--font-mono), monospace;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-brown);
}
.arena-prose .arena-io-label+pre {
margin-top: 0.3rem;
}
.arena-prose pre {
margin: 1rem 0;
padding: 0.9rem 1.1rem;
border-radius: 12px;
overflow-x: auto;
font-size: 0.82rem;
line-height: 1.6;
/* Theme the code/sample block with the IDE tokens: a light warm surface with
* dark text in light mode, a warm terminal-dark with light text in dark mode.
* Sample I/O blocks are bare <pre> (no <code>), so the colour lives here. */
font-family: var(--font-mono), monospace;
background: var(--ide-bar);
border: 1px solid var(--ide-border);
color: var(--ide-code);
}
.arena-prose pre code {
font-family: var(--font-mono), monospace;
color: inherit;
background: none;
border: none;
padding: 0;
}
/* Screenshot deterrent: don't render the problem when printing / print-to-PDF. */
@media print {
.arena-no-print {
display: none !important;
}
}
.arena-prose table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
font-size: 0.9rem;
}
.arena-prose th,
.arena-prose td {
border: 1px solid var(--color-hairline);
padding: 0.5rem 0.75rem;
text-align: left;
}
.arena-prose th {
color: var(--color-chocolate);
font-weight: 600;
background: color-mix(in oklab, var(--color-bronze) 8%, transparent);
}
/* Mecha component classes live in the components layer so Tailwind utilities
* (text-2xl, hidden, flex, …) applied alongside them still win. */
@layer components {
/*
* --- Mecha / HUD panels ---
* Chamfered "tech panel" cards with a double outline. The notched shape is a
* clip-path octagon; the double line is four nested clip layers whose alternating
* fill/line backgrounds paint an outer line, a gap, and an inner line. Each layer
* shrinks its own chamfer (`--mecha-n`) by how far it is inset, so the diagonals
* stay concentric. Colours are vars so the whole thing themes in light/dark.
*/
.mecha-wrapper {
position: relative;
filter: drop-shadow(0 5px 14px rgb(0 0 0 / 0.1));
transition: filter 500ms ease;
}
.dark .mecha-wrapper {
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.mecha-wrapper:hover, .group:hover .mecha-wrapper {
filter: drop-shadow(0 12px 32px rgba(40,28,16,0.2));
}
.dark .mecha-wrapper:hover, .dark .group:hover .mecha-wrapper {
filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6));
}
.mecha {
--mecha-n: 14px;
/* chamfer size */
--mecha-fill: var(--color-panel);
--mecha-line: color-mix(in oklab, var(--color-chocolate) 60%, var(--color-bronze));
--mecha-clip: polygon(var(--mecha-n) 0,
calc(100% - var(--mecha-n)) 0,
100% var(--mecha-n),
100% calc(100% - var(--mecha-n)),
calc(100% - var(--mecha-n)) 100%,
var(--mecha-n) 100%,
0 calc(100% - var(--mecha-n)),
0 var(--mecha-n));
position: relative;
clip-path: var(--mecha-clip);
background: var(--mecha-line);
/* outer line */
padding: 1.5px;
width: 100%;
height: 100%;
}
.initiative-btn {
@apply inline-flex items-center justify-center gap-3 border-[1.5px] border-[#221E1A] dark:border-[#D98A53] bg-transparent px-8 py-3.5 font-mono text-[11px] font-bold tracking-[0.15em] text-[#221E1A] dark:text-[#D98A53] uppercase transition-all duration-300 hover:bg-[#221E1A] dark:hover:bg-[#D98A53] hover:text-[#FBF6ED] dark:hover:text-[#1C1714];
}
.initiative-btn::after {
content: "→";
display: inline-block;
transition: transform 300ms ease-out;
margin-left: 4px;
}
.initiative-btn:hover::after {
transform: translate(6px, -2px);
}
.mecha-btn-arrow {
@apply inline-block transition-transform duration-300 ease-out;
margin-left: 4px;
}
.group:hover .mecha-btn-arrow,
.mecha-btn:hover .mecha-btn-arrow {
transform: translate(6px, -2px);
}
.mecha__gap {
--mecha-n: 12.5px;
/* 14 - 1.5 inset */
clip-path: var(--mecha-clip);
background: var(--mecha-fill);
/* gap */
padding: 10px;
width: 100%;
height: 100%;
}
.mecha__inline {
--mecha-n: 8.5px;
/* 14 - 5.5 inset */
clip-path: var(--mecha-clip);
background: var(--mecha-line);
/* inner line */
padding: 1px;
width: 100%;
height: 100%;
}
.mecha__body {
--mecha-n: 7.5px;
/* 14 - 6.5 inset */
clip-path: var(--mecha-clip);
background: var(--mecha-fill);
position: relative;
width: 100%;
height: 100%;
}
/* Dark-IDE variant: dark fill + warm bronze edge (used for the console). */
.mecha--ide {
--mecha-fill: var(--ide-body);
--mecha-line: color-mix(in oklab, var(--color-bronze) 70%, var(--ide-border));
}
.mecha__telemetry {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
/* Clear the top frame line and the chamfered corners so the label/index
* never collide with the border. */
padding: 0.95rem 1.15rem ;
font-family: var(--font-mono), monospace;
}
.mecha__label {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.20em;
color: color-mix(in oklab, var(--mecha-line) 88%, transparent);
border: 1px solid color-mix(in oklab, var(--mecha-line) 40%, transparent);
padding: 0.16rem 0.5rem;
white-space: nowrap;
}
.mecha__index {
font-size: 10px;
letter-spacing: 0.12em;
color: color-mix(in oklab, var(--mecha-line) 70%, transparent);
}
.mecha__tick {
position: absolute;
width: 7px;
height: 7px;
pointer-events: none;
color: color-mix(in oklab, var(--mecha-line) 55%, transparent);
}
.mecha__tick--tl {
top: 10px;
left: 10px;
border-top: 1.5px solid;
border-left: 1.5px solid;
}
.mecha__tick--tr {
top: 10px;
right: 10px;
border-top: 1.5px solid;
border-right: 1.5px solid;
}
.mecha__tick--bl {
bottom: 10px;
left: 10px;
border-bottom: 1.5px solid;
border-left: 1.5px solid;
}
.mecha__tick--br {
bottom: 10px;
right: 10px;
border-bottom: 1.5px solid;
border-right: 1.5px solid;
}
/*
* --- Mecha buttons ---
* Rounded button controls. Single-element (no border layer) so the classes drop
* onto a <button> or a <Link> alike. `solid` is the primary bronze CTA; `ghost`
* is an outlined secondary.
*/
.mecha-btn {
@apply inline-flex items-center justify-center gap-2 rounded-lg font-semibold transition-all duration-200;
padding: 0.75rem 1.25rem;
font-size: 0.875rem;
}
.mecha-btn--ghost {
@apply border border-brown text-brown hover:bg-brown hover:text-white dark:hover:text-[#16110c];
}
.mecha-btn--solid {
@apply bg-bronze text-white shadow-sm hover:bg-bronze/90 hover:shadow-md;
}
.mecha-btn--ok {
background: #059669;
color: #fff;
}
.mecha-btn--sm {
--mb-n: 5px;
font-size: 0.68rem;
padding: 0.42rem 0.85rem;
letter-spacing: 0.06em;
}
/*
* --- Mecha chips ---
* Small chamfered status/tag pills. Colour comes from utility classes
* (bg-emerald-500/15 text-emerald-600, …); this only sets the shape + mono type.
*/
.mecha-chip {
--mc-n: 4px;
clip-path: polygon(var(--mc-n) 0,
calc(100% - var(--mc-n)) 0,
100% var(--mc-n),
100% calc(100% - var(--mc-n)),
calc(100% - var(--mc-n)) 100%,
var(--mc-n) 100%,
0 calc(100% - var(--mc-n)),
0 var(--mc-n));
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-family: var(--font-mono), monospace;
font-size: 0.66rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
padding: 0.2rem 0.55rem;
line-height: 1.1;
white-space: nowrap;
}
/*
* --- Mecha tabs (segmented control) ---
*/
.mecha-tabs {
--mt-n: 7px;
display: inline-flex;
gap: 3px;
padding: 4px;
background: var(--color-panel);
clip-path: polygon(var(--mt-n) 0,
calc(100% - var(--mt-n)) 0,
100% var(--mt-n),
100% calc(100% - var(--mt-n)),
calc(100% - var(--mt-n)) 100%,
var(--mt-n) 100%,
0 calc(100% - var(--mt-n)),
0 var(--mt-n));
filter: drop-shadow(0 3px 8px rgb(0 0 0 / 0.08));
}
.mecha-tab {
--mt-n: 5px;
clip-path: polygon(var(--mt-n) 0,
calc(100% - var(--mt-n)) 0,
100% var(--mt-n),
100% calc(100% - var(--mt-n)),
calc(100% - var(--mt-n)) 100%,
var(--mt-n) 100%,
0 calc(100% - var(--mt-n)),
0 var(--mt-n));
font-family: var(--font-mono), monospace;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
padding: 0.42rem 0.95rem;
color: color-mix(in oklab, var(--color-charcoal) 58%, transparent);
transition:
background-color 0.15s ease,
color 0.15s ease;
}
.mecha-tab:hover {
color: var(--color-chocolate);
}
.mecha-tab--active {
background: color-mix(in oklab, var(--color-bronze) 18%, transparent);
color: var(--color-chocolate);
}
/*
* --- Mecha inputs ---
* Filled, chamfered fields with a bronze left-accent bar that brightens on
* focus. Single-element, so it drops onto any <input>/<textarea>/<select>.
*/
.mecha-input {
--mi-n: 6px;
clip-path: polygon(var(--mi-n) 0,
calc(100% - var(--mi-n)) 0,
100% var(--mi-n),
100% calc(100% - var(--mi-n)),
calc(100% - var(--mi-n)) 100%,
var(--mi-n) 100%,
0 calc(100% - var(--mi-n)),
0 var(--mi-n));
width: 100%;
background: color-mix(in oklab, var(--color-charcoal) 5%, var(--color-panel));
border-left: 2px solid color-mix(in oklab, var(--color-bronze) 55%, transparent);
padding: 0.6rem 0.85rem;
font-size: 0.875rem;
color: var(--color-charcoal);
outline: none;
transition:
background-color 0.15s ease,
border-color 0.15s ease;
}
.mecha-input::placeholder {
color: color-mix(in oklab, var(--color-charcoal) 42%, transparent);
}
.mecha-input:focus {
background: color-mix(in oklab, var(--color-bronze) 10%, var(--color-panel));
border-left-color: var(--color-bronze);
}
}
/*
* --- Cockpit atmosphere ---
* Bronze HUD scrollbars + a faint blueprint grid behind the page content.
*/
* {
scrollbar-width: thin;
scrollbar-color: color-mix(in oklab, var(--color-bronze) 45%, transparent) transparent;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: color-mix(in oklab, var(--color-bronze) 42%, transparent);
background-clip: padding-box;
border: 2px solid transparent;
}
::-webkit-scrollbar-thumb:hover {
background: color-mix(in oklab, var(--color-bronze) 68%, transparent);
background-clip: padding-box;
}
/* Faint technical grid over the page canvas (behind content, above the backdrop). */
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background-image:
linear-gradient(
var(--grid-line) 1px,
transparent 1px
),
linear-gradient(
90deg,
var(--grid-line) 1px,
transparent 1px
);
background-size: 46px 46px;
background-position: center top;
opacity: 1; /* Opacity is handled by the color-mix in var(--grid-line) */
}
/*
* ==========================================
* INITIATIVES — PREMIUM 4-LAYER CHAMFERED L-SHAPE
* System: outer-line → gap → inner-accent → body
* Inspired by the mecha panel architecture above.
* ==========================================
*/
/* ---- Mobile: Chamfered octagon (no L-notch) ---- */
.hud-l-outer {
--c: 24px;
}
.hud-l-gap {
--c: 20.5px;
}
.hud-l-inline {
--c: 16px;
}
.hud-l-body {
--c: 15px;
}
.hud-l-outer,
.hud-l-gap,
.hud-l-inline,
.hud-l-body {
clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0,
100% var(--c), 100% calc(100% - var(--c)),
calc(100% - var(--c)) 100%, var(--c) 100%,
0 calc(100% - var(--c)), 0 var(--c));
}
/* ---- Desktop: True L-Shape polygon ---- */
@media (min-width: 1024px) {
.hud-l-outer {
--c: 32px;
--w: 420px;
--h: 480px;
}
.hud-l-gap {
--c: 28.5px;
--w: 416.5px;
--h: 476.5px;
}
.hud-l-inline {
--c: 24px;
--w: 412px;
--h: 472px;
}
.hud-l-body {
--c: 23px;
--w: 411px;
--h: 471px;
}
.hud-l-outer,
.hud-l-gap,
.hud-l-inline,
.hud-l-body {
clip-path: polygon(var(--c) 0,
calc(var(--w) - var(--c)) 0,
var(--w) var(--c),
var(--w) calc(var(--h) - var(--c)),
calc(var(--w) + var(--c)) var(--h),
calc(100% - var(--c)) var(--h),
100% calc(var(--h) + var(--c)),
100% calc(100% - var(--c)),
calc(100% - var(--c)) 100%,
var(--c) 100%,
0 calc(100% - var(--c)),
0 var(--c));
}
}
/* ---- Corner tick marks (bracket accents at chamfer vertices) ---- */
.hud-tick {
position: absolute;
width: 8px;
height: 8px;
pointer-events: none;
z-index: 5;
}
.hud-tick--tl {
top: 40px;
left: 12px;
border-top: 1.5px solid;
border-left: 1.5px solid;
}
.hud-tick--bl {
bottom: 40px;
left: 12px;
border-bottom: 1.5px solid;
border-left: 1.5px solid;
}
.hud-tick--br {
bottom: 40px;
right: 12px;
border-bottom: 1.5px solid;
border-right: 1.5px solid;
}
.hud-tick--tr {
top: 40px;
right: 12px;
border-top: 1.5px solid;
border-right: 1.5px solid;
}
/* ---- Step-corner accent (where the L turns) ---- */
@media (min-width: 1024px) {
.hud-tick--step {
position: absolute;
top: 470px;
/* just below the step height (480px) */
left: 428px;
/* just past the step width (420px) */
width: 10px;
height: 10px;
border-top: 1.5px solid;
border-left: 1.5px solid;
pointer-events: none;
z-index: 5;
}
}
.chamfer-image {
clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 24px);
}
@layer utilities {
.bg-tech-glow-main {
background-image:
radial-gradient(circle at 18% 18%, rgba(166,124,82,0.28), transparent 28%),
radial-gradient(circle at 82% 45%, rgba(245,241,235,0.1), transparent 24%);
}
.bg-tech-glow-card {
background-image: linear-gradient(110deg, rgba(166,124,82,0.18), transparent 34%);
}
.bg-tech-grid-event {
background-image:
linear-gradient(to right, color-mix(in oklab, var(--color-hairline) 58%, transparent) 1px, transparent 1px),
linear-gradient(to bottom, color-mix(in oklab, var(--color-hairline) 58%, transparent) 1px, transparent 1px);
background-size: 46px 46px;
background-position: center top;
background-attachment: fixed;
}
}
/* ------------------------------------------------------------------ */
/* Team member card entrance animation */
/* ------------------------------------------------------------------ */
@keyframes card-in {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-card-in {
animation: card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* ------------------------------------------------------------------ */
/* View Transitions (Dark mode pan effect) */
/* ------------------------------------------------------------------ */
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
mix-blend-mode: normal;
}