/* CLOSING CALL TO ACTION — light spills from under a dark bar onto the grid floor; the headline stands in it. Prefix ct- */
.ct{overflow:clip;
  --w:min(1320px,100vw - 80px);            /* content width of .wrap */
  --g:calc((100vw - var(--w)) / 2);        /* gutter from the viewport edge to the content */
  --top:84px;--bh:96px;                    /* where the bar hangs, and how tall it is */
  --bl:calc(var(--w) * .44);               /* bar's left end, from the content edge */
  --hs:clamp(44px,6.6vw,96px);--hl:1.06;   /* headline size and line height */
  --x0:calc(var(--g) + var(--bl));         /* the same, from the viewport edge */
  --cell:clamp(110px,12.1vw,183px)}        /* the hero's floor grid */
/* line one of the headline stands in the dark beside the bar; line two falls below the seam, into the light */
.ct-stage{position:relative;padding-top:calc(var(--top) + var(--bh) - var(--hs) * var(--hl))}
.js .ct-stage[data-lit]:not(.on){opacity:1;filter:none}   /* this stage switches its own lights on */

/* ── the light ── */
.ct-wash{position:absolute;z-index:0;top:calc(var(--top) + var(--bh));left:calc(var(--g) * -1);width:100vw;bottom:calc(var(--sec) * -1);overflow:hidden;pointer-events:none}
/* faint guide lines of the room, there before the light comes on */
.ct-wash::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(90deg,oklch(1 0 0 / .075) 1px,transparent 1px),linear-gradient(180deg,oklch(1 0 0 / .075) 1px,transparent 1px);
  background-size:var(--cell) var(--cell);background-position:calc(var(--x0) + var(--cell) * .5) -1px;
  mask-image:radial-gradient(ellipse 75% 80% at 60% 20%,#000 0%,rgb(0 0 0 / .5) 50%,transparent 90%)}
.ct-ignite,.ct-breathe,.ct-cone b,.ct-dust{position:absolute;inset:0}
.ct-cone{position:absolute;inset:0 -90px 0 0}   /* runs past the right edge so the blur never shows its end */
.js .ct-stage:not(.on) .ct-ignite{opacity:0}
.ct-stage.on .ct-ignite{animation:ct-ignite 1.6s linear both}
@keyframes ct-ignite{0%{opacity:0}5%{opacity:.5}9%{opacity:.1}16%{opacity:.72}21%{opacity:.36}34%{opacity:.88}100%{opacity:1}}
.ct-stage.is-live .ct-breathe{animation:ct-breathe 6.5s ease-in-out infinite alternate}
@keyframes ct-breathe{from{opacity:.78}to{opacity:1}}

.ct-cone.a{filter:blur(30px);mask-image:linear-gradient(90deg,rgb(0 0 0 / .4) 0%,rgb(0 0 0 / .55) 32%,#000 62%,#000 78%,rgb(0 0 0 / .7) 100%)}
.ct-cone.a b{clip-path:polygon(calc(var(--x0) + 34px) 0,100% 0,100% 100%,0 100%,0 calc(var(--x0) * .12));
  background:linear-gradient(180deg,rgb(var(--L) / .44) 0%,rgb(var(--L) / .31) 18%,rgb(var(--L) / .17) 44%,rgb(var(--L) / .06) 74%,transparent 100%)}
.ct-cone.b{filter:blur(16px)}
.ct-cone.b b{clip-path:polygon(calc(var(--x0) + 46px) 0,100% 0,100% 100%,calc(var(--x0) * .7) 100%);
  background:radial-gradient(ellipse 50% 66% at 66% 0%,rgb(var(--L) / .56) 0%,rgb(var(--L) / .26) 36%,rgb(var(--L) / .07) 70%,transparent 100%)}
/* the seam where the light escapes */
.ct-leak{position:absolute;top:0;left:calc(var(--x0) + 24px);right:0;height:2px;
  background:linear-gradient(90deg,transparent,rgb(var(--L)) 5%,rgb(var(--L) / .92) 62%,rgb(var(--L) / .55));
  box-shadow:0 0 14px 1px rgb(var(--L) / .9),0 0 50px 8px rgb(var(--L) / .46)}

/* the floor the light falls on (the hero's grid). Near lines are sharp; toward the far right they go out of focus */
.ct-floor{position:absolute;inset:0;mask-image:radial-gradient(ellipse 60% 96% at 68% 0%,#000 0%,rgb(0 0 0 / .46) 46%,transparent 92%)}
.ct-floor::before,.ct-floor::after{content:"";position:absolute;inset:0;
  background-image:linear-gradient(90deg,oklch(1 0 0 / .5) 1px,transparent 1px),linear-gradient(180deg,oklch(1 0 0 / .5) 1px,transparent 1px);
  background-size:var(--cell) var(--cell);background-position:calc(var(--x0) + var(--cell) * .5) -1px}
.ct-floor::before{mask-image:linear-gradient(90deg,#000 70%,transparent 90%)}
.ct-floor::after{filter:blur(1.6px);opacity:.9;mask-image:linear-gradient(90deg,transparent 70%,#000 90%)}
/* one playhead on the floor: the single flame mark */
.ct-head{position:absolute;top:0;left:calc(var(--x0) + var(--cell) * 2.5);width:1px;height:calc(var(--cell) * 1);
  background:linear-gradient(180deg,var(--flame),rgb(var(--F) / .5) 55%,transparent);
  box-shadow:0 0 8px rgb(var(--F) / .95),0 0 24px rgb(var(--F) / .5);
  mask-image:linear-gradient(180deg,#000 40%,transparent)}

/* dust in the light */
.ct-dust i{position:absolute;left:var(--x);top:var(--y);width:2px;height:2px;border-radius:50%;background:rgb(var(--L));box-shadow:0 0 5px rgb(var(--L) / .9);opacity:0;
  animation:ct-mote var(--d) linear var(--t) infinite;animation-play-state:paused}
.ct-stage.is-live .ct-dust i{animation-play-state:running}
@keyframes ct-mote{0%{opacity:0;translate:0 0}14%{opacity:.85}45%{opacity:.3}72%{opacity:.75}100%{opacity:0;translate:34px 70px}}

/* ── the bar: dark glass, lit from underneath, with him standing out of it ── */
.ct-bar{position:absolute;z-index:2;top:var(--top);left:var(--bl);right:calc(var(--g) * -1);height:var(--bh);display:flex;align-items:center;gap:22px;padding-right:var(--g);border-radius:30px 0 0 30px;
  background:linear-gradient(180deg,oklch(1 0 0 / .14) 0%,oklch(1 0 0 / .065) 46%,oklch(1 0 0 / .04) 100%),var(--void);
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .26),inset 1px 0 0 oklch(1 0 0 / .1),0 -34px 70px -44px #000}
.ct-bar::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .6s var(--ease-out);
  background:radial-gradient(22em circle at var(--mx,30%) var(--my,0%),rgb(var(--L) / .12),rgb(var(--L) / .03) 42%,transparent 64%)}
.ct-bar:is(:hover,.is-hover)::before{opacity:1}
.ct-bar::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 -1px 0 rgb(var(--L) / .6),inset 0 -30px 34px -24px rgb(var(--L) / .3);
  mask-image:linear-gradient(90deg,transparent 14px,#000 70px);transition:opacity 1.2s var(--ease-out) .25s}
.js .ct-stage:not(.on) .ct-bar::after{opacity:0}

.ct-pic{position:relative;align-self:stretch;flex:none;width:206px;clip-path:inset(-140px -30px 0 0 round 0 0 0 30px)}
.ct-pic::before{content:"";position:absolute;left:52%;bottom:30%;width:210px;height:210px;translate:-50% 0;border-radius:50%;
  background:radial-gradient(closest-side,rgb(var(--L) / .24),rgb(var(--L) / .07) 55%,transparent);opacity:.8;transition:opacity .6s var(--ease-out)}
.ct-bar:is(:hover,.is-hover) .ct-pic::before{opacity:1}
.ct-pic img{position:absolute;left:14px;bottom:0;height:188px;width:auto;max-width:none;transform-origin:50% 100%;
  filter:contrast(1.08) brightness(1.08) drop-shadow(0 0 18px rgb(0 0 0 / .6));
  mask-image:linear-gradient(to bottom,#000 70%,transparent 100%);transition:scale .9s var(--ease-out)}
.ct-bar:is(:hover,.is-hover) .ct-pic img{scale:1.035}
.ct-me{position:relative;font-size:20px;line-height:26px;font-weight:500;letter-spacing:-.02em;color:var(--text);text-shadow:0 0 28px rgb(var(--L) / .25);white-space:nowrap}
.ct-len{position:relative;margin-left:auto;display:inline-flex;align-items:center;gap:11px;font-size:14px;line-height:20px;color:var(--dim);white-space:nowrap}
.ct-live{width:7px;height:7px;border-radius:50%;background:var(--flame);box-shadow:0 0 6px rgb(var(--F) / .95),0 0 18px rgb(var(--F) / .6),0 0 0 3px rgb(var(--F) / .14)}
.ct-stage.is-live .ct-live{animation:ct-live 2.4s var(--ease-io) infinite alternate}
@keyframes ct-live{from{opacity:.55}to{opacity:1}}

/* ── the words ── */
.ct-text{position:relative;z-index:1}
.ct-h{font-size:var(--hs);line-height:var(--hl);letter-spacing:-.04em}
.ct-h .l1{color:var(--unlit)}
.ct-h .l2{color:var(--text);text-shadow:0 0 .7em rgb(var(--L) / .4),0 .05em .4em rgb(0 0 0 / .3);transition:color 1.4s var(--ease-out) .35s,text-shadow 1.8s var(--ease-out) .35s}
.js .ct-stage:not(.on) .ct-h .l2{color:var(--unlit);text-shadow:none}
.ct-text .lead{margin-top:30px;max-width:40ch;color:var(--text);opacity:.8}
.ct-text>:not(.ct-h){transition:opacity 1.2s var(--ease-out) .5s}
.js .ct-stage:not(.on) .ct-text>:not(.ct-h){opacity:.3}
@media (max-width:1180px){.ct-len{display:none}}
.ct-small{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:30px;font-size:14px;line-height:20px;color:var(--dim)}
.ct-small a{padding:6px 0;transition:color .3s var(--ease-out),text-shadow .4s var(--ease-out)}
.ct-small a:is(:hover,.is-hover){color:var(--text);text-shadow:0 0 18px rgb(var(--L) / .55)}
.ct-small a:active{opacity:.7}
.ct .chip{height:52px;padding:0 24px;font-size:16px}
.ct .chip:is(:hover,.is-hover){box-shadow:inset 0 1px 0 oklch(1 0 0 / .4),inset 0 0 0 1px oklch(1 0 0 / .22),0 0 26px -6px rgb(var(--L) / .4),0 10px 24px -12px #000}

@media (max-width:960px){
  .ct{--w:calc(100vw - 40px);--top:74px;--bh:76px;--bl:0px;--cell:clamp(110px,31vw,150px)}
  .ct-stage{padding-top:calc(var(--top) + var(--bh) + 64px)}
  .ct-bar{gap:12px;border-radius:24px 0 0 24px}
  .ct-pic{width:148px;clip-path:inset(-120px -20px 0 0 round 0 0 0 24px)}
  .ct-pic::before{width:160px;height:160px}
  .ct-pic img{left:8px;height:140px}
  .ct-me{font-size:16px;line-height:22px}
  .ct-len{display:none}
  .ct-cone.a{filter:blur(24px)}
  .ct-head{left:calc(var(--x0) + var(--cell) * 2.5)}
  .ct-text .lead{margin-top:22px}
  .ct-h .l1{color:var(--text)}   /* no dark corner on a phone: both lines stand in the light */
  .ct-floor{opacity:.5}
  .ct-floor::before{mask-image:none}
  .ct-floor::after{display:none}
  .ct-cone.b b{background:radial-gradient(ellipse 90% 56% at 66% 0%,rgb(var(--L) / .4) 0%,rgb(var(--L) / .18) 40%,rgb(var(--L) / .05) 74%,transparent 100%)}
  .ct-text .ctas{gap:12px}
  .ct .btn{padding:0 20px}
  .ct .chip{padding:0 20px}
}
@media (prefers-reduced-motion:reduce){
  .ct-stage.on .ct-ignite,.ct-stage.is-live .ct-breathe,.ct-stage.is-live .ct-live{animation:none}
  .js .ct-stage:not(.on) .ct-ignite,.js .ct-stage:not(.on) .ct-bar::after,.js .ct-stage:not(.on) .ct-text>:not(.ct-h){opacity:1}
  .js .ct-stage:not(.on) .ct-h .l2{color:var(--text)}
  .ct-dust i{animation:none;opacity:.5}
}
