/* ==========================================================================
   TEAM 2 — 2026-11-04 — scoped fixes for /industries/retail-local-shops/
   and /industries/tree-services/ ONLY.
   This file is linked from those two pages' <head> (after every other
   stylesheet) and from nowhere else, so every rule below is inherently
   page-scoped. No shared CSS file was touched.
   Design language preserved: orange #FF5A1F, existing type scale, the
   approved 40px section rhythm (.section{padding-block:2.5rem}).
   ========================================================================== */

/* ---- Issue 1: retail hero — headline/paragraph must never be cut off or
   overflow horizontally (390px / 768px / 1440px).
   Root cause (static analysis; no working headless browser in this VM to
   reproduce pixels): the hero is a 2-column grid whose visual column carries
   a 320px minimum (site-core-c3.css) while the H1 is rebuilt at runtime by
   the data-hero-lines splitter into .line-mask inline-blocks that have NO
   max-width constraint. Any sub-pixel grid overflow or a line split measured
   against a pre-font-swap width lets a line escape the container and push the
   page past the viewport edge, which reads as text cut off at the left edge.
   These rules are no-ops when nothing overflows — they only contain failure:
   - .page-hero{overflow:clip}: a child can never create page-level sideways
     scroll or paint past the hero box (clip, not hidden: no scroll container,
     so nothing sticky or shadow-related changes behaviour).
   - min-width:0 + max-width:100% on the wrap and every direct hero child:
     grid/flex children can always shrink to their track, never force it wider.
   - overflow-wrap:anywhere on the H1/lede: an unbreakable run (long word,
     mis-measured line) breaks instead of escaping the viewport.
   - .line-mask{max-width:100%}: a split line can never exceed the H1 box. */
.page-hero{overflow:clip}
.page-hero .wrap{min-width:0}
.page-hero .wrap>*{min-width:0;max-width:100%}
.page-hero h1.h-display,.page-hero p.lede{overflow-wrap:anywhere;max-width:100%}
.page-hero .line-mask{max-width:100%}

/* ---- Issue 2: tree-services — dead vertical voids.
   The "Arborist site visits" soft band shipped with an EMPTY <figure>
   (image removed 2026-11-01 as a hero duplicate, never replaced), leaving a
   half-empty band: a full-height empty grid column on desktop that reads as
   a dead void, stacked right under the already-sparse "trade" block. The
   figure is restored in the HTML (ind-tree-worker.webp — vetted local asset,
   visible arborist, unused elsewhere on the site). The rules below keep the
   restored band on the approved rhythm and make sure the figure can never
   collapse or blow out the band's height on any breakpoint:
   - figure keeps the standard split-fig media box; the img fills it with
     object-fit:cover (3:2 source into the 4:3 box crops ~6% per side — the
     worker stays fully in frame, verified).
   - guard against a zero-height figure ever again: if the img fails to load,
     the figure keeps a 220px media presence instead of collapsing the column
     to nothing. 220px sits below every natural rendered height (full-width
     mobile figure ≈ 240px+, desktop ≈ 330px+), so this rule is a pure
     fallback — it never alters the normal loaded layout. */
.split-media .split-fig{min-height:220px}
.split-media .split-fig img{width:100%;height:100%;object-fit:cover;display:block}
