/* ==========================================================================
   Niche pages (leads-for-*.html), upgraded 2026-11-20. Loaded after styles.css and home-any.css; every rule is
   scoped to body.niche-any, so no other page changes. The pages keep their own line-art cards; this file adds
   motion to the hero photo and fits the homepage's newer blocks into the niche layout.
   ========================================================================== */

/* the hero photo now visibly moves: a slow pan and zoom, back and forth (Ivan: "make sure the background image is
   moving a little bit so that it looks lively"). It used to zoom 5% over 30 s, which read as still. */
@keyframes niche-pan {
  0%   { transform: scale(1.1) translate3d(-3.5%, -2%, 0); }
  50%  { transform: scale(1.2) translate3d(1.5%, 1.5%, 0); }
  100% { transform: scale(1.12) translate3d(3.5%, -1.5%, 0); }
}
body.niche-any .hero__bg.hero__bg--live { animation: niche-pan 22s ease-in-out infinite alternate; will-change: transform; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { body.niche-any .hero__bg.hero__bg--live { animation: none; transform: scale(1.1); } }

/* homepage blocks set inside the niche page's own dark textured sections: keep the texture, use the dark-section text colours */
body.niche-any .ha-sec--ink.ha-inset { background: transparent; }
body.niche-any .niche-grow { margin-top: 88px; }
body.niche-any .niche-head { margin-bottom: 36px; }
body.niche-any .niche-head .ha-say { margin-top: 0; max-width: 30ch; }
body.niche-any .niche-close-lead { margin: 22px 0 0; font: 600 1.06rem/1.5 var(--font-body); color: #fff; max-width: 56ch; }
body.niche-any #go-close .ha-stat { margin-bottom: 26px; }
body.niche-any .niche-sys-head { max-width: 780px; margin-bottom: 40px; }
body.niche-any .niche-sys-head .system-section__text { margin-top: 14px; }
body.niche-any .niche-incl { margin-top: 48px; }
body.niche-any #go-convert .ha-wall { margin-top: 6px; }

/* reviews: the lively dark background behind the niche page's own grid of review cards */
body.niche-any .ha-reviews .section-title { color: #fff; }
body.niche-any .ha-reviews--grid .testimonial-card { color: var(--ha-text); }

/* the manufactured-home page (old homepage layout): the AI-brain points under Go Convert */
body.niche-any .niche-mfh-brain { margin-top: 64px; }
/* blocks set inside LIGHT sections (the manufactured-home page's system sections): dark text */
body.niche-any .ha-on-paper { color: var(--ha-text); }
body.niche-any .ha-on-paper .ha-film__head--a b { color: #475467; }
body.niche-any .ha-on-paper .ha-film__head span { color: var(--ha-text); }
body.niche-any .ha-on-paper .ha-key li { color: var(--ha-text); }
body.niche-any .ha-on-paper .ha-tally__lab, body.niche-any .ha-on-paper .ha-tally__text { color: var(--ha-text-2); }
body.niche-any .ha-on-paper .ha-tally__side--a b { color: #475467; }
body.niche-any .ha-on-paper .ha-tally__side--b b { color: var(--ha-orange-ink); }
body.niche-any .ha-on-paper .ha-brain b { color: var(--ha-text); }
body.niche-any .ha-on-paper .ha-brain span { color: var(--ha-text-2); }
body.niche-any .ha-on-paper .ha-wall__intro { color: var(--ha-text); }
body.niche-any.home-offers .niche-close-lead { color: var(--ha-text); }
body.niche-any .ha-on-paper .ha-cap b { color: var(--ha-text); }
