/* Clinical Motion Studio: personal typography, object films, and a factual career. */
/* ScrollTrigger measures at scroll zero; global CSS smooth scrolling delays that measurement. */
html{scroll-behavior:auto}
.cinematic-version{--accent:#80502f;--line:#c4c1ba;--lilac:#bdad98;--deep:#302c27}
.cinematic-version .name-progress-fill{background:var(--accent)}
.cinematic-version .name-introduction h2 span{color:var(--accent)}
.cinematic-version .name-systems h2{font-size:clamp(30px,2.65vw,44px)}
.cinematic-version .name-introduction p{font-size:13px;line-height:1.7}
.cinematic-version .name-systems p{font-size:12px;max-width:280px}
.cinematic-version .name-systems>div{gap:36px}
.cinematic-version .name-systems .signature-work{margin-right:112px;white-space:nowrap}
.cinematic-version .work-section{background:var(--paper);padding:0;z-index:5}
.cinematic-version .section-intro{padding:100px var(--pad) 86px;margin:0;min-height:400px;align-items:flex-end}
.cinematic-version .section-intro h2{font-size:clamp(50px,5.8vw,90px);max-width:850px}
.cinematic-version .section-intro p{font-size:14px;line-height:1.8}
.film-index{position:sticky;top:0;z-index:7;height:64px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--paper);border-block:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.film-index::-webkit-scrollbar{display:none}
.film-index a{white-space:nowrap;font-size:12px;line-height:1.5;position:relative;padding:23px 0;color:#595651}
.film-index a::after{content:'';height:2px;background:var(--accent);position:absolute;bottom:0;left:0;right:0;transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.film-index a[aria-current]::after,.film-index a:hover::after{transform:scaleX(1)}
.film-index a[aria-current]{color:var(--ink)}
.film-project{position:relative;scroll-margin-top:64px}
.film-scroll{height:180svh;position:relative;scroll-margin-top:64px}
.film-pin{position:sticky;top:64px;height:calc(100svh - 64px);min-height:550px;overflow:hidden;isolation:isolate;background:var(--paper)}
.film-visual{position:absolute;top:8%;bottom:9%;left:32%;right:1%;z-index:0;overflow:hidden;transform-origin:60% 50%;will-change:transform}
.film-visual img,.film-visual video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.film-visual video{opacity:0;transition:opacity .35s;pointer-events:none}
.film-visual img{transition:opacity .35s}
.film-ready .film-visual video{opacity:1}.film-ready .film-visual img{opacity:0}
.film-heading{position:absolute;top:14%;left:var(--pad);width:32%;max-width:530px;z-index:2}
.film-heading h3{font-size:clamp(48px,6vw,94px);line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.film-heading p{font-size:12px;line-height:1.7;max-width:310px;color:var(--muted);margin-top:23px}
.film-caption{position:absolute;left:var(--pad);bottom:12%;width:30%;max-width:420px;z-index:2}
.film-statement{font-size:clamp(23px,2.15vw,35px);line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.film-proof{font-size:12px;line-height:1.8;margin-top:20px;max-width:310px;color:var(--muted)}
.film-read{display:inline-flex;align-items:center;justify-content:space-between;gap:42px;margin-top:30px;padding-bottom:10px;border-bottom:1px solid currentColor;font-size:12px;font-weight:600}
.film-read .icon{width:18px;height:18px;transition:transform .35s var(--ease)}
.film-read:hover .icon{transform:translate(4px,-4px)}
.film-foot{position:absolute;bottom:22px;left:var(--pad);right:var(--pad);display:flex;align-items:center;gap:24px;font-size:10px;color:var(--muted)}
.film-track{height:1px;flex:1;background:var(--line);overflow:hidden}
.film-track i{display:block;width:100%;height:100%;background:var(--accent);transform:scaleX(0);transform-origin:left}
.film-project[data-layout=reverse] .film-visual{left:1%;right:32%;transform-origin:40% 50%}
.film-project[data-layout=reverse] .film-heading,.film-project[data-layout=reverse] .film-caption{left:auto;right:var(--pad)}
.film-study{padding:0 var(--pad);background:#eceae5;border-color:#c4c1ba!important;scroll-margin-top:64px}
.film-study .project-meta{padding:28px 0}
.film-study .project-title{font-size:20px}
.film-study .project-subtitle{font-size:12px}
.film-study .project-open{font-size:12px}
.film-study .project-detail{padding:35px 0 70px;max-width:1120px;margin:auto}
.film-study .study-decision{background:#e0dcd4}
.film-study .study-summary{font-size:22px;max-width:900px}
.film-study .study-fact span,.film-study .evidence-note{font-size:12px}
.film-study .study-features{font-size:15px}
.film-study .study-tech{font-size:12px}
.film-project.is-film-static .film-scroll{height:100svh}
.is-film-static .film-pin{position:relative;top:0;min-height:0}
.is-film-static .film-visual{transform:none!important}
.is-film-static .film-foot>span:first-child{visibility:hidden}
.cinematic-version .profile-section{padding:120px var(--pad) 0;background:#282725;color:#f0ede6;position:relative;z-index:5}
.profile-opening{display:grid;grid-template-columns:1.12fr .8fr;gap:11%;align-items:center;padding-bottom:130px}
.profile-text h2{font-size:clamp(40px,4.4vw,70px);line-height:1.08;max-width:780px;letter-spacing:-.035em}
.profile-intro{font-size:20px;line-height:1.7;max-width:610px;margin-top:38px;color:#e4ded5}
.profile-body{font-size:15px;line-height:1.9;max-width:540px;margin-top:23px;color:#c4bdb2}
.profile-text .plain-link{margin-top:35px;font-size:13px}
.profile-photo{margin:0;position:relative;transform:rotate(2deg);transform-origin:50% 60%}
.profile-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 46%;border-radius:2px}
.profile-photo figcaption{font-size:11px;color:#c4bdb2;margin-top:16px;text-align:end}
.career-section,.credentials-section,.skills-section{border-top:1px solid #5c5650;padding:60px 0 80px}
.career-section>h2,.credentials-section>h2,.skills-section>h2{font-size:clamp(31px,3vw,48px);margin-bottom:42px;letter-spacing:-.025em}
.career-entry{display:grid;grid-template-columns:1fr 2.6fr;gap:40px;padding:30px 0;border-top:1px solid #48433e}
.career-entry:first-child{border-top:0;padding-top:0}
.career-date{font-size:12px;color:#c4bdb2;line-height:1.8;padding-top:4px}
.career-entry h3{font-size:24px;line-height:1.4;letter-spacing:-.02em;max-width:760px}
.career-organization{font-size:13px;line-height:1.8;color:#c4bdb2;margin-top:8px}
.career-summary{font-size:15px;line-height:1.8;color:#dfd9d0;max-width:780px;margin-top:16px}
.earlier-career>summary{list-style:none;padding:18px 0;border-top:1px solid #48433e;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px}
.earlier-career>summary::-webkit-details-marker{display:none}
.earlier-career .icon{width:18px;height:18px}
.earlier-career[open]>summary .icon{transform:rotate(45deg)}
.earlier-career[open]>summary{margin-bottom:30px}
#credentials-list{display:grid;grid-template-columns:repeat(2,1fr);gap:38px 9%}
.credential h3{font-size:22px;line-height:1.45;letter-spacing:-.025em;max-width:480px}
.credential p,.credential span{font-size:13px;line-height:1.8;color:#c4bdb2;margin-top:10px;display:block}
.credential span{color:#e1c6a4;margin-top:5px}
#skills-list{display:grid;grid-template-columns:repeat(3,1fr);gap:7%}
.skill-group h3{font-size:20px;line-height:1.4;letter-spacing:-.02em}
.skill-group p{font-size:14px;line-height:2;color:#c4bdb2;margin-top:18px}
.cinematic-version .principles{border-color:#5c5650;color:#d4ccc1;padding:28px 0;font-size:12px}
.cinematic-version .contact-heading h2{font-size:clamp(60px,10.3vw,165px)}
.cinematic-version footer{background:var(--paper);border-color:var(--line)}
html[dir=rtl] .film-heading h3{font-size:clamp(43px,5vw,80px);line-height:1.4;letter-spacing:0}
html[dir=rtl] .film-heading,html[dir=rtl] .film-caption{text-align:right}
html[dir=rtl] .film-statement{line-height:1.6;letter-spacing:0}
html[dir=rtl] .profile-text h2,html[dir=rtl] .career-entry h3,html[dir=rtl] .credential h3{line-height:1.6;letter-spacing:0}
html[dir=rtl] .profile-photo{transform:rotate(-2deg)}
html[dir=rtl] .film-track i{transform-origin:right}
@media(max-width:1100px) and (min-width:601px){
 .film-heading h3{font-size:58px}.film-heading{width:34%}.film-caption{width:33%}.film-statement{font-size:26px}
 .film-proof{font-size:11px}.film-visual{left:33%;right:-4%}.film-project[data-layout=reverse] .film-visual{left:-4%;right:33%}
 .profile-opening{gap:7%;grid-template-columns:1.1fr .8fr}.profile-intro{font-size:17px}.profile-text h2{font-size:43px}
 .cinematic-version .name-systems .signature-work{margin-right:0}.cinematic-version .name-systems>div{gap:24px}
}
@media(max-height:780px) and (min-width:601px){
 .film-heading{top:10%}.film-heading h3{font-size:clamp(48px,5.3vw,78px)}.film-heading p{margin-top:16px}
 .film-caption{bottom:13%}.film-statement{font-size:27px}.film-proof{margin-top:12px}.film-read{margin-top:20px}
}
@media(max-width:600px){
 .cinematic-version .name-introduction p{font-size:12px;max-width:245px}
 .cinematic-version .name-systems h2{font-size:27px;max-width:320px}
 .cinematic-version .name-systems p{font-size:12px;max-width:225px}
 .cinematic-version .name-systems .signature-work{margin:0;max-width:82px;white-space:normal;right:0}
 .cinematic-version .name-judgment p{font-size:12px;max-width:300px}
 .cinematic-version .section-intro{min-height:360px;padding:75px var(--pad) 54px;display:block}
 .cinematic-version .section-intro h2{font-size:43px;max-width:410px}
 .cinematic-version .section-intro>div{margin-top:25px;max-width:340px}
 .cinematic-version .section-intro p{font-size:13px}
 .work-count{margin-top:15px}
 .film-index{height:54px;gap:26px;padding:0 var(--pad)}.film-index a{font-size:11px;padding:19px 0}
 .film-scroll{height:175svh;scroll-margin-top:54px}.film-pin{top:54px;height:calc(100svh - 54px);min-height:0}
 .film-visual,.film-project[data-layout=reverse] .film-visual{left:-4%;right:-4%;top:130px;bottom:205px;transform-origin:center}
 .film-heading,.film-project[data-layout=reverse] .film-heading{left:var(--pad);right:var(--pad);top:26px;width:auto;max-width:none}
 .film-heading h3{font-size:42px;max-width:340px}.film-heading h3 br{display:none}.film-heading p{font-size:11px;max-width:290px;margin-top:11px}
 .film-caption,.film-project[data-layout=reverse] .film-caption{left:var(--pad);right:var(--pad);bottom:65px;width:auto;max-width:none}
 .film-statement{font-size:25px;line-height:1.2;max-width:275px}.film-proof{font-size:11px;max-width:250px;margin-top:12px}
 .film-read{font-size:11px;gap:20px;margin-top:16px}.film-read .icon{height:16px;width:16px}
 .film-foot{bottom:16px;gap:13px;font-size:9px;left:var(--pad);right:var(--pad)}.film-foot>span:last-child{display:none}
 .film-study{padding:0 var(--pad);scroll-margin-top:54px}.film-study .project-meta{padding:25px 0;gap:16px}
 .film-study .project-title{font-size:19px}.film-study .project-subtitle{font-size:11px;max-width:200px}.film-study .project-open{font-size:10px;gap:10px}
 .film-study .project-detail{padding:24px 0 50px}.film-study .study-summary{font-size:19px;line-height:1.7}.film-study .study-features{font-size:14px}
 .film-study .study-facts{gap:28px;display:grid;grid-template-columns:1fr 1fr}.film-study .study-fact strong{font-size:25px}.film-study .study-fact span{font-size:11px}
 .film-study .study-decision{padding:20px;font-size:14px}.film-study .evidence-note{font-size:11px}
 .cinematic-version .profile-section{padding:76px var(--pad) 0}
 .profile-opening{display:flex;flex-direction:column;gap:44px;padding-bottom:65px;align-items:stretch}
 .profile-text h2{font-size:40px;line-height:1.15}.profile-intro{font-size:17px;line-height:1.8;margin-top:28px}.profile-body{font-size:14px;margin-top:20px}.profile-text .plain-link{margin-top:26px}
 .profile-photo{width:85%;align-self:center}.profile-photo figcaption{font-size:10px}
 .career-section,.credentials-section,.skills-section{padding:40px 0 46px}
 .career-section>h2,.credentials-section>h2,.skills-section>h2{font-size:30px;margin-bottom:30px}
 .career-entry{display:block;padding:26px 0}.career-date{font-size:11px;margin-bottom:13px}.career-entry h3{font-size:21px}.career-organization{font-size:12px}.career-summary{font-size:14px;line-height:1.8}
 #credentials-list,#skills-list{grid-template-columns:1fr;gap:30px}.credential h3{font-size:20px}.credential p,.credential span{font-size:12px}
 .skill-group h3{font-size:20px}.skill-group p{font-size:13px;line-height:1.9;margin-top:10px}
 .cinematic-version .principles{font-size:11px;line-height:1.8;display:block}.principles span{display:block;padding:3px 0}
 .cinematic-version .contact-heading h2{font-size:15vw}
 html[dir=rtl] .film-heading h3{font-size:34px;line-height:1.55;max-width:350px}
 html[dir=rtl] .film-heading p{margin-top:8px}
 html[dir=rtl] .film-statement{font-size:24px;line-height:1.5}
 html[dir=rtl] .film-visual,html[dir=rtl] .film-project[data-layout=reverse] .film-visual{top:154px;bottom:235px}
 html[dir=rtl] .profile-text h2{font-size:35px;line-height:1.5}
}
@media(max-width:360px){
 .cinematic-version .name-systems h2{font-size:24px;max-width:285px}.cinematic-version .name-systems p{max-width:185px;font-size:11px}
 .film-heading h3{font-size:36px}.film-statement{font-size:22px}.film-proof{max-width:220px}
 .film-visual,.film-project[data-layout=reverse] .film-visual{top:125px;bottom:225px}
}
@media(prefers-reduced-motion:reduce){html:not(.motion-opted-in) .profile-photo{transform:none!important}.film-visual,.film-read .icon{will-change:auto}}

/* Settled films replace their poster without blending two different frames. */
.film-ready .film-visual video,.film-ready .film-visual img{transition:none}
.film-heading h3>span{display:block}
.profile-photo img{height:auto}
@media(max-width:600px){.film-heading h3>span{display:inline}}
