/* Photographic scenes. Base composition and typography stay in design.css. */
.hero-title-line{display:block}
.hero-visual>img{position:absolute;inset:0;width:100%;height:100%}
.hero-visual>#hero-image{object-position:50% 60%}
.hero-visual>.hero-image-incoming{opacity:0;pointer-events:none}
img[src$="vangogh-sala.jpg"]{filter:brightness(1.13) contrast(1.02)}
.project-image.image-canareggio img{object-position:50% 60%}
.project-image.image-vangogh img{object-position:50% 55%}
.hero-photo-controls{display:flex;align-items:stretch;gap:36px;height:100%;min-width:0}
.hero-controls .motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:none;min-width:44px;padding-inline:4px;font-size:12px}
.hero-controls button.motion-toggle::before{content:none}
.motion-icon{position:relative;display:block;flex:none;width:12px;height:12px}
.motion-icon::before,.motion-icon::after{position:absolute;top:0;bottom:0;width:3px;background:currentColor;content:""}
.motion-icon::before{left:1px}.motion-icon::after{right:1px}
.motion-toggle[aria-pressed="false"] .motion-icon::before{top:0;bottom:auto;left:2px;width:0;height:0;border:6px solid transparent;border-right:0;border-left:9px solid currentColor;background:none}
.motion-toggle[aria-pressed="false"] .motion-icon::after{content:none}
.hero-scroll:hover{color:#eef2e9}
body.motion-enabled .hero-visual{animation:cinema-camera 4.2s cubic-bezier(.2,.6,.3,1) backwards}
body.motion-enabled #hero-image{animation:cinema-exposure 1.2s ease-out backwards}
body.motion-enabled .hero-title-line{animation:cinema-title .65s cubic-bezier(.2,.7,.3,1) .15s backwards}
body.motion-enabled .hero-title-line:nth-child(2){animation-delay:.3s}
@keyframes cinema-camera{from{transform:scale(1.035)}to{transform:scale(1)}}
@keyframes cinema-exposure{from{opacity:0}to{opacity:1}}
@keyframes cinema-title{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes cinema-rise{from{transform:translateY(16px)}to{transform:none}}

/* A short dark overture links directly to the three scenes. */
.film-intro{padding:94px 0 0;background:var(--deep);color:#f1f4ed}
.film-intro-top{display:flex;justify-content:space-between;align-items:flex-end;gap:80px;padding-bottom:64px}
.film-intro-top>div{min-width:0}
.film-intro .eyebrow{color:#a6b4a9}
.film-intro h2{margin:0;font-size:clamp(48px,5.6vw,86px);line-height:1.04;letter-spacing:-.045em}
.film-intro-aside{max-width:365px;padding-bottom:4px}
.film-intro-aside p{margin:0 0 25px;color:#b8c5bb;font-size:16px;line-height:1.85}
.film-intro .line-link{color:#edf2e9;border-color:#7b8b80}
.film-intro .line-link:hover{color:var(--accent);border-color:var(--accent)}
.scene-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;border-top:1px solid #ffffff28}
.scene-nav a{min-width:0;padding:24px 0 30px;text-decoration:none}
.scene-nav strong{display:block;color:#eef2e9;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:-.02em;transition:color .2s}
.scene-nav span{display:block;margin-top:7px;color:#9fafA3;font-size:12px;line-height:1.7}
.scene-nav a:hover strong{color:var(--accent)}

/* Each scene scrolls normally. The photographs carry the composition. */
.project-films{background:var(--deep)}
.project-film{position:relative;isolation:isolate;height:clamp(660px,82svh,860px);overflow:hidden;background:var(--deep);color:#f5f6ef}
.film-visual{position:absolute;z-index:-2;inset:-22px 0;overflow:hidden;transform:translate3d(0,var(--film-shift,0px),0)}
.film-visual>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 48%}
.project-film::after{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0a100fe6 0%,#0a100f8f 43%,#0a100f14 100%),linear-gradient(0deg,#0a100fe6 0%,#0a100f00 52%,#0a100f38 100%);content:"";pointer-events:none}
.film-content{display:flex;flex-direction:column;align-items:flex-start;height:100%;padding-top:76px;padding-bottom:54px}
.film-content>*{min-width:0}
.film-kicker{margin:0 0 28px;color:#c0cdc3;font-size:12px;line-height:1.7;letter-spacing:.12em}
.film-content>h2{max-width:14ch;margin:0;font-size:clamp(62px,7.2vw,112px);font-weight:400;line-height:1.03;letter-spacing:-.05em}
.film-content>h2 em{color:#e5e8dc}
.film-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:64px;width:100%;margin-top:auto;padding-top:46px}
.film-summary{max-width:570px;min-width:0}
.film-summary h3{margin:0 0 9px;color:#f2f5ed;font-size:19px;font-weight:500;line-height:1.4;letter-spacing:-.02em}
.film-summary p{max-width:56ch;margin:0;color:#c0cdc3;font-size:16px;line-height:1.8}
.film-link{display:inline-flex;justify-content:space-between;align-items:center;flex:none;gap:40px;min-height:48px;padding:8px 0;border-bottom:1px solid #ffffff70;color:#f5f6ef;font-size:13px;font-weight:500;line-height:1.6;text-decoration:none}
.film-link>span{font-size:28px;font-weight:300;line-height:1;transition:transform .25s}
.film-link:hover{color:#e2ba97;border-color:#c89871}
.film-link:hover>span{transform:translateX(4px)}
.film-spano .film-visual>img{object-position:55% 38%}
.film-perth .film-visual{top:50%;right:0;bottom:auto;left:auto;width:min(65%,800px);aspect-ratio:750/560;transform:translate3d(0,calc(-50% + var(--film-shift,0px)),0)}
.film-perth .film-visual::after{position:absolute;inset:0;background:linear-gradient(90deg,var(--deep),#0a100f00 32%),linear-gradient(0deg,var(--deep),#0a100f00 19%,#0a100f00 83%,var(--deep));content:"";pointer-events:none}
.film-perth::after{background:linear-gradient(90deg,#0a100ff5 0%,#0a100f66 48%,#0a100f00 100%),linear-gradient(0deg,#0a100fc9,#0a100f00 45%)}
.film-perth .film-content>h2{max-width:15ch}
.film-vangogh .film-visual>img{object-position:50% 55%}
.film-vangogh::after{background:linear-gradient(270deg,#0a100fcf 0%,#0a100f78 45%,#0a100f14 100%),linear-gradient(0deg,#0a100fe8,#0a100f00 60%)}
.film-vangogh .film-kicker,.film-vangogh .film-content>h2,.film-vangogh .film-bottom{align-self:flex-end;width:56%;max-width:800px}
.film-vangogh .film-bottom{flex-direction:column;align-items:flex-start;gap:22px}
body:not(.motion-enabled) .film-visual{--film-shift:0px!important}
body.motion-enabled.reveal-enabled .project-film.is-visible .film-content>h2{animation:cinema-rise .8s cubic-bezier(.2,.65,.3,1) backwards}
body.motion-enabled.reveal-enabled .project-film.is-visible .film-bottom{animation:cinema-rise .8s cubic-bezier(.2,.65,.3,1) .1s backwards}

/* Project openings retain the work's name and contribution in the photograph. */
.project-cinema{position:relative;isolation:isolate;height:calc(100svh - 86px);min-height:650px;max-height:900px;overflow:hidden;background:var(--deep);color:#f4f6ed}
.project-cinema-photo{position:absolute;z-index:-2;inset:0;overflow:hidden}
.project-cinema-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.project-cinema::after{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0a100fe0 0%,#0a100f60 58%,#0a100f20 100%),linear-gradient(0deg,#0a100fe8 0%,#0a100f0d 65%,#0a100f50 100%);content:"";pointer-events:none}
.project-cinema-content{display:flex;flex-direction:column;align-items:flex-start;height:100%;padding-top:35px;padding-bottom:46px}
.project-cinema-content>*{min-width:0}
.cinema-back{display:inline-block;margin-bottom:auto;padding:3px 0 8px;border-bottom:1px solid #ffffff60;color:#d4dfd5;font-size:12px;line-height:1.6;letter-spacing:.03em}
.cinema-back:hover{color:#fff;border-color:#fff}
.cinema-heading{max-width:100%;padding:46px 0 32px}
.cinema-heading>.eyebrow{margin:0 0 23px;color:#c2cfc4;font-size:12px;line-height:1.8}
.cinema-heading h1{max-width:18ch;margin:0;font-size:clamp(52px,6.5vw,98px);font-weight:400;line-height:1.07;letter-spacing:-.05em;overflow-wrap:break-word}
.cinema-heading h1 em{color:#e9ecdf}
.cinema-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:56px;width:100%;padding-top:22px;border-top:1px solid #ffffff38}
.cinema-bottom>p{max-width:780px;min-width:0;margin:0;color:#ced9ce;font-size:16px;line-height:1.8}
.cinema-zoom{display:inline-flex;align-items:center;justify-content:space-between;flex:none;gap:28px;min-height:48px;padding:7px 0;border-bottom:1px solid #ffffff70;color:#fff;font-size:12px;line-height:1.6;cursor:zoom-in}
.cinema-zoom>span{font-size:25px;font-weight:300;line-height:1}
.cinema-zoom:hover{color:#e2ba97;border-color:var(--accent)}
.project-cinema-spano .project-cinema-photo>img{object-position:55% 38%}
.project-cinema-vangogh .project-cinema-photo>img{object-position:50% 55%}
.project-cinema-canareggio .project-cinema-photo{left:18%}
.project-cinema-canareggio .project-cinema-photo::after{position:absolute;inset:0;background:linear-gradient(90deg,var(--deep),#0a100f00 28%);content:"";pointer-events:none}
.project-cinema-canareggio .project-cinema-photo>img{object-position:50% 60%}
.project-cinema-perth .project-cinema-photo{top:50%;right:0;bottom:auto;left:auto;width:min(72%,800px);aspect-ratio:750/560;transform:translateY(-50%)}
.project-cinema-perth .project-cinema-photo::after{position:absolute;inset:0;background:linear-gradient(90deg,var(--deep),#0a100f00 25%),linear-gradient(0deg,var(--deep),#0a100f00 18%,#0a100f00 83%,var(--deep));content:""}
.project-cinema-caption{padding-top:17px}
.project-cinema-caption>p{max-width:110ch;margin:0;color:var(--muted);font-size:12px;line-height:1.8}

/* Paired archive photographs, with descriptive captions kept outside the image. */
.project-process{padding-bottom:105px}
.project-process>.section-heading{align-items:flex-end}
.process-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:38px}
.process-frame{min-width:0;margin:0}
.process-frame:nth-child(2){padding-top:58px}
.process-frame .image-zoom{height:430px}
.process-frame .image-zoom img{object-fit:cover;object-position:50% 60%}
.process-frame.spano-fabrication .image-zoom img{object-position:45% 50%}
.process-frame.vangogh-exhibition .image-zoom img{object-position:50% 55%}
.process-frame.process-wide{grid-column:1/-1}
.process-sequence-vangogh .process-frame:nth-child(2){padding-top:0}
.process-frame.process-panorama .image-zoom{height:auto}
.process-frame.process-panorama .image-zoom img{width:100%;height:auto;object-fit:contain;object-position:center;transform:none}
.process-frame.process-panorama .zoom-label{position:static;display:flex;justify-content:flex-end;gap:22px;width:100%;padding:10px 14px;background:var(--soft);color:var(--ink)}
.process-frame figcaption{margin:20px 0 0}
.process-frame figcaption>strong{display:block;color:var(--ink);font-size:18px;font-weight:500;line-height:1.45;letter-spacing:-.02em}
.process-frame figcaption>p{max-width:52ch;margin:8px 0 0;color:var(--muted);font-size:16px;line-height:1.8}
.motion-off{scroll-behavior:auto}
.scene-nav a[aria-current] strong{color:var(--accent)}

@media(max-width:850px){
 .hero-photo-controls{gap:26px}
 .hero-controls{gap:24px}
 .hero-controls .motion-toggle{font-size:11px;gap:8px}
 .film-intro{padding-top:78px}
 .film-intro-top{gap:40px;padding-bottom:48px}
 .film-intro h2{font-size:60px}
 .film-intro-aside{max-width:300px}
 .scene-nav{gap:28px}
 .scene-nav strong{font-size:16px}
 .project-film{height:740px}
 .film-visual{--film-shift:0px!important}
 .film-content{padding-top:60px;padding-bottom:42px}
 .film-content>h2{font-size:76px;max-width:15ch}
 .film-bottom{gap:32px}
 .film-summary{max-width:480px}
 .film-link{gap:26px}
 .film-perth .film-visual{width:min(80%,800px)}
 .film-vangogh .film-kicker,.film-vangogh .film-content>h2,.film-vangogh .film-bottom{width:65%}
 .project-cinema{height:calc(100svh - 76px);min-height:650px}
 .project-cinema-content{padding-top:28px;padding-bottom:38px}
 .cinema-heading h1{font-size:76px}
 .cinema-bottom{gap:30px}
 .cinema-bottom>p{font-size:16px}
 .cinema-zoom{gap:18px}
 .project-cinema-canareggio .project-cinema-photo{left:0}
 .project-cinema-perth .project-cinema-photo{width:min(90%,800px)}
 .project-process{padding-bottom:84px}
 .process-pair{gap:28px}
 .process-frame:nth-child(2){padding-top:42px}
 .process-frame .image-zoom{height:390px}
}

@media(max-width:600px){
 .hero-controls{gap:18px}
 .hero-photo-controls{flex:1;gap:25px}
 .hero-controls .motion-toggle{min-width:40px;margin-left:auto;padding-inline:6px}
 .motion-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .hero-controls .hero-scroll{display:none}
 .film-intro{padding-top:62px}
 .film-intro-top{display:block;padding-bottom:36px}
 .film-intro h2{font-size:clamp(45px,12vw,62px);line-height:1.06}
 .film-intro .eyebrow{font-size:12px;margin-bottom:23px}
 .film-intro-aside{max-width:100%;margin-top:28px;padding:0}
 .film-intro-aside p{margin-bottom:22px;font-size:16px;line-height:1.8}
 .scene-nav{grid-template-columns:1fr;gap:0}
 .scene-nav a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center;padding:19px 0;border-bottom:1px solid #ffffff24}
 .scene-nav a:last-child{border-bottom:0}
 .scene-nav strong{font-size:16px}
 .scene-nav span{margin:0;font-size:12px;text-align:right}
 .project-film{height:auto;min-height:630px}
 .film-visual{inset:0}
 .film-content{height:auto;min-height:630px;padding-top:46px;padding-bottom:34px}
 .film-kicker{margin-bottom:23px;font-size:12px;letter-spacing:.08em}
 .film-content>h2{max-width:100%;font-size:clamp(44px,11.7vw,62px);line-height:1.07;letter-spacing:-.04em}
 .film-bottom{flex-direction:column;align-items:flex-start;gap:22px;padding-top:40px}
 .film-summary h3{font-size:19px;margin-bottom:8px}
 .film-summary p{font-size:16px;line-height:1.75}
 .film-link{gap:42px;min-height:46px;font-size:13px}
 .project-film::after{background:linear-gradient(0deg,#0a100ff5 0%,#0a100fa6 35%,#0a100f30 60%,#0a100fba 100%)}
 .film-spano .film-visual>img{object-position:59% 40%}
 .film-perth .film-visual{top:155px;right:0;bottom:auto;left:0;width:100%;transform:none}
 .film-perth .film-visual::after{background:linear-gradient(0deg,var(--deep),#0a100f00 22%,#0a100f00 76%,var(--deep))}
 .film-perth::after{background:linear-gradient(0deg,#0a100ff5 0%,#0a100f80 32%,#0a100f00 62%,#0a100f70 100%)}
 .film-perth .film-content>h2{max-width:100%}
 .film-vangogh .film-kicker,.film-vangogh .film-content>h2,.film-vangogh .film-bottom{align-self:flex-start;width:100%;max-width:none}
 .film-vangogh .film-visual>img{object-position:50% 55%}
 .project-cinema{height:calc(100svh - 74px);min-height:650px;max-height:900px}
 .project-cinema-content{padding-top:23px;padding-bottom:30px}
 .project-cinema::after{background:linear-gradient(0deg,#0a100ff5 0%,#0a100fb0 39%,#0a100f28 75%,#0a100fa3 100%)}
 .cinema-back{font-size:12px}
 .cinema-heading{padding:40px 0 28px}
 .cinema-heading>.eyebrow{font-size:12px;margin-bottom:20px;letter-spacing:.08em}
 .cinema-heading h1{max-width:100%;font-size:48px;line-height:1.09;letter-spacing:-.045em}
 .cinema-bottom{flex-direction:column;align-items:flex-start;gap:18px;padding-top:20px}
 .cinema-bottom>p{font-size:15px;line-height:1.8}
 .cinema-zoom{min-height:44px;gap:32px;font-size:12px}
 .project-cinema-spano .project-cinema-photo>img{object-position:59% 40%}
 .project-cinema-vangogh .project-cinema-photo>img{object-position:50% 55%}
 .project-cinema-canareggio .project-cinema-photo>img{object-position:50% 60%}
 .project-cinema-perth .project-cinema-photo{top:90px;right:0;left:0;width:100%;transform:none}
 .project-cinema-perth .project-cinema-photo::after{background:linear-gradient(0deg,var(--deep),#0a100f00 22%,#0a100f00 78%,var(--deep))}
 .project-cinema-caption{padding-top:14px}
 .project-cinema-caption>p{font-size:12px;line-height:1.75}
 .project-process{padding-bottom:72px}
 .project-process>.section-heading{margin-bottom:32px}
 .project-process .section-summary{max-width:none;margin-top:24px;font-size:16px;line-height:1.8}
 .process-pair{grid-template-columns:1fr;gap:38px}
 .process-frame:nth-child(2){padding-top:0}
 .process-frame .image-zoom{height:360px}
 .process-frame figcaption{margin-top:18px}
 .process-frame figcaption>strong{font-size:18px}
 .process-frame figcaption>p{font-size:16px;line-height:1.75}
}

@media(prefers-reduced-motion:reduce){
 body.motion-enabled .hero-visual,body.motion-enabled #hero-image,body.motion-enabled .hero-title-line,body.motion-enabled.reveal-enabled .project-film.is-visible .film-content>h2,body.motion-enabled.reveal-enabled .project-film.is-visible .film-bottom{animation:none}
 .film-visual{--film-shift:0px!important}
 .film-link>span,.scene-nav strong{transition:none}
 .film-link:hover>span{transform:none}
}
