Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
316 lines (313 loc) · 24 KB
/
Copy pathstyles.css
File metadata and controls
316 lines (313 loc) · 24 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
:root {
--ink: #363636;
--body: #4a4a4a;
--blue: #267cb3;
--line: #e5e5e5;
--surface: #f5f5f5;
--sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: #fff; color: var(--body); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: #17527a; text-decoration: underline; }
button { cursor: pointer; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.25; }
h1 { font-size: 36px; letter-spacing: -1.2px; margin-bottom: 14px; }
h2 { font-size: 32px; letter-spacing: -.7px; margin-bottom: 24px; text-align: center; }
h3 { font-size: 20px; margin-bottom: 12px; }
p { margin-bottom: 18px; }
sup { font-size: .67em; line-height: 0; vertical-align: super; }
.page-shell { width: min(100% - 48px, 1024px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: #fff; transform: translateY(-160%); z-index: 10; }
.skip-link:focus { transform: none; }
/* The supplied logo files contain transparent padding; crop it in layout only. */
.institution-logos { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 20px 32px 0; }
.institution-logo { position: relative; display: block; overflow: hidden; flex: 0 0 auto; height: 56px; }
.logo-toronto { width: 138px; }
.logo-mcgill { width: 150px; }
.institution-logo img { position: absolute; top: 50%; left: 50%; width: 100%; max-width: none; height: auto; transform: translate(-50%, -50%); }
.hero { padding: 36px 0 48px; text-align: center; }
.hero-copy { max-width: 940px; margin: auto; }
.project-mark { width: 76px; height: auto; margin: 0 auto 20px; }
.paper-subtitle { font-size: 24px; line-height: 1.4; color: var(--ink); max-width: 900px; margin: 0 auto 26px; letter-spacing: -.45px; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 6px; font-size: 20px; line-height: 1.6; max-width: 800px; margin: 0 auto 8px; }
.authors > span { white-space: nowrap; }
.authors a { color: #2784ba; }
.authors sup { margin-left: 2px; }
.contribution { font-size: 14px; margin: 0 0 12px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 18px; max-width: 760px; margin: 0 auto 18px; }
.affiliations span { white-space: nowrap; }
.publication-status { font-size: 20px; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; min-height: 42px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 16px; line-height: 1.5; transition: background .15s; }
.button:hover { background: #202020; color: #fff; text-decoration: none; }
.button svg { width: 16px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button .resource-logo { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.button .arxiv-logo { width: 16px; height: 22px; filter: brightness(0) invert(1); }
.teaser { max-width: 920px; margin: 0 auto; }
.video-figure video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #fff; }
.video-figure figcaption { text-align: center; font-size: 14px; }
.tldr { max-width: 900px; margin: 22px auto 0; font-size: 20px; line-height: 1.6; text-align: center; }
.tldr strong { margin-right: 6px; color: var(--ink); }
.section { padding: 48px 0; }
.section-intro { max-width: 860px; margin: 0 auto 30px; text-align: justify; }
#overview { max-width: 860px; margin-inline: auto; padding-bottom: 20px; }
#overview .section-intro { margin-bottom: 0; }
figcaption { font-size: 15px; line-height: 1.65; margin-top: 14px; }
.figure-label { font-weight: 600; color: var(--ink); margin-right: 7px; }
.paper-figure { margin: 28px 0; }
.pdf-figure { width: 100%; }
.pdf-viewport { width: 100%; aspect-ratio: var(--pdf-ratio, 4 / 3); background: #fff; }
.pdf-document { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pdf-document canvas { display: block; width: 100%; height: 100%; }
.pdf-status { padding: 24px; text-align: center; font-size: 14px; }
.pdf-link { display: block; width: fit-content; margin: 8px 0 0 auto; font-size: 13px; }
.figure-portrait { max-width: 850px; margin-inline: auto; }
.radar-figure { max-width: 680px; margin: 42px auto; text-align: center; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 36px 0; }
.step-number { display: block; font-size: 14px; color: var(--blue); margin-bottom: 10px; }
.method-steps p { font-size: 15px; margin-bottom: 0; }
.figure-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.figure-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; list-style: none; cursor: pointer; font-weight: 500; color: var(--ink); }
.figure-details summary::-webkit-details-marker { display: none; }
.figure-details summary > span { font-size: 24px; font-weight: 400; transition: transform .15s; }
.figure-details[open] summary > span { transform: rotate(45deg); }
.figure-details > figure, .localizer-grid { margin: 16px 0 24px; }
.localizer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
/* Case explorer: thumbnails select a scene; one panel below holds the inputs and the comparison. */
.case-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 16px; }
.case-thumbs button { position: relative; display: block; padding: 0; border: 0; border-radius: 6px; background: none; line-height: 1.3; }
.case-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.case-thumbs button:hover img { outline-color: #ccc; }
.case-thumbs [aria-pressed="true"] img { outline-color: var(--ink); }
/* The scene's name sits over the bottom of its thumbnail when selected or hovered. */
.case-thumbs span { position: absolute; inset: auto 0 0; padding: 14px 6px 5px; border-radius: 0 0 6px 6px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); color: #fff; font-size: 11px; font-weight: 500; text-align: left; opacity: 0; transition: opacity .15s; pointer-events: none; }
.case-thumbs [aria-pressed="true"] span, .case-thumbs button:hover span { opacity: 1; }
.case-panel { --panel-h: 260px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
/* Top: the input image beside the question, budget, and baseline pickers. */
.case-setup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; padding: 22px 24px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; background: #fafafa; }
.case-input { width: min(320px, calc(240px * var(--aspect))); }
.case-controls { display: grid; gap: 20px; }
.case-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.case-field legend, .case-field-head label { display: block; padding: 0; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.case-bench { font-weight: 400; color: #888; }
.case-questions { display: grid; gap: 6px; }
.case-questions label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; line-height: 1.45; cursor: pointer; transition: border-color .15s; }
.case-questions label:hover { border-color: #bbb; }
.case-questions label:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.case-questions input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1.5px solid #aaa; border-radius: 50%; background: #fff; appearance: none; cursor: pointer; }
.case-questions input:checked { border: 5px solid var(--ink); }
.case-questions input:focus-visible { outline-offset: 2px; }
.case-expected { margin: 8px 0 0; font-size: 13px; }
/* Token budget: a stepped slider with the budgets labelled beneath. --f is the selected fraction. */
.case-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.case-field-head output { color: var(--ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.case-field-head small { margin-left: 8px; color: #888; font-size: 12px; font-weight: 400; }
.case-range { --f: 0; display: block; width: 100%; height: 22px; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.case-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(9px + (100% - 18px) * var(--f)) 100% no-repeat, #ddd; }
.case-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(9px + (100% - 18px) * var(--f)) 100% no-repeat, #ddd; }
.case-range::-webkit-slider-thumb { box-sizing: border-box; width: 18px; height: 18px; margin-top: -7px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 1px 3px rgb(0 0 0 / .25); -webkit-appearance: none; }
.case-range::-moz-range-thumb { box-sizing: border-box; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 1px 3px rgb(0 0 0 / .25); }
.case-range:focus-visible { outline: none; }
.case-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgb(38 124 179 / .4); }
.case-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgb(38 124 179 / .4); }
.case-ticks { position: relative; height: 20px; margin: 2px 9px 0; }
.case-ticks button { position: absolute; top: 0; padding: 0 2px; border: 0; background: none; color: #888; font-size: 12px; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.case-ticks button:hover { color: var(--ink); }
.case-ticks [aria-current="true"] { color: var(--ink); font-weight: 600; }
/* Baseline: a segmented control, one choice at a time. */
.case-segments { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 9px; background: #ececec; }
.case-segments label { position: relative; cursor: pointer; }
.case-segments input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.case-segments span { display: block; padding: 5px 14px; border-radius: 7px; color: var(--body); font-size: 14px; transition: background .15s, color .15s; }
.case-segments label:hover span { color: var(--ink); }
.case-segments input:checked + span { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.case-segments input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
/* Bottom: one row per method, columns in pipeline order. */
.case-table { padding: 4px 24px 8px; }
.case-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 2fr) 150px; gap: 20px; align-items: center; padding: 18px 0; }
.case-row + .case-row { border-top: 1px solid var(--line); }
.case-row-head { padding: 14px 0 0; align-items: end; color: #888; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.case-row-head + .case-row { border-top: 0; }
.case-method strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.case-row.is-ours .case-method strong { color: var(--blue); }
.case-stage { min-width: 0; }
.case-stage-label { display: none; }
.case-shots { display: flex; gap: 6px; }
.case-shots .frame { width: min(100%, calc(var(--panel-h) * var(--aspect))); margin: 0; }
/* A single panel inside the LLM matches the size of the panel before it. */
.case-shots > .shot:only-child { width: 50%; }
.case-row > .case-stage:nth-child(2) .shot:only-child { width: 100%; }
.is-strip .shot { flex: 0 0 calc((100% - (var(--slots) - 1) * 6px) / var(--slots)); min-width: 0; max-width: calc(var(--panel-h) * var(--aspect)); }
.is-strip .frame { width: 100%; }
.shot figcaption { margin-top: 6px; color: var(--body); font-size: 12px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.is-strip figcaption { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-none { margin: 0; color: #888; font-size: 13px; line-height: 1.5; }
.case-answer .answer { font-size: 14px; }
.frame { position: relative; width: 100%; aspect-ratio: var(--aspect); }
.frame img { width: 100%; height: 100%; object-fit: contain; }
.box { position: absolute; pointer-events: none; }
.box-gt { border: 2px dashed #fff; outline: 1px solid rgb(0 0 0 / .5); }
.box-pred { border: 2px solid #e8336d; }
.answer { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.answer.is-ok { color: #1f7a3d; }
.answer.is-bad { color: #c0362c; }
.case-noscript { text-align: center; font-size: 15px; }
/* Varest budget sweep: its own subsection under the comparison, with one scene at a time across every budget. */
.sweep { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.sweep h3 { margin-bottom: 10px; }
.sweep-intro { max-width: 860px; margin-bottom: 22px; font-size: 15px; }
.sweep-thumbs { margin-bottom: 16px; }
.sweep-panel { padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.sweep-field { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.sweep-field legend, .sweep-field-head label { display: block; padding: 0; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.sweep-bench { color: #888; font-weight: 400; }
.sweep-questions { display: flex; flex-wrap: wrap; gap: 6px; }
.sweep-questions label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; line-height: 1.45; cursor: pointer; transition: border-color .15s; }
.sweep-questions label:hover { border-color: #bbb; }
.sweep-questions label:has(input:checked) { border-color: var(--ink); color: var(--ink); }
.sweep-questions input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1.5px solid #aaa; border-radius: 50%; background: #fff; appearance: none; cursor: pointer; }
.sweep-questions input:checked { border: 5px solid var(--ink); }
.sweep-questions input:focus-visible { outline-offset: 2px; }
/* Input, the tokenization before the LLM, and the tokens [REL] keeps: three equal columns. */
.sweep-view { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sweep-shot .frame { width: min(100%, calc(340px * var(--aspect))); margin: 0 auto; }
/* Two stacked images per panel: the incoming one fades in on top of the outgoing one. */
.sweep-shot .frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.sweep-shot .frame img.is-shown { opacity: 1; }
.sweep-shot .frame img.is-front { z-index: 1; }
.sweep-shot .box { z-index: 2; }
.sweep-shot figcaption { margin-top: 8px; color: var(--body); font-size: 13px; line-height: 1.4; text-align: center; font-variant-numeric: tabular-nums; }
.sweep-result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; margin: 18px 0 20px; }
.sweep-answer { font-size: 18px; }
.sweep-expected { margin: 0; font-size: 13px; }
/* Budget: play button beside a stepped slider; marks above the stops show right or wrong at each budget. --f is the selected fraction. */
.sweep-budget { display: flex; align-items: flex-end; gap: 18px; }
.sweep-play { flex: none; display: inline-flex; align-items: center; gap: 6px; min-width: 92px; margin-bottom: 26px; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }
.sweep-play:hover { background: #202020; }
.sweep-play span { font-size: 10px; }
.sweep-track { flex: 1; min-width: 0; }
.sweep-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sweep-field-head output { color: var(--ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sweep-field-head small { margin-left: 8px; color: #888; font-size: 12px; font-weight: 400; }
.sweep-marks { position: relative; height: 10px; margin: 0 9px 4px; }
.sweep-marks i { position: absolute; top: 1px; width: 8px; height: 8px; border-radius: 50%; transform: translateX(-50%); }
.sweep-marks .is-ok { background: #1f7a3d; }
.sweep-marks .is-bad { background: #c0362c; }
.sweep-marks .is-current { top: 0; width: 10px; height: 10px; box-shadow: 0 0 0 2px #fafafa, 0 0 0 3px var(--ink); }
.sweep-range { --f: 0; display: block; width: 100%; height: 22px; margin: 0; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sweep-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(9px + (100% - 18px) * var(--f)) 100% no-repeat, #ddd; }
.sweep-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / calc(9px + (100% - 18px) * var(--f)) 100% no-repeat, #ddd; }
.sweep-range::-webkit-slider-thumb { box-sizing: border-box; width: 18px; height: 18px; margin-top: -7px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 1px 3px rgb(0 0 0 / .25); -webkit-appearance: none; }
.sweep-range::-moz-range-thumb { box-sizing: border-box; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 1px 3px rgb(0 0 0 / .25); }
.sweep-range:focus-visible { outline: none; }
.sweep-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgb(38 124 179 / .4); }
.sweep-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgb(38 124 179 / .4); }
.sweep-ticks { position: relative; height: 20px; margin: 2px 9px 0; }
.sweep-ticks button { position: absolute; top: 0; padding: 0 1px; border: 0; background: none; color: #888; font-size: 11px; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.sweep-ticks button:hover { color: var(--ink); }
.sweep-ticks [aria-current="true"] { color: var(--ink); font-weight: 600; }
.sweep-legend { margin: 16px 0 0; color: #888; font-size: 12px; }
.findings { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; text-align: center; margin: 0 0 30px; padding: 22px 0; }
.findings strong { display: block; color: var(--ink); font-weight: 600; font-size: 28px; line-height: 1.3; }
.findings strong span { font-size: 16px; font-weight: 400; }
.findings p { font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 32px; }
.table-heading span { font-size: 13px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
caption { text-align: left; padding-bottom: 12px; font-size: 14px; }
th, td { padding: 13px 14px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
th:first-child { text-align: left; }
thead th { background: var(--surface); font-weight: 600; }
.table-note { font-size: 13px; margin: 14px 0 0; }
.result-callout { margin: 28px 0; padding: 20px 24px; background: var(--surface); display: flex; align-items: flex-start; gap: 18px; }
.result-callout p { margin: 0; }
.callout-mark { font-size: 25px; color: var(--blue); }
.discussion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.citation-section { max-width: 960px; margin-inline: auto; }
.citation-heading { position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; }
.citation-heading h2 { margin: 0; }
.copy-button { position: absolute; right: 0; padding: 6px 16px; min-height: 36px; font-size: 13px; }
pre { padding: 24px; background: var(--surface); overflow-x: auto; margin: 0; font: 13px/1.65 var(--mono); tab-size: 2; }
.copy-status { font-size: 14px; min-height: 24px; margin: 8px 0 0; }
.acknowledgements { max-width: 860px; margin: 0 auto; padding: 24px 0 48px; text-align: center; }
.acknowledgements h2 { font-size: 24px; }
.acknowledgements p { font-size: 15px; }
.site-footer { background: #fafafa; padding: 36px 0; text-align: center; font-size: 14px; }
.site-footer p { margin: 10px 0 0; }
.wordmark { color: var(--ink); font-weight: 600; font-size: 18px; }
@media (max-width: 760px) {
.institution-logos { padding: 16px 24px 0; gap: 16px; }
.institution-logo { height: 48px; }
.logo-toronto { width: 118px; }
.logo-mcgill { width: 128px; }
.hero { padding-top: 32px; padding-bottom: 36px; }
h1 { font-size: 32px; }
.paper-subtitle { font-size: 21px; }
.authors { font-size: 18px; column-gap: 18px; }
.affiliations { font-size: 16px; column-gap: 18px; }
.section { padding: 36px 0; }
.method-steps { grid-template-columns: 1fr; gap: 24px; }
.method-steps h3 { margin-bottom: 8px; }
.localizer-grid, .discussion-grid { grid-template-columns: 1fr; gap: 24px; }
.findings { grid-template-columns: 1fr; gap: 24px; }
.case-thumbs { grid-template-columns: repeat(4, 1fr); }
.case-panel { --panel-h: 220px; }
.case-setup { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
.case-input { width: min(100%, calc(220px * var(--aspect))); }
.case-table { padding: 0 16px 4px; }
/* Rows become cards: name and answer on top, the stages beneath with their own labels. */
.case-row-head { display: none; }
.case-segments { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.case-segments span { text-align: center; }
.case-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "method answer" "before inside"; gap: 10px 12px; align-items: start; padding: 16px 0; }
.case-row.has-strip { grid-template-areas: "method answer" "before before" "inside inside"; }
.case-method { grid-area: method; }
.case-answer { grid-area: answer; text-align: right; }
.case-row > .case-stage:nth-child(2) { grid-area: before; }
.case-row > .case-stage:nth-child(3) { grid-area: inside; }
.case-stage-label { display: block; margin: 0 0 6px; color: #888; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.case-shots > .shot:only-child { width: 100%; }
.sweep { margin-top: 40px; padding-top: 32px; }
.sweep-panel { padding: 16px; }
.sweep-questions { display: grid; }
/* The three panels stay side by side but smaller; captions shorten by wrapping. */
.sweep-view { gap: 8px; }
.sweep-shot figcaption { font-size: 11px; }
.sweep-budget { display: block; }
.sweep-play { margin: 0 0 14px; }
.sweep-ticks .is-minor { display: none; }
.table-heading { display: block; }
.table-heading h3 { margin-bottom: 6px; }
.table-heading span { display: block; margin-bottom: 12px; }
}
@media (max-width: 480px) {
.page-shell { width: calc(100% - 36px); }
.institution-logos { padding-right: 18px; }
h1 { font-size: 29px; letter-spacing: -.8px; }
h2 { font-size: 28px; }
.paper-subtitle { font-size: 19px; }
.authors { font-size: 16px; gap: 7px 14px; }
.contribution { font-size: 12px; }
.affiliations { font-size: 14px; gap: 6px 14px; }
.publication-status { font-size: 18px; }
.tldr { font-size: 18px; text-align: left; }
.section-intro { text-align: left; }
.citation-heading { justify-content: space-between; gap: 16px; }
.copy-button { position: static; }
.result-callout { padding: 18px; }
pre { padding: 18px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
* { transition: none !important; }
}