File size: 37,448 Bytes
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
e6e0e94
 
 
9e1507e
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
 
 
 
 
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
 
 
 
 
 
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
e6e0e94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e1507e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root {
  --paper: #efeee6;
  --ink: #203833;
  --muted: #61736c;
  --line: #c8cfc4;
  --accent: #276e74;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); }
body[data-theme="sea"] {
  --paper: #09181f;
  --ink: #f0eddf;
  --muted: #a0b3b1;
  --line: #31434a;
  --accent: #9ce5dc;
  color-scheme: dark;
}
body[data-theme="orbital"] { --accent: #6757a6; }
body[data-theme="woodland"] { --accent: #457547; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .5; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection { background: #8fcfc1; color: #0c232b; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 20; padding: 1rem; background: var(--paper); }
.skip:focus { top: 1rem; }
.masthead { max-width: 1480px; margin: auto; padding: 26px 4.5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 1rem; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: 11px; line-height: 1.15; letter-spacing: .03em; }
.brand-mark { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.brand-name { font-size: 17px; letter-spacing: .02em; }
.brand-name small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); letter-spacing: .03em; }
.edition { font: 10px var(--mono); color: var(--muted); letter-spacing: .04em; }
.edition span { margin: 0 15px; color: var(--accent); }
.quiet-link { font-size: 12px; text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: 24px; }
.quiet-link span { font-size: 20px; }
main { max-width: 1480px; margin: auto; padding: 0 4.5%; }
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7%; padding: 70px 0 58px; align-items: end; }
.eyebrow { text-transform: uppercase; font: 10px/1.6 var(--mono); letter-spacing: .10em; color: var(--muted); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
h1 { font-weight: 400; font-size: clamp(64px, 7.5vw, 110px); letter-spacing: -.065em; line-height: .96; margin: 23px 0 27px; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: normal; letter-spacing: -.055em; color: var(--accent); }
.lede { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 380px; margin: 0; }
.theme-selector { max-width: 410px; width: 100%; margin-left: auto; padding-bottom: 3px; }
.theme-selector > .eyebrow { margin: 0 0 18px; }
.theme-options { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.theme-options button { border: 0; background: transparent; display: grid; grid-template-columns: 30px 1fr 20px; gap: 12px; text-align: left; align-items: center; padding: 17px 8px 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; min-height: 72px; transition: padding .2s, color .2s; }
.theme-options button[aria-pressed="true"] { padding-left: 10px; color: var(--accent); }
.theme-number { font: 10px var(--mono); color: var(--muted); }
.theme-options small { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.theme-options button > span:last-child { color: var(--accent); font-size: 19px; }
.world-section { margin: 0 0 64px; }
.world-bar { display: flex; justify-content: space-between; align-items: end; padding: 0 0 19px; gap: 20px; }
.world-bar h2 { font-family: Georgia, serif; font-size: 28px; letter-spacing: -.02em; font-weight: 400; margin: 7px 0 0; }
.world-tag { font: 9px/1.8 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; max-width: 180px; text-align: right; }
.passage-entry { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 44px; padding: 11px 16px; color: var(--ink); background: transparent; border: 1px solid var(--line); font-size: 12px; }
.passage-entry:hover { color: var(--accent); border-color: var(--accent); }
.inspection-launch { display: grid; gap: 8px; max-width: 420px; min-width: 260px; }
.inspection-launch label { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.inspection-launch select { min-height: 44px; max-width: 100%; padding: 8px 12px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font-size: 12px; }
#inspection-hint { margin: 0; max-width: 36ch; font-size: 11px; line-height: 1.5; color: var(--muted); }
.passage-key-hint { margin: 8px 0 0; font: 10px/1.5 var(--mono); color: var(--muted); }
.world-slot { height: clamp(430px, 50vw, 660px); }
.world-frame { height: 100%; position: relative; background: #12333e; isolation: isolate; overflow: hidden; border: 1px solid #536865; }
body[data-theme="sea"] .world-frame { border-color: #5b716c; }
.world { position: absolute; inset: 0; outline: 0; }
.world:focus-visible { outline: 2px solid #f1efcf; outline-offset: -7px; }
.world canvas { display: block; width: 100%; height: 100%; }
.world-label { position: absolute; transform: translate(-50%, -50%); border: 1px solid rgba(227,239,226,.5); background: rgba(9,30,38,.78); backdrop-filter: blur(8px); color: #f4f0e1; min-height: 38px; padding: 8px 12px; border-radius: 1px; font-size: 10px; letter-spacing: .03em; white-space: nowrap; transition: background .2s, border-color .2s; z-index: 2; }
.world-label:hover, .world-label.is-active { background: #eeeade; color: #15343b; border-color: #eeeade; }
.world-label:focus-visible { outline-color: #f1f0e9; }
.world-caption { position: absolute; bottom: 20px; left: 24px; max-width: 48%; font-size: 11px; line-height: 1.6; color: #d5e7de; display: flex; align-items: center; gap: 14px; pointer-events: none; }
.mini-compass { font-family: Georgia, serif; font-size: 17px; white-space: nowrap; border-right: 1px solid #c6d4d34d; padding-right: 15px; }
.world-controls { position: absolute; bottom: 22px; right: 24px; display: flex; gap: 8px; z-index: 3; }
.world-controls button { border: 1px solid #dbe2d164; background: #102c35df; backdrop-filter: blur(8px); color: #f1eddf; padding: 11px 14px; min-height: 44px; font-size: 11px; display: flex; gap: 22px; align-items: center; }
.world-controls button:hover { background: #264a51; }
.world-controls button:focus-visible { outline-color: #f1f0e9; }
.sea-instruments { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.instrument-label { margin: 0; display: grid; gap: 5px; font-size: 13px; }
.instrument-label .eyebrow { font-size: 9px; color: #b6ae92; }
.instrument-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.instrument-actions button { min-height: 44px; padding: 11px 16px; border: 1px solid #59666a; background: transparent; font-size: 11px; white-space: nowrap; }
.instrument-actions button:hover { border-color: var(--accent); }
.instrument-actions button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.field-settings { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); align-items: center; }
.field-description .eyebrow { color: var(--accent); margin: 0 0 7px; font-size: 9px; }
.field-description > p:last-child { color: var(--muted); font-size: 11px; line-height: 1.8; max-width: 440px; margin: 0; }
.field-slider label { font-size: 11px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.field-slider output { font: 10px var(--mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.field-slider input { display: block; width: 100%; margin: 8px 0 0; min-height: 32px; accent-color: #9ce5dc; cursor: pointer; }
.slider-ends { display: flex; justify-content: space-between; color: var(--muted); font: 9px var(--mono); }
.world-instructions { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 12px 0 0; }
.world-maintenance { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; padding-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.world-maintenance p { margin: 0; }
.world-maintenance code { color: var(--ink); font-size: 10px; }
.world-maintenance .text-button { padding: 10px; }
#world-settings-status { flex-basis: 100%; }
.world.is-unavailable::before { content: "A place for your world."; position: absolute; inset: 0; display: grid; place-items: center; font-family: Georgia, serif; font-size: 36px; color: #eee8d0; background: #13353f; }

/* Scene-first staging: the readable portfolio remains directly below it. */
.masthead { padding-top: 18px; padding-bottom: 18px; }
main { max-width: none; padding: 0; }
.world-section { margin: 0 0 0; }
.world-slot { height: clamp(520px, 82svh, 1000px); }
.world-frame { border: 0; height: 100%; }
.world-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #060e1b70, transparent 24%, transparent 66%, #060e1baf); z-index: 1; }
.scene-heading { position: absolute; left: 5%; top: 30px; z-index: 2; color: #f2f0e9; pointer-events: none; }
.scene-heading .eyebrow { color: #b4c6df; font-size: 9px; margin: 0 0 9px; }
.scene-heading h1 { font-size: clamp(26px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.035em; margin: 0; font-family: Georgia, serif; }
.scene-heading > p:last-child { font-size: 11px; color: #b4c6df; margin: 12px 0 0; }
body[data-scene-view="atlas"] .scene-heading { display: none; }
.world-controls { top: 26px; bottom: auto; right: 5%; z-index: 3; }
.world-controls button { background: #07121da8; border-color: #b7cfed45; }
.world-caption { display: none; }
.voyage-hud { position: absolute; left: 5%; right: 5%; bottom: 30px; display: flex; align-items: end; justify-content: space-between; gap: 30px; z-index: 3; color: #f5f1e7; pointer-events: none; }
.voyage-hud[hidden] { display: none; }
.voyage-destination, .voyage-input { pointer-events: auto; }
.voyage-destination .eyebrow { color: #b6cbd9; font-size: 9px; margin: 0 0 8px; }
.voyage-destination h2 { font-family: Georgia, serif; font-size: clamp(27px, 3vw, 40px); font-weight: 400; margin: 0; letter-spacing: -.02em; }
#voyage-state { margin: 8px 0 14px; color: #c0d6dd; font: 10px var(--mono); }
#read-destination { min-height: 44px; border: 1px solid #acc9d76b; background: #0b1d29b3; color: #f5f1e7; padding: 11px 16px; font-size: 11px; }
#read-destination span { margin-left: 18px; color: #a9e4df; }
.voyage-input > p { font: 10px/1.8 var(--mono); color: #c1d5dd; margin: 0 0 12px; }
.sail-buttons { display: flex; gap: 8px; }
.sail-buttons button { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 48px; min-width: 110px; border: 1px solid #a4c3d266; color: #f5f1e7; background: #0b1d29b3; padding: 10px 16px; font-size: 15px; touch-action: none; user-select: none; }
.sail-buttons span { font-size: 10px; }
.sail-buttons button.is-held { background: #193d4bc9; border-color: #c3f0e8; }
.world-bar, .sea-instruments, .world-instructions, .world-maintenance { margin-left: 5%; margin-right: 5%; }
.world-bar { padding-top: 25px; }
.intro { margin: 0 5%; padding: 55px 0 45px; }
.intro h1 { font-size: clamp(40px, 4.7vw, 68px); }
.content-section { margin: 0 5%; }
body[data-inspection="true"] .scene-heading, body[data-inspection="true"] .voyage-hud, body[data-inspection="true"] .world-frame::after { display: none; }
.content-section { border-top: 1px solid var(--line); padding: 38px 0 72px; scroll-margin-top: 32px; }
body[data-theme="sea"] .content-section {
  --paper: #eeeade;
  --ink: #203833;
  --muted: #526b64;
  --line: #c3cabc;
  --accent: #21686d;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  padding: 42px 42px 64px;
  border-top: 3px solid #b6ae92;
}
.content-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 35px; }
.content-heading h2 { font-family: Georgia, serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; margin: 15px 0 0; }
.content-note { color: var(--muted); font-size: 11px; line-height: 1.8; max-width: 260px; }
.content-note code { font-size: 11px; color: var(--ink); }
.content-grid { display: grid; grid-template-columns: 230px 1fr; gap: 56px; }
.destinations { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.destinations a { display: grid; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 12px; padding: 20px 10px 20px 0; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 14px; text-decoration: none; }
.destinations a > span { font-size: 10px; color: var(--muted); }
.destinations a > span:last-child { text-align: right; font-size: 18px; }
.destinations a[aria-current] { color: var(--accent); font-weight: 650; }
.reader { min-width: 0; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.text-button { background: none; border: 0; font-size: 10px; color: var(--muted); padding: 10px 0; min-height: 44px; }
.entry { padding: 22px 0 30px; max-width: 720px; }
.entry + .entry { border-top: 1px solid var(--line); }
.entry-meta { font: 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.entry h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 450; letter-spacing: -.045em; margin: 16px 0; }
.entry-summary { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 620px; }
.entry-details { font-size: 12px; line-height: 1.9; margin-top: 22px; }
.entry-details summary { cursor: pointer; width: fit-content; min-height: 44px; display: list-item; padding: 12px 0; }
.entry-details p { color: var(--muted); }
.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.entry-tags span { font-size: 9px; padding: 7px 10px; background: #dfe4d7; border-radius: 1px; color: #30483d; }
.entry-link { display: inline-flex; min-height: 44px; align-items: center; margin: 12px 20px 0 0; font-size: 12px; text-underline-offset: 4px; }
.entry-inspect { display: block; min-height: 44px; border: 1px solid var(--line); background: transparent; padding: 11px 15px; margin: 8px 0 18px; font-size: 12px; color: var(--accent); }
.content-status { font-size: 10px; color: var(--muted); line-height: 1.8; }
.empty { padding: 35px 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.noscript-note { font-size: 14px; line-height: 1.8; padding: 20px; border: 1px solid var(--line); }
.identity { margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.identity h3 { font-family: Georgia, serif; font-size: 20px; font-weight: 400; line-height: 1.3; margin: 12px 0; }
.identity > p:last-child { font-size: 11px; line-height: 1.8; color: var(--muted); }
.reader-dialog {
  --paper: #eeeade;
  --ink: #203833;
  --muted: #526b64;
  --line: #c3cabc;
  --accent: #21686d;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 24px 32px;
  overflow: auto;
  box-shadow: 0 24px 90px #0007;
}
.reader-dialog::backdrop { background: #07191db8; }
.reader-dialog .reader-toolbar { position: sticky; top: -24px; background: inherit; padding: 10px 0 14px; z-index: 1; }
.dialog-close { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 12px; }
.dialog-close span { font-size: 20px; line-height: 1; }
.dialog-index-note { font-size: 11px; line-height: 1.8; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
body[data-panel="glass"] .reader { padding: 18px 24px; border: 1px solid var(--line); background: #ffffff42; backdrop-filter: blur(18px); }
body[data-panel="glass"] .reader-dialog {
  --paper: #102930d9;
  --ink: #f0f4e9;
  --muted: #b6ccc8;
  --line: #88aaa47a;
  --accent: #b5f0dd;
  color-scheme: dark;
  background: var(--paper);
  border-color: var(--line);
  backdrop-filter: blur(22px);
  box-shadow: inset 0 1px #d4f8ee3d, 0 24px 90px #0008;
}
body[data-panel="glass"] .reader-dialog::backdrop { background: #04151a66; }
body[data-panel="glass"] .reader-dialog .reader-toolbar { background: #102930f5; }
body[data-panel="glass"] .reader-dialog .entry-tags span { background: #abcac82b; color: #dbeee4; border: 1px solid #a9cac63d; }
body[data-panel="glass"] .world-label { background: #102e3899; backdrop-filter: blur(14px); box-shadow: inset 0 1px #ffffff22; }
body[data-panel="glass"] .world-label:hover, body[data-panel="glass"] .world-label.is-active { background: #eeeadee8; }
body[data-panel="glass"] .world-controls button { background: #102e3899; backdrop-filter: blur(14px); box-shadow: inset 0 1px #ffffff22; }
body[data-button-shape="pill"] button { border-radius: 999px; }
body[data-button-shape="pill"] .theme-options button { padding-right: 14px; }
footer { max-width: 1480px; margin: auto; padding: 27px 4.5%; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 10px; color: var(--muted); }
footer span { margin: 0 8px; }
footer div { display: flex; gap: 20px; }
footer a { text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 850px) {
  .intro { gap: 5%; padding-top: 48px; }
  .content-grid { grid-template-columns: 175px 1fr; gap: 30px; }
  .world-caption { max-width: 38%; }
  .world-controls button { padding: 10px; gap: 8px; }
  .edition { display: none; }
  body[data-theme="sea"] .content-section { padding: 32px 26px 48px; }
}
@media (max-width: 600px) {
  .masthead { padding: 20px 6%; }
  main { padding: 0 6%; }
  .intro { grid-template-columns: 1fr; padding: 42px 0 32px; gap: 29px; }
  h1 { font-size: clamp(55px, 16vw, 82px); margin-top: 20px; }
  .intro-copy > .eyebrow { font-size: 8px; letter-spacing: .06em; }
  .lede { font-size: 13px; max-width: 310px; }
  .theme-selector { max-width: none; }
  .theme-selector > .eyebrow { margin-bottom: 11px; }
  .theme-options button { padding: 12px 8px 12px 0; min-height: 64px; font-size: 13px; }
  .theme-options button[aria-pressed="true"] { padding-left: 8px; }
  .world-bar { align-items: start; gap: 12px; }
  .world-tag { max-width: 87px; font-size: 7px; }
  .world-bar h2 { font-size: 23px; }
  .world-frame { height: 430px; }
  .world-controls { bottom: 16px; left: 14px; right: 14px; justify-content: space-between; }
  .world-controls button { font-size: 10px; padding: 10px; }
  .world-caption { top: 16px; bottom: auto; left: 16px; max-width: 85%; font-size: 9px; }
  .world-label { font-size: 8px; min-height: 32px; padding: 6px 8px; }
  .world-section { margin-bottom: 40px; }
  .sea-instruments { grid-template-columns: 1fr; row-gap: 15px; padding: 19px 0; }
  .instrument-label { font-size: 12px; gap: 4px; }
  .instrument-actions { gap: 8px; }
  .instrument-actions button { flex: 1; padding: 11px 9px; font-size: 10px; }
  .field-settings { grid-template-columns: 1fr; gap: 18px; margin-top: 2px; padding-top: 17px; }
  .field-description > p:last-child { font-size: 11px; }
  .world-instructions { font-size: 9px; }
  .content-section { padding-top: 26px; }
  body[data-theme="sea"] .content-section { padding: 27px 18px 35px; }
  .content-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 25px; }
  .content-heading h2 { font-size: 29px; }
  .content-note { font-size: 10px; }
  .content-grid { grid-template-columns: 1fr; gap: 24px; }
  .destinations { display: flex; flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 0 15px; }
  .destinations a { display: flex; gap: 8px; font-size: 11px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .destinations a > span:first-child { display: none; }
  .destinations a > span:last-child { font-size: 12px; }
  .entry h3 { font-size: 28px; }
  .entry-summary { font-size: 13px; }
  .reader-toolbar { gap: 10px; }
  .reader-toolbar .eyebrow { font-size: 9px; }
  body[data-panel="glass"] .reader { padding: 14px; }
  .reader-dialog { padding: 18px; max-height: calc(100dvh - 32px); }
  .reader-dialog .reader-toolbar { top: -18px; }
  .identity { display: none; }
  footer { align-items: start; flex-direction: column; padding: 24px 6%; gap: 5px; }
  footer div { gap: 17px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.world-label.is-edge { border-style: dashed; }
.world-label.is-edge::before { content: attr(data-bearing); margin-right: 5px; }

/* An optional play session takes over the viewport; reading is one action away. */
.play-entry { position: absolute; z-index: 4; left: 5%; bottom: 13%; width: min(510px, 86%); padding: 28px 30px 22px; border-left: 1px solid #d6cba08c; background: linear-gradient(110deg, #07141cf5, #07141cbb 74%, #07141c45); color: #f1ede1; }
.play-entry .eyebrow { color: #d8c797; font: 9px var(--mono); letter-spacing: .13em; }
.play-entry h2 { font: 400 clamp(34px, 4vw, 56px)/1.05 Georgia, serif; letter-spacing: -.035em; max-width: 450px; margin: 20px 0; }
.play-entry > p:not(.eyebrow) { max-width: 360px; color: #c2d2d4; font-size: 13px; line-height: 1.8; }
.play-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }
.play-entry-actions button { min-height: 48px; font-size: 12px; }
#play-enter { border: 1px solid #f1ddb3; background: #e9d7af; color: #102429; padding: 12px 20px; }
#play-enter span { margin-left: 25px; }
#play-browse { border: 0; background: transparent; color: #e0e6dc; padding: 12px 0; }
.play-entry > .play-entry-note { font: 9px/1.8 var(--mono); color: #8da7af; margin: 20px 0 0; }
body:not([data-playing="true"]) #explore { display: none; }
body:not([data-playing="true"]) .voyage-hud { display: none; }
body[data-playing="true"] { overflow: hidden; }
body[data-playing="true"] .world-frame { position: fixed; inset: 0; width: 100%; height: 100dvh; z-index: 30; color-scheme: dark; }
body[data-playing="true"] .scene-heading,
body[data-playing="true"] .world-controls,
body[data-playing="true"] .voyage-hud { display: none; }
.play-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: #f3f0e5; }
.play-journal { position: absolute; top: 32px; left: 4%; width: min(300px, 38%); }
.play-journal .eyebrow { color: #d2c8a6; font: 9px var(--mono); margin: 0 0 10px; letter-spacing: .1em; }
.play-progress { font: 400 27px Georgia, serif; letter-spacing: -.02em; margin: 0 0 18px; }
#play-chart { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
#play-chart li { font: 8px var(--mono); color: #abc1ca; padding: 6px 8px; border: 1px solid #8eafb14a; background: #06141bb3; }
#play-chart li::before { content: '·'; display: inline-block; margin-right: 6px; }
#play-chart li.is-charted { color: #edcd91; border-color: #d2b47885; }
#play-chart li.is-charted::before { content: '✓'; }
#play-chart li.is-near { border-color: #bbded9; box-shadow: inset 0 -1px #bbded9; }
.play-journal-hint { color: #aebdc5; font: 10px/1.7 var(--mono); max-width: 230px; }
.play-menu { pointer-events: auto; position: absolute; top: 28px; right: 4%; display: flex; gap: 8px; }
.play-menu button { color: #dae4df; background: #07141dbc; border: 1px solid #a7c3c247; min-height: 44px; padding: 10px 13px; font-size: 10px; }
.play-menu button:hover, .play-direct-read:hover { background: #17343ecf; }
.play-action { position: absolute; bottom: 34px; left: 4%; width: min(390px, 48%); pointer-events: auto; }
.play-action > .eyebrow { color: #b9d0d4; font: 8px var(--mono); letter-spacing: .11em; margin: 0 0 10px; }
.play-action h2 { font: 400 clamp(29px, 3.4vw, 44px)/1.1 Georgia, serif; margin: 0; letter-spacing: -.025em; }
#play-feedback { min-height: 32px; max-width: 330px; color: #bfced2; font: 10px/1.8 var(--mono); margin: 13px 0 16px; }
#play-interact { display: flex; align-items: center; gap: 16px; color: #f5e6c4; border: 1px solid #d2bf8b9c; background: #132d35de; min-height: 52px; padding: 10px 17px 10px 10px; font-size: 12px; text-align: left; }
#play-interact:not(:disabled):hover { background: #25434ade; border-color: #e3d19f; }
#play-interact:disabled { color: #aab9bd; border-color: #94b6bd40; opacity: .65; }
#play-interact kbd { font: 9px var(--mono); padding: 7px; border: 1px solid #cad8cd42; color: #d7dbcd; }
.play-direct-read { margin-top: 7px; color: #c0d6da; border: 0; background: #07141c5c; padding: 10px 0; min-height: 44px; font-size: 10px; }
.play-movement { position: absolute; bottom: 34px; right: 4%; width: min(300px, 40%); pointer-events: auto; }
.play-movement > p { color: #bdcfd4; font: 9px/1.8 var(--mono); margin: 0 0 12px; max-width: 260px; }
.play-movement .sail-buttons { justify-content: flex-end; }
.play-overlay button:focus-visible { outline: 2px solid #ead3a3; outline-offset: 3px; }
body[data-inspection="true"] .play-overlay { visibility: hidden; }
@media (max-width: 600px) {
  .play-entry { left: 5%; bottom: 8%; width: 90%; padding: 20px 20px 14px; }
  .play-entry h2 { font-size: 34px; margin: 14px 0; max-width: 270px; }
  .play-entry > p:not(.eyebrow) { font-size: 11px; line-height: 1.6; }
  .play-entry .play-entry-note { display: none; }
  .play-entry-actions { margin-top: 17px; gap: 5px 14px; }
  .play-entry-actions button { font-size: 10px; }
  .play-journal { top: 23px; left: 5%; width: 56%; }
  .play-journal .eyebrow { font-size: 7px; letter-spacing: .025em; }
  .play-progress { font-size: 23px; margin-bottom: 12px; }
  #play-chart { gap: 5px; }
  #play-chart li { font-size: 7px; padding: 5px 6px; }
  .play-journal-hint { font-size: 8px; max-width: 190px; }
  .play-menu { top: 20px; right: 5%; display: grid; gap: 6px; }
  .play-menu button { font-size: 9px; padding: 9px 10px; }
  .play-action { bottom: 22px; left: 5%; width: 49%; }
  .play-action > .eyebrow { font-size: 7px; letter-spacing: .02em; line-height: 1.7; }
  .play-action h2 { font-size: 27px; }
  #play-feedback { font-size: 8px; line-height: 1.7; margin: 9px 0 12px; }
  #play-interact { gap: 7px; font-size: 10px; padding: 8px; }
  #play-interact kbd { display: none; }
  .play-direct-read { font-size: 8px; text-align: left; }
  .play-movement { bottom: 27px; right: 5%; width: 36%; }
  .play-movement > p { font-size: 8px; }
}
@media (max-height: 520px) {
  .play-journal-hint, .play-entry-note { display: none; }
  .play-entry { bottom: 5%; padding: 14px 20px; }
  .play-entry h2 { font-size: 31px; margin: 12px 0; }
  .play-entry-actions { margin-top: 12px; }
  .play-action, .play-movement { bottom: 14px; }
  #play-feedback { margin: 8px 0; min-height: 0; }
}

/* A single optical passage expands the existing scene; it is still the same
   world and published record, with a native modal providing immediate reading. */
body[data-inspection="true"] { overflow: hidden; }
body[data-inspection="true"] .world-frame { position: fixed; inset: 0; width: 100%; height: 100dvh; border: 0; z-index: 40; }
body[data-inspection="true"] .world-caption,
body[data-inspection="true"] .world-controls { visibility: hidden; }
.figure-passage {
  --ink: #f0f1e5;
  --muted: #bacdca;
  --accent: #b1e7dd;
  --line: #acc7c535;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  background: transparent;
  color: var(--ink);
  color-scheme: dark;
  overflow: hidden;
}
.figure-passage[open] { display: grid; grid-template-columns: 60% 40%; }
.figure-passage::backdrop { background: transparent; }
.passage-visual { position: relative; min-width: 0; overflow: hidden; background: linear-gradient(180deg, #07161e9c, transparent 27%, transparent 68%, #07161ed9); }
.passage-heading { position: absolute; top: 28px; left: 36px; right: 28px; pointer-events: none; }
.passage-heading .eyebrow { color: #dae2d7; margin: 0 0 24px; font-size: 9px; }
.passage-stage-number { font: 10px var(--mono); letter-spacing: .12em; color: #c3b79a; margin: 0 0 9px; }
.passage-heading h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.025em; line-height: 1.08; margin: 0; max-width: 440px; }
.passage-navigation { position: absolute; bottom: 26px; left: 36px; right: 36px; }
.passage-navigation .eyebrow { color: #d8dfd5; letter-spacing: .065em; margin: 0 0 13px; font-size: 9px; }
.passage-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.passage-stages button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 12px; text-align: left; border: 1px solid #c0d5ce66; color: #f0f1e5; background: #0b2831e0; backdrop-filter: blur(14px); font-size: 12px; line-height: 1.4; border-radius: 2px; }
.passage-stages button[aria-pressed="true"] { border-color: #e0c79b; background: #274249ed; box-shadow: inset 0 2px #e0c79b; }
.passage-stages button.is-visited::after { content: ''; position: absolute; width: 3px; height: 3px; background: #b1e7dd; border-radius: 50%; right: 8px; bottom: 8px; }
.passage-view-number { color: #c9bd9d; font: 10px var(--mono); }
#passage-stage-description { color: #d3dfd9; font-size: 12px; line-height: 1.7; max-width: 610px; margin: 14px 0 0; }
.passage-fallback { position: absolute; width: 80%; height: 48%; object-fit: contain; top: 23%; left: 10%; }
.passage-reader { min-width: 0; overflow-y: auto; overflow-anchor: none; overscroll-behavior: contain; padding: 28px 32px 32px; border-left: 1px solid #c4d1c747; background: linear-gradient(145deg, #0b2430e8, #091d24f5); backdrop-filter: blur(24px); scrollbar-width: thin; scrollbar-color: #7a9794 #0b2430; }
.passage-toolbar { position: sticky; top: -28px; z-index: 1; background: #0b2430f0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 23px; margin-bottom: 29px; border-bottom: 1px solid var(--line); }
.passage-toolbar .eyebrow { color: #b4c7c3; font-size: 9px; margin: 0; }
.passage-toolbar button, .passage-footer button { color: var(--ink); border: 1px solid #adcbc750; padding: 10px 13px; min-height: 44px; background: #18364180; font-size: 11px; border-radius: 2px; }
.passage-toolbar button { display: flex; align-items: center; gap: 14px; }
.passage-toolbar button:hover, .passage-footer button:hover { background: #25444e; border-color: #abc8c5; }
.passage-origin { color: #c7bfa3; font: 9px/1.7 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.passage-translation { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.passage-translation > p { color: #c5d1cc; font-size: 11px; line-height: 1.6; }
#passage-worlds { display: flex; flex-wrap: wrap; gap: 7px; }
#passage-worlds button { min-height: 44px; padding: 8px 10px; color: #dbe3df; background: #16313d; border: 1px solid #96aaa449; font-size: 10px; }
#passage-worlds button[aria-pressed="true"] { color: #f3dfb4; border-color: #d2b37d; }
.passage-translation .passage-translation-note { font-size: 10px; color: var(--muted); }
#passage-title { font-family: Georgia, serif; font-size: clamp(28px, 3.2vw, 45px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; margin: 18px 0 24px; }
#passage-title:focus { outline: 0; }
.passage-summary { color: #e0e7df; font-size: 14px; line-height: 1.8; margin-bottom: 23px; }
.passage-body { color: var(--muted); font-size: 13px; line-height: 1.85; }
.passage-reader-stage { padding-left: 14px; border-left: 1px solid #ccb58b; color: #d8dccc; font-size: 12px; line-height: 1.8; margin: 22px 0; }
.passage-links { display: flex; flex-wrap: wrap; gap: 12px; }
.passage-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 12px; text-underline-offset: 4px; }
.passage-flat { border-top: 1px solid var(--line); margin-top: 28px; font-size: 12px; }
.passage-flat summary { cursor: pointer; padding: 15px 0; min-height: 48px; }
.passage-flat summary span { margin-left: 12px; color: #b4cdc6; }
.passage-flat figure { margin: 3px 0 20px; }
.passage-flat img { display: block; width: 100%; background: #09212a; border: 1px solid var(--line); }
.passage-flat figcaption { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 12px; }
#passage-source { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: 12px; text-underline-offset: 4px; }
.passage-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 21px; margin-top: 9px; border-top: 1px solid var(--line); }
.passage-footer button { font-size: 10px; }
.passage-status { color: var(--muted); font: 9px/1.7 var(--mono); margin-top: 16px; }
.figure-passage[data-motion="static"] *, .figure-passage[data-motion="static"] *::after { transition: none !important; animation: none !important; }
@media (max-width: 850px) and (min-width: 601px) {
  .passage-reader { padding: 22px; }
  .passage-heading, .passage-navigation { left: 24px; right: 24px; }
  .passage-stages button { gap: 7px; padding: 8px; font-size: 10px; }
  .passage-toolbar { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .world-slot { height: 430px; }
  .world-bar { flex-wrap: wrap; }
  .world-bar .passage-entry { width: 100%; font-size: 12px; }
  .inspection-launch { width: 100%; max-width: none; min-width: 0; }
  .figure-passage[open] { grid-template-columns: 1fr; grid-template-rows: 46% 54%; }
  .passage-heading { top: 15px; left: 20px; right: 20px; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; align-items: baseline; }
  .passage-heading .eyebrow { grid-column: 1 / -1; margin: 0 0 4px; font-size: 8px; }
  .passage-stage-number { font-size: 9px; margin: 0; }
  .passage-heading h2 { font-size: 15px; line-height: 1.2; }
  .passage-navigation { bottom: 16px; left: 20px; right: 20px; }
  .passage-navigation .eyebrow { font-size: 8px; margin-bottom: 8px; }
  .passage-stages { gap: 6px; }
  .passage-stages button { display: grid; gap: 3px; min-height: 61px; padding: 7px 8px; font-size: 11px; line-height: 1.25; }
  .passage-view-number { font-size: 9px; }
  #passage-stage-description { display: none; }
  .passage-reader { padding: 17px 22px 28px; border-left: 0; border-top: 1px solid #c4d1c757; }
  .passage-toolbar { position: sticky; top: -17px; padding: 10px 0 14px; margin-bottom: 16px; background: #0d252e; z-index: 1; }
  .passage-toolbar button { padding: 9px 11px; font-size: 10px; }
  #passage-title { font-size: 29px; margin: 13px 0 17px; }
  .passage-summary { font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
  .passage-body { font-size: 12px; }
  .passage-flat { margin-top: 20px; }
  .passage-fallback { width: 86%; height: 43%; left: 7%; top: 22%; }
}
@media (max-width: 600px) and (max-height: 600px) {
  .passage-navigation #passage-progress, .passage-key-hint { display: none; }
  .passage-stages button { display: flex; min-height: 44px; gap: 6px; padding: 6px 8px; font-size: 10px; }
}

/* Keep the opening world above the portfolio on small screens, too. */
@media (max-width: 600px) {
  main { padding: 0; }
  .world-section { margin-bottom: 0; }
  .world-slot { height: clamp(420px, calc(100svh - 90px), 820px); }
  .world-frame { height: 100%; }
  .scene-heading { top: 24px; left: 5%; max-width: 55%; }
  .scene-heading h1 { font-size: 27px; }
  .scene-heading .eyebrow { font-size: 8px; line-height: 1.6; }
  .scene-heading > p:last-child { font-size: 10px; line-height: 1.6; max-width: 140px; }
  .world-controls { top: 22px; bottom: auto; left: auto; right: 5%; display: grid; gap: 7px; }
  .world-controls button { min-height: 44px; padding: 10px; }
  body[data-scene-view="atlas"] .world-controls { display: flex; }
  .voyage-hud { bottom: 22px; left: 5%; right: 5%; gap: 16px; align-items: end; }
  .voyage-destination { max-width: 46%; }
  .voyage-destination .eyebrow { font-size: 7px; letter-spacing: .02em; }
  .voyage-destination h2 { font-size: 26px; }
  .voyage-destination > p { font-size: 9px; margin: 8px 0; }
  #read-destination { font-size: 9px; padding: 8px; line-height: 1.5; text-align: left; }
  .voyage-input { max-width: 46%; }
  .voyage-input > p { font-size: 8px; line-height: 1.6; max-width: 145px; }
  .sail-buttons { gap: 6px; }
  .sail-buttons button { min-width: 55px; min-height: 48px; padding: 9px; font-size: 14px; gap: 6px; }
  .sail-buttons button span { font-size: 8px; }
  .world-bar { padding-top: 24px; }
  .intro { padding-top: 40px; gap: 30px; }
}