body.emilie-active>.case-view{display:none!important}.ec-page[hidden]{display:none}
.ec-page{max-width:1448px;margin:auto;padding:0 clamp(24px,5vw,76px);position:relative}
.ec-page .subhead,.ec-page .case-footer{border:0}
.ec-heading{height:auto;border:0;display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:24px;padding:70px 0 48px}
.ec-heading h1{margin:0;font-weight:200;max-width:100%}.ec-heading h1 span{color:#751c19}
.ec-heading p{font-size:13px;line-height:1.8;color:var(--soft);margin:0;text-wrap:pretty;hyphens:none;word-break:normal;overflow-wrap:normal}
.ec-video,.ec-figure{margin:0;min-width:0}.ec-video video{width:100%;aspect-ratio:3/1;object-fit:contain;display:block;background:#171719}
.ec-page figcaption{font-size:11px;letter-spacing:.015em;line-height:1.6;color:var(--soft);margin-top:12px}
.ec-figure img{width:100%;height:auto;display:block}
.ec-editorial-copy{min-width:0;max-width:38ch}
.ec-editorial-copy h2,.ec-categories h2,.ec-more-content h2{font-size:clamp(22px,2.2vw,30px);font-weight:300;line-height:1.25;letter-spacing:0;margin:0 0 24px;text-wrap:balance}
.ec-editorial-copy p,.ec-more-content p{font-size:17px;font-weight:400;line-height:1.8;color:var(--soft);margin:0;text-wrap:pretty;hyphens:none;word-break:normal;overflow-wrap:normal}
.ec-intro-layout,.ec-motion-layout,.ec-closing-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(20px,2.4vw,36px);row-gap:40px;margin-top:clamp(80px,9vw,128px)}
.ec-intro-primary{grid-column:1/7;grid-row:1/3;align-self:start}
.ec-intro-copy{grid-column:8/12;grid-row:1}
.ec-intro-secondary{grid-column:8/12;grid-row:2}
.ec-motion-copy{grid-column:1/5;grid-row:1}
.ec-motion-primary{grid-column:6/12;grid-row:1;align-self:end}
.ec-motion-secondary{grid-column:1/7;grid-row:2;align-self:start}
.ec-eye{grid-column:8/13;grid-row:2;align-self:start;font-family:var(--font-display);font-size:clamp(36px,3.55vw,50px);font-weight:300;line-height:1.2;letter-spacing:0;color:var(--ink);margin:0;text-wrap:balance;font-kerning:normal;hyphens:none}
.ec-intro-eye{grid-column:1/7;grid-row:1/3;align-self:end;width:100%;max-width:none;font-size:clamp(44px,4.35vw,62px);padding-bottom:24px}
.ec-results{display:grid;gap:32px;margin-top:clamp(64px,7vw,96px)}
.ec-categories{margin-top:clamp(80px,8vw,112px)}
.ec-categories h2{margin-bottom:32px}.ec-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.ec-closing-layout{align-items:start}.ec-closing-layout .ec-editorial-copy{grid-column:1/5}.ec-closing-layout .ec-figure{grid-column:7/12;max-width:320px;justify-self:end}
.ec-more{margin:96px 0 64px}.ec-more summary{display:inline-block;cursor:pointer;list-style:none;font-family:var(--font-text);font-size:15px;line-height:1.5;padding:14px 22px;border:1px solid #751c19;background:#751c19;border-radius:2px;color:#fff}
.ec-more summary::-webkit-details-marker{display:none}.ec-more summary:hover{border-color:#902722;background:#902722}.ec-more summary:focus-visible{outline:2px solid white;outline-offset:5px}.ec-more summary b{font-weight:400;margin-left:20px}
.ec-more-open{display:none}.ec-more[open] .ec-more-open{display:inline}.ec-more[open] .ec-more-closed{display:none}
.ec-more-content{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,88px);padding-top:44px}.ec-more-content section{max-width:48ch}.ec-more-content p+p{margin-top:20px}.ec-more-content h2{font-size:23px}
.ec-credits{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:24px 0 64px;margin:0}.ec-credits dt{font-size:11px;line-height:1.6;color:var(--soft);margin-bottom:10px}.ec-credits dd{font-size:14px;line-height:1.6;margin:0}
.ec-pending{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s ease}.ec-pending.ec-visible{opacity:1;transform:none}
@media(max-width:960px){
 .ec-page{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
 .ec-heading{padding:44px 0 32px;display:block}.ec-heading p{margin-top:22px}
 .ec-intro-layout,.ec-motion-layout,.ec-closing-layout{grid-template-columns:minmax(0,1fr);gap:32px;margin-top:64px}
 .ec-intro-primary,.ec-intro-copy,.ec-intro-secondary,.ec-motion-copy,.ec-motion-primary,.ec-motion-secondary,.ec-eye,.ec-closing-layout .ec-editorial-copy,.ec-closing-layout .ec-figure{grid-column:1;grid-row:auto}
 .ec-intro-copy{grid-row:1}.ec-intro-primary{grid-row:2}.ec-intro-secondary{width:78%;justify-self:end}
 .ec-editorial-copy{max-width:40ch}.ec-editorial-copy p,.ec-more-content p{font-size:16px;line-height:1.8}
 .ec-editorial-copy h2,.ec-categories h2{font-size:23px}.ec-eye{font-size:clamp(27px,5.4vw,44px);max-width:100%;margin:8px 0;padding-bottom:0}.ec-intro-eye{font-size:clamp(30px,6.5vw,52px)}
 .ec-results{margin-top:56px;gap:20px}.ec-categories{margin-top:64px}.ec-grid{grid-template-columns:1fr;gap:28px}
 .ec-closing-layout .ec-figure{max-width:240px;justify-self:end}
 .ec-more{margin:64px 0 48px}.ec-more-content{grid-template-columns:1fr;gap:36px;padding-top:32px}
 .ec-credits{grid-template-columns:1fr 1fr;gap:28px;padding:16px 0 48px}
}
@media(prefers-reduced-motion:reduce){.ec-pending{opacity:1;transform:none;transition:none}}

/* Project cover in the existing all-projects gallery. */
.works-grid>a[href="#project/emilie-chamie"]{background:linear-gradient(180deg,rgba(20,12,20,.18) 0%,rgba(20,12,20,.08) 30%,rgba(20,12,20,.88) 100%),url('emilie/Motion_01.webp') center/cover no-repeat;isolation:isolate}
.works-grid>a[href="#project/emilie-chamie"]:hover{border-color:#ffffffbf}
.works-grid>a[href="#project/emilie-chamie"] .gallery-number{color:#fff;text-shadow:0 1px 6px #000}
.works-grid>a[href="#project/emilie-chamie"] h3{color:#fff;text-shadow:0 2px 12px #0008}

.works-grid>a.motion-cover{position:relative;overflow:hidden;isolation:isolate}
.motion-cover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
.works-grid>a.motion-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#140c1430 0%,#140c1414 30%,#140c14e0 100%);z-index:-1;pointer-events:none}


/* Editorial polish, scoped to the Emilie Chamie case study. */
.ec-page .ec-eye{font-size:clamp(30px,3.1vw,44px);line-height:1.24;letter-spacing:0;text-wrap:balance;}
.ec-page .ec-intro-eye{font-size:clamp(40px,4vw,56px);line-height:1.22;}
.ec-page .ec-motion-layout>.ec-eye{align-self:center;justify-self:center;width:100%;margin:0 0 30px;}
.ec-page .ec-editorial-copy h2{line-height:1.3;margin-bottom:20px;}
.ec-page .ec-editorial-copy p,.ec-page .ec-more-content p{line-height:1.8;text-wrap:pretty;orphans:3;widows:3;}
.ec-page figcaption{font-size:12px;line-height:1.6;letter-spacing:.01em;text-wrap:pretty;}
.ec-page .ec-more-content h2{line-height:1.35;text-wrap:balance;}
@media(min-width:961px){.ec-page .ec-motion-layout{row-gap:56px;}}
@media(max-width:960px){.ec-page .ec-eye{font-size:clamp(26px,4.3vw,40px);}.ec-page .ec-intro-eye{font-size:clamp(30px,5.6vw,48px);}.ec-page .ec-motion-layout>.ec-eye{justify-self:start;margin:8px 0 0;}.ec-page .ec-editorial-copy{max-width:42ch;}}
@media(max-width:540px){.ec-page .ec-motion-layout>.ec-eye{font-size:clamp(20px,5.3vw,28px);}.ec-page .ec-intro-eye{font-size:clamp(28px,6vw,36px);}.ec-page figcaption{font-size:11px;}}
