Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
424 lines (400 loc) · 25.8 KB
/
Copy pathstyles.css
File metadata and controls
424 lines (400 loc) · 25.8 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
:root {
--bg: #09090b;
--bg-2: #101013;
--card: #121216;
--card-2: #17171c;
--line: #222228;
--line-2: #2e2e36;
--text: #ececef;
--dim: #8b8b96;
--dimmer: #5c5c66;
--red: #ff3b3f;
--red-2: #ff6b5e;
--red-soft: rgba(255, 59, 63, .12);
--red-glow: rgba(255, 59, 63, .35);
--mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
--sans: "Space Grotesk", system-ui, sans-serif;
--r: 14px;
--max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--sans);
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
.bg { position: absolute; top: 0; left: 0; right: 0; height: 1200px; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-code {
position: absolute; inset: 0; margin: 0; padding: 96px 0 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
font-family: var(--mono); font-size: 13px; line-height: 22px; white-space: pre; color: rgba(255,255,255,.1);
-webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 25%, transparent 78%);
mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 25%, transparent 78%);
user-select: none;
}
.bg-code .ln { display: inline-block; width: 3ch; margin-right: 2.5ch; text-align: right; color: rgba(255,255,255,.05); }
.bg-code .k { color: rgba(255, 59, 63, .22); }
.bg-code .s { color: rgba(255, 140, 120, .16); }
.bg-code .c { color: rgba(255,255,255,.045); font-style: italic; }
.bg-code .typing::after { content: "▍"; color: rgba(255, 59, 63, .45); animation: blink 1s steps(1) infinite; }
.bg-glow {
position: absolute; top: -260px; left: 50%; width: 900px; height: 600px; transform: translateX(-50%);
background: radial-gradient(closest-side, rgba(255, 59, 63, .22), transparent);
filter: blur(20px);
}
.nav {
position: sticky; top: 0; z-index: 50;
display: flex; align-items: center; justify-content: space-between; gap: 24px;
max-width: var(--max); margin: 0 auto; padding: 18px 24px;
font-family: var(--mono); font-size: 13px;
transition: background .25s, border-color .25s;
border-bottom: 1px solid transparent;
}
.nav.scrolled {
background: rgba(9, 9, 11, .78);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border-bottom-color: var(--line);
max-width: none;
padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
}
.brand { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.brand-caret { color: var(--red); }
.cursor { color: var(--red); animation: blink 1.1s steps(1) infinite; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { display: flex; gap: 6px; color: var(--dim); transition: color .2s; }
.nav-links a span { color: var(--dimmer); transition: color .2s; }
.nav-links a b { font-weight: 400; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover span, .nav-links a.active span { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { font-family: var(--mono); font-size: 12px; color: var(--dimmer); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s; }
.lang:hover { border-color: var(--line-2); }
.lang i { font-style: normal; margin: 0 4px; }
.lang span.on { color: var(--red); }
.burger { display: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 20px; }
.burger[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); }
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero {
display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
min-height: calc(100vh - 140px); padding: 48px 0 64px;
}
.status {
display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
font-family: var(--mono); font-size: 12px; color: var(--dim);
padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 99px; background: rgba(18,18,22,.6);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
.hero-name {
margin: 0; font-family: var(--sans); font-weight: 700;
font-size: clamp(64px, 11vw, 128px); line-height: .9; letter-spacing: -.055em;
}
.hero-name .dot { color: var(--red); }
.hero-role { margin: 18px 0 0; font-family: var(--mono); font-size: clamp(16px, 2vw, 20px); color: var(--red-2); min-height: 1.6em; }
.hero-role .prompt { color: var(--dimmer); }
.typed::after { content: "▍"; color: var(--red); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.hero-lead { max-width: 520px; margin: 22px 0 34px; color: var(--dim); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px;
font-family: var(--mono); font-size: 13px; font-weight: 500; border-radius: 10px;
transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 30px -8px var(--red-glow); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(255,59,63,.55); }
.btn-red:hover svg { transform: translateX(3px); }
.btn-line { border: 1px solid var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--red); background: var(--red-soft); }
.hero-text, .hero-side, .about > *, .contact > * { min-width: 0; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.term {
background: linear-gradient(180deg, var(--card-2), var(--card));
border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,59,63,.04);
transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
transition: transform .5s;
}
.term:hover { transform: none; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c2c33; }
.term-bar i:first-child { background: var(--red); }
.term-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.term-body { padding: 18px 20px 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.85; }
.term-body p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-red { color: var(--red); }
.c-key { color: var(--red-2); }
.c-dim { color: var(--dim); }
.blink { color: var(--red); animation: blink 1s steps(1) infinite; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.stats div { padding: 16px 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.stats strong::after { content: ""; }
.stats span { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dimmer); }
.marquee {
margin: 0 calc(50% - 50vw); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
overflow: hidden; background: rgba(18,18,22,.5);
mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--mono); font-size: 13px; color: var(--dim); padding: 16px 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.marquee-track span::after { content: "✦"; color: var(--red); font-size: 10px; margin-left: 26px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.section { padding: 110px 0 0; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.sec-num { font-family: var(--mono); font-size: 14px; color: var(--red); }
.sec-head h2 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.sec-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-link { font-family: var(--mono); font-size: 13px; color: var(--dim); transition: color .2s; }
.sec-link:hover { color: var(--red); }
.sec-sub { color: var(--dim); max-width: 620px; margin: 0 0 34px; }
.mono-dim { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.red { color: var(--red); }
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-top: 30px; }
.about-text p { margin: 0 0 18px; color: var(--dim); font-size: 17px; }
.about-text p:first-child { color: var(--text); font-size: 19px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 18px; align-self: start; max-width: 380px; width: 100%; justify-self: end; transform: rotate(1.5deg); transition: transform .4s, border-color .3s; }
.about-card:hover { transform: none; border-color: rgba(255,59,63,.4); }
.about-who { display: flex; flex-direction: column; padding: 0 8px; }
.about-list { margin: 0 8px !important; }
.shot { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #1a0607; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.08) saturate(1.1); transition: transform .6s, filter .4s; }
.about-card:hover .shot img { transform: scale(1.04); filter: contrast(1.12) saturate(1.25); }
.shot::before {
content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px);
mix-blend-mode: multiply;
}
.shot::after {
content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55));
}
.shot-corner { position: absolute; z-index: 2; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.75); }
.shot-corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.shot-corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.shot-corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.shot-corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.shot figcaption {
position: absolute; z-index: 2; left: 38px; right: 38px; top: 14px; display: flex; justify-content: space-between;
font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.8); text-transform: uppercase;
}
.rec { color: #fff; }
.rec::first-letter { color: var(--red); }
.about-card strong { font-size: 20px; }
.about-list { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 13px; }
.about-list li { display: flex; justify-content: space-between; gap: 12px; }
.about-list span { color: var(--dimmer); }
.about-list b { font-weight: 500; text-align: right; }
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stack-item { background: var(--bg-2); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; position: relative; transition: background .25s; }
.stack-item::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--red); transition: height .3s; }
.stack-item:hover { background: var(--card-2); }
.stack-item:hover::before { height: 100%; }
.tk { font-weight: 600; font-size: 17px; }
.stack-item span:last-child { font-family: var(--mono); font-size: 12px; color: var(--dimmer); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { font-family: var(--mono); font-size: 12.5px; color: var(--dim); padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; transition: all .2s; }
.filters button:hover { color: var(--text); border-color: var(--line-2); }
.filters button.on { color: #fff; background: var(--red); border-color: var(--red); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
position: relative; text-align: left; display: flex; flex-direction: column; gap: 12px;
background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
transition: border-color .25s, transform .25s, background .25s; overflow: hidden; isolation: isolate;
}
.card::before {
content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,59,63,.12), transparent 45%);
}
.card:hover { border-color: rgba(255,59,63,.45); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card.wide { grid-column: span 2; }
.card.hide { display: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kind { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.badge { font-family: var(--mono); font-size: 10.5px; color: var(--dimmer); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 99px; white-space: nowrap; }
.badge.live { color: #3ddc84; border-color: rgba(61,220,132,.35); }
.card h3 { margin: 4px 0 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.card p { margin: 0; color: var(--dim); font-size: 14.5px; flex: 1; }
.card .more { font-family: var(--mono); font-size: 12px; color: var(--dimmer); transition: color .2s; }
.card:hover .more { color: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--mono); font-size: 11px; color: var(--dim); padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.timeline { list-style: none; margin: 30px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 119px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--red), var(--line) 40%, transparent); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 36px; padding: 0 0 38px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 115px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red); }
.timeline li:first-child::before { background: var(--red); box-shadow: 0 0 14px var(--red-glow); }
.tl-when { font-family: var(--mono); font-size: 12.5px; color: var(--dimmer); text-align: right; padding-right: 18px; padding-top: 1px; }
.timeline h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.timeline p { margin: 0 0 12px; color: var(--dim); max-width: 620px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 26px; }
.contact-big { margin: 0 0 16px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.links { display: flex; flex-direction: column; gap: 10px; }
.link {
width: 100%; text-align: left; cursor: pointer;
display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 14px;
padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
transition: border-color .25s, background .25s, transform .25s;
}
.link:hover { border-color: var(--red); background: var(--card-2); transform: translateX(4px); }
.link-k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dimmer); }
.link-v { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrow { color: var(--dimmer); transition: color .2s, transform .2s; }
.link:hover .arrow { color: var(--red); transform: translate(2px, -2px); }
.foot {
max-width: var(--max); margin: 120px auto 0; padding: 28px 24px 40px;
display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--dim);
}
.foot a:hover { color: var(--red); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (max-width: 960px) {
.hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; padding-top: 36px; }
.term { transform: none; }
.about, .contact { grid-template-columns: 1fr; gap: 32px; }
.about-card { justify-self: center; }
.grid { grid-template-columns: 1fr 1fr; }
.stack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
.nav-links {
position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
background: rgba(9,9,11,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.burger { display: block; }
.nav, .nav.scrolled { padding: 14px 16px; }
main { padding: 0 16px; }
.grid { grid-template-columns: 1fr; }
.card.wide { grid-column: auto; }
.section { padding-top: 84px; }
.timeline::before { left: 4px; }
.timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
.timeline li::before { left: 0; }
.tl-when { text-align: left; padding: 0; }
.link { grid-template-columns: 1fr auto; }
.link-k { grid-column: 1 / -1; }
.link .arrow { grid-row: 2; grid-column: 2; }
.foot { padding: 24px 16px 32px; }
.term-body { font-size: 12.5px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
.reveal { opacity: 1; transform: none; }
}
.arrow.done { color: #3ddc84 !important; }
.term-body { min-height: 238px; }
.term-body p.in { animation: termIn .25s ease-out; }
.c-ok { color: #3ddc84; }
.bar { display: inline-block; vertical-align: middle; width: 90px; height: 6px; margin: 0 8px 2px; border-radius: 3px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--red); border-radius: 3px; transition: width .9s ease-out; }
.go .bar::after { width: var(--w); }
.term { position: relative; }
.term::after {
content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
background: linear-gradient(90deg, transparent, var(--red), transparent);
background-size: 40% 100%; background-repeat: no-repeat; animation: scan 4s linear infinite; opacity: .8;
}
.stats strong { font-variant-numeric: tabular-nums; }
@keyframes termIn { from { opacity: 0; transform: translateX(-4px); } }
@keyframes scan { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.bg-code.hot {
color: rgba(255,255,255,.32);
-webkit-mask-image: radial-gradient(circle 190px at var(--hx, -999px) var(--hy, -999px), #000, transparent 75%);
mask-image: radial-gradient(circle 190px at var(--hx, -999px) var(--hy, -999px), #000, transparent 75%);
}
.bg-code.hot .k { color: rgba(255, 59, 63, .9); }
.bg-code.hot .s { color: rgba(255, 150, 130, .7); }
.bg-code.hot .c { color: rgba(255,255,255,.25); }
.bg-code.hot .ln { color: rgba(255,255,255,.2); }
.card { cursor: default; }
.card .kind { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; transition: color .2s; }
.idx { font-family: var(--mono); font-size: 12px; color: var(--dimmer); transition: color .25s; }
.card:hover .idx { color: var(--red); }
.card h3 { font-size: 23px; }
.hero-side { perspective: 1200px; }
.term.tilt { transition: transform .12s ease-out; }
.scramble { color: var(--red); }
@media (hover: none) { .bg-code.hot { display: none; } }
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc {
position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 28px;
background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: 18px;
overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s;
}
.svc::before {
content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255,59,63,.13), transparent 45%);
}
.svc::after {
content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 1px;
background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0; transition: opacity .3s;
}
.svc:hover { border-color: rgba(255,59,63,.45); transform: translateY(-4px); }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: baseline; }
.svc-num { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .3s, color .3s; }
.svc:hover .svc-num { -webkit-text-stroke-color: var(--red); }
.svc-path { font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc h3 { margin: 6px 0 0; font-size: 27px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.svc p { margin: 0; color: var(--dim); font-size: 15.5px; }
.svc ul { list-style: none; margin: 4px 0 6px; padding: 14px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.svc li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; font-size: 14.5px; color: var(--text); }
.svc li::before { content: "›"; font-family: var(--mono); font-weight: 700; color: var(--red); }
.svc .tags { margin-top: auto; }
@media (max-width: 760px) {
.work { grid-template-columns: minmax(0, 1fr); }
.svc { padding: 24px 20px 22px; }
.svc h3 { font-size: 23px; }
.svc-num { font-size: 44px; }
}
.stack { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.stack-item { align-items: flex-start; gap: 6px; padding: 22px 18px; }
.stack-item img { width: 44px; height: 44px; margin-bottom: 8px; border-radius: 11px; transition: transform .3s; }
.stack-item:hover img { transform: translateY(-3px) rotate(-4deg); }
.stack-item .tk { font-size: 16px; }
@media (max-width: 960px) { .stack { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.now { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; margin-top: 30px; }
.now-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.now-brand img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line-2); box-shadow: 0 12px 30px -12px rgba(255, 196, 0, .35); }
.now-brand strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.now-role { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.now-info p { margin: 0 0 14px; color: var(--dim); font-size: 16.5px; }
.now-info p:first-of-type { color: var(--text); font-size: 18px; }
.now-info .btn { margin-top: 10px; }
.now-video { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 1920 / 802; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,59,63,.06); }
.now-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.now-play {
position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
display: grid; place-items: center; background: var(--red); box-shadow: 0 0 0 10px rgba(255,59,63,.18), 0 16px 40px -10px var(--red-glow);
transition: transform .25s, box-shadow .25s;
}
.now-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.now-play:hover { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,59,63,.14), 0 16px 40px -10px var(--red-glow); }
.now-video.playing .now-play, .now-video.playing figcaption { opacity: 0; pointer-events: none; }
.now-video figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(0,0,0,.8); transition: opacity .2s; pointer-events: none; }
@media (max-width: 960px) { .now { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 560px) { .now-play { width: 60px; height: 60px; } .now-brand strong { font-size: 24px; } }