/* Scoped, appended after v6 styles. Images retain their intrinsic ratio. */
body.portfolio-home-edge,body.portfolio-work-edge{--edge-gutter:clamp(14px,3vw,44px)}
.portfolio-work-edge .wrap{width:100%;max-width:none;margin:0}
.portfolio-work-edge .top,.portfolio-work-edge main>:not(.hero),.portfolio-work-edge .foot{width:min(1180px,calc(100% - 2 * var(--edge-gutter)));margin-inline:auto}
.portfolio-work-edge .hero{display:block;width:100%;max-width:none;min-height:0;aspect-ratio:auto;padding:0;overflow:visible;background:var(--ink)}
.portfolio-work-edge .hero img[data-auto-cover]{position:static;display:block;width:100%;height:auto;object-fit:contain;z-index:auto}
.portfolio-work-edge .hero:after{display:none}
.portfolio-work-edge .hero+.hero-copy{margin-top:clamp(22px,3vw,40px);padding-top:0}
.portfolio-work-edge .hero-copy h1{font-size:clamp(32px,5vw,72px)}
.portfolio-work-edge .hero:not(.has-cover){min-height:180px}
.portfolio-work-edge .hero-error{margin:0;padding:24px var(--edge-gutter);max-width:none;color:var(--paper);background:transparent}
.portfolio-home-edge .shell{width:100%;max-width:none;margin:0}
.portfolio-home-edge .site-head,.portfolio-home-edge .intro,.portfolio-home-edge .about,.portfolio-home-edge .outside,.portfolio-home-edge .site-foot{width:min(1320px,calc(100% - 2 * var(--edge-gutter)));margin-inline:auto}
.portfolio-home-edge #films{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,44px) clamp(16px,2vw,28px);align-items:start;width:100%;padding-bottom:36px}
.portfolio-home-edge #films>.section-head{grid-column:1/-1;width:calc(100% - 2 * var(--edge-gutter));margin-inline:auto;padding-bottom:0}
.portfolio-home-edge #films>.film{min-width:0;padding:0}
.portfolio-home-edge #films .film-stage{display:flex;flex-direction:column;min-height:0;border:0}
.portfolio-home-edge #films .film-art{display:block;min-height:0;aspect-ratio:auto;padding:0;background:var(--ink)}
.portfolio-home-edge #films .film-art img[data-auto-cover]{position:static;display:block;width:100%;height:auto;object-fit:contain}
.portfolio-home-edge #films .film-art:after,.portfolio-home-edge #films .stage-top,.portfolio-home-edge #films .stage-type{display:none}
.portfolio-home-edge #films .film-info{display:flex;flex-direction:column;gap:12px;border:0;padding:18px var(--edge-gutter) 0;min-width:0}
.portfolio-home-edge #films .film-info h3{margin:0;font-size:clamp(23px,2.1vw,32px);overflow-wrap:anywhere}
.portfolio-home-edge #films .film-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px 24px}
.portfolio-home-edge #films .film-actions .button{min-height:44px;min-width:44px;border:0;padding:0;background:transparent;color:var(--ink);justify-content:flex-start}
.portfolio-home-edge #films .film-actions .button:hover{text-decoration:underline;text-underline-offset:5px}
.portfolio-home-edge #films .poster-error{margin:0;min-height:180px;padding:24px var(--edge-gutter);background:var(--ink);color:var(--paper)}
@media(max-width:700px){.portfolio-home-edge #films{grid-template-columns:minmax(0,1fr);gap:28px}.portfolio-home-edge #films .film-info{padding-top:14px}.portfolio-home-edge #films .film-actions{gap:10px 18px}}

.portfolio-home-edge .bts-section{padding:36px 0}.portfolio-home-edge .bts-section h2{font-size:28px;margin:0 var(--edge-gutter) 24px}.portfolio-home-edge .bts-section .photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.portfolio-home-edge .bts-section figure{margin:0;min-width:0}.portfolio-home-edge .bts-section img{display:block;width:100%;height:auto;background:var(--ink)}@media(max-width:700px){.portfolio-home-edge .bts-section .photos{grid-template-columns:minmax(0,1fr)}}
