/* Hainy Hydrant · Website 4.1 Compact (2026-11-14, overnight pass for Lasse)
   1. Top: text sits on the full-width video; dark shade only behind the text (left) and the facts bar (bottom).
   2. Whole page: less empty space between sections, same layout. */

/* ── 1. Top ── */
.v41-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  min-height: clamp(560px, 74svh, 720px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.v41-media { position: absolute; inset: 0; z-index: -2; }
.v41-m { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* drone video: whole frame, nothing zoomed (only a thin strip top/bottom falls off on wide screens) */
.v41-m-video { object-position: 50% 65%; }
.v41-m-photo { width: 128%; max-width: none; object-position: 0% 30%; } /* hydrant moves right, away from the words */
.v41-m-product { object-position: 72% 50%; }
.v41-m-photo, .v41-m-product { display: none; }
.v41-hero[data-hero="photo"] .v41-m-photo, .v41-hero[data-hero="product"] .v41-m-product { display: block; }

/* shade: only where the words are, so most of the picture stays clear */
.v41-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,9,16,.70) 0%, rgba(6,9,16,.52) 26%, rgba(6,9,16,.14) 50%, rgba(6,9,16,0) 62%),
    linear-gradient(0deg, rgba(6,9,16,.70) 0%, rgba(6,9,16,0) 22%),
    linear-gradient(180deg, rgba(6,9,16,.45) 0%, rgba(6,9,16,0) 16%);
}
.v41-hero[data-hero="product"]::before {
  background:
    linear-gradient(90deg, rgba(6,9,16,.72) 0%, rgba(6,9,16,.45) 30%, rgba(6,9,16,0) 55%),
    linear-gradient(0deg, rgba(6,9,16,.65) 0%, rgba(6,9,16,0) 22%),
    linear-gradient(180deg, rgba(6,9,16,.35) 0%, rgba(6,9,16,0) 14%);
}
/* busy photo behind the words (Larkspur Lane): a bit more shade on the left */
.v41-hero.v41-shade-more::before {
  background:
    linear-gradient(90deg, rgba(6,9,16,.82) 0%, rgba(6,9,16,.68) 30%, rgba(6,9,16,.30) 52%, rgba(6,9,16,0) 66%),
    linear-gradient(0deg, rgba(6,9,16,.70) 0%, rgba(6,9,16,0) 22%),
    linear-gradient(180deg, rgba(6,9,16,.45) 0%, rgba(6,9,16,0) 16%);
}

