:root{--bg:#8d8d8a;--ink:#111;--pad:24px}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:'Spectral',serif}a{color:inherit;text-decoration:none}header{position:fixed;inset:0 0 auto 0;height:64px;padding:18px var(--pad);display:flex;justify-content:space-between;align-items:flex-start;z-index:1000;background:var(--bg)}.home header{background:transparent}.brand{font-weight:400;font-size:18px;line-height:1}nav{display:flex;gap:20px;align-items:center;font-size:16px;line-height:1}.lang-toggle{font:inherit;border:0;background:none;padding:0;cursor:pointer;color:inherit}.home{overflow:hidden;width:100vw;height:100vh;background:url('assets/home/background.jpg') center/cover no-repeat}.stage{position:relative;width:100vw;height:100vh;overflow:hidden}.draggable{position:absolute;cursor:grab;touch-action:none;user-select:none}.draggable:active{cursor:grabbing}.draggable img,.draggable video{display:block;width:100%;height:auto;max-height:30vh;object-fit:contain;pointer-events:none}body:not(.home){padding-top:78px;min-height:100vh}main{padding:24px}.projects-page{max-width:none}.projects-page section{margin-bottom:76px}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}.section-head h1{font-size:17px;font-weight:400;margin:0}.section-head span{font-size:13px}.project-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.project-card{min-width:0}.thumb{height:31vw;max-height:440px;overflow:hidden;background:#777;position:relative;transition:height .45s cubic-bezier(.2,.7,.2,1)}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s cubic-bezier(.2,.7,.2,1)}.project-card:hover .thumb img,.project-card:hover .thumb video{transform:scale(1.16)}.thumb video{position:absolute;inset:0;opacity:0}.project-card.has-video:hover .thumb video{opacity:1}.project-card.has-video:hover .thumb img{opacity:0}.meta{display:flex;justify-content:space-between;gap:8px;padding-top:8px;font-size:14px}.meta .title{max-width:75%}.project-detail{max-width:1500px;margin:auto}.project-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:8vw;align-items:start;margin:30px 0 80px}.project-copy-top{max-width:720px}.project-copy-top h1{font-size:38px;font-weight:400;margin:8px 0 22px}.project-copy-top p{font-size:17px;line-height:1.45}.project-copy-top .category{font-size:14px}.intro-image img{width:100%;display:block}.gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.gallery figure{margin:0;grid-column:span 6}.gallery figure.wide{grid-column:1/-1}.gallery img,.gallery video{width:100%;height:auto;display:block}.project-nav{display:flex;justify-content:space-between;margin:80px 0 20px}.info-page{max-width:1050px;margin:auto}.info-copy{max-width:720px;font-size:24px;line-height:1.35;margin:35px 0 80px}.exhibitions{display:grid;grid-template-columns:1fr 2fr;gap:30px;margin-bottom:80px}.exhibitions h2{font-size:16px;font-weight:400;margin:0}.exhibitions p{margin:0 0 5px;font-size:16px}.placeholder{background:#777;aspect-ratio:4/3}
@media(max-width:800px){:root{--pad:16px}header{height:56px;padding:16px}.brand{font-size:16px}nav{gap:12px;font-size:14px}.draggable{width:24vw!important}.draggable img,.draggable video{max-height:24vh}.project-row{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb{height:58vw}.project-intro{grid-template-columns:1fr;gap:30px;margin-bottom:45px}.gallery figure{grid-column:1/-1}.exhibitions{grid-template-columns:1fr}.info-copy{font-size:20px}}
/* 2026-09 update */
.home nav,.home .lang-toggle{color:#fff}.home .stage{overflow:hidden}
.projects-page .thumb{height:auto;aspect-ratio:16/9;max-height:none}
.project-detail{max-width:1280px}.project-intro{grid-template-columns:minmax(0,1.6fr) minmax(180px,.4fr);gap:7vw;margin-bottom:60px}.intro-image{max-width:360px;justify-self:end}.gallery{max-width:1120px;margin:0 auto;gap:24px}.gallery figure{grid-column:span 5}.gallery figure:nth-child(even){grid-column:7/span 5}.gallery figure.wide{grid-column:2/span 10}.gallery img,.gallery video{max-height:72vh;object-fit:contain}
@media(max-width:800px){.projects-page .thumb{height:auto;aspect-ratio:16/9}.gallery figure,.gallery figure:nth-child(even),.gallery figure.wide{grid-column:1/-1}.intro-image{max-width:280px;justify-self:start}}


/* 2026-09-30 interaction/layout revision */
.home .draggable{transform-origin:center center}
.projects-page section{overflow:visible;margin-bottom:82px}
.section-head{border-bottom:1px solid var(--ink);padding-bottom:13px;margin-bottom:23px}
.project-row{display:flex;gap:16px;overflow-x:auto;overflow-y:visible;padding:0 0 24px;scrollbar-width:none;scroll-snap-type:x proximity}
.project-row::-webkit-scrollbar{display:none}
.project-card{flex:0 0 clamp(300px,30vw,520px);position:relative;scroll-snap-align:start;z-index:1}
.project-card:hover{z-index:100}
.thumb{aspect-ratio:16/9!important;height:auto!important;max-height:none!important;overflow:visible;background:#777;position:relative}
.thumb::after{content:"";position:absolute;inset:0;border:1px solid rgba(0,0,0,.08);pointer-events:none}
.thumb img,.thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .15s ease, width .32s cubic-bezier(.2,.75,.2,1), height .32s cubic-bezier(.2,.75,.2,1), transform .32s cubic-bezier(.2,.75,.2,1), box-shadow .32s ease;transform:none}
.project-card:hover .thumb img,.project-card:hover .thumb video{width:calc(100% + 38px);height:auto;max-height:65vh;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:contain;box-shadow:0 10px 28px rgba(0,0,0,.18);background:var(--bg)}
.project-card.has-video:hover .thumb img{opacity:0}
.project-card.has-video:hover .thumb video{opacity:1}
.project-detail{max-width:1500px;padding-left:clamp(24px,5vw,80px);padding-right:clamp(24px,5vw,80px)}
.project-intro{display:block;margin:26px 0 54px}.project-copy-top{max-width:850px}.project-copy-top h1{font-size:42px;margin:8px 0 20px}.project-copy-top p{font-size:18px;line-height:1.48}.intro-image{display:none!important}
.gallery{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:34px 28px;max-width:1400px;margin:0 auto}
.gallery figure,.gallery figure.wide{margin:0;width:min(46%,640px);flex:none}.gallery figure.media-video{width:min(78%,1050px);margin:0 auto 18px}.gallery figure.landscape{width:min(64%,900px)}.gallery figure.portrait{width:min(39%,520px)}
.gallery img,.gallery video{display:block;width:100%;height:auto;max-height:82vh;object-fit:contain}
@media(max-width:800px){.project-card{flex-basis:78vw}.project-card:hover .thumb img,.project-card:hover .thumb video{width:100%;height:100%;left:0;top:0;transform:none;object-fit:cover;box-shadow:none}.project-copy-top h1{font-size:32px}.gallery{gap:18px}.gallery figure,.gallery figure.wide,.gallery figure.media-video,.gallery figure.landscape,.gallery figure.portrait{width:100%}}

/* refinement 2026-09-30 */
.project-card .thumb{overflow:visible}
.project-card .thumb::after{content:"";position:absolute;inset:0;pointer-events:none}
.project-card:hover .thumb img,.project-card:hover .thumb video{top:auto;bottom:0;transform:translateX(-50%);max-height:72vh}
.project-card.has-video:hover .thumb video,.project-card .thumb.video-cover video{object-fit:cover}
.project-card .thumb.video-cover video{position:absolute;inset:0;width:100%;height:100%;opacity:1}
.project-card:hover .thumb.video-cover video{left:50%;right:auto;top:auto;bottom:0;width:calc(100% + 38px);height:calc(100% + 38px);transform:translateX(-50%);object-fit:cover}
.gallery.stacked{display:flex;flex-direction:column;align-items:center;gap:28px}
.gallery.stacked figure,.gallery.stacked figure.media-video{width:min(76%,980px);margin:0}
.gallery.stacked video{width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:800px){.project-card:hover .thumb img,.project-card:hover .thumb video,.project-card:hover .thumb.video-cover video{left:0;bottom:auto;top:0;width:100%;height:100%;transform:none;object-fit:cover}.gallery.stacked figure,.gallery.stacked figure.media-video{width:100%}}

/* Video thumbnails: always show the complete frame; never crop the video. */
.project-card .thumb video,
.project-card .thumb.video-cover video,
.project-card.has-video:hover .thumb video,
.project-card:hover .thumb.video-cover video{
  object-fit:contain !important;
}
.project-card:hover .thumb.video-cover video{
  width:calc(100% + 38px);
  height:auto;
  aspect-ratio:auto;
  max-height:72vh;
  background:transparent;
}
@media(max-width:800px){
  .project-card .thumb video,
  .project-card .thumb.video-cover video,
  .project-card.has-video:hover .thumb video,
  .project-card:hover .thumb.video-cover video{
    object-fit:contain !important;
  }
}

/* 2026-09-30 content refinements */
.info-wrap{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.55fr);gap:7vw;align-items:start;margin:35px 0 80px}
.info-bio{font-size:24px;line-height:1.35;margin:0}
.info-side{font-size:16px}
.info-side p{margin:12px 0 0}
.info-portrait{display:block;width:100%;height:auto;margin:0 0 22px}
.info-contact{line-height:1.45}
/* My beer images are landscape material: give every gallery item the landscape scale. */
.gallery.project-my-beer-took-this-image figure,.gallery.project-my-beer-took-this-image figure.portrait,.gallery.project-my-beer-took-this-image figure.landscape{width:min(64%,900px)}
@media(max-width:800px){.info-wrap{grid-template-columns:1fr;gap:30px}.info-bio{font-size:20px}.info-side{max-width:360px}.gallery.project-my-beer-took-this-image figure,.gallery.project-my-beer-took-this-image figure.portrait,.gallery.project-my-beer-took-this-image figure.landscape{width:100%}}

/* vNext5 — Projects hover: media leaves the 16:9 frame in its own native aspect ratio. */
@media (min-width:801px){
  .project-card .thumb{overflow:visible!important;isolation:isolate}
  .project-card:hover .thumb{z-index:200}
  .project-card:hover .thumb img,
  .project-card:hover .thumb video,
  .project-card:hover .thumb.video-cover video{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    right:auto!important;
    bottom:auto!important;
    width:calc(100% + 52px)!important;
    height:auto!important;
    max-width:none!important;
    max-height:76vh!important;
    object-fit:contain!important;
    transform:translate(-50%,-50%)!important;
    z-index:201!important;
    background:transparent!important;
  }
}

/* vNext6 — true native-aspect hover. The 16:9 tile stays fixed; only the media escapes it. */
@media (min-width:801px){
  .project-card .thumb{overflow:hidden!important}
  .project-card:hover .thumb{overflow:visible!important}
  .project-card:hover .thumb img,
  .project-card:hover .thumb video,
  .project-card:hover .thumb.video-cover video{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    right:auto!important;
    bottom:auto!important;
    width:var(--hover-w)!important;
    height:var(--hover-h)!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:translate(-50%,-50%)!important;
    z-index:300!important;
    background:transparent!important;
  }
}
