.landing {
  position: relative;
  min-height: 100vh;
}

.landing__mouse-area {
  top: 0;
  left: 50%;
  bottom: 0;
  width: 100vw;
  position: absolute;
  pointer-events: none;
  transform: translateX(-50%);
}

.landing__spacer {
  height: 87.5px;
  pointer-events: none;
}

.landing__bottom-spacer {
  height: 50px;
  pointer-events: none;
}

.landing__container {
  width: 1044px;
  height: 670px;
  margin: 36px 160px 200px 240px;
  display: flex;
  pointer-events: none;
}

.landing__title-block {
  z-index: 1;
  width: 440px;
  height: 70px;
  position: relative;
  margin-top: 260px;
}

.landing__name,
.landing__role {
  margin: 0;
}

.landing__name {
  color: #fff;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-family: var(--title-font);
}

.landing__role {
  color: var(--accent);
  font-size: 25px;
  line-height: 16px;
  letter-spacing: 0.064em;
  font-family: var(--display-font);
}

.landing__buttons {
  gap: 8px;
  width: 290px;
  display: grid;
  margin-top: 24px;
}

.landing__button {
  width: 100%;
  border: 0;
  padding: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 16px;
  pointer-events: auto;
  color: var(--text);
  background: var(--surface);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.landing__button:hover,
.landing__button:focus-visible {
  color: #e76d21;
  background: #232323;
}

.landing__button:active {
  color: #bc5a1b;
}

.landing__avatar {
  width: 600px;
  height: 600px;
  padding: 20px;
  margin-top: 0;
  border-radius: 300px;
  border: 1px solid var(--surface-border);
  background: rgba(30, 29, 29, 0.2);
}

.landing__avatar-menu {
  position: relative;
  z-index: 2;
}

.landing__avatar-frame {
  width: 556px;
  height: 556px;
  overflow: hidden;
  clip-path: circle(278px at center);
  background: var(--surface);
}

#scene-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.landing-menu-item {
  position: absolute;
  pointer-events: none;
  transform: scale(0);
  animation: landing-circle-in 0.3s forwards;
}

.landing-menu-item__holder {
  height: 50px;
  width: 50px;
  position: relative;
  pointer-events: none;
}

.landing-menu-item--1 {
  top: -45px;
  left: 160px;
  --line-width: 630px;
  animation-delay: 0.3s;
}

.landing-menu-item--2 {
  top: -13px;
  left: 90px;
  --line-width: 560px;
  animation-delay: 0.5s;
}

.landing-menu-item--3 {
  top: 36px;
  left: 30px;
  --line-width: 500px;
  animation-delay: 0.7s;
}

.landing-menu-item--4 {
  top: 96px;
  left: -16px;
  --line-width: 454px;
  animation-delay: 0.9s;
}

.landing-menu-item__line {
  top: 10px;
  left: calc(var(--line-width) * -1);
  width: var(--line-width);
  height: 16px;
  display: flex;
  position: absolute;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50px);
  transition: transform 0.3s ease;
}

.landing-menu-item.is-active .landing-menu-item__line,
.landing-menu-item:hover .landing-menu-item__line,
.landing-menu-item:focus-within .landing-menu-item__line {
  opacity: 1;
  transform: translateX(0);
}

.landing-menu-item__line-left {
  width: 70%;
  position: relative;
  border-top: 1px solid var(--accent);
}

.landing-menu-item__label {
  top: -32px;
  color: #535353;
  position: absolute;
  white-space: nowrap;
  font-size: 18px;
  line-height: 32px;
  font-family: var(--ui-font);
}

.landing-menu-item__line-right {
  width: 30%;
  border-left: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.landing-menu-item__circle {
  display: block;
  width: 50px;
  height: 50px;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 25px;
  pointer-events: auto;
  background-color: #212121;
}

.landing-menu-item__outer {
  margin: 1px;
  width: 48px;
  height: 48px;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 24px;
  background-color: var(--accent);
  pointer-events: none;
  transform: scale(1);
}

.landing-menu-item__inner {
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  margin: 20px;
  position: absolute;
  border-radius: 5px;
  background-color: var(--accent);
  animation: landing-pulse-inner 2s ease-in-out infinite;
  pointer-events: none;
}

.landing-menu-item.is-active .landing-menu-item__outer,
.landing-menu-item:hover .landing-menu-item__outer,
.landing-menu-item:focus-within .landing-menu-item__outer {
  animation: landing-pulse-outer 1s ease-in-out 0.3s infinite;
}

.landing-menu-item__circle:hover .landing-menu-item__inner,
.landing-menu-item__circle:focus-visible .landing-menu-item__inner {
  transform: scale(3) !important;
}

.landing-menu-item.is-active .landing-menu-item__circle,
.landing-menu-item:hover .landing-menu-item__circle,
.landing-menu-item:focus-within .landing-menu-item__circle {
  background-color: var(--accent);
}

.landing-menu-item.is-active .landing-menu-item__inner,
.landing-menu-item:hover .landing-menu-item__inner,
.landing-menu-item:focus-within .landing-menu-item__inner {
  background-color: #212121;
}

.landing-menu-item__outer,
.landing-menu-item__circle,
.landing-menu-item__inner {
  z-index: 1;
}

@keyframes landing-circle-in {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes landing-pulse-outer {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

@keyframes landing-pulse-inner {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.4);
  }
}
