/* One spacing system for the homepage; inner-page layouts are unchanged. */
:root{
  --home-section-space:clamp(40px,5vw,64px);
  --home-gutter:clamp(22px,4.75vw,56px);
  --home-panel-inset:clamp(24px,3.125vw,40px);
  --home-card-inset:24px;
}

body .site{padding-bottom:var(--home-section-space)}
body .site :is(#top,#services,#process,#concerns,#consult,#about,#trust,#reviews,#contact){
  min-height:0;
  padding:0;
}
body .site .home-section{
  display:flow-root;
  width:min(calc(100% - 2 * var(--home-gutter)),1280px);
  margin:var(--home-section-space) auto 0;
}

body .site .home-section :is(.block-green,.closing,.profile){
  padding:var(--home-panel-inset);
}
body .site .home-section :is(.block-green,.closing,.profile){min-height:0}
body .site #consult.home-section .block-green{min-height:0}
body .site .home-section .closing{margin:0}
body .site .home-section .profile{
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:var(--home-panel-inset);
}
body .site .home-section .profile article{padding:0}
body .site .home-section .profile .keith-portrait-feature{margin:0}
body .site .home-section :is(.block-green,.closing,.profile article)>:first-child{margin-top:0}
body .site .home-section :is(.block-green,.closing,.profile article)>:last-child{margin-bottom:0}

body .site .home-section .split{
  grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);
  gap:clamp(24px,3vw,40px);
}
body .site #concerns .issue-grid{margin-top:32px}
body .site #consult.home-section .consult-content{padding:0;margin-top:28px}
body .site .consult-intro{padding:0}
body .site .consult-intro h2{font-size:28px;color:#093d1e;margin:0}

body .site .home-section :is(.issue,.review),
body .site .home-section .service-card-grid .card{
  padding:var(--home-card-inset);
  min-height:0;
}

.site-footer--home .site-footer-inner{
  width:min(calc(100% - 2 * var(--home-gutter)),1280px);
}
.site-footer--home .site-footer-grid{padding-block:var(--home-panel-inset)}

@media(max-width:780px){
  body .site .home-section :is(.split,.profile){grid-template-columns:minmax(0,1fr)}
}
