@font-face{font-family:Nohemi;src:url("assets/nohemi-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Nohemi;src:url("assets/nohemi-medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
:root{--black:#080808;--white:#fff;--accent:#c3421e;--accent-light:#ff855c;--ui:16px;--brand-size:18px;--edge:36px;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--black)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font:400 var(--ui)/1.45 Nohemi,Helvetica,Arial,sans-serif;color:var(--white);-webkit-font-smoothing:antialiased}
body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;padding:0;background:none;cursor:pointer}
a,button{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:1px solid currentColor;outline-offset:5px}
/* Dialogs focus their close button on open, including after an iOS tap.
   Keep that focus without drawing a rectangle around the touch target. */
:is(#close-information,#close-film,#close-archive):focus{outline:0;box-shadow:none}
:is(#close-information,#close-film,#close-archive):focus-visible{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
::selection{background:var(--accent-light);color:var(--black)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:12px;left:12px;padding:12px;background:white;color:#111;z-index:20;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.masthead{position:absolute;inset:0 0 auto;z-index:3;padding:calc(20px + var(--safe-top)) var(--edge) 20px;display:flex;align-items:center;justify-content:space-between;gap:25px;pointer-events:none}
.masthead a{pointer-events:auto}
.masthead,.project-list,.stage-controls{text-shadow:0 1px 4px rgba(0,0,0,.7)}
.masthead h1{font:500 var(--brand-size)/1.45 Nohemi,Helvetica,Arial,sans-serif;text-transform:uppercase;letter-spacing:-.015em;margin:0}
.information-link{min-height:44px;display:inline-flex;align-items:center;color:var(--white)}
.information-link:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.stage{position:relative;height:100vh;height:100dvh;min-height:300px;isolation:isolate;background:var(--black)}
.stage-media{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.stage-media>img,.stage-media>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block}
.stage-media>video{opacity:0;transition:opacity .18s linear}
.stage.is-playing .stage-media>video{opacity:1}
.project-list{position:absolute;z-index:2;left:calc(var(--edge) - 8px);top:50%;transform:translateY(-50%);list-style:none;margin:0;padding:8px;max-width:min(590px,54vw);max-height:calc(100dvh - 210px - var(--safe-top) - var(--safe-bottom));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#777 transparent}
.project-list li{margin:0;padding:0}
.project-list a{display:block;padding:4px 0;font-weight:500;color:#bdbdbd;line-height:1.4;transition:color .15s}
.project-list a:hover,.project-list a:focus-visible,.project-list a[aria-current=true]{color:var(--white)}
.stage-controls{position:absolute;z-index:2;left:var(--edge);right:var(--edge);bottom:calc(23px + var(--safe-bottom));display:flex;justify-content:center;align-items:center;min-height:44px}
.categories{display:flex;align-items:center;justify-content:center;gap:30px;white-space:nowrap}
.categories button{min-height:44px}
.categories button[aria-pressed=true]{color:var(--accent-light)}
.categories button:hover{text-decoration:underline;text-underline-offset:5px}
#open-archive{margin-left:16px}
#open-archive[aria-expanded=true]{color:var(--accent-light)}
#preview-toggle{min-height:44px;display:inline-flex;align-items:center}
#preview-toggle{position:absolute;left:0}
#preview-toggle:hover{color:var(--accent-light)}
.information{position:fixed;inset:72px 0 auto;margin:0 auto;width:min(790px,calc(100% - 64px));height:auto;max-width:100%;max-height:calc(100dvh - 104px);padding:0;border:0;background:rgba(0,0,0,.52);color:white;overflow:auto;backdrop-filter:blur(24px);box-shadow:0 20px 70px rgba(0,0,0,.2)}
.information::backdrop{background:rgba(0,0,0,.035);backdrop-filter:blur(2px)}
.information-header{position:sticky;top:0;z-index:1;background:rgba(0,0,0,.3);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:space-between;gap:25px;padding:16px 28px}
.information-header button,.film-header button{min-height:44px;display:inline-flex;align-items:center;gap:18px;flex-shrink:0}
.information-header button:hover{opacity:.75}
.information-body{padding:12px 28px 36px;display:flex;flex-direction:column;gap:32px}
.information-body p{font:inherit;max-width:690px;margin:0}
#biography p+p{margin-top:24px}
.contact-block h2{font:inherit;margin:0 0 20px}
.contact-links{margin:0;display:grid;gap:12px}
.contact-links>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:15px}
.contact-links dt{color:rgba(255,255,255,.72)}
.contact-links dd{margin:0;min-width:0;overflow-wrap:anywhere}
.contact-links a:hover{text-decoration:underline;text-underline-offset:4px}
.film-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;border:0;padding:0;margin:0;background:var(--black);color:white}
.film-dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
.film-dialog::backdrop{background:var(--black)}
.film-header{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:35px;padding:calc(20px + var(--safe-top)) var(--edge) 20px}
.film-header>span{max-width:75%}
.film-header button:hover{color:var(--accent-light)}
.player-container{width:min(calc(100% - 2 * var(--edge)),calc((100dvh - 190px - var(--safe-top) - var(--safe-bottom)) * 16 / 9));aspect-ratio:16/9;background:black}
.player-container iframe{display:block;border:0;width:100%;height:100%}
.vimeo-fallback{position:absolute;left:var(--edge);bottom:calc(28px + var(--safe-bottom))}
.vimeo-fallback>span{margin-left:12px}
.vimeo-fallback:hover{color:var(--accent-light)}
@media(min-width:1800px){:root{--edge:50px}}
@media(max-width:1000px){.stage-controls{bottom:calc(17px + var(--safe-bottom))}#preview-toggle{bottom:50px}.project-list{max-width:min(590px,66vw);max-height:calc(100dvh - 250px - var(--safe-top) - var(--safe-bottom))}}
@media(max-width:760px){
  :root{--edge:max(22px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));--ui:16px;--brand-size:17px}
  .masthead{gap:18px}
  .information{inset:76px 0 auto;width:calc(100% - 32px);max-height:calc(100dvh - 100px)}
  .project-list{max-width:calc(100% - 2 * var(--edge) + 16px);max-height:calc(100dvh - 220px - var(--safe-top) - var(--safe-bottom));padding:8px}
  .project-list a{padding:6px 0;min-height:36px}
  .categories{gap:24px;letter-spacing:0}
  .information-body{padding:12px 22px 28px}.information-header{padding:12px 22px}.contact-links>div{grid-template-columns:90px minmax(0,1fr);gap:10px}
  .film-header{gap:20px;align-items:flex-start}
  .film-header>span{max-width:68%;padding-top:10px}
  .player-container{width:min(100%,calc((100dvh - 180px - var(--safe-top) - var(--safe-bottom)) * 16 / 9))}
}
@media(max-height:450px){
  .stage{min-height:260px}
  .masthead,.information-header,.film-header{padding-top:calc(8px + var(--safe-top));padding-bottom:8px}
  .stage-controls{bottom:calc(3px + var(--safe-bottom))}
  .project-list{top:47%;max-height:calc(100dvh - 160px - var(--safe-top) - var(--safe-bottom))}
  .project-list a{min-height:32px;padding:3px 0}
  #preview-toggle{bottom:40px}
  .information{inset:16px 0 auto;max-height:calc(100dvh - 32px)}.information-body{padding-top:12px}
}

.archive{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--black);color:white;overflow:auto}
.archive::backdrop{background:var(--black)}
.archive-header{position:sticky;top:0;z-index:4;background:var(--black);display:flex;align-items:center;justify-content:space-between;gap:25px;padding:calc(20px + var(--safe-top)) var(--edge) 20px}
.archive-header button{min-height:44px;display:inline-flex;align-items:center;gap:18px}
.archive-header button:hover{color:var(--accent-light)}
.archive-grid{max-width:1900px;margin:0 auto;padding:8px var(--edge) calc(40px + var(--safe-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 14px}
.archive-card{min-width:0}
.archive-card a{display:block;position:relative}
.archive-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#151515}
.archive-card h2{font:inherit;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.archive-card a:hover h2{color:var(--accent-light)}
.archive-preview-host{position:absolute;left:0;top:0;z-index:1;pointer-events:none;opacity:0;background:transparent;overflow:hidden}
.archive-preview-host video{display:block;width:100%;height:100%;border:0;object-fit:cover;pointer-events:none}
@media(min-width:1700px){.archive-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.archive-grid{grid-template-columns:minmax(0,1fr);gap:22px;padding-top:8px}}
@media(max-width:480px){
  .categories{display:grid;grid-template-columns:repeat(3,max-content);column-gap:16px;row-gap:0}
  #open-archive{grid-column:1/-1;justify-self:center;margin-left:0}
  #preview-toggle{bottom:100px}
  .project-list{top:calc(50% - 35px);max-height:calc(100dvh - 280px - var(--safe-top) - var(--safe-bottom))}
}
@media(max-height:450px) and (max-width:480px){.project-list{top:calc(50% - 42px);max-height:calc(100dvh - 230px - var(--safe-top) - var(--safe-bottom))}#preview-toggle{bottom:90px}}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.information::backdrop{backdrop-filter:none}}

@media(max-width:480px){.contact-links>div{grid-template-columns:minmax(0,1fr);gap:3px}}

/* Consistent identity and film navigation. */
.modal-brand{font-size:var(--brand-size);font-weight:500;letter-spacing:-.015em;white-space:nowrap}
.modal-brand:hover{text-decoration:underline;text-underline-offset:4px}
.information{inset:0;width:100%;height:100dvh;max-height:none;max-width:none;margin:0;background:transparent;backdrop-filter:none;box-shadow:none;overflow:hidden}
.information-header{position:absolute;inset:0 0 auto;padding:calc(20px + var(--safe-top)) var(--edge) 20px;background:transparent;backdrop-filter:none;z-index:2;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.28)}
.information-panel{position:relative;margin:calc(84px + var(--safe-top)) auto 0;width:min(790px,calc(100% - 80px));--information-radius:8px;--information-overscan:52px;max-height:calc(100dvh - 112px - var(--safe-top) - var(--safe-bottom));overflow:visible;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
.information-body{padding-top:28px}
.film-header>span{max-width:none}
.film-footer{position:absolute;left:var(--edge);right:var(--edge);bottom:calc(28px + var(--safe-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:25px}
#film-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:70ch}
.film-footer .vimeo-fallback{position:static;justify-self:end;white-space:nowrap}
@media(max-width:760px){.information-header{padding-top:calc(20px + var(--safe-top))}.film-header>.modal-brand{padding-top:10px}}
@media(max-width:600px){#archive-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.film-footer{grid-template-columns:minmax(0,1fr);gap:10px}.player-container{width:min(100%,calc((100dvh - 240px - var(--safe-top) - var(--safe-bottom)) * 16 / 9))}}
@media(max-height:450px){.information-panel{margin-top:calc(64px + var(--safe-top));max-height:calc(100dvh - 80px - var(--safe-top) - var(--safe-bottom))}.information-header{padding-top:calc(8px + var(--safe-top));padding-bottom:8px}}
@media(max-height:450px) and (min-width:481px){.film-footer{grid-template-columns:minmax(0,1fr) auto;gap:20px}.player-container{width:min(100%,calc((100dvh - 190px - var(--safe-top) - var(--safe-bottom)) * 16 / 9))}}
.information-body{text-shadow:none}

/* A single ordinary texture holds the frozen blurred frame and tint. Mask both
   together; there is no live backdrop capture or second surface during morph. */
.information-panel::before{content:"";position:absolute;inset:calc(-1 * var(--information-overscan));z-index:1;pointer-events:none;background-image:var(--information-glass),var(--information-frame,none);background-size:100% 100%;background-repeat:no-repeat;mask-image:var(--information-fade);-webkit-mask-image:var(--information-fade);border-radius:0;clip-path:var(--information-morph,inset(var(--information-overscan) round var(--information-radius)));-webkit-clip-path:var(--information-morph,inset(var(--information-overscan) round var(--information-radius)));transform:translate(var(--information-shift-x,0px),var(--information-shift-y,0px))}
.information-panel>.information-body{position:relative;z-index:2;max-height:calc(100dvh - 160px - var(--safe-top) - var(--safe-bottom));overflow:auto;overscroll-behavior:contain;padding:40px;gap:32px}
@media(max-width:760px){.information-panel{width:calc(100% - 32px);margin-top:calc(80px + var(--safe-top))}.information-panel>.information-body{max-height:calc(100dvh - 112px - var(--safe-top) - var(--safe-bottom));padding:24px 20px 28px}.contact-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%}.project-list a{min-height:44px;padding:9px 0}}
@media(max-height:450px){.information-panel{margin-top:calc(64px + var(--safe-top))}.information-panel>.information-body{max-height:calc(100dvh - 90px - var(--safe-top) - var(--safe-bottom));padding-top:22px;padding-bottom:26px}.project-list a{min-height:40px;padding:7px 0}}
@media(max-width:360px){.categories{column-gap:8px}}

@media(pointer:coarse){.masthead h1 a,.modal-brand,.vimeo-fallback,.contact-links a{display:inline-flex;align-items:center;min-height:44px}.project-list a{min-height:44px;padding:9px 0}}
@media(pointer:coarse) and (max-height:450px){.project-list a{min-height:40px;padding:7px 0}}
@media(pointer:coarse) and (orientation:landscape){:root{--edge:max(22px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))}.information-panel{width:min(790px,calc(100% - 2 * var(--edge)))}}

.information-panel #biography,.information-panel .contact-block{width:100%;max-width:640px;margin-inline:auto;text-align:left}
.information-panel .contact-block h2{margin-bottom:24px}
.information-panel .contact-links>div{grid-template-columns:112px minmax(0,1fr);gap:24px;align-items:center}
@media(max-width:480px){.information-panel .contact-links>div{grid-template-columns:minmax(0,1fr);gap:4px}}
@media(max-width:480px){
  .information-panel .contact-block h2{margin-bottom:12px}
  .information-panel .contact-links{gap:4px}
  .information-panel .contact-links>div{grid-template-columns:82px minmax(0,1fr);column-gap:12px;row-gap:0}
}
@media(max-width:360px){.information-panel .contact-links>div:first-child{grid-template-columns:minmax(0,1fr)}}

.information-panel #biography p{text-wrap:pretty}
.information[open] .bio-role{color:var(--accent-light)}

/* The neutral fill fades toward the unused lower-right corner. */
.information{
  --information-ink:#f7f7f3;
  --information-muted:rgba(247,247,243,.86);
  --information-glass:linear-gradient(135deg,rgba(10,10,10,.46),rgba(10,10,10,.40) 70%,rgba(10,10,10,.20));
  --information-fade:linear-gradient(135deg,#000 0%,#000 50%,rgba(0,0,0,.9) 62%,rgba(0,0,0,.42) 78%,transparent 94%);
  color:var(--information-ink)
}
.information .contact-links dt{color:var(--information-muted)}
.mobile-portfolio{display:none}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
  .stage{display:none}
  .masthead{position:sticky;top:0;z-index:4;background:var(--black);pointer-events:auto;text-shadow:none}
  .mobile-portfolio{display:block;min-height:calc(100dvh - 84px - var(--safe-top));background:var(--black)}
  .mobile-navigation{position:sticky;top:calc(84px + var(--safe-top));z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;padding:0 var(--edge) 12px;background:var(--black)}
  .mobile-navigation button{min-height:44px;color:rgba(255,255,255,.8)}
  .mobile-navigation button[aria-pressed=true]{color:var(--accent-light)}
  .mobile-navigation button:focus-visible{outline:0;text-decoration:underline;text-underline-offset:5px}
  .mobile-feed{display:grid;gap:28px;padding:8px var(--edge) calc(40px + var(--safe-bottom))}
  .mobile-card{min-width:0;scroll-margin-top:calc(192px + var(--safe-top))}
  .mobile-card a{display:block}
  .mobile-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#151515}
  .mobile-card h2{font:inherit;margin:8px 0 0;text-wrap:pretty}
  body:has(.information[open]) .stage{display:block;position:fixed;inset:0;width:100%;height:100dvh}
  body:has(.information[open]) .mobile-portfolio,body:has(.information[open]) .masthead{visibility:hidden}
}
/* A narrow card has no empty corner: keep more glass behind its last lines. */
@media(max-width:760px){
  .information{
    --information-glass:linear-gradient(135deg,rgba(10,10,10,.50),rgba(10,10,10,.44));
    --information-fade:linear-gradient(135deg,#000 0%,#000 75%,rgba(0,0,0,.55) 100%)
  }
}
