/* The photograph sits across the surface and moves with the water. */
.hero-visual{align-self:end;transform:translateY(110px);animation:water-bob 6s ease-in-out infinite;transform-origin:50% 94%}
.hero .photo-frame{transform:none;animation:raft-rock 6s ease-in-out infinite;transform-origin:50% 96%}
.hero-visual:before{animation:raft-rock 6s ease-in-out infinite}
.hero-water-reflection{position:absolute;left:23px;right:12px;top:calc(100% - 38px);height:95px;border-radius:20px;background:linear-gradient(#4ca3b277,#15748fab),url('/assets/flood-ideal-boiler.webp') center bottom/100% auto;transform:scaleY(-1);filter:blur(3px);opacity:.32;mask-image:linear-gradient(transparent,#000);pointer-events:none;animation:reflection-shimmer 3s ease-in-out infinite alternate}
.hero-water-contact{position:absolute;z-index:5;left:-7%;right:-7%;bottom:13px;height:48px;pointer-events:none;background:radial-gradient(ellipse at center,#258aa2a6 0,#55b8c578 35%,transparent 70%);border-radius:50%;transform:rotate(-.5deg)}
.hero-water-contact span{position:absolute;inset:12px 3%;border:1px solid #e0ffffa6;border-top-color:#edffffc9;border-bottom-color:#24849b55;border-radius:50%;box-shadow:0 -2px 7px #e6ffff35;animation:contact-ripple 4s ease-out infinite}
.hero-water-contact span:nth-child(2){inset:16px 10%;animation-delay:-1.3s}
.hero-water-contact span:nth-child(3){inset:20px 19%;animation-delay:-2.6s}
@keyframes water-bob{0%,100%{transform:translateY(var(--float-depth,110px))}50%{transform:translateY(calc(var(--float-depth,110px) - 11px))}}
@keyframes raft-rock{0%,100%{rotate:-1.4deg}50%{rotate:1.2deg}}
@keyframes contact-ripple{0%{scale:.72 .65;opacity:0}20%{opacity:.85}100%{scale:1.15 1.6;opacity:0}}
@keyframes reflection-shimmer{from{translate:-3px 0;scale:1 .95}to{translate:3px 3px;scale:1.025 1.05}}
body.effects-paused .hero-visual,body.effects-paused .hero .photo-frame,body.effects-paused .hero-visual:before,body.effects-paused .hero-water-reflection,body.effects-paused .hero-water-contact span{animation-play-state:paused}
@media(max-width:600px){.hero-water-reflection{left:10px;right:8px;height:70px}.hero-water-contact{left:-5%;right:-5%}.hero .dive-link{bottom:26px;z-index:6}.hero-visual{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.hero-visual,.hero .photo-frame,.hero-visual:before,.hero-water-reflection,.hero-water-contact span{animation:none}.hero-water-contact span{opacity:.5}}
.hero-copy{align-self:center;transform:translateY(66px);animation:none}
.hero-water-proof{position:absolute;z-index:5;left:50%;bottom:15px;transform:translateX(-50%);pointer-events:none}
.hero-water-proof .hero-credentials{border:0;padding:0;margin:0;gap:10px 22px;color:#fff;max-width:680px;text-shadow:0 1px 5px #073e5c80}
.hero-water-proof .hero-credentials span:before{color:#e0fff3;font-weight:800}
.hero-water-proof .hero-note{color:#f0fcff;margin:8px 0 0;text-shadow:0 1px 5px #073e5c80}
.hero-water-proof .hero-note .icon{color:#e0fff3}
.hero .dive-link{left:auto;right:8%;bottom:21px;transform:none;color:#fff;max-width:290px;text-align:center}
@media(max-width:1100px) and (min-width:601px){.hero-water-proof .hero-credentials{max-width:58%;gap:6px 16px}.hero .dive-link{right:5%;max-width:240px}}
@media(max-width:600px){
  .hero{padding-top:65px;padding-bottom:225px}
  .hero-copy{--copy-depth:0px;transform:none}
  .hero-visual{--float-depth:130px;transform:translateY(130px)}
  .hero-horizon{height:200px}
  .hero-water-proof{bottom:42px}
  .hero-water-proof .hero-credentials{gap:8px 16px;max-width:none}
  .hero-water-proof .hero-note{margin-top:8px}
  .hero .dive-link{bottom:7px;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:90%;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.hero-copy{animation:none;will-change:auto}}
.hero-water-proof{bottom:29px}
.hero-water-proof .hero-credentials{display:flex;justify-content:space-between;align-items:center;max-width:none;width:100%;gap:20px}
.hero-water-proof .hero-credentials span{display:flex;align-items:baseline;gap:8px}
.hero-water-proof .hero-credentials span:before{margin:0}
.hero-copy .hero-credentials{margin-top:24px;padding-top:20px;border-top:1px solid #d0e2e5;color:#365963;gap:10px 20px;line-height:1.7}
.hero-copy .hero-credentials span:before{color:#208582}
@media(max-width:600px){
  .hero-water-proof{bottom:54px}
  .hero-water-proof .hero-credentials{justify-content:space-between;gap:16px;flex-wrap:nowrap;align-items:flex-start}
  .hero-water-proof .hero-credentials span{flex:1;flex-direction:column;gap:3px;align-items:center;text-align:center;font-size:13px;line-height:1.6}
}

/* Keep the mobile photograph close to the hero copy. */
@media(max-width:600px){.hero{padding-top:38px;padding-bottom:125px}.hero-grid{gap:24px}.hero-visual{--float-depth:30px;transform:translateY(30px)}}
