/* Loom screening room: footage first, original brand palette. */
.work-masthead{padding:52px var(--gutter) 36px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}
.work-kicker{font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;margin:0 0 20px}
.work-masthead h1{font-size:clamp(48px,7.4vw,118px);line-height:.98;letter-spacing:-.045em;margin:0;font-weight:650}
.work-masthead em,.work-index em{font-style:normal;color:var(--red)}
.work-masthead>p{font-size:14px;line-height:1.5;max-width:230px;margin:0 0 5px}
.screening-room{margin:0 24px;background:var(--black);color:var(--cream);position:relative;isolation:isolate}
.screening-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 26px;border-bottom:1px solid #fff9f026;font-size:10px;text-transform:uppercase;letter-spacing:.12em}
.screening-topline b{color:var(--red);margin-right:10px}
.preview-toggle{background:none;color:var(--cream);font:inherit;padding:8px 0;min-height:32px;border:0;border-bottom:1px solid #fff9f050;cursor:pointer}
.preview-toggle:hover{border-color:var(--red)}
.screening-panel{position:relative;min-height:510px;height:min(64vw,660px);max-height:75svh;overflow:hidden}
.screening-panel[hidden]{display:none}
.screening-media{position:absolute;inset:0;background:var(--black)}
.screening-media img,.screening-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.screening-media>.film-preview{z-index:1;opacity:0;pointer-events:none;transition:opacity .6s ease}
.screening-media>.film-preview.is-playing{opacity:1}
.youtube-preview{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .6s ease}
.youtube-preview.is-playing{opacity:1}
.youtube-preview iframe{width:100%;height:100%;border:0;display:block}
.screening-media>img{transition:opacity .6s ease}
.screening-media.is-playing>img{opacity:0}
.screening-media::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0e0e0ec9,transparent 80%),linear-gradient(0deg,#0e0e0e80,transparent 70%);pointer-events:none}
.screening-content{position:relative;z-index:1;padding:clamp(28px,5vw,80px);height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end}
.screening-content h2{font-size:clamp(64px,9.5vw,150px);font-weight:600;line-height:.88;letter-spacing:-.055em;margin:0 0 34px;max-width:85%}
.screening-content .work-kicker{margin-bottom:auto;padding-bottom:30px}
.screening-play{display:inline-flex;align-items:center;gap:16px;color:var(--cream);text-decoration:none;font-size:16px}
.youtube-source{display:inline-block;margin:14px 0 0 76px;color:var(--cream);font-size:11px;text-underline-offset:4px;opacity:.75;transition:opacity .2s,color .2s}.youtube-source:hover{color:var(--red);opacity:1}
.screening-play small{display:block;font-size:10px;letter-spacing:.03em;opacity:.75;margin-top:5px}
.screening-play-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--red);font-size:15px;padding-left:3px;transition:transform .35s cubic-bezier(.2,.8,.2,1),background .3s,color .3s}
.screening-play:hover .screening-play-icon{transform:scale(1.12);background:var(--cream);color:var(--red)}
.screening-play:active .screening-play-icon{transform:scale(.94)}
.screening-watermark{position:absolute;right:30px;bottom:30px;font-size:12px;letter-spacing:.12em;color:var(--cream);opacity:.6}
.screening-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--red);transform:scaleX(var(--preview-progress,0));transform-origin:left}
.screening-selector{display:flex;padding:0 26px;gap:28px}
.screening-selector[hidden]{display:none}
.screening-choice{flex:1;min-width:0;display:flex;align-items:center;gap:18px;padding:22px 0;border:0;border-top:2px solid transparent;text-align:left;background:none;color:var(--cream);cursor:pointer;transition:border-color .3s,opacity .3s;font:inherit;font-size:18px}
.screening-choice[aria-pressed=true]{border-color:var(--red)}
.screening-choice[aria-pressed=false]{opacity:.55}.screening-choice:hover{opacity:1}
.screening-choice img{width:88px;height:50px;object-fit:cover;filter:grayscale(1);transition:filter .3s}
.screening-choice[aria-pressed=true] img,.screening-choice:hover img{filter:none}
.screening-choice small{display:block;font-size:9px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px}
.screening-choice b{margin-left:auto;font-size:24px;font-weight:400;transition:transform .3s}.screening-choice:hover b{transform:rotate(45deg)}
.work-index{padding:100px var(--gutter) 110px;display:grid;grid-template-columns:.8fr 1.2fr;gap:7vw}
.work-index h2{font-size:clamp(36px,4vw,62px);font-weight:600;line-height:1;letter-spacing:-.055em;margin:0 0 24px}
.work-index-intro>p:last-child{max-width:300px;font-size:14px;line-height:1.6}
.work-row{display:flex;align-items:center;gap:22px;border-top:1px solid var(--black);padding:24px 0;text-decoration:none;color:var(--black);scroll-margin-top:100px}
.work-row:last-child{border-bottom:1px solid var(--black)}
.work-row img{width:120px;height:80px;object-fit:cover;transition:transform .4s cubic-bezier(.2,.8,.2,1),filter .4s;filter:grayscale(.65)}
.work-row small{display:block;font-size:10px;letter-spacing:.07em;text-transform:uppercase;margin-bottom:10px}
.work-row strong{font-size:clamp(22px,2.6vw,40px);font-weight:550;letter-spacing:-.04em;line-height:1}
.work-row b{margin-left:auto;font-size:30px;font-weight:400;transition:transform .3s}
.work-row:hover img{filter:none;transform:rotate(-3deg) scale(1.04)}.work-row:hover b{color:var(--red);transform:translate(3px,-3px)}
.work-page :is(.screening-play,.screening-choice,.preview-toggle,.work-row):focus-visible{outline:2px solid var(--red);outline-offset:5px}
#film-dialog{width:min(1100px,94vw);max-height:92svh;padding:clamp(18px,3vw,32px)}
#film-dialog h2{font-size:clamp(26px,4vw,46px);margin:10px 0 16px}
#film-dialog .dialog-close{margin-bottom:10px}
#film-player{display:block;width:100%;aspect-ratio:16/9;background:var(--black);max-height:48svh;margin-bottom:10px}
#film-player iframe,#film-player video{display:block;width:100%;height:100%;max-height:48svh;aspect-ratio:16/9;background:var(--black);border:0;object-fit:contain}
#film-dialog-copy{font-size:13px;min-height:1.5em}
@keyframes screening-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.screening-panel:not([hidden]) .screening-content{animation:screening-enter .6s cubic-bezier(.2,.8,.2,1) both}
@media(min-width:1500px){.screening-room{margin-inline:var(--gutter)}}
@media(max-width:760px){
.work-masthead{padding:34px 22px 28px;display:block}.work-masthead h1{font-size:clamp(44px,10vw,70px)}.work-masthead>p{margin:20px 0 0;font-size:13px;max-width:none}.work-masthead>p br{display:none}
.screening-room{margin:0 10px}.screening-topline{padding:8px 16px;font-size:8px;letter-spacing:.08em}.preview-toggle{font-size:9px;min-height:36px}
.screening-panel{height:560px;min-height:440px;max-height:70svh}.screening-content{padding:28px 22px}.screening-content h2{font-size:clamp(62px,15vw,94px);max-width:100%;margin-bottom:28px}.screening-content .work-kicker{font-size:9px}
.screening-media img,.screening-media video{object-position:center}.screening-media::after{background:linear-gradient(0deg,#0e0e0ed9,transparent 95%)}.screening-watermark{right:18px;bottom:24px;font-size:9px}.screening-play{font-size:14px}.screening-play-icon{width:48px;height:48px}.youtube-source{margin-left:60px}
.screening-selector{padding:0 16px;gap:20px}.screening-choice{gap:10px;padding:18px 0;font-size:14px}.screening-choice img{display:none}.screening-choice small{font-size:8px}.screening-choice b{font-size:20px}
.work-index{display:block;padding:60px 22px}.work-index h2{font-size:44px}.work-index-intro>p:last-child{margin-bottom:35px}.work-row{gap:16px;padding:22px 0}.work-row img{width:85px;height:65px}.work-row small{font-size:8px}.work-row strong{font-size:24px}.work-row b{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.work-page .screening-room *,.work-page .work-index *{animation:none!important;transition:none!important}}
.motion-off .screening-room *,.motion-off .work-index *{animation:none!important;transition:none!important}
