/* Pixelmappers design system. Tokens first: change a colour or font here. */
:root{
  --bg:#000;--fg:#E8EAED;--soft:#A8AEB6;--muted:#8A9099;--link:#C9CDD2;
  --accent:#3D8BFF;--crt-light:#7FB4FF;--crt-deep:#1F63FF;
  --line:rgba(255,255,255,.12);--line-soft:rgba(255,255,255,.1);
  --sans:'Geist',system-ui,sans-serif;--mono:'JetBrains Mono',ui-monospace,monospace;
  --xl:clamp(40px,4.6vw,64px);
  --logo:url(https://static.wixstatic.com/media/0d8085_89ce9d2744cf45f9848ed2bc5149ef32~mv2.png);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);font-weight:300;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:var(--link);text-decoration:none}a:hover{color:#fff}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#000;color:#fff;padding:8px 12px}
.skip:focus{left:8px}
/* Type: four sizes only */
.label{font-family:var(--mono);font-weight:400;font-size:12px;line-height:1.4;letter-spacing:.16em;text-transform:uppercase}
.label .n,.n{color:var(--accent)}
.muted{color:var(--muted)}.soft{color:var(--soft)}
.t24{font-weight:400;font-size:24px;line-height:1.15;letter-spacing:-.02em}
.statement{margin:0;font-weight:400;font-size:24px;line-height:1.3;letter-spacing:.02em;text-transform:uppercase;color:#fff}
.xl{font-weight:200;font-size:var(--xl);line-height:1.05;letter-spacing:-.035em}
.wrap{max-width:1440px;margin:0 auto;padding:0 32px}
.rule{height:1px;background:var(--line)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;padding-bottom:20px}
.sec-head h1,.sec-head h2{margin:0;color:var(--fg)}
.state{padding:48px 0;color:var(--muted)}

/* Header (inner pages: always on; home: docks in on scroll) */
.hdr{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 32px;background:rgba(0,0,0,.88);border-bottom:1px solid var(--line-soft)}
.hdr .logo-sm{display:block;width:112px;height:35px;flex:none}
.hdr .logo-sm img{width:112px;height:35px}
.nav{display:flex;gap:32px;white-space:nowrap}
.pm-nl{position:relative}
.pm-nl::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:0 0;transition:transform .35s cubic-bezier(.6,0,.2,1)}
.pm-nl.pm-on::after{transform:scaleX(1)}.pm-nl.pm-on{color:#fff}

/* Cards: clean photo, slight zoom, arrow turns blue */
.card{display:flex;flex-direction:column;gap:18px;color:var(--fg)}
.card .frame{position:relative;overflow:hidden;background:#0A0B0D}
.card .frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.card:hover .frame img{transform:scale(1.02)}
.card .meta{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.card .meta>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.card .t24{transition:color .2s}
.card:hover .t24{color:#fff}
.card .arrow{font-size:16px;color:var(--muted);transition:color .2s}
.card:hover .arrow{color:var(--accent)}
.card .label{margin-top:4px}

/* Footer */
.ftr{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:24px 32px;border-top:1px solid var(--line-soft);color:var(--muted)}
.social{display:flex;gap:22px;align-items:center}
.social a{display:block;line-height:0;color:var(--link)}
.social a:hover{color:var(--accent)}

/* Work page */
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 32px;margin-top:80px}
.grid3 .frame{aspect-ratio:4/3}
@media (max-width:980px){.grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.grid3{grid-template-columns:minmax(0,1fr)}}

/* Show page */
.show-hero{position:relative;height:760px;max-height:80vh;overflow:hidden;border-bottom:1px solid var(--line-soft)}
.show-hero img{width:100%;height:100%;object-fit:cover;object-position:center 45%}
.show-hero .rig{height:100%}
.intro{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-end;justify-content:space-between}
.intro h1{flex:999 1 560px;margin:0;min-width:0}
.intro .desc{flex:1 1 380px;margin:0;line-height:1.6;color:var(--soft)}
.intro .desc p{margin:0 0 12px}.intro .desc p:last-child{margin:0}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:64px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts>div{padding:22px 24px;display:flex;flex-direction:column;gap:10px;border-left:1px solid var(--line)}
.facts>div:first-child{padding-left:0;border-left:0}
.facts dt{color:var(--muted)}.facts dd{margin:0}
.rig-sec{border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.rig{position:relative;width:100%}
.rig-sticky{position:sticky;top:0;width:100%;height:100%;overflow:hidden}
.rig-sticky canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.rig--scroll{height:2600px}
.rig--scroll .rig-sticky{height:760px;max-height:100vh;top:calc(50vh - min(380px,50vh))}
.rig-hud{position:absolute;left:32px;bottom:24px;color:var(--muted)}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:16px}
.gallery figure{margin:0;height:340px;overflow:hidden;border:1px solid var(--line)}
.gallery figure.wide{grid-column:1/-1;height:720px}
.gallery img{width:100%;height:100%;object-fit:cover}
.credits{display:flex;flex-wrap:wrap;gap:48px;margin-top:120px}
.credits h2{flex:1 1 280px;margin:0}
.credits .list{flex:999 1 560px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));column-gap:48px}
.credits .row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line-soft)}
.credits .row span:last-child{text-align:right}
.more{display:flex;flex-wrap:wrap;margin-top:120px;border-top:1px solid var(--line)}
.more a{flex:1 1 320px;display:flex;flex-direction:column;gap:12px;padding:40px 32px;color:var(--fg)}
.more a.all{flex:0 1 220px;align-items:center;justify-content:center;border-left:1px solid var(--line);border-right:1px solid var(--line)}
.more a.next{align-items:flex-end;text-align:right}
.more a.next .label{color:var(--accent)}
@media (max-width:640px){.gallery{grid-template-columns:minmax(0,1fr)}.gallery figure,.gallery figure.wide{height:280px}.facts>div{padding-left:0;border-left:0;border-top:1px solid var(--line)}.facts>div:first-child{border-top:0}}

/* Phone header: logo and nav no longer fit side by side */
@media (max-width:640px){
  .hdr{padding:12px 16px;gap:12px}
  .hdr .logo-sm,.hdr .logo-sm img,.pm-glogo,.pm-glogo .pm-logo{width:80px!important;height:25px!important}
  .nav{gap:14px}.nav .label,.nav.label{letter-spacing:.08em}
  .nav .w{display:none}
  .wrap{padding:0 16px}.ftr{padding:24px 16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-duration:.001s!important}
}

/* Credits: a dense end-card list. One line per credit: role, then name and handles
   flowing inline. One narrow column so it reads like an end card. */
.credits .list{display:block}
.credits-head{margin:0 0 20px;color:var(--fg)}
.credits .group{max-width:820px;margin:0 0 18px;padding-top:12px;border-top:1px solid var(--line-soft)}
.credits .cell{display:flow-root;padding:3px 0 3px 220px;line-height:1.4}
.credits .cell .label{float:left;margin:3px 0 0 -220px;width:200px;font-size:11px;letter-spacing:.1em;line-height:1.5}
.credits .who{font-size:15px;color:var(--fg);margin-right:10px}
.credits .handles{display:inline}
.handle{font-size:12px;color:var(--muted);margin-right:10px;white-space:nowrap}.handle:hover{color:var(--accent)}
@media (max-width:560px){.credits .cell{padding-left:0}.credits .cell .label{float:none;display:block;margin:0;width:auto}}
/* Custom element: wipe between a render and the photo */
.wipe{position:relative;max-width:1440px;margin:0 auto;aspect-ratio:16/9;overflow:hidden;touch-action:pan-y;cursor:ew-resize;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.wipe>img,.wipe-top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wipe-top{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--x)) 0 0)}
.wipe-bar{position:absolute;top:0;bottom:0;left:var(--x);width:1px;background:var(--accent);box-shadow:0 0 12px var(--accent)}
.wipe-tag{position:absolute;bottom:20px;color:var(--fg);text-shadow:0 1px 4px #000}
.wipe input{position:absolute;left:0;right:0;bottom:0;width:100%;margin:0;opacity:0;height:44px;cursor:ew-resize}
.wipe input:focus-visible+*{outline:none}
.wipe:focus-within{outline:2px solid var(--accent);outline-offset:-2px}
/* Optional YouTube video on the show page */
.video-frame{position:relative;aspect-ratio:16/9;background:#000;border:1px solid var(--line)}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.wipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1440px;margin:0 auto;padding:0 32px}
.wipes.one{grid-template-columns:minmax(0,1fr)}
.wipe-pair{margin:0}.wipes .wipe{width:100%;border:1px solid var(--line-soft)}
.wipe-pair figcaption{margin-top:12px}
@media (max-width:760px){.wipes{grid-template-columns:minmax(0,1fr);padding:0 16px}}

/* Gallery: click a photo for the full-screen viewer */
.gallery figure.zoomable{cursor:zoom-in}
.gallery figure.zoomable img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.gallery figure.zoomable:hover img{transform:scale(1.02)}
.gallery figure.zoomable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.lb{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;touch-action:pan-y}
.lb-img{max-width:calc(100vw - 160px);max-height:calc(100vh - 120px);object-fit:contain;user-select:none;-webkit-user-drag:none}
.lb-count{position:absolute;left:32px;top:28px;color:var(--soft)}
.lb-close{position:absolute;right:24px;top:18px;padding:10px 8px;background:none;border:0;color:var(--fg);cursor:pointer}
.lb-close:hover{color:var(--accent)}
.lb-prev,.lb-next{position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;border:1px solid var(--line);background:rgba(0,0,0,.4);color:var(--fg);font-size:20px;cursor:pointer}
.lb-prev{left:24px}.lb-next{right:24px}
.lb-prev:hover,.lb-next:hover{border-color:var(--accent);color:var(--accent)}
.lb button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:640px){.lb-img{max-width:100vw;max-height:calc(100vh - 140px)}.lb-prev,.lb-next{top:auto;bottom:20px;transform:none;width:48px;height:48px}.lb-prev{left:16px}.lb-next{right:16px}.lb-count{left:16px}.lb-close{right:8px}}

/* Show page: per-show headline under the title, and the artist's About text */
.intro .intro-title{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.intro .intro-title h1{flex:none}
.headline{margin:0;color:var(--soft);max-width:30ch}
.artist-about{display:flex;flex-wrap:wrap;gap:24px 48px;margin-top:64px}
.artist-about h2{flex:1 1 280px;margin:0;color:var(--fg)}
.artist-about .text{flex:999 1 560px;min-width:0;max-width:72ch;font-size:18px;line-height:1.6;color:var(--soft)}
.artist-about .text p{margin:0 0 14px}.artist-about .text p:last-child{margin:0}

/* Show page: one standalone link back to all work */
.more{justify-content:center}
.more a.all{flex:1 1 auto;border:0;padding:40px 32px;flex-direction:row;color:var(--fg)}
.more a.all:hover{color:var(--accent)}
/* Gallery videos (vertical clips) */
.clips{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:120px}
.clips figure{margin:0;flex:0 1 auto;height:min(720px,80vh);max-width:100%;border:1px solid var(--line);background:#000;overflow:hidden}
.clips video{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:640px){.clips figure{height:auto;width:100%}}
/* Several YouTube videos: two per row, one on phones */
.videos{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.videos.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:760px){.videos.two{grid-template-columns:minmax(0,1fr)}}

/* Custom element: previz renders section (js/custom/renders.js) */
.renders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.renders figure{margin:0;position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line);background:#000}
.renders figure.wide{grid-column:1/-1;aspect-ratio:auto}
.renders figure.wide img{height:auto}
.renders img{display:block;width:100%;height:100%;object-fit:cover}
.renders figcaption{position:absolute;left:16px;bottom:14px;color:var(--fg);text-shadow:0 1px 4px #000}
.renders figure.zoomable{cursor:zoom-in}
.renders figure.zoomable img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.renders figure.zoomable:hover img{transform:scale(1.02)}
.renders figure.zoomable:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:640px){.renders{grid-template-columns:minmax(0,1fr)}}
/* Renders "row" layout: every render on one line (swipe on phones) */
.renders.row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.renders.row figure{aspect-ratio:16/9}
@media (max-width:640px){.renders.row{grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.renders.row figure{scroll-snap-align:start}}