.csh,.csh *{box-sizing:border-box}
.csh{--csh-accent:#ffc857;--csh-speed:1100ms;--csh-delay:6500ms;--p:0;position:relative;width:100%;height:720px;overflow:hidden;isolation:isolate;background:#0b0d14;color:#fff}
.csh-slides{position:absolute;inset:0}
.csh-slide{position:absolute;inset:0;opacity:0;visibility:hidden;z-index:0;transition:opacity var(--csh-speed) ease,transform var(--csh-speed) cubic-bezier(.65,0,.35,1),visibility 0s linear var(--csh-speed)}
.csh-slide.is-active{opacity:1;visibility:visible;z-index:2;transition:opacity var(--csh-speed) ease,transform var(--csh-speed) cubic-bezier(.65,0,.35,1),visibility 0s}
.csh-slide.is-leaving{opacity:0;visibility:visible;z-index:1;transition:opacity var(--csh-speed) ease,transform var(--csh-speed) cubic-bezier(.65,0,.35,1),visibility 0s}
.csh-bg,.csh-bg picture{position:absolute;inset:0;display:block}
.csh .csh-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.csh-ov{position:absolute;inset:0;pointer-events:none;background:rgba(8,10,18,.55)}
.csh-ov::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.45),transparent 38%)}

/* background transitions */
.csh--slide .csh-slide{transform:translateX(100%);opacity:1}
.csh--slide .csh-slide.is-active{transform:none}
.csh--slide .csh-slide.is-leaving{transform:translateX(-32%);opacity:.4}
.csh--slide[data-dir="prev"] .csh-slide.is-leaving{transform:translateX(32%)}
.csh--zoom .csh-slide{transform:scale(1.12)}
.csh--zoom .csh-slide.is-active{transform:none}
.csh--zoom .csh-slide.is-leaving{transform:scale(.96)}
.csh--kb .csh-slide.is-active .csh-img,.csh--kb .csh-slide.is-leaving .csh-img{animation:cshKb calc(var(--csh-delay) + var(--csh-speed) * 2) ease-out both}
@keyframes cshKb{from{transform:scale(1.13)}to{transform:scale(1)}}

