/* hero-px.css - the Proximity-style hero layout for the Mr Splash location pages, one page first (Parramatta), preview only.
   Task msp-video-background-hero-every-page-proximity-style-20261124 (SOP sitewide-hero-change, draft). Printed by
   components/hero-px.php; every rule is scoped to section.hr3.hpx and reaches nothing else on the page.

   Jordan by voice, 24 Nov 2026: copy Proximity Plumbing's hero formatting closely, text starting at the top of the hero, our
   circle badges kept (about 21:25 UTC); no portrait video, the landscape video kept whole on phones (21:27 UTC). 22:23 UTC, on
   revision 1: "the video looks good on mobile but the design above it is very plain". Revision 2 keeps the video strip and
   redraws the words above it.

   Phones and tablets (under 992px): the block above the video (.hpx-top) carries the Google review badge, the headline with
   the suburb words as a large display line, and the paragraph; then the whole landscape video as a full-width 16:9 strip (the
   footage is 16:9, so nothing is cropped or stretched); then the four two-line value chips 2x2, the five round badges, the
   green call button, the trust line and the quote form (kept on phones, Jordan 2026-09-22).
     Version a (.hpx-v-a): centred on the flat navy (Jordan 2026-09-21: phone text centred); today's white splash rises from
     the bottom right corner of the video strip, as it does on today's banner photo.
     Version b (.hpx-v-b): left-aligned like the reference; the block above the video sits on the page's own banner photo
     under one flat navy layer, as the reference sets its words over footage.
   Computers (992px and up), both versions: the video fills the whole hero behind one flat navy layer, the copy is
   left-aligned from the top, the quote form keeps its place on the right.

   Contrast: white text over the footage under the 0.68 navy layer reads 4.5 to 1 or better on the brightest pixel of every
   frame of the loop (measured on 33 frames, 24 Nov 2026). Over the photo the layer is 0.80: a pure white pixel under it reads
   6.4 to 1. Rules kept: flat colour only, corners 0, 4px or round, no will-change, no forced graphics layer, green only on
   the call button, the headline one white. */

section.hr3.hpx{position:relative;overflow:hidden;display:block;background:#0a3d5c;color:#fff}
section.hr3.hpx .hpx-in{position:static;max-width:1180px;margin:0 auto;padding:0 16px 28px;display:flex;flex-direction:column;gap:20px}
section.hr3.hpx .hpx-copy{position:static;text-align:center}
section.hr3.hpx.hpx-al-left .hpx-copy{text-align:left}
section.hr3.hpx .hpx-copy > :not(.hpx-media),
section.hr3.hpx .hpx-in > .hr3-formcard{position:relative;z-index:2}

/* The block above the video. Full width on phones; its own photo and layer (version b) sit under the words. */
section.hr3.hpx .hpx-top{position:relative;margin:0 -16px;padding:20px 16px 22px;overflow:hidden}
section.hr3.hpx .hpx-top > .hr3-review,
section.hr3.hpx .hpx-top > .hr3-h1,
section.hr3.hpx .hpx-top > .hr3-sub,
section.hr3.hpx .hpx-top > .hpx-coins,
section.hr3.hpx .hpx-top > .hr3-vals{position:relative;z-index:2}
section.hr3.hpx .hpx-photo{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 40%;z-index:0;display:block}
section.hr3.hpx .hpx-photo-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:rgba(10,61,92,.80)}

/* The Google review badge (the live dark treatment from hero-r3.php), first in the hero as on the gold standard page. */
section.hr3.hpx .hr3-review{margin:0 0 16px;padding:7px 12px;font-size:14px;white-space:nowrap}

/* The headline: one white, two sizes and two weights two steps apart in the one family: the suburb words at the site's
   heading weight (700, the page-wide rule html body h1) as the display line, the rest of the same sentence at 500, balanced
   so no word is left alone on a line. !important because the page-wide location type rules set heading sizes and weight
   with !important. */
