/* One underwater scene. Motion uses transforms, never layout or filter effects. */
.ocean-footer-scene{position:relative;isolation:isolate;margin-top:0;padding-top:140px;background:linear-gradient(180deg,#061b30,#0a3049 172px,#061c32);overflow:hidden}
.ocean-footer-scene footer.ocean-footer{position:relative;isolation:auto;z-index:auto;display:block;margin:0;min-height:480px;padding:166px clamp(24px,7vw,115px) 32px;border:0;background:none;color:#d7edf7;overflow:visible;clip-path:none;animation:none}
.ocean-footer-scene footer.ocean-footer::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;clip-path:polygon(0 29px,12% 22px,25% 32px,38% 24px,50% 31px,65% 23px,78% 32px,90% 24px,100% 29px,100% 100%,0 100%);background:radial-gradient(ellipse at 50% 0%,#1c789b77,transparent 53%),linear-gradient(180deg,#0d5275 0%,#073956 38%,#031a31 100%)}
.ocean-footer-scene footer.ocean-footer::after{content:"";position:absolute;inset:32px 0 0;z-index:1;pointer-events:none;background:linear-gradient(111deg,transparent 30%,#b0efff0b 33%,transparent 40%),linear-gradient(103deg,transparent 44%,#b0efff0d 47%,transparent 54%),radial-gradient(ellipse at 52% 95%,#0b719924,transparent 45%)}
/* The fixed water veil sits in front of the submerged decoration, behind text. */
.ocean-footer-scene::after{content:"";position:absolute;inset:172px 0 0;z-index:3;pointer-events:none;background:linear-gradient(180deg,#0a5f8f50 0%,#062d5b69 180px,#031c3224 100%);border-top:1px solid #8bdeef20}
.ocean-footer__inner{position:relative;z-index:4;max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(250px,1fr) auto;gap:80px clamp(45px,9vw,150px)}
.ocean-footer__brand,.ocean-footer__navigation,.ocean-footer__bottom{animation:none;transform:none;will-change:auto}
.ocean-footer__brand>a{display:inline-flex;align-items:center;width:194px;height:69px;padding:6px 12px;border:1px solid #daf9ffba;border-radius:16px;background:#edfbff;overflow:hidden}
.ocean-footer__brand img{display:block;width:170px;height:auto}
.ocean-footer__brand p{margin:24px 0 0;color:#deeff7;font-size:clamp(28px,2.5vw,39px);font-weight:600;line-height:1.2;letter-spacing:-.035em;animation:none}
.ocean-footer__brand p span{color:#77d6ef}
.ocean-footer__navigation{display:flex;gap:clamp(35px,6vw,95px);padding-top:12px}
.ocean-footer__navigation>div{display:flex;flex-direction:column;align-items:flex-start;gap:15px;min-width:115px;animation:none}
.ocean-footer__navigation span{margin-bottom:8px;color:#7bc2d7;font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.ocean-footer-scene footer.ocean-footer a{color:#d9eff8;font-size:14px;font-weight:600;transition:color .18s ease}
.ocean-footer-scene footer.ocean-footer a:hover{color:#97efff;transform:none}
.ocean-footer-scene footer.ocean-footer a:focus-visible{outline:2px solid #94eaff;outline-offset:5px;border-radius:3px}
.ocean-footer__social{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.ocean-footer__social svg{width:17px;height:17px;flex:none;fill:currentColor;color:#8bdcf8}
.ocean-footer__social svg[fill="none"]{fill:none}
.ocean-footer__bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:23px;border-top:1px solid #a3d5e323;color:#88adbf;font-size:12px}
.ocean-footer__bottom>*{animation:none}
.ocean-footer-scene footer.ocean-footer .ocean-footer__bottom a{color:#accfdd;font-size:12px}
.ocean-footer-scene .ocean-footer__ice{position:absolute;z-index:2;left:calc(50% - 150px);top:25px;width:300px;height:301px;opacity:.94;pointer-events:none;filter:none;animation:icebergFloat 18s ease-in-out infinite;animation-play-state:paused}
.ocean-footer__ice img{display:block;width:100%;height:100%;object-fit:contain}
.ocean-footer__ice::after{content:none}
.ocean-footer-scene .ocean-footer__waterline{position:absolute;z-index:5;top:0;left:0;right:0;height:72px;overflow:hidden;pointer-events:none;background:none;box-shadow:none;animation:none}
.ocean-footer__waterline::before,.ocean-footer__waterline::after{content:"";position:absolute;top:0;left:0;width:calc(100% + 480px);height:72px;background-repeat:repeat-x;background-size:480px 72px;animation:oceanCurrent 18s linear infinite;animation-play-state:paused}
.ocean-footer__waterline::before{opacity:.46;background-image:url('/assets/ocean-wave-back.svg')}
.ocean-footer__waterline::after{opacity:.8;animation-duration:26s;animation-direction:reverse;background-image:url('/assets/ocean-wave-front.svg')}
.ocean-footer__bubbles{position:absolute;z-index:2;inset:45px 0 0;pointer-events:none;overflow:hidden}
.ocean-footer__bubbles i{position:absolute;width:3px;height:3px;border-radius:50%;background:#9cdef048;animation:none}
.ocean-footer__bubbles i:nth-child(1){top:18%;left:15%}.ocean-footer__bubbles i:nth-child(2){top:55%;left:38%}.ocean-footer__bubbles i:nth-child(3){top:32%;left:74%}.ocean-footer__bubbles i:nth-child(4){top:82%;left:84%}.ocean-footer__bubbles i:nth-child(5){top:90%;left:21%}
.ocean-footer-scene.is-motion-active .ocean-footer__ice,.ocean-footer-scene.is-motion-active .ocean-footer__waterline::before,.ocean-footer-scene.is-motion-active .ocean-footer__waterline::after{animation-play-state:running}
.ocean-footer-scene .ocean-footer__ice{transform-origin:50% 48%}
@keyframes icebergFloat{0%,100%{transform:translate3d(-18px,2px,0) rotate(-1deg)}50%{transform:translate3d(18px,-6px,0) rotate(1deg)}}
@keyframes oceanCurrent{to{transform:translate3d(-480px,0,0)}}
@media(max-width:900px){.ocean-footer__inner{column-gap:40px}.ocean-footer__navigation{gap:30px}}
@media(max-width:650px){.ocean-footer-scene{padding-top:110px}.ocean-footer-scene::after{top:142px}.ocean-footer-scene footer.ocean-footer{padding:155px 24px 28px;min-height:610px}.ocean-footer__inner{grid-template-columns:1fr;gap:42px}.ocean-footer__navigation{gap:45px}.ocean-footer__bottom{flex-wrap:wrap;gap:16px}.ocean-footer-scene .ocean-footer__ice{left:calc(50% - 120px);right:auto;top:23px;width:240px;height:241px}.ocean-footer__brand p{font-size:30px}.ocean-footer__waterline::after{display:none}}
@media(prefers-reduced-motion:reduce){.ocean-footer-scene .ocean-footer__ice,.ocean-footer__waterline::before,.ocean-footer__waterline::after{animation:none!important}}
@media(max-width:360px){.ocean-footer__navigation{gap:24px}.ocean-footer__navigation>div{min-width:100px}}

/* Simple floating elements: one small transform loop, staggered per item. */
.ocean-footer__brand,.ocean-footer__navigation,.ocean-footer__bottom{animation:none;transform:none;will-change:auto}
.ocean-footer__brand>a,.ocean-footer__brand>p,.ocean-footer__navigation>div>*,.ocean-footer__bottom>*{animation:footerFloat 6s ease-in-out infinite;animation-play-state:paused}
.ocean-footer__brand>p{animation-duration:7s;animation-delay:-2s}
.ocean-footer__navigation>div>:nth-child(2n){animation-duration:7s;animation-delay:-3s}
.ocean-footer__navigation>div>:nth-child(3n){animation-duration:5.5s;animation-delay:-1s}
.ocean-footer__navigation>div:last-child>*{animation-delay:-4s}
.ocean-footer__bottom>*{animation-duration:8s;animation-delay:-5s}
.ocean-footer-scene.is-motion-active .ocean-footer__brand>a,.ocean-footer-scene.is-motion-active .ocean-footer__brand>p,.ocean-footer-scene.is-motion-active .ocean-footer__navigation>div>*,.ocean-footer-scene.is-motion-active .ocean-footer__bottom>*{animation-play-state:running}
.ocean-footer__whale-track{position:absolute;z-index:2;top:225px;left:0;width:100%;height:150px;pointer-events:none;animation:oceanWhaleSwim 42s linear -16s infinite;animation-play-state:paused}
.ocean-footer__whale{display:block;width:clamp(220px,28vw,360px);height:auto;color:#021a2c;opacity:.38}
.ocean-footer-scene.is-motion-active .ocean-footer__brand,.ocean-footer-scene.is-motion-active .ocean-footer__navigation,.ocean-footer-scene.is-motion-active .ocean-footer__bottom,.ocean-footer-scene.is-motion-active .ocean-footer__whale-track{animation-play-state:running}
@keyframes footerFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(2px,-5px,0)}}

@media(prefers-reduced-motion:reduce){.ocean-footer__brand>a,.ocean-footer__brand>p,.ocean-footer__navigation>div>*,.ocean-footer__bottom>*{animation:none!important}}
@keyframes oceanWhaleSwim{from{transform:translate3d(calc(100% + 360px),8px,0)}to{transform:translate3d(-380px,-12px,0)}}
@media(max-width:650px){.ocean-footer__whale-track{top:230px;animation-duration:34s}}
@media(prefers-reduced-motion:reduce){.ocean-footer__brand,.ocean-footer__navigation,.ocean-footer__bottom,.ocean-footer__whale-track{animation:none!important}.ocean-footer__whale-track{left:46%;top:250px;transform:none;opacity:.5}}

/* Firefox compatibility: isolate the sea's paint region and prepare only the
   small moving layers. Chrome keeps its existing rendering path unchanged. */
@supports (-moz-appearance:none){
  .ocean-footer-scene{contain:paint}
  .ocean-footer-scene .ocean-footer__ice{opacity:1}
  .ocean-footer__whale-track{width:360px;animation-name:oceanWhaleFirefox}
  .ocean-footer-scene.is-motion-active .ocean-footer__ice,
  .ocean-footer-scene.is-motion-active .ocean-footer__whale-track,
  .ocean-footer-scene.is-motion-active .ocean-footer__waterline::before,
  .ocean-footer-scene.is-motion-active .ocean-footer__waterline::after,
  .ocean-footer-scene.is-motion-active .ocean-footer__brand>a,
  .ocean-footer-scene.is-motion-active .ocean-footer__brand>p,
  .ocean-footer-scene.is-motion-active .ocean-footer__navigation>div>*,
  .ocean-footer-scene.is-motion-active .ocean-footer__bottom>*{will-change:transform;backface-visibility:hidden}
}

/* Sparse bubbles and two small light pools: transform/opacity only, no blur. */
.ocean-footer__bubbles i{top:auto!important;bottom:-16px;width:6px;height:6px;border:1px solid #a2e5f275;background:#b8f0ff0d;animation:bubbleDrift 17s linear -4s infinite;animation-play-state:paused;opacity:0}
.ocean-footer__bubbles i:nth-child(2){width:9px;height:9px;animation-duration:23s;animation-delay:-12s}
.ocean-footer__bubbles i:nth-child(3){width:4px;height:4px;animation-duration:19s;animation-delay:-9s}
.ocean-footer__bubbles i:nth-child(4){animation-duration:26s;animation-delay:-18s}
.ocean-footer__bubbles i:nth-child(5){width:8px;height:8px;animation-duration:21s;animation-delay:-15s}
.ocean-footer__shine{position:absolute;z-index:2;inset:40px 0 0;pointer-events:none;overflow:hidden}
.ocean-footer__shine i{position:absolute;top:12px;left:22%;width:210px;height:140px;background:radial-gradient(ellipse,#8bdff23d,transparent 70%);opacity:0;animation:waterGlint 13s ease-in-out -3s infinite;animation-play-state:paused}
.ocean-footer__shine i:last-child{left:67%;top:150px;width:160px;height:110px;animation-duration:18s;animation-delay:-10s}
.ocean-footer-scene.is-motion-active .ocean-footer__bubbles i,.ocean-footer-scene.is-motion-active .ocean-footer__shine i{animation-play-state:running}
@keyframes bubbleDrift{0%{transform:translate3d(0,0,0);opacity:0}12%{opacity:.55}85%{opacity:.3}100%{transform:translate3d(18px,-500px,0);opacity:0}}
@keyframes waterGlint{0%,100%{transform:translate3d(-12px,0,0);opacity:.08}50%{transform:translate3d(12px,-8px,0);opacity:.38}}
@keyframes oceanWhaleFirefox{from{transform:translate3d(100vw,8px,0)}to{transform:translate3d(-380px,-12px,0)}}
@media(max-width:650px){.ocean-footer__bubbles i:nth-child(n+4),.ocean-footer__shine i:last-child{display:none}.ocean-footer__shine i{left:12%;width:160px;height:110px}}
@media(prefers-reduced-motion:reduce){.ocean-footer__bubbles i,.ocean-footer__shine i{animation:none!important}.ocean-footer__shine i{opacity:.14}}
