.anc-dtc{width:100%;overflow:hidden;line-height:0;margin:0;}
.anc-dtc__svg{display:block;width:100%;height:auto;}
.anc-dtc__link{cursor:pointer;outline:none;}
.anc-dtc__link .anc-dtc__arc{transition:filter .25s ease,opacity .7s ease,transform .9s cubic-bezier(.2,.7,.2,1);}
.anc-dtc__link:hover .anc-dtc__arc,.anc-dtc__link:focus-visible .anc-dtc__arc{filter:brightness(1.12) saturate(1.1);}
.anc-dtc__link:focus-visible .anc-dtc__arc{stroke:#0B1033;stroke-width:4;}
.anc-dtc__lbl{pointer-events:none;font-family:var(--awb-typography1-font-family,"Open Sans",sans-serif);font-weight:700;font-size:24px;letter-spacing:.03em;text-transform:uppercase;}
.anc-dtc__waves{transform:scaleX(1.02);transform-origin:960px 0;}
.anc-dtc__arc,.anc-dtc__lbl{transform-box:view-box;transform-origin:960px 615.5px;}
@media (prefers-reduced-motion:no-preference){
.anc-dtc__arc,.anc-dtc__lbl{opacity:0;transform:scale(.6);transition:opacity .7s ease,transform .9s cubic-bezier(.2,.7,.2,1);}
.anc-dtc.is-in .anc-dtc__arc,.anc-dtc.is-in .anc-dtc__lbl{opacity:1;transform:none;}
.anc-dtc__arc--5,.anc-dtc__core{transition-delay:0s;}
.anc-dtc__arc--4,.anc-dtc__lbl--4{transition-delay:.1s;}
.anc-dtc__arc--3,.anc-dtc__lbl--3{transition-delay:.2s;}
.anc-dtc__arc--2,.anc-dtc__lbl--2{transition-delay:.3s;}
.anc-dtc__arc--1,.anc-dtc__lbl--1{transition-delay:.4s;}
.anc-dtc__arc--0,.anc-dtc__lbl--0{transition-delay:.5s;}
}
@media (max-width:767px){
.anc-dtc__svg{width:140%;margin-left:-20%;}
.anc-dtc__lbl{font-size:26px;}
}
(function(){
var els=document.querySelectorAll('.anc-dtc');
if(!('IntersectionObserver' in window)){els.forEach(function(e){e.classList.add('is-in')});return;}
var io=new IntersectionObserver(function(en){en.forEach(function(x){if(x.isIntersecting){x.target.classList.add('is-in');io.unobserve(x.target);}})},{threshold:.25});
els.forEach(function(e){io.observe(e)});})();
/* Wave motion: sample each Figma wave's top edge once, then ripple it with travelling sines. */
(function(){
var X0=-3,X1=1923,STEP=24;
var CFG=[ // amplitude, wavelength, speed (rad/s), phase (back -> front)
[14,820,0.55,0.0],[12,700,-0.45,1.7],[11,900,0.38,3.1],[9,1100,-0.30,4.4]];
function sample(p){
var L=p.getTotalLength(),pts=[],bb=p.getBBox(),bottom=bb.y+bb.height;
for(var s=0;sX0+0.6&&q.x<X1-0.6&&q.y<bottom-0.6)pts.push(q);}
pts.sort(function(a,b){return a.x-b.x;});
var out=[],j=0;
for(var x=X0;x<=X1+0.1;x+=STEP){
while(j<pts.length-2&&pts[j+1].x<x)j++;
var a=pts[j],b=pts[Math.min(j+1,pts.length-1)],y;
if(x=pts[pts.length-1].x)y=pts[pts.length-1].y;
else y=a.y+(b.y-a.y)*((x-a.x)/((b.x-a.x)||1));
out.push(y);
}
return {top:out,bottom:bottom};
}
function init(root){
var paths=root.querySelectorAll('.anc-dtc__wave');if(!paths.length||!paths[0].getTotalLength)return;
var W=[];
for(var i=0;i<paths.length;i++){try{var s=sample(paths[i]);s.el=paths[i];s.c=CFG[i]||CFG[0];W.push(s);}catch(e){return;}}
function draw(t){
for(var i=0;i<W.length;i++){var w=W[i],c=w.c,d='',n=w.top.length;
var P=[];for(var k=0;k<n;k++){var x=X0+k*STEP;
P.push([x,w.top[k]+c[0]*Math.sin(2*Math.PI*x/c[1]+t*c[2]+c[3])+c[0]*0.22*Math.sin(2*Math.PI*x/(c[1]*0.62)+t*c[2]*0.7+c[3]*2)]);}
d='M'+P[0][0]+' '+P[0][1].toFixed(1);
for(k=1;k<n-1;k++){d+='Q'+P[k][0]+' '+P[k][1].toFixed(1)+' '+((P[k][0]+P[k+1][0])/2)+' '+((P[k][1]+P[k+1][1])/2).toFixed(1);}
d+='L'+P[n-1][0]+' '+P[n-1][1].toFixed(1);
d+='V'+(w.bottom+2)+'H'+X0+'Z';w.el.setAttribute('d',d);}
}
draw(0);
if(window.matchMedia&&matchMedia('(prefers-reduced-motion: reduce)').matches)return;
var run=false,last=0,acc=0;
function loop(n){if(!run)return;acc+=Math.min(n-last,100)/1000;last=n;draw(acc);requestAnimationFrame(loop);}
if('IntersectionObserver' in window){new IntersectionObserver(function(e){var v=e[0].isIntersecting;if(v&&!run){run=true;last=performance.now();requestAnimationFrame(loop);}else if(!v)run=false;}).observe(root);}
else{run=true;last=performance.now();requestAnimationFrame(loop);}
}
function go(){document.querySelectorAll('.anc-dtc').forEach(init);}
if(document.readyState!=='loading')go();else document.addEventListener('DOMContentLoaded',go);
})();