/* ONFOCE: warm editorial shell, photographic motion language. */
html{scrollbar-gutter:stable}.hero h1,.hero-bottom,.page-heading{animation:none!important}
.mask-line{display:block;overflow:hidden;padding:.08em 0 .13em;margin:-.08em 0 -.05em;line-height:inherit}.mask-line>span{display:block}
.develop-sequence{position:relative}.develop-stage{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.35fr);gap:54px;align-items:center;padding-block:45px 70px}.develop-copy{min-width:0}.develop-copy>.eyebrow{font-size:9px;letter-spacing:1.5px}.develop-captions{display:grid;gap:21px;margin:34px 0}.develop-captions p{font:500 clamp(22px,2.8vw,35px)/1.6 var(--serif);color:var(--fg)}.develop-readout{font-size:10px;letter-spacing:1.2px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:25px}.develop-readout span{margin-left:16px;color:var(--accent)}.develop-hint{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 20px}.develop-frame{min-width:0;align-self:center}.develop-frame>a{display:block;overflow:hidden;position:relative;background:#111815;border-radius:4px}.develop-frame img{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:cover}.develop-frame figcaption{display:flex;justify-content:space-between;padding-top:14px;font-size:10px;line-height:1.6;color:var(--muted)}.motion-photo-pair{margin-top:30px}.home-photo.portrait>a,.home-photo.portrait figcaption{max-width:none}.home-photo.portrait img{max-height:590px;object-fit:cover;object-position:50% 65%}
.project-detail{width:min(1120px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 64px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--fg);overflow:auto;margin:auto;box-shadow:0 30px 100px #0003}.project-detail::backdrop{background:#17231ed9;backdrop-filter:blur(10px)}.project-detail-shell{padding:34px}.project-detail-top{position:sticky;top:0;background:var(--bg);z-index:2;display:flex;justify-content:space-between;align-items:center;gap:25px;padding-bottom:30px}.project-detail-top>.eyebrow{font-size:9px}.detail-close{padding:9px 16px;border:1px solid var(--line);border-radius:24px;background:none;color:var(--fg);font-size:11px;cursor:pointer;white-space:nowrap;min-height:38px}.detail-close:hover{background:var(--fg);color:var(--bg)}.project-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;align-items:start}.detail-media{min-width:0;transform-origin:0 0}.detail-media .project-art{border-radius:8px;aspect-ratio:16/10}.detail-media img{object-fit:cover;width:100%;height:100%}.detail-media .cover-action{display:none}.detail-copy{min-width:0}.detail-copy>.eyebrow{font-size:9px;letter-spacing:1px}.detail-copy h2{font:500 clamp(25px,3.2vw,37px)/1.5 var(--serif);margin:15px 0 24px;transform-origin:0 0;overflow-wrap:anywhere}.detail-description{font-size:13px;line-height:2;color:var(--muted)}.detail-description p{margin-bottom:18px}.detail-copy>.button{margin-top:18px}.shared-open{overflow:hidden}.photo-dialog{overflow:auto}.lightbox-image{transform-origin:0 0}.lightbox-caption{transition:none}.photo-dialog.shared-opening,.project-detail.shared-opening{overflow:visible}
@media(prefers-reduced-motion:no-preference){
 @keyframes mask-rise{from{transform:translateY(112%)}to{transform:translateY(0)}}
 @keyframes gentle-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
 .motion-active .hero.is-playing .mask-line>span{animation:mask-rise 1.05s cubic-bezier(.2,.72,.18,1) both}
 .motion-active .hero.is-playing .mask-line:nth-child(2)>span{animation-delay:110ms}
 .motion-active .page-heading .mask-line>span,.motion-active .article-heading .mask-line>span{animation:mask-rise .9s cubic-bezier(.2,.72,.18,1) both}
 .motion-active .hero.is-playing .hero-art{animation:gentle-rise 1s .2s cubic-bezier(.2,.72,.18,1) both}
 .motion-active .hero.is-playing .hero-intro,.motion-active .hero.is-playing .hero-links{animation:gentle-rise .85s .35s cubic-bezier(.2,.72,.18,1) both}
 .motion-active .develop-sequence{height:235svh;min-height:1400px}
 .motion-active .develop-stage{position:sticky;top:0;height:100svh;padding-block:55px;align-content:center}
 .motion-active .develop-frame img{filter:brightness(calc(.09 + var(--develop,0)*.91)) contrast(calc(.6 + var(--develop,0)*.4)) blur(calc((1 - var(--develop,0))*12px)) saturate(var(--develop,0));transform:scale(calc(1.045 - var(--develop,0)*.045));will-change:filter,transform}
 .motion-active .develop-frame{max-height:78svh}.motion-active .develop-frame img{max-height:70svh}
 .motion-active .develop-captions p{color:var(--line);transition:color .5s ease}.motion-active .develop-captions p.is-lit{color:var(--fg)}
 .study-pending{opacity:0;transform:translateY(20px)}.study-enter{animation:gentle-rise .85s cubic-bezier(.2,.72,.18,1) both}
 .projects-grid>.study-enter:nth-child(2),.home-photos>.study-enter:nth-child(2){animation-delay:90ms}
 .project{transition:box-shadow .4s,border-color .4s}.project:hover{transform:none}.project-art img,.home-photo img,.photo-item img{transition:transform .9s cubic-bezier(.2,.7,.2,1)}.project:hover .project-art img,.home-photo a:hover img,.photo-item a:hover img{transform:scale(1.035)}
 .photo-dialog[open]{animation:none}
}
@media(max-width:900px){.develop-stage{gap:30px;grid-template-columns:.8fr 1.2fr}.develop-captions p{font-size:25px}.project-detail-grid{grid-template-columns:1fr;gap:26px}.detail-media .project-art{aspect-ratio:16/8}.project-detail-shell{padding:26px}.detail-copy h2{font-size:30px}.detail-description{max-width:620px}.project-detail{max-height:calc(100dvh - 40px)}}
@media(max-width:700px){.develop-stage{grid-template-columns:1fr;gap:24px;padding-block:26px 40px}.develop-frame{grid-row:1}.develop-frame img{aspect-ratio:4/3}.develop-frame figcaption{font-size:9px;padding-top:10px}.develop-copy>.eyebrow{font-size:8px}.develop-captions{gap:10px;margin:18px 0}.develop-captions p{font-size:20px;line-height:1.4}.develop-captions p br{display:none}.develop-readout{margin-top:18px;font-size:9px}.develop-hint{font-size:9px;margin:8px 0}.develop-copy .text-link{font-size:10px}.motion-photo-pair{margin-top:25px}.project-detail{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}.project-detail-shell{padding:20px}.project-detail-top{gap:12px;padding-bottom:22px}.project-detail-top>.eyebrow{font-size:8px;letter-spacing:1px}.detail-close{padding:8px 12px;font-size:10px}.detail-media .project-art{aspect-ratio:16/10}.detail-copy h2{font-size:28px;margin:10px 0 18px}.detail-description{font-size:12px}}
@media(max-width:700px) and (prefers-reduced-motion:no-preference){.motion-active .develop-sequence{height:240svh;min-height:1300px}.motion-active .develop-stage{height:100svh;padding-block:24px;gap:18px}.motion-active .develop-frame{max-height:42svh}.motion-active .develop-frame img{max-height:37svh;aspect-ratio:16/9}.motion-active .develop-captions{gap:9px;margin-block:15px}.motion-active .develop-copy>.text-link{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.study-pending{opacity:1;transform:none}.develop-sequence{height:auto!important;min-height:0!important}.develop-stage{position:static!important;height:auto!important}.develop-frame img{filter:none!important;transform:none!important}.develop-captions p{color:var(--fg)!important}.mask-line>span{transform:none!important;animation:none!important}}
@media print{.develop-sequence{height:auto!important;min-height:0!important}.develop-stage{position:static!important;height:auto!important}.develop-frame img{filter:none!important;transform:none!important}.study-pending{opacity:1;transform:none}.mask-line>span{animation:none!important;transform:none!important}}
