/* 26.10.26: shared responsive repair. Keep the accepted glass design, fit its content. */
.header,.header.is-glass{box-sizing:border-box;grid-template-columns:52px minmax(0,1fr) max-content;max-width:min(1024px,calc(100% - 24px));gap:12px;overflow:visible}
.header .minimal-nav{min-width:0;width:100%;justify-content:center;gap:0}
.header .minimal-nav a{min-width:0;padding-inline:clamp(6px,1vw,15px);flex:0 1 auto}
.header-phone{flex-shrink:0;min-width:max-content;padding-left:8px}
@media(max-width:900px){
 .header,.header.is-glass{grid-template-columns:52px minmax(0,1fr);grid-template-rows:36px 40px;height:auto;min-height:84px;padding:4px 12px;gap:0 12px;top:10px}
 .header-emblem{grid-column:1;grid-row:1;height:36px}
 .header-phone{grid-column:2;grid-row:1;justify-self:end;border:0;padding:0;height:36px}
 .header .minimal-nav{grid-column:1 / -1;grid-row:2;height:40px;justify-content:space-between}
 .header .minimal-nav a{height:40px;flex:1 1 0;padding-inline:4px;font-size:11px}
}
/* Column masonry uses each source photo's aspect ratio, with no unfilled grid cells. */
.work .mosaic-grid{display:block;columns:3;column-gap:16px;grid-template-columns:none;grid-auto-rows:auto}
.work .mosaic-tile:nth-child(n){display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;margin:0 0 16px;padding:0;break-inside:avoid;grid-column:auto;grid-row:auto;overflow:hidden}
.work .mosaic-tile img{display:block;position:static;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
@media(max-width:1000px){.work .mosaic-grid{columns:2;column-gap:12px}.work .mosaic-tile:nth-child(n){margin-bottom:12px}}
@media(max-width:540px){.work .mosaic-grid{columns:1}.work .mosaic-tile:nth-child(n){margin-bottom:12px}}
/* Size to the form itself, including the narrow half of a tablet contact section. */
.contact>.form-wrap{container-type:inline-size;min-width:0;width:100%;max-width:100%;margin-inline:0;padding:clamp(16px,3vw,32px)}
.quote-form,.quote-form .field-grid,.quote-form .field-grid>*{min-width:0;max-width:100%;box-sizing:border-box}
.quote-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.quote-form .field-grid input,.quote-form .field-grid select,.quote-form .upload-button,.quote-form .field-grid>.submit-button{height:54px;min-height:54px;margin:0;padding:12px!important;font-size:16px!important;line-height:1.25;box-sizing:border-box}
.quote-form .upload-button,.quote-form .field-grid>.submit-button{gap:8px;white-space:nowrap;align-items:center}
.quote-form .upload-button span,.quote-form .submit-button span{flex-shrink:0}
.quote-form .field-grid textarea{min-height:110px;margin:0;padding:12px;font-size:16px;line-height:1.5}
.quote-form .field-grid select[name=services]{padding-right:26px!important;background-position:right 10px center!important}
@media(max-width:540px){.contact>.form-wrap{padding:16px}}

/* Keep native selection and expose its complete value within the paired cell. */
.quote-form .field-grid>[data-quote-field]{grid-column:auto}
.quote-form .field-grid>[data-quote-field="details"]{grid-column:1;grid-row:4}
.quote-form .field-grid>[data-quote-field="submit"]{grid-column:2;grid-row:4;white-space:normal}
.quote-form .field-grid>[data-quote-field="service"]{display:grid;align-items:stretch}
.quote-form .field-grid select[name=services],.quote-form .service-value{grid-area:1 / 1}
.quote-form .field-grid select[name=services]{height:100%!important;color:transparent}
.quote-form .field-grid select[name=services] option{color:#fff;background:#14435c}
.quote-form .service-value{display:flex;align-items:center;min-height:54px;box-sizing:border-box;padding:8px 18px 8px 8px;font-size:16px;line-height:1.25;color:#fff;white-space:normal;overflow-wrap:anywhere;pointer-events:none;z-index:1}
.quote-form [data-quote-field="service"]:focus-within{outline:2px solid #6bdbff;outline-offset:2px;border-radius:7px}
.quote-form .upload-button{gap:4px;padding-inline:8px!important;white-space:normal}
.quote-form .clear-files{min-height:44px;font-size:16px}

/* Allow service choices to wrap rather than clipping on narrow phones. */
.hq-choices button,.hq-choices button span{white-space:normal!important;overflow-wrap:break-word;word-break:normal;min-width:0;max-width:100%}

@media(max-width:340px){.quote-form .field-grid select[name=services]{padding-left:6px!important;padding-right:24px!important}}

/* 30.10.26: Josh’s scoped hero/header size increase; retain the accepted layout. */
:root{--hero-band:min(88vw,1320px)}
.header,.header.is-glass{max-width:min(1240px,calc(100% - 24px));height:72px;min-height:72px;grid-template-columns:64px minmax(0,1fr) max-content;padding:8px 20px}
.header-emblem{width:60px;height:48px}.header-emblem svg{width:56px;height:34px}
.header .minimal-nav a,.header-phone{font-size:16px}
.header .minimal-nav a{min-height:48px;padding-inline:clamp(8px,1.4vw,24px)}
.header-phone img{width:27px;height:27px}
.hero{min-height:800px;padding-top:104px}
.hero .hero-emblem{width:clamp(357px,42vw,588px)}
.hero-service-chips{width:min(720px,100%);gap:10px}
.hero-service-chips button{height:auto;min-height:50px;font-size:14px;padding:10px 16px;gap:10px;white-space:normal}
.hero-service-chips button img{width:26px;height:26px;flex-basis:26px}
.hero .hero-display{font-size:clamp(48px,9vw,136px);max-width:1320px}
@media(max-width:900px){
 .header,.header.is-glass{grid-template-columns:60px minmax(0,1fr);grid-template-rows:44px 44px;height:100px;min-height:100px;padding:6px 12px;gap:0 12px}
 .header-emblem{height:44px}.header-phone{height:44px}
 .header .minimal-nav{height:44px}.header .minimal-nav a{min-height:44px;height:44px;padding-inline:4px;font-size:14px}
 .hero{padding-top:124px}
}
@media(max-width:700px){
 :root{--hero-band:calc(100vw - 40px)}
 .hero{height:auto;min-height:100svh;padding-top:124px}
 .hero-brand-stage{min-height:280px;flex:1}
 .hero .hero-emblem{width:min(357px,96%);min-width:0}
 .hero-brand-stage{grid-template-columns:minmax(0,1fr)}
 .header,.header.is-glass{width:calc(100% - 24px)}
 .hero-service-chips{width:100%;max-width:420px;gap:7px}
 .hero-service-chips button{font-size:12px;min-height:54px;padding:8px 5px;gap:5px;justify-content:center;flex-direction:column}
 .hero-service-chips button img{width:21px;height:21px;flex-basis:21px}
 .hero .hero-display{font-size:9.2vw;letter-spacing:-.06em;width:100%}
 .hero .hero-bottom{padding-top:24px;margin-top:24px}
 .header-phone{font-size:16px}
 .header .minimal-nav a{font-size:13px}
}
@media(max-width:360px){.header .minimal-nav a{font-size:12px;flex:0 1 auto}.header,.header.is-glass{padding-inline:8px}.hero-service-chips button{font-size:11px}}

/* Contact-step labels live inside fields; action controls share a distinct glass row. */
.hq-fields label{display:block}
.hq-fields input{margin:0;min-height:48px;font-size:16px}
.hq-fields input::placeholder{color:#edf5fa;opacity:1}
.hq-footer{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px}
.hero-quote .hq-footer .hq-submit{width:auto;margin:0;min-height:44px;white-space:normal}
.hero-quote #hq-back:not([hidden]),.hero-quote .hq-submit,.quote-form .submit-button{background:rgb(255 255 255 / .16)!important;border:1px solid rgb(255 255 255 / .28)!important;color:#fff}
.hero-quote #hq-back:not([hidden]):hover,.hero-quote .hq-submit:hover,.quote-form .submit-button:hover{background:rgb(255 255 255 / .24)!important}
.hero-quote #hq-back:focus-visible,.hero-quote .hq-submit:focus-visible,.quote-form .submit-button:focus-visible{outline:2px solid #fff;outline-offset:3px;background:rgb(255 255 255 / .24)!important}

/* Uniform wizard typography and aligned paired fields/actions, requested31.10.26. */
.hero-quote{--quote-font:400 16px/1.25 var(--body)}
.hero-quote h2,.hero-quote h3,.hero-quote button,.hero-quote input,.hero-quote .hq-summary,.hero-quote .hq-top>span,.hero-quote .hq-choices span{font:var(--quote-font)!important;letter-spacing:0!important;text-transform:none;color:#fff}
.hero-quote .hq-top h2{font-weight:400!important;text-align:left}
.hero-quote .hq-top h2>span{color:inherit}
.hero-quote .hq-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0;text-align:left}
.hero-quote .hq-top>span{position:static;transform:none;flex-shrink:0}
.hq-step-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;margin-bottom:16px}
.hq-step-heading:has(.hq-summary){grid-template-columns:repeat(2,minmax(0,1fr))}
.hero-quote .hq-step-heading h3,.hero-quote .hq-step-heading .hq-summary{margin:0;min-width:0;overflow-wrap:break-word}
.hq-step-heading .hq-summary{text-align:right}
.hq-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;grid-auto-flow:row}
.hero-quote .hq-footer button,.hero-quote .hq-footer #hq-back:not([hidden]){width:auto;max-width:100%;flex:0 0 auto;height:auto;min-width:80px;min-height:44px;box-sizing:border-box;padding:10px 18px;margin:0;white-space:normal}


