/* Home page header: the porch photo, same blur and tint as the call-to-action band */
.row-bg.using-image[style*="Susan-Bandler-Home"] {
  background-image: linear-gradient(90deg, rgba(28,34,16,.78) 0%, rgba(28,34,16,.55) 55%, rgba(28,34,16,.35) 100%), url('/assets/cta-house.jpg') !important;
  background-position: center, 50% 86% !important; background-size: cover, cover !important;
  filter: blur(1px); transform: scale(1.02);
}
.wpb_row:has(.row-bg[style*="Susan-Bandler-Home"]) :is(h1, h2, h3, h4, p, span) { color: #fff !important; }
#home-banner-2 .row-bg-wrap::after { display: none !important; } /* theme's white wash */
#home-banner-2 .row-bg-wrap { overflow: hidden; }
/* Headline: "Your Vision," slides in from the left, then "My Insight." from the right */
#home-banner-2 .nectar-split-heading .heading-line { overflow: visible !important; }
#home-banner-2 .nectar-split-heading .heading-line > div { transform: none !important; }
#home-banner-2 .nectar-split-heading .heading-line h1 { opacity: 0; }
#home-banner-2 .nectar-split-heading .heading-line:first-child h1 { animation: sb-in-left 1.8s cubic-bezier(.2,.7,.2,1) .2s both; }
#home-banner-2 .nectar-split-heading .heading-line:nth-child(2) h1 { animation: sb-in-right 1.8s cubic-bezier(.2,.7,.2,1) 1.2s both; }
#home-banner-2 .heading-line h2 { animation: sb-fade-up .9s ease-out 2.8s both; }
#home-banner-2 a.nectar-button { animation: sb-fade-up .9s ease-out 3.2s both; }
@keyframes sb-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* One header at every width: the porch header replaces the theme's separate phone header
   (that one's newsletter signup is also in the footer). */
#home-first-mobile { display: none !important; }
/* Header fills the window; text stays left-aligned and sits in the vertical middle */
#home-banner-2 {
  display: flex !important; visibility: visible !important; flex-direction: column; justify-content: center; overflow: hidden;
  /* --sb-hero-overlap: how far the fixed site nav covers the top of this row; the padding moves the centre below it */
  min-height: calc(var(--sb-hero-h, calc(100svh - 84px)) - 96px - var(--sb-hero-overlap, 0px)) !important;
  padding-top: calc(48px + var(--sb-hero-overlap, 0px)) !important; padding-bottom: 48px !important;
}
#home-banner-2 > .col.span_12 { width: 100%; }
/* No stray space under the button or the column (the theme adds 25px on phones), so the text block centres true */
#home-banner-2 a.nectar-button, #home-banner-2 .wpb_column { margin-bottom: 0 !important; }
/* Phones: everything centred (no indent on "My Insight."), headline scales with the screen, smaller button */
@media (max-width: 600px) {
  #home-banner-2 .nectar-split-heading h1 { font-size: 9vw !important; line-height: 1.15 !important; text-align: center !important; --sb-indent: 0px; }
  #home-banner-2 .nectar-split-heading :is(h2, p) { text-align: center !important; }
  #home-banner-2 a.nectar-button { font-size: 14px !important; line-height: 1 !important; padding: 15px 28px !important; margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  #home-banner-2 .nectar-split-heading .heading-line:nth-child(2) h1 { transform: none !important; }
}
@keyframes sb-in-left { from { opacity: 0; transform: translateX(-45vw); } to { opacity: 1; transform: translateX(0); } }
@keyframes sb-in-right { from { opacity: 0; transform: translateX(calc(var(--sb-indent, 2em) + 45vw)); } to { opacity: 1; transform: translateX(var(--sb-indent, 2em)); } }
@media (prefers-reduced-motion: reduce) { #home-banner-2 .heading-line :is(h1, h2), #home-banner-2 a.nectar-button { animation: none !important; opacity: 1 !important; } }
