.photo-frame{display:block;position:relative;overflow:hidden;background:#e8e9e1;width:100%;isolation:isolate}
.photo-frame>img{display:block;width:100%;height:100%;max-height:none;object-fit:cover}
.photo-frame.original>img{height:auto}
.project-visual>.photo-frame{aspect-ratio:4 / 3}
.photo-gallery .photo-frame>img{height:100%;width:100%}
.photo-gallery .photo-frame.original>img{height:auto}

.hero-image img.website-image,.material-image img.website-image{object-fit:var(--photo-fit);object-position:var(--photo-position);transform:scale(var(--photo-zoom));transform-origin:var(--photo-position)}
.hero-image,.material-image{overflow:hidden}
@media(max-width:580px){.hero-image img.website-image,.material-image img.website-image{object-fit:var(--photo-mobile-fit);object-position:var(--photo-mobile-position);transform:scale(var(--photo-mobile-zoom));transform-origin:var(--photo-mobile-position)}}
.project-story[style]:not([style=""]) p,.project-story[style]:not([style=""]) h2{font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-align:inherit}
.hero-slideshow{position:absolute;inset:0}
.hero-slideshow .hero-photo{position:absolute;inset:0;width:100%;height:100%}
.hero-photo[hidden]{display:none}
.hero-photo:not([hidden]){animation:hero-photo-appear .8s ease-out}
@keyframes hero-photo-appear{from{opacity:.35}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.hero-photo:not([hidden]){animation:none}}
.projects-menu{position:relative;font-size:inherit}
.projects-menu summary{cursor:pointer;list-style:none;font:inherit;letter-spacing:inherit;white-space:nowrap}
.projects-menu summary::-webkit-details-marker{display:none}
.projects-menu summary:after{content:' ▾';font-size:10px}
.projects-menu[open] summary:after{content:' ▴'}
.projects-dropdown{position:absolute;top:calc(100% + 18px);left:0;min-width:260px;max-width:350px;max-height:65svh;overflow:auto;padding:12px;background:#242b23;color:#fff;box-shadow:0 12px 30px #0003;border:1px solid #ffffff40}
.projects-dropdown a{display:block;padding:10px 12px;line-height:1.4;white-space:normal}
.projects-dropdown a:hover,.projects-dropdown a[aria-current=page]{background:#ffffff15;text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){.topbar .menu-toggle{display:block}.topbar .nav{display:none;position:absolute;top:82px;left:20px;right:20px;background:#242b23;padding:24px;flex-direction:column;gap:20px;max-height:calc(100svh - 100px);overflow:auto}.topbar .nav.open{display:flex}.projects-dropdown{position:static;margin-top:12px;max-width:none;min-width:0;max-height:38svh;box-shadow:none}.projects-menu summary{font-size:14px}}