/* content */
.csh-inner{position:relative;z-index:5;height:100%;display:flex;align-items:center;padding:90px 40px}
.csh-wrap{width:100%;max-width:1280px;margin:0 auto;display:flex;justify-content:flex-start}
.csh-content{width:100%;max-width:720px}
.csh-slide[data-align="center"] .csh-wrap{justify-content:center}
.csh-slide[data-align="right"] .csh-wrap{justify-content:flex-end}
.csh-slide[data-align="center"] .csh-content{text-align:center}
.csh-slide[data-align="right"] .csh-content{text-align:right}
.csh .csh-eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 18px;color:#ffc857;font-size:14px;font-weight:600;letter-spacing:.22em;text-transform:uppercase}
.csh .csh-eyebrow::before{content:"";width:38px;height:2px;background:var(--csh-accent);border-radius:2px;flex:none}
.csh-slide[data-align="center"] .csh-eyebrow{justify-content:center}
.csh-slide[data-align="center"] .csh-eyebrow::after{content:"";width:38px;height:2px;background:var(--csh-accent);border-radius:2px;flex:none}
.csh-slide[data-align="right"] .csh-eyebrow{justify-content:flex-end;flex-direction:row-reverse}
.csh .csh-heading{margin:0;color:#fff;font-size:clamp(34px,5.6vw,68px);font-weight:700;line-height:1.05;letter-spacing:-.01em;text-wrap:balance}
.csh .csh-desc{margin:22px 0 0;color:rgba(255,255,255,.88);font-size:19px;line-height:1.65}
.csh-slide[data-align="center"] .csh-desc{margin-left:auto;margin-right:auto}
.csh-slide[data-align="right"] .csh-desc{margin-left:auto}
.csh .csh-btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.csh-slide[data-align="center"] .csh-btns{justify-content:center}
.csh-slide[data-align="right"] .csh-btns{justify-content:flex-end}

/* per-slide text animation: starts hidden, then travels in from the chosen side */
.csh .csh-a{opacity:0;transition:none;filter:blur(8px)}
.csh-slide[data-anim="left"]{--from:translateX(-110px)}
.csh-slide[data-anim="right"]{--from:translateX(110px)}
.csh-slide[data-anim="up"]{--from:translateY(90px)}
.csh-slide[data-anim="down"]{--from:translateY(-90px)}
.csh-slide[data-anim="zoom"]{--from:scale(.88)}
.csh-slide[data-anim="fade"]{--from:none}
.csh .csh-slide .csh-a{transform:var(--from,none)}
.csh.is-ready .csh-slide.is-active .csh-a{opacity:1;filter:none;transform:none;
  transition:opacity .9s ease,transform 1.1s cubic-bezier(.22,1,.36,1),filter .9s ease;transition-delay:calc(var(--csh-speed) * .32 + var(--i,0) * 140ms)}
.csh.is-ready .csh-slide.is-leaving .csh-a{opacity:0;transform:none;filter:none;transition:opacity .45s ease;transition-delay:0s}

/* arrows: bottom right, so they never cover left or right aligned text */
.csh-arrows{position:absolute;right:40px;bottom:24px;z-index:8;display:flex;gap:10px}
.csh .csh-arrow{display:grid;place-items:center;width:56px;height:56px;padding:0;border-radius:50%;cursor:pointer;
  color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .3s,color .3s,transform .3s}
.csh .csh-arrow:hover{background:#ffc857;color:#17120d;border-color:transparent}
.csh .csh-arrow:focus-visible{outline:2px solid #ffc857;outline-offset:3px}
.csh-prev:hover{transform:translateX(-3px)}.csh-next:hover{transform:translateX(3px)}

/* dots with live progress */
.csh-dots{position:absolute;left:50%;bottom:34px;z-index:8;transform:translateX(-50%);display:flex;gap:10px}
.csh .csh-dot{position:relative;width:26px;height:5px;padding:0;border:0;border-radius:5px;overflow:hidden;cursor:pointer;background:rgba(255,255,255,.35);transition:width .5s cubic-bezier(.22,1,.36,1)}
.csh .csh-dot i{position:absolute;inset:0;background:#ffc857;border-radius:inherit;transform:scaleX(0);transform-origin:left center}
.csh .csh-dot.is-on{width:64px}
.csh .csh-dot.is-on i{transform:scaleX(var(--p))}
.csh--noauto .csh-dot.is-on i{transform:scaleX(1)}
.csh .csh-dot:focus-visible{outline:2px solid #ffc857;outline-offset:3px}
.csh-counter{position:absolute;left:40px;bottom:30px;z-index:8;display:flex;align-items:baseline;gap:8px;font-weight:600;letter-spacing:.1em;color:#fff}
.csh-counter b{font-size:26px;font-weight:700}
.csh-counter span{font-size:14px;opacity:.7}
.csh-counter span::before{content:"";display:inline-block;width:28px;height:1px;background:currentColor;vertical-align:middle;margin-right:10px}

@media (max-width:1024px){.csh-inner{padding:80px 32px}.csh-arrows{right:24px}.csh .csh-desc{font-size:17px}}
@media (max-width:767px){
  .csh-arrows{display:none}.csh--arrows-m .csh-arrows{display:flex;right:16px;bottom:20px}.csh--arrows-m .csh-arrow{width:44px;height:44px}
  .csh-inner{padding:70px 20px 90px}
  .csh .csh-eyebrow{font-size:12px;letter-spacing:.16em;margin-bottom:14px}
  .csh .csh-desc{font-size:16px;margin-top:16px}
  .csh .csh-btns{margin-top:26px;gap:10px}
  .csh .csh-btns .cs-btn{padding:14px 24px;font-size:13px}
  .csh-counter{left:20px;bottom:26px}.csh-counter b{font-size:20px}
  .csh-dots{bottom:30px}.csh .csh-dot{width:18px}.csh .csh-dot.is-on{width:42px}
}
@media (prefers-reduced-motion:reduce){
  .csh *{animation:none!important}
  .csh .csh-a,.csh.is-ready .csh-slide.is-active .csh-a{transition:opacity .2s!important;transition-delay:0s!important;filter:none!important;transform:none!important}
}
