/* Decorative ocean swells: text and controls always stay above the waves. */
.ho-public .ho-tide-waves {
    --ho-tide-back-shift: 0%;
    --ho-tide-front-shift: 0%;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}
.ho-public .ho-tide-waves--hero {
    position: absolute;
    inset: auto 0 0;
    height: clamp(90px, 17vw, 170px);
    z-index: 0;
}
.ho-public .ho-launch-copy,
.ho-public .ho-launch > .ho-launch-visual { z-index: 1; }
.ho-public .ho-tide-waves--separator {
    height: clamp(72px, 9vw, 112px);
    margin-top: clamp(18px, 3vw, 38px);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(78, 151, 223, .03), rgba(78, 151, 223, .08));
}
.ho-public .ho-tide-waves--separator + .ho-section { margin-top: clamp(24px, 3.5vw, 44px); }
.ho-public .ho-tide-wave {
    display: block;
    position: absolute;
    bottom: -1px;
    left: -22%;
    width: 144%;
    height: 100%;
    fill: currentColor;
}
.ho-public .ho-tide-wave--back {
    color: rgba(46, 128, 209, .15);
    transform: translate3d(var(--ho-tide-back-shift), 0, 0);
}
.ho-public .ho-tide-wave--front {
    color: rgba(34, 119, 196, .20);
    transform: translate3d(var(--ho-tide-front-shift), 0, 0);
}
html[data-ho-theme="dark"] .ho-public .ho-tide-waves--separator {
    background: linear-gradient(180deg, rgba(49, 139, 201, .05), rgba(49, 139, 201, .13));
}
html[data-ho-theme="dark"] .ho-public .ho-tide-wave--back { color: rgba(68, 162, 218, .18); }
html[data-ho-theme="dark"] .ho-public .ho-tide-wave--front { color: rgba(42, 143, 203, .24); }
/* The scroll-driven offset positions each layer; the path itself drifts so
   the ocean remains visibly alive even when the visitor pauses scrolling. */
@media (prefers-reduced-motion: no-preference) {
    .ho-public .ho-tide-wave path { transform-box: fill-box; transform-origin: center; }
    .ho-public .ho-tide-wave--back path { animation: ho-tide-drift-back 9s ease-in-out infinite alternate; }
    .ho-public .ho-tide-wave--front path { animation: ho-tide-drift-front 7s ease-in-out infinite alternate; }
    @keyframes ho-tide-drift-back {
        from { transform: translateX(-4%); }
        to { transform: translateX(4%); }
    }
    @keyframes ho-tide-drift-front {
        from { transform: translateX(4%); }
        to { transform: translateX(-4%); }
    }
}
@media (max-width: 767px) {
    .ho-public .ho-tide-waves--hero { height: 78px; }
    .ho-public .ho-tide-waves--separator { height: 70px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ho-public .ho-tide-wave { transform: none; }
}
