
/* Measurements follow the original portfolio's section, banner, and media layout. */
.wrap{max-width:none;padding-left:24px;padding-right:24px}
.hero{padding:0;min-height:100vh;align-items:flex-end}
.intro{flex:1;min-width:0;width:auto;padding:80px 32px 64px}
h1{font-size:clamp(56px,10vw,144px);font-weight:700;letter-spacing:-.02em;line-height:1}
.role{font-size:16px;letter-spacing:.25em;line-height:1.5;margin:24px 0 8px;color:#ffffffb3}
.location{font-size:14px;letter-spacing:.2em;line-height:1.5;margin:0;color:#ffffff66}
.copyright{margin:24px 0;font-size:12px;letter-spacing:.15em;color:#ffffff40}
.bio{max-width:384px;font-size:16px;line-height:1.625;margin:24px 0;color:#ffffff80}
.linkedin{font-size:16px;letter-spacing:.2em;border-radius:2px;padding:20px 32px}
.portrait{position:relative;order:2;right:auto;bottom:auto;align-self:flex-end;flex-shrink:0;width:clamp(200px,35vw,520px);height:clamp(300px,85vh,900px);opacity:1}
.portrait img{filter:grayscale(100%) contrast(1.05);mix-blend-mode:luminosity}
.portrait:after{background:linear-gradient(90deg,#000,transparent 50%),linear-gradient(270deg,#0004,transparent),linear-gradient(0deg,#000,transparent 160px)}
.scroll{right:32px;top:32px;gap:8px;font-size:10px;letter-spacing:.35em}
.scroll span{height:40px;background:#ffffff26}
.showreel{padding-top:0;padding-bottom:40px}
.showreel .eyebrow,.showreel>video{max-width:1200px;margin-left:auto;margin-right:auto}
.eyebrow{font-size:16px;font-weight:500;gap:16px;letter-spacing:.3em}
.works{padding-top:80px;padding-bottom:80px}
.works h2{font-size:48px;font-weight:700;line-height:1.25;letter-spacing:0;margin:0 0 56px}
#projects{display:flex;flex-direction:column;gap:80px}
.project{padding:0;margin:0;border:0;scroll-margin-top:24px}
.category{display:flex;align-items:center;gap:16px;margin:0 0 12px;font-size:16px;line-height:24px;letter-spacing:.2em;color:#8c8c8c}
.category:before{content:'';width:32px;height:1px;background:var(--gold);flex-shrink:0}
.category b{margin:0;font-weight:500;color:var(--gold);letter-spacing:.3em}
.project-banner{position:relative;aspect-ratio:21/6;width:100%;overflow:hidden;border:1px solid #262626;border-radius:2px;background:#131313}
.project-background{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;opacity:.6}
.project-gradient{position:absolute;inset:0;background:linear-gradient(90deg,#000c,#0006 50%,#0000001a)}
.banner-text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:24px}
.banner-text h3{font-size:48px;font-weight:700;line-height:1;letter-spacing:0;margin:0 0 12px}
.services{font-size:14px;line-height:20px;letter-spacing:.1em;color:#ffffff80;margin:0}
.project-description{max-width:768px;margin:32px 0}
.description{font-size:18px;line-height:1.625;color:#8c8c8c;margin:0}
.project-fee{margin:12px 0 0}
.project-media{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.project-films{min-width:0}
.film{position:relative;aspect-ratio:16/9;width:100%;border:1px solid #262626;border-radius:2px;overflow:hidden}
.film iframe,.film>video{position:absolute;inset:0;width:100%;height:100%;border:0}
.film>video{object-fit:contain}
.preview-grid{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
.preview-grid button{flex:1 1 0%;width:100%;aspect-ratio:16/9;border-radius:2px}
.preview-grid .more{font-family:'Playfair Display',Georgia,serif;font-size:24px;font-weight:700}
.project-divider{margin-top:56px;height:1px;background:#222}
.project-links{margin-top:20px}
.film-label{margin:0 0 12px}
.film+.film-label{margin-top:24px}
.video-cover{position:absolute;inset:0;border:0;padding:0;width:100%;height:100%;color:white;background:#111;display:block;overflow:hidden}
.video-cover>img{height:100%;width:100%;object-fit:cover;transition:transform .5s}
.video-cover:hover>img{transform:scale(1.025)}
.video-shade{position:absolute;inset:0;background:#0003}
.play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:76px;height:76px;border:1px solid #fffc;border-radius:50%;background:#0008;transition:background .2s,transform .2s}
.play-icon svg{width:34px;height:34px;margin-left:4px}
.video-cover:hover .play-icon{background:#000b;transform:translate(-50%,-50%) scale(1.07)}
.video-caption{position:absolute;bottom:24px;left:24px;right:24px;text-align:center;font-size:11px;letter-spacing:.23em;text-shadow:0 1px 10px #000}
@media(min-width:768px){
 .wrap{padding-left:48px;padding-right:48px}.intro{padding-left:64px;padding-right:64px}
 .role{font-size:18px}.location{font-size:16px}.bio{font-size:18px}
 .showreel{padding-bottom:64px}.works{padding-top:112px;padding-bottom:112px}
 .works h2{font-size:72px;margin-bottom:80px}#projects{gap:112px}
 .banner-text{padding:40px}.banner-text h3{font-size:72px}.description{font-size:20px}
}
@media(min-width:1024px){
 .wrap{padding-left:80px;padding-right:80px}.intro{padding-left:96px;padding-right:96px}
 .works h2,.banner-text h3{font-size:96px}
 .project-media{grid-template-columns:minmax(0,1fr) 220px}
 .without-gallery .project-media{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
 .hero{min-height:100vh}.intro{position:relative;z-index:2}
 .portrait{position:absolute;right:0;bottom:0;z-index:0}
 .intro .bio{max-width:384px;margin-top:24px}
 .hero .intro{padding-top:80px}.linkedin{font-size:12px}
 .project-banner{min-height:200px;aspect-ratio:21/6}
 .banner-text h3{font-size:clamp(36px,7vw,48px)}
 .services{font-size:11px;line-height:1.6}
 .category{font-size:11px;line-height:1.6;gap:12px}
 .category span{min-width:0}
 .play-icon{width:60px;height:60px}.play-icon svg{width:28px;height:28px}
}
@media(prefers-reduced-motion:reduce){.video-cover>img,.play-icon{transition:none}}

.featured-still{display:block;width:100%;aspect-ratio:16/9;border:1px solid #262626;border-radius:2px;padding:0;overflow:hidden;background:#111}.featured-still img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.featured-still:hover img{transform:scale(1.025)}

.project-tour{margin-top:40px}.project-tour .eyebrow{font-size:12px;letter-spacing:.2em;margin-bottom:16px}.tour-viewport{position:relative;width:100%;aspect-ratio:16/9;min-height:400px;border:1px solid #262626;background:#111;border-radius:2px;overflow:hidden}.tour-viewport iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.tour-hint{font-size:12px;line-height:1.6;color:#888;margin:12px 0 0}@media(max-width:767px){.tour-viewport{aspect-ratio:4/3;min-height:380px}}

/* Compact tour with deliberate interaction, preserving a live automatic preview. */
.project-tour{width:100%;max-width:740px;margin:40px auto 0}
.project-tour .tour-viewport{width:100%;aspect-ratio:16/9;min-height:0}
.project-tour .tour-viewport iframe{pointer-events:none}
.tour-scroll-shield{position:absolute;inset:0;z-index:1;touch-action:pan-y}
.tour-interactive .tour-scroll-shield{display:none}
.tour-interactive .tour-viewport iframe{pointer-events:auto}
.tour-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px}
.tour-toolbar .tour-hint{margin:0;max-width:440px;font-size:11px}
.tour-toggle{flex-shrink:0;border:1px solid #66523a;border-radius:2px;background:#0c0b09;color:#c6ad87;padding:11px 16px;font-size:11px;letter-spacing:.08em;line-height:1.4}
.tour-toggle:hover{background:#1d180f;color:#fff}
.tour-toggle[aria-pressed="true"]{border-color:#aaa;color:#eee}
@media(max-width:540px){.tour-toolbar{align-items:flex-start;gap:12px}.tour-toolbar .tour-hint{font-size:10px}.tour-toggle{font-size:10px;padding:10px 12px}}

/* Thin title strips crop the image vertically without compressing it. */
.project-banner{aspect-ratio:7/1;min-height:180px;display:flex;align-items:center}
.banner-text{position:relative;inset:auto;width:100%;padding:24px 40px}
.project-background{object-fit:cover;object-position:center}
/* Sidebar frames retain their own 16:9 height, independent of the film. */
.preview-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;align-self:start;gap:8px}
.preview-grid button{display:block;position:relative;flex:none;width:100%;height:auto;min-height:0;aspect-ratio:16/9;overflow:hidden}
.preview-grid button>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:767px){.project-banner{aspect-ratio:5/1;min-height:130px}.banner-text{padding:20px 24px}}

.long-title .banner-text h3{font-size:clamp(36px,6vw,80px)}

.project-tour-banner{width:100%;margin-top:24px}
.tour-banner-link{position:relative;display:block;width:100%;aspect-ratio:1734/324;overflow:hidden;border:1px solid #333;border-radius:2px;background:#111}
.tour-banner-link>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 46%;transition:transform .45s,filter .3s}
.tour-banner-link:hover>img{transform:scale(1.015);filter:brightness(1.07)}
.tour-banner-hover{position:absolute;right:20px;bottom:18px;background:#000b;border:1px solid #fff6;border-radius:2px;padding:9px 12px;font-size:10px;letter-spacing:.12em;opacity:0;transition:opacity .2s}
.tour-banner-link:hover .tour-banner-hover,.tour-banner-link:focus-visible .tour-banner-hover{opacity:1}
@media(max-width:767px){.tour-banner-hover{display:none}}
@media(prefers-reduced-motion:reduce){.tour-banner-link>img,.tour-banner-hover{transition:none}}

/* All four gallery previews, including the counter, share a 16:9 frame. */
.preview-grid.has-more-preview>button:last-child{aspect-ratio:16/9}

/* Let the introduction use the open space beside the portrait. */
@media(min-width:1024px){.hero .bio{max-width:880px;font-size:clamp(20px,1.45vw,28px);line-height:1.6}}

@media(max-width:1023px){.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.additional-films{margin-top:24px}.video-fallback{position:absolute;top:12px;right:12px;z-index:4;margin:0;padding:8px 12px;background:#000d;border:1px solid #777;font-size:11px}
.project-website-banner{margin-top:24px}.website-banner-link{color:white;text-decoration:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 40px;border-color:#51432f;isolation:isolate}.website-banner-link .project-background{z-index:-2;opacity:.65;transition:transform .6s,opacity .4s}.website-banner-link .project-gradient{z-index:-1;background:linear-gradient(90deg,#000e,#0009 60%,#0005)}.website-banner-copy{display:flex;flex-direction:column;gap:10px}.website-banner-eyebrow{font-size:10px;letter-spacing:.22em;color:#d5b37b}.website-banner-copy strong{font-family:'Playfair Display',Georgia,serif;font-size:clamp(26px,2.5vw,46px);font-weight:500;line-height:1.1}.website-banner-description{font-size:13px;letter-spacing:.03em;color:#ccc}.website-banner-cta{position:relative;flex-shrink:0;border:1px solid #c6a87599;padding:18px 22px;font-size:11px;letter-spacing:.16em;background:#0007;transition:background .3s,border-color .3s}.website-banner-cursor{position:absolute;right:16px;bottom:-11px;width:27px;height:32px;filter:drop-shadow(0 2px 4px #000);animation:websiteCursor 4.8s ease-in-out infinite;pointer-events:none}.website-banner-click{position:absolute;right:24px;bottom:9px;width:20px;height:20px;border:1px solid #d5b37b;border-radius:50%;opacity:0;animation:websiteClick 4.8s ease-out infinite}.website-banner-link:hover .project-background{transform:scale(1.025);opacity:.8}.website-banner-link:hover .website-banner-cta{background:#352818cc;border-color:#d5b37b}.website-banner-link:focus-visible{outline:2px solid #d5b37b;outline-offset:5px}
@keyframes websiteCursor{0%,20%,100%{transform:translate(10px,9px)}45%,65%{transform:translate(0,-5px)}53%{transform:translate(0,-3px) scale(.9)}}
@keyframes websiteClick{0%,45%,75%,100%{opacity:0;transform:scale(.5)}53%{opacity:.8;transform:scale(.7)}68%{opacity:0;transform:scale(2)}}
@media(max-width:767px){.website-banner-link{padding:22px 24px;gap:18px}.website-banner-copy strong{font-size:24px}.website-banner-eyebrow{font-size:8px}.website-banner-description{display:none}.website-banner-cta{padding:13px;font-size:8px;letter-spacing:.08em}}
@media(max-width:480px){.website-banner-link{align-items:flex-start;justify-content:center;flex-direction:column;gap:10px;min-height:130px;padding:18px 24px}.website-banner-copy{gap:6px}.website-banner-copy strong{font-size:22px}.website-banner-cta{padding:10px 14px}.website-banner-cursor{width:21px;height:25px}}
@media(prefers-reduced-motion:reduce){.website-banner-cursor,.website-banner-click{animation:none}.website-banner-link .project-background{transition:none}}

html,body{overflow-x:clip}

.website-preview-video{pointer-events:none;object-fit:cover;object-position:center center}
