/* The objects keep their character; the page gives them room. */
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { padding-inline: clamp(20px, 5vw, 80px); }
.page { max-width: 1160px; padding-top: 32px; }
body::before { opacity: .035; }
.intro-top { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.intro-end { gap: 28px; }
.elsewhere { font-size: 12px; gap: 18px; }
.elsewhere a { text-decoration: none; }
.introduction { display: grid; grid-template-columns: 1.8fr 1fr; align-items: center; gap: 50px; padding: 64px 0 20px; }
.eyebrow, .section-number { font: 500 10px/1.6 var(--font-mono); letter-spacing: .13em; }
.hello { font: 400 clamp(48px, 6.6vw, 84px)/.98 var(--font-serif); letter-spacing: -.045em; margin: 23px 0; }
.hello em { color: var(--accent-text); font-weight: 400; }
.intro-text { font-size: 20px; line-height: 1.45; max-width: 38ch; }
.intro-aside { border-left: 1px solid var(--line); padding-left: 40px; font-size: 18px; color: var(--fg-2); }
.asterisk { display: block; font: 60px/1 Georgia, serif; color: var(--sun); margin-bottom: 22px; }
.intro-aside .roles { font-size: 11px; margin: 22px 0 12px; }
.intro-aside .meta { font-size: 11px; line-height: 1.8; }
.collection-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; font: 11px var(--font-mono); }
.collection-nav a { text-decoration: none; color: var(--accent-text); }
.collection-nav span { margin-left: 7px; color: var(--fg-1); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.collection-nav a:hover span { border-color: var(--sun); }
.horizon { gap: 4px; margin: 35px 0 42px; }
.horizon span { height: 4px; }
.horizon span + span { height: 2px; }
.room.has-slides { --overlap: 0px; }
.room.has-slides::before { display: none; }
.room.has-slides .terminal { max-width: none; margin-top: 0; }
.section-title { font: 400 clamp(29px, 3vw, 38px)/1.15 var(--font-serif); letter-spacing: -.025em; }
.section-number { display: block; color: var(--accent-text); margin-bottom: 12px; letter-spacing: .12em; }
.room-head { align-items: flex-end; margin-bottom: 24px; }
.room-head p { font-size: 15px; }
.chassis { padding: 26px 26px 18px; border-radius: 16px; }
.room.has-slides .terminal .chassis { box-shadow: inset 0 1px 1px #5a5e63, 0 18px 35px -25px var(--desk-shadow); }
.crt { border-radius: 9px; border-width: 6px; cursor: auto; }
.screen { height: 470px; font-size: 13px; text-shadow: none; animation: none; padding: 24px; }
.scanlines { opacity: .18; }
.glass { opacity: .23; box-shadow: none; }
.glass::after { display: none; }
.panes { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
.rec { cursor: pointer; padding: 10px 8px; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; }
.rc-call { display: none; }
.rc-title { white-space: normal; }
.rc-status { font-size: 10px; }
.rec[aria-pressed="true"], .tab[aria-pressed="true"] { box-shadow: none; }
.bar { font-size: 11px; }
.card { border-width: 1px; padding: 20px; gap: 18px; }
.card-title { font-size: 22px; text-transform: none; letter-spacing: -.035em; }
.fields { gap: 16px; }
.fields div { display: block; }
.fields dt { font-size: 10px; margin-bottom: 5px; }
.fields dd { line-height: 1.6; }
.card.glitch { animation: none; }
.open-key { font-size: 11px; padding: 9px 13px; }
.deck { padding-top: 18px; }
.deck .plate { display: flex !important; }
.engrave { font-size: 9px; }
.deck .controls { border: 0 !important; box-shadow: none !important; padding-top: 0 !important; }
.dewey { font: 12px/1.6 var(--font-serif); margin-top: 13px; }
.photo-collection, .editorial-section { margin-top: 74px; padding-top: 34px; border-top: 1px solid var(--line); }
.wall { --wallw: 100%; --pad: 26px; --band: 50px; width: 100%; margin: 0; height: 540px; border-radius: 5px; box-shadow: none; }
.window { bottom: var(--band); }
.photo { filter: none; box-shadow: 0 6px 25px #0004; border-radius: 1px; }
.wall.lit .frame.on .photo { animation: none; }
.spill { opacity: .4; }
.pj-glow, .pj-dust, .pj-falloff { display: none; }
.pj-label { transform: none; background: none; box-shadow: none; text-shadow: none; padding: 0; text-transform: none; letter-spacing: .03em; max-width: 78%; }
.dwell { display: none; }
.wall-no { margin-left: auto; font-size: 11px; }
.projector-deck { padding: 18px 22px; background: #23282c; border-radius: 0 0 5px 5px; }
.projector-deck .deck-group { justify-content: space-between; }
.projector-deck .ctl { color: #b4b8bc; }
.tray { margin-top: 23px; }
.tray-head p { font-size: 13px; }
.mounts { gap: 15px; }
.mount { width: 104px; height: 104px; border-radius: 3px; }
.mount .win { top: 20px; bottom: 20px; }
.mount.port .win { left: 27px; right: 27px; }
.editorial-section > div { margin-top: 28px; }
.entry { border-top: 1px solid var(--line); padding: 24px 0; }
.entry h3 { font: 400 29px/1.2 var(--font-serif); }
.entry .entry-meta { font: 10px var(--font-mono); color: var(--accent-text); margin-bottom: 10px; }
.entry p { max-width: 65ch; margin-top: 12px; font-size: 19px; white-space: pre-line; }
.entry details { margin-top: 15px; }
.entry summary { cursor: pointer; color: var(--accent-text); }
.tracks { padding-left: 24px; max-width: 620px; }
.tracks li { padding: 9px 0 9px 8px; border-bottom: 1px solid var(--line); }
.tracks li::marker { font: 11px var(--font-mono); color: var(--accent-text); }
footer { margin-top: 70px; font-size: 11px; }
.editor-link { margin-left: auto; font: 10px var(--font-mono); text-decoration: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 99; background: var(--bg); padding: 14px; }
.skip-link:focus { top: 10px; }
@media(max-width:800px) {
  .introduction { gap: 30px; padding-top: 44px; }
  .intro-aside { padding-left: 24px; }
  .intro-end .elsewhere { display: none; }
  .screen { height: auto; }
  .panes { grid-template-columns: 1fr; gap: 20px; }
  .records { max-height: 240px; }
  .card { min-height: 310px; }
  .wall { height: 460px; }
}
@media(max-width:540px) {
  .introduction { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .intro-aside { padding-left: 0; border-left: 0; font-size: 16px; display: none; }
  .hello { font-size: 54px; }
  .intro-text { font-size: 19px; }
  .lamp { gap: 5px; }
  .lamp > span:first-child, .lamp .pilot, .lamp-state { display: none; }
  .horizon { margin-top: 20px; }
  .chassis { padding: 14px 10px; }
  .screen { padding: 14px; }
  .bar { flex-wrap: wrap; }
  .bar > .rule { display: none; }
  .bar .date { display: none; }
  .tab { font-size: 10px; padding: 6px; }
  .tab .n { margin-left: 3px; }
  .deck { display: flex !important; }
  .engrave { display: none; }
  .room.has-slides .controls { gap: 14px; }
  .wall { height: 370px; --pad: 16px; }
  .projector-deck { padding: 16px 12px; }
  .projector-deck .deck-group { flex-wrap: wrap; gap: 16px; }
  .pj-tray svg { width: 36px; height: 36px; }
  .pj-tray { gap: 5px; }
  .projector-deck .ctl { font-size: 8px; }
  .pj-count { font-size: 8px; }
  .projector-deck .power { width: 32px; height: 32px; }
  .projector-deck .pj-led { display: none; }
  .mount { width: 86px; height: 86px; }
  .photo-collection, .editorial-section { margin-top: 50px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

/* A quieter, warm evening palette. */
:root[data-theme="dark"] {
  --bg: #262522; --fg-1: #e0d7c8; --fg-2: #b4ab9d;
  --accent-text: #c69e76; --sun: #ab805b; --water: #7d8275;
  --line: #45423b; --screen: #171917; --ph: #d7b48c;
  --ph-glow: transparent; --ph-dim: #635647; --ph-faint: #29251f;
  --selection-bg: #67533f; --selection-fg: #f0e6d8;
}
:root[data-theme="light"] { --bg: #d6ccba; --fg-1: #35332d; --fg-2: #615b50; --line: #b8ad9b; --accent-text: #765338; }
.hello { font: 500 clamp(36px, 4.7vw, 59px)/1.12 var(--font-sans); letter-spacing: -.055em; margin: 22px 0; }
.introduction { padding: 48px 0 10px; }
.intro-text { font: 400 16px/1.7 var(--font-sans); max-width: 43ch; }
.intro-aside { font: 400 13px/1.85 var(--font-sans); }
.section-title { font: 500 clamp(24px, 2.5vw, 29px)/1.3 var(--font-sans); letter-spacing: -.04em; }
.horizon { gap: 0; margin: 28px 0 36px; }
.horizon span { height: 1px; background: var(--line); }
.horizon span + span { display: none; }
.screen { text-shadow: none; }
.scanlines, .glass { display: none; }
.chassis { background: #292c29; }
.crt { box-shadow: none; border-color: #1a1b18; }
.crt::before { display: none; }
.room-head p { font: 12px/1.6 var(--font-sans); }
@media (max-width:540px) { .hello { font-size: 39px; } .intro-text { font-size: 15px; } }

/* A small viewfinder is part of the introduction, not a second destination. */
.introduction { grid-template-columns: 1.25fr 1fr; gap: clamp(30px,5vw,70px); padding-block: 42px 16px; }
.hello { font-size: clamp(36px,4.4vw,55px); }
.introduction .photo-collection { min-width:0; margin:0; padding:0; border:0; --overlap:0px; }
.viewfinder-head { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:12px; color:var(--fg-2); }
.viewfinder-head h2 { font:400 10px/1.5 var(--font-mono); letter-spacing:.03em; }
.viewfinder-head > span { font:9px var(--font-mono); opacity:.7; }
.photo-collection .wall { height:270px; --pad:12px; --band:30px; border:1px solid #565047; border-radius:8px 8px 0 0; background:#191a17; }
.photo-collection .wall::after { content:""; position:absolute; pointer-events:none; inset:18px 18px 44px; background:linear-gradient(var(--fg-2),var(--fg-2)) left top/15px 1px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) left top/1px 15px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) right top/15px 1px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) right top/1px 15px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) left bottom/15px 1px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) left bottom/1px 15px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) right bottom/15px 1px no-repeat,linear-gradient(var(--fg-2),var(--fg-2)) right bottom/1px 15px no-repeat; opacity:.55; }
.photo-collection .window { inset:12px 12px 32px; }
.photo-collection .photo { box-shadow:none; }
.photo-collection .spill { opacity:.2; }
.photo-collection .pj-label, .photo-collection .wall-no { font:9px/1.4 var(--font-mono); color:#c2b5a2; }
.photo-collection .projector-deck { padding:10px 12px; background:#2b2b26; border:1px solid #565047; border-top:0; border-radius:0 0 8px 8px; }
.photo-collection .pj-tray, .photo-collection .deck-group > .ctl:last-child { display:none; }
.photo-collection .deck-group { justify-content:space-between; }
.photo-collection .ctl { flex-direction:row; gap:10px; }
.photo-collection .ctl > span { display:none; }
.photo-collection .pj-key { width:30px; height:25px; box-shadow:none; background:#34362e; border:1px solid #545347; }
.photo-collection .pj-switch { font-size:8px; }
.photo-collection .pj-switch .track { height:16px; width:36px; }
.photo-collection .pj-switch .knob { width:12px; height:12px; }
.photo-collection .pj-switch[aria-pressed="true"] .knob { transform:translateX(20px); }
.photo-collection .pj-switch[aria-pressed="true"] .opt.auto { color:#c69e76; text-shadow:none; }
.photo-collection .tray { margin-top:12px; }
.photo-collection .tray-head { display:none; }
.photo-collection .mounts { padding:3px 2px 6px; gap:7px; }
.photo-collection .mount { width:38px; height:35px; border-radius:2px; background:#6e685a; box-shadow:none; }
.photo-collection .mount .win { inset:4px; }
.photo-collection .mount.port .win { inset:4px 9px; }
.photo-collection .mount .no { display:none; }
.photo-collection .mount[aria-current="true"] { transform:none; box-shadow:0 0 0 1px var(--sun); }
.photo-collection .mount:hover { transform:none; }
.footer-location { color:var(--fg-2); font-size:10px; line-height:2.2; }
@media(max-width:700px) { .introduction { grid-template-columns:1fr; gap:28px; } .introduction .photo-collection { width:100%; max-width:430px; } .photo-collection .wall { height:245px; } .viewfinder-head > span { display:none; } .collection-nav { margin-top:22px; } .horizon { margin-top:18px; } }

:root[data-theme="dark"][data-phosphor="green"] { --ph:#b2c4a0; --ph-dim:#52604a; --ph-faint:#252c23; }
.viewfinder-flip { position:relative; perspective:1000px; height:270px; }
.photo-collection .viewfinder-flip .wall, .photo-collection .contact-sheet { position:absolute; inset:0; height:100%; backface-visibility:hidden; transition:transform 550ms cubic-bezier(.2,.7,.2,1); }
.photo-collection .viewfinder-flip .wall { transform:rotateY(0); }
.photo-collection .contact-sheet { margin:0; padding:17px; border:1px solid #565047; border-bottom:0; border-radius:8px 8px 0 0; background:#292820; transform:rotateY(-180deg); overflow:auto; }
.photo-collection .viewfinder-flip.is-flipped .wall { transform:rotateY(180deg); pointer-events:none; }
.photo-collection .viewfinder-flip.is-flipped .contact-sheet { transform:rotateY(0); }
.photo-collection .contact-sheet .tray-head { display:flex; align-items:center; gap:8px; margin:0 0 15px; }
.photo-collection .contact-sheet .tray-head h2 { font:10px var(--font-mono); letter-spacing:.08em; }
#closeSheet { border:0; background:none; color:var(--fg-2); cursor:pointer; font:10px var(--font-mono); padding:5px; }
.photo-collection .contact-sheet .mounts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:2px; overflow:visible; }
.photo-collection .contact-sheet .mount { width:100%; height:auto; aspect-ratio:1.16; background:#8b806a; }
.photo-collection .contact-sheet .mount .win { inset:5px 4px 10px; }
.photo-collection .contact-sheet .mount.port .win { inset:5px 15px 10px; }
.photo-collection .contact-sheet .mount .no { display:block; top:auto; bottom:2px; left:4px; color:#211f19; font-size:7px; }
@media(max-width:700px) { .viewfinder-flip { height:245px; } }
@media(prefers-reduced-motion:reduce) { .photo-collection .viewfinder-flip .wall,.photo-collection .contact-sheet { transition:none; } }

/* Optional play and the small facts behind a frame. */
.viewfinder-tools { display:flex; gap:12px; justify-content:space-between; margin-top:10px; padding-top:10px; border-top:1px solid #48473d; }
.viewfinder-tools button { border:0; background:none; padding:4px 0; color:#b9ac98; font:10px/1.5 var(--font-mono); cursor:pointer; }
.viewfinder-tools button > span { margin-right:5px; }
.viewfinder-tools button:hover, .viewfinder-tools button[aria-pressed="true"] { color:#e6c394; }
#kaleidoscopeToggle[aria-pressed="true"] > span { display:inline-block; color:#e6c394; }
.kaleidoscope-canvas { position:absolute; z-index:2; left:12px; top:12px; width:calc(100% - 24px); height:calc(100% - 44px); border-radius:2px; pointer-events:none; }
.photo-collection .wall.kaleidoscope-on .photo, .photo-collection .wall.kaleidoscope-on .spill { visibility:hidden; }
.photo-collection .wall::after { z-index:3; }
.photo-collection .wall .band { z-index:4; }
.frame-notes { padding-top:16px; }
.frame-notes dl { margin:0; display:grid; gap:9px; }
.frame-notes dl > div { display:grid; grid-template-columns:60px minmax(0,1fr); gap:12px; }
.frame-notes dt, .frame-notes dd { font:10px/1.7 var(--font-mono); margin:0; }
.frame-notes dt { color:#8f887a; }
.frame-notes dd { color:#c8bead; overflow-wrap:anywhere; }
.palette-row { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:17px; padding-top:12px; border-top:1px solid #48473d; }
.palette-row > span { color:#9e9586; font:9px var(--font-mono); }
.photo-palette { display:flex; overflow:hidden; border-radius:3px; border:1px solid #ffffff18; }
.photo-palette > span { width:23px; height:16px; display:block; }
