/* Back Home Altadena reskin, borrowed from the Garden Builders style reference (a01):
   a serif headline over a full-bleed photo, a small logo, outlined buttons and a "start planning" hook.
   Palette: charcoal #22262b and brass #b8925a. Brass on white fails contrast for text, so text and links use a darker brass. */
h1,h2,h3,h4,.bh-hero h1{font-weight:600;font-synthesis:none;letter-spacing:0}
.bh-hero h1{font-size:clamp(2.4rem,5.4vw,4.2rem);line-height:1.05;max-width:18ch}
.bh-hero .bh-sub{font-size:1.12rem;max-width:54ch}
h2{font-size:clamp(1.75rem,3vw,2.6rem);line-height:1.12}
strong,dt,th,.bh-btn,.bh-card h3{font-family:var(--bh-f-body)}
.bh-card h3,.bh-num-list h3{font-weight:700;font-size:1.12rem}

:root{--bh-clay:#8a6a38;--bh-clay-lt:#e7d3ae}

/* Small logo. */
.bh-site-header .bh-logo img{width:210px;height:auto}
@media (max-width:760px){.bh-site-header .bh-logo img{width:160px}}
.bh-flogo img{width:200px;height:auto}

/* Links and buttons: darker brass clears AA on white; filled buttons are charcoal text on brass or white text on dark brass. */
a{color:color-mix(in srgb,var(--bh-c-accent) 52%,black)}
a:hover{color:var(--bh-c-primary)}
.bh-btn{border-radius:6px}
.bh-btn-clay{background:color-mix(in srgb,var(--bh-c-accent) 46%,black);color:var(--bh-white);border:1px solid transparent}
.bh-btn-clay:hover{background:var(--bh-c-primary);color:var(--bh-white)}
.bh-btn-outline{background:transparent;color:var(--bh-c-primary);border:1.5px solid var(--bh-c-primary)}
.bh-btn-outline:hover{background:var(--bh-c-primary);color:var(--bh-white)}

/* Band line under the hero. */
.bh-band-line{background:var(--bh-c-primary);color:var(--bh-white);border:0;padding:24px 0}
.bh-band-line p{font-family:var(--bh-f-heading);font-weight:600;margin:0;text-align:center;max-width:none;font-size:clamp(1.15rem,2vw,1.5rem);color:var(--bh-white)}

/* Cards: thin rules, no drop shadows. */
.bh-card,.bh-cost{box-shadow:none;border:1px solid color-mix(in srgb,var(--bh-c-primary) 18%,transparent)}

/* Dark bands and the closing call to action: light text, links and outline buttons. */
.bh-cta-band{background:var(--bh-c-primary);color:var(--bh-white)}
.bh-cta-band h2,.bh-cta-band p{color:var(--bh-white)}
.bh-cta-band .bh-btn-clay{background:var(--bh-c-accent);color:var(--bh-c-primary)}
.bh-cta-band .bh-btn-clay:hover{background:var(--bh-white);color:var(--bh-c-primary)}
.bh-cta-band .bh-btn-outline,.bh-cta-band .bh-btn-outline-light{color:var(--bh-white);border-color:rgba(255,255,255,.8)}
.bh-cta-band .bh-btn-outline:hover,.bh-cta-band .bh-btn-outline-light:hover{background:var(--bh-white);color:var(--bh-c-primary)}
.bh-cta-band a:not(.bh-btn){color:#e7d3ae}
.bh-home-band.bh-band-3 h2,.bh-home-band.bh-band-3 h3,.bh-home-band.bh-band-3 p,.bh-home-band.bh-band-3 li,.bh-home-band.bh-band-3 .bh-lead,.bh-home-band.bh-band-3 .bh-caption,.bh-home-band.bh-band-3 figcaption{color:rgba(255,255,255,.92)}
.bh-home-band.bh-band-3 a:not(.bh-btn){color:#e7d3ae}
.bh-home-band.bh-band-3 a:not(.bh-btn):hover{color:var(--bh-white)}
.bh-home-band.bh-band-3 .bh-btn-outline{color:var(--bh-white);border-color:rgba(255,255,255,.8)}
.bh-home-band.bh-band-3 .bh-btn-outline:hover{background:var(--bh-white);color:var(--bh-c-primary)}
.bh-site-footer a{color:#e7d3ae}

/* FAQ on the dark home band: light text on a dark card. */
.bh-home-band.bh-band-3 .bh-faq details{background:rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.25)}
.bh-home-band.bh-band-3 .bh-faq summary,.bh-home-band.bh-band-3 .bh-faq .bh-a,.bh-home-band.bh-band-3 .bh-faq .bh-a p{color:rgba(255,255,255,.95)}
.bh-home-band.bh-band-3 .bh-faq summary::after{color:#e7d3ae}

/* Way-back chooser (home). It sits in the dark band, so tabs and panels are light on dark. */ Without JS every panel shows; with JS it becomes tabs. */
.bh-rt-tabs{display:none}
.rt-js .bh-rt-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.bh-rt-tabs button{font:600 16px var(--bh-f-body);min-height:48px;padding:10px 18px;border:1.5px solid rgba(255,255,255,.8);background:transparent;color:var(--bh-white);border-radius:6px;cursor:pointer}
.bh-rt-tabs button[aria-selected=true]{background:var(--bh-c-accent);border-color:var(--bh-c-accent);color:var(--bh-c-primary)}
.bh-rt-panel{border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:24px;margin:0 0 14px;background:rgba(255,255,255,.06);color:var(--bh-white)}
.bh-rt-panel h3,.bh-rt-panel p{color:var(--bh-white)}
.bh-rt-panel .bh-btn-outline{color:var(--bh-white);border-color:rgba(255,255,255,.8)}
.bh-rt-panel .bh-btn-outline:hover{background:var(--bh-white);color:var(--bh-c-primary)}
.rt-js .bh-rt-panel{margin:0}
.bh-rt-panel h3{margin:0 0 8px;font-size:1.3rem;font-family:var(--bh-f-heading)}
.bh-rt-panel p{max-width:62ch}

/* Cost checker (cost page). */
.bh-cc-box{background:var(--bh-white);border:1px solid color-mix(in srgb,var(--bh-c-primary) 22%,transparent);border-radius:6px;padding:28px;max-width:760px}
.bh-cc-box h2{margin-top:0}
.bh-cc-row{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:16px 0}
.bh-cc-row label{font-weight:700;min-width:100px}
.bh-cc-row select{font:400 17px var(--bh-f-body);padding:11px 12px;min-height:48px;border:1px solid color-mix(in srgb,var(--bh-c-primary) 40%,transparent);border-radius:6px;background:var(--bh-white);color:var(--bh-c-text);max-width:100%}
.bh-cc-out{background:#f1e8d8;border-radius:6px;padding:16px 18px;margin:0}
.bh-cc-out strong{font-size:1.5rem;color:var(--bh-c-primary);display:block}
.bh-cc-out span{display:block;margin-top:4px}

/* Long source links and list items wrap instead of pushing the page wider than a phone. */
a,small,li,td,th{overflow-wrap:anywhere}
.bh-prose,.bh-wrap{min-width:0}
.bh-two-col>*{min-width:0}
.bh-cc-box,.bh-cc-row select{max-width:100%;box-sizing:border-box}
.bh-cc-row select{width:100%}

/* Launch QA 2026-12-05: light cards and FAQ items inside a dark home band inherited the band's white text (white on white).
   Light boxes keep the body text colour. */
.bh-home-band :is(.bh-card,details){color:var(--bh-c-text)}
.bh-home-band :is(.bh-card,details) :is(h2,h3,h4,p,li,strong,summary){color:var(--bh-c-text)}
.bh-home-band .bh-card .bh-more,.bh-home-band.bh-band-3 .bh-card a:not(.bh-btn){color:var(--bh-c-primary)}

/* Launch QA 2026-12-05 (contrast): the sand hero keeps dark text, so its fact list and a photo-backed sand hero follow the same rule;
   a photo gets the dark overlay and light text of the standard hero. Before/After tags get a solid dark chip; the call bar / CTA band use a darkened accent where the white text needed it. */
.bh-hero-sand:has(.bh-photo){background:var(--bh-dark);color:var(--bh-white)}
.bh-hero-sand:has(.bh-photo) .bh-photo::after{opacity:1}
.bh-hero-sand:has(.bh-photo) h1,.bh-hero-sand:has(.bh-photo) .bh-sub,.bh-hero-sand:has(.bh-photo) .bh-btn-link{color:var(--bh-white)}
.bh-hero-sand:not(:has(.bh-photo)) .bh-facts{color:var(--bh-c-text)}
.bh-ba .bh-tag{background:rgba(20,22,26,.78);color:var(--bh-white)}

/* Launch QA 2026-12-05 (contrast): text on the dark home band (band-3). Light boxes (project picker, contents box, picker answers) keep dark text;
   the muted lead lines, captions and in-text links on the dark band go light. */
.bh-home-band :is(.pk-col,.bh-toc,.picker-band,.picker-out){color:var(--bh-c-text)}
.bh-home-band :is(.pk-col,.bh-toc,.picker-band,.picker-out) :is(h2,h3,h4,p,li,strong,label){color:var(--bh-c-text)}
.bh-home-band.bh-band-3 :is(.bh-head .bh-lead,.bh-caption,figcaption){color:rgba(255,255,255,.92)}
.bh-home-band.bh-band-3 :is(p,li):not(:is(.bh-card,details,.bh-toc,.pk-col,.picker-out) *) a:not(.bh-btn){color:#fff;text-decoration:underline}

.bh-cta-band .bh-btn-link.bh-light{color:var(--bh-white)}
