/* From Uiverse.io by Sourcesketch - https://uiverse.io/Sourcesketch/strange-catfish-68
MIT License, Copyright (c) Sourcesketch */
@property --nn-loader-aperture {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.nn-loader-active {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.nn-loader-active:not(.nn-loader-revealing) #home,
.nn-loader-active:not(.nn-loader-revealing) #home *,
.nn-loader-active:not(.nn-loader-revealing) #home *::before,
.nn-loader-active:not(.nn-loader-revealing) #home *::after {
  animation-play-state: paused !important;
}

#home .hero-prefix-letter-pop > span,
#home .results-letter-pop > span {
  animation: none !important;
  opacity: 1;
  filter: none;
  transform: none;
}

.nn-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  will-change: opacity, transform, clip-path;
  --nn-loader-aperture: 0px;
}

.nn-loader::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #FFFFFF;
  content: "";
  opacity: 1;
  transform: scale(1);
  -webkit-mask-image: radial-gradient(circle at center, transparent var(--nn-loader-aperture), #000 calc(var(--nn-loader-aperture) + 1px));
  mask-image: radial-gradient(circle at center, transparent var(--nn-loader-aperture), #000 calc(var(--nn-loader-aperture) + 1px));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 780ms cubic-bezier(.22, 1, .36, 1), transform 1100ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.nn-loader.is-entered::before {
  opacity: 1;
  transform: scale(1);
}

.nn-loader__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 520px);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 20px);
  padding: 20px;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 18px, 0) scale(.88);
  transition: opacity 900ms cubic-bezier(.22, 1, .36, 1), filter 1050ms cubic-bezier(.22, 1, .36, 1), transform 1050ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, filter, transform;
}

.nn-loader.is-entered .nn-loader__content {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.sc-loader-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
}

.sc-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) scale(.38);
  transform-origin: center center;
}

.sc-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  filter: url("#sc-catfish-goo");
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.nn-loader.is-goo-active .sc-container {
  animation: sc-rotate-move 2s ease-in-out infinite;
}

.sc-dot {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  right: 0;
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  will-change: transform;
}

.sc-dot-1 {
  background-color: #595050;
}

.sc-dot-2 {
  background-color: #1c1c1c;
}

.sc-dot-3 {
  background-color: #5c5c5c;
}

.nn-loader.is-goo-active .sc-dot-1 {
  animation: sc-dot-1-move 2s ease infinite, sc-index 6s -2s ease infinite;
}

.nn-loader.is-goo-active .sc-dot-2 {
  animation: sc-dot-2-move 2s ease infinite, sc-index 6s -4s ease infinite;
}

.nn-loader.is-goo-active .sc-dot-3 {
  animation: sc-dot-3-move 2s ease infinite, sc-index 6s ease infinite;
}

.sc-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nn-loader__brand {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: #252525;
  font-family: var(--font-main, Inter, sans-serif);
  font-size: clamp(1.35rem, 4.2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
  white-space: nowrap;
  font-variant-ligatures: none;
}

.nn-loader__brand > span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 4px, 0);
}

.nn-loader.is-entered .nn-loader__brand {
  animation: nn-loader-brand-space 1250ms cubic-bezier(.22, 1, .36, 1) both;
}

.nn-loader.is-entered .nn-loader__brand > span {
  animation: nn-loader-letter-in 520ms cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(160ms + var(--nn-letter-index, 0) * 44ms);
}

.nn-loader__brand > span:nth-child(1) { --nn-letter-index: 0; }
.nn-loader__brand > span:nth-child(2) { --nn-letter-index: 1; }
.nn-loader__brand > span:nth-child(3) { --nn-letter-index: 2; }
.nn-loader__brand > span:nth-child(4) { --nn-letter-index: 3; }
.nn-loader__brand > span:nth-child(5) { --nn-letter-index: 4; }
.nn-loader__brand > span:nth-child(6) { --nn-letter-index: 5; }
.nn-loader__brand > span:nth-child(7) { --nn-letter-index: 6; }
.nn-loader__brand > span:nth-child(8) { --nn-letter-index: 7; }
.nn-loader__brand > span:nth-child(9) { --nn-letter-index: 8; }
.nn-loader__brand > span:nth-child(10) { --nn-letter-index: 9; }
.nn-loader__brand > span:nth-child(11) { --nn-letter-index: 10; }
.nn-loader__brand > span:nth-child(12) { --nn-letter-index: 11; }
.nn-loader__brand > span:nth-child(13) { --nn-letter-index: 12; }

