/* Phone layouts share the existing branding and content. Desktop stays unchanged. */
.mobile-menu,.workspace-menu{display:none}
@media(max-width:800px){
  html{scroll-padding-top:16px;-webkit-text-size-adjust:100%}
  body{overflow-wrap:break-word}
  header{padding:14px 20px 12px;gap:10px}
  header .brand-lockup{width:210px;max-width:100%}
  header .brand-tagline{font-size:7.8px!important}
  header>nav{display:none;grid-template-columns:1fr 1fr;gap:8px;padding-top:4px;font-size:14px}
  header>nav.mobile-open{display:grid}
  header>nav a,header>nav button{display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:10px;background:#f7f7f5;border:1px solid #c4c4bf;font-size:13px;line-height:1.4;text-align:center;color:#191b1d;border-radius:5px}
  header>nav .small{background:var(--red);color:#fff;border-color:var(--red)}
  header>nav [hidden]{display:none!important}
  .mobile-menu{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;background:transparent;border:1px solid #bdbdb8;color:#191b1d;font-size:14px;padding:9px 16px}
  .mobile-menu:after{content:'+';font-size:21px;line-height:1}
  .mobile-menu[aria-expanded=true]:after{content:'−'}
  header:not(:has(nav)){flex-direction:row;align-items:center;gap:16px;padding:12px 20px}
  header:not(:has(nav))>a{width:auto;min-width:0;font-size:13px;line-height:1.4}
  header:not(:has(nav))>a:first-child{flex:1}
  header:not(:has(nav)) img{width:155px;max-width:100%}
  h1,.homeowner-hero h1{font-size:clamp(36px,10.5vw,46px);line-height:1.05;letter-spacing:-.5px}
  h2,.section-head h2,.dark h2,.expertise-intro h2,.building-hero h1{font-size:clamp(32px,9vw,42px);line-height:1.06}
  .section,.hero-copy,.homeowner-hero .hero-copy{padding:32px 20px}
  .lead{font-size:15px;line-height:1.75}
  .eyebrow{font-size:10px;letter-spacing:1.3px;line-height:1.7}
  .hero-art,.homeowner-hero .hero-art{min-height:230px;max-height:280px}
  .art-label{left:16px;bottom:16px;font-size:9px;letter-spacing:1px;padding:12px}
  button,.button-link{min-height:46px;font-size:15px;line-height:1.4}
  .hero-copy>button:not(.text),.hero-copy>.button-link,.hero-copy .actions>.button-link{width:100%;text-align:center;padding:15px 16px}
  .actions{gap:12px;margin-top:20px}
  .actions>*{max-width:100%}
  .call-link,.request-card>.call-link{font-size:14px;line-height:1.7;padding:8px 0}
  .partner-login,.callback-link,.building-nav-link{font-size:14px;line-height:1.6;min-height:44px;padding:10px 0}
  .hero-fine,.license-line{font-size:12px;line-height:1.6}
  .section-head{margin-bottom:24px}
  .section-head p,.step p,.service p,.dark p,.partner-promise p{font-size:14px;line-height:1.8}
  .request-cards{gap:16px}
  .request-card{padding:22px 20px;border-radius:8px}
  .request-card h3{font-size:33px;line-height:1.08}
  .request-card>p{font-size:15px;line-height:1.7}
  .request-card ul{font-size:14px;line-height:1.9;margin:14px 0}
  .request-card>button{font-size:15px}
  .card-top{flex-wrap:wrap;gap:5px}
  .card-top>span:last-child{font-size:11px}
  .fee-note{padding:14px;border-radius:4px;margin-top:12px}
  .fee-note strong,.fee-note p{font-size:13px;line-height:1.7}
  .service-price{font-size:38px;margin-bottom:12px}
  .service-price span{font-size:13px}
  .technical-details summary{font-size:15px;padding-right:8px}
  .technical-details details p,.technical-note p,.build-support p,.billing-options p{font-size:14px;line-height:1.8}
  .services{grid-template-columns:1fr}
  .service{border-right:0;padding:22px 0}
  .service h3{margin:12px 0}
  .cta{margin:0 20px 32px;padding:24px 20px;border-radius:6px}
  .cta h2{font-size:34px;line-height:1.08}
  .cta p{font-size:14px;line-height:1.7}
  .cta button,.cta .button-link,.home-building-link .button-link{width:100%;text-align:center}
  .home-building-link{gap:12px;margin-bottom:32px}
  .home-building-link h2,.build-support h2{font-size:36px;line-height:1.08}
  .build-support{padding:24px 18px}
  .build-phases{gap:15px;font-size:13px;line-height:1.6}
  .partner-promise{padding:28px 20px}
  .partner-access-note{padding:18px;border-radius:6px}
  .partner-access-note button{font-size:14px}
  .renovation-feature{margin:0 20px 32px;min-height:380px;border-radius:6px}
  .renovation-feature h2{font-size:39px;line-height:1.08}
  .renovation-feature>div{padding:24px}
  .renovation-feature p{font-size:15px}
  .home-request-bar{padding:24px 20px;gap:14px}
  .home-request-bar a{min-height:44px;display:flex;align-items:center;font-size:14px}
  footer{padding:28px 20px;display:grid;grid-template-columns:1fr;text-align:center;gap:20px;line-height:1.7}
  footer>img{margin:auto}
  footer .text{font-size:13px;min-height:44px}
  footer small{font-size:12px;line-height:1.7}
  .preview{font-size:9px;line-height:1.5;letter-spacing:1px;padding:9px 20px}
  .preview span{font-size:11px;line-height:1.5}
  dialog:not(#chooser){width:100%;max-width:none;max-height:92dvh;margin:auto 0 0;inset:auto 0 0;padding:28px 20px max(24px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow-y:auto;overscroll-behavior:contain}
  dialog h2,#live-dialog h2{font-size:34px;line-height:1.08;padding-right:28px}
  dialog .close{right:8px;top:8px;width:44px;height:44px;min-height:44px;padding:0;font-size:30px}
  form{gap:18px;margin-top:22px;min-width:0}
  form label{font-size:14px;line-height:1.5;min-width:0}
  input,select,textarea{font-size:16px;min-height:48px;min-width:0;padding:13px 12px}
  textarea{min-height:115px}
  input[type=checkbox]{min-height:20px;width:20px;height:20px}
  input[type=file]{font-size:14px;max-width:100%;padding:12px 8px}
  input[type=file]::file-selector-button{padding:8px;border:1px solid #bbb;border-radius:4px;background:#eee;color:#191b1d;margin-right:8px}
  small,.field-help,.address-hint,.address-status{font-size:12px;line-height:1.6}
  .notice{font-size:13px;line-height:1.75;padding:14px}
  .intake-progress{font-size:11px;gap:8px;line-height:1.5}
  .intake-summary>div{grid-template-columns:1fr;gap:3px;font-size:14px;padding:12px 0}
  .intake-bottom{display:flex;flex-direction:column-reverse;align-items:stretch;gap:10px}
  .intake-bottom>button,.intake-bottom button{width:100%;font-size:14px}
  .address-options button{font-size:14px;min-height:48px}
  #chooser{padding:22px 18px 18px;width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:10px;border-top-width:4px}
  #chooser .choice-top .brand-lockup{width:min(280px,calc(100vw - 64px))}
  #chooser .choice-top .brand-tagline{font-size:9.3px!important}
  #chooser .choice-top>span{display:none}
  #chooser h1{font-size:35px;line-height:1.06;margin:18px 0 10px}
  #chooser>p{font-size:13px;line-height:1.6;margin:10px 0}
  #chooser .choices{grid-template-columns:1fr;gap:14px;margin:20px 0 16px}
  #chooser .choices button{grid-template-columns:85px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:16px;padding:16px;min-height:142px;border-bottom-width:3px;text-align:left}
  #chooser .choice-photo{grid-column:1;grid-row:1/4;width:calc(100% + 16px);height:calc(100% + 32px);aspect-ratio:auto;margin:-16px 0 -16px -16px;object-fit:cover;object-position:45% center}
  #chooser .choices .num{grid-column:2;font-size:9px;line-height:1.5;white-space:normal;letter-spacing:.4px}
  #chooser .choices strong{grid-column:2;font-size:25px;line-height:1.15;height:auto;min-height:0;white-space:nowrap;margin:8px 0}
  #chooser .choices button>span:last-child{grid-column:2;font-size:12px;line-height:1.6;white-space:normal;min-height:0}
  #chooser>small{font-size:11px;line-height:1.6}
}
@media(max-width:360px){
  #chooser .choices button{grid-template-columns:62px minmax(0,1fr);column-gap:12px;padding:14px}
  #chooser .choice-photo{width:calc(100% + 14px);height:calc(100% + 28px);margin:-14px 0 -14px -14px}
  #chooser .choices strong{font-size:22px}
  #chooser .choices button>span:last-child{font-size:11px}
  #chooser .choice-top .brand-tagline{font-size:8.3px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.choices button{transition:none}}

.skip-link{position:fixed;top:8px;left:8px;z-index:10000;padding:12px 18px;background:#fff;color:#191b1d;border:2px solid #96251e;transform:translateY(-160%);font-size:16px}.skip-link:focus{transform:translateY(0)}:focus-visible{outline:3px solid #96251e;outline-offset:3px}@media(max-width:800px){footer a{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px}.technical-details summary,.faq-list summary{min-height:48px;align-content:center}}

.leak-prep-checklist li,#modalbody>ul li{line-height:1.7;margin:12px 0}.service-area p{max-width:850px;line-height:1.8}footer small{display:inline-block;max-width:570px;line-height:1.7}

.mobile-contact-bar{display:none}@media(max-width:760px){body.has-mobile-contact{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.mobile-contact-bar{position:fixed;inset:auto 0 0;z-index:40;display:grid;grid-template-columns:1fr 1.2fr;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ccc;box-shadow:0 -3px 15px #0001}.mobile-contact-bar a,.mobile-contact-bar button{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:14px;font-weight:700;border-radius:3px}.mobile-contact-bar a{border:1px solid #cf3026;color:#b8241c}.mobile-contact-bar button{padding:12px}body:has(dialog[open]) .mobile-contact-bar,body:has(form input:focus) .mobile-contact-bar,body:has(form textarea:focus) .mobile-contact-bar,body:has(form select:focus) .mobile-contact-bar{display:none}}
