/* A single archive toolbar, rather than a row of separate raised buttons. */
body>header{height:60px;min-height:60px;margin:8px 10px 0;padding:0;display:flex;gap:0;position:relative;background:linear-gradient(#fafbfc,#e8ebef);border:1px solid #aeb8c7;border-top:2px solid #35577f;box-shadow:0 2px 0 #ffffffb0,0 3px 8px #253c5810;isolation:isolate}
body>header .brand{display:flex;align-items:center;align-self:stretch;padding:0 23px;font:900 29px/1 Arial,Helvetica,sans-serif;letter-spacing:-1.8px;color:#253f63;text-shadow:0 1px #fff;border-right:1px solid #c2cad5;box-shadow:1px 0 #fff;white-space:nowrap}
body>header .brand>span{font-size:7px;letter-spacing:0;align-self:center;margin:0 0 19px 3px}
body>header .header-links{display:flex;align-items:stretch;gap:0;flex:1;margin:0;max-width:none;justify-content:flex-start;flex-wrap:nowrap}
body>header .header-links>button,body>header .header-links>a{display:flex;align-items:center;justify-content:center;gap:9px;height:auto;min-width:92px;margin:0;padding:0 20px;font:10px Tahoma,Arial,sans-serif;letter-spacing:.025em;border:0;border-radius:0;background:transparent;box-shadow:none;color:#53657e;position:relative;text-decoration:none;white-space:nowrap;transition:background .14s,color .14s}
body>header #index-toggle{order:0}
body>header #open-about{order:1}
body>header #open-television{order:2;min-width:150px;font-size:9px}
body>header .header-links>a{order:3;margin-left:auto;font-size:9px;min-width:115px;color:#35577f;border-left:1px solid #ccd3dd}
body>header .header-links>button:before{font:9px 'Courier New',monospace;color:#94a2b4;letter-spacing:0}
body>header #index-toggle:before{content:'01'}body>header #open-about:before{content:'02'}body>header #open-television:before{content:'03'}
body>header .header-links>button:after{content:'';position:absolute;left:17px;right:17px;bottom:0;height:2px;background:#35577f;opacity:0}
body>header .header-links>button:hover,body>header .header-links>a:hover{background:#dce5f0;color:#233f65}
body>header .header-links>button:hover:after{opacity:.4}
body>header #index-toggle>span{display:none}
body>header .header-tv-icon{width:12px;height:9px;margin-right:-3px;color:#6b809e}
body.archive-open>header #index-toggle,body.about-open>header #open-about,body.television-open>header #open-television{background:linear-gradient(#e3ebf5,#d3deed);border:0;box-shadow:none;color:#233f65}
body.archive-open>header #index-toggle:after,body.about-open>header #open-about:after,body.television-open>header #open-television:after{opacity:1}
body>header .language-switch{order:4;align-items:center;margin:0;padding:0 15px;gap:3px;border-left:1px solid #ccd3dd}
body>header .language-switch button{margin:0;padding:5px 4px;min-width:22px;height:25px;background:transparent;border:0;box-shadow:none;font:9px Tahoma,Arial,sans-serif;color:#8c98a9;text-decoration:none}
body>header .language-switch button[aria-pressed=true]{color:#29496f;font-weight:700;background:#d7e1ed;box-shadow:inset 0 -1px #718dad}
@media(max-width:1050px) and (min-width:641px){body>header .brand{padding:0 16px;font-size:26px}body>header .header-links>button{padding:0 13px;min-width:80px}body>header #open-television{min-width:135px;gap:6px}body>header .header-links>a{padding:0 12px;min-width:94px}body>header .language-switch{padding:0 9px}}
@media(max-width:760px) and (min-width:641px){body>header .header-links>button:before{display:none}body>header .header-links>button{min-width:65px;padding:0 9px}body>header #open-television{min-width:120px}body>header .brand{font-size:24px;padding:0 12px}}
@media(max-width:640px){
 body>header{height:83px;min-height:83px;margin:5px 6px 0;padding:0;display:grid;grid-template-rows:43px 37px;grid-template-columns:1fr;gap:0;border-top-width:2px}
 body>header .brand{justify-self:start;align-self:stretch;display:flex;font-size:26px;padding:0 13px;border:0;box-shadow:none}
 body>header .header-links{display:flex;max-width:none;width:100%;gap:0;margin:0;align-items:stretch;border-top:1px solid #c8d0db;box-shadow:inset 0 1px #fff}
 body>header .header-links>button,body>header .header-links>a{flex:1;min-width:0;padding:0 7px;gap:5px;font-size:9px}
 body>header .header-links>button:before{font-size:8px}
 body>header #open-television{flex:1.5;min-width:0;font-size:8px;gap:4px}
 body>header .header-links>a{margin:0;min-width:0;font-size:8px;border-left:1px solid #ccd3dd}
 body>header .header-tv-icon{display:none}
 body>header .language-switch{position:absolute;right:10px;top:8px;height:26px;border:0;padding:0;gap:5px}
 body>header .language-switch button{font-size:10px;min-width:25px;height:25px}
 body>header .header-links>button:after{left:9px;right:9px}
}
@media(prefers-reduced-motion:reduce){body>header .header-links>button,body>header .header-links>a{transition:none}}
/* The archive index belongs to Explore; the TV is an inviting destination icon. */
body>header #open-about{order:0;min-width:100px}
body>header #open-about:before{content:none}
body>header #open-television{order:1;min-width:82px;padding:0 17px;overflow:visible}
body>header #open-television:before,body>header #open-television:after{content:none}
.header-tv-logo{display:block;color:#3b5b83;overflow:visible;transition:transform .2s ease}
.header-tv-logo .tv-aerial,.header-tv-logo .tv-speaker-lines{stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.header-tv-logo .tv-shell{fill:#d6dfeb;stroke:currentColor;stroke-width:1.5}
.header-tv-logo .tv-display{fill:#2d4565;stroke:#f6f9fd;stroke-width:1}
.header-tv-logo .tv-shine{stroke:#b8d5f2;stroke-width:1.5;stroke-linecap:round;opacity:.7}
.header-tv-logo .tv-knob{fill:currentColor}
.header-tv-logo .tv-screen-play{fill:#e4f1ff;opacity:.85}
body>header #open-television:hover{background:transparent}
body>header #open-television:hover .header-tv-logo,body>header #open-television:focus-visible .header-tv-logo{transform:translateY(-2px) rotate(-4deg)}
body>header #open-television:hover .tv-display{fill:#426f9f}
body.television-open>header #open-television{background:transparent}
body.television-open>header #open-television .tv-display{fill:#5d88ba}
body>main .caption{position:relative;gap:12px;min-height:30px}
body>main .caption #index-toggle{order:3;margin-left:auto;display:flex;align-items:center;gap:7px;flex-shrink:0;padding:5px 10px;background:#f0f3f7d9;border:1px solid #a9b7ca;color:#35577f;box-shadow:inset 0 1px #fff;font:9px Tahoma,Arial,sans-serif;cursor:pointer}
body>main .caption #index-toggle>span{font-size:12px}
body>main .caption #index-toggle:before{content:'';width:12px;height:9px;display:block;background:repeating-linear-gradient(to bottom,currentColor 0,currentColor 1px,transparent 1px,transparent 3px);opacity:.8}
body>main .caption #index-toggle:hover{background:#dce6f3}
body.archive-open>main .caption #index-toggle{background:#35577f;color:white;border-color:#35577f;box-shadow:none}
body>main .caption #project-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body>main .caption #project-category{margin-left:auto;white-space:nowrap}
@media(max-width:640px){body>header #open-about{flex:1;min-width:0}body>header #open-television{flex:1;min-width:0;padding:0 10px}.header-tv-logo{width:31px;height:28px}body>header .header-links>a{flex:1}body>main .caption{gap:8px;min-height:32px}body>main .caption #index-toggle{padding:5px 8px;font-size:8px}body>main .caption #project-category{display:none}}
@media(prefers-reduced-motion:reduce){.header-tv-logo{transition:none}}

/* Restore the original minimal television outline, with no extra artwork. */
body>header #open-television .header-tv-icon{display:inline-block;width:19px;height:14px;border:1px solid currentColor;border-radius:2px;margin:0;color:#35577f}
body>header #open-television:hover .header-tv-icon{color:#1c3b65}

/* A tiny TV perched on a head, inspired by the reference character. */
body>header #open-television{min-width:86px;padding:0 17px;align-items:center;background:transparent}
.tv-head-mark{display:block;flex:none;overflow:visible;transform-origin:50% 85%;transition:transform .2s ease}
body>header #open-television:hover .tv-head-mark,body>header #open-television:focus-visible .tv-head-mark{transform:rotate(-4deg) translateY(-1px)}
body>header #open-television:hover .tv-head-screen,body.television-open>header #open-television .tv-head-screen{fill:#42697d}
body>header #open-television:hover .tv-head-signal{fill:#fff4c4}
@media(max-width:640px){body>header #open-television{min-width:0;overflow:visible}.tv-head-mark{width:40px;height:43px;margin-top:-5px}}
@media(prefers-reduced-motion:reduce){.tv-head-mark{transition:none}}

/* A miniature of the actual television room is the entry point. */
body>header #open-television{min-width:100px;padding:0 12px}
.room-entry{position:relative;display:block;width:76px;height:49px;overflow:hidden;border:1px solid #6f7978;border-radius:2px;background:url('assets/tv-room-photo.png?v=user-edit-1') center/cover;box-shadow:inset 0 0 0 1px #ffffff38,0 1px 2px #1b2e3b44;transition:transform .18s,filter .18s}
.room-entry-cabinet{position:absolute;display:block;width:59px;max-width:none;left:8px;bottom:3px;height:auto;filter:drop-shadow(0 1px 1px #0008)}
.room-entry-tv{position:absolute;display:block;left:23px;top:6px;width:30px;height:26px;overflow:hidden;clip-path:polygon(2% 1%,98% 1%,99% 98%,1% 98%)}.room-entry-tv img{display:block;width:100%;height:100%}.room-entry-tv i{position:absolute;left:14%;top:9%;width:72%;height:63%;background:linear-gradient(135deg,#647f8d,#a2bcb8 46%,#556e7a);box-shadow:0 0 5px #cde5ec66}
#open-television:hover .room-entry,#open-television:focus-visible .room-entry{transform:scale(1.07);filter:brightness(1.13)}
body.television-open #open-television .room-entry{box-shadow:0 0 0 1px #345b80,0 0 7px #678eae55}
@media(max-width:640px){body>header #open-television{padding:0 8px;min-width:78px}.room-entry{width:63px;height:40px}.room-entry-cabinet{width:49px;left:6px;bottom:2px}.room-entry-tv{width:26px;height:22px;left:18px;top:4px}}
@media(prefers-reduced-motion:reduce){.room-entry{transition:none}}

/* Compact 2000s web banner, with a correctly proportioned CRT thumbnail. */
body>header #open-television{min-width:151px;padding:0 10px}
.room-entry{width:128px;height:39px;border-radius:0;border:1px solid #6f7974;background-position:50% 60%;box-shadow:inset 1px 1px #d8d9b96b,inset -1px -1px #142b2380,1px 1px #32483c55;image-rendering:auto}
.room-entry:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,#0d211719 2px 3px);z-index:3}
.room-entry-cabinet{width:43px;left:4px;bottom:2px;height:auto}
.room-entry-tv{width:29px;height:auto;aspect-ratio:736/629;left:11px;top:3px}.room-entry-tv img{width:100%;height:auto}.room-entry-tv i{background:linear-gradient(135deg,#446c77,#9fc1bb 45%,#375d6c)}
.room-entry-label{position:absolute;right:7px;top:12px;color:#f5f3d7;text-shadow:1px 1px #152b25,-1px 0 #152b2580;font:bold 12px/1 'Courier New',monospace;letter-spacing:.015em;z-index:4}
#open-television:hover .room-entry,#open-television:focus-visible .room-entry{transform:translateY(-1px);filter:brightness(1.12)}
@media(max-width:640px){body>header #open-television{min-width:116px;padding:0 6px}.room-entry{width:104px;height:33px}.room-entry-cabinet{width:36px;left:3px;bottom:1px}.room-entry-tv{width:25px;height:auto;left:8px;top:2px}.room-entry-label{font-size:10px;right:5px;top:10px}}

/* Restore the TV-head entry icon. */
body>header #open-television{min-width:86px;padding:0 17px}.tv-head-mark{display:block;width:50px;height:53px;overflow:visible;transition:transform .2s ease}#open-television:hover .tv-head-mark{transform:rotate(-4deg)}
@media(max-width:640px){body>header #open-television{min-width:68px;padding:0 10px}.tv-head-mark{width:40px;height:43px}}
@media(prefers-reduced-motion:reduce){.tv-head-mark{transition:none}}

/* Stepped, sprite-like idle animation for the TV-head character. */
.tv-head-eyes{transform-box:fill-box;transform-origin:center;animation:tv-eye-sprite 7.2s steps(1,end) infinite}
.tv-head-signal{transform-box:fill-box;transform-origin:center;animation:tv-signal-sprite 3.8s steps(1,end) infinite}
.tv-head-screen{animation:tv-screen-sprite 5.6s steps(1,end) infinite}
@keyframes tv-eye-sprite{0%,13%,47%,75%,100%{transform:translateX(0) scaleY(1)}14%,28%{transform:translateX(1.5px) scaleY(1)}29%,31%,72%,74%{transform:translateX(0) scaleY(.15)}32%,46%{transform:translateX(-1.5px) scaleY(1)}76%,89%{transform:translateX(.7px) scaleY(1)}}
@keyframes tv-signal-sprite{0%,100%{transform:scale(1) rotate(0deg);opacity:1}17%{transform:scale(.8,1.15) rotate(-12deg)}34%{transform:scale(1.18,.65) skewX(-14deg) rotate(7deg)}51%{transform:translate(1px,-1px) scale(.72,1.05) rotate(24deg)}68%{transform:scale(1.1,.9) skewX(13deg) rotate(-18deg)}85%{transform:translate(-1px,1px) scale(.92,1.16) rotate(5deg)}}
@keyframes tv-screen-sprite{0%,38%,42%,100%{fill:#243e50}39%{fill:#38565d}40%{fill:#1d3344}70%,73%{fill:#29494f}}
#open-television:hover .tv-head-eyes{animation-duration:3.6s}#open-television:hover .tv-head-signal{animation-duration:1.7s}
@media(prefers-reduced-motion:reduce){.tv-head-eyes,.tv-head-signal,.tv-head-screen{animation:none}}
.tv-head-signal{animation-name:tv-signal-sprite,tv-signal-shape;animation-duration:3.8s,3.8s;animation-timing-function:steps(1,end);animation-iteration-count:infinite}
@keyframes tv-signal-shape{0%,100%{d:path('M29 30c3-8 7-14 13-14 3 0 5 1 7 3-5-1-7 2-9 5-3 5-6 7-11 6Z')}25%{d:path('M29 27c2-4 7-11 13-11 4 0 7 3 7 6-4-2-7 1-9 5-4 4-8 5-11 0Z')}50%{d:path('M29 30c0-9 6-14 13-14 3 0 6 2 7 5-6-3-4 7-9 6-4 1-7 5-11 3Z')}75%{d:path('M29 26c6-2 4-10 13-10 4 0 6 1 7 5-4 0-5 4-9 6-5 1-8 6-11-1Z')}}
#open-television:hover .tv-head-signal{animation-duration:1.7s,1.7s}
@media(prefers-reduced-motion:reduce){.tv-head-signal{animation:none}}

.tv-head-mark{width:50px;height:36px}@media(max-width:640px){.tv-head-mark{width:40px;height:29px}}
/* Static rectangular TV banner; no rotation on hover. */
body>header #open-television{min-width:108px;padding:0 12px}
.tv-head-mark{width:76px;height:39px;padding:3px 12px;box-sizing:border-box;border:1px solid #8e9aa8;border-radius:0;background:linear-gradient(#e8edf1,#cdd6df);box-shadow:inset 1px 1px #fff,inset -1px -1px #a8b3bf,1px 1px #c0c6ce;transform:none!important;transition:background .15s,box-shadow .15s}
#open-television:hover .tv-head-mark,#open-television:focus-visible .tv-head-mark{transform:none!important;background:linear-gradient(#f1f4f6,#dae2e9);box-shadow:inset 1px 1px #fff,inset -1px -1px #9daaba,1px 1px #acb8c4}
body.television-open #open-television .tv-head-mark{background:linear-gradient(#c5d0de,#dce4ec);box-shadow:inset 1px 1px #8b9bad,inset -1px -1px #f7f9fb}
@media(max-width:640px){body>header #open-television{min-width:85px;padding:0 8px}.tv-head-mark{width:64px;height:32px;padding:2px 10px}}

/* Early-web advert for the personal TV station. */
body>header #open-television{min-width:265px;padding:0 12px}
.televisions-ad{position:relative;width:240px;height:47px;display:flex;align-items:center;justify-content:space-between;padding:3px 10px 3px 12px;box-sizing:border-box;overflow:hidden;background:repeating-linear-gradient(90deg,transparent 0 43px,#e4e1d7 44px 47px,#505453 48px 50px,transparent 51px 53px),linear-gradient(#fb4a0b 0 32%,#b34018 49%,#252724 84%);border:1px solid #687271;box-shadow:inset 1px 1px #fff9,inset -1px -1px #0008,1px 1px #aeb6bc;isolation:isolate}
.televisions-ad:after{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,#161a1722 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#f6efce10 2px 3px)}
.ad-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px;transform:skew(-5deg)}
.ad-copy strong{font:900 21px/.95 Arial,Helvetica,sans-serif;letter-spacing:-1px;color:#fff9e8;-webkit-text-stroke:.35px #19211c;text-shadow:2px 2px #121a15,3px 3px #121a15}
.ad-copy small{font:bold 7px/1 'Courier New',monospace;letter-spacing:.07em;color:#fff6d8;background:#17201bcc;padding:2px 3px;text-shadow:1px 1px #000}
.televisions-ad .tv-head-mark{position:relative;z-index:2;flex:none;width:47px;height:36px;padding:0;background:none!important;border:0;box-shadow:none!important;filter:drop-shadow(2px 2px 0 #121a15)}
#open-television:hover .televisions-ad,#open-television:focus-visible .televisions-ad{filter:brightness(1.13)}
@media(max-width:640px){body>header #open-television{min-width:192px;padding:0 5px}.televisions-ad{width:180px;height:34px;padding:2px 6px}.ad-copy strong{font-size:16px;letter-spacing:-.8px}.ad-copy{gap:2px}.ad-copy small{font-size:5px;padding:1px 2px}.televisions-ad .tv-head-mark{width:36px;height:28px}}
@media(max-width:380px){body>header #open-television{min-width:165px}.televisions-ad{width:156px}.ad-copy strong{font-size:14px}.televisions-ad .tv-head-mark{width:30px}}

/* Photographic bedroom advert with a softer broadcast wordmark. */
.televisions-ad{background:linear-gradient(90deg,#101b1b88,#101b1b20 68%,#0a171633),url('assets/tv-room-photo.png?v=user-edit-1') 50% 42%/cover no-repeat;border-color:#77837a;box-shadow:inset 1px 1px #d8dfc86b,inset -1px -1px #14251d,1px 1px #aeb6b0}
.televisions-ad:after{background:repeating-linear-gradient(0deg,transparent 0 2px,#13261c14 2px 3px);opacity:.6}
.ad-copy{transform:none;gap:0}.ad-copy strong{position:relative;font:900 25px/1 Arial,Helvetica,sans-serif;font-style:italic;letter-spacing:-1.4px;color:#e8f0cf;-webkit-text-stroke:0;text-shadow:1px 1px #243e2c,2px 2px #243e2c,3px 3px #0c1c14}
.ad-copy strong>span{font:8px/1 Arial,sans-serif;vertical-align:top;margin-left:3px;letter-spacing:0;display:inline-block;padding-top:1px}
.televisions-ad .tv-head-mark{filter:drop-shadow(1px 2px 1px #0008)}
@media(max-width:640px){.ad-copy strong{font-size:19px;letter-spacing:-1px}.ad-copy strong>span{font-size:6px;margin-left:2px}}
@media(max-width:380px){.ad-copy strong{font-size:17px}}
/* Place the advert beside DESIDERI at the right end of the toolbar. */
body>header #open-television{order:2;margin-left:auto}
body>header .header-links>a{order:3;margin-left:0}
@media(max-width:640px){body>header #open-television{margin-left:auto;flex:0 1 auto}body>header #open-about{flex:1;min-width:60px}body>header .header-links>a{flex:0 0 auto}}
.ad-copy strong{font-weight:400;font-style:normal;letter-spacing:0;text-shadow:1px 1px #12251bcc}

/* ABOUT sits beneath the signature as a small rectangular tab. */
body>header .brand-stack{display:flex;flex-direction:column;align-items:stretch;justify-content:center;flex-shrink:0;width:167px;padding:4px 12px;gap:3px;border-right:1px solid #c2cad5;box-shadow:1px 0 #fff}
body>header .brand-stack .brand{padding:0;align-self:center;border:0;box-shadow:none;font-size:27px;height:29px}
body>header .brand-stack #open-about{display:block;position:relative;min-width:0;width:100%;height:15px;min-height:15px;margin:0;padding:0 6px;border:1px solid #a8b4c3;border-radius:0;background:linear-gradient(#f6f8fa,#dce2e9);box-shadow:inset 1px 1px #fff;font:8px/13px Tahoma,Arial,sans-serif;letter-spacing:.09em;color:#425979;cursor:pointer}
body>header .brand-stack #open-about:hover,body.about-open>header .brand-stack #open-about{background:#d5e0ed;color:#213e65}
body>header .brand-stack #open-about:before,body>header .brand-stack #open-about:after{content:none}
@media(max-width:640px){body>header .brand-stack{width:145px;padding:1px 12px;gap:1px;border:0;box-shadow:none;align-self:stretch}.brand-stack .brand{justify-self:auto}body>header .brand-stack .brand{font-size:25px;height:25px}body>header .brand-stack #open-about{height:12px;min-height:12px;font-size:7px;line-height:10px}}

/* Language selection belongs to the footer. */
body>footer{gap:14px}body>footer>span:nth-child(2){margin-left:auto}
body>footer .language-switch{display:flex;align-items:center;gap:2px;padding:0 0 0 10px;margin:0;border-left:1px solid #b7bfca;position:static}
body>footer .language-switch button{display:block;min-width:24px;height:20px;margin:0;padding:0 4px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#748092;font:9px/20px Tahoma,Arial,sans-serif;cursor:pointer}
body>footer .language-switch button[aria-pressed=true]{color:#29496f;background:#d6dee9;box-shadow:inset 0 -1px #718dad;font-weight:bold}
@media(max-width:640px){body>header{display:flex;height:60px;min-height:60px;align-items:stretch}body>header .brand-stack{width:140px;padding:4px 10px;gap:3px}body>header .header-links{width:auto;border-top:0;box-shadow:none}body>header #open-television{margin-left:auto;min-width:0;padding:0 7px}body>footer{gap:6px}body>footer .language-switch{padding-left:5px}body>footer .language-switch button{min-width:22px}}
/* Floating signature and advert, without the full-width toolbar strip. */
body>header{background:transparent;border-color:transparent;border-top-color:transparent;box-shadow:none}
body>header .brand-stack{border-right:0;box-shadow:none}
body>header #open-television,body>header #open-television:hover,body.television-open>header #open-television{background:transparent;box-shadow:none;border:0}
body>header .header-links{background:transparent;border:0;box-shadow:none}

/* One continuous dotted canvas, including the space behind the header. */
body:after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,#bac1cb .7px,transparent .95px);background-size:var(--page-grid-step,24px) var(--page-grid-step,24px);background-position:var(--page-grid-x,0px) var(--page-grid-y,0px)}
#stage{background-image:none}
body.television-open:after{display:none}
/* Keep the signature and ABOUT in their own box on the dotted canvas. */
body>header .brand-stack{background:linear-gradient(#fafbfc,#e8ebef);border:1px solid #aeb8c7;border-top:2px solid #35577f;box-shadow:inset 1px 1px #fff,0 2px 0 #ffffffb0,0 3px 6px #253c5818}
/* Match the advert height to the signature box. */
body>header #open-television{align-self:stretch;align-items:stretch;padding-top:0;padding-bottom:0}
.televisions-ad{height:100%;min-height:57px}
@media(max-width:640px){.televisions-ad{height:100%;min-height:57px}}

/* Advert belongs to the Explore surface rather than the header. */
body>main{position:relative}
body>main>#open-television{position:absolute;right:7px;top:8px;z-index:55;display:block;margin:0;padding:0;min-width:0;height:58px;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer}
body>main>#open-television .televisions-ad{height:58px;min-height:0;width:240px}
body>main>#open-television:focus-visible{outline:2px solid #35577f;outline-offset:3px}
body.archive-open>main>#open-television,body.about-open>main>#open-television,body:has(#viewer[open])>main>#open-television{visibility:hidden}
@media(max-width:640px){body>main>#open-television{right:2px;top:6px;height:40px}body>main>#open-television .televisions-ad{width:180px;height:40px}}

/* Interlinked is a real archive frame, positioned by the scene layout. */
#mosaic>#open-television.interlinked-tile{position:absolute;margin:0;padding:0;min-width:0;border-radius:0;background:#23332a;box-shadow:none;cursor:pointer;z-index:auto}
#mosaic .interlinked-tile .televisions-ad{position:absolute;inset:0;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:10%;background:linear-gradient(90deg,#07120b66,#07120b11),url('assets/tv-room-photo.png?v=user-edit-1') center/cover;border:1px solid #81948a;container-type:inline-size}
#mosaic .interlinked-tile .ad-copy strong{font-size:clamp(16px,15cqw,46px);letter-spacing:-.03em}
#mosaic .interlinked-tile .televisions-ad .tv-head-mark{width:25%;height:auto;aspect-ratio:76/54}
#mosaic .interlinked-tile .frame-title{z-index:4}

/* The room entry reads as an advert rather than a project thumbnail. */
#mosaic>#open-television.interlinked-tile{border-radius:14px 3px 14px 3px;border:2px solid #c7e5a3;overflow:visible;box-shadow:0 0 0 2px #485b3766,0 0 17px #a5c95a99,0 0 34px #cee99866;animation:interlinked-ad-glow 2.8s ease-in-out infinite}
#mosaic .interlinked-tile .televisions-ad{border-radius:11px 1px 11px 1px;overflow:hidden;border:0;background:linear-gradient(90deg,#17281288,#23331222),url('assets/tv-room-photo.png?v=user-edit-1') center/cover;padding:7% 8%}
#mosaic .interlinked-tile .ad-copy strong{color:#efffbe;font-size:clamp(17px,17cqw,48px);text-shadow:1px 1px #193021,0 0 5px #e6ffac66}
#mosaic .interlinked-tile:after{content:'ENTRA ↗';position:absolute;bottom:5px;right:7px;font:bold 7px/1 'Courier New',monospace;color:#e5f8c1;letter-spacing:.05em;z-index:5;pointer-events:none}
#mosaic .interlinked-tile .frame-title{background:#e8f2d2;color:#344a2a;border-radius:0 0 3px 3px}
#mosaic .interlinked-tile:hover{border-color:#f4ffd4;filter:brightness(1.08)}
@keyframes interlinked-ad-glow{0%,100%{box-shadow:0 0 0 2px #485b3766,0 0 12px #a5c95a77,0 0 26px #cee99844}50%{box-shadow:0 0 0 2px #485b3766,0 0 21px #a5c95abb,0 0 40px #cee99888}}
@media(prefers-reduced-motion:reduce){#mosaic>#open-television.interlinked-tile{animation:none}}

/* Warm bedroom light, with the advert placed among the central works. */
#mosaic .interlinked-tile:after{content:none}
#mosaic>#open-television.interlinked-tile{border-color:#d9b889;animation-name:interlinked-warm-glow;box-shadow:0 0 0 1px #76563b77,0 0 14px #dca36c66,0 0 27px #f0c49344}
#mosaic .interlinked-tile .televisions-ad{background:linear-gradient(90deg,#38251977,#533a2022),url('assets/tv-room-photo.png?v=user-edit-1') center/cover;box-shadow:inset 0 0 14px #e7b27622}
#mosaic .interlinked-tile .ad-copy strong{color:#fff0d3;text-shadow:1px 1px #3e291e,0 0 4px #eecb9b55}
#mosaic .interlinked-tile .frame-title{background:#f3e6d5;color:#654a33}
#mosaic .interlinked-tile:hover{border-color:#f6dcb8}
@keyframes interlinked-warm-glow{0%,100%{box-shadow:0 0 0 1px #76563b77,0 0 10px #dca36c44,0 0 23px #f0c49322}50%{box-shadow:0 0 0 1px #76563b77,0 0 17px #dca36c77,0 0 31px #f0c49344}}

#mosaic .interlinked-tile .ad-copy strong{font-size:clamp(16px,13cqw,40px);line-height:.96;letter-spacing:-.025em;text-align:left}

#mosaic .interlinked-tile .ad-copy strong{font-weight:700;line-height:1;font-size:clamp(16px,15cqw,44px)}
/* Balance the monitor with the two-line wordmark. */
#mosaic .interlinked-tile .televisions-ad{padding:6% 7%;gap:5%}
#mosaic .interlinked-tile .televisions-ad .tv-head-mark{width:39%;height:auto;aspect-ratio:76/54;max-height:95%;padding:0;flex-shrink:0}
#mosaic>#open-television.interlinked-tile,#mosaic .interlinked-tile .televisions-ad,#mosaic .interlinked-tile .frame-title{border-radius:0}

/* A small personal record beside the archive signature. */
body>header .profile-card{display:flex;align-items:stretch;flex:none;align-self:stretch;width:248px;min-width:0;margin:0 0 0 10px;padding:0;border:1px solid #9ca8b3;border-top:2px solid #556777;border-radius:0;background:linear-gradient(#fafbf8,#e6e9e5);box-shadow:inset 1px 1px #fff,1px 2px #bac3cc55;cursor:pointer;text-align:left;color:#344858}
.profile-photo{position:relative;display:block;flex:none;width:59px;overflow:hidden;border-right:1px solid #aeb6ba;background:#fff}.profile-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 28%;filter:grayscale(1) contrast(1.55);mix-blend-mode:multiply}.profile-photo:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,#23342a12 2px 3px);opacity:.6}
.profile-record{padding:6px 9px 5px;display:flex;flex-direction:column;justify-content:space-between;flex:1;min-width:0;font:8px/1 'Courier New',monospace}.profile-record-top{display:flex;justify-content:space-between;color:#7a858b;font-size:7px;letter-spacing:.06em;border-bottom:1px solid #a9b2b655;padding-bottom:3px}.profile-record strong{font:700 11px/1.1 Tahoma,Arial,sans-serif;letter-spacing:.015em;white-space:nowrap}.profile-record-bottom{display:flex;justify-content:space-between;font-size:8px;color:#65757b}.profile-record-bottom span{font-size:6px;letter-spacing:.03em}
body>header .profile-card:hover{background:#f9fcf8;border-color:#688495}body>header .profile-card:focus-visible{outline:2px solid #35577f;outline-offset:3px}
@media(max-width:640px){body>header .brand-stack{width:133px;flex:none}body>header .profile-card{width:200px;flex:0 1 200px;margin-left:7px}.profile-photo{width:46px}.profile-record{padding:5px 7px}.profile-record strong{font-size:9px}.profile-record-bottom span{font-size:5px}body>header .header-links{flex:0}}
@media(max-width:370px){body>header .profile-card{width:182px;margin-left:5px}.profile-record strong{font-size:8px}.profile-photo{width:41px}}
body>header .profile-card{text-align:left;justify-content:flex-start}
.profile-record{align-items:flex-start;text-align:left}
.profile-record-top{width:100%}.profile-record strong{align-self:flex-start;text-align:left}.profile-record-bottom{justify-content:flex-start;gap:12px;text-align:left}
/* Cancel legacy header-button span indents inside the personal record. */
body>header{justify-content:flex-start}
body>header #profile-card{margin-left:8px;margin-right:0;justify-content:flex-start;text-align:left}
body>header #profile-card span{margin-left:0;margin-right:0}
body>header #profile-card .profile-photo{align-self:stretch}
body>header #profile-card .profile-record{align-items:flex-start;padding-left:8px;text-align:left}
body>header #profile-card .profile-record-top{font-size:7px;justify-content:flex-start;gap:8px}
body>header #profile-card .profile-record-top>span{font-size:8px}
body>header #profile-card .profile-record-bottom{font-size:8px;justify-content:flex-start;gap:12px}
body>header #profile-card .profile-record-bottom>span{font-size:6px}

/* A lower, tighter advert silhouette within the archive. */
#mosaic .interlinked-tile .televisions-ad{padding:3% 7%;gap:6%;align-items:center}
#mosaic .interlinked-tile .ad-copy{gap:0;margin:0}
#mosaic .interlinked-tile .ad-copy strong{display:block;line-height:.78;letter-spacing:-.035em;font-size:clamp(15px,14cqw,40px)}
#mosaic .interlinked-tile .televisions-ad .tv-head-mark{width:30%;height:auto;max-height:90%;aspect-ratio:76/54}

/* A preview of the actual Toshiba replaces the animated icon. */
#mosaic .interlinked-tile .ad-real-tv{position:relative;display:block;flex:0 0 34%;width:34%;aspect-ratio:736/629;height:auto;margin:0;filter:drop-shadow(1px 2px 1px #20140d88);clip-path:polygon(2% 1.3%,98% 1.3%,99% 98%,1% 98%)}
.ad-real-tv img{position:static!important;display:block!important;width:100%!important;height:auto!important;inset:auto!important;object-fit:contain!important}
.ad-real-tv i{position:absolute;left:14.15%;top:9.2%;width:71.9%;height:63.15%;background:linear-gradient(#00000018,#00000018),url('assets/tv-room-photo.png?v=user-edit-1') center/cover;border-radius:1%;box-shadow:inset 0 0 3px #0006}
/* Static signal confined to the miniature CRT display. */
.ad-real-tv i{background:#192321 url('assets/locked-static.png') repeat;background-size:75px 75px;animation:ad-tv-static .22s steps(1,end) infinite;box-shadow:inset 0 0 5px #0009}
@keyframes ad-tv-static{0%{background-position:0 0}20%{background-position:-17px 9px}40%{background-position:11px -23px}60%{background-position:-9px -11px}80%{background-position:21px 17px}}
@media(prefers-reduced-motion:reduce){.ad-real-tv i{animation:none}}

/* Animated eyes and a plain identity record. */
body>header .eyes-stack{width:190px;padding:0;overflow:hidden;border:1px solid #aeb8c7;background:#fff;box-shadow:inset 1px 1px #fff,0 2px 3px #253c5818}
body>header .eyes-stack #open-about{width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;background:#fff;box-shadow:none;display:block;overflow:hidden;cursor:pointer}
.eyes-stack img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body>header #profile-card.info-only{width:177px;cursor:default;background:#f6f8f3e6;border:1px solid #a5b0b9;box-shadow:inset 1px 1px #fff}
body>header #profile-card.info-only .profile-record{padding:9px 12px;justify-content:center;gap:8px}
body>header #profile-card.info-only strong{font:bold 17px/1 Arial,Helvetica,sans-serif;letter-spacing:-.5px;color:#2e4257}
body>header #profile-card.info-only .profile-record-bottom{gap:16px;align-items:center}
body>header #profile-card.info-only .profile-record-bottom span{font:8px/1 'Courier New',monospace;letter-spacing:0;color:#63757e}
@media(max-width:640px){body>header .eyes-stack{width:158px;padding:0}body>header #profile-card.info-only{width:154px;flex:0 1 154px}body>header #profile-card.info-only .profile-record{padding:8px 10px;gap:8px}body>header #profile-card.info-only strong{font-size:16px}body>header #profile-card.info-only .profile-record-bottom{gap:11px}body>header #profile-card.info-only .profile-record-bottom span{font-size:7px}}
@media(max-width:370px){body>header .eyes-stack{width:143px}body>header #profile-card.info-only{width:145px;flex-basis:145px}}

/* Floating identity blocks do not reserve or block an invisible toolbar. */
body>header{position:fixed;left:10px;right:10px;top:8px;margin:0;width:auto;pointer-events:none}
body>header .header-links{pointer-events:none}
body>header .eyes-stack,body>header #profile-card{pointer-events:auto}
body>main{padding-top:0}
body>main>.toolbar{position:absolute;left:17px;top:77px;z-index:40;pointer-events:none;min-height:0}
body>main #stage{padding-top:0}
@media(max-width:640px){body>header{left:6px;right:6px;top:5px;margin:0}body>main>.toolbar{left:11px;top:73px}}
/* A single eye, cropped from the original animated strip. */
body>header .eyes-stack{width:60px;height:60px;min-width:60px;aspect-ratio:1;padding:0;flex:none}
body>header .eyes-stack #open-about{height:100%;width:100%;padding:0}
body>header .eyes-stack img{width:100%;height:100%;object-fit:cover;object-position:12% 50%;max-width:none}
@media(max-width:640px){body>header .eyes-stack{width:60px;height:60px;min-width:60px;padding:0}}

body>header .other-eye{margin-left:8px}
body>header .other-eye #open-about-other{display:block;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:#fff;box-shadow:none;overflow:hidden;cursor:pointer}
body>header .other-eye img{object-position:88% 50%}
/* Explicit source crops: two distinct eyes from the full GIF, never mirrored. */
body>header .eyes-stack button{position:relative;overflow:hidden}
body>header .eyes-stack img{position:absolute;top:0;left:-26%;width:331.754%;height:100%;object-fit:fill;object-position:initial;transform:none!important;max-width:none}
body>header .other-eye img{left:-187%;object-position:initial;transform:none!important}
/* Mirror each cropped eye independently, without swapping the two boxes. */
body>header .eyes-stack #open-about,body>header .other-eye #open-about-other{transform:scaleX(-1)}

/* A monochrome identity stamp, paired with the halftone eye. */
body>header #profile-card.info-only{position:relative;width:194px;flex:none;margin-left:5px;background:#f9f9f5;border:1px solid #202722;border-top:3px solid #151c18;box-shadow:2px 2px 0 #18251b22;overflow:hidden}
body>header #profile-card.info-only:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#17251c  .45px,transparent .7px);background-size:3px 3px;opacity:.12;mask-image:linear-gradient(100deg,transparent 15%,#000);-webkit-mask-image:linear-gradient(100deg,transparent 15%,#000)}
body>header #profile-card.info-only .profile-record{position:relative;align-items:stretch;width:100%;padding:5px 10px;gap:5px;justify-content:center}
body>header #profile-card.info-only strong{align-self:flex-start;font:900 27px/.88 Arial,Helvetica,sans-serif;letter-spacing:-1.7px;color:#101b15;text-shadow:.4px 0 #101b15;transform:scaleX(1.04);transform-origin:left}
body>header #profile-card.info-only .profile-record-bottom{display:flex;width:100%;justify-content:space-between;gap:10px;padding-top:4px;border-top:1px solid #1b2a2166}
body>header #profile-card.info-only .profile-record-bottom span{font:bold 8px/1 'Courier New',monospace;color:#26372b;letter-spacing:.04em}
body>header .eyes-stack{border-color:#202722;box-shadow:none}
@media(max-width:640px){body>header #profile-card.info-only{width:185px;flex-basis:185px}body>header #profile-card.info-only strong{font-size:25px}body>header #profile-card.info-only .profile-record{padding:6px 9px}}

/* Just the original rectangular eye animation, centred above the archive. */
body>header{justify-content:center}
body>header .header-links{display:none}
body>header .eyes-stack{width:200px;min-width:200px;height:60px;aspect-ratio:700/211;margin:0;padding:0;border:1px solid #202722;align-self:flex-start}
body>header .eyes-stack #open-about{transform:none;width:100%;height:100%;position:relative}
body>header .eyes-stack img{position:static;display:block;left:auto;top:auto;width:100%;height:100%;object-fit:cover;object-position:center;transform:none!important}
@media(max-width:640px){body>header .eyes-stack{width:200px;min-width:200px;height:60px;margin:0;padding:0}}
/* Reserve a lower strip for the eyes, and centre the archive above it. */
body>header{top:auto;bottom:57px;height:60px;min-height:60px;left:10px;right:10px;justify-content:center}
body>main #stage{margin-bottom:76px}
body>main>.toolbar{top:12px}
@media(max-width:640px){body>header{top:auto;bottom:53px;left:6px;right:6px;height:60px;min-height:60px}body>main #stage{margin-bottom:74px}body>main>.toolbar{top:10px}}

/* About artwork uses the same frame and focus geometry as the other works. */
body>header{display:none!important}
body>main #stage{margin-bottom:0}
#mosaic>#open-about.eyes-entry-tile{position:absolute;margin:0;padding:0;border:1px solid #fff;outline:1px solid #aeb2b9;border-radius:0;background:#d8dadd!important;box-shadow:1px 1px 0 #c4c6cb;overflow:visible;cursor:pointer;transform-origin:50% 50%}
#mosaic .eyes-entry-tile .eyes-visual{position:absolute;inset:0;display:block;margin:0;overflow:hidden;background:#fff;line-height:0}
#mosaic .eyes-entry-tile .eyes-visual img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center;transform:none!important;display:block}
#mosaic .eyes-entry-tile .eyes-wordmark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;margin:0;color:#fff;mix-blend-mode:difference;font:900 clamp(16px,3vw,38px)/1 Arial,Helvetica,sans-serif;letter-spacing:-.06em;opacity:0;transition:opacity .2s ease;pointer-events:none;z-index:3}
#mosaic .eyes-entry-tile.is-scene-focus .eyes-wordmark{opacity:1}
#mosaic .eyes-entry-tile .frame-title{display:block;background:#fffffff0;color:#46556b}
#mosaic.scene-live .eyes-entry-tile.is-scene-focus .frame-title{background:#35577f;color:#fff}
@media(max-width:640px){body>main #stage{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){#mosaic .eyes-entry-tile .eyes-wordmark{transition:none}}

/* Night-mode exploration, with a restrained tint from the focused film. */
body.night-explore:not(.project-open):not(.about-open):not(.television-open){background-color:var(--night-scene-tint,#16191e)!important;color:#a7b2bf}
body.night-explore:not(.project-open):not(.about-open):not(.television-open):before{background:radial-gradient(ellipse farthest-corner at var(--focus-x,50vw) var(--focus-y,50vh),#11151a 0%,#11151ad9 15%,#11151a66 55%,transparent 90%)!important}
body.night-explore:after{background-image:radial-gradient(circle,#7c87924f .7px,transparent .95px)}
body.night-explore .section-label{color:#8995a2}
body.night-explore .caption #project-title,body.night-explore .caption #project-category{color:#a5b2c1}
body.night-explore .frame-title{background:#1d2630eb;color:#adb9c7}
body.night-explore #mosaic .eyes-entry-tile .frame-title{background:#1d2630eb;color:#adb9c7}
body.night-explore #scene-controls{color:#bec9d5;background:none}
body.night-explore #scene-controls:before{background:linear-gradient(90deg,#11171ee6,#11171e88 45%,transparent)}
body.night-explore #scene-controls button,body.night-explore #zoom-level{color:#aebfce}
body.night-explore .explore-help-replay .help-mini-pad,body.night-explore .explore-help-replay .help-mini-mouse{border-color:#9aacbc}
body.night-explore>footer{background:linear-gradient(#29323c,#1c242d);border-color:#475564;color:#99a8b8;box-shadow:inset 0 1px #47556444}
body.night-explore>footer .language-switch button{color:#8192a4}body.night-explore>footer .language-switch button[aria-pressed=true]{background:#3a4b5e;color:#e0e8f1}

/* Keep the particle atmosphere underneath the project frames. */
#stage{isolation:isolate}
#stage>#mosaic{z-index:1}
#mosaic>#open-television.interlinked-tile{box-shadow:none;animation:none}

@media(pointer:coarse){#mosaic .interlinked-tile .ad-real-tv{filter:none}#mosaic .interlinked-tile:hover,#open-television:hover .televisions-ad{filter:none}.eyes-wordmark{mix-blend-mode:normal!important;text-shadow:0 1px 2px #0008}}

body.mobile-local-paint{background:#fff!important}body.mobile-local-paint:before,body.mobile-local-paint:after{display:none!important}#mobile-explore-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#fff}#mobile-explore-backdrop>div{position:absolute;inset:0;pointer-events:none}.mobile-scene-tint{background:#fff;transition:background-color .65s ease}.mobile-scene-dots{background-image:radial-gradient(circle,#bac1cb .7px,transparent .95px);background-size:24px 24px}body.explore-unfocused .mobile-scene-tint,body.archive-open .mobile-scene-tint,body.project-open .mobile-scene-tint,body.about-open .mobile-scene-tint{background:#fff!important}body.project-open .mobile-scene-glow,body.about-open .mobile-scene-glow,body.archive-open .mobile-scene-glow{visibility:hidden}

/* Desiideri: external portal in the archive scene. */
#mosaic>#open-desiideri{position:absolute;padding:0;margin:0;min-width:0;border:0;border-radius:0;background:#000!important;color:#fff;box-shadow:none;cursor:pointer;text-decoration:none}
#mosaic .desiideri-tile .desiideri-visual{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden}
#mosaic .desiideri-tile .desiideri-visual img{position:static;width:auto;height:90%;max-width:90%;aspect-ratio:1;object-fit:contain;filter:none;pointer-events:none;transform-origin:center;animation:desiideri-spin 8s linear infinite}
@keyframes desiideri-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#mosaic .desiideri-tile .desiideri-visual img{animation:none}}
#mosaic .desiideri-tile:after{display:none}
#mosaic .desiideri-tile .frame-title{background:#000;color:#fff}
#mosaic>#open-desiideri:hover,#mosaic>#open-desiideri:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px #000}

/* A shared destination area, distinct from portfolio projects. */
.portal-section{position:absolute;box-sizing:border-box;pointer-events:none;z-index:-1;padding:8px 12px;border:1px solid #8da9c4;background:linear-gradient(135deg,#e4edf8e8,#cddfefbb);box-shadow:inset 1px 1px #fff;font:700 9px Tahoma,Arial,sans-serif;letter-spacing:.14em;color:#35577f;transition:left .42s,top .42s,width .42s,height .42s}

/* Independent portals share a spectral heading instead of a group box. */
.portal-entry .portal-label{position:absolute;left:0;bottom:calc(100% + 7px);display:block;font:900 13px/1.2 Tahoma,Arial,sans-serif;letter-spacing:.055em;background:linear-gradient(100deg,#eb3449 0%,#eb8c20 18%,#c6a600 34%,#269951 49%,#228bc9 65%,#6351ca 81%,#cf3899 100%);background-clip:text;-webkit-background-clip:text;color:transparent;pointer-events:none;white-space:nowrap}

/* Quiet portal labels; the active destination supplies the atmosphere. */
.portal-entry .portal-label{background:none;color:#687a90;font:700 8px/1.2 Tahoma,Arial,sans-serif;letter-spacing:.12em;bottom:calc(100% + 5px)}
body.portal-in-focus .portal-label{color:#c1cddd}
body.portal-in-focus #project-title{color:#b6c5d8}

/* Fade a slate atmosphere beneath the cards; analog interference crosses them. */
.portal-atmosphere{position:absolute;inset:0;z-index:0;pointer-events:none;background:#303747;opacity:0;transition:opacity .9s cubic-bezier(.2,.65,.25,1)}
.portal-interference{position:absolute;inset:0;z-index:45;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .85s ease;background:repeating-linear-gradient(0deg,transparent 0 3px,#16233838 3px 4px)}
.portal-interference:before{content:'';position:absolute;inset:-16px;background:url('assets/locked-static.png') repeat;background-size:128px 128px;opacity:.22;animation:portal-static .22s steps(2,end) infinite;animation-play-state:paused}
.portal-interference:after{content:'';position:absolute;left:0;right:0;top:-30%;height:25%;background:linear-gradient(transparent,#d9e6ff14 50%,#12253e1c 52%,transparent);animation:portal-tracking 4s linear infinite;animation-play-state:paused}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) .portal-atmosphere{opacity:.9}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) .portal-interference{opacity:.75}
body.portal-in-focus .portal-interference:before,body.portal-in-focus .portal-interference:after{animation-play-state:running}
@keyframes portal-static{0%{transform:translate(0,0)}25%{transform:translate(7px,-5px)}50%{transform:translate(-9px,6px)}75%{transform:translate(4px,9px)}100%{transform:translate(-4px,-7px)}}
@keyframes portal-tracking{from{transform:translateY(0)}to{transform:translateY(600%)}}
@media(prefers-reduced-motion:reduce){.portal-interference:before,.portal-interference:after{animation:none}.portal-atmosphere,.portal-interference{transition:opacity .15s linear}}
#stage .televiisions-particles{z-index:1!important}#stage #mosaic{z-index:2}

/* Unselected frames lose signal when a portal is tuned in. */
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) #mosaic .tile:not(.is-scene-focus){filter:brightness(.42) saturate(.3) contrast(1.15)}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) #mosaic .locked-slot{filter:brightness(.45) saturate(.25)}
#mosaic .tile,#mosaic .locked-slot{transition:transform .42s cubic-bezier(.22,.7,.25,1),filter .8s ease,outline-color .2s}
body.portal-in-focus #mosaic .tile:not(.is-scene-focus):after{opacity:.85;background:repeating-linear-gradient(0deg,transparent 0 2px,#06101c88 2px 4px)}
@media(prefers-reduced-motion:reduce){#mosaic .tile,#mosaic .locked-slot{transition:none}}

/* An oversized portal cover sits beneath the analog veil. */
.portal-atmosphere{overflow:hidden;background:#303747}
.portal-background-cover{position:absolute;inset:-16%;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.18);filter:brightness(.42) saturate(.35);transition:opacity .85s ease,transform 4s ease-out;pointer-events:none}
.portal-background-cover.is-visible{opacity:1;transform:scale(1.06)}
@media(prefers-reduced-motion:reduce){.portal-background-cover{transform:none;transition:opacity .15s linear}}

.portal-entry .portal-caption-label{font-weight:700;font-size:inherit;letter-spacing:0;color:inherit}

/* Frame the left eye of the original GIF rather than the bridge of the nose. */
.portal-background-cover.portal-background-eyes{inset:0;background-position:22% 48%;transform:scale(1.02);background-size:cover}
.portal-background-cover.portal-background-eyes.is-visible{transform:scale(1)}

/* Portal covers keep their colour, with a light atmosphere instead of darkness. */
.portal-atmosphere{background:#e2e8ef}
.portal-background-cover{filter:brightness(1.05) saturate(1.15)}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) .portal-atmosphere{opacity:.78}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) #mosaic .tile:not(.is-scene-focus){filter:brightness(.85) saturate(.85)}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) #mosaic .locked-slot{filter:brightness(.9) saturate(.8)}
body.portal-in-focus #mosaic .tile:not(.is-scene-focus):after{opacity:.3}
body.portal-in-focus #project-title{color:#35577f}
body.portal-in-focus .portal-label{color:#687a90}

body.portal-in-focus #mosaic .tile.is-scene-focus{filter:none!important}
body.portal-in-focus #mosaic .tile.is-scene-focus>img{filter:none!important}

/* Let the portal image reach the bottom edge instead of stopping at the stage. */
#stage .portal-atmosphere{position:fixed;inset:0;pointer-events:none}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) .portal-atmosphere{opacity:1}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open)>footer{background:transparent}

.portal-background-cover.portal-background-eyes.is-visible{opacity:.55}

.viisios-signature{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);right:16px;z-index:65;font:400 12px/1 Tahoma,Arial,sans-serif;color:#52647b;pointer-events:none;user-select:none}
body.about-open .viisios-signature,body.project-open .viisios-signature,body.television-open .viisios-signature{display:none}

/* A single full-viewport image and interference layer continues below Explore. */
body>.portal-atmosphere{position:fixed;inset:0;z-index:0}
body>.portal-interference{position:fixed;inset:0;z-index:3}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open)>main{position:relative;z-index:1;background:transparent!important}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open) #stage{background:none!important}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open)>main>.caption,
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open)>footer{background:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;border-color:transparent!important}
body.portal-in-focus:not(.project-open):not(.television-open):not(.archive-open)>footer{position:relative;z-index:2}

/* Keep stacking and the stage surface stable while the portal image fades out. */
body>main{position:relative;z-index:1}
body>footer{position:relative;z-index:2}
body>main #stage{background-color:transparent!important}
.portal-atmosphere{transition:opacity 1.15s cubic-bezier(.25,.1,.25,1)}
.portal-interference{transition:opacity .9s ease-out}
.televiisions-particles{transition:opacity .65s ease-out}
#mosaic.scene-live:not(.list) .tile,#mosaic.scene-live:not(.list) .locked-slot{transition:transform .42s cubic-bezier(.22,.7,.25,1),filter .85s ease,outline-color .2s}
body>footer{transition:background-color 1s ease,border-color 1s ease,opacity .15s linear}
@media(prefers-reduced-motion:reduce){.portal-atmosphere,.portal-interference,.televiisions-particles{transition:opacity .15s linear}#mosaic.scene-live:not(.list) .tile,#mosaic.scene-live:not(.list) .locked-slot{transition:none}}
