@font-face{font-family:Inter;src:url('assets/inter.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#0a0a0a;--surface:#141414;--line:#ffffff1f;--border:#ffffff14;--text:#ebebe6;--muted:#888;--subtle:#555;--hover:#1a1a1a;--underline:#fff3;--cell:248px;--row:314.6665px;--dock:#292a28;--dock-text:#f2f2ef;--dock-muted:#999a96}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button:focus-visible,a:focus-visible{outline:2px solid var(--text);outline-offset:3px}button[hidden],[hidden]{display:none!important}
#viewport{width:100%;height:100dvh;overflow:hidden;position:relative;touch-action:none;cursor:grab}#viewport.dragging{cursor:grabbing;user-select:none}#canvas{position:absolute;width:1488px;height:1573.3325px;display:grid;grid-template-columns:repeat(6,var(--cell));grid-template-rows:repeat(5,var(--row));will-change:transform;background-image:linear-gradient(to right,var(--line) 1px,transparent 1px),linear-gradient(to bottom,var(--line) 1px,transparent 1px);background-size:var(--cell) var(--row)}
.intro-cell{grid-column:3/5;grid-row:2/4;padding:24px;position:relative;z-index:1;background:var(--bg)}.intro-cell:before{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid var(--line)}.intro{height:100%;border:1px solid var(--border);border-radius:8px;background:var(--surface);padding:28px;display:flex;flex-direction:column;gap:20px;cursor:default;position:relative}.intro-top{display:flex;align-items:flex-start;justify-content:space-between}.portrait{width:88px;height:88px;border-radius:22px;background:#ffffff0b;box-shadow:0 0 0 1px #ffffff1a;flex:none;overflow:hidden}.portrait img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}.small-note{font-size:11px;color:var(--muted);line-height:1.6;font-variant-numeric:tabular-nums}.identity h1{font-size:24px;font-weight:500;letter-spacing:-.005em;line-height:1.15;margin:0}.role{font-size:14px;color:var(--muted);line-height:1.5;margin:4px 0 0}.bio{font-size:15px;line-height:1.55;display:flex;flex-direction:column;gap:12px;text-wrap:pretty}.bio p{margin:0}.inline{display:inline;padding:0;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px;text-decoration-thickness:1px}.inline:hover{text-decoration-color:currentColor}.inline[data-info=agencies],.inline[data-info=companies]{white-space:nowrap}.inline span,.socials span{display:inline-block;font-size:12px;text-decoration:none}dl{margin:0;font-size:13px;line-height:1.4;display:grid;gap:6px}dl div{display:grid;grid-template-columns:88px 1fr;gap:12px}dt{color:var(--muted);font-size:11px;line-height:1.6}dd{margin:0;display:flex;align-items:center;gap:6px}.status-dot{width:6px;height:6px;border-radius:50%;background:#3fcf6c;box-shadow:0 0 6px #3fcf6c99;flex:none}.socials{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:auto}.socials :is(button,a){padding:0;font-size:14px;line-height:21px;display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.socials :is(button,a):hover{text-decoration:underline;text-underline-offset:3px}
.tile-cell{padding:24px;display:flex;min-width:0}.tile{border:1px solid var(--border);border-radius:8px;background:var(--surface);position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden;padding:0;text-align:left}.tile:hover{background:var(--hover)}.tile img{height:100%;width:100%;object-fit:cover}.placeholder{width:calc(100% - 42px);height:calc(100% - 60px);border:1px dashed #ffffff14;border-radius:3px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#555}.placeholder svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1}.placeholder small{font-size:9px;letter-spacing:2px;text-transform:uppercase}.tile-label{position:absolute;bottom:13px;left:16px;right:16px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.tile-label span:last-child{color:var(--subtle)}.list-meta{display:none}
.controls{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);z-index:30;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:24px;background:var(--dock);box-shadow:0 0 0 2px #313131}.controls.open{width:193px}.control-toggle{height:48px;width:48px;border-radius:50%;display:grid;place-items:center;padding:0}.control-toggle>span{height:12px;width:12px;border-radius:3px;background:var(--dock-text)}.control-toggle:hover{background:#2f302e}.control-menu{padding:4px;display:flex;justify-content:center;align-items:center;gap:4px;width:100%;height:100%}.nav-icon.active{background:#ffffff1a;color:var(--dock-text);box-shadow:inset 0 1px #ffffff0a,inset 0 -1px #080a0c24,.5px 1px 1px #080a0c14,1px 2px 3px #080a0c0d}.nav-icon:hover{color:var(--dock-text)}.nav-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;color:var(--dock-muted);flex:none}.nav-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}.divider{height:22px;width:1px;flex:0 0 1px;background:#ffffff1f;margin-inline:4px}.sun{display:none}.sound-waves{display:none}#sound[aria-pressed=true] .sound-muted{display:none}#sound[aria-pressed=true] .sound-waves{display:block}.controls.list-controls.open{width:193px}
[data-theme=light]{color-scheme:light;--bg:#fcfcfc;--surface:#fff;--line:#ededed;--border:#e8e8e8;--text:#202020;--muted:#6e6e6e;--subtle:#aaa;--hover:#fafafa;--underline:#0003;--dock:#292929;--dock-text:#fafafa;--dock-muted:#999}[data-theme=light] .placeholder{color:#aaa;border-color:#00000014}[data-theme=light] .moon{display:none}[data-theme=light] .sun{display:block}
body.list-view #viewport{overflow:auto;touch-action:auto;cursor:auto}body.list-view #canvas{position:relative;transform:none!important;margin:0 auto;width:min(600px,calc(100% - 40px));height:auto;min-height:100%;display:flex;flex-direction:column;background:none;padding:48px 0 100px}body.list-view .intro-cell{display:none}body.list-view .tile-cell{display:block;padding:0;height:auto}body.list-view .tile{min-height:57.5px;border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;display:grid;grid-template-columns:116px 1fr;justify-content:start;padding:20px 16px;box-shadow:none;gap:0}body.list-view .tile:hover{background:var(--hover)}body.list-view .tile .placeholder,body.list-view .tile img{display:none}body.list-view .list-meta{display:block;font-size:10px;color:var(--muted);line-height:1.4}body.list-view .tile-label{position:static;font-size:14px;font-weight:500;line-height:1.2;color:var(--text)}body.list-view .tile-label span:last-child{display:none}
dialog{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:14px;width:min(580px,calc(100% - 32px));padding:38px;max-height:85dvh;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.close{position:absolute;right:15px;top:10px;font-size:26px;color:var(--muted)}dialog h2{font-weight:500;font-size:24px;margin:18px 0 12px}dialog p{color:var(--muted);font-size:15px;line-height:1.6}dialog .project-preview{height:340px;background:var(--bg);border:1px dashed var(--line);display:grid;place-items:center;color:var(--subtle);font-size:12px;letter-spacing:2px}dialog img{max-width:100%;max-height:55vh;display:block;margin:auto}dialog a{color:var(--text)}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}
@media(max-width:767px){#sound{display:none}.controls.open{width:137px}.controls.list-controls.open{width:137px}.nav-icon{width:36px;height:36px}.divider{margin-inline:0}}
@media(max-width:559px){:root{--cell:184px;--row:285px}#canvas{width:1104px;height:1425px}.intro-cell{padding:14px}.intro{padding:24px;gap:18px}.portrait{width:88px;height:88px}.bio{font-size:14px;line-height:1.55}.identity h1{font-size:24px}.socials{gap:8px 14px}.socials :is(button,a){font-size:12px}.tile-cell{padding:14px}.placeholder{width:calc(100% - 26px);height:calc(100% - 50px)}.small-note{font-size:10px}dialog{padding:30px 24px}dialog .project-preview{height:250px}body.list-view .tile{grid-template-columns:90px 1fr}}


.external-arrow{pointer-events:none;width:12px;height:12px;stroke:currentColor;stroke-width:1.2;fill:none;flex:none;vertical-align:baseline}.inline:has(.arrow-window){display:inline-flex;align-items:center;gap:1px}.socials .external-arrow{vertical-align:middle}
/* Interface motion and interaction states; project artwork stays static. */
:root{--spring:cubic-bezier(.32,.72,0,1);--ease-out:cubic-bezier(.16,1,.3,1)}
.controls{transition:width .35s var(--spring),background-color .14s var(--ease-out)}.control-toggle{position:absolute;inset:0;transition:opacity .18s,transform .35s var(--spring)}.controls.open .control-toggle{opacity:0;pointer-events:none;transform:scale(.25)}.control-menu{animation:menu-in .25s var(--spring)}@keyframes menu-in{from{opacity:0;filter:blur(6px);transform:scale(.65)}to{opacity:1;filter:blur(0);transform:scale(1)}}.nav-icon{transition:background-color .18s,color .18s}.nav-icon:active svg{transform:scale(.88)}.tile{transition:background-color .2s,border-color .2s,transform .16s var(--ease-out)}.tile:active{transform:scale(.985)}.tile-label{opacity:0;transition:opacity .16s}.tile:hover .tile-label,.tile:focus-visible .tile-label,body.list-view .tile-label{opacity:1}.recentering{transition:transform .4s var(--spring)}
.canvas-home{position:fixed;z-index:20;top:24px;left:50%;width:48px;height:48px;padding:0;border-radius:50%;overflow:hidden;box-shadow:0 0 0 2px #313131;transform:translate(-50%,-8px)scale(.9);opacity:0;pointer-events:none;transition:opacity .2s,transform .35s var(--spring)}.canvas-home.visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)scale(1)}.canvas-home img{width:100%;height:100%;object-fit:cover}.inline-popover{position:fixed;z-index:45;min-width:168px;max-width:calc(100vw - 24px);padding:8px 12px;border-radius:10px;background:var(--hover);box-shadow:0 0 0 1px var(--border),0 6px 14px #0003,0 12px 32px #0003;color:var(--text);font:400 14px/1.45 Inter,sans-serif;display:flex;flex-direction:column;animation:popover-in .2s var(--ease-out)}.inline-popover span{padding:3px 0}.inline[aria-expanded=true]{text-decoration-color:currentColor}@keyframes popover-in{from{opacity:0;transform:translateY(-4px)scale(.97)}to{opacity:1;transform:none}}
dialog[open]{animation:dialog-in .3s var(--spring)}@keyframes dialog-in{from{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:none}}dialog.lightbox,dialog.pieces{width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:0;margin:0;overflow:hidden;background:transparent;inset:0}dialog.lightbox::backdrop{background:#050505f7;backdrop-filter:blur(8px)}dialog.pieces::backdrop{background:#0007;backdrop-filter:blur(6px)}.lightbox #detail-body{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:56px 20px 128px;gap:24px}.lightbox-art{width:min(410px,75vw);height:min(546px,calc(100dvh - 230px));border-radius:8px;background:var(--surface);overflow:hidden}.lightbox-art .placeholder{height:calc(100% - 48px);width:calc(100% - 48px);margin:24px}.lightbox-art img{height:100%;width:100%;max-height:none;object-fit:contain}.lightbox-caption{position:absolute;bottom:88px;margin:0!important;color:var(--muted);font-size:14px}.lightbox .close,.pieces .close{position:absolute;z-index:30;top:auto;right:auto;left:50%;bottom:24px;transform:translateX(-50%);width:48px;height:48px;border-radius:50%;padding:0;background:var(--dock);color:var(--dock-text);box-shadow:0 0 0 2px #313131;font-size:23px;line-height:1}.pieces-stage{position:absolute;inset:0 0 150px;touch-action:none;cursor:grab;overflow:hidden}.pieces-stage:active{cursor:grabbing}.piece-card{position:absolute;top:50%;left:50%;width:260px;height:347px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0;overflow:hidden;transform:translate(calc(-50% + var(--offset)*190px),calc(-50% + var(--offset)*var(--offset)*20px)) rotate(calc(var(--offset)*9deg)) scale(.94);transition:transform .45s var(--spring),opacity .35s;opacity:.65;box-shadow:0 20px 60px #0003}.piece-card.selected{transform:translate(-50%,-50%) rotate(0) scale(1);opacity:1}.piece-card:hover{opacity:1}.piece-card .placeholder{margin:24px;width:calc(100% - 48px);height:calc(100% - 48px)}.piece-card img{width:100%;height:100%;object-fit:contain;max-height:none}.read-study{position:absolute;bottom:105px;left:50%;transform:translateX(-50%);font-size:14px;padding:12px 18px;background:var(--surface);border:1px solid var(--border);border-radius:999px;white-space:nowrap}.read-study:hover{background:var(--hover)}
dialog.reader{width:min(920px,calc(100vw - 32px));height:calc(100dvh - 32px);max-width:none;max-height:none;padding:0;border:0;border-radius:16px;background:#111;overflow:hidden;color:var(--text)}.reader #detail-body{display:flex;flex-direction:column;height:100%}.reader-header{padding:32px;border-bottom:1px solid var(--border);flex:none}.reader-header h2{font-size:clamp(28px,2.4vw,32px);line-height:1.08;letter-spacing:-.005em;margin:0;padding-right:40px}.reader-header p{margin:4px 0 0;font-size:14px}.reader .close{right:32px;top:32px;font-size:24px;z-index:2;width:32px;height:32px;padding:0}.reader-body{overflow:auto;padding:32px 28px 80px;overscroll-behavior:contain;flex:1}.reader-art{height:450px;border-radius:10px;background:var(--surface);display:flex;align-items:center;justify-content:center;margin-bottom:24px}.reader-art .placeholder{height:calc(100% - 48px)}.reader-body>p{font-size:17px;line-height:1.68;margin:0 0 32px}.return-canvas{display:block;margin:32px 0 0 auto;padding:12px 16px;border:1px solid var(--border);border-radius:10px;font-size:14px}.return-canvas:hover{background:var(--hover)}.reader-progress{position:absolute;bottom:0;left:0;width:100%;height:2px;border:0;appearance:none}.reader-progress::-webkit-progress-bar{background:transparent}.reader-progress::-webkit-progress-value{background:var(--muted)}[data-theme=light] dialog.reader{background:#fcfcfc}[data-theme=light] dialog.lightbox::backdrop{background:#fcfcfcf7}[data-theme=light] dialog.pieces::backdrop{background:#fcfcfc99}
@media(max-width:767px){dialog.reader{width:100vw;height:100dvh;border-radius:0;margin:0}.reader-header{padding:24px 20px 20px}.reader .close{right:20px;top:24px}.reader-body{padding:24px 20px 72px}.piece-card{width:210px;height:280px;transform:translate(calc(-50% + var(--offset)*145px),calc(-50% + var(--offset)*var(--offset)*18px)) rotate(calc(var(--offset)*9deg)) scale(.94)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#canvas{background-image:none}#viewport{background-image:linear-gradient(to right,var(--line) 1px,transparent 1px),linear-gradient(to bottom,var(--line) 1px,transparent 1px);background-size:var(--cell) var(--row)}body.list-view #viewport{background-image:none}body.list-view .tile-cell{transform:none!important}
/* Canvas hover: the reference's layered title scrim and edge illumination. */
:root{--edge-shine:#ffffff3c;--label-ink:#fff;--label-soft:#00000014;--label-strong:#0000003d;--label-shadow:0 1px 12px #00000047;--card-hover-shadow:.5px 1px 1px hsl(240 6% 2%/.18),1px 2px 3px hsl(240 6% 2%/.14),2px 4px 7px hsl(240 6% 2%/.1),4px 8px 14px hsl(240 6% 2%/.06)}
[data-theme=light]{--edge-shine:#00000041;--label-ink:#1a1a1a;--label-soft:#ffffff14;--label-strong:#ffffff3d;--label-shadow:0 1px 12px #ffffff57;--card-hover-shadow:.5px 1px 1px hsl(0 0% 38%/.07),1px 2px 3px hsl(0 0% 38%/.05),2px 4px 7px hsl(0 0% 38%/.035),4px 8px 14px hsl(0 0% 38%/.02)}
body:not(.list-view) .tile{transition:background-color .2s cubic-bezier(.22,1,.36,1),border-color .2s cubic-bezier(.22,1,.36,1),box-shadow .2s cubic-bezier(.22,1,.36,1),transform .16s var(--ease-out)}
body:not(.list-view) .tile:is(:hover,:focus-visible){background:var(--hover);border-color:#9696964d;box-shadow:var(--card-hover-shadow);transform:none}
body:not(.list-view) .tile-label{isolation:isolate;bottom:3px;left:3px;right:3px;height:34%;padding:14px 14px 13px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;border-radius:0 0 5px 5px;overflow:hidden;opacity:1;pointer-events:none;color:var(--label-ink);text-shadow:var(--label-shadow);font-size:14px;font-weight:500;line-height:1.2;letter-spacing:-.005em}
body:not(.list-view) .tile-label:before,body:not(.list-view) .tile-label:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;transform:translateY(12px);transition:opacity .2s var(--ease-out),transform .2s var(--ease-out),backdrop-filter 0s .2s}
body:not(.list-view) .tile-label:before{z-index:-2;background:var(--label-soft);mask-image:linear-gradient(transparent 0%,#000 42% 100%)}
body:not(.list-view) .tile-label:after{z-index:-1;background:var(--label-strong);mask-image:linear-gradient(transparent 38%,#000 78% 100%)}
body:not(.list-view) .tile-label>span:first-child{position:relative;z-index:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;opacity:0;transform:translateY(12px);transition:opacity .2s var(--ease-out),transform .2s var(--ease-out)}
body:not(.list-view) .tile-label>span:last-child{display:none}
body:not(.list-view) .tile:is(:hover,:focus-visible) .tile-label:before{backdrop-filter:blur(4px);transition-delay:0s}
body:not(.list-view) .tile:is(:hover,:focus-visible) .tile-label:after{backdrop-filter:blur(14px);transition-delay:0s}
body:not(.list-view) .tile:is(:hover,:focus-visible) .tile-label:before,body:not(.list-view) .tile:is(:hover,:focus-visible) .tile-label:after,body:not(.list-view) .tile:is(:hover,:focus-visible) .tile-label>span:first-child{opacity:1;transform:translateY(0)}
.intro:after{content:'';position:absolute;z-index:2;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;opacity:0;background:radial-gradient(circle 280px at var(--shine-x,-9999px) var(--shine-y,-9999px),var(--edge-shine) 0%,var(--edge-shine) 25%,transparent 100%);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);transition:opacity .3s var(--ease-out)}
.intro-cell:after{content:'';pointer-events:none;position:absolute;z-index:2;inset:-48px;opacity:0;background:linear-gradient(var(--edge-shine) 0 0) 48px 0/1px 100% no-repeat,linear-gradient(var(--edge-shine) 0 0) calc(100% - 48px) 0/1px 100% no-repeat,linear-gradient(var(--edge-shine) 0 0) 0 48px/100% 1px no-repeat,linear-gradient(var(--edge-shine) 0 0) 0 calc(100% - 48px)/100% 1px no-repeat;mask-image:radial-gradient(circle 280px at calc(var(--frame-x,-9999px) + 48px) calc(var(--frame-y,-9999px) + 48px),#000 0%,#000e 20%,#0008 48%,#0003 72%,transparent 100%),linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 48px),transparent),linear-gradient(to bottom,transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-composite:intersect;transition:opacity .3s var(--ease-out)}
.intro-cell[data-shine=on]:after,.intro-cell[data-shine=on] .intro:after{opacity:1}
body.list-view .intro-cell:after,body.list-view .intro:after{display:none}
.dragging .tile-label:before,.dragging .tile-label:after,.dragging .tile-label>span:first-child{opacity:0!important}
@media(hover:none){body:not(.list-view) .tile-label:before,body:not(.list-view) .tile-label:after{backdrop-filter:none!important}}
@media(prefers-reduced-motion:reduce){body:not(.list-view) .tile-label:before,body:not(.list-view) .tile-label:after,body:not(.list-view) .tile-label>span:first-child{transition:none;transform:none}}
/* Perspective belongs to the stationary cell so pointer tracking stays stable. */
body:not(.list-view) .tile-cell,body:not(.list-view) .intro-cell{perspective:1400px}
.tile-cell{position:relative}
body:not(.list-view) .intro,body:not(.list-view) .tile{backface-visibility:hidden;transform-origin:50% 50%;transition:transform .45s var(--spring),background-color .2s,border-color .2s,box-shadow .2s}
body:not(.list-view) .intro[data-tilting=true],body:not(.list-view) .tile[data-tilting=true]:is(:hover,:focus-visible){transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .16s var(--ease-out),background-color .2s,border-color .2s,box-shadow .2s}
@media(prefers-reduced-motion:reduce){body:not(.list-view) .intro[data-tilting=true],body:not(.list-view) .tile[data-tilting=true]:is(:hover,:focus-visible){transform:none}}

/* Neutral light palette, sampled from jakub.kr. */
[data-theme=light] .bio{color:var(--muted)}
[data-theme=light] .bio .inline{color:var(--text)}
[data-theme=light] .inline-popover{background:#fff;box-shadow:0 0 0 1px #e8e8e8,0 6px 14px #0000000d,0 12px 32px #0000000d}

.socials a{color:inherit;text-decoration:none}#local-time{font-variant-numeric:tabular-nums}

.portrait img,.canvas-home img{object-position:60% 45%}

.inline:has(.arrow-window),.socials a{cursor:pointer}

/* An arrow leaves through the upper-right edge and returns from below-left. */
.arrow-window{display:inline-flex!important;align-items:center;justify-content:center;width:12px;height:12px;flex:none;overflow:hidden;pointer-events:none;vertical-align:middle}
.arrow-window .external-arrow{display:block;flex:none}
@keyframes link-arrow-pass{
  0%{transform:translate(0,0);opacity:1}
  42%{transform:translate(12px,-12px);opacity:0}
  43%{transform:translate(-12px,12px);opacity:0}
  100%{transform:translate(0,0);opacity:1}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  :is(a,button):hover>.arrow-window .external-arrow{animation:link-arrow-pass .45s cubic-bezier(.22,1,.36,1) both}
}
@media(prefers-reduced-motion:no-preference){
  :is(a,button):focus-visible>.arrow-window .external-arrow{animation:link-arrow-pass .45s cubic-bezier(.22,1,.36,1) both}
}

.intro-emphasis{color:var(--text);font-weight:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-decoration-thickness:1px;text-underline-offset:3px}

@font-face{font-family:"Libre Baskerville";src:url("assets/libre-baskerville-italic.ttf") format("truetype");font-style:italic;font-weight:400;font-display:swap}
.intro-cursive{font-family:"Libre Baskerville",Georgia,serif;font-style:italic;font-weight:400}



/* Wide recording occupies two canvas columns without cropping the video. */
body:not(.list-view) .wide-cell{background:var(--bg);border:1px solid var(--line)}
.tile video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
body.list-view .tile video{display:none}
.lightbox-art.video-art{width:min(1000px,90vw);height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 230px)}
.video-art video,.reader-art video{display:block;width:100%;height:100%;object-fit:contain}
/* Keep the video edge-to-edge with a subtle caption instead of a frosted panel. */
.tile video{object-fit:cover}
body:not(.list-view) .wide-cell .tile-label{inset:auto 0 0;height:28%;border-radius:0;padding:16px;color:#fff;text-shadow:0 1px 4px #0009}
body:not(.list-view) .wide-cell .tile-label:before{background:linear-gradient(transparent,rgba(0,0,0,.65));mask-image:none;backdrop-filter:none!important;transform:none}
body:not(.list-view) .wide-cell .tile-label:after{display:none}
/* Show complete project recordings with black letterboxing. */
.wide-cell .tile,.lightbox-art.video-art,.reader-art:has(video){background:#000!important}
.tile video{object-fit:contain;background:#000}
.video-art video,.reader-art video{object-fit:contain;background:#000}

body:not(.list-view) .portrait-project{align-items:center}
body:not(.list-view) .portrait-project .tile{height:auto;aspect-ratio:var(--project-ratio);background:#f7f7f7}
.portrait-project .tile img{position:absolute;inset:0}
.lightbox-art.portrait-preview{height:auto;width:min(410px,75vw,calc((100dvh - 230px)*.75));aspect-ratio:var(--project-ratio);background:#f7f7f7}

/* Correct the right-heavy whitespace within the supplied phone mockups. */
.portrait-project .tile img,.portrait-preview img{transform:translateX(-3%)}
/* Dark-mode media surfaces; light-mode artwork backgrounds stay unchanged. */
html:not([data-theme=light]) .tile,
html:not([data-theme=light]) .lightbox-art,
html:not([data-theme=light]) .reader-art{background:#000!important}
.transparent-art-host{position:relative}
.transparent-art{display:none;pointer-events:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html:not([data-theme=light]) img[data-transparent-ready=true]{opacity:0}
html:not([data-theme=light]) .transparent-art{display:block}
.portrait-project .transparent-art,.portrait-preview .transparent-art{transform:translateX(-3%)}
.transparent-art-host:has(img[src*="hivedrive"]) .transparent-art{transform:none}
body.list-view .tile .transparent-art{display:none}
/* Preserve the original grey surround for the two study-app mockups. */
html:not([data-theme=light]) .tile:has(img[src*="question-celebration-v2"]),
html:not([data-theme=light]) .tile:has(img[src*="quiz-setup"]),
html:not([data-theme=light]) .lightbox-art:has(img[src*="question-celebration-v2"]),
html:not([data-theme=light]) .lightbox-art:has(img[src*="quiz-setup"]),
html:not([data-theme=light]) .reader-art:has(img[src*="question-celebration-v2"]),
html:not([data-theme=light]) .reader-art:has(img[src*="quiz-setup"]){background:#f7f7f7!important}

.lightbox-art.wide-preview{width:min(1000px,90vw);height:min(667px,calc(100dvh - 230px))}
/* Stillwell fills the card width while retaining its natural proportions. */
.tile img[src*="stillwell-website"]{width:100%;height:auto;max-height:none;flex:none}
.tile:has(img[src*="stillwell-website"]){align-items:flex-start}

/* Native CSS phone shell keeps the supplied screenshot intact. */
.iphone-mockup{height:88%;aspect-ratio:0.49;max-width:88%;position:relative;display:flex;flex-direction:column;background:#fafbf7;border:5px solid #141414;border-radius:27px;box-shadow:0 0 0 1px #888,0 0 0 3px #343434,8px 10px 20px #0003;overflow:hidden;flex:none}
.iphone-mockup .iphone-top{height:7%;min-height:14px;display:flex;justify-content:center;align-items:center;flex:none}
.iphone-top i{display:block;background:#101010;width:29%;height:55%;border-radius:999px}
.tile .iphone-mockup img,.lightbox-art .iphone-mockup img,.reader-art .iphone-mockup img{position:static;width:100%;height:0;min-height:0;flex:1;object-fit:contain;transform:none;max-height:none}
.iphone-bottom{height:4%;min-height:6px;position:relative;flex:none}
.iphone-bottom:after{content:'';position:absolute;bottom:25%;left:33%;width:34%;height:3px;background:#181818;border-radius:3px}
.lightbox-art:has(.iphone-mockup),.reader-art:has(.iphone-mockup){display:flex;align-items:center;justify-content:center}
body.list-view .iphone-mockup{display:none}

.list-notice{display:none}
body.list-view .tile-cell{display:none}
body.list-view .list-notice{display:block;margin:auto;text-align:center;color:var(--muted);font-size:16px;line-height:1.5;padding:24px}
/* Consistent lightweight hover captions across every canvas card. */
body:not(.list-view) .tile .tile-label{inset:auto 0 0;height:28%;border-radius:0;padding:16px;color:#fff;text-shadow:0 1px 4px #0009}
body:not(.list-view) .tile .tile-label:before{background:linear-gradient(transparent,rgba(0,0,0,.65));mask-image:none;backdrop-filter:none!important;transform:none}
body:not(.list-view) .tile .tile-label:after{display:none}
/* Match the scanning animation's pale grey surround in both themes. */
.tile:has(img[src$="/scan.gif"]),.lightbox-art:has(img[src$="/scan.gif"]),.reader-art:has(img[src$="/scan.gif"]),
html:not([data-theme=light]) .tile:has(img[src$="/scan.gif"]),html:not([data-theme=light]) .lightbox-art:has(img[src$="/scan.gif"]),html:not([data-theme=light]) .reader-art:has(img[src$="/scan.gif"]){background:#eceeed!important}
/* Let the scanning GIF stand alone without an outer card surface. */
html .tile:has(img[src$="/scan.gif"]),
html:not([data-theme=light]) .tile:has(img[src$="/scan.gif"]){background:transparent!important;border:0!important;box-shadow:none!important}

/* Preserve the scanning GIF's animation while hiding its baked-in cup icon. */
.scan-art{display:block;width:100%;height:100%;min-width:0;min-height:0;pointer-events:none}
html .tile:has(.scan-art),html:not([data-theme=light]) .tile:has(.scan-art){background:transparent!important;border:0!important;box-shadow:none!important}
.lightbox-art:has(.scan-art),.reader-art:has(.scan-art){background:transparent!important}
