﻿/* Shared responsive finishing layer: narrow cover screens through unfolded layouts. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:120px}
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
footer{padding-bottom:env(safe-area-inset-bottom,0px)}
main :is(input,select,textarea){max-width:100%;min-width:0}
@media(max-width:1024px){
 .site-nav.is-open{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}
 .nav-toggle,.theme-toggle{min-width:44px;min-height:44px}
}
@media(max-width:768px){
 html{scroll-padding-top:100px}
 main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
 .site-nav a,.portfolio-tabs button,.library-tabs a,.library-view button,.map-close,.hero-slider-controls button{min-height:44px}
 .library-view button{min-width:44px}
 .hero-slider-controls{flex-wrap:wrap}
 .hero-slider-controls .hero-slide-pause{font-size:11px}
 .map-dialog-top{gap:12px}
 .map-dialog-top>span{min-width:0;overflow-wrap:anywhere}
 .map-close{flex-shrink:0}
 .hero-video-caption>div{min-width:0}
 .hero-video-caption h2{overflow-wrap:anywhere}
 .contact-mail-panel h2,.footer-info a{overflow-wrap:anywhere}
 .estimate-schedule,.schedule-choice{min-width:0}
}
@media(max-width:360px){
 .hero-actions{flex-wrap:wrap}
 .hero-actions .button{flex:1 1 100%;font-size:13px}
 .hero-note,.capture-label{flex-wrap:wrap}
 .hero-video-caption{flex-wrap:wrap}
 .library-tabs{gap:14px}
 .library-tabs a{font-size:14px}
}
@media(max-height:500px) and (max-width:1024px){
 .header-shell{position:relative}
 .site-nav.is-open{max-height:65dvh}
}
/* Copy-first inquiry: readable instructions and immediate actions. */
.inquiry-steps{padding-left:22px;margin:20px 0;color:var(--muted);font-size:14px;line-height:1.9}
.inquiry-template .button{margin-top:18px;cursor:pointer}
.inquiry-template .submit-button{display:block;margin-top:18px;width:fit-content;font-size:14px}
.inquiry-send-note{font-size:13px;line-height:1.8;margin-top:20px;color:var(--muted)}
.contact-tools{flex-wrap:wrap;gap:16px}
@media(max-width:768px){.inquiry-steps{font-size:13px}.contact-tools :is(button,a),.inquiry-template .submit-button{min-height:44px;display:inline-flex;align-items:center}.inquiry-template .button{width:100%;justify-content:center}}
/* Keep the portfolio label legible on the light hero surface. */
html[data-theme=light] .portfolio-hero .capture-label>span:first-child{color:#76540b}
.map-preview-feedback{padding:0 24px}.map-preview-feedback p:not(:empty){padding:18px 0;line-height:1.8}.map-preview-feedback button{min-height:44px;margin-bottom:18px;padding:10px 18px;border:1px solid var(--line);border-radius:5px;background:var(--wash);color:inherit;cursor:pointer}.draft-status{font-size:13px;color:var(--muted);line-height:1.8;margin:18px 0 8px}
