:root{--bg:#fffefb;--ink:#171513;--muted:#77736b;--accent:#e24a1a;--pad:clamp(24px,5.5vw,88px)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}a:hover{color:var(--accent)}
.site-nav{height:78px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between}.home-link{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.18em}.home-link img{height:27px;transform:scaleX(-1)}.nav-links{display:flex;gap:28px;font-size:11px;letter-spacing:.18em}.nav-links [aria-current]{color:var(--accent)}main{padding:65px var(--pad) 30px;max-width:1800px;margin:auto}.archive-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:42px}h1{font-size:clamp(40px,5.3vw,78px);line-height:1.08;font-weight:450;letter-spacing:-.055em;margin:0 0 20px}.archive-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}#resultCount{font-size:11px;color:var(--muted);white-space:nowrap;padding-bottom:5px}.archive-controls{display:flex;justify-content:space-between;align-items:center;gap:30px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{padding:9px 14px;border:1px solid transparent;border-radius:20px;background:none;color:var(--muted);font-size:11px;cursor:pointer;transition:background .2s,color .2s}.filters button:hover{color:var(--ink)}.filters button[aria-pressed=true]{color:var(--accent);border-color:#e24a1a40;background:#e24a1a07}.search{display:flex;align-items:center;border-bottom:1px solid #d9d5cc;max-width:240px;gap:12px}.search input{width:100%;padding:10px 0;border:0;background:none;color:var(--ink);font-size:12px;min-width:0}.search>span:last-child{font-size:22px;color:var(--muted)}.network-key{display:flex;justify-content:space-between;gap:15px;margin-top:30px;font-size:10px;color:#928d83;letter-spacing:.02em}.network-key i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--accent);margin-right:6px;vertical-align:middle}
.project-network{position:relative;margin-top:12px;min-height:500px;isolation:isolate}.project-network>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.project-nodes{position:absolute;inset:0}.project-node{position:absolute;left:0;top:0;width:142px;transform:translate(-50%,-50%);transition:left .65s cubic-bezier(.2,.8,.2,1),top .65s cubic-bezier(.2,.8,.2,1),opacity .25s;opacity:1;touch-action:pan-y;outline-offset:9px!important;z-index:1;cursor:pointer}.project-node[hidden]{display:none}.node-image{position:relative;width:100%;height:95px;display:block;border-radius:3px;background:var(--bg);box-shadow:0 3px 18px #201a1308;transition:transform .3s}.node-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}.project-node:hover,.project-node:focus-visible{z-index:3}.project-node:hover .node-image,.project-node:focus-visible .node-image{transform:translateY(-4px)}.node-label{display:block;padding:12px 0 0;font-size:11px;line-height:1.35;font-weight:500;letter-spacing:-.015em}.node-year{font-size:9px;color:var(--muted);font-weight:400;display:block;margin-top:4px}.project-node .node-dot{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--bg);border:1px solid #998b7c;left:-13px;top:44px;transition:background .2s}.project-node:hover .node-dot,.project-node:focus-visible .node-dot{background:var(--accent);border-color:var(--accent)}.empty{padding:120px 0;text-align:center;color:var(--muted);font-size:15px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e5e1d8;padding-top:25px;margin-top:25px;font-size:10px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.custom-cursor{position:fixed;left:0;top:0;width:22px;height:22px;border-radius:50%;background:white;mix-blend-mode:difference;pointer-events:none;z-index:10000;opacity:0;transition:width .25s,height .25s,border-radius .25s,opacity .2s}.custom-cursor.visible{opacity:1}.custom-cursor.hover{width:42px;height:42px;border-radius:6px}@media(pointer:fine) and (prefers-reduced-motion:no-preference){html.cursor-ready,.cursor-ready *{cursor:none!important}}
@media(max-width:700px){main{padding-top:40px}.home-link{font-size:9px;letter-spacing:.12em}.home-link img{height:24px}.nav-links{font-size:10px;gap:16px}.archive-heading{align-items:start;flex-direction:column;gap:18px;margin-bottom:25px}h1{font-size:44px}.archive-controls{align-items:start;flex-direction:column;gap:20px}.filters{gap:2px}.filters button{padding:9px 10px}.search{max-width:none;width:100%}.network-key{font-size:9px;margin-top:25px}.network-key>span:last-child{display:none}.project-node{width:118px}.node-image{height:82px}.node-label{font-size:10px}.project-node .node-dot{left:-10px;top:38px}}
@media(prefers-reduced-motion:reduce){.project-node,.node-image{transition:none}.custom-cursor{display:none}}
main{padding-top:30px}.archive-heading{margin-bottom:18px;justify-content:flex-end}.archive-heading>div{position:absolute}.archive-controls{gap:25px}.network-key{margin-top:22px}.project-network{height:calc(100svh - 245px);min-height:520px;margin-top:0;overflow:visible}.project-node{width:44px;height:44px;transition:opacity .3s;display:grid;place-items:center;touch-action:manipulation;z-index:1;outline-offset:0!important}.project-node .node-dot{position:absolute;left:50%;top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border:0;background:var(--accent);box-shadow:0 0 0 5px #e24a1a0b;transition:width .25s,height .25s,box-shadow .25s}.project-node:hover .node-dot,.project-node:focus-visible .node-dot{width:13px;height:13px;box-shadow:0 0 0 9px #e24a1a12}.node-preview{position:absolute;left:50%;top:50%;width:220px;background:var(--bg);border:1px solid #e5ded2;border-radius:5px;padding:9px;box-shadow:0 12px 40px #34291b15;transform:translate(-50%,-50%) scale(.12);opacity:0;visibility:hidden;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility .2s;pointer-events:none}.node-preview img{width:100%;height:145px;display:block;object-fit:contain;background:var(--bg);border-radius:2px}.node-preview .node-label{padding:12px 5px 5px;font-size:12px}.node-preview .node-year{font-size:10px;margin-top:5px}.project-node.is-active,.project-node:focus-visible{z-index:20}.project-node.is-active .node-preview,.project-node:focus-visible .node-preview{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1);pointer-events:auto}.project-node.is-active .node-dot{opacity:0}.project-network canvas{border-radius:0}footer{margin-top:0}.empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:0;pointer-events:none}.empty[hidden]{display:none}
@media(max-width:700px){main{padding-top:16px}.archive-heading{flex-direction:row;justify-content:flex-end;gap:0;margin-bottom:12px}.archive-controls{gap:12px}.network-key{margin-top:16px}.project-network{height:calc(100svh - 310px);min-height:480px}.node-preview{width:180px}.node-preview img{height:120px}.project-node{width:40px;height:40px}.project-node .node-dot{left:50%;top:50%;width:9px;height:9px}.network-key>span:last-child{display:block;font-size:0}.network-key>span:last-child::after{content:'Tap to preview';font-size:9px}}
@media(prefers-reduced-motion:reduce){.node-preview{transition:none}}
.node-preview{width:240px;display:grid;grid-template-columns:78px 1fr;gap:13px;align-items:center;padding:13px;background:rgba(255,254,251,.94);backdrop-filter:blur(6px);border:1px solid #cdbca780;border-radius:2px;box-shadow:0 8px 28px #34291b0d;transform:translateY(-50%) scale(.85);transform-origin:left center}
.node-preview img{width:78px;height:78px;object-fit:contain}.node-preview .node-label{padding:0;font-size:12px;line-height:1.4;font-weight:500}.node-preview .node-year{font-family:monospace;font-size:10px;color:#9a785c;letter-spacing:.06em;margin-top:8px}.project-node.is-active .node-preview,.project-node:focus-visible .node-preview{transform:translateY(-50%) scale(1)}.project-node.is-active .node-dot{opacity:1;width:9px;height:9px;box-shadow:0 0 10px #e24a1a30}.node-preview::before{content:"";position:absolute;inset:0 100% 0 auto;width:50px;pointer-events:auto}.node-preview.align-left::before{inset:0 auto 0 100%}.node-preview.align-left{transform-origin:right center}
@media(max-width:700px){.node-preview{width:210px;grid-template-columns:65px 1fr;padding:11px;gap:11px}.node-preview img{width:65px;height:70px}.node-preview .node-label{font-size:11px}}

.project-node .node-dot,.project-node:hover .node-dot,.project-node:focus-visible .node-dot,.project-node.is-active .node-dot{box-shadow:none}
.archive-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:35px;align-items:start}.project-node .node-preview{display:none!important}.project-panel{margin-top:35px;min-height:330px;border-left:1px solid #dfd9ce;padding:5px 0 25px 28px;position:sticky;top:35px}.panel-empty{padding:45px 0;color:var(--muted)}.panel-empty p{font-size:15px;color:var(--ink);margin:20px 0 12px}.panel-empty>span:last-child{font-size:11px;line-height:1.6}.panel-marker{display:block;width:7px;height:7px;border-radius:50%;background:var(--accent)}.panel-content[hidden],.panel-empty[hidden]{display:none}.panel-image{display:block;width:100%;height:210px;object-fit:contain;background:var(--bg);border-radius:2px}.panel-meta{margin-top:22px;display:flex;justify-content:space-between;align-items:center;min-height:24px}.panel-year{font-size:11px;color:var(--muted)}.panel-close{border:0;background:none;padding:4px 8px;font-size:22px;color:var(--muted);cursor:pointer}.panel-title{font-size:25px;font-weight:450;line-height:1.2;letter-spacing:-.035em;margin:15px 0}.panel-medium{font-size:12px;line-height:1.75;color:var(--muted);margin:0 0 28px}.panel-open{display:inline-block;font-size:12px;color:var(--accent);padding:10px 0}.project-network{min-height:520px}
@media(max-width:850px){.archive-map-layout{grid-template-columns:1fr;gap:0}.project-panel{position:relative;top:auto;margin:0 0 25px;padding:25px 0;border-left:0;border-top:1px solid #dfd9ce;min-height:0}.panel-content{display:grid;grid-template-columns:140px 1fr;gap:0 25px}.panel-image{grid-column:1;grid-row:1 / 5;height:180px}.panel-meta,.panel-title,.panel-medium,.panel-open{grid-column:2}.panel-meta{margin-top:0}.panel-title{font-size:23px;margin:10px 0}.panel-medium{margin-bottom:12px}.panel-empty{padding:15px 0}.panel-empty p{margin:10px 0}.project-network{height:520px;min-height:450px}}
@media(max-width:420px){.panel-content{grid-template-columns:105px 1fr;gap:0 18px}.panel-image{height:150px}}

.archive-map-layout{display:block;position:relative;isolation:isolate}
.project-panel{display:none;position:absolute;left:var(--panel-x,0);top:var(--panel-y,0);width:var(--panel-width,270px);margin:0;padding:18px;min-height:0;border:1px solid var(--accent);background:rgba(255,254,251,.96);backdrop-filter:blur(5px);z-index:30;box-shadow:none;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px))}
.project-panel.has-selection{display:block}
.project-panel::before,.project-panel::after{content:"";position:absolute;width:18px;height:1px;background:var(--accent);transform:rotate(45deg)}
.project-panel::before{right:-3px;top:5px}.project-panel::after{left:-3px;bottom:5px}
.panel-empty{display:none!important}.panel-content{display:flex;flex-direction:column;gap:0}.panel-image{width:100%;height:155px;object-fit:contain;grid-area:auto;border-radius:0}
.panel-meta{order:-1;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #e24a1a40;font-family:monospace;min-height:20px}
.panel-year{font-family:monospace;color:var(--accent);font-size:10px;letter-spacing:.08em}
.panel-close{font-size:19px;line-height:1;color:var(--accent);padding:0 2px}
.panel-title{font-size:22px;line-height:1.15;margin:17px 0 10px;color:var(--ink);letter-spacing:-.025em}
.panel-medium{font-size:11px;line-height:1.6;margin:0 0 16px;max-height:55px;overflow:auto}
.panel-open{border-top:1px solid #e24a1a40;padding:13px 0 0;font-size:11px;width:100%;margin-top:3px;color:var(--accent)}
@media(max-width:850px){.project-panel{position:absolute;margin:0;padding:15px;border:1px solid var(--accent);top:var(--panel-y,0)}.panel-content{display:flex}.panel-image{height:135px;width:100%}.panel-title{font-size:20px}.panel-medium{max-height:38px;font-size:10px}.panel-meta{margin-bottom:10px}.project-network{height:calc(100svh - 300px);min-height:480px}}

.project-panel{background:rgba(255,254,251,.75);backdrop-filter:none}
.project-panel.has-selection{animation:hudRender .42s steps(1,end) both}
@keyframes hudRender{
  0%{opacity:0;transform:translateX(-5px);filter:contrast(1.5);clip-path:inset(0 0 82% 0)}
  12%{opacity:.9;transform:translateX(3px);clip-path:inset(0 0 45% 0)}
  22%{opacity:.25;transform:translateX(-2px);clip-path:inset(28% 0 18% 0)}
  35%{opacity:1;transform:translateX(1px);clip-path:inset(0 0 12% 0)}
  45%{opacity:.65;transform:translateX(-1px);clip-path:inset(0)}
  60%,100%{opacity:1;transform:translateX(0);filter:none;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px))}
}
@media(prefers-reduced-motion:reduce){.project-panel.has-selection{animation:none}}

.project-panel.has-selection.is-closing{animation:hudGlitchOut .42s steps(1,end) both;pointer-events:none}
@media(prefers-reduced-motion:reduce){.project-panel.has-selection.is-closing{animation:none}}

@keyframes hudGlitchOut{
 0%,39%{opacity:1;transform:translateX(0);clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px))}
 40%{opacity:.65;transform:translateX(-1px);clip-path:inset(0)}
 55%{opacity:1;transform:translateX(1px);clip-path:inset(0 0 12% 0)}
 65%{opacity:.25;transform:translateX(-2px);clip-path:inset(28% 0 18% 0)}
 78%{opacity:.9;transform:translateX(3px);clip-path:inset(0 0 45% 0)}
 88%{opacity:.35;transform:translateX(-5px);clip-path:inset(0 0 82% 0)}
 100%{opacity:0;transform:translateX(-5px);clip-path:inset(0 0 100% 0)}
}

.project-network.is-traveling .project-node{pointer-events:none}.project-node{transition:none}.filters button{transition:color .2s,background .2s}

/* Project spheres are rendered as particles on the shared map canvas. */
.project-node .node-dot{display:none}

.node-tag{position:absolute;left:calc(50% + 22px);top:50%;transform:translateY(-50%);max-width:130px;width:max-content;padding:4px 6px;border-left:1px solid #e24a1a70;background:#fffefbe6;color:#923c23;font:10px/1.35 Inter,sans-serif;letter-spacing:.015em;opacity:var(--tag-opacity,0);pointer-events:none}
.project-node.tag-left .node-tag{left:auto;right:calc(50% + 22px);border-left:0;border-right:1px solid #e24a1a70;text-align:right}
@media(max-width:650px){.node-tag{font-size:9px;max-width:95px;padding:3px 5px}}

/* Small clipped HUD plates echo the preview panel. */
.node-tag{padding:5px 10px;border:0;background:#fffefbc0;color:#a43b1d;font-size:9px;letter-spacing:.045em;clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px));transition:opacity .15s}
.node-tag::before{content:"";position:absolute;inset:0;background:#e24a1a80;clip-path:polygon(0 0,calc(100% - 6px) 0,100% 6px,100% 100%,6px 100%,0 calc(100% - 6px),0 0,1px 1px,1px calc(100% - 7px),7px calc(100% - 1px),calc(100% - 1px) calc(100% - 1px),calc(100% - 1px) 7px,calc(100% - 7px) 1px,1px 1px);pointer-events:none}
.project-node.tag-left .node-tag{border:0}

/* The archive is a single viewport, with the map taking all remaining space. */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
body{height:100dvh;display:flex;flex-direction:column}
.site-nav{flex:0 0 78px}
main{width:100%;flex:1;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;padding:14px var(--pad) 16px;overflow:hidden}
.archive-heading{margin-bottom:10px}
.network-key{margin:14px 0 8px;flex-shrink:0}
.archive-map-layout{min-height:0;height:100%;overflow:hidden}
.project-network{height:100%;min-height:0;margin:0}
footer{margin:0;padding-top:12px;align-items:center}
.project-panel{max-height:calc(100% - 24px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:700px){
 .site-nav{flex-basis:64px;height:64px}
 main{padding-top:0;padding-bottom:12px}
 .archive-heading{margin-bottom:4px}
 .archive-controls{gap:6px}
 .filters{gap:0}
 .filters button{padding:7px 9px;font-size:10px}
 .search input{padding:7px 0}
 .network-key{margin:9px 0 6px}
 footer{padding-top:9px;font-size:9px}
}
@media(max-height:550px){
 .site-nav{height:52px;flex-basis:52px}
 main{padding-top:0;padding-bottom:8px}
 .archive-heading{margin-bottom:2px}
 .network-key{margin-top:6px;margin-bottom:4px}
 .archive-controls{flex-direction:row;align-items:center;gap:12px}
 .filters button{padding:5px 8px;font-size:9px}
 .search{width:160px;flex-shrink:0}
 footer{padding-top:6px}
 .panel-image{height:85px}
 .panel-title{font-size:18px;margin:8px 0}
 .panel-medium{margin-bottom:6px}
}

/* Visibility follows the shared canvas glitch phase without restarting a CSS fade each frame. */
.node-tag{transition:none}

/* Controls belong to the map: a translucent, outlined navigation console. */
main{grid-template-rows:minmax(0,1fr) auto;padding-top:4px}
.map-hud{position:absolute;top:14px;left:14px;right:14px;z-index:25;padding:14px 18px 12px;background:rgba(255,254,251,.85);border:1px solid #e24a1a75;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px))}
.map-hud::after{content:"";position:absolute;right:-3px;top:5px;width:18px;height:1px;background:var(--accent);transform:rotate(45deg)}
.map-hud .archive-heading{margin:0 0 8px;min-height:12px}
.map-hud #resultCount{padding:0;color:#ad4c2c;font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.map-hud .archive-controls{align-items:center;gap:18px}
.map-hud .filters{gap:5px}
.map-hud .filters button{border-radius:0;border:1px solid #e24a1a25;padding:7px 10px;font-size:10px;letter-spacing:.025em;color:#805c4c;background:#fffefb66;clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,0 100%)}
.map-hud .filters button:hover{border-color:var(--accent);color:var(--accent)}
.map-hud .filters button[aria-pressed=true]{background:#e24a1a;color:#fffefb;border-color:#e24a1a}
.map-hud .search{border:1px solid #e24a1a70;padding:0 10px;min-width:170px;width:210px;flex-shrink:0;max-width:none;background:#fffefb80;color:var(--accent)}
.map-hud .search input{font-size:11px;padding:8px 0}
.map-hud .search>span:last-child{color:var(--accent)}
.map-hud .network-key{margin:10px 0 0;font-size:9px;color:#8a7366;letter-spacing:.025em}
@media(max-width:700px){
 .map-hud{top:8px;left:0;right:0;padding:10px 12px}
 .map-hud .archive-heading{margin-bottom:7px}
 .map-hud .archive-controls{align-items:stretch;flex-direction:column;gap:9px}
 .map-hud .filters{gap:4px}
 .map-hud .filters button{font-size:9px;padding:6px 8px}
 .map-hud .search{width:100%;min-width:0}
 .map-hud .search input{padding:6px 0}
 .map-hud .network-key{font-size:8px;margin-top:8px}
}
@media(max-height:550px){
 .map-hud{top:4px;padding:8px 10px}
 .map-hud .archive-controls{flex-direction:row;gap:10px}
 .map-hud .filters{gap:3px}
 .map-hud .filters button{padding:4px 6px;font-size:9px}
 .map-hud .search{width:155px;min-width:120px}
 .map-hud .archive-heading{margin-bottom:4px}
 .map-hud .network-key{margin-top:5px}
}

.map-hud .network-key{justify-content:flex-end}

/* Functional instruments surround the map rather than occupying a toolbar. */
.map-hud{inset:0;padding:0;border:0;background:none;clip-path:none;pointer-events:none}
.map-hud::after{display:none}
.map-hud .archive-controls{display:contents}
.map-hud .filters{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:10px;border:1px solid #e24a1a60;background:#fffefbc0;pointer-events:auto;max-height:calc(100% - 130px);overflow:auto}
.map-hud .filters button{text-align:left;min-width:108px;padding:8px 12px;background:#fffefb99}
.map-hud .search{position:absolute;right:12px;top:14px;pointer-events:auto;background:#fffefbcc;width:230px;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%)}
.map-hud .archive-heading{position:absolute;left:12px;bottom:12px;margin:0;padding:8px 12px;border-left:1px solid #e24a1a80;background:#fffefbcc;pointer-events:none}
.map-hud .network-key{position:absolute;right:12px;bottom:12px;margin:0;padding:8px 12px;border-right:1px solid #e24a1a80;background:#fffefbcc;pointer-events:none}
@media(max-width:700px),(max-height:460px){
 .map-hud .filters{left:0;right:0;top:auto;bottom:40px;transform:none;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:4px;padding:8px;max-height:none;overflow:visible}
 .map-hud .filters button{min-width:0;text-align:center;font-size:9px;padding:6px 8px}
 .map-hud .search{top:8px;right:0;width:min(210px,70%)}
 .map-hud .archive-heading{left:0;bottom:8px;padding:6px 8px}
 .map-hud .network-key{right:0;bottom:8px;padding:6px 8px;font-size:8px}
}

/* Elliptical viewing port with category selectors mounted on its rim. */
.archive-map-layout::before{content:"";position:absolute;left:7%;top:8%;width:86%;height:84%;border:1px solid #e24a1a80;border-radius:50%;pointer-events:none;z-index:2}
.project-network>canvas,.project-nodes{clip-path:ellipse(43% 42% at 50% 50%)}
.map-hud .filters{position:absolute;inset:0;transform:none;display:block;padding:0;border:0;max-height:none;overflow:visible;background:none;pointer-events:none}
.map-hud .filters button{position:absolute;left:var(--rim-x);top:var(--rim-y);transform:translate(-50%,-50%);pointer-events:auto;min-width:86px;text-align:center;padding:8px 10px;font-size:9px;letter-spacing:.045em;border:1px solid #e24a1a70;border-radius:2px;clip-path:none;background:#fffefbf2}
.map-hud .filters button::before{content:"";position:absolute;left:50%;top:-5px;width:1px;height:4px;background:#e24a1a80}
.map-hud .filters button[aria-pressed=true]{background:#e24a1a;color:#fffefb;box-shadow:0 0 0 3px #fffefb}
.map-hud .search{top:5px;left:50%;right:auto;transform:translateX(-50%);width:220px;border-width:0 0 1px;background:#fffefbe6;clip-path:none}
.map-hud .archive-heading{left:50%;bottom:22px;transform:translateX(-50%);padding:4px 10px;border:0;background:#fffefbe6}
.map-hud .network-key{left:50%;right:auto;bottom:4px;transform:translateX(-50%);white-space:nowrap;border:0;padding:2px 8px;background:#fffefbe6}
@media(max-width:700px){
 .map-hud .filters button{min-width:66px;font-size:8px;padding:8px 5px;letter-spacing:0}
 .map-hud .search{width:180px;max-width:70%;top:6px}
 .map-hud .network-key{font-size:8px}
 .node-tag{max-width:80px}
}
@media(max-height:460px){.map-hud .filters button{padding:5px 8px;font-size:8px}.map-hud .archive-heading{bottom:16px}.map-hud .network-key{bottom:0}}

.map-hud .filters button{left:clamp(44px,var(--rim-x),calc(100% - 44px))}
@media(max-width:700px){.map-hud .filters button{left:clamp(34px,var(--rim-x),calc(100% - 34px))}}

/* Map instruments: view switch, search, filter fader, and state readout. */
.view-switch{position:absolute;left:50%;top:5px;transform:translateX(-50%);display:flex;pointer-events:auto;border:1px solid #e24a1a70;background:#fffefbe6}
.view-switch button{border:0;background:none;color:#986a54;padding:8px 15px;font:10px Inter,sans-serif;letter-spacing:.07em;cursor:pointer}
.view-switch button[aria-pressed=true]{background:#e24a1a;color:#fffefb}
.map-hud .search{left:8px;right:auto;top:50%;transform:translateY(-50%);width:165px;max-width:none;border:1px solid #e24a1a70;padding:0 10px;background:#fffefbe6}
.map-hud .filters{inset:auto 8px auto auto;left:auto;top:50%;transform:translateY(-50%);width:104px;height:auto;display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid #e24a1a70;background:#fffefbe6;padding:12px 6px;pointer-events:auto;overflow:visible}
.map-hud .filters button{position:static;transform:none;min-width:28px;width:28px;height:25px;padding:0;clip-path:none;font-size:15px;border:1px solid #e24a1a50;cursor:pointer}
.map-hud .filters button::before{display:none}
.filter-caption{font-size:8px;color:#a66b50;letter-spacing:.13em;text-transform:uppercase}
.filter-value{font-size:10px;color:#ab431e;min-height:24px;display:flex;align-items:center;text-align:center}
#filter-dial{writing-mode:vertical-lr;direction:rtl;width:22px;height:130px;accent-color:#e24a1a;cursor:ns-resize}
.filter-hint{font-size:8px;color:#967d6b;white-space:nowrap}
.map-hud .archive-heading{bottom:8px;max-width:70%;text-align:center}
.map-hud #resultCount{text-transform:none;letter-spacing:.035em;white-space:normal;line-height:1.5}
.records-view{position:absolute;inset:65px 130px 50px 190px;overflow:auto;overscroll-behavior:contain;padding:8px 12px 20px;scrollbar-color:#e24a1a70 transparent;scrollbar-width:thin;z-index:3}
.records-view[hidden]{display:none}
.records-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}
.record-card{min-width:0;display:block}
.record-card img{width:100%;height:145px;object-fit:contain;background:#f5f3ef;display:block}
.record-card h2{font-size:13px;font-weight:500;margin:12px 0 6px;line-height:1.3}
.record-card p{font-size:10px;line-height:1.5;color:var(--muted);margin:0}
.record-card:hover h2{color:var(--accent)}
.records-empty{font-size:13px;color:var(--muted);text-align:center;padding-top:35px}
.archive-map-layout.is-records::before{display:none}
.is-records .project-network{visibility:hidden;pointer-events:none}
.is-records .project-panel:not(.has-selection){display:none}
footer{min-height:42px;gap:12px}
.music-console{display:flex;align-items:center;gap:5px;border:1px solid #e24a1a80;padding:5px 8px;background:#fffefbe6;color:#a74727}
.music-credit{font-size:8px;letter-spacing:.06em;margin-right:6px;white-space:nowrap}
.music-console select{border:0;color:#a74727;background:transparent;font:10px Inter,sans-serif;max-width:155px;cursor:pointer}
.music-console button{border:1px solid #e24a1a40;background:none;color:#a74727;font:10px Inter,sans-serif;min-height:24px;min-width:24px;cursor:pointer}
.music-console #music-play{min-width:42px}
@media(max-width:1050px){.records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.records-view{left:175px}.map-hud .search{width:145px}}
@media(max-width:700px){
 .view-switch{top:5px}.view-switch button{padding:7px 12px;font-size:9px}
 .map-hud .search{top:45px;left:50%;transform:translateX(-50%);width:190px}
 .map-hud .filters{left:50%;right:auto;top:auto;bottom:36px;transform:translateX(-50%);width:90%;padding:7px 10px;display:grid;grid-template-columns:auto 24px 1fr 24px;gap:6px}
 .filter-caption{grid-column:1}.filter-value{grid-column:3;grid-row:1;min-height:16px;font-size:9px}
 .map-hud .filters button[data-step="-1"]{grid-column:2;grid-row:1}.map-hud .filters button[data-step="1"]{grid-column:4;grid-row:1}
 #filter-dial{grid-column:1 / -1;grid-row:2;writing-mode:horizontal-tb;direction:ltr;width:100%;height:18px;cursor:ew-resize}
 .filter-hint{display:none}
 .map-hud .archive-heading{bottom:3px;max-width:100%;width:100%}
 .records-view{inset:90px 0 125px;padding:6px 4px 15px}.records-grid{gap:20px 12px}.record-card img{height:110px}.record-card h2{font-size:11px}.record-card p{font-size:9px}
 footer{align-items:center;min-height:46px}footer>span{font-size:8px}.music-credit{display:none}.music-console{padding:4px;gap:3px}.music-console select{font-size:9px;max-width:110px}.music-console button{min-width:22px}
}
@media(max-height:460px){.map-hud .filters{gap:4px;padding:5px}.filter-caption,.filter-hint{display:none}#filter-dial{height:70px}.records-view{top:45px}.record-card img{height:95px}}

/* Simple archive navigation; the galaxy uses the full rectangular map again. */
.archive-map-layout::before{display:none}
.project-network>canvas,.project-nodes{clip-path:none}
.map-toolbar{position:absolute;inset:0 0 auto;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 24px;padding:8px 0 0;background:#fffefbf5;border-bottom:1px solid #ded8cd;pointer-events:auto}
.map-toolbar .view-switch{position:static;transform:none;justify-self:start;display:flex;gap:18px;border:0;background:none}
.map-toolbar .view-switch button{padding:7px 0;background:none;color:var(--muted);font-size:11px;letter-spacing:.015em;border:0;border-bottom:1px solid transparent}
.map-toolbar .view-switch button[aria-pressed=true]{background:none;color:var(--accent);border-bottom-color:var(--accent)}
.map-hud .map-toolbar .search{position:static;transform:none;width:190px;max-width:none;margin:0;border:0;border-bottom:1px solid #ded8cd;background:none;padding:0;clip-path:none}
.map-hud .map-toolbar .search input{font-size:11px;padding:7px 0}
.map-hud .map-toolbar .filters{position:static;inset:auto;transform:none;grid-column:1 / -1;width:100%;height:auto;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;gap:22px;align-items:center;padding:0;border:0;background:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;pointer-events:auto}
.map-toolbar .filters::-webkit-scrollbar{display:none}
.map-hud .map-toolbar .filters button{position:static;transform:none;flex:0 0 auto;width:auto;height:auto;min-width:0;padding:10px 0 12px;text-align:center;border:0;border-bottom:2px solid transparent;border-radius:0;clip-path:none;background:none;color:var(--muted);font-size:10px;letter-spacing:.01em;box-shadow:none}
.map-hud .map-toolbar .filters button::before{display:none}
.map-hud .map-toolbar .filters button:hover{color:var(--accent)}
.map-hud .map-toolbar .filters button[aria-pressed=true]{background:none;color:var(--accent);border-bottom-color:var(--accent);box-shadow:none}
.map-hud .archive-heading{left:0;bottom:4px;transform:none;width:auto;max-width:100%;padding:5px 0;background:#fffefbd9;text-align:left;justify-content:flex-start}
.records-view{inset:calc(var(--toolbar-height,90px) + 20px) 0 40px;padding:6px 4px 20px}
.records-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
@media(max-width:700px){
 .map-toolbar{gap:8px 20px;padding-top:4px}
 .map-toolbar .view-switch{gap:14px}
 .map-toolbar .view-switch button{font-size:10px}
 .map-hud .map-toolbar .search{width:145px}
 .map-hud .map-toolbar .filters{gap:20px}
 .map-hud .map-toolbar .filters button{font-size:10px;padding:10px 0}
 .records-view{inset:calc(var(--toolbar-height,85px) + 14px) 0 40px;padding:4px 0 15px}
 .records-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .map-hud .archive-heading{width:auto;font-size:9px}
}

/* A quiet music instrument: particles, transport arrows, and a passing title. */
.music-console{position:relative;display:flex;align-items:center;gap:5px;padding:0;border:0;background:none;color:var(--muted);flex-shrink:0}
.music-console button{border:0;background:none;color:#82786b;min-width:26px;min-height:36px;padding:0;font:20px/1 Inter,sans-serif;cursor:pointer;transition:color .2s}
.music-console button:hover{color:var(--accent)}
#music-wave{position:relative;width:180px;height:36px;touch-action:none;cursor:ew-resize;outline-offset:3px}
#music-wave canvas{display:block;width:100%;height:100%;pointer-events:none}
.music-title-clip{position:absolute;right:calc(100% + 12px);top:50%;transform:translateY(-50%);width:200px;height:28px;overflow:hidden;pointer-events:none;display:flex;align-items:center;justify-content:flex-end}
#music-title{display:block;white-space:nowrap;color:#766d60;font:10px/1.4 Inter,sans-serif;letter-spacing:.025em;transform:translateX(110%);opacity:0;transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .45s}
.music-console.show-title #music-title,.music-console:hover #music-title,.music-console:has(:focus-visible) #music-title{transform:translateX(0);opacity:1}
@media(max-width:700px){
 #music-wave{width:135px;height:34px}
 .music-console{gap:1px}.music-console button{min-width:23px;min-height:34px}
 .music-title-clip{right:0;top:-8px;transform:translateY(-100%);width:200px;height:22px;background:#fffefbe6}
 #music-title{font-size:9px}
}
@media(prefers-reduced-motion:reduce){#music-title{transition:none}}

.music-console[data-mode="reactive"] #music-wave{cursor:pointer}

#music-wave{--wave-width:180px;width:var(--wave-width);transition:width .65s cubic-bezier(.2,.7,.2,1)}
.music-console[data-mode="reactive"] #music-wave{width:calc(var(--wave-width) * .5)}
@media(max-width:700px){#music-wave{--wave-width:135px}}
@media(prefers-reduced-motion:reduce){#music-wave{transition:none}}

/* The passing title changes to its authorship credit before retreating. */
.music-title-clip.is-switching #music-title{opacity:0}
/* Waveform and transport collapse together against the right edge. */
.music-console{display:flex;width:auto;gap:5px;justify-content:flex-end}
@media(max-width:700px){.music-console{gap:1px;width:auto}}

.node-tag{left:calc(50% + var(--node-tag-offset,22px))}
.project-node.tag-left .node-tag{left:auto;right:calc(50% + var(--node-tag-offset,22px))}

/* List View: project rows share the map's fine orange outlines and hover HUD. */
.records-view{padding:0 2px 18px;scroll-padding-top:34px}
.records-grid{display:flex;flex-direction:column;gap:5px}
.project-list-heading{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 65px minmax(0,1.1fr);gap:20px;padding:9px 34px 12px 30px;background:var(--bg);color:#a87960;font:9px/1.3 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.record-row{display:grid;grid-template-columns:6px minmax(0,1fr) 65px minmax(0,1.1fr) 14px;align-items:center;gap:20px;min-height:62px;padding:12px 14px;border:1px solid #e24a1a35;border-radius:2px;background:#fffefb9c;transition:background .15s,border-color .15s}
.record-row:hover,.record-row:focus-visible{border-color:#e24a1a99;background:#e24a1a05;color:var(--ink)}
.record-marker{width:4px;height:4px;border-radius:50%;background:var(--accent)}
.record-row h2{margin:0;font:450 14px/1.35 Inter,sans-serif;letter-spacing:-.015em}
.record-year{font:10px/1.4 monospace;color:#aa6f50}
.record-medium{font:10px/1.5 Inter,sans-serif;color:var(--muted);white-space:normal;overflow-wrap:break-word}
.record-arrow{font-size:12px;color:var(--accent)}
.is-records .project-panel.has-selection{display:block}
@media(max-width:700px){
 .map-toolbar{gap:8px 12px}.map-toolbar .view-switch{gap:12px}.map-toolbar .view-switch button{font-size:9px;white-space:nowrap}
 .map-hud .map-toolbar .search{width:130px}
 .project-list-heading{grid-template-columns:minmax(0,1fr) 42px;gap:12px;padding:9px 33px 10px 28px}
 .project-list-heading>span:last-child{display:none}
 .record-row{grid-template-columns:4px minmax(0,1fr) 42px 12px;gap:12px;min-height:58px;padding:11px 12px}
.record-row h2{font-size:12px}.record-medium{display:none}.record-year{font-size:9px}
}

.record-thumbnail{display:none}
@media(max-width:700px){
 .is-records .project-panel{display:none!important}
 .records-view{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scroll-padding-top:8px;padding:4px 0 18px}
 .project-list-heading{display:none}
 .records-grid{gap:16px}
 .record-row{grid-template-columns:minmax(0,1fr) auto 16px;grid-template-rows:auto auto auto;align-items:center;gap:12px 14px;min-height:0;padding:14px;touch-action:pan-y}
 .record-row .record-thumbnail{display:block;grid-column:1 / -1;grid-row:1;align-self:stretch;width:100%;height:auto;aspect-ratio:4 / 3;object-fit:contain;background:#f5f3ee}
 .record-marker{display:none}
 .record-row h2{grid-column:1;grid-row:2;font-size:16px;line-height:1.35}
 .record-year{grid-column:2;grid-row:2;font-size:10px;line-height:1.5}
 .record-medium{display:block;grid-column:1 / -1;grid-row:3;font-size:12px;line-height:1.6;white-space:normal}
 .record-arrow{grid-column:3;grid-row:2;align-self:center}
 .map-toolbar .view-switch button{min-height:44px;font-size:10px}
 .map-hud .map-toolbar .filters button{min-height:44px;font-size:10px;padding:12px 0}
 .map-hud .map-toolbar .search input{min-height:44px}
}
