
.btn{display:inline-block; position:relative; color:inherit;
  text-decoration:none; font-size:calc(15 * var(--kt));
  padding:0 0 calc(8 * var(--kt)); background:none; border:0; cursor:pointer;
  font-family:inherit; letter-spacing:.004em}
.btn::after{content:""; position:absolute; left:0; bottom:0; height:max(1px,calc(1.2 * var(--k)));
  width:100%; background:currentColor; opacity:.34;
  transform:scaleX(1); transform-origin:left center}
.btn::before{content:""; position:absolute; left:0; bottom:0; height:max(1.4px,calc(1.6 * var(--k)));
  width:100%; background:currentColor; transform:scaleX(0); transform-origin:left center;
  transition:transform .34s cubic-bezier(.22,.61,.36,1)}
.btn:hover::before,.btn:focus-visible::before{transform:scaleX(1)}
.btn:active{transform:translateY(.5px)}
.btn:focus-visible{outline:2px solid var(--acc); outline-offset:5px}
.btn.key::before{background:var(--acc)}

a.in{position:relative; border-bottom:0;
  background-image:linear-gradient(currentColor,currentColor),
                   linear-gradient(currentColor,currentColor);
  background-size:100% 1px, 0 1px;
  background-position:0 100%, 0 100%;
  background-repeat:no-repeat;
  transition:background-size .3s cubic-bezier(.22,.61,.36,1)}
a.in:hover,a.in:focus-visible{background-size:100% 1px, 100% 1px}

.vxo .ht{stroke-dasharray:var(--len,120); stroke-dashoffset:var(--len,120)}
.vxo path:not(.ht):not(.acc){stroke-dasharray:var(--len,420); stroke-dashoffset:var(--len,420)}
.vxo .acc{stroke-dasharray:var(--len,90); stroke-dashoffset:var(--len,90); opacity:0}
.drawn .vxo path:not(.ht):not(.acc){
  animation:vx-draw .9s cubic-bezier(.3,.7,.3,1) forwards}
.drawn .vxo .ht{animation:vx-draw .7s cubic-bezier(.3,.7,.3,1) .5s forwards}
.drawn .vxo .acc{animation:vx-draw .5s cubic-bezier(.3,.7,.3,1) 1s forwards,
                 vx-show .3s linear 1s forwards}
@keyframes vx-draw{to{stroke-dashoffset:0}}
@keyframes vx-show{to{opacity:1}}


.rise{opacity:0; transition:opacity .5s ease}
.rise.seen{opacity:1}

@media (prefers-reduced-motion:reduce){
  .btn::before,a.in,.rise{transition:none}
  .vxo path{stroke-dasharray:none !important; stroke-dashoffset:0 !important}
  .vxo .acc{opacity:1 !important}
  .drawn .vxo path{animation:none !important}
}
