.home .logo-wrap{margin:-1vh 0 0!important}
.home .logo-wrap .lg{width:min(1100px,100%)!important;height:auto!important;aspect-ratio:1280/660!important;filter:none!important;mix-blend-mode:screen!important;-webkit-mask-image:none!important;mask-image:none!important;position:relative;overflow:hidden}
.home .logo-wrap .lg:has(video) span.logo,.home .logo-wrap .lg:has(img.pv) span.logo{display:none!important}
html.pv-has .home .logo-wrap .lg span.logo{display:none!important}
.home .logo-wrap .lg video,.home .logo-wrap .lg img.pv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;background:#000;pointer-events:none}
.home .logo-wrap .lg video,.home .logo-wrap .lg img.pv{-webkit-mask-image:radial-gradient(ellipse 72% 80% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 72% 80% at 50% 50%,#000 62%,transparent 100%)}
.copy.home h1{font-size:clamp(1.25rem,2.4vw,2rem)!important;margin-top:.2em}
@media not all and (min-width:701px){.home .logo-wrap .lg{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important}}
html.pv-on:not(.pv-go) .home h1,html.pv-on:not(.pv-go) .home .nextpage{animation:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
html.pv-go .home h1,html.pv-go .home .nextpage{animation:none!important;opacity:1!important;visibility:visible!important;transition:opacity .8s ease}
@media(prefers-reduced-motion:reduce){.home .logo-wrap .lg video{display:none}html:not(#x) .home .logo-wrap .lg:has(video) span.logo{display:block!important}html:not(#x) .home h1,html:not(#x) .home .nextpage,html.pv-on:not(.pv-go):not(#x) .home h1,html.pv-on:not(.pv-go):not(#x) .home .nextpage{animation:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:none}}
@media(min-width:701px){.home .logo-wrap .lg{--w:max(320px,min(80vw,1150px,calc((100vh - 340px)*1.939)));width:var(--w)!important;margin-left:calc(50% - var(--w)/2)!important;margin-right:0!important}}

/* Media-free recovery reuses the approved poster; original logo remains beneath it if unavailable. */
.home .logo-wrap .lg:not(:has(video)):not(:has(img.pv))::after{content:"";position:absolute;inset:0;background:url("poster.png") center/cover no-repeat;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 72% 80% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 72% 80% at 50% 50%,#000 62%,transparent 100%)}


/* Project line-art marks (placement A, user-chosen): end of title; one quiet 1.2s draw-once when the Projects list first appears in a page visit; static after; reduced-motion static. Progressive: without JS the marks simply never inject; with JS they are static unless the draw runs. */
.film-mk{display:inline-block;width:34px;height:34px;margin-left:12px;vertical-align:-8px;opacity:.9}
.film-mk svg{display:block;width:100%;height:100%}
.mk-anim [pathLength]{animation:mkdraw 1.2s ease-out forwards}
@keyframes mkdraw{to{stroke-dashoffset:0}}
@media not all and (min-width:701px){summary:has(.film-mk){position:relative;padding-right:52px}.film-mk{position:absolute;right:8px;top:50%;transform:translateY(-50%);margin-left:0;width:28px;height:28px;vertical-align:baseline}}
@media(prefers-reduced-motion:reduce){.mk-anim [pathLength]{animation:none!important;stroke-dashoffset:0!important}}


/* Line-art marks on the current Projects listing rows (selector moved off the retired summary markup). */
@media not all and (min-width:701px){.projects-page section.film h2 .film-mk{position:static;transform:none;width:28px;height:28px;vertical-align:-6px;margin-left:10px}}

/* Copy-email fallback control */
.copy-email{font:inherit;font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;background:transparent;color:inherit;border:2px solid var(--ink);padding:6px 12px;margin-left:12px;cursor:pointer;vertical-align:middle;min-height:44px}
.copy-email:hover{background:var(--ink);color:var(--paper)}
.copy-email:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* Restore Raj-approved 6 Nov v4: clips aligned at the narrative edge. */
section.film{margin:0 0 2.5em}
section.film h2{line-height:1.5}
section.film .project-note{margin-top:.7em;line-height:1.75}
@media(min-width:701px){
section.film h2{display:grid;grid-template-columns:minmax(0,22em) 96px auto;column-gap:1.2em;align-items:center}
section.film h2 .film-thumb{margin-left:0;grid-column:2;grid-row:1}
section.film h2 .film-mk{margin-left:0;vertical-align:baseline;grid-column:3;grid-row:1}
}
@media not all and (min-width:701px){section.film h2{line-height:1.5}}
