html{scroll-behavior:smooth}body.home.cinematic-ready{--accent:var(--cinema-accent,#194b38);background:#fff;color:#171b18}body.home.cinematic-ready .brand-intro,body.home.cinematic-ready .hero,body.home.cinematic-ready main>.studies-slot{display:none!important}
body.home.cinematic-ready .site-header{position:absolute;z-index:20;top:0;width:100%;background:transparent;border:0}body.home.cinematic-ready .brand-copy{display:none}
.cinema{height:290svh;position:relative}.cinema-stage{height:100svh;position:sticky;top:0;overflow:hidden;background:white;isolation:isolate}.villa-plane{position:absolute;inset:0;will-change:transform;transform-origin:center 65%}.villa-render,.villa-outline{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.villa-outline{color:var(--cinema-accent,#194b38);overflow:visible;stroke-dasharray:1800;stroke-dashoffset:1800}.villa-render{opacity:0}.villa-outline{width:max(100vw,141.57svh);height:max(70.64vw,100svh);left:50%;top:50%;transform:translate(-50%,-50%)}
.scene-opening{position:absolute;top:23%;left:4vw;right:4vw;pointer-events:none}.scene-opening>p{font:10px Arial;letter-spacing:.14em;color:var(--cinema-accent,#194b38);margin-bottom:28px}.scene-opening h1{font:500 clamp(60px,10vw,168px)/.92 Arial;letter-spacing:-.07em;max-width:1000px}.scene-opening em{font:italic 1em/.92 Georgia;color:var(--cinema-accent,#194b38)}
.villa-caption{position:absolute;bottom:100px;left:4vw;right:4vw;color:white;opacity:0;display:grid;grid-template-columns:1fr auto;align-items:end;gap:15px 30px;text-shadow:0 2px 22px #0008}.villa-caption p{grid-column:1/-1;font:10px Arial;letter-spacing:.15em}.villa-caption h2{font:400 clamp(42px,6vw,100px)/1.05 Arial;letter-spacing:-.045em;overflow-wrap:normal;word-break:normal;color:white}.villa-caption a{color:white;font:12px Arial;padding:12px 0;border-bottom:1px solid #fff9}.cinema-stage:after{content:'';position:absolute;inset:60% 0 0;z-index:-1;pointer-events:none}.villa-plane:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#0007);opacity:var(--arrive,0)}
.scene-register{position:absolute;left:4vw;right:4vw;bottom:28px;display:flex;justify-content:space-between;gap:20px;font:10px Arial;letter-spacing:.08em;background:#fffffff2;padding:12px 18px;color:var(--cinema-accent,#194b38)}.scene-chapters{position:absolute;right:3vw;top:42%;display:flex;flex-direction:column;gap:12px}.scene-chapters button{border:1px solid #194b3833;border-radius:50%;width:36px;height:36px;background:white;font:10px Arial;color:var(--cinema-accent,#194b38)}.scene-chapters button[aria-current=step]{color:white;background:var(--cinema-accent,#194b38)}
body.home.cinematic-ready .work{background:#fff;position:relative;padding-top:75px;padding-bottom:75px;scroll-margin-top:0}body.home.cinematic-ready .work .section-heading h2{font-size:clamp(38px,5vw,76px);line-height:1.05}.project-slider-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:18px 0;color:var(--cinema-accent,#194b38);font:11px Arial}.project-slider-controls span{margin-right:auto}.project-slider-controls button{width:44px;height:44px;border:1px solid #194b3833;border-radius:50%;font-size:22px}
body.home.cinematic-ready .project-grid:not(.list-view){display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:0 0 28px;scrollbar-width:thin;scrollbar-color:var(--cinema-accent,#194b38) #eef1ef;cursor:grab}body.home.cinematic-ready .project-grid:not(.list-view) .project-card{flex:0 0 64%;min-width:0;opacity:1;transform:none;scroll-snap-align:start}body.home.cinematic-ready .project-grid:not(.list-view) .card-image{height:52svh;min-height:280px;aspect-ratio:auto;background:#f5f5f3}body.home.cinematic-ready .project-grid:not(.list-view) .card-image img{height:100%;width:100%;object-fit:contain;transform:none;filter:none}body.home.cinematic-ready .project-grid:not(.list-view) .project-card:hover img{transform:scale(1.025);transition:transform .65s ease}body.home.cinematic-ready .project-grid .card-info{color:#171b18;background:white;position:static;padding:22px 0;gap:18px}body.home.cinematic-ready .project-grid .card-info h3{font:400 clamp(25px,3vw,48px)/1.12 Arial;letter-spacing:-.035em;word-break:normal;overflow-wrap:normal;color:var(--cinema-accent,#194b38)}body.home.cinematic-ready .project-grid .card-info p{font-size:11px;margin-top:10px}.project-grid.dragging{scroll-snap-type:none!important;cursor:grabbing!important}.project-grid.dragging a{pointer-events:none}.concept-controls{position:fixed;bottom:14px;right:18px;background:#ffffffed;border:1px solid #dce3dd;padding:10px 14px;display:flex;gap:20px;font:10px Arial;color:var(--cinema-accent,#194b38);z-index:30}.project-flight{position:fixed;z-index:9999;overflow:hidden;background:white;pointer-events:none}.project-flight img{width:100%;height:100%;object-fit:cover;max-width:none}.project-grid a:focus-visible{outline:2px solid var(--cinema-accent,#194b38);outline-offset:-3px}
@media(max-width:700px){.cinema{height:240svh}.scene-opening{top:24%;left:6vw}.scene-opening h1{font-size:17vw}.scene-opening>p{font-size:8px;max-width:210px;line-height:1.8}.scene-chapters{top:110px;right:6vw;flex-direction:row}.villa-caption{left:6vw;bottom:110px;display:block}.villa-caption h2{font-size:12vw;margin:15px 0}.villa-caption a{display:inline-block}.scene-register{bottom:55px;font-size:8px;left:6vw;right:6vw;padding:12px}.scene-register>span{max-width:55%}.concept-controls{font-size:8px;bottom:8px;right:8px}.project-slider-controls{margin-top:10px}body.home.cinematic-ready .project-grid:not(.list-view){gap:16px}body.home.cinematic-ready .project-grid:not(.list-view) .project-card{flex-basis:88%}body.home.cinematic-ready .project-grid:not(.list-view) .card-image{height:42svh;min-height:230px}body.home.cinematic-ready .project-grid .card-info{display:flex;flex-wrap:wrap;gap:12px}body.home.cinematic-ready .project-grid .card-info>div{flex:1;min-width:0}body.home.cinematic-ready .project-grid .card-info h3{font-size:28px}body.home.cinematic-ready .project-grid .card-discipline{display:none}.villa-plane{transform-origin:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cinema{height:100svh}.scene-chapters{display:none}.scene-opening{display:none}.villa-plane{transform:none!important}.villa-render{opacity:1!important}.villa-outline{display:none}.villa-caption{opacity:1!important}.project-grid img{transition:none!important;transform:none!important}}
/* A single custom transition owns navigation in this prototype. */
@view-transition{navigation:none}
body.home.cinematic-ready .project-grid:not(.list-view) .project-card{flex:0 0 auto;width:clamp(270px,var(--slide-width,55vw),72vw)}
body.home.cinematic-ready .project-grid:not(.list-view) .card-image{background:#fff}
body.home.cinematic-ready .project-grid .card-info{display:grid;grid-template-columns:auto 1fr auto;align-items:start}
body.home.cinematic-ready .project-grid .card-info>div{min-width:0}
body.home.cinematic-ready .project-grid .card-info h3{font-size:clamp(26px,2.6vw,40px)}
body.home.cinematic-ready .project-grid .card-discipline{display:none}
@media(max-width:700px){body.home.cinematic-ready .project-grid:not(.list-view) .project-card{width:84%;flex-basis:84%}.villa-render{object-fit:contain}.villa-outline{width:100%;height:100%}.villa-caption{color:var(--cinema-accent,#194b38);text-shadow:none;bottom:115px}.villa-caption h2,.villa-caption a{color:inherit}.villa-caption a{border-color:#194b3855}.villa-caption h2{font-size:11vw}.villa-plane:after{display:none}}
/* Concept 06: quiet wayfinding and equally spaced, uncropped project images. */
body.home.cinematic-ready .project-grid:not(.list-view){--slide-height:52svh;gap:28px;scroll-snap-type:none;scrollbar-width:none;padding-bottom:16px}
body.home.cinematic-ready .project-grid:not(.list-view)::-webkit-scrollbar{display:none}
body.home.cinematic-ready .project-grid:not(.list-view) .project-card{width:calc(var(--slide-ratio,1.4)*var(--slide-height));flex:0 0 auto;min-width:0;margin:0;padding:0;align-self:start}
body.home.cinematic-ready .project-grid:not(.list-view) .project-card .card-image{width:100%;height:var(--slide-height);min-height:0;max-height:none;aspect-ratio:auto;margin:0;padding:0}
body.home.cinematic-ready .project-grid:not(.list-view) .project-card .card-image img,body.home.cinematic-ready .project-grid:not(.list-view) .project-card:hover .card-image img{width:100%;max-width:none;height:100%;object-fit:contain;transform:none;transition:none}
body.home.cinematic-ready .project-grid .card-info h3{font-size:clamp(24px,2.4vw,36px)}
body.home.cinematic-ready .project-grid .image-action,body.home.cinematic-ready .project-grid .index,body.home.cinematic-ready .approach{display:none}
body.home.cinematic-ready .work .section-heading{display:block;margin-bottom:32px}
body.home.cinematic-ready .work .section-heading h2{font-size:clamp(36px,4vw,62px);margin:0;letter-spacing:-.04em}
body.home.cinematic-ready .result-count{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.scene-register{background:transparent;padding:0;justify-content:flex-end;color:var(--nav-color,var(--cinema-accent,#194b38))}
.scene-register a{color:inherit;font:24px Arial;min-width:44px;min-height:44px;display:grid;place-items:center;text-shadow:0 1px 8px #0003}
.scene-chapters{gap:4px}.scene-chapters button,.scene-chapters button[aria-current=step]{background:transparent;border:0;border-radius:0;width:44px;height:36px;color:var(--nav-color,var(--cinema-accent,#194b38));position:relative;display:grid;place-items:center}
.scene-chapters button::after{content:'';height:1px;width:18px;background:currentColor;opacity:.5;transition:width .3s,opacity .3s}
.scene-chapters button[aria-current=step]::after{width:34px;opacity:1;height:2px}
.scene-chapters button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:700px){body.home.cinematic-ready .project-grid:not(.list-view){--slide-height:42svh;gap:28px}body.home.cinematic-ready .project-grid:not(.list-view) .project-card{width:calc(var(--slide-ratio,1.4)*var(--slide-height));flex:0 0 auto}.scene-register{bottom:28px}.scene-chapters{gap:0}}
/* Reference-informed line hierarchy: structure, reveals, then screen detail. */
.villa-outline{stroke-dasharray:none;color:#285343}
.villa-outline .sketch-main{stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;fill:none}
.villa-outline .sketch-secondary{stroke:currentColor;stroke-width:.85;opacity:.64;stroke-linejoin:round;fill:none}
.villa-outline .sketch-detail{stroke:currentColor;stroke-width:.6;opacity:.38;fill:none}
.villa-outline .sketch-surfaces{stroke:none}
/* Concept 08: complete the project strip before continuing down the page. */
.project-scroll-track{position:relative;overflow:visible}
.project-scroll-track.is-pinned>#work{position:sticky;top:0;height:100svh;box-sizing:border-box;padding-top:30px;padding-bottom:22px;overflow:hidden}
.project-scroll-track.is-pinned .section-heading{margin-bottom:18px}
.project-scroll-track.is-pinned .section-heading h2{font-size:clamp(30px,3.5vw,48px)}
.project-scroll-track.is-pinned .project-slider-controls{margin:10px 0}
.project-scroll-track.is-pinned .project-grid:not(.list-view){overflow-x:hidden;touch-action:pan-y}
@media(max-width:700px){.project-scroll-track.is-pinned>#work{padding-top:24px}.project-scroll-track.is-pinned .section-heading{margin-bottom:14px}.project-scroll-track.is-pinned .archive-tools{padding:10px 0}.project-scroll-track.is-pinned .project-slider-controls button{height:36px;width:36px}.project-scroll-track.is-pinned .card-info{padding-top:14px}}

/* Responsive captions must retain their own column after the index is hidden. */
body.home.cinematic-ready .project-grid .card-info{grid-template-columns:minmax(0,1fr) auto;gap:12px}
body.home.cinematic-ready .project-grid:not(.list-view) .project-card{min-width:150px}
body.home.cinematic-ready .project-grid:not(.list-view) .card-info{padding:14px 0 10px}
body.home.cinematic-ready .project-grid:not(.list-view) .card-info h3{font-size:clamp(20px,2.4vw,36px);overflow-wrap:break-word}
body.home.cinematic-ready .project-grid .card-info p{margin-top:4px;padding-top:0;overflow-wrap:normal}
.project-slider-controls button:disabled{opacity:.35;cursor:default}
@media(max-width:700px){
 body.home.cinematic-ready .archive-tools{gap:12px;align-items:center;flex-wrap:wrap}
 body.home.cinematic-ready .filters{flex-wrap:wrap;gap:4px 12px}
 body.home.cinematic-ready .view-controls{margin-left:auto;gap:16px}
 body.home.cinematic-ready .archive-tools button{min-height:32px;padding:4px 0;font-size:10px}
 body.home.cinematic-ready .project-grid.list-view .card-info h3{font-size:24px}
 body.home.cinematic-ready .project-grid.list-view .card-arrow{margin-left:0}
}
@media(max-height:500px){
 .project-scroll-track.is-pinned>#work{padding-top:12px;padding-bottom:10px}
 body.home.cinematic-ready .project-scroll-track.is-pinned .section-heading{margin-bottom:8px}
 body.home.cinematic-ready .project-scroll-track.is-pinned .section-heading h2{font-size:26px}
 .project-scroll-track.is-pinned .archive-tools{padding:6px 0;gap:12px}
 .project-scroll-track.is-pinned .project-slider-controls{margin:4px 0}
 .project-scroll-track.is-pinned .project-slider-controls button{width:32px;height:32px}
 body.home.cinematic-ready .project-grid:not(.list-view) .card-info{padding:8px 0}
 body.home.cinematic-ready .project-grid:not(.list-view) .card-info h3{font-size:20px}
 .scene-opening{top:27%}.scene-opening h1{font-size:min(10vw,20svh)}
}

/* Reserve real caption space below the image on portrait phones and tablets.
   Both remain inside the same sticky scene, never straddling the image edge. */
@media(max-width:1000px) and (orientation:portrait){
 .cinema-stage{--caption-height:150px;--caption-bottom:72px}
 .villa-plane{inset:auto 0 calc(var(--caption-height) + var(--caption-bottom) + 24px);height:min(calc(100vw / var(--render-ratio,1.4157)),calc(100% - var(--caption-height) - var(--caption-bottom) - 164px));transform-origin:center 65%}
 .villa-render{object-fit:contain}
 .villa-outline{width:100%;height:100%}
 .villa-plane:after{display:none}
 .villa-caption{left:6vw;right:6vw;bottom:var(--caption-bottom);display:block;color:var(--cinema-accent,#194b38);text-shadow:none}
 .villa-caption p{font-size:10px;line-height:1.5;letter-spacing:.1em}
 .villa-caption h2{font-size:clamp(30px,9vw,64px);line-height:1.08;margin:12px 0;overflow-wrap:break-word;color:inherit}
 .villa-caption a{display:inline-block;min-height:44px;padding:10px 0;color:inherit;border-color:#194b3855}
 .scene-register{bottom:20px;left:6vw;right:6vw;color:var(--cinema-accent,#194b38)}
 .scene-chapters{top:110px;right:6vw;flex-direction:row;color:var(--cinema-accent,#194b38)}
 .scene-chapters button{color:var(--cinema-accent,#194b38)}
}
/* Landscape phones have room for an overlay, but not a separate vertical stack. */
@media(max-width:1000px) and (orientation:landscape){
 .villa-render{object-fit:cover}
 .villa-outline{width:max(100vw,141.57svh);height:max(70.64vw,100svh)}
 .villa-caption{left:4vw;right:12vw;bottom:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;color:white;text-shadow:0 2px 12px #000}
 .villa-caption h2{font-size:clamp(30px,6vw,60px);margin:0;color:white}
 .villa-caption p{grid-column:1/-1}
 .villa-caption a{color:white;border-color:#fff9;min-height:44px}
 .villa-plane:after{display:block;inset:35% 0 0;opacity:1;background:linear-gradient(transparent,#0009)}
 .scene-chapters{top:42%;flex-direction:column}
 .scene-register{bottom:12px;color:white}
}

/* Owner-managed presentation tokens. */
body.home.cinematic-ready{--accent:var(--cinema-accent,#194b38);--paper:var(--cinema-paper,#fff);background:var(--paper);color:var(--cinema-ink,#171b18)}
.cinema-stage,body.home.cinematic-ready .work,body.home.cinematic-ready .project-grid .card-info{background:var(--cinema-paper,#fff)}
.cinema{height:var(--cinema-scroll,290svh)}
.scene-opening h1{font-size:clamp(48px,var(--cinema-title,10vw),180px)}
body.home.cinematic-ready .project-grid:not(.list-view){gap:var(--cinema-gap,28px)}
body.home.cinematic-ready .identity img{width:var(--cinema-logo,70px);height:auto}
body.home.cinematic-ready.show-covers .hero{display:block!important}
body.home.cinematic-ready.show-covers .hero>.hero-kicker,body.home.cinematic-ready.show-covers .hero>.map-introduction{display:none}
body.home.cinematic-ready.show-studies main>.studies-slot{display:block!important}
body.home.cinematic-ready:not(.show-studies) .studies-slot{display:none!important}
body.home.cinematic-ready.show-approach .approach{display:block}
.villa-outline:is(img){object-fit:contain}
@media(max-width:700px){.cinema{height:var(--cinema-mobile-scroll,240svh)}.scene-opening h1{font-size:var(--cinema-mobile-title,17vw)}}
@media(max-width:1000px) and (orientation:portrait){.villa-caption h2{font-size:clamp(28px,var(--cinema-caption,9vw),70px)}}
@media(max-height:500px){.scene-opening h1{font-size:min(var(--cinema-title,10vw),20svh)}}
@media(prefers-reduced-motion:reduce){.cinema{height:100svh}}

html[data-motion=off] .cinema{height:100svh}html[data-motion=off] .scene-chapters{display:none}

body.home.cinematic-ready.show-brand-name .brand-copy{display:block}

body.home.cinematic-ready,.scene-opening h1,.villa-caption h2,body.home.cinematic-ready .project-grid .card-info h3{font-family:var(--cinema-font,Arial),sans-serif}

/* Bitmap and SVG-image outlines share the render's exact fitting box, including portrait projects. */
.villa-outline:is(img){inset:0;left:0;top:0;width:100%;height:100%;transform:none;object-fit:cover}
@media(max-width:1000px) and (orientation:portrait){.villa-outline:is(img){object-fit:contain}}
