/* Two stage views with sliding pictures, ambient lights and fixed copy. */
.hero[data-hero-motion] .hero-shade{z-index:-1}
.hero-atmosphere{position:absolute;inset:0;overflow:hidden;z-index:-2;pointer-events:none;contain:paint}
.hero-stage-glow{position:absolute;inset:-8%;background:radial-gradient(ellipse at 76% 9%,#ffad533b,transparent 38%),radial-gradient(ellipse at 36% 3%,#38c4f53b,transparent 40%);opacity:.8}
.hero-light{position:absolute;top:-20%;height:135%;width:34%;transform-origin:50% 0;opacity:.16;mix-blend-mode:screen;clip-path:polygon(43% 0,57% 0,100% 100%,0 100%)}
.hero-light-cyan{left:32%;background:linear-gradient(180deg,#78e8ffba,transparent 85%);transform:rotate(13deg)}
.hero-light-amber{left:63%;background:linear-gradient(180deg,#ffc982b0,transparent 80%);transform:rotate(-15deg)}
.hero-dust{position:absolute;inset:0}
.hero-dust i{position:absolute;width:3px;height:3px;border-radius:50%;background:#ffe2bc;opacity:0;left:var(--x);top:var(--y);box-shadow:0 0 9px 2px #ffe2bc28}
.hero-dust i:nth-child(even){background:#a6eaff;width:2px;height:2px}
/* The pictures move behind fixed, readable copy. */
.hero-slides{position:absolute;inset:0;z-index:-3;overflow:hidden}
.hero-slide-track{display:flex;position:absolute;inset:0;width:100%;height:100%;transition:transform 1.1s cubic-bezier(.65,0,.25,1)}
.hero-slide{position:relative;flex:0 0 100%;width:100%;height:100%;overflow:hidden;isolation:isolate}
.hero .hero-slide .hero-photo{z-index:0;object-fit:cover}
.hero .hero-slide .hero-photo-crowd{object-position:58% 42%}
.hero.hero-slide-reduced .hero-slide-track{transition:none!important}
.hero-controls{position:absolute;top:auto;right:auto;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:0;padding:1px;border:1px solid #ffffff35;border-radius:30px;background:#0c131b66;color:#fff;backdrop-filter:blur(8px)}
.hero-controls[hidden],.hero-slide-buttons[hidden]{display:none}
.hero-slide-buttons{display:flex;align-items:center;gap:0}
.hero-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:12px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.hero-controls button:hover{background:#ffffff20}
.hero-controls button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.hero-controls svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-controls .hero-motion-toggle svg{fill:currentColor;stroke:none;width:16px;height:16px}
.hero-slide-count{font:500 11px/1.4 var(--body);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:42px;text-align:center}
.hero-motion-toggle .hero-pause-symbol{display:none}
.hero-motion-playing .hero-motion-toggle .hero-pause-symbol{display:block}
.hero-motion-playing .hero-motion-toggle .hero-play-symbol{display:none}
/* Scope the override to this controller so the existing global motion switch can pause it. */
.hero.hero-motion-ready .hero-photo{transform-origin:55% 40%;animation:kc-hero-camera 22s ease-in-out infinite alternate!important;will-change:transform}
.hero.hero-motion-ready .hero-stage-glow{animation:kc-hero-glow 12s ease-in-out infinite alternate!important}
.hero.hero-motion-ready .hero-light-cyan{animation:kc-hero-cyan 16s ease-in-out infinite alternate!important}
.hero.hero-motion-ready .hero-light-amber{animation:kc-hero-amber 19s ease-in-out infinite alternate!important}
.hero.hero-motion-ready .hero-dust i{animation:kc-hero-dust var(--time,12s) linear var(--delay,0s) infinite!important}
.hero.hero-motion-ready.hero-motion-paused .hero-photo,.hero.hero-motion-ready.hero-motion-paused .hero-atmosphere *{animation-play-state:paused!important}
.hero.hero-motion-ready.hero-motion-paused .hero-photo{will-change:auto}
@keyframes kc-hero-camera{from{transform:scale(1.025) translate3d(.3%,0,0)}to{transform:scale(1.085) translate3d(-.65%,-.35%,0)}}
@keyframes kc-hero-glow{from{opacity:.48;transform:translate3d(-1%,0,0)}to{opacity:.95;transform:translate3d(2%,1%,0)}}
@keyframes kc-hero-cyan{from{transform:rotate(13deg);opacity:.09}to{transform:rotate(-9deg);opacity:.2}}
@keyframes kc-hero-amber{from{transform:rotate(-15deg);opacity:.18}to{transform:rotate(7deg);opacity:.08}}
@keyframes kc-hero-dust{0%{opacity:0;transform:translate3d(0,18px,0)}20%{opacity:.55}75%{opacity:.35}100%{opacity:0;transform:translate3d(18px,-90px,0)}}
.hero[data-hero-motion] .hero-bottom>span{max-width:calc(50% - 110px)}
@media(max-width:780px){.hero-controls{max-width:calc(100% - 32px)}.hero[data-hero-motion] .hero-bottom{bottom:70px;left:24px;right:24px;justify-content:center;text-align:center;font-size:10px;line-height:1.5}.hero[data-hero-motion] .hero-bottom>span{max-width:100%}.hero[data-hero-motion] .hero-release{bottom:105px;left:24px;right:24px;max-width:440px;min-width:0}.hero[data-hero-motion] .hero-release>div{min-width:0}.hero[data-hero-motion] .hero-release strong{font-size:clamp(16px,5vw,22px);overflow-wrap:anywhere}.hero[data-hero-motion] .hero-copy.hero-purpose{padding-bottom:235px}.hero .hero-slide .hero-photo-crowd{object-position:58% top}.hero.hero-motion-ready .hero-photo{transform-origin:64% 25%;animation-duration:28s!important}.hero-light{width:48%;opacity:.12}.hero-light-cyan{left:16%}.hero-light-amber{left:55%}.hero-dust i:nth-child(n+4){display:none}}
@media(prefers-reduced-motion:reduce){.hero:not(.hero-motion-ready) .hero-atmosphere{display:none}}

/* A soft shadow supports the existing hero copy without changing the layout. */
.hero-copy.hero-purpose{text-shadow:0 2px 4px rgba(0,0,0,.8),0 5px 16px rgba(0,0,0,.5)}
.hero-copy.hero-purpose h1{text-shadow:0 3px 6px rgba(0,0,0,.65),0 8px 24px rgba(0,0,0,.4)}
.hero-copy.hero-purpose .hero-buttons .button{text-shadow:none;box-shadow:0 4px 14px rgba(0,0,0,.35)}