.nn-loader__brand .nn-loader__dot {
  margin-right: .02em;
  color: #000;
}

.nn-loader.is-exiting {
  animation: none;
}

.nn-loader.is-exiting::before {
  animation: nn-loader-aperture 1450ms cubic-bezier(.16, 1, .3, 1) forwards, nn-loader-aperture-fade 1450ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.nn-loader.is-exiting .nn-loader__content {
  animation: none;
}

.nn-loader.is-content-exiting .nn-loader__content {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, -14px, 0) scale(.97);
  transition: opacity 520ms cubic-bezier(.22, 1, .36, 1), filter 520ms cubic-bezier(.22, 1, .36, 1), transform 620ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

#home .btn-cv-wave.flow-download {
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(21, 43, 77, .13), 0 2px 7px rgba(21, 43, 77, .07) !important;
}

#home .hero-subtitle-card {
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(32, 50, 75, .12), 0 3px 9px rgba(32, 50, 75, .06) !important;
}

body.light-mode .floating-nav {
  border: 0 !important;
  box-shadow: 0 14px 34px rgba(32, 50, 75, .13), 0 3px 9px rgba(32, 50, 75, .06) !important;
}

body.light-mode .menu-burger {
  border: 0 !important;
  box-shadow: 0 10px 26px rgba(32, 50, 75, .14), 0 2px 8px rgba(32, 50, 75, .07) !important;
}

@keyframes nn-loader-aperture {
  from { --nn-loader-aperture: 0px; }
  to { --nn-loader-aperture: 150vmax; }
}

@keyframes nn-loader-aperture-fade {
  0%, 45% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes nn-loader-letter-in {
  0% { opacity: 0; filter: blur(4px); transform: translate3d(0, 4px, 0); }
  70% { opacity: 1; filter: blur(0); transform: translate3d(0, -1px, 0); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0); }
}

@keyframes nn-loader-brand-space {
  from { letter-spacing: -.005em; }
  to { letter-spacing: -.04em; }
}

@keyframes sc-dot-1-move {
  20% { transform: scale(1); }
  45% { transform: translate(16px, 12px) scale(.45); }
  60%, 80% { transform: translate(80px, 60px) scale(.45); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes sc-dot-2-move {
  20% { transform: scale(1); }
  45% { transform: translate(-16px, 12px) scale(.45); }
  60%, 80% { transform: translate(-80px, 60px) scale(.45); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes sc-dot-3-move {
  20% { transform: scale(1); }
  45% { transform: translateY(-18px) scale(.45); }
  60%, 80% { transform: translateY(-90px) scale(.45); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes sc-rotate-move {
  55% { transform: translate(-50%, -50%) rotate(0deg); }
  80% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sc-index {
  0%, 100% { z-index: 3; }
  33.3% { z-index: 2; }
  66.6% { z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .nn-loader,
  .sc-container,
  .sc-dot,
  .nn-loader__brand,
  .nn-loader__brand > span {
    animation: none !important;
  }

  .sc-container { filter: none; }
  .sc-dot { opacity: 1; transform: none; }
  .sc-dot-1 { transform: translate(55px, 42px); }
  .sc-dot-2 { transform: translate(-55px, 42px); }
  .sc-dot-3 { transform: translateY(-68px); }

  .nn-loader__content {
    opacity: 1;
    filter: none;
    transform: none;
    transition-duration: 1ms;
  }

  .nn-loader::before {
    opacity: 1;
    transform: none;
    transition-duration: 1ms;
  }

  .nn-loader__brand > span {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .nn-loader.is-exiting {
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: opacity 1ms, clip-path 1ms;
  }

  .nn-loader.is-content-exiting .nn-loader__content {
    opacity: 0;
    filter: none;
    transform: none;
    transition-duration: 1ms;
  }

  .nn-loader.is-exiting::before { animation-duration: 1ms; }
  .nn-loader-active #home,
  .nn-loader-active #home *,
  .nn-loader-active #home *::before,
  .nn-loader-active #home *::after {
    animation-play-state: paused !important;
  }
}

@media (max-width: 420px) {
  .nn-loader__content { gap: 11px; padding: 16px; }
  .sc-loader-wrap { width: 64px; height: 64px; flex-basis: 64px; }
  .sc-stage { transform: translate(-50%, -50%) scale(.32); }
  .nn-loader__brand { font-size: clamp(1.2rem, 6vw, 1.45rem); }
}
