Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
794 lines (758 loc) · 46.6 KB
/
Copy pathstyle.css
File metadata and controls
794 lines (758 loc) · 46.6 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
/* Sama Mushtaq portfolio, 2026 rebuild */
:root {
--bg: #f6f6f3;
--surface: rgba(255, 255, 255, 0.62);
--surface-2: rgba(255, 255, 255, 0.45);
--ink: #0f172a;
--ink-2: #334155;
--muted: #64748b;
--line: rgba(15, 23, 42, 0.06);
--line-strong: rgba(15, 23, 42, 0.16);
--accent: #1f5fd1;
--accent-ink: #163f8f;
--accent-soft: #e8f0ff;
--dark: #0b1220;
--radius: 0;
--radius-sm: 0;
--shadow: 0 8px 28px rgba(15, 23, 42, 0.045);
--shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.08);
--font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
--shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
margin: 0;
position: relative;
isolation: isolate;
overflow-x: hidden;
font-family: var(--font);
font-size: 17px;
line-height: 1.65;
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.3vw, 2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
.shell { width: min(var(--shell), calc(100% - clamp(1.25rem, 4vw, 2.5rem))); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 12px; }
/* Navigation pill */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; pointer-events: none; }
.nav-pill {
pointer-events: auto;
width: min(var(--shell), calc(100% - clamp(1.25rem, 4vw, 2.5rem)));
margin: 0 auto;
display: flex; align-items: center; justify-content: space-between; gap: 12px;
background: rgba(255, 255, 255, 0.5);
backdrop-filter: saturate(130%) blur(18px);
-webkit-backdrop-filter: saturate(130%) blur(18px);
border: 1px solid rgba(255, 255, 255, 0.6);
box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
padding: 8px 10px 8px 10px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 2px 2px; }
.brand img { width: 40px; height: 40px; object-fit: cover; }
.brand strong { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { font-weight: 700; font-size: 0.93rem; color: var(--ink-2); padding: 9px 14px; transition: background 0.18s, color 0.18s; }
.primary-nav a:hover { background: rgba(15, 23, 42, 0.05); color: var(--ink); }
.primary-nav a.nav-cta { background: var(--ink); color: #fff; padding: 10px 18px; }
.primary-nav a.nav-cta:hover { background: #1e293b; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 860px) {
.nav-toggle { display: inline-flex; }
.primary-nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; flex-direction: column; align-items: stretch; }
.primary-nav a { padding: 12px 14px; font-size: 1rem; }
body.nav-open .primary-nav { display: flex; }
.nav-pill { position: relative; }
}
@media (max-width: 520px) { .brand small { display: none; } }
/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 0.95rem; padding: 13px 22px; border: 1px solid transparent; transition: transform 0.15s, background 0.18s, border-color 0.18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #1e293b; }
.button-quiet { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.button-quiet:hover { border-color: var(--ink); }
.text-link { font-weight: 700; color: var(--accent); }
.text-link:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
/* Labels and section heads */
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 14%, rgba(255,255,255,0.55) 86%, rgba(255,255,255,0) 100%); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-top: 12px; max-width: 62ch; }
.lead { font-size: 1.1rem; color: var(--ink-2); }
/* Page glow behind the header and hero */
.page-glow { position: absolute; top: 0; left: 0; right: 0; height: 760px; overflow: hidden; z-index: -1; pointer-events: none; }
.page-glow span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.9; }
.page-glow .b1 { width: 620px; height: 620px; left: -160px; top: -220px; background: #d9e6ff; }
.page-glow .b2 { width: 560px; height: 560px; right: 6%; top: -160px; background: #ffe4cf; }
.page-glow .b3 { width: 520px; height: 520px; right: -160px; top: 260px; background: #e2f4ea; }
.detail .page-glow, .case .page-glow, .resume-page .page-glow { height: 560px; }
.page-glow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to bottom, rgba(246,246,243,0), var(--bg)); }
/* Hero */
.hero { position: relative; padding: 72px 0 56px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero .lead { margin-top: 24px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-status { margin-top: 26px; color: var(--muted); font-size: 0.95rem; font-weight: 600; line-height: 1.6; }
.hero-portrait { position: relative; margin: 0 0 0 auto; width: min(100%, 400px); aspect-ratio: 1; }
.portrait-panel { position: absolute; left: 0; right: 0; top: 22%; bottom: 0; background: linear-gradient(160deg, rgba(214,228,255,0.9) 0%, rgba(255,227,205,0.9) 58%, rgba(224,243,232,0.9) 100%); }
.portrait-cutout { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.16)); }
@media (max-width: 860px) {
.hero { padding: 40px 0 32px; }
.hero-grid { grid-template-columns: 1fr; gap: 28px; }
.hero-portrait { width: min(100%, 300px); margin-left: 0; }
.hero h1 { max-width: none; }
}
/* Logo marquee */
.strip { padding: 24px 0 56px; }
.strip p { text-align: center; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { list-style: none; display: flex; align-items: center; justify-content: center; height: 64px; flex: 0 0 auto; margin-right: 84px; }
.marquee-track img { display: block; height: 36px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.2s, opacity 0.2s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
.marquee ul { margin: 0; padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marquee-track li { margin: 8px 20px; } .marquee { mask-image: none; -webkit-mask-image: none; } .marquee-track li.dup { display: none; } }
/* Reveal on scroll, only when motion is allowed and JS is present */
.motion-ok .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.motion-ok .reveal.is-visible { opacity: 1; transform: none; }
.motion-ok .stats .reveal:nth-child(2), .motion-ok .card-grid .reveal:nth-child(2), .motion-ok .program-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.motion-ok .stats .reveal:nth-child(3), .motion-ok .card-grid .reveal:nth-child(3), .motion-ok .program-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.motion-ok .stats .reveal:nth-child(4), .motion-ok .card-grid .reveal:nth-child(4), .motion-ok .program-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.motion-ok .stats .reveal:nth-child(5), .motion-ok .card-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stats.stats-four { grid-template-columns: repeat(4, 1fr); }
.proof-section { padding-top: 10px; padding-bottom: 70px; }
.stat { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(214,228,255,0) 30%, rgba(214,228,255,0.7) 50%, rgba(255,227,205,0) 70%); transform: translateX(-120%); transition: transform 0.9s ease; pointer-events: none; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: rgba(255,255,255,0.85); }
.stat:hover::after { transform: translateX(120%); }
.stat strong { position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.stat span { position: relative; z-index: 1; }
.stat strong { display: block; font-size: 1.85rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .stats.stats-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats, .stats.stats-four { grid-template-columns: repeat(2, 1fr); } .stat strong { font-size: 1.7rem; } }
/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: rgba(255,255,255,0.85); }
.card-media { background: rgba(255,255,255,0.5); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.contain { padding: 26px; }
.card-media.contain img { object-fit: contain; }
.card-media.plain { background: rgba(255,255,255,0.7); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card p { color: var(--ink-2); margin: 0; }
.card .text-link { margin-top: auto; padding-top: 8px; }
.card-wide { grid-column: 1 / -1; }
.card-text { justify-content: center; }
.card-text .card-body { padding: 30px 30px; }
.mkec-card { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr); }
.mkec-card .card-media { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); min-height: 260px; }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .mkec-card { display: flex; } .mkec-card .card-media { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); } }
/* Story and education */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.story-grid .section-head { margin-bottom: 0; }
.story-copy { font-size: 1.08rem; }
.story-copy p { color: var(--ink-2); max-width: 60ch; }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.education-card { background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.education-card strong { display: block; font-size: 1.08rem; }
.education-card span { display: block; color: var(--ink-2); font-weight: 700; margin-top: 8px; }
.education-card p { color: var(--muted); margin: 10px 0 0; font-size: 0.92rem; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 22px; } .education-grid { grid-template-columns: 1fr; } }
/* Program cards */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.program { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.program:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: rgba(255,255,255,0.85); }
.program-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.program-brand img { height: 44px; width: auto; max-width: 170px; object-fit: contain; }
.program-brand span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.program p { color: var(--ink-2); margin: 0; }
.program dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.program dt { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.program dd { margin: 3px 0 0; font-size: 0.8rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
@media (max-width: 860px) { .program-grid { grid-template-columns: 1fr; } }
/* Experience */
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.timeline h3 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.timeline ul { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 172px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-size: 0.82rem; font-weight: 700; color: var(--muted); padding-top: 3px; }
.timeline strong { display: block; font-weight: 800; letter-spacing: -0.01em; }
.timeline span { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 28px; } .timeline li { grid-template-columns: 1fr; gap: 2px; } }
/* Contact */
.contact { position: relative; padding: 96px 0 84px; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 15% 30%, rgba(217,230,255,0.9), transparent 70%), radial-gradient(55% 75% at 85% 70%, rgba(255,228,207,0.9), transparent 70%), radial-gradient(50% 60% at 60% 10%, rgba(226,244,234,0.8), transparent 70%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); }
.contact .eyebrow { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact p { color: var(--ink-2); font-size: 1.05rem; max-width: 52ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-links a { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.55); padding: 12px 18px; font-weight: 700; color: var(--ink); transition: background 0.18s, border-color 0.18s; }
.contact-links a:hover { border-color: var(--ink); background: rgba(255,255,255,0.85); }
.contact-links a.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-links a.primary:hover { background: #1e293b; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } }
.site-footer { padding: 26px 0 34px; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* Detail pages, engineering and case studies */
.detail-hero { position: relative; padding: 56px 0 36px; }
.detail-hero .shell { position: relative; z-index: 1; }
.back-link { display: flex; width: fit-content; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.back-link:hover { color: var(--ink); }
.detail-hero h1 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); max-width: 22ch; }
.detail-hero .lead { margin-top: 20px; max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.facts div { min-width: 0; }
.facts dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.detail-body { padding: 24px 0 80px; }
.detail-body > section { padding: 36px 0; border-top: 1px solid var(--line); }
.detail-body > section:first-child { border-top: 0; padding-top: 12px; }
.detail-body h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: 14px; }
.detail-body h3 { margin: 22px 0 8px; }
.detail-body p, .detail-body li { color: var(--ink-2); max-width: 70ch; }
.detail-body ul { padding-left: 1.2rem; }
.detail-body li { margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 20px; } }
figure.fig { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
figure.fig > img { flex: 1; object-fit: contain; }
figure.fig figcaption { margin-top: auto; }
figure.fig img, figure.fig svg { width: 100%; display: block; }
figure.fig.pad img { padding: 20px; }
figure.fig figcaption { padding: 14px 20px 16px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); line-height: 1.5; }
figure.fig figcaption b { color: var(--ink-2); font-weight: 800; }
.fig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.fig-grid figure.fig { margin: 0; }
.fig-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .fig-grid, .fig-grid.two { grid-template-columns: 1fr; } }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 0; padding: 0; }
.result-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 16px; }
.result-grid dt { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.025em; }
.result-grid dd { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .result-grid { grid-template-columns: 1fr 1fr; } }
.decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.decisions article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.decisions h3 { margin: 0 0 8px; font-size: 1.05rem; }
.decisions p { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .decisions { grid-template-columns: 1fr; } }
.note { background: var(--accent-soft); border: 1px solid #d6e3ff; color: var(--accent-ink); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.95rem; font-weight: 600; }
.limit { color: var(--muted); font-size: 0.92rem; }
.detail-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* Legacy case study class names, restyled */
.case-simple-hero { position: relative; padding: 56px 0 36px; }
.case-simple-hero .shell { position: relative; z-index: 1; }
.case-simple-back { display: inline-flex; font-weight: 700; color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.case-simple-back:hover { color: var(--ink); }
.case-simple-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.case-simple-brand img { height: 44px; width: auto; max-width: 150px; object-fit: contain; }
.case-simple-brand span { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.case-simple-hero h1 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); max-width: 22ch; }
.case-simple-hero h1 + p { margin-top: 20px; max-width: 62ch; font-size: 1.15rem; color: var(--ink-2); }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.case-facts dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 6px 0 0; font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
@media (max-width: 860px) { .case-facts { grid-template-columns: 1fr 1fr; } }
.case-simple-body { padding: 24px 0 80px; }
.case-simple-body > section { padding: 36px 0; border-top: 1px solid var(--line); }
.case-simple-body > section:first-child { border-top: 0; padding-top: 12px; }
.case-simple-body h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: 14px; }
.case-simple-body p, .case-simple-body li { color: var(--ink-2); max-width: 70ch; }
.case-action-list { padding-left: 1.2rem; }
.case-action-list li { margin-bottom: 8px; }
.case-decisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-decisions article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.case-decisions h3 { margin: 0 0 8px; font-size: 1.05rem; }
.case-decisions p { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .case-decisions { grid-template-columns: 1fr; } }
.case-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 0; padding: 0; }
.case-result-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px 16px; }
.case-result-grid dt { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.025em; }
.case-result-grid dd { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 860px) { .case-result-grid { grid-template-columns: 1fr 1fr; } }
.case-simple-figure { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-simple-figure img { width: 100%; }
.case-simple-figure figcaption { padding: 14px 20px 16px; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); line-height: 1.5; }
.case-limit { color: var(--muted); font-size: 0.92rem; }
/* Resume page */
.resume-page { background: var(--bg); }
.resume-toolbar { padding: 26px 0 8px; }
.resume-toolbar .shell { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.resume-toolbar p { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.resume-sheet { width: min(900px, calc(100% - clamp(1.25rem, 4vw, 2.5rem))); margin: 18px auto 60px; background: rgba(255,255,255,0.82); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(34px, 6vw, 64px); font-size: 0.95rem; line-height: 1.48; color: #111; }
.resume-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; border-bottom: 2px solid #111; padding-bottom: 14px; margin-bottom: 18px; }
.resume-head h1 { font-size: 1.8rem; letter-spacing: -0.02em; }
.resume-head h2 { font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-top: 6px; font-weight: 800; }
.resume-contact { font-style: normal; text-align: right; font-size: 0.82rem; color: #444; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.resume-contact a { color: #444; }
.resume-summary { color: #222; font-size: 0.98rem; line-height: 1.55; margin-bottom: 20px; }
.resume-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 22px; }
.resume-skills span { font-size: 0.74rem; font-weight: 700; background: #f1f2ee; padding: 4px 8px; }
.resume-section { margin-bottom: 18px; }
.resume-section h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(31, 95, 209, 0.24); font-weight: 800; }
.resume-role { margin-bottom: 12px; }
.resume-role-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.resume-role-head h3 { font-size: 0.98rem; margin: 0; }
.resume-role-head h3 span { font-weight: 500; color: #333; }
.resume-role-head time { font-size: 0.78rem; color: #555; white-space: nowrap; font-weight: 600; }
.resume-role ul { margin: 6px 0 0; padding-left: 1.1rem; }
.resume-role li { margin-bottom: 3px; }
.resume-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.resume-project p { margin: 4px 0 0; }
.resume-project h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.resume-project h3 a:hover { color: var(--accent); border-color: var(--accent); }
.resume-capabilities p { margin: 0 0 4px; }
.resume-capabilities strong { display: inline-block; min-width: 155px; }
.resume-leadership p { margin: 0; }
.resume-education-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.resume-education-row p { margin: 0; }
@media (max-width: 700px) {
.resume-toolbar .shell { align-items: flex-start; }
.resume-actions { width: 100%; }
.resume-actions .button { flex: 1 1 150px; }
.resume-sheet { padding: 32px 22px; }
.resume-head { flex-direction: column; }
.resume-contact { text-align: left; }
.resume-role-head { flex-direction: column; gap: 2px; }
.resume-capabilities strong { display: block; min-width: 0; }
.resume-education-row { grid-template-columns: 1fr; gap: 12px; }
}
@media print {
@page { size: Letter; margin: 0.55in 0.6in; }
.site-header, .resume-toolbar, .site-footer { display: none !important; }
body, .resume-page { background: #fff; }
.resume-sheet { width: auto; margin: 0; border: 0; box-shadow: none; padding: 0; font-size: 9.5pt; line-height: 1.32; }
.resume-role, .resume-project { break-inside: avoid; page-break-inside: avoid; }
.resume-head { flex-direction: row; }
.resume-contact { text-align: right; }
.resume-role-head { flex-direction: row; gap: 16px; }
.resume-summary { margin-bottom: 8px; }
.resume-section { margin-bottom: 10px; }
.resume-head { padding-bottom: 10px; margin-bottom: 12px; }
.resume-sheet, .resume-education, .resume-education p:last-child, .resume-role:last-child, .resume-role:last-child li:last-child { margin-bottom: 0; }
html, body { height: auto; }
.resume-role { margin-bottom: 8px; }
.resume-section h2 { break-after: avoid; page-break-after: avoid; }
.resume-summary { font-size: 9.7pt; line-height: 1.35; }
.resume-capabilities p { margin-bottom: 2px; }
.resume-education-row { grid-template-columns: 1fr 1fr; gap: 18px; }
.page-glow { display: none; }
a { color: inherit; text-decoration: none; }
}
/* Visual homepage */
.visual-home .home-hero { padding: 70px 0 42px; }
.visual-home .hero-grid {
grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
gap: 50px;
align-items: center;
}
.visual-home .hero-copy { position: relative; z-index: 3; }
.visual-home .hero h1 {
max-width: 17ch;
font-size: clamp(2.25rem, 4.25vw, 4rem);
line-height: 1.06;
letter-spacing: -0.045em;
text-wrap: balance;
overflow-wrap: break-word;
}
.visual-home .hero .lead {
max-width: 60ch;
margin-top: 26px;
font-size: 1.04rem;
line-height: 1.72;
}
.compact-status {
display: flex;
flex-wrap: wrap;
gap: 9px;
margin-top: 24px;
}
.compact-status span {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 7px 11px;
border: 1px solid rgba(15, 23, 42, 0.09);
background: rgba(255, 255, 255, 0.55);
color: var(--ink-2);
font-size: 0.78rem;
font-weight: 700;
line-height: 1.35;
}
.engineering-portrait {
width: min(100%, 470px);
margin-left: auto;
overflow: visible;
aspect-ratio: auto;
}
.portrait-stage {
position: relative;
width: 100%;
aspect-ratio: 1;
}
.engineering-portrait .portrait-panel {
top: 7%;
left: 5%;
right: -1%;
bottom: 1%;
border: 1px solid rgba(15, 23, 42, 0.06);
background: linear-gradient(150deg, rgba(214,228,255,0.94), rgba(255,227,205,0.88) 58%, rgba(224,243,232,0.92));
box-shadow: 0 34px 70px rgba(15, 23, 42, 0.12);
}
.portrait-grid {
position: absolute;
z-index: 1;
inset: 7% -1% 1% 5%;
opacity: 0.34;
background-image: linear-gradient(rgba(22,63,143,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(22,63,143,0.12) 1px, transparent 1px);
background-size: 30px 30px;
-webkit-mask-image: linear-gradient(145deg, #000, transparent 75%);
mask-image: linear-gradient(145deg, #000, transparent 75%);
}
.engineering-portrait .portrait-cutout { z-index: 2; }
.portrait-proof {
position: static;
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 12px 15px;
margin: 0;
border: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(255, 255, 255, 0.78);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.portrait-proof strong { font-size: 1.35rem; line-height: 1; letter-spacing: -0.04em; }
.portrait-proof span { color: var(--muted); font-size: 0.72rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.06em; }
.portrait-proof-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.visual-home .strip { padding: 22px 0 42px; }
.visual-home .strip p { margin-bottom: 14px; }
.proof-band {
background: linear-gradient(112deg, #0b1220, #122442 62%, #17335f);
color: #fff;
}
.proof-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-number { position: relative; padding: 28px 26px 27px; }
.proof-number + .proof-number { border-left: 1px solid rgba(255, 255, 255, 0.13); }
.proof-number strong { display: block; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -0.055em; }
.proof-number span { display: block; margin-top: 9px; color: rgba(255, 255, 255, 0.66); font-size: 0.79rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.visual-section-head {
max-width: none;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
gap: 50px;
align-items: end;
}
.visual-section-head p { margin: 0 0 3px; }
.visual-work { padding-top: 100px; }
.work-gallery {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: 20px;
}
.work-tile {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
overflow: hidden;
border: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(255, 255, 255, 0.76);
box-shadow: 0 14px 42px rgba(15, 23, 42, 0.065);
transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.work-tile:hover { transform: translateY(-5px); border-color: rgba(31, 95, 209, 0.28); box-shadow: 0 26px 62px rgba(15, 23, 42, 0.13); }
.work-tile:focus-visible { outline: 3px solid rgba(31, 95, 209, 0.4); outline-offset: 4px; }
.tile-mkec { grid-column: span 7; min-height: 420px; display: grid; grid-template-columns: 0.92fr 1.08fr; }
.tile-vibration { grid-column: span 5; min-height: 420px; }
.tile-kite { grid-column: span 7; min-height: 445px; }
.tile-heat { grid-column: span 5; min-height: 445px; }
.tile-device { grid-column: span 12; min-height: 350px; display: grid; grid-template-columns: 0.8fr 1.2fr; }
.tile-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px 30px; min-width: 0; }
.tile-label { color: var(--accent-ink); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.tile-copy h3 { margin-top: 12px; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.12; }
.tile-copy p { margin: 13px 0 0; color: var(--ink-2); font-size: 0.94rem; line-height: 1.55; }
.tile-link { margin-top: auto; padding-top: 24px; color: var(--accent); font-size: 0.83rem; font-weight: 800; }
.tile-media { min-height: 230px; overflow: hidden; background: #eef2f8; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.work-tile:hover .tile-media img { transform: scale(1.025); }
.tile-vibration .tile-media { height: 232px; padding: 24px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.tile-vibration .tile-media img { object-fit: contain; }
.tile-kite .tile-media { height: 270px; background: #44436d; }
.tile-kite .tile-copy, .tile-heat .tile-copy { flex: 1; }
.tile-heat .tile-media { height: 270px; }
.tile-heat .tile-media img { object-position: 35% center; }
.tile-device .tile-media { min-height: 350px; padding: 22px; background: linear-gradient(145deg, #eef4ff, #f8fafc); border-left: 1px solid var(--line); }
.tile-device .tile-media img { object-fit: contain; }
.mkec-visual {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
gap: 30px;
padding: 38px;
overflow: hidden;
border-left: 1px solid var(--line);
background-color: #f3f7ff;
background-image: linear-gradient(rgba(31,95,209,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(31,95,209,0.08) 1px, transparent 1px);
background-size: 28px 28px;
}
.mkec-visual img { width: min(100%, 210px); max-height: 74px; object-fit: contain; align-self: center; }
.system-stack { display: grid; gap: 9px; }
.system-stack span { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 16px; background: rgba(255,255,255,0.86); border-left: 5px solid var(--accent); color: var(--ink-2); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; }
.system-stack span:nth-child(2) { width: 86%; border-color: #f29a61; }
.system-stack span:nth-child(3) { width: 72%; border-color: #4ea77c; }
.tool-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-row span { padding: 6px 8px; background: rgba(255,255,255,0.82); border: 1px solid rgba(15,23,42,0.08); color: var(--muted); font-size: 0.67rem; font-weight: 800; }
.tools-section { padding-top: 24px; background: rgba(255, 255, 255, 0.52); }
.toolkit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.toolkit-card { min-width: 0; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,0.74); }
.toolkit-card > span { display: block; margin-bottom: 16px; color: var(--muted); font-size: 0.71rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.toolkit-card div { display: flex; flex-wrap: wrap; gap: 7px; }
.toolkit-card b { padding: 6px 9px; background: #edf3ff; color: var(--accent-ink); font-size: 0.74rem; font-weight: 800; }
.systems-section { position: relative; overflow: hidden; background: #0b1220; color: #fff; }
.systems-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 8% 15%, rgba(31,95,209,0.24), transparent 32%), radial-gradient(circle at 90% 75%, rgba(242,154,97,0.16), transparent 30%); pointer-events: none; }
.systems-section .shell { position: relative; }
.light-head h2 { color: #fff; }
.light-head .eyebrow { color: #9fbcf1; }
.light-head p { color: rgba(255,255,255,0.65); }
.impact-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.impact-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; color: var(--ink); transition: transform 0.24s ease, box-shadow 0.24s ease; }
.impact-card:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(0,0,0,0.34); }
.impact-rygn { grid-column: span 7; }
.impact-mak { grid-column: span 5; }
.impact-hard-rock { grid-column: span 5; }
.impact-itzcali { grid-column: span 7; }
.impact-image { height: 255px; overflow: hidden; background: #e9eef5; }
.impact-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.impact-card:hover .impact-image img { transform: scale(1.03); }
.impact-rygn .impact-image img { object-position: top; }
.impact-mak .impact-image img { object-position: 52% 50%; }
.impact-itzcali .impact-image { height: 290px; }
.impact-logo-field { display: flex; align-items: center; justify-content: center; min-height: 290px; padding: 44px; background: radial-gradient(circle at 50% 45%, #3b4657, #151c28 72%); }
.impact-logo-field img { width: min(100%, 210px); max-height: 100px; object-fit: contain; filter: grayscale(1) brightness(2.8); }
.impact-copy { display: grid; grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1fr); gap: 7px 20px; align-items: center; padding: 22px 24px 24px; }
.impact-copy img { width: auto; height: 32px; max-width: 130px; object-fit: contain; grid-row: span 2; }
.impact-copy strong { font-size: 1.55rem; line-height: 1; letter-spacing: -0.04em; }
.impact-copy span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.impact-hard-rock .impact-copy { grid-template-columns: 1fr; }
.background-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 72px; align-items: start; }
.background-grid h2 { max-width: 15ch; }
.career-lines { margin-top: 34px; border-top: 1px solid var(--line-strong); }
.career-lines > div { display: grid; grid-template-columns: 126px minmax(180px, 0.9fr) minmax(0, 1.1fr); gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.career-lines time { color: var(--muted); font-size: 0.76rem; font-weight: 800; }
.career-lines strong { font-size: 0.94rem; }
.career-lines span { color: var(--ink-2); font-size: 0.88rem; }
.education-panel { padding: 34px; border: 1px solid rgba(31,95,209,0.12); background: linear-gradient(145deg, #e7f0ff, #fff5ed 70%, #ebf8f1); box-shadow: var(--shadow-lg); }
.education-number { font-size: clamp(3.5rem, 7vw, 5.8rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.07em; color: var(--accent-ink); }
.education-panel h3 { margin-top: 14px; font-size: 1.35rem; }
.education-panel > p { margin-top: 12px; color: var(--ink-2); font-size: 0.92rem; }
.education-next { display: flex; align-items: center; gap: 14px; margin: 23px 0; padding-top: 20px; border-top: 1px solid rgba(15,23,42,0.11); }
.education-next img { width: 110px; max-height: 38px; object-fit: contain; }
.education-next span { color: var(--ink-2); font-size: 0.8rem; font-weight: 700; line-height: 1.4; }
@media (max-width: 1060px) {
.visual-home .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr); gap: 36px; }
.toolkit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
.visual-home .home-hero { padding-top: 44px; }
.visual-home .hero-grid { grid-template-columns: 1fr; gap: 30px; }
.visual-home .hero h1 { max-width: 15ch; }
.engineering-portrait { width: min(100%, 380px); margin: 0 auto; }
.visual-section-head { grid-template-columns: 1fr; gap: 16px; }
.work-gallery { grid-template-columns: 1fr; }
.tile-mkec, .tile-vibration, .tile-kite, .tile-heat, .tile-device { grid-column: auto; }
.tile-mkec { display: grid; grid-template-columns: 1fr 1fr; }
.tile-device { display: grid; grid-template-columns: 0.82fr 1.18fr; }
.impact-gallery { grid-template-columns: 1fr; }
.impact-rygn, .impact-mak, .impact-hard-rock, .impact-itzcali { grid-column: auto; }
.background-grid { grid-template-columns: 1fr; gap: 42px; }
}
@media (max-width: 700px) {
.visual-home .home-hero { padding: 36px 0 24px; }
.visual-home .hero-grid { gap: 24px; }
.visual-home .hero h1 { font-size: clamp(2rem, 7.5vw, 2.25rem); line-height: 1.08; }
.visual-home .hero .lead { font-size: 0.98rem; }
.compact-status { display: grid; grid-template-columns: 1fr 1fr; }
.compact-status span:first-child { grid-column: 1 / -1; }
.section { padding: 64px 0; }
.contact { padding: 72px 0 60px; }
.visual-home .strip { padding-bottom: 28px; }
.visual-home .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
.visual-home .marquee::-webkit-scrollbar { display: none; }
.visual-home .marquee-track { animation: none; }
.visual-home .marquee-track li { margin-right: 46px; }
.visual-home .marquee-track li.dup { display: none; }
.proof-band-grid { grid-template-columns: repeat(2, 1fr); }
.proof-number { padding: 22px 18px; }
.proof-number:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,0.13); }
.proof-number:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.13); }
.visual-work { padding-top: 74px; }
.tile-mkec, .tile-device { display: flex; }
.tile-mkec { min-height: 0; }
.mkec-visual { min-height: 300px; border-left: 0; border-top: 1px solid var(--line); }
.tile-device .tile-media { min-height: 280px; border-left: 0; border-top: 1px solid var(--line); }
.tile-kite, .tile-heat { min-height: 0; }
.toolkit-grid { grid-template-columns: 1fr; }
.impact-image, .impact-itzcali .impact-image { height: 230px; }
.impact-logo-field { min-height: 230px; }
.career-lines > div { grid-template-columns: 1fr; gap: 3px; }
.career-lines span { margin-top: 2px; }
}
@media (max-width: 480px) {
.engineering-portrait { width: 100%; }
.portrait-proof { padding: 10px 11px; }
.portrait-proof strong { font-size: 1.08rem; }
.portrait-proof span { font-size: 0.61rem; }
.tile-copy { padding: 23px; }
.mkec-visual { padding: 28px 24px; }
.impact-copy { grid-template-columns: 1fr; }
.impact-copy img { grid-row: auto; margin-bottom: 6px; }
.education-panel { padding: 26px; }
}
@media (max-width: 360px) {
.compact-status { grid-template-columns: 1fr; }
.compact-status span:first-child { grid-column: auto; }
.portrait-proof { align-items: flex-start; flex-direction: column; gap: 4px; }
}
/* Concise engineering homepage */
.concise-home .home-hero { padding-bottom: 52px; }
.concise-home .hero-copy { max-width: 690px; }
.concise-home .hero h1 { max-width: 17ch; }
.concise-home .hero .lead { max-width: 650px; }
.concise-home .compact-status { grid-template-columns: 1.55fr 0.8fr 0.7fr; }
.concise-home .visual-work { padding-top: 88px; }
.concise-home .compact-head { margin-bottom: 30px; }
.concise-home .compact-head p { max-width: 360px; }
.concise-home .tile-device {
grid-column: 4 / span 6;
min-height: 255px;
grid-template-columns: 0.86fr 1.14fr;
}
.concise-home .tile-device .tile-media { min-height: 255px; padding: 16px; }
.compact-tools {
padding: 38px 0;
border-top: 1px solid var(--line);
border-bottom: 1px solid var(--line);
background: rgba(255, 255, 255, 0.56);
}
.compact-tools-grid {
display: grid;
grid-template-columns: 0.36fr 1.64fr;
gap: 42px;
align-items: end;
}
.compact-tools-grid p {
margin: 0;
color: var(--ink-2);
font-size: 0.98rem;
font-weight: 700;
line-height: 1.8;
}
.compact-tools-grid p span { color: var(--accent); padding: 0 4px; }
.concise-home .background-section { padding-top: 74px; }
.concise-home .background-section h2 { max-width: none; }
.concise-home .concise-career { margin-top: 28px; }
.concise-home .concise-career > div {
grid-template-columns: 126px minmax(180px, 0.7fr) minmax(0, 1.3fr);
}
@media (max-width: 860px) {
.concise-home .compact-status { grid-template-columns: 1fr; }
.concise-home .tile-device { grid-column: auto; }
.compact-tools-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 700px) {
.concise-home .home-hero { padding-bottom: 24px; }
.concise-home .visual-work { padding-top: 66px; }
.concise-home .background-section { padding-top: 58px; }
.concise-home .concise-career > div { grid-template-columns: 1fr; }
}
/* Evidence first project pages */
.concise-detail .detail-hero { padding-bottom: 28px; }
.concise-detail .detail-body { padding-top: 10px; }
.concise-detail .detail-body > section { padding: 30px 0; }
.concise-detail .evidence-first { padding-top: 0; }
.concise-detail .evidence-first > .fig:first-child { margin-top: 0; }
.concise-detail .reading-width { max-width: 900px; }
.concise-detail .reading-width p { max-width: 78ch; }
.concise-detail .visual-results { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); align-items: stretch; }
.concise-detail .visual-results .fig { margin: 0; }
.concise-detail .visual-results .result-grid { grid-template-columns: 1fr 1fr; margin: 0; height: 100%; }
.concise-detail .single-proof { grid-template-columns: minmax(260px, 390px); margin-top: 14px; }
.concise-detail .single-proof dt { font-size: 2.2rem; }
.concise-detail .compact-figure { max-width: 900px; }
.workflow-strip {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
margin-top: 20px;
}
.workflow-strip span {
position: relative;
min-height: 84px;
padding: 16px 15px;
display: flex;
align-items: flex-end;
border: 1px solid rgba(31, 95, 209, 0.15);
background: linear-gradient(145deg, #edf3ff, rgba(255, 255, 255, 0.86));
color: var(--ink-2);
font-size: 0.78rem;
font-weight: 800;
line-height: 1.35;
}
.workflow-strip span::before {
content: "";
position: absolute;
top: 15px;
left: 15px;
width: 24px;
height: 3px;
background: var(--accent);
}
@media (max-width: 860px) {
.concise-detail .visual-results { grid-template-columns: 1fr; }
.concise-detail .visual-results .result-grid { height: auto; }
.workflow-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
.result-grid, .case-result-grid, .case-facts { grid-template-columns: 1fr; }
.workflow-strip { grid-template-columns: 1fr; }
}
/* Final small-screen safeguards */
@media (max-width: 700px) {
.concise-home .hero .lead { margin-top: 18px; }
.concise-home .hero-actions { margin-top: 20px; }
.concise-home .compact-status { grid-template-columns: 1fr 1fr; margin-top: 16px; }
.concise-home .compact-status span:first-child { grid-column: 1 / -1; }
.concise-home .engineering-portrait { width: min(100%, 320px); }
}
@media (max-width: 360px) {
.concise-home .compact-status { grid-template-columns: 1fr; }
.concise-home .compact-status span:first-child { grid-column: auto; }
}