/* v12 crystal figure: a glass man cut out of black, laid over the old live 3D backdrop (its prisms hidden by cf.js).
   Back to front: 3D backdrop, ghost PRISMA word, figure, text. On scroll each layer moves at its own speed. */
.cf{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.cf+.st-in{z-index:1}
/* the stills under the live scenes still show the prisms: keep them out */
.s-hero .p3d-fb{visibility:hidden}
/* and the orange fire-ring glow (fx10) is gone from the hero: the figure carries the light now */
#hero .fg10{display:none}
.cf-w{position:absolute;width:var(--w);aspect-ratio:1600/893;left:var(--l);top:var(--t);will-change:transform;transform-origin:50% 70%}
.cf-i{position:absolute;inset:0;opacity:0;-webkit-mask:var(--fm,linear-gradient(to top,transparent 0,#000 12%));mask:var(--fm,linear-gradient(to top,transparent 0,#000 12%))}
.cf-i img{position:absolute;inset:0;width:100%;height:100%;display:block}
/* one soft light pass across the facets on entrance */
.cf-sh{position:absolute;inset:0;mix-blend-mode:screen;opacity:0;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.28) 50%,transparent 60%) no-repeat;background-size:300% 100%;background-position:120% 0;
  -webkit-mask:var(--im) center/100% 100% no-repeat;mask:var(--im) center/100% 100% no-repeat}
/* a few small glints on the brightest facets */
.cf-g{--s:clamp(14px,1.6vw,30px);position:absolute;left:var(--x);top:var(--y);width:var(--s);aspect-ratio:1;margin:calc(var(--s)/-2) 0 0 calc(var(--s)/-2);opacity:0;mix-blend-mode:screen;
  background:radial-gradient(closest-side,rgba(255,255,255,.9) 0,rgba(255,255,255,.35) 14%,transparent 36%),linear-gradient(90deg,transparent 0,rgba(255,255,255,.7) 50%,transparent 100%) center/100% 1.5px no-repeat,linear-gradient(0deg,transparent 0,rgba(255,255,255,.7) 50%,transparent 100%) center/1.5px 100% no-repeat}
/* the big PRISMA behind the figure */
.cf-gw{position:absolute;left:0;right:0;top:var(--gt,12vh);text-align:center;font-family:var(--disp);font-stretch:75%;font-variation-settings:'wdth' 75;font-weight:800;text-transform:uppercase;
  font-size:var(--gs,31vw);line-height:.8;letter-spacing:-.02em;color:transparent;-webkit-text-stroke:1.5px rgba(233,236,239,.16);white-space:nowrap;will-change:transform}
.cf-gw span{display:inline-block;opacity:0}
/* hero: a faint light in the backdrop that trails the pointer (cf.js moves --mx/--my) */
.cf-lt{position:absolute;inset:0;background:radial-gradient(circle min(46vw,640px) at var(--mx,70%) var(--my,45%),rgba(233,236,239,.07),rgba(251,86,7,.025) 45%,transparent 72%)}
@media (hover:none),(pointer:coarse){.cf-lt{display:none}}

/* hero: figure in the upper right, clear of the headline block */
/* flipped render: the hand reaches to the right edge, the cut shoulder on the left fades out */
.s-hero{--w:min(152vh,102vw);--l:calc(99vw - var(--w)*.95);--t:calc(100vh - var(--w)*.558 + 1vh);--im:url(/media/v12/cf-hero.webp);
  --fm:linear-gradient(to top,transparent 0,#000 12%),linear-gradient(to right,transparent 0,#000 9%)}
.s-hero .cf-i{-webkit-mask-composite:source-in;mask-composite:intersect}
.s-hero .cf-w{perspective:1800px}
.s-hero .hx6-t{position:relative;will-change:translate}
/* the figure now runs behind the headline: a light shade on the left keeps the type readable */
.s-hero .cf-b::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(33,37,41,.5) 0,rgba(33,37,41,.28) 38%,transparent 60%)}
/* split: no 3D here any more, one big figure in the middle looking up, behind the text */
.s-split .cf-b{background:var(--sbg)}
.s-split{--w:min(158vh,116vw);--l:calc(50vw - var(--w)*.443);--t:calc(100vh - var(--w)*.558 + 4vh);--im:url(/media/v12/cf-up.webp)}
@media (max-width:699px){
  .s-hero{--w:140vw;--l:calc(99vw - var(--w)*.95);--t:calc(var(--hdh,64px) + 5vh);--im:url(/media/v12/cf-hero-m.webp)}
  .s-split{--w:205vw;--l:calc(50vw - var(--w)*.443);--t:calc(100vh - var(--w)*.558 + 2vh);--im:url(/media/v12/cf-up-m.webp)}
  .cf-gw{--gs:44vw;--gt:calc(var(--hdh,64px) + 3vh)}
}

/* text layers: the split's headline and list ride --py (scroll) plus --ay (entrance) */
@property --ay{syntax:'<length>';inherits:false;initial-value:0px}
.s-split .sp6-k,.s-split .sp6-w{translate:0 calc(var(--py,0px) + var(--ay));will-change:translate}

/* entrance: the figure condenses out of a soft blur, bottom up, then one light pass and the glints wake */
.cf-go .cf-i{animation:cf-in 1.6s cubic-bezier(.16,1,.3,1) both}
.cf-go .cf-sh{animation:cf-sh 1.6s cubic-bezier(.45,0,.2,1) .7s both}
.cf-go .cf-g{animation:cf-tw var(--p,6.5s) ease-in-out calc(1.4s + var(--d,0s)) infinite}
.cf-go .cf-gw span{animation:cf-gw 1.3s cubic-bezier(.16,1,.3,1) calc(.15s + var(--k,0)*.06s) both}
/* the type comes in after the figure: each line pulls out of a blur, rising, one after the other */
.cf-go .hx6-kw,.cf-go .hx6-h .kl,.cf-go .hx6-sub,.cf-go .ctas6,.cf-go .hx6-meta{animation:cf-tx 1.25s cubic-bezier(.16,1,.3,1) var(--td,.3s) both}
.s-hero .hx6-kw{--td:.25s}.s-hero .kl:nth-child(2){--td:.37s}.s-hero .kl:nth-child(3){--td:.49s}.s-hero .hx6-sub{--td:.66s}.s-hero .ctas6{--td:.78s}.s-hero .hx6-meta{--td:.95s}
.cf-go .sp6-k,.cf-go .sp6-w{animation:cf-tv 1.25s cubic-bezier(.16,1,.3,1) var(--td,.3s) both}
.s-split .sp6-w{--td:.5s}
@keyframes cf-tx{0%{opacity:0;translate:0 56px;scale:.97;filter:blur(14px)}60%{filter:blur(0)}100%{opacity:1;translate:0 0;scale:1;filter:none}}
@keyframes cf-tv{0%{opacity:0;--ay:70px;scale:.97;filter:blur(14px)}60%{filter:blur(0)}100%{opacity:1;--ay:0px;scale:1;filter:none}}
@keyframes cf-in{
  0%{opacity:0;transform:translate3d(0,12%,0) scale(1.08);filter:blur(18px) brightness(1.35);clip-path:inset(100% -10% -10% -10%)}
  35%{opacity:1}
  100%{opacity:1;transform:none;filter:none;clip-path:inset(-10% -10% -10% -10%)}}
@keyframes cf-sh{0%{opacity:1;background-position:120% 0}100%{opacity:0;background-position:-20% 0}}
@keyframes cf-tw{0%,70%,100%{opacity:0;transform:scale(.3) rotate(0)}80%{opacity:.7;transform:scale(1) rotate(45deg)}90%{opacity:0;transform:scale(.5) rotate(90deg)}}
@keyframes cf-gw{0%{opacity:0;transform:translate3d(0,45%,0) scaleY(1.4)}100%{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .cf-i,.cf-gw span{opacity:1!important;animation:none!important}
  .cf-sh,.cf-g,.cf-lt{display:none}
  .cf-go .hx6-kw,.cf-go .hx6-h .kl,.cf-go .hx6-sub,.cf-go .ctas6,.cf-go .hx6-meta,.cf-go .sp6-k,.cf-go .sp6-w{animation:none}
}
