/* True vector lettering avoids filtered bitmap rasterization in mobile Safari. */
.site-header .logo-image img{display:block;filter:none!important;image-rendering:auto}
.site-header .logo a{mix-blend-mode:normal}
@media(max-width:768px){
 .site-header,.bp-home .site-header,.bp-contact .site-header{height:152px!important;box-sizing:border-box}
 .site-header .logo-image{margin:0!important}
 .site-header .logo-image img{width:130px!important;height:66px!important;max-height:none!important}
 .site-header .logo-wrap{top:58px;transform:none}
 .bp-home .site-wrap,.bp-contact .site-wrap{padding-top:0!important}
 /* Equal visual gutters: remove the old 8px margin inside each cover. */
 .bp-home .project-covers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;align-items:start}
 .bp-home .project-cover{width:100%!important;min-width:0;padding:0!important;float:none;line-height:0}
 .bp-home .project-cover .cover-content-container,.other-projects .project-cover .cover-content-container{margin:0!important}
 .bp-home .project-cover .cover-link,.other-projects .project-cover .cover-link{line-height:0}
 .bp-home .project-cover .title{font-size:12px!important;line-height:1.3!important;letter-spacing:.07em!important;padding:0!important}
 .bp-home .bp-client-strip{width:100%;max-width:360px;gap:20px 0;margin:30px auto 24px!important;min-height:0}
 .bp-home .bp-client-strip img{height:35px!important;padding:0 13px}
 .bp-home .bp-client-strip img:nth-child(4){border-left:0}
 /* Keep every alternate photo category visible, in one compact row. */
 .other-projects .project-covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:580px}
 .other-projects .project-cover:nth-child(n){display:block!important;width:100%!important;min-width:0;padding:0!important;float:none}
 .other-projects .project-cover .title{font-size:10.5px!important;line-height:1.3!important;letter-spacing:.04em!important;padding:0!important}
 .other-projects .project-cover .details-inner{overflow:visible}
 /* Contact stays within a readable, inset column. */
 .bp-contact main{width:100%;padding:0 24px 36px!important;box-sizing:border-box}
 .bp-contact-content{width:100%;max-width:460px;padding:0!important;margin:0 auto}
 .bp-contact-grid{grid-template-columns:minmax(0,1fr);gap:28px;transform:none}
 .bp-contact-portrait{width:min(100%,280px);height:auto;aspect-ratio:1;margin:0 auto;display:block}
 .bp-profile,.bp-contact-inquiry{min-width:0;width:100%}
 .bp-contact-inquiry{margin-top:8px}
 .bp-contact-inquiry h2{margin-bottom:23px}
 .bp-contact .bp-contact-content input,.bp-contact .bp-contact-content textarea{font-size:16px!important}
 .bp-contact .bp-contact-content textarea{height:132px}
 .bp-contact .bp-contact-content .bp-client-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 10px;width:100%;max-width:100%;margin:54px auto 0!important}
 .bp-contact .bp-logo-line{display:contents}
 .bp-contact .bp-client-grid img:nth-child(n){box-sizing:border-box;width:100%!important;max-width:100%;height:34px!important;min-width:0;padding:0 3px!important;margin:0;border:0!important;justify-self:center}
 .bp-contact .bp-client-grid .client-kronfagel{height:38px!important}
 /* Wide films, centered credits, and a compact portrait film. */
 .bp-film main{padding-top:0!important}
 .bp-films{gap:36px;padding-bottom:40px}
 .bp-film-item,.bp-film-item:nth-child(even){width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:13px;margin:0;transform:none;align-self:center}
 .bp-film-item .bp-film-meta,.bp-film-item:nth-child(even) .bp-film-meta{width:100%;text-align:center!important}
 .bp-film-item .bp-film-detail,.bp-film-item:nth-child(even) .bp-film-detail{justify-content:center!important}
 .bp-film-item-4 .bp-film-media{width:46%;max-width:180px;margin:0 auto}
}
@media(max-width:360px){
 .bp-home .bp-client-strip img{padding-left:10px;padding-right:10px}
 .bp-home .project-cover .title{font-size:11px!important}
 .other-projects .project-cover .title{font-size:10px!important}
 .bp-contact main{padding-left:20px!important;padding-right:20px!important}
}
@media(max-width:768px){
 .bp-home .bp-client-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:0;row-gap:20px;width:min(100%,340px)}
 .bp-home .bp-client-strip img{grid-column:span 2;box-sizing:border-box;width:100%!important;max-width:100%;padding:0 14px}
 .bp-home .bp-client-strip img:nth-child(4){grid-column:2/span 2;border-left:0}
 .bp-home .bp-client-strip img:nth-child(5){grid-column:4/span 2}
 .bp-home .bp-client-strip .client-aleris{padding:0 27px}
 .bp-home .bp-client-strip .client-kronfagel{padding:0 22px}
}
/* Final desktop balance, kept independent of the mobile composition. */
@media(min-width:769px){
 .bp-home .project-cover .title,.other-projects .project-cover .title{font-size:14px!important}
 .bp-contact .bp-client-grid{transform:translateY(14px)}
}
