/* Decorative ocean friends stay in the gaps and never intercept input. */
.sea-decor-host { position: relative; }
.sea-rail { position: absolute; inset: -30px 4px auto; height: 30px; pointer-events: none; user-select: none; z-index: 2; }
.hero > .sea-rail { inset: 76px 7% auto; }
.hero .sea-jump { transform: translateX(-50%) scale(2); }
.hero .sea-float { font-size: 38px; opacity: .9; animation-name: hero-sea-float; }
@keyframes hero-sea-float { from { transform: translate(-8px,8px) rotate(-12deg); } to { transform: translate(10px,-15px) rotate(12deg); } }
.sea-jump { position: absolute; left: var(--place); top: 0; width: 64px; height: 30px; transform: translateX(-50%); }
.sea-dolphin { display: block; position: absolute; left: 20px; top: 0; font-size: 27px; line-height: 1; opacity: 0; animation: dolphin-hop var(--cycle) ease-in-out infinite; animation-delay: var(--delay); }
.sea-dolphin > span { display: block; transform: scaleX(var(--facing)); }
.sea-splash { position: absolute; left: 17px; top: 23px; width: 30px; height: 6px; border: 1px solid rgba(135,202,230,.8); border-radius: 50%; opacity: 0; animation: dolphin-splash var(--cycle) ease-out infinite; animation-delay: var(--delay); }
.sea-droplet { position: absolute; left: 31px; top: 22px; width: 3px; height: 4px; border-radius: 50%; background: #a7d8ed; opacity: 0; animation: dolphin-droplet var(--cycle) ease-out infinite; animation-delay: var(--delay); }
.sea-droplet:nth-of-type(3) { --spray: -13px; }
.sea-droplet:nth-of-type(4) { --spray: 10px; }
.sea-droplet:nth-of-type(5) { --spray: 0px; }
.sea-float { position: absolute; left: var(--place); top: 0; font-size: 20px; line-height: 1; opacity: .68; animation: sea-float var(--cycle) ease-in-out infinite alternate; animation-delay: var(--delay); }
.sea-rail * { animation-play-state: paused; }
.sea-rail.is-visible * { animation-play-state: running; }
@keyframes dolphin-hop {
  0%, 52%, 100% { opacity: 0; transform: translate(20px,15px) rotate(-30deg) scale(.7); }
  5% { opacity: .95; transform: translate(17px,5px) rotate(-26deg) scale(.9); }
  18% { opacity: 1; transform: translate(3px,-22px) rotate(0deg) scale(1); }
  32% { opacity: 1; transform: translate(-13px,-5px) rotate(25deg) scale(.96); }
  41% { opacity: 0; transform: translate(-20px,14px) rotate(40deg) scale(.7); }
}
@keyframes dolphin-splash {
  0%, 36%, 64%, 100% { opacity: 0; transform: translateX(-18px) scale(.35); }
  42% { opacity: .75; transform: translateX(-18px) scale(.65); }
  60% { opacity: 0; transform: translateX(-18px) scale(1.8); }
}
@keyframes dolphin-droplet {
  0%, 37%, 60%, 100% { opacity: 0; transform: translate(-18px,0) scale(.5); }
  43% { opacity: .85; transform: translate(calc(-18px + var(--spray)),-10px) scale(1); }
  57% { opacity: 0; transform: translate(calc(-18px + var(--spray) * 1.5),2px) scale(.45); }
}
@keyframes sea-float { from { transform: translate(-4px,1px) rotate(-9deg); } to { transform: translate(4px,-8px) rotate(9deg); } }
@media(max-width:760px) { .sea-dolphin { font-size: 23px; } .sea-float { font-size: 17px; } .sea-rail { top: -25px; } }
@media(prefers-reduced-motion:reduce) { .sea-rail { display:none; } .sea-rail * { animation:none !important; } }

@media(max-width:760px) { .hero > .sea-rail { top: 72px; } .hero .sea-jump { transform: translateX(-50%) scale(1.85); } .hero .sea-float { font-size: 32px; } }
