/* Home split layout (Ben, #130). Left: headline + ZIP check, locked in place. Right: everything else, greyed until a ZIP gets a yes. */
.split{display:grid;grid-template-columns:minmax(360px,36%) 1fr;align-items:start}
.split-left{position:sticky;top:0;height:100vh;background:#f5f2ec;border-right:1px solid #d7dee5;z-index:2;overflow:auto}
.split-inner{display:flex;flex-direction:column;justify-content:center;min-height:100%;box-sizing:border-box;padding:40px clamp(24px,3.5vw,56px)}
.split-inner h1{margin:0 0 6px;font-size:clamp(38px,3.6vw,58px);line-height:1.02}
.split-inner .zf{max-width:none;margin-top:26px}
.split-inner .zf label{font-size:24px}
.split-inner .zf-row input,.split-inner .zf-row button{min-height:60px;font-size:21px}
.split-inner .zf-browse{align-self:flex-start}
.split-right{min-width:0;transition:opacity .35s}
.split.zf-waiting .split-right{opacity:.45}
.split.zf-hero.zf-waiting .hero-photo{opacity:1}
.split-right .hero-photo{margin:0}
.split-right .hero-photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.split-right .container{width:auto;max-width:none;margin-inline:0;padding-inline:clamp(20px,3vw,48px)}
.split-right .areas-strip .container{padding-block:16px}
/* Answered: the panel keeps the answer and next step in view */
.split-left:has(.zf-result:not([hidden])) .zf-note{display:none}
@media(max-width:959px){
 .split{grid-template-columns:minmax(0,1fr)}
 .split>*,.split-inner>*{min-width:0}
 .split-left{display:contents}
 .split-inner{display:contents}
 .split-inner h1{padding:24px 20px 0;font-size:36px}
 .split-inner .zf{position:sticky;top:0;z-index:5;margin:12px 0 0;padding:12px 20px;background:#f5f2ec;border-bottom:1px solid #d7dee5;box-shadow:0 4px 12px rgba(8,35,65,.08)}
 .split-inner .zf label{font-size:17px;margin-bottom:6px}
 .split-inner .zf-row input,.split-inner .zf-row button{min-height:48px;font-size:18px}
 .split-inner .zf-row{flex-wrap:nowrap}.split-inner .zf-row button{flex:0 0 auto}
 .split-inner .zf-note{display:none}
 .split-inner .zf-answer{padding:10px 14px}
 .split-inner .zf-answer p:not(.zf-head){display:none}
 .split-inner .zf-answer .zf-head{font-size:16px;margin:0}
 .split-inner .zf-actions{margin-top:8px}
 /* "Not yet": one line; tap for the call/email buttons */
 /* Audit A20 (Oct 2): the answer wraps to two lines instead of cutting off mid-word. */
 .split-inner .zf-answer:not([data-tone="yes"]) .zf-head{cursor:pointer;white-space:normal;padding-right:72px;position:relative}
 .split-inner .zf-answer:not([data-tone="yes"]) .zf-head::after{content:'Details ▾';position:absolute;right:0;top:0;font-weight:600;font-size:14px;color:#102f4f;text-decoration:underline}
 .split-inner .zf-answer.zf-open .zf-head::after{content:'Hide ▴'}
 .split-inner .zf-answer:not([data-tone="yes"]):not(.zf-open) .zf-actions{display:none}
 .split-inner .zf-answer.zf-open p:not(.zf-head){display:block;margin-top:6px}
 .split-inner .zf-browse{margin:10px 20px 0}
 .split-right .hero-photo{margin-top:14px}
}
/* Phones, after a yes and a scroll (CA117 fix 4): the pinned box is one line. */
.zf-chip{display:none}.site-header .zf-chipbox{display:none}
@media(max-width:959px){.split-inner .zf.zf-compact{padding:8px 20px}.split-inner .zf.zf-compact>*:not(.zf-chip){display:none}.split-inner .zf.zf-compact .zf-chip{display:block;margin:0;font-size:15px;font-weight:700;color:#176b4a}.zf-chip .btn-link{background:none;border:0;padding:0;font:inherit;color:#102f4f;text-decoration:underline;cursor:pointer}}
/* Ben via orb (Oct 4): the beige panel runs to the top of the page BEHIND the header, so the ZIP content sits still from
   the first frame; scrolling just slides the header away over it. The split is pulled up by the header's height
   (--hdr, set by home-split.js); both columns pad it back. Phones keep their own layout. */
@media(min-width:960px){
 .split{margin-top:calc(-1 * var(--hdr,0px))}
 /* Ben (Oct 4): dead center in the window while scrolling; the header covers only the empty beige above it at the top. */
 .split-right{padding-top:var(--hdr,0px)}
 body:has(.split) .site-header,body:has(.split) #site-nav{position:relative;z-index:3;background:#fff}
 /* Ben via orb (Oct 4): after a yes the panel slides off to the left (home-split.js adds .zf-gone after 5 s) and the
    buildings take the full width; the header's ZIP chip comes back so the ZIP can still be changed. */
 .split.zf-anim{transition:grid-template-columns 1.2s ease}
 .split.zf-anim .split-left{transition:transform 1.2s ease,opacity 1.2s ease,visibility 0s linear 1.2s}
 .split.zf-gone{grid-template-columns:minmax(0px,0%) 1fr}
 .split.zf-gone .split-left{transform:translateX(-100%);opacity:0;visibility:hidden;border-right:0}
 html.zf-panel-gone .site-header .zf-chip{display:inline-flex}
 html.zf-panel-gone .site-header .zf-chipbox{display:inline-flex}
 .split.zf-gone .split-right .hero-photo img{max-height:62vh}
}
@media(prefers-reduced-motion:reduce){.split.zf-anim,.split.zf-anim .split-left{transition:none}}
