@media(max-width:820px){
html{overflow-x:clip}body{min-width:0;width:100%;overflow-x:clip}
body .project-sidebar{position:relative;inset:auto;width:100%;padding:22px 20px;display:block}
body .project-sidebar .sidebar-name{display:inline-block;white-space:nowrap}
body .project-sidebar .project-menu,body:not(.portfolio-home) .project-sidebar .project-menu,body.me-page .project-sidebar .project-menu,body.contact-view .project-sidebar .project-menu{position:static;inset:auto;margin:26px 0 0;display:flex;flex-direction:row;flex-wrap:wrap;gap:16px 20px;align-items:center}
.project-menu .gallery-heading{flex-basis:100%}
body .reference-gallery,body .sidebar-page,body .folder-project-main,body .contact-page{margin-left:0;width:100%;min-width:0}
body .reference-gallery,body.portfolio-home .reference-gallery{padding:12px 20px 32px}
body .reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.folder-project-page{height:auto;overflow-y:auto}html:has(.folder-project-page){overflow-y:auto}
body .folder-project-main{display:block;height:auto;min-height:0;padding:26px 20px 40px}
body .folder-project-header{margin:0 0 30px}
body .folder-project-header h1{font-size:clamp(36px,10vw,64px);line-height:1.05;white-space:normal;overflow-wrap:anywhere;max-width:100%}
body .folder-project-layout{display:flex;flex-direction:column;gap:30px;width:100%;min-width:0}
body .folder-project-copy{position:static;width:100%;max-width:100%;max-height:none;overflow:visible;font-size:16px;line-height:1.6}
body .folder-project-images{display:flex;width:100%;min-width:0;height:auto;overflow:visible;padding-bottom:0!important;gap:24px}
body .folder-project-images figure{width:100%;min-width:0;margin:0!important}
body .folder-project-images img{max-width:100%}
body.me-page .about-page{display:flex;flex-direction:column;min-height:0;padding:0}
body.me-page .about-left{padding:26px 20px 36px;min-height:0;gap:30px}
body.me-page .about-left h1{font-size:clamp(48px,15vw,80px)}
body.me-page .about-copy{position:static;margin:0;font-size:16px}
body.me-page .portrait-frame{width:100%;min-height:0;height:85dvh}
body.me-page .about-portrait{width:100%;height:100%;object-fit:cover}
body.contact-view .contact-page{grid-template-columns:minmax(0,1fr)}
body.contact-view .contact-email{min-height:220px;padding:60px 20px;align-items:center}
body.contact-view .contact-email a{font-size:clamp(13px,3.7vw,16px);max-width:100%;overflow-wrap:anywhere}
body.contact-view .contact-image{min-height:85dvh;width:100%}
}
