File size: 61,085 Bytes
0d64a56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
834802a
0d64a56
 
 
 
 
 
 
 
ee0d506
9396f67
3f38557
 
834802a
3f38557
 
 
834802a
0d64a56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root{--ink:#202c28;--muted:#64726b;--accent:#d7e8a7;--paper:#f7f7ef}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #98c9ff;outline-offset:6px}.wrap{width:min(1200px,calc(100% - 112px));margin-inline:auto}.header{position:absolute;top:0;left:0;width:100%;z-index:5;color:white}.nav{height:92px;display:flex;align-items:center;gap:52px}.wordmark{font:bold 30px Georgia,serif;letter-spacing:1px}.brand-dot{color:var(--accent)}.nav-links{display:flex;gap:32px;font-size:15px;color:#ffffffe0}.nav-links a:hover{color:var(--accent)}.hero{position:relative;isolation:isolate;min-height:780px;min-height:max(780px,100svh);color:white;display:flex;align-items:flex-start;padding:175px 0 170px;overflow:hidden;background:#26332e}.hero-video,.hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.hero-video{object-fit:cover;object-position:center}.hero-shade{z-index:-1;background:linear-gradient(to top,var(--paper) 0%,rgba(250,251,248,.85) 7%,rgba(250,251,248,.3) 18%,transparent 32%),linear-gradient(90deg,rgba(6,16,13,.62),rgba(8,16,13,.4) 65%,rgba(8,16,13,.25))}.hero-content{padding-top:0}.resource-links{display:flex;gap:12px;margin-bottom:24px}.resource{display:inline-flex;gap:12px;align-items:center;padding:13px 20px;background:#fafaf7;color:#29332e;border:1px solid #ffffff80;border-radius:4px;font-size:15px;font-weight:600;transition:transform .2s,background .2s}.resource:hover{background:var(--accent);transform:translateY(-2px)}.play-icon{font-size:13px}.link-arrow{margin-left:4px;font-size:18px}h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,3.4vw,48px);line-height:1.15;letter-spacing:-1px;margin:0 0 26px;font-weight:700;text-shadow:0 2px 24px #0002}.title-line{display:block}.title-logo{width:1.5em;height:1.2em;object-fit:contain;vertical-align:-.18em;margin-right:.18em}.tagline{font-size:23px;color:var(--accent);font-weight:600;margin:0 0 30px}.hero-description{max-width:860px;font-size:18px;line-height:1.65;color:#fffffff0;margin:0 0 28px}.authors{max-width:1090px;display:flex;flex-wrap:wrap;gap:12px 22px;font-size:17px;line-height:1.65}.authors span{white-space:nowrap}sup{font-size:.65em;vertical-align:super;margin-left:2px}.affiliations{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:22px;max-width:1030px;font-size:14px;line-height:1.7;color:#ffffffdc}.affiliations sup{color:var(--accent);font-size:12px;margin-right:5px}.author-notes{display:flex;flex-wrap:wrap;gap:8px 24px;color:#ffffffbf;font-size:12px;margin:16px 0 0;line-height:1.6}.author-notes a:hover{text-decoration:underline}.scroll-cue{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:2px;display:grid;gap:10px;text-align:center;color:#536158}.scroll-cue span{font-size:26px}.video-toggle{position:absolute;bottom:32px;right:32px;border:1px solid #ffffff59;border-radius:30px;background:#fafbf8c9;color:#33453a;padding:10px 16px;cursor:pointer;display:flex;gap:9px;align-items:center;font-size:12px}.video-toggle:hover{background:#10251aa0}.section{padding-block:100px}.eyebrow{font-size:11px;letter-spacing:2.3px;color:#6b806d;font-weight:700;margin:0 0 17px}h2{font:500 clamp(32px,3.5vw,46px)/1.15 Georgia,serif;letter-spacing:-1px;margin:0 0 16px}.section-intro{font-size:18px;line-height:1.7;color:var(--muted);margin:0 0 40px}.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;margin-top:46px}.principles article{border-top:1px solid #ccd5c9;padding-top:24px}.number{font-size:12px;color:#72806b}h3{font-size:20px;font-weight:500;margin:20px 0 12px}.principles p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:64px;border-block:1px solid #dfe4dc;padding:30px 0}.metrics div{display:grid;gap:9px;text-align:center}.metrics div+div{border-left:1px solid #dfe4dc}.metrics strong{font:normal 46px Georgia,serif}.metrics strong span{font-size:25px}.metrics div>span{font-size:13px;color:var(--muted)}.metric-note{text-align:center;color:var(--muted);font-size:11px;margin:15px 0 0}.abstract-section{max-width:890px}.abstract-copy{font-size:17px;line-height:1.9;color:#536158}.abstract-copy p{margin:0 0 20px}.paper-link{display:inline-flex;gap:40px;border-bottom:1px solid #526745;padding-block:12px;font-size:14px;margin-top:15px}footer{border-top:1px solid #dfe4dc;padding-block:30px;display:flex;align-items:center;gap:28px}footer .wordmark{font-size:23px}footer p{font-size:11px;color:var(--muted);flex:1}footer>a:last-child{font-size:12px}.skip-link{position:fixed;top:-80px;left:20px;z-index:10;background:white;color:#182723;padding:14px}.skip-link:focus{top:10px}@media(min-width:1700px){.wrap{width:min(1460px,calc(100% - 160px))}.hero-content{padding-top:0}h1{font-size:58px}.hero-description{font-size:21px;max-width:1020px}.authors{font-size:19px;max-width:1250px}.affiliations{font-size:16px;max-width:1200px}}@media(max-width:800px){.wrap{width:calc(100% - 48px)}.nav{height:78px;justify-content:space-between;gap:20px}.nav-links{gap:18px;font-size:12px}.wordmark{font-size:25px}.hero{padding:135px 0 180px;min-height:100svh}.hero-content{padding-top:0}h1{font-size:clamp(28px,3.65vw,36px);letter-spacing:-1px}.tagline{font-size:20px}.hero-description{font-size:16px}.authors{font-size:14px;gap:8px 16px}.affiliations{font-size:12px;gap:7px}.author-notes{font-size:11px}.hero-video{object-position:58% center}.principles{gap:24px}.section{padding-block:70px}.metrics strong{font-size:36px}.video-toggle{right:20px;bottom:25px}.abstract-copy{font-size:16px}}@media(max-width:520px){.wrap{width:calc(100% - 40px)}.nav-links{gap:16px}.nav-links a:first-child{display:none}.hero{padding-top:122px;padding-bottom:190px}h1{font-size:30px;line-height:1.14;letter-spacing:-1px}.resource{font-size:13px;padding:11px 14px;gap:9px}.resource-links{margin-bottom:24px}.tagline{font-size:18px;line-height:1.5}.hero-description{font-size:15px;line-height:1.65;margin-bottom:23px}.authors{font-size:13px;gap:7px 13px}.affiliations{display:grid;margin-top:20px;line-height:1.6}.author-notes{display:grid}.scroll-cue{left:20px;transform:none;font-size:9px;text-align:left;bottom:23px}.scroll-cue span{font-size:20px}.video-toggle{font-size:11px}.principles{grid-template-columns:1fr;gap:30px}.principles article{padding-top:18px}.principles h3{margin-top:12px}.section-intro{font-size:16px}.metrics{margin-top:40px}.metrics strong{font-size:30px}.metrics strong span{font-size:17px}.metrics div>span{font-size:10px}.section{padding-block:58px}footer{flex-wrap:wrap;gap:12px}footer p{flex-basis:calc(100% - 90px);line-height:1.6}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* The entire cover fits below the fixed 64px navigation bar. */
.hero{height:calc(100svh - 64px);min-height:0;padding:clamp(28px,7vh,86px) 0 100px;background:var(--paper);overflow:hidden}
.hero-media{position:absolute;inset:0 0 64px;width:100%;height:auto;aspect-ratio:auto;overflow:hidden;z-index:-2;background:var(--paper)}
.hero-video{inset:0 auto auto 50%;width:auto;max-width:none;height:100%;transform:translateX(-50%);object-fit:contain;object-position:center;z-index:0}
.hero-shade{z-index:1;background:linear-gradient(to bottom,rgba(8,16,13,.32),rgba(8,16,13,.24) 52%,transparent 82%)}
.hero-media::after{content:"";position:absolute;inset:auto 0 0;height:clamp(24px,4vh,48px);z-index:2;pointer-events:none;background:linear-gradient(to bottom,rgba(247,247,239,0),var(--paper))}
.hero-content{padding-top:0}
.scroll-cue{bottom:10px;left:50%;transform:translateX(-50%);text-align:center;gap:4px}
.video-toggle{bottom:15px;background:#eef1e9}
@media(min-width:1101px) and (max-height:800px){.hero{padding-top:28px}h1{font-size:clamp(32px,3.1vw,46px);margin-bottom:18px}.tagline{font-size:20px;margin-bottom:20px}.authors{font-size:15px;gap:8px 18px}.affiliations{margin-top:16px;font-size:12px}.author-notes{margin-top:10px}}
/* On narrow screens, keep the video and scroll cue in the first viewport,
   then show the complete paper information directly underneath. */
@media(max-width:1100px){.hero{height:auto;min-height:0;display:block;padding:calc(100svh - 64px) 0 0;background:var(--paper);overflow:visible}.hero-media{inset:0 0 auto;width:100%;transform:none;height:calc(100svh - 128px)}.hero-shade{display:none}.hero-video{object-fit:contain;object-position:center}.hero-content{padding-block:40px;color:var(--ink)}.hero-content .tagline{color:#58713e}.hero-content .affiliations,.hero-content .author-notes{color:var(--muted)}.hero-content .affiliations sup{color:#58713e}.scroll-cue{top:calc(100svh - 118px);bottom:auto}.video-toggle{top:calc(100svh - 113px);bottom:auto}h1{font-size:clamp(28px,3.65vw,36px)}}

/* Persistent reading navigation. */
body{padding-top:64px}
.header{position:fixed;inset:0 0 auto;z-index:20;background:#f7f7ef;color:#65665f;border-bottom:1px solid #dedfd6}
.header .nav{height:64px;width:calc(100% - 112px);max-width:1800px;gap:28px;justify-content:flex-start}
.header .wordmark{font-size:25px;letter-spacing:0;color:#2877b5}
.section-menu{position:relative;min-width:0}
.section-menu summary{display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none;font:16px Georgia,serif}
.section-menu summary::-webkit-details-marker{display:none}
.menu-chevron{display:block;flex:none;width:7px;height:7px;font-size:0;border-right:1.5px solid #8d9085;border-bottom:1.5px solid #8d9085;transform:translateY(-2px) rotate(45deg)}
.section-menu-links{position:absolute;top:calc(100% + 16px);left:-20px;min-width:170px;padding:8px;background:#f7f7ef;border:1px solid #dedfd6;border-radius:6px;box-shadow:0 8px 24px #18272314}
.section-menu-links a{display:block;padding:10px 12px;font-size:14px;border-radius:3px}
.section-menu-links a:hover,.section-menu-links a[aria-current]{background:#e9ecdf;color:#80374c}
.nav-resources{margin-left:auto;display:flex;align-items:center;gap:26px;font:18px Georgia,serif;white-space:nowrap}
.nav-resources a{display:inline-flex;align-items:center;gap:8px}
.nav-resources a:hover{color:#80374c}
.nav-badge{font:10px monospace;letter-spacing:1px;border:1px solid #d6d8ce;border-radius:20px;padding:4px 7px;color:#8e9187}
.nav-unavailable{display:inline-flex;gap:8px;align-items:center;color:#96988f;cursor:default}
.citation-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
#copy-citation{padding:8px 16px;border:1px solid #ccd5c9;border-radius:4px;background:transparent;color:var(--ink);cursor:pointer}
.citation{white-space:pre-wrap;overflow-wrap:anywhere;padding:24px;background:#eef1e9;border:1px solid #dfe4dc;border-radius:6px;font:13px/1.8 monospace}
.citation-note,.copy-status{font-size:13px;color:var(--muted);line-height:1.6}
.copy-status{min-height:1.6em}
@media(max-width:700px){.header .nav{width:calc(100% - 32px);gap:14px}.header .wordmark{font-size:21px}.nav-resources{gap:14px;font-size:15px}.nav-badge{display:none}.section-menu summary{font-size:13px;gap:5px}#current-section{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:360px){.header .nav{width:calc(100% - 24px);gap:10px}.nav-resources{gap:10px;font-size:14px}.header .wordmark{font-size:19px}#current-section{max-width:64px}}

/* Fade the actual video edges, including when its width is below the viewport. */
.hero-video{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.25) 2.5%,rgba(0,0,0,.7) 6%,#000 10%,#000 90%,rgba(0,0,0,.7) 94%,rgba(0,0,0,.25) 97.5%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.25) 2.5%,rgba(0,0,0,.7) 6%,#000 10%,#000 90%,rgba(0,0,0,.7) 94%,rgba(0,0,0,.25) 97.5%,transparent 100%);
}

.hero-shade{
  left:50%;right:auto;width:calc((100svh - 128px)*16/9);transform:translateX(-50%);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);
}

/* Widen only the horizontal axis so the fade stays outside the cover text. */
@media(min-width:1101px){
  .hero-video,.hero-shade{transform:translateX(-50%) scaleX(1.15)}
  .hero-content{text-shadow:0 1px 3px rgba(0,0,0,.65),0 2px 12px rgba(0,0,0,.25)}
  .hero-content h1{text-shadow:0 2px 5px rgba(0,0,0,.5)}
}

/* Continue the actual edge colors all the way to the viewport edges. */
.video-edge-extension{position:absolute;inset:0 auto 0 -36px;width:calc(100% + 72px);height:100%;pointer-events:none;filter:blur(12px);opacity:1}
.hero-media{-webkit-mask-image:none;mask-image:none}
.hero-video{-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.hero-shade{left:0;right:0;width:100%;transform:none;-webkit-mask-image:none;mask-image:none}
.teaser-frame{margin:30px 0 32px;padding:clamp(16px,2.5vw,36px);border:1px solid #dedfd3;border-radius:12px;background:radial-gradient(ellipse at center,#fff 55%,var(--paper) 100%);box-shadow:0 3px 16px #26332e05}
.teaser-frame a{display:block;background:#fff;box-shadow:0 0 20px 12px #fff}
.teaser-frame img{display:block;width:100%;height:auto}
@media(max-width:520px){.teaser-frame{padding:12px;border-radius:8px}.teaser-frame a{box-shadow:0 0 8px 4px #fff}}

/* Match the reference site's reading face; keep the cover typography intact. */
main > .section{font-family:'Source Serif 4',Georgia,serif;font-optical-sizing:auto}
main > .section h2{font-family:'Source Serif 4',Georgia,serif;font-weight:600}
.principles h3{font-size:23px;font-weight:600}
.principles p{font-size:18px;line-height:1.7}
.section-intro{font-size:22px;line-height:1.65}
.abstract-copy{font-size:20px;line-height:1.8}
.eyebrow,.number,.metric-note,.citation-note,.copy-status{font-family:Arial,Helvetica,sans-serif}
@media(max-width:700px){.principles h3{font-size:21px}.principles p,.abstract-copy{font-size:18px}.section-intro{font-size:20px}}

/* Benchmark comparison: shared scale and individual bar highlighting. */
.benchmark-comparison{margin-top:36px;padding:28px 30px 22px;border:1px solid #d5d8cd;border-radius:8px;background:#efefe7}
.comparison-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:32px}
.comparison-heading h3{font:600 28px/1.25 'Source Serif 4',Georgia,serif;margin:0}
.comparison-unit{font:11px/1.5 Arial,sans-serif;color:var(--muted)}
.benchmark-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.benchmark-column{min-width:0}
.benchmark-column h4{font-size:22px;font-weight:600;text-align:center;margin:0 0 5px}
.benchmark-subtitle{font:11px/1.5 Arial,sans-serif;color:var(--muted);text-align:center;margin:0 0 24px}
.benchmark-rows{display:grid;gap:10px}
.benchmark-row{--bar-color:#afada3;display:grid;grid-template-columns:108px minmax(30px,1fr) 58px;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 0;color:var(--ink);border:0;background:transparent;text-align:left;cursor:pointer;transition:opacity .18s,color .18s}
.benchmark-method{font:600 15px/1.3 'Source Serif 4',Georgia,serif;white-space:nowrap}
.benchmark-track{display:block;height:8px;border-radius:3px;background:#ddded5;position:relative}
.benchmark-fill{display:block;height:100%;background:var(--bar-color);border-radius:3px;transform-origin:center;transition:background .18s,transform .18s,box-shadow .18s}
.benchmark-value{font:15px/1.4 'Source Serif 4',Georgia,serif;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.benchmark-value small{font:10px Arial,sans-serif;color:var(--muted);margin-left:1px}
.benchmark-row.is-wing{--bar-color:#649abd;border-bottom:1px solid #d7dacd;padding-bottom:20px;margin-bottom:8px;min-height:60px}
.is-wing .benchmark-method,.is-wing .benchmark-value{font-weight:700;color:#246b9d}
.benchmark-comparison.has-highlight .benchmark-row:not(.is-highlighted){opacity:.36}
.benchmark-row.is-highlighted{--bar-color:#6c8e9d;opacity:1}
.benchmark-row.is-wing.is-highlighted{--bar-color:#2877b5}
.benchmark-row.is-highlighted .benchmark-fill{transform:scaleY(1.55);box-shadow:0 2px 8px #26332e15}
.benchmark-row:focus-visible{outline:2px solid #2877b5;outline-offset:5px;border-radius:3px}
.benchmark-gain{font-size:13px;line-height:1.6;color:var(--muted);margin:24px 0 0;padding-top:14px;border-top:1px solid #daddd1}
.benchmark-gain strong{color:#246b9d;white-space:nowrap}
.comparison-note{margin:28px 0 8px;font-size:14px;color:#566055}
.benchmark-tooltip{position:fixed;z-index:50;max-width:min(300px,calc(100vw - 24px));padding:18px 20px;border:1px solid #d1d7c9;border-radius:7px;background:#fffffa;color:var(--ink);box-shadow:0 10px 35px #202c2826;pointer-events:none;font:15px/1.5 'Source Serif 4',Georgia,serif}
.benchmark-tooltip[hidden]{display:none}
.benchmark-tooltip h4{font-size:18px;margin:0 0 2px;font-weight:600}
.benchmark-tooltip .tip-benchmark{font:11px Arial,sans-serif;color:var(--muted);margin:0 0 10px}
.benchmark-tooltip .tip-value{font-size:28px;line-height:1.2;color:#246b9d;margin:0 0 10px;font-weight:600}
.benchmark-tooltip dl{display:grid;grid-template-columns:1fr auto;gap:4px 28px;border-block:1px solid #e0e4da;margin:0 0 10px;padding:9px 0;font-size:14px}
.benchmark-tooltip dt,.benchmark-tooltip dd{margin:0}
.benchmark-tooltip dd{text-align:right;font-variant-numeric:tabular-nums}
.benchmark-tooltip .tip-comparison{font-size:13px;margin:8px 0;color:#246b9d}
.benchmark-tooltip .tip-note,.benchmark-tooltip .tip-source{font:10px/1.5 Arial,sans-serif;color:var(--muted);margin:5px 0 0}
@media(max-width:1150px){.benchmark-comparison{padding:24px 20px}.benchmark-grid{gap:22px}.benchmark-row{grid-template-columns:1fr 58px;gap:8px;min-height:62px}.benchmark-method{grid-column:1;grid-row:1}.benchmark-value{grid-column:2;grid-row:1}.benchmark-track{grid-column:1/-1;grid-row:2}.benchmark-row.is-wing{min-height:76px}}
@media(max-width:760px){.comparison-heading{display:block;margin-bottom:28px}.comparison-heading h3{font-size:25px;margin-bottom:8px}.benchmark-grid{grid-template-columns:1fr;gap:32px}.benchmark-column h4,.benchmark-subtitle{text-align:left}.benchmark-subtitle{margin-bottom:14px}.benchmark-row{grid-template-columns:118px minmax(30px,1fr) 58px;gap:10px;min-height:44px}.benchmark-method{grid-column:1;grid-row:1}.benchmark-track{grid-column:2;grid-row:1}.benchmark-value{grid-column:3;grid-row:1}.benchmark-row.is-wing{min-height:60px}.benchmark-gain{margin-top:16px}.benchmark-comparison{padding:22px 16px}.comparison-note{font-size:13px}}
@media(max-width:380px){.benchmark-row{grid-template-columns:101px minmax(20px,1fr) 53px;gap:6px}.benchmark-method{font-size:14px}.benchmark-value{font-size:14px}.comparison-heading h3{font-size:22px}}

/* Real-world demonstrations stay within At a Glance. */
.demo-gallery{margin-top:64px}
.gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
.gallery-heading h3{font:600 32px/1.25 'Source Serif 4',Georgia,serif;margin:0}
.gallery-controls{display:flex;gap:8px;align-items:center}
.gallery-controls button{border:1px solid #d5d8cd;background:transparent;color:var(--muted);border-radius:50%;width:38px;height:38px;cursor:pointer;font:20px Arial,sans-serif}
.gallery-controls #preview-toggle{width:auto;border-radius:20px;padding:0 14px;font:12px Arial,sans-serif;margin-right:8px}
.gallery-controls button:hover:not(:disabled){background:#e8ece3;color:var(--ink)}
.gallery-controls button:disabled{opacity:.35;cursor:default}
.gallery-instruction{font-size:20px;color:var(--muted);text-align:center;margin:24px 0}
.demo-track{display:flex;gap:28px;list-style:none;margin:0;padding:6px 6px 25px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-color:#bfc4b8 transparent;scrollbar-width:auto}
.demo-track::-webkit-scrollbar{height:9px}
.demo-track::-webkit-scrollbar-thumb{background:#bfc4b8;border-radius:10px}
.demo-card{flex:0 0 38%;min-width:0;scroll-snap-align:start}
.demo-open{display:block;width:100%;padding:0;background:none;border:0;text-align:left;cursor:pointer;color:var(--ink)}
.demo-thumbnail{position:relative;display:block;overflow:hidden;border:1px solid #d5d8cd;border-radius:5px;aspect-ratio:16/9;background:#e5e6de}
.demo-thumbnail video{display:block;width:100%;height:100%;object-fit:contain}
.demo-expand{position:absolute;right:12px;bottom:12px;background:#f7f7efe6;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font:22px Arial,sans-serif;transition:background .2s,transform .2s}
.demo-open:hover .demo-expand,.demo-open:focus-visible .demo-expand{background:#fff;transform:scale(1.12)}
.demo-title{display:block;font:600 22px/1.3 'Source Serif 4',Georgia,serif;margin-top:16px}
.demo-dialog{width:min(1280px,calc(100vw - 40px));max-width:none;max-height:calc(100svh - 40px);padding:18px;border:1px solid #d5d8cd;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #0005}
.demo-dialog::backdrop{background:#111b19c9}
.demo-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.demo-dialog-heading h2{font:600 24px/1.3 'Source Serif 4',Georgia,serif;letter-spacing:0;margin:0}
.demo-close{flex-shrink:0;width:36px;height:36px;border:1px solid #d5d8cd;border-radius:50%;background:transparent;color:var(--ink);font:26px Arial,sans-serif;cursor:pointer}
#expanded-demo{display:block;width:100%;max-height:calc(100svh - 150px);aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:4px}
.demo-playback-status{margin:8px 0 0;font:14px/1.5 Arial,sans-serif}
.demo-playback-status:empty{display:none}
body:has(.demo-dialog[open]){overflow:hidden}
@media(max-width:760px){.demo-card{flex-basis:82%}.demo-track{gap:18px}.gallery-heading{flex-wrap:wrap;gap:16px}.gallery-heading h3{font-size:28px}.demo-title{font-size:21px}.gallery-instruction{font-size:18px;text-align:left}.demo-dialog{width:calc(100vw - 20px);padding:12px}.demo-dialog-heading h2{font-size:20px}}

.method-section{border-top:1px solid #dfe4dc}
.method-frame{width:100%;max-width:840px;margin:26px auto 32px;padding:16px}
.method-frame video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#fff;box-shadow:0 0 20px 12px #fff}
.method-explanation{max-width:960px;margin-inline:auto;font:20px/1.75 'Source Serif 4',Georgia,serif;color:#536158}
.method-explanation p{margin:0 0 20px}
.method-explanation strong{font-weight:600;color:var(--ink)}
.method-explanation .method-training{margin:28px 0 0;padding-top:24px;border-top:1px solid #dfe4dc;font-size:18px}
@media(max-width:700px){.method-explanation{font-size:18px}.method-explanation .method-training{font-size:17px}.method-frame video{box-shadow:0 0 8px 4px #fff}}

.method-playback{display:flex;justify-content:flex-end;margin-top:18px}
.method-playback button{border:0;background:transparent;padding:4px 0;color:var(--muted);font:14px 'Source Serif 4',Georgia,serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px}

.method-story{margin-top:64px}
.method-chapter + .method-chapter{margin-top:64px;padding-top:48px;border-top:1px solid #dfe4dc}
.method-chapter h3{font:600 clamp(25px,2.6vw,34px)/1.25 'Source Serif 4',Georgia,serif;margin:0 0 22px;letter-spacing:-.4px}
.method-chapter .eyebrow{font:700 11px/1.5 Arial,sans-serif;letter-spacing:2.3px;margin-bottom:14px}
.ego-examples{max-width:1040px;margin:30px auto 36px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ego-example{min-width:0;margin:0;padding:10px;border:1px solid #dedfd3;border-radius:9px;background:#efefe7}
.ego-example video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#e5e6de;border-radius:4px}
.ego-example figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 3px 3px;font:16px/1.5 'Source Serif 4',Georgia,serif;color:var(--muted)}
.ego-toggle{border:0;background:transparent;padding:3px 0;cursor:pointer;color:var(--muted);font:14px 'Source Serif 4',Georgia,serif;text-decoration:underline;text-underline-offset:4px}
.method-explanation .method-insight{padding:18px 22px;background:#edf1ed;border-left:3px solid #80a9c1;border-radius:0 5px 5px 0;margin-top:28px}
.wing-lam-frame{width:100%;max-width:960px;padding:clamp(12px,2vw,26px);margin:30px auto 36px}
.wing-lam-frame figcaption{font:italic 16px/1.6 'Source Serif 4',Georgia,serif;color:var(--muted);margin-top:24px}
@media(max-width:700px){.ego-examples{grid-template-columns:1fr;gap:20px}.method-story{margin-top:44px}.method-chapter + .method-chapter{margin-top:44px;padding-top:36px}.method-explanation .method-insight{padding:14px 16px}.wing-lam-frame figcaption{font-size:14px;margin-top:16px}}

/* Reading layout: a hierarchical contents rail beside the article. */
.reading-layout{width:min(1560px,calc(100% - 80px));margin-inline:auto;display:grid;grid-template-columns:200px minmax(0,1fr);gap:48px}
.reading-content{min-width:0;font-family:'Source Serif 4',Georgia,serif;font-optical-sizing:auto}
.reading-content > .section.wrap{width:100%;margin-inline:auto}
.reading-content h2{font-family:'Source Serif 4',Georgia,serif;font-weight:600}
.page-sidebar{min-width:0;padding-top:100px}
.contents-menu{position:sticky;top:104px;max-height:calc(100svh - 128px);overflow-y:auto;scrollbar-width:thin}
.contents-menu > summary{display:none}
.sidebar-nav{font:14px/1.45 'Source Serif 4',Georgia,serif}
.sidebar-nav ul{list-style:none;margin:0;padding:0}
.sidebar-nav > ul{border-left:1px solid #cdd2c7}
.sidebar-nav a{display:block;position:relative;white-space:nowrap;padding:7px 8px 7px 17px;color:#787f75;transition:color .15s}
.sidebar-nav > ul > li + li{margin-top:10px}
.sidebar-nav ul ul a{padding-left:27px;font-size:12px;color:#92978d}
.sidebar-nav a:hover{color:var(--ink)}
.sidebar-nav a[aria-current="location"]{color:#246b9d;font-weight:600}
.sidebar-nav a[aria-current="location"]::before{content:"";position:absolute;left:-2px;top:7px;bottom:7px;width:3px;background:#2877b5}
.sidebar-nav li.is-active-group > a{color:var(--ink)}
.method-chapter h3{color:var(--ink)}
@media(min-width:1101px) and (max-width:1450px){.reading-layout .benchmark-row{grid-template-columns:1fr 58px;gap:8px;min-height:62px}.reading-layout .benchmark-method{grid-column:1;grid-row:1}.reading-layout .benchmark-value{grid-column:2;grid-row:1}.reading-layout .benchmark-track{grid-column:1/-1;grid-row:2}.reading-layout .benchmark-row.is-wing{min-height:76px}}
@media(max-width:1100px){.reading-layout{display:block;width:calc(100% - 48px)}.page-sidebar{padding-top:28px}.contents-menu{position:static;max-height:none;border-block:1px solid #dfe4dc;padding-block:12px}.contents-menu > summary{display:list-item;cursor:pointer;font:600 17px 'Source Serif 4',Georgia,serif}.sidebar-nav{padding-top:16px}.sidebar-nav a{padding-block:7px}.sidebar-nav > ul > li + li{margin-top:8px}}
@media(max-width:520px){.reading-layout{width:calc(100% - 40px)}}

/* Interactive spectral explanation, with serif text and compact technical labels. */
.spectral-explorer{margin:30px 0 36px;border:1px solid #d5d7ce;border-radius:6px;background:#efefe7;overflow:hidden;color:var(--ink)}
.spectral-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid #d9dcd3;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:1.4px;color:#798078}
.spectral-play{border:1px solid #c8cec6;border-radius:4px;background:transparent;color:#536158;font:13px/1.3 'Source Serif 4',Georgia,serif;padding:6px 12px;cursor:pointer;white-space:nowrap;letter-spacing:0}
.spectral-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:28px 22px}
.spectral-stage{position:relative;min-width:0;text-align:left;border:1px solid #cbd1c9;border-radius:4px;background:#e6e8e0;color:#6c756d;padding:16px 12px;cursor:pointer;transition:background .35s,border-color .35s,box-shadow .35s;font:16px/1.5 'Source Serif 4',Georgia,serif}
.spectral-stage:not(:last-child)::after{content:'→';position:absolute;right:-24px;top:48%;color:#7693a1;font-size:23px}
.spectral-stage[aria-pressed="true"]{background:#e2edf1;border-color:#5f93b0;color:#273c46;box-shadow:0 3px 14px #466a7a0d}
.spectral-stage:focus-visible,.spectral-play:focus-visible{outline:2px solid #287aac;outline-offset:3px}
.spectral-label{display:block;font:9px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.5px;color:#77857d;min-height:28px}
.spectral-stage strong{display:block;font-weight:500;font-size:20px;line-height:1.2;min-height:48px}
.spectral-stage svg{display:block;width:100%;height:auto;margin:14px 0 16px;overflow:visible}
.spectral-stage svg rect{transition:opacity .4s,fill .4s}
.spectral-stage svg path{stroke-dasharray:600;animation:spectral-draw 1.4s ease both}
.spectral-detail{display:grid;grid-template-columns:1.7fr 1fr;gap:30px;margin:0 22px;padding:23px 0;border-top:1px solid #d6dacf}
.spectral-detail h4{font:500 23px/1.3 'Source Serif 4',Georgia,serif;margin:0 0 10px}
.spectral-detail p{font-size:17px;line-height:1.55;margin:0;color:#5b675e}
.spectral-control{align-self:center;font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.5px;color:#738076}
.spectral-control output{display:block;font:500 25px/1.6 'Source Serif 4',Georgia,serif;color:#2b709b;letter-spacing:0}
.spectral-control input{display:block;width:100%;margin:8px 0;accent-color:#397eaa;cursor:pointer}
.spectral-control>span{font-size:10px;letter-spacing:0}
.spectral-explorer .spectral-caption{margin:0;padding:0 22px 20px;font:italic 13px/1.55 'Source Serif 4',Georgia,serif;color:#788278}
@keyframes spectral-draw{from{stroke-dashoffset:600}to{stroke-dashoffset:0}}
@media(max-width:700px){.spectral-stages{grid-template-columns:1fr;gap:26px}.spectral-stage{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.spectral-stage svg{grid-column:2;grid-row:1/4;margin:0;align-self:center}.spectral-stage strong{min-height:0;font-size:19px}.spectral-stage>span:last-child{font-size:14px}.spectral-stage:not(:last-child)::after{content:'↓';top:auto;bottom:-29px;right:50%}.spectral-detail{grid-template-columns:1fr;gap:20px}.spectral-topline{font-size:9px;padding-inline:16px}.spectral-label{font-size:8px}.spectral-stages{padding:22px 16px}}
@media(prefers-reduced-motion:reduce){.spectral-stage svg path{animation:none}}

/* Experiments: native, selectable charts with a consistent zero baseline. */
.experiment-chapter{padding-top:68px;scroll-margin-top:0}
.experiment-chapter + .experiment-chapter{margin-top:56px;border-top:1px solid #d9ded3}
.experiment-copy{max-width:960px;margin:0 auto 28px;font:20px/1.75 'Source Serif 4',Georgia,serif;color:#536158}
.experiment-copy h3{font:600 clamp(25px,2.5vw,34px)/1.3 'Source Serif 4',Georgia,serif;color:var(--ink);letter-spacing:-.4px;margin:0 0 22px}
.experiment-copy h4{font:500 25px/1.35 'Source Serif 4',Georgia,serif;color:var(--ink);margin:45px 0 18px}
.experiment-copy p{margin:0 0 22px}
.result-chart{border:1px solid #d4d8cc;border-radius:6px;background:#efefe7;margin:30px auto 46px;padding:26px 28px;font-family:'Source Serif 4',Georgia,serif;min-width:0}
.result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:24px}
.result-heading h4{font:600 26px/1.25 'Source Serif 4',Georgia,serif;margin:0;color:var(--ink)}
.result-heading a{flex-shrink:0;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#768075;text-decoration:underline;text-underline-offset:4px}
.result-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}
.result-toolbar label{font-size:15px;display:flex;gap:12px;align-items:center;max-width:100%;min-width:0;color:#58675b}
.result-toolbar select{max-width:100%;min-width:0;border:1px solid #c9cec2;border-radius:4px;padding:9px 30px 9px 10px;font:15px 'Source Serif 4',Georgia,serif;background:#f8f8f1;color:var(--ink)}
.result-legend{display:flex;gap:18px;font-size:13px;color:#70786d}
.result-legend span{display:flex;align-items:center;gap:7px}.result-legend i{width:10px;height:10px;border-radius:2px;background:#acb0a7}.result-legend .result-blue{background:#347eab}
.result-view-label{font-size:18px;color:#536158;margin:26px 0 0}
.result-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#c1c6ba transparent;padding-top:34px}
.result-plot{height:304px;position:relative;padding-left:42px;margin-top:10px}
.result-grid{position:absolute;left:42px;right:0;top:0;height:224px;pointer-events:none}
.result-grid>span{position:absolute;left:0;right:0;border-top:1px solid #d6dacd}
.result-grid>span:last-child{border-top-color:#8d968a}
.result-grid b{position:absolute;right:calc(100% + 8px);transform:translateY(-50%);font:10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#879080;font-weight:400}
.result-bars{height:100%;display:grid;grid-template-columns:repeat(var(--chart-columns),minmax(0,1fr));gap:12px;position:relative;padding:0 10px}
.result-bar{display:flex;flex-direction:column;align-items:center;height:100%;padding:0;border:0;background:none;cursor:pointer;min-width:0;color:#626e62;font-family:inherit}
.result-column{position:relative;display:flex;align-items:flex-end;justify-content:center;height:224px;flex-shrink:0;width:100%}
.result-fill{position:relative;display:block;width:min(100%,58px);height:var(--bar-height);background:#acb0a7;border-radius:3px 3px 0 0;transition:height .3s ease,background .18s,box-shadow .18s}
.result-number{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:6px;white-space:nowrap;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;color:#576052}
.result-name{display:block;padding-top:12px;font-size:13px;line-height:1.3;overflow-wrap:anywhere;width:100%;text-align:center}
.result-bar.is-focus .result-fill{background:#347eab}.result-bar.is-focus .result-name,.result-bar.is-focus .result-number{color:#236e9c;font-weight:600}
.result-bar.is-selected .result-fill{background:#668b9d;box-shadow:0 0 0 2px #375f7380,0 5px 14px #39546a24}.result-bar.is-focus.is-selected .result-fill{background:#226790}
.result-bar:focus-visible{outline:2px solid #347eab;outline-offset:4px;border-radius:3px}
.result-readout{min-height:42px;font:14px/1.5 'Source Serif 4',Georgia,serif;color:#356981;margin:14px 0 10px;border-top:1px solid #d9ddcf;padding-top:14px}
.result-note{font:italic 14px/1.55 'Source Serif 4',Georgia,serif;color:#778171;margin:12px 0 0}
@media(max-width:700px){.experiment-chapter{padding-top:42px}.experiment-chapter + .experiment-chapter{margin-top:34px}.experiment-copy{font-size:18px}.result-chart{padding:20px 14px;margin-block:24px 36px}.result-heading{display:block}.result-heading h4{font-size:23px;margin-bottom:10px}.result-toolbar select{font-size:13px;padding-right:18px}.result-toolbar label{font-size:13px}.result-heading a{font-size:10px}.result-readout{min-height:64px}.result-legend{font-size:12px}}

.result-swipe{display:none}
@media(max-width:700px){.result-swipe{display:block;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#778171;margin:6px 0 0}}

/* Figures and charts share the text column; paired charts fit within that width. */
.reading-content > .section{max-width:960px;margin-inline:auto}
.result-chart,.teaser-frame,.benchmark-comparison{max-width:960px;margin-inline:auto}
.result-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:960px;margin:30px auto 46px}
.result-pair .result-chart{width:100%;margin:0;padding:22px 16px}
.result-pair .result-heading{display:block;min-height:95px;margin-bottom:16px}
.result-pair .result-heading h4{font-size:23px;margin-bottom:10px}
.result-pair .result-toolbar{align-items:flex-start;min-height:86px}
.result-pair .result-toolbar select{font-size:13px;max-width:100%}
.result-pair .result-view-label{font-size:16px}
.result-pair .result-bars{gap:8px;padding-inline:5px}
.result-pair .result-name{font-size:11px}
.result-pair .result-number{font-size:10px}
@media(min-width:761px){.benchmark-row{grid-template-columns:1fr 58px;gap:8px;min-height:62px}.benchmark-method{grid-column:1;grid-row:1}.benchmark-value{grid-column:2;grid-row:1}.benchmark-track{grid-column:1/-1;grid-row:2}.benchmark-row.is-wing{min-height:76px}}
@media(max-width:800px){.result-pair{grid-template-columns:1fr}.result-pair .result-heading,.result-pair .result-toolbar{min-height:0}}
.diagnostic-subtitle{font:16px/1.5 'Source Serif 4',Georgia,serif;color:#637260;margin:12px 0 18px}
.diagnostic-svg{display:block;width:100%;height:auto;overflow:visible;margin-top:20px}
.diagnostic-svg text{font:11px 'Source Serif 4',Georgia,serif;fill:#69765f}.diagnostic-svg .diagnostic-ours{fill:#2874a1;font-weight:600}
.diagnostic-point,.camera-point{cursor:pointer;outline:none}.diagnostic-point.is-selected circle,.diagnostic-point:focus circle,.camera-point:focus,.camera-point:hover{stroke:#173b55;stroke-width:3}
.camera-legend{display:flex;gap:5px 10px;flex-wrap:wrap;min-height:44px}
.camera-legend button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:3px 0;cursor:pointer;font:11px 'Source Serif 4',Georgia,serif;color:#66715e}
.camera-legend i{width:12px;height:3px;background:var(--series-color)}.camera-legend button[aria-pressed="true"]{color:#245f85;text-decoration:underline;text-underline-offset:4px}
.camera-series{transition:opacity .2s}
#motion-decodability .diagnostic-svg{margin-top:64px}
@media(max-width:800px){#motion-decodability .diagnostic-svg{margin-top:20px}}
.result-pair .result-name{font-size:10px;overflow-wrap:normal}
/* Compact Q1 overview: four panels fit together in a desktop viewport. */
@media(min-width:801px){
.result-pair{gap:14px;margin-block:22px 32px}
.result-pair .result-chart{padding:12px 14px}
.result-pair .result-heading{min-height:0;margin-bottom:7px}
.result-pair .result-heading h4{font-size:17px;line-height:1.2;min-height:0;margin-bottom:3px}
.result-pair .result-heading a{font-size:9px}
.result-pair .result-toolbar{min-height:0;gap:5px}
.result-pair .result-toolbar label{font-size:11px;gap:7px}
.result-pair .result-toolbar select{font-size:11px;padding:5px 18px 5px 7px}
.result-pair .result-legend,.result-pair .result-view-label{display:none}
.result-pair .result-scroll{padding-top:20px}
.result-pair .result-plot{height:163px;margin-top:0}
.result-pair .result-grid,.result-pair .result-column{height:130px}
.result-pair .result-number{font-size:9px;padding-bottom:4px}
.result-pair .result-name{font-size:10px;padding-top:7px;line-height:1.15}
.result-pair .result-readout{min-height:28px;margin:6px 0 4px;padding-top:6px;font-size:11px;line-height:1.3}
.result-pair .result-note{font-size:10px;line-height:1.35;margin-top:5px}
.result-pair .diagnostic-subtitle{font-size:12px;margin:0 0 5px}
.result-pair .diagnostic-svg{height:164px;margin-top:5px}
.result-pair #motion-decodability .diagnostic-svg{margin-top:32px}
.result-pair .camera-legend{min-height:22px;gap:2px 10px}
.result-pair .camera-legend button{font-size:10px;padding-block:2px}
}
@media(min-width:801px){
.result-pair .diagnostic-chart .result-heading h4{min-height:0}
.result-pair .diagnostic-svg{height:240px;margin-top:0}
.result-pair #motion-decodability .diagnostic-svg{margin-top:27px}
.result-pair .diagnostic-svg text{font-size:14px}
}

/* Chapter transitions and the four-question roadmap. */
.reading-content > #method{padding-bottom:38px}
.reading-content > #experiments{border-top:1px solid #dfe4dc;padding-top:38px}
#spectral-guidance .method-insight:last-child{margin-bottom:0}
.experiments-section > .section-intro{margin-bottom:18px}
.experiment-questions{list-style:none;padding:0;margin:0;display:grid;gap:12px;font:18px/1.5 'Source Serif 4',Georgia,serif;color:#536158}
.experiment-questions a{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:baseline}
.experiment-questions span{font:11px ui-monospace,SFMono-Regular,Menlo,monospace;color:#39799f}
.experiment-questions a:hover{color:#246b9d}
#transfer-structure{padding-top:34px}
@media(max-width:800px){.experiment-questions{font-size:16px;gap:10px}.reading-content > #method{padding-bottom:28px}.reading-content > #experiments{padding-top:28px}}

/* Simulation tables share the paper's columns in a compact web layout. */
.simulation-tables{max-width:960px;margin:28px auto 38px;font-family:'Source Serif 4',Georgia,serif}
.simulation-table-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:18px}
.simulation-table-heading h4{font:600 26px/1.3 'Source Serif 4',Georgia,serif;margin:0}
.simulation-table-heading>span{font-size:12px;color:#75806e}
.simulation-table-grid{display:grid;grid-template-columns:1.35fr 1.05fr .8fr;gap:14px;align-items:start}
.simulation-table-panel{min-width:0;padding:14px 10px 10px;border:1px solid #d4d8cc;border-radius:5px;background:#efefe7;overflow-x:auto}
.simulation-table-panel table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}
.simulation-table-panel caption{text-align:left;font-size:20px;font-weight:600;color:var(--ink);padding:0 0 14px}
.simulation-table-panel caption a{float:right;font:13px 'Source Serif 4',Georgia,serif;color:#7d8977;margin-top:5px}
.simulation-table-panel th,.simulation-table-panel td{padding:9px 3px;text-align:right;white-space:nowrap;border-bottom:1px solid #dce0d4}
.simulation-table-panel th:first-child{text-align:left;font-weight:400}
.simulation-table-panel thead th{font-size:10px;font-weight:500;color:#697662;border-block:1px solid #acb7a4}
.simulation-table-panel tbody th{color:#53634d}
.simulation-table-panel tbody tr:hover{background:#e5e9df}
.simulation-table-panel tbody tr:last-child>*{border-bottom:0}
.simulation-table-panel .simulation-ours>*{color:#276e9a;background:#e0ebee;border-top:1px solid #b3cbd4}
.simulation-table-panel .simulation-ours th{font-weight:600}
.simulation-second{text-decoration:underline;text-underline-offset:3px}
.simulation-table-note{font:italic 12px/1.5 'Source Serif 4',Georgia,serif;color:#74806c;margin:12px 0 0}
@media(max-width:1200px){.simulation-table-grid{grid-template-columns:1fr}.simulation-table-panel{padding:16px}.simulation-table-panel table{font-size:13px}.simulation-table-panel thead th{font-size:12px}}
@media(max-width:520px){.simulation-table-heading{display:block}.simulation-table-heading h4{font-size:23px;margin-bottom:6px}.simulation-table-panel{padding:12px 8px}.simulation-table-panel table{font-size:10px}.simulation-table-panel thead th{font-size:9px}.simulation-table-panel th,.simulation-table-panel td{padding:8px 2px}}

/* Two metrics by two settings, with four grouped tasks visible together. */
.real-world-panel{max-width:960px;margin:28px auto 40px;padding:22px 22px 18px;border:1px solid #d4d8cc;border-radius:6px;background:#efefe7;font-family:'Source Serif 4',Georgia,serif}
.real-world-panel .result-heading{margin-bottom:12px}
.real-legend{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px 20px;font-size:12px;color:#64715d;margin-bottom:22px}
.real-legend span{display:flex;align-items:center;gap:6px}.real-legend i{height:9px;width:9px;border-radius:2px}
.real-scroll{overflow-x:auto;scrollbar-color:#bbc4b3 transparent;overscroll-behavior-x:contain;padding-top:3px}
.real-conditions{display:grid;grid-template-columns:1fr 1fr;gap:28px;min-width:820px}
.real-condition{min-width:0}.real-condition+ .real-condition{border-left:1px solid #d3d9ca;padding-left:24px}
.real-condition h5{font:500 20px/1.3 'Source Serif 4',Georgia,serif;text-align:center;margin:0 0 14px}
.real-metric{margin-top:12px}.real-metric>p{font:10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7a8671;margin:0 0 22px 24px}
.real-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;position:relative;height:130px;margin-left:24px}
.real-gridlines{position:absolute;inset:0;pointer-events:none}.real-gridlines>span{position:absolute;left:0;right:0;border-top:1px solid #d5dbce}.real-gridlines b{position:absolute;right:calc(100% + 5px);transform:translateY(-50%);font:8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#7c8972}
.real-task{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;position:relative;min-width:0}
.real-bar{padding:0;border:0;min-width:0;height:100%;display:flex;align-items:flex-end;background:none;cursor:pointer}
.real-fill{position:relative;display:block;width:100%;height:var(--real-height);background:var(--real-color);border-radius:2px 2px 0 0;transition:box-shadow .15s,filter .15s}
.real-value{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding-bottom:5px;font:8px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#64715b;white-space:nowrap;letter-spacing:-.6px}
.real-wing .real-value{color:#246e9b;font-weight:700}
.real-bar.is-selected .real-fill{box-shadow:0 0 0 2px #466f88;filter:brightness(.93)}
.real-bar:focus-visible{outline:2px solid #347eab;outline-offset:3px}
.real-task-names{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:10px 0 0 24px;font-size:12px;line-height:1.25;text-align:center;color:#53634b}
.real-detail{font-size:13px;line-height:1.5;min-height:20px;color:#356981;border-top:1px solid #d9ddcf;margin:18px 0 0;padding-top:12px}
.real-world-panel .result-note{font-size:12px}.real-mobile-hint{display:none}
@media(max-width:1100px){.real-mobile-hint{display:block;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7c8972;margin:12px 0 0}}
@media(max-width:700px){.real-world-panel{padding:18px 14px}.real-world-panel .result-heading{display:block}.real-world-panel .result-heading h4{font-size:23px;margin-bottom:8px}.real-legend{justify-content:flex-start;gap:10px 16px}.real-detail{min-height:40px}}

/* A narrower four-suite ablation gives the experiment section a lighter rhythm. */
.bandwidth-overview{width:90%;max-width:840px;margin:26px auto 40px}
.bandwidth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bandwidth-grid .result-chart{margin:0;padding:16px 18px;min-width:0}
.bandwidth-grid .result-heading{margin-bottom:0}
.bandwidth-grid .result-heading h4{font-size:20px;font-weight:500}
.bandwidth-grid .result-heading a,.bandwidth-grid .result-toolbar,.bandwidth-grid .result-view-label,.bandwidth-grid .result-note,.bandwidth-grid .result-swipe{display:none}
.bandwidth-grid .result-scroll{padding-top:28px;overflow:visible}
.bandwidth-grid .result-plot{height:176px;margin-top:0}
.bandwidth-grid .result-grid,.bandwidth-grid .result-column{height:140px}
.bandwidth-grid .result-number{font-size:11px}
.bandwidth-grid .result-name{font-size:12px;padding-top:8px}
.bandwidth-grid .result-readout{font-size:11px;line-height:1.4;min-height:40px;margin:8px 0 0;padding-top:9px}
.bandwidth-caption{font:italic 13px/1.5 'Source Serif 4',Georgia,serif;color:#73806a;margin:12px 0 0;text-align:center}
.bandwidth-caption strong{color:#276f9b}.bandwidth-caption a{text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media(max-width:700px){.bandwidth-overview{width:100%}.bandwidth-grid{gap:12px}.bandwidth-grid .result-chart{padding:14px 10px}.bandwidth-grid .result-name{font-size:10px}.bandwidth-grid .result-number{font-size:10px}}
@media(max-width:520px){.bandwidth-grid{grid-template-columns:1fr}.bandwidth-overview{width:94%}}

/* Four component combinations, read together rather than selected separately. */
.component-table-panel{width:94%;max-width:900px;margin:28px auto 40px;padding:22px;border:1px solid #d4d8cc;border-radius:6px;background:#efefe7;font-family:'Source Serif 4',Georgia,serif}
.component-table-panel .result-heading{margin-bottom:18px}
.component-table-panel .result-heading h4{font-size:23px;line-height:1.3}
.component-table-scroll{overflow-x:auto;scrollbar-color:#bbc4b3 transparent}
.component-table-panel table{width:100%;min-width:580px;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;text-align:center}
.component-table-caption{caption-side:top;text-align:left;color:#75816c;font-size:12px;padding-bottom:16px}
.component-table-panel th,.component-table-panel td{padding:12px 8px;border-bottom:1px solid #d9ded1;white-space:nowrap}
.component-table-panel thead tr:first-child th{font-size:16px;font-weight:500;color:#4c6049;border-top:1px solid #acb8a4}
.component-table-panel thead tr:last-child th{font-size:12px;font-weight:400;color:#6e7b65;border-bottom:1px solid #acb8a4}
.component-table-panel tr>:nth-child(3),.component-table-panel tr>:nth-child(7){border-left:1px solid #d9ded1}
.component-table-panel thead tr:first-child th+th{border-left:1px solid #d9ded1}
.component-table-panel tbody tr:hover{background:#e6eadd}
.component-table-panel tbody tr:last-child>*{border-bottom:0}
.component-table-panel .component-complete>*{background:#e0ebee;color:#276f9b;border-top:1px solid #b2cbd4}
.component-on{color:#38769a;font-size:16px}.component-off{color:#929b8a;font-size:15px}
.component-takeaway{font-size:15px;line-height:1.55;color:#68785e;margin:16px 0 0}.component-takeaway strong{color:#276f9b;font-weight:600}
@media(max-width:700px){.component-table-panel{width:100%;padding:18px 14px}.component-table-panel .result-heading{display:block}.component-table-panel .result-heading h4{font-size:21px;margin-bottom:8px}.component-table-panel table{font-size:12px}.component-table-panel th,.component-table-panel td{padding:10px 7px}.component-takeaway{font-size:13px}}

/* Shared method rows and aligned horizontal bars for the pretraining comparison. */
.pretraining-comparison{max-width:960px;margin:28px auto 40px;padding:24px;border:1px solid #d4d8cc;border-radius:6px;background:#efefe7;font-family:'Source Serif 4',Georgia,serif}
.pretraining-comparison .result-heading{margin-bottom:8px}
.pretraining-comparison .result-heading h4{font-size:25px}
.pretraining-subtitle{font-size:15px;line-height:1.5;color:#74816c;margin:0 0 24px}
.pretraining-scroll{overflow-x:auto;scrollbar-color:#bbc4b3 transparent}
.pretraining-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:710px}
.pretraining-table+.pretraining-table{margin-top:24px;border-top:1px solid #d3dacb}
.pretraining-table-caption{text-align:left;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.8px;color:#829078;padding-bottom:10px}
.pretraining-table th:first-child,.pretraining-table td:first-child{width:145px}
.pretraining-table thead th{text-align:left;font-weight:500;font-size:18px;line-height:1.3;padding:8px 10px 12px}
.pretraining-table thead th:first-child{font-size:11px;color:#7b8871;vertical-align:bottom}
.pretraining-table thead small{display:block;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#89947e;margin-top:3px}
.pretraining-table tbody th{text-align:right;font-size:14px;font-weight:400;padding:5px 14px 5px 0;color:#56694d;height:36px;line-height:1.2}
.pretraining-table tbody th small{display:block;font-size:10px;color:#8a957f;margin-top:2px}
.pretraining-table td{padding:0 10px}
.pretraining-bar{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:7px;align-items:center;width:100%;min-height:36px;border:0;padding:0;background:none;cursor:pointer;text-align:left}
.pretraining-track{height:36px;display:flex;align-items:center;border-inline:1px solid #cdd5c5;background:linear-gradient(to right,transparent calc(50% - .5px),#d6ddce calc(50% - .5px),#d6ddce calc(50% + .5px),transparent calc(50% + .5px))}
.pretraining-fill{display:block;height:11px;border-radius:0 2px 2px 0;background:#a6b09c;transition:box-shadow .15s,filter .15s}
.pretraining-value{font:11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#63765a}
.pretraining-ours .pretraining-fill{background:#347eab}.pretraining-variant .pretraining-fill{background:#89afc1}
.pretraining-ours th,.pretraining-ours .pretraining-value{color:#276e9a!important;font-weight:600!important}
.pretraining-group-start>*{border-top:10px solid #efefe7}
.pretraining-bar.is-selected .pretraining-fill{box-shadow:0 0 0 2px #476f8370;filter:brightness(.9)}
.pretraining-bar:focus-visible{outline:2px solid #347eab;outline-offset:3px}
.pretraining-axis{display:flex;justify-content:space-between;margin-right:39px;padding-top:7px;font:9px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8a957f}
.pretraining-readout{font-size:13px;line-height:1.5;color:#356981;margin:22px 0 0;padding-top:14px;border-top:1px solid #d8dece;min-height:35px}
.pretraining-comparison .result-note{font-size:12px}
@media(max-width:700px){.pretraining-comparison{padding:18px 14px}.pretraining-comparison .result-heading{display:block}.pretraining-comparison .result-heading h4{font-size:22px;margin-bottom:8px}.pretraining-subtitle{font-size:13px}}

/* Original qualitative frames, synchronized across four examples. */
.interaction-gallery{max-width:840px;margin:24px auto 0;padding:18px;background:#efefe7;border:1px solid #d4d8cc;border-radius:6px;font-family:'Source Serif 4',Georgia,serif}
.interaction-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.interaction-stages{display:flex;flex-wrap:wrap;gap:6px}
.interaction-controls button{font:13px/1.4 'Source Serif 4',Georgia,serif;padding:7px 10px;border:1px solid #cbd2c5;border-radius:4px;color:#536158;background:transparent;cursor:pointer}
.interaction-stages button[aria-pressed=true]{background:#e0ebee;border-color:#347eab;color:#276f9b}
.interaction-controls button:focus-visible{outline:2px solid #347eab;outline-offset:3px}
.interaction-play{white-space:nowrap}
.interaction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.interaction-example{margin:0;min-width:0}
.interaction-images{aspect-ratio:4/3;overflow:hidden;border-radius:3px;background:#d9ded3}
.interaction-images img{display:block;width:100%;height:100%;object-fit:contain}
.interaction-images img[hidden]{display:none}
.interaction-example figcaption{font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7c8972;margin-top:6px}
.interaction-caption{font-size:13px;line-height:1.55;color:#73806a;margin:16px 0 0;padding-top:14px;border-top:1px solid #d4d8cc}
.interaction-caption a{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.generalization-placeholder{max-width:960px;margin:auto;padding:24px;border:1px dashed #cbd2c5;border-radius:6px;color:#73806a;font:italic 17px/1.5 'Source Serif 4',Georgia,serif}
@media(max-width:700px){.interaction-controls{align-items:flex-start;flex-direction:column}.interaction-gallery{padding:12px}.interaction-grid{gap:10px}.interaction-controls button{font-size:12px;padding:6px 8px}}
@media(max-width:440px){.interaction-grid{grid-template-columns:1fr}}

/* A distinct blue wordmark and more legible cover credits. */
.hero-media::after{height:clamp(90px,15vh,170px);background:linear-gradient(to bottom,rgba(247,247,239,0) 0%,rgba(247,247,239,.06) 18%,rgba(247,247,239,.22) 40%,rgba(247,247,239,.5) 62%,rgba(247,247,239,.8) 82%,var(--paper) 100%)}
.hero-content .authors{font-size:clamp(18px,1.3vw,22px);gap:12px 24px;max-width:1250px}
.hero-content .affiliations{font-size:clamp(17px,1.15vw,20px);margin-top:22px;color:#fffffff0}
.hero-content .author-notes{font-size:15px;color:#ffffffe0;margin-top:14px}
@media(max-width:1100px){.hero-content .authors{font-size:18px;gap:10px 20px}.hero-content .affiliations{font-size:17px;color:var(--muted)}.hero-content .author-notes{font-size:14px;color:var(--muted)}}
@media(max-width:520px){.hero-content .authors{font-size:16px;gap:8px 16px}.hero-content .affiliations{font-size:16px}.hero-content .author-notes{font-size:13px}}

.hero-content .author-notes{color:#fff;text-shadow:0 1px 3px #0009}
.author-row-break{flex-basis:100%;height:0}
.hero-content .authors{row-gap:6px}
@media(max-width:1100px){.author-row-break{display:none}.hero-content .author-notes{background:#536158;padding:8px 12px;border-radius:4px;width:fit-content;text-shadow:none}}

@font-face{font-family:'WING Display';font-style:normal;font-weight:200 900;font-display:swap;src:url('https://mikuz12.github.io/wing/assets/fonts/source-serif-4-display.ttf') format('truetype')}
.hero-content h1{font-family:'WING Display','Source Serif 4',Georgia,serif;font-weight:500;letter-spacing:-.025em}
.hero-wing{font-family:inherit;font-weight:700;font-size:1.08em}
.hero-title-italic{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;letter-spacing:-.045em;color:#a8cde2}
.hero-content .tagline{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;letter-spacing:-.01em;color:#a8cde2}
.hero-content .authors,.hero-content .affiliations,.hero-content .author-notes{font-family:'Source Serif 4',Georgia,serif;font-optical-sizing:auto}
@media(min-width:1101px) and (max-width:1699px){.hero-content h1{font-size:clamp(36px,3.6vw,52px)}}
@media(min-width:1700px){.hero-content h1{font-size:62px}}
@media(min-width:1101px) and (max-height:800px){.hero-content h1{font-size:clamp(33px,3.25vw,48px)}}
@media(max-width:1100px){.hero-title-italic,.hero-content .tagline{color:#286e96}}

/* A gentle cue to continue reading. */
@keyframes scroll-arrow-float{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
.scroll-cue span{animation:scroll-arrow-float 2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.scroll-cue span{animation:none}}

.hero-content sup.corresponding-star{font-size:.95em;font-weight:700;line-height:0;margin-left:3px}

/* Task selector and original-resolution generalization videos. */
.generalization-gallery{max-width:960px;margin:24px auto 0;font-family:'Source Serif 4',Georgia,serif}
.gen-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 18px;border-bottom:1px solid #d4d8cc;margin-bottom:22px}
.gen-label{font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:1.2px;color:#7b877e;white-space:nowrap}
.gen-tasks{display:flex;flex-wrap:wrap;gap:5px;padding:5px;border:1px solid #d4d8cc;border-radius:22px;background:#efefe7}
.gen-tasks button{border:1px solid transparent;border-radius:18px;padding:8px 12px;font:14px/1.3 'Source Serif 4',Georgia,serif;background:none;color:#68756c;cursor:pointer}
.gen-tasks button[aria-pressed=true]{background:#e0ebee;border-color:#84aec3;color:#276f9b}
.gen-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;align-items:start}
.gen-previews{display:grid;grid-auto-rows:max-content;gap:14px;max-height:540px;overflow-y:auto;padding:2px;scrollbar-width:thin;scrollbar-color:#b7c5bd transparent}
.gen-preview{display:block;padding:0;text-align:left;background:#efefe7;border:2px solid transparent;border-radius:5px;overflow:hidden;cursor:pointer;color:#64726b;font-family:inherit}
.gen-preview[aria-pressed=true]{border-color:#347eab;color:#276f9b;background:#e5eef0}
.gen-preview:hover{border-color:#8cb2c5}
.gen-preview img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;display:block}
.gen-preview span{display:block;font-size:14px;line-height:1.4;padding:9px 10px}
.gen-main{min-width:0}.gen-video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#e4e7df;border:1px solid #d4d8cc;border-radius:5px}
.gen-description h4{font-size:23px;line-height:1.3;font-weight:600;margin:18px 0 6px}.gen-description p{font-size:17px;line-height:1.5;color:#64726b;margin:0}
.gen-error{font-size:14px;color:#64726b}.gen-error a{text-decoration:underline}
@media(max-width:800px){.gen-toolbar{align-items:flex-start;flex-direction:column}.gen-tasks{border-radius:8px}.gen-tasks button{font-size:13px}.gen-layout{grid-template-columns:140px minmax(0,1fr);gap:14px}.gen-previews{max-height:420px}.gen-preview span{font-size:12px;padding:7px}.gen-description h4{font-size:20px}}
@media(max-width:520px){.gen-layout{display:flex;flex-direction:column}.gen-previews{display:flex;max-height:none;overflow-x:auto;width:100%;gap:10px;padding-bottom:8px}.gen-preview{flex:0 0 128px}.gen-main{width:100%}.gen-tasks{gap:2px}.gen-tasks button{padding:7px 9px}.gen-description p{font-size:15px}}

.scroll-reveal{transition:opacity .6s cubic-bezier(.22,1,.36,1),translate .6s cubic-bezier(.22,1,.36,1)}
.scroll-reveal-pending{opacity:0;translate:0 14px;pointer-events:none}
@media(prefers-reduced-motion:reduce){.scroll-reveal{transition:none}.scroll-reveal-pending{opacity:1;translate:none;pointer-events:auto}}
@media print{.scroll-reveal-pending{opacity:1;translate:none;pointer-events:auto}}

/* Keep paragraph endings balanced as the reading column changes width. */
.reading-content p,.reading-content figcaption{text-wrap:pretty}

.keep-phrase{white-space:nowrap}