/* The Kar-go intro (assistant/intro.js): about three seconds after the welcome. The ring draws, the figure rises, the name
   settles, a hello; then the page shows through. The page's <head> carries two lines that keep it covered when the intro was
   carried over from another page. */
.kg-intro{position:fixed;inset:0;z-index:420;display:grid;place-items:center;background:radial-gradient(70% 70% at 50% 44%,#111821 0%,#080a0e 62%,#05070a 100%);color:#e9eef4;font-family:var(--font,'Kar-go Sans','Helvetica Neue',Arial,sans-serif);--kgi-acc:#bbd1eb;cursor:default;transition:opacity .75s cubic-bezier(.4,0,.2,1)}
.kg-intro[data-door="da"]{--kgi-acc:#e9bb8c}
.kgi-curtain{opacity:0;transition:opacity .25s ease}
.kgi-curtain.go{opacity:1}
.kgi-stage{display:flex;flex-direction:column;align-items:center;gap:clamp(18px,3.2vmin,30px);transform-origin:50% 42%;transition:transform 1s cubic-bezier(.22,.8,.24,1)}
.kgi-mark{width:clamp(120px,24vmin,210px);height:auto;overflow:visible;filter:drop-shadow(0 0 22px color-mix(in srgb,var(--kgi-acc) 28%,transparent))}
.kgi-halo{fill:none;stroke:var(--kgi-acc);stroke-width:7;opacity:0}
.kgi-ring{fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transform:rotate(-90deg);transform-origin:50px 50px}
.kgi-fig{fill:currentColor;opacity:0;transform:translateY(5px) scale(.97);transform-origin:50px 62px}
.kgi-word{display:flex;flex-direction:column;align-items:center;gap:10px;opacity:0;filter:blur(6px)}
.kgi-word b{font-weight:400;font-size:clamp(26px,4.6vmin,40px);letter-spacing:.9em;margin-right:-.9em;line-height:1}
.kgi-word b i{font-style:normal;color:var(--kgi-acc)}
.kgi-word small{font-family:var(--mono,'SFMono-Regular',Consolas,monospace);font-size:clamp(9px,1.25vmin,11px);letter-spacing:.42em;margin-right:-.42em;color:rgba(233,238,244,.56);opacity:0}
.kgi-hello{margin:6px 0 0;font-size:clamp(15px,2vmin,19px);letter-spacing:.01em;color:rgba(233,238,244,.82);opacity:0;transform:translateY(6px)}
.kg-intro.go .kgi-ring{animation:kgi-draw 1.05s .1s cubic-bezier(.65,0,.35,1) forwards}
.kg-intro.go .kgi-halo{animation:kgi-halo 1.6s .6s ease-out forwards}
.kg-intro.go .kgi-fig{animation:kgi-rise .8s .62s cubic-bezier(.22,.8,.24,1) forwards}
.kg-intro.go .kgi-word{animation:kgi-word .9s .95s cubic-bezier(.22,.8,.24,1) forwards}
.kg-intro.go .kgi-word b{animation:kgi-track 1.05s .95s cubic-bezier(.22,.8,.24,1) forwards}
.kg-intro.go .kgi-word small{animation:kgi-fade .7s 1.3s ease forwards}
.kg-intro.go .kgi-hello{animation:kgi-hello .6s 1.5s cubic-bezier(.22,.8,.24,1) forwards}
.kg-intro.out{opacity:0;pointer-events:none}
.kg-intro.out .kgi-stage{transform:scale(1.06)}
@keyframes kgi-draw{to{stroke-dashoffset:0}}
@keyframes kgi-halo{0%{opacity:0}40%{opacity:.28}100%{opacity:.08}}
@keyframes kgi-rise{to{opacity:1;transform:none}}
@keyframes kgi-word{to{opacity:1;filter:blur(0)}}
@keyframes kgi-track{to{letter-spacing:.34em;margin-right:-.34em}}
@keyframes kgi-fade{to{opacity:1}}
@keyframes kgi-hello{to{opacity:1;transform:none}}
/* reduced motion: the finished mark, a short fade in and out */
.kg-intro.still{transition:opacity .25s ease}
.kg-intro.still .kgi-ring{stroke-dashoffset:0}
.kg-intro.still .kgi-fig,.kg-intro.still .kgi-word,.kg-intro.still .kgi-word small,.kg-intro.still .kgi-hello{opacity:1;transform:none;filter:none}
.kg-intro.still .kgi-word b{letter-spacing:.34em;margin-right:-.34em}
.kg-intro.still *{animation:none!important}
.kg-intro.still.out .kgi-stage{transform:none}
.kgi-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