section.hr3.hpx .hr3-h1{color:#fff;font-size:19px!important;line-height:1.32!important;letter-spacing:0;margin:0 0 12px}
section.hr3.hpx .hr3-h1 .ac{display:block;color:#fff;font-weight:700;font-size:clamp(34px,10.6vw,46px)!important;line-height:1.02!important;letter-spacing:-.025em;margin:0 0 10px}
section.hr3.hpx .hr3-h1 .hpx-h1-rest{display:block;color:#fff;font-weight:500;text-wrap:balance}
section.hr3.hpx .hr3-sub{text-wrap:pretty}
section.hr3.hpx .hpx-vh{position:absolute!important;width:1px!important;height:1px!important;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

section.hr3.hpx .hr3-sub,
section.hr3.hpx .hr3-sub strong{color:#fff}
section.hr3.hpx .hr3-sub{margin:0 auto;max-width:34rem}
section.hr3.hpx.hpx-al-left .hr3-sub{margin:0}

/* The video. Phones: a full-width 16:9 strip in the flow. The stage, poster and video rules match the earlier layer
   (hero-video.css): the video is a 2px dot until hero-video.js has seen its first frame, then fills the stage (.hv-on). */
section.hr3.hpx .hpx-media{position:relative;z-index:0;margin:0 -16px;aspect-ratio:16/9;overflow:hidden;background:#0a3d5c}
section.hr3.hpx .hv-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#0a3d5c}
section.hr3.hpx .hv-poster{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
section.hr3.hpx .hv-video{position:absolute;top:0;left:0;width:2px;height:2px;object-fit:cover;object-position:50% 50%;display:block;z-index:1;opacity:0;transition:opacity .4s ease}
section.hr3.hpx .hv-video.hv-on{width:100%;height:100%;opacity:1}
section.hr3.hpx .hv-scrim{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:block;background:transparent}
/* Today's white splash (version a): rising from the strip's bottom right corner, the size and opacity today's banner uses on
   phones (hero-r3.php: right -24px, bottom -6px, 46% of the band, .85). */
section.hr3.hpx .hpx-media .hr3-splash{position:absolute;right:-22px;bottom:-6px;left:auto;top:auto;height:46%;width:auto;max-width:none;opacity:.85;z-index:3;pointer-events:none}

/* The pause and play control (WCAG 2.2.2): a round 40px button, top right of the video, as on the reference layout. Its name
   is the text hero-video.js writes ("Pause background video" or "Play background video"), kept in the button for screen
   readers and drawn as a pause or play mark from the band's state; flat colours, no picture file. */
section.hr3.hpx .hv-toggle{position:absolute;z-index:4;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;background:#0a3d5c;color:#fff;border:2px solid #fff;border-radius:50%;font-family:inherit;font-size:0;line-height:0;cursor:pointer}
section.hr3.hpx .hv-toggle::before{content:"";display:block;box-sizing:border-box;width:12px;height:14px;border-left:4px solid #fff;border-right:4px solid #fff}
section.hr3.hpx .hv-band:not([data-hv-state="playing"]) .hv-toggle::before{width:0;height:0;margin-left:4px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff}
section.hr3.hpx .hv-toggle[hidden]{display:none}
section.hr3.hpx .hv-toggle:hover{background:#035E8A}
section.hr3.hpx .hv-toggle:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* The four two-line value chips (v2, the live dark treatment: white glyph in a translucent 4px tile). */
section.hr3.hpx .hr3-vals{margin:24px 0 24px;gap:18px 14px}
section.hr3.hpx.hpx-al-center .hr3-vals li{align-items:center;text-align:center}
section.hr3.hpx.hpx-al-left .hr3-vals li{align-items:flex-start;text-align:left}
section.hr3.hpx .hr3-vals .gh-vsub{opacity:.85}

/* The five round badges (the page's own coin strip, moved into the hero). */
section.hr3.hpx .hpx-coins{margin:0 0 22px}
section.hr3.hpx .hs-badgestrip{position:static;margin:0!important;padding:0!important;text-align:center}
section.hr3.hpx .hs-badgestrip .msp-tb-row{justify-content:center!important;flex-wrap:nowrap!important}
section.hr3.hpx .hs-badgestrip .msp-tb-row .msp-tbsvg{width:74px;height:74px}
section.hr3.hpx .hs-badgestrip .msp-tb-row .tbx + .tbx{margin-left:-11px}
section.hr3.hpx .hs-badgestrip .msp-tb-row .tbx{filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}

section.hr3.hpx .hr3-cta{justify-content:center;margin:0 0 12px}
section.hr3.hpx .hr3-trust,
section.hr3.hpx .hr3-foot{color:#fff;margin-left:auto;margin-right:auto}
section.hr3.hpx.hpx-al-left .hr3-trust,
section.hr3.hpx.hpx-al-left .hr3-foot{margin-left:0}

@media (min-width:992px){
section.hr3.hpx{min-height:calc(100vh - var(--msp-hdr,157px));min-height:calc(100svh - var(--msp-hdr,157px))}
section.hr3.hpx .hpx-in{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,.68fr);gap:56px;align-items:start;padding:52px 24px 52px}
section.hr3.hpx .hpx-copy,
section.hr3.hpx.hpx-al-center .hpx-copy{text-align:left}
section.hr3.hpx .hpx-top{margin:0;padding:0;overflow:visible}
section.hr3.hpx .hpx-photo,
section.hr3.hpx .hpx-photo-layer,
section.hr3.hpx .hr3-splash{display:none}
section.hr3.hpx .hr3-review{margin:0 0 20px}
section.hr3.hpx .hr3-h1{font-size:1.6rem!important;line-height:1.25!important;margin:0 0 16px;text-shadow:0 2px 14px rgba(0,0,0,.3)}
section.hr3.hpx .hr3-h1 .ac{font-size:clamp(3rem,4.3vw,4.2rem)!important;line-height:1!important;margin:0 0 12px}
section.hr3.hpx .hr3-sub,
section.hr3.hpx.hpx-al-center .hr3-sub,
section.hr3.hpx.hpx-al-left .hr3-sub{margin:0 0 26px;max-width:37rem;font-size:1.12rem!important}

/* The video fills the whole hero, behind everything, under one flat navy layer. */
section.hr3.hpx .hpx-media{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;aspect-ratio:auto}
section.hr3.hpx .hv-scrim{background:rgba(10,61,92,.68)}
section.hr3.hpx .hv-toggle{top:14px;right:24px}

section.hr3.hpx .hr3-vals,
section.hr3.hpx.hpx-al-center .hr3-vals{margin:0 0 28px;max-width:600px;gap:16px 26px}
section.hr3.hpx.hpx-al-center .hr3-vals li,
section.hr3.hpx.hpx-al-left .hr3-vals li{align-items:flex-start;text-align:left}
section.hr3.hpx .hs-badgestrip{text-align:left}
section.hr3.hpx .hs-badgestrip .msp-tb-row{justify-content:flex-start!important}
section.hr3.hpx .hs-badgestrip .msp-tb-row .msp-tbsvg{width:84px;height:84px}
section.hr3.hpx .hs-badgestrip .msp-tb-row .tbx + .tbx{margin-left:-12px}
section.hr3.hpx .hpx-coins{margin:0 0 26px}
section.hr3.hpx .hr3-cta,
section.hr3.hpx.hpx-al-center .hr3-cta{justify-content:flex-start}
section.hr3.hpx .hr3-trust,
section.hr3.hpx.hpx-al-center .hr3-trust{margin-left:0}

/* The quote form keeps today's compact card, top aligned with the headline (the rules hero-r3.php wrote for r3-05). */
section.hr3.hpx .hr3-formcard{margin:6px 0 0 auto;padding:16px 20px 12px}
section.hr3.hpx .hr3-sp{position:absolute;top:10px;left:14px;margin:0}
section.hr3.hpx .hr3-sp img{width:56px}
section.hr3.hpx .hr3-fh,section.hr3.hpx .hr3-fs{text-align:left;padding-left:66px}
section.hr3.hpx .hr3-fh{font-size:1.2rem!important}
section.hr3.hpx .hr3-fs{margin:0 0 14px;min-height:48px}
section.hr3.hpx .mhb-fields{gap:8px;margin-bottom:10px}
section.hr3.hpx .mhb-label{margin:0 0 3px}
section.hr3.hpx .mhb-input{padding:9px 12px}
section.hr3.hpx .mhb-submit{padding:12px 16px}
section.hr3.hpx .mhb-note{margin:6px 0 0}
}

/* ===== Directions 1 to 4. Jordan by voice, 22:58 UTC 24 Nov 2026 (relayed by his voice chat): a blue background with
   white text is far below what he expects; 4 to 5 clearly different directions, bold and premium, on Mr Splash's real
   photos and video. Same words, same pieces, same structure (words from the top, round badges, the 16:9 video strip on
   phones); the look changes. ===== */

/* 1. Photo-led: the words over the page's own ute photo under one flat navy layer, display type at its largest.
   0.72 layer: a pure white pixel under it reads 5.05 to 1 for white text. */
section.hr3.hpx.hpx-v-1 .hpx-top{padding:26px 16px 30px}
section.hr3.hpx.hpx-v-1 .hpx-photo-layer{background:rgba(10,61,92,.72)}
section.hr3.hpx.hpx-v-1 .hr3-h1 .ac{font-size:clamp(40px,12.6vw,54px)!important;line-height:.98!important;letter-spacing:-.03em}
section.hr3.hpx.hpx-v-1 .hr3-h1 .hpx-h1-rest{font-size:20px}

/* 2. Light: bone surface, navy words, the suburb words in the brand blue (the accent is allowed on light surfaces only:
   hero_rules.keyword_accents), the light value-point tiles (hr3-light), the video framed with a 4px corner. */
section.hr3.hpx.hpx-v-2{background:#faf6ee;color:#1F2527;border-top:1px solid #e6e1d6}
section.hr3.hpx.hpx-v-2 .hr3-h1,
section.hr3.hpx.hpx-v-2 .hr3-h1 .hpx-h1-rest{color:#0a3d5c}
section.hr3.hpx.hpx-v-2 .hr3-h1 .ac{color:#0383BF;font-size:clamp(40px,12.6vw,54px)!important;line-height:.98!important;letter-spacing:-.03em}
section.hr3.hpx.hpx-v-2 .hr3-sub,
section.hr3.hpx.hpx-v-2 .hr3-sub strong{color:#41525e}
section.hr3.hpx.hpx-v-2 .hr3-trust{color:#5a6569}
section.hr3.hpx.hpx-v-2 .hr3-foot{color:#6b767b}
section.hr3.hpx.hpx-v-2 .hpx-media{margin:0;border-radius:4px;box-shadow:0 0 0 1px #d9e2e8}
section.hr3.hpx.hpx-v-2 .hs-badgestrip .msp-tb-row .tbx{filter:drop-shadow(0 6px 12px rgba(10,61,92,.18))}

/* 3. Framed video: navy block on top, the video framed and straddling into a white band that carries the points, badges,
   call button and form (phones). */
section.hr3.hpx.hpx-v-3{background:#fff}
section.hr3.hpx.hpx-v-3 .hpx-top{background:#0a3d5c;padding:24px 16px 132px}
section.hr3.hpx.hpx-v-3 .hr3-h1 .ac{font-size:clamp(38px,11.8vw,50px)!important;line-height:1!important}
section.hr3.hpx.hpx-v-3 .hpx-media{margin:-110px 0 0;border-radius:4px;box-shadow:0 0 0 1px rgba(10,61,92,.14);z-index:3}

/* 4. Mega headline: the suburb words as large as the screen allows, then the round badges and the call button before the
   video; the paragraph follows the video. */
section.hr3.hpx.hpx-v-4 .hpx-top{padding:22px 16px 26px}
section.hr3.hpx.hpx-v-4 .hr3-h1 .ac{font-size:clamp(46px,14.6vw,62px)!important;line-height:.94!important;letter-spacing:-.035em;margin:0 0 12px}
section.hr3.hpx.hpx-v-4 .hr3-h1 .hpx-h1-rest{font-size:20px}
section.hr3.hpx.hpx-v-4 .hpx-top > .hpx-coins{margin:4px 0 18px}
section.hr3.hpx.hpx-v-4 .hpx-top > .hr3-cta{margin:0}
section.hr3.hpx.hpx-v-4 .hpx-rest > .hr3-sub{margin:22px 0 0}

@media (max-width:991px){
section.hr3.hpx.hpx-v-3 .hr3-vals li{color:#1F2527}
section.hr3.hpx.hpx-v-3 .hr3-vals li .ic{background:#0383BF;border-color:#0383BF}
section.hr3.hpx.hpx-v-3 .hr3-vals .gh-vsub{color:#5a6569;opacity:1}
section.hr3.hpx.hpx-v-3 .hr3-trust{color:#5a6569}
section.hr3.hpx.hpx-v-3 .hr3-foot{color:#6b767b}
section.hr3.hpx.hpx-v-3 .hs-badgestrip .msp-tb-row .tbx{filter:drop-shadow(0 6px 12px rgba(10,61,92,.18))}
}

@media (min-width:992px){
section.hr3.hpx.hpx-v-1 .hr3-h1 .ac{font-size:clamp(3.4rem,5vw,4.8rem)!important}

/* 2 on computers: a split; the words on bone at left, the video at right behind the quote form. */
section.hr3.hpx.hpx-v-2 .hpx-media{position:absolute;top:0;bottom:0;left:auto;right:0;width:40%;border-radius:0;box-shadow:none}
section.hr3.hpx.hpx-v-2 .hv-scrim{background:rgba(10,61,92,.2)}
section.hr3.hpx.hpx-v-2 .hr3-h1{text-shadow:none}
section.hr3.hpx.hpx-v-2 .hr3-h1 .ac{font-size:clamp(3.4rem,5vw,4.8rem)!important}

/* 3 on computers: a split in flat colour; the words on solid navy at left, the video clear behind the form at right. */
section.hr3.hpx.hpx-v-3{background:#0a3d5c}
section.hr3.hpx.hpx-v-3 .hpx-top{background:transparent;padding:0}
section.hr3.hpx.hpx-v-3 .hpx-media{margin:0;border-radius:0;box-shadow:none;z-index:0}
section.hr3.hpx.hpx-v-3 .hv-scrim{left:0;right:38%;background:rgba(10,61,92,.9)}
section.hr3.hpx.hpx-v-3 .hv-stage::after{content:"";position:absolute;top:0;bottom:0;right:0;left:62%;z-index:2;background:rgba(10,61,92,.16)}
section.hr3.hpx.hpx-v-3 .hr3-h1{text-shadow:none}

/* 4 on computers: the headline at poster size, the round badges and the call button straight under it. */
section.hr3.hpx.hpx-v-4 .hpx-top{padding:0}
section.hr3.hpx.hpx-v-4 .hr3-h1 .ac{font-size:clamp(4.2rem,6.4vw,6rem)!important;line-height:.92!important}
section.hr3.hpx.hpx-v-4 .hpx-top > .hpx-coins{margin:6px 0 22px}
section.hr3.hpx.hpx-v-4 .hpx-top > .hr3-cta{margin:0}
section.hr3.hpx.hpx-v-4 .hpx-rest > .hr3-sub{margin:26px 0 26px}
}

/* A visitor who asks for less motion sees the poster only. Printing shows the poster and no control. */
@media (prefers-reduced-motion:reduce){
section.hr3.hpx .hv-video{display:none}
}
@media print{
section.hr3.hpx .hv-video,
section.hr3.hpx .hv-toggle{display:none}
}