.v41-in { padding-top: calc(var(--nav-h) + 32px); padding-bottom: clamp(28px, 4vh, 44px); }
.v41-in > * { max-width: 600px; }
.v41-in > .v41-eyebrow { max-width: none; }
.v41-short { display: none; }
.v41-hero h1 { max-width: 780px; }
.v41-eyebrow { margin: 0 0 14px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .92; }
.v41-eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--red); }
.v41-hero h1 { margin: 0 0 14px; color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.v41-sub { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.45; max-width: 30em; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.v41-addr { max-width: 560px; }
.v41-addr .addr-row { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.v41-note { margin: 10px 0 0 6px; font-size: .9rem; color: rgba(255,255,255,.78); }

/* facts bar: says what it is in four numbers, on the bottom edge of the picture */
.v41-facts { border-top: 1px solid rgba(255,255,255,.18); background: rgba(6,9,16,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.v41-facts ul { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 16px; padding-bottom: 16px; }
.v41-facts li { display: flex; align-items: baseline; gap: 8px; padding: 2px 16px; border-left: 1px solid rgba(255,255,255,.18); }
.v41-facts li:first-child { border-left: 0; padding-left: 0; }
.v41-facts b { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.v41-facts span { color: #fff; opacity: .92; font-size: 1rem; }

@media (max-width: 1100px) {
  .v41-facts li { flex-direction: column; gap: 0; }
}

/* phone + small tablet: picture on top with the headline on it, the address box right under it */
@media (max-width: 760px) {
  .v41-hero { min-height: 0; display: block; background: var(--ink); }
  .v41-media { position: relative; inset: auto; height: min(58svh, 118vw); }
  .v41-m-video { width: 100%; object-position: 32% 60%; }
  .v41-m-photo { width: 100%; object-position: 46% 40%; }
  .v41-m-product { object-position: 78% 50%; }
  .v41-hero::before { bottom: auto; height: min(58svh, 118vw);
    background: linear-gradient(0deg, rgba(6,9,16,.92) 0%, rgba(6,9,16,.55) 30%, rgba(6,9,16,0) 55%), linear-gradient(180deg, rgba(6,9,16,.5) 0%, rgba(6,9,16,0) 18%) !important; }
  .v41-in { position: relative; margin-top: -12.5rem; padding-top: 0; padding-bottom: 18px; }
  .v41-long { display: none; }
  .v41-short { display: inline; }
  .v41-eyebrow { font-size: .68rem; letter-spacing: .06em; margin-bottom: 8px; white-space: nowrap; }
  .v41-eyebrow::before { width: 16px; margin-right: 8px; }
  .v41-hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); margin-bottom: 14px; }
  .v41-sub { font-size: 1rem; margin-bottom: 16px; }
  .v41-note { font-size: .85rem; margin-left: 2px; }
  .v41-facts { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .v41-facts ul { grid-template-columns: 1fr 1fr; row-gap: 12px; padding-top: 14px; padding-bottom: 18px; }
  .v41-facts li { padding: 0 12px; }
  .v41-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .v41-facts b { font-size: 1.02rem; }
  .v41-facts span { font-size: .92rem; }
}

/* ── 2. Tighter page: about a third less empty space between sections ── */
.section { padding: clamp(52px, 7.5vw, 100px) 0; }
.v4-product { padding-top: clamp(36px, 5vw, 64px); }
.v4-product-row { margin-top: clamp(28px, 4.5vw, 60px); }
.v4-brent { padding: clamp(40px, 6vw, 84px) 0; }
/* scroll story: each step needs less scrolling (was 62% of the screen per step) */
@media (min-width: 900px) {
  .hs-steps li { min-height: 46svh; }
  .hs-steps li:first-child { min-height: 30svh; padding-top: 4svh; }
  .hs-steps li:last-child { min-height: 44svh; }
}
.v4-statement { padding: clamp(48px, 7vw, 104px) 0; }

/* product section: the square drone video (whole frame, man with the hose in view) moved here from the old top */
.v41-product-video { max-width: 560px; width: 100%; justify-self: center; }
.v41-product-video video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--ink); }

/* water band after the home story: the question first, then the pool pump (replaces the statement band) */
.v41-water { padding: clamp(44px, 6vw, 80px) 0; }
.v41-water-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 64px); align-items: center; }
.v41-water h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.v41-water p { margin: 0 0 14px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 32em; }
.v41-water-link { font-weight: 700; color: var(--red); text-decoration: none; }
.v41-water-link:hover { text-decoration: underline; }
@media (max-width: 760px) { .v41-water-in { grid-template-columns: 1fr; } }
.v41-in > .v41-note { max-width: 720px; }
@media (max-width: 370px) { .v41-eyebrow { white-space: normal; } }

/* Brent's quote now sits between "This is Hainy Hydrant." and the 22-second video (Lasse 2026-11-16) */
.v4-product:not(.v41-product-2) { padding-bottom: clamp(44px, 6vw, 80px); }
.v41-product-2 { padding-top: clamp(44px, 6vw, 80px); }
.v41-product-2 .v4-product-row { margin-top: 0; }

/* Brent: quote on the left, photo on the right (Lasse 2026-11-16); phone keeps photo first */
@media (min-width: 901px) { .v4-brent-photo { order: 2; } }

/* Matt's "We've faced wildfires at our own homes." as its own light band after the 22-second video */
.v41-kit-band { padding: clamp(44px, 6vw, 80px) 0; }
.v41-kit-row { margin-top: 0 !important; }
.v41-kit-row .v4-kit { grid-row: 1; }
.v41-product-2 { padding-bottom: clamp(44px, 6vw, 80px); }

/* wildfire line in step 3 passes faster so people see it before scrolling on (was 5s after .4s; Lasse 2026-11-16) */
.hs-anim .on .hs-front { transition: transform 2s cubic-bezier(.35,0,.3,1) .1s; }
@media (prefers-reduced-motion: reduce) { .hs-anim .on .hs-front { transition: none; } }
