.cur-ring, .cur-lab { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; }
.cur-ring { mix-blend-mode: difference; transition: opacity .3s; }
.cur-ring::before {
  content: ''; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid #f7f4f1; transition: scale .4s var(--spring), background .25s, opacity .25s;
}
html.cur-on .cur-ring { opacity: 1; }
.cur-ring.is-link::before { scale: 1.75; background: rgba(247, 244, 241, .18); }
html.cur-down .cur-ring::before { scale: .72; }
html.cur-lab-on .cur-ring::before { scale: .3; opacity: 0; }
.cur-lab {
  margin: -24px 0 0 -24px; min-width: 48px; height: 48px; padding: 0 18px; border-radius: 99px;
  display: grid; place-items: center; white-space: nowrap;
  background: var(--offwhite); color: var(--black); font-weight: 800; font-size: 15px; line-height: 1;
  scale: .2; transform-origin: 24px 24px; transition: scale .42s var(--spring), opacity .18s, background .25s;
}
.cur-lab.is-red { background: var(--red); }
.cur-ico { display: none; position: relative; flex: none; width: 16px; height: 25px; margin-right: 10px; border: 2px solid currentColor; border-radius: 9px; }
.cur-ico::after {
  content: ''; position: absolute; left: 50%; top: 4px; width: 2.5px; height: 6px; margin-left: -1.25px; border-radius: 2px; background: var(--red);
  animation: cur-wheel 1.5s var(--ease-out) infinite;
}
.cur-lab.has-scroll { display: inline-flex; align-items: center; padding: 0 20px 0 15px; }
.cur-lab.has-scroll .cur-ico { display: block; }
@keyframes cur-wheel { 0% { transform: translateY(-2px); opacity: 0; } 22% { opacity: 1; } 70%, 100% { transform: translateY(8px); opacity: 0; } }
html.cur-on.cur-lab-on .cur-lab { opacity: 1; scale: 1; }
html.cur-on.cur-lab-on.cur-down .cur-lab { scale: .88; }
html.cur-on [data-cur]:not([data-cur=""]), html.cur-on [data-cur]:not([data-cur=""]) *:not([data-cur=""], [data-cur=""] *) { cursor: none; }
html.lock .cur-ring, html.lock .cur-lab { z-index: 300; }
.snd { position: relative; display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.snd i { width: 2.5px; height: 16px; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; scale: 1 .45; opacity: .55; transition: scale .3s, opacity .3s; }
.snd i:nth-child(2) { scale: 1 .9; }
.snd i:nth-child(3) { scale: 1 .6; }
.snd i:nth-child(4) { scale: 1 1; }
.snd::after {
  content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; border-radius: 2px; background: currentColor;
  transform: rotate(-38deg); transition: scale .3s var(--ease-out); transform-origin: 50% 50%;
}
[aria-pressed="true"] > .snd::after { scale: 0 1; }
[aria-pressed="true"] > .snd i { opacity: 1; }
[aria-pressed="true"] > .snd i { animation: snd .7s ease-in-out infinite alternate; }
[aria-pressed="true"] > .snd i:nth-child(2) { animation-delay: -.45s; animation-duration: .55s; }
[aria-pressed="true"] > .snd i:nth-child(3) { animation-delay: -.2s; animation-duration: .8s; }
[aria-pressed="true"] > .snd i:nth-child(4) { animation-delay: -.6s; animation-duration: .62s; }
@keyframes snd { from { scale: 1 .25; } to { scale: 1 1; } }
html.reduced [aria-pressed="true"] > .snd i { animation: none; scale: 1 .7; }
.hd__snd {
  display: none; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(247, 244, 241, .12); color: var(--offwhite);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .3s, color .3s, scale .45s var(--spring);
}
.hd__snd:active { scale: .9; }
@media (min-width: 900px) { .hd__snd { display: inline-grid; } }
.hd.on-light .hd__snd, html.menu-open .hd__snd, html.menu-open .hd.on-red .hd__snd { background: var(--black); color: var(--offwhite); }
.hd.on-red .hd__snd { background: rgba(5, 5, 5, .14); color: var(--black); }
.menu__snd {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 14px;
  border-radius: 99px; background: var(--black); color: var(--offwhite); font-weight: 700; font-size: var(--t-min);
}
@media (min-width: 900px) { .menu__snd { display: none; } }
