html {
  scroll-padding-top: 104px;
}

body {
  padding-top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(140, 255, 26, 0.055), transparent 34%),
    rgba(2, 8, 4, 0.22);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  transition:
    background 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

.site-header.site-header--scrolled {
  border-bottom: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(140, 255, 26, 0.075), transparent 34%),
    rgba(2, 8, 4, 0.42);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.1),
    0 0 28px rgba(140, 255, 26, 0.05);
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 0 24px 0 28px;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
}

.site-header__inner::before,
.site-header__inner::after {
  display: none;
  content: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 clamp(132px, 10vw, 188px);
  width: clamp(132px, 10vw, 188px);
  text-decoration: none;
}

.site-logo__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.42));
}

.site-logo__letters {
  fill: url("#logoSilver");
  font-family: "Arial Black", "Montserrat", system-ui, sans-serif;
  font-size: 49px;
  font-weight: 900;
  letter-spacing: -0.08em;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.75px;
}

.site-logo__studio {
  fill: rgba(244, 247, 242, 0.78);
  font-family: "Arial Black", "Montserrat", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.44em;
}

.site-logo__x {
  transform-box: fill-box;
  transform-origin: center;
  animation: logoXEnergy 5.5s ease-in-out infinite;
}

.site-logo__x polygon {
  fill: url("#logoGreen");
  stroke: rgba(4, 16, 6, 0.86);
  stroke-width: 1.2px;
}

.site-logo__x path {
  fill: none;
  stroke: rgba(244, 247, 242, 0.46);
  stroke-linecap: round;
  stroke-width: 1.2px;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.4vw, 36px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(244, 247, 242, 0.72);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: color 180ms var(--ease-out), text-shadow 180ms var(--ease-out);
}

.site-nav a::after {
  position: absolute;
  right: 18%;
  bottom: 4px;
  left: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(140, 255, 26, 0.22);
}

.site-nav a.is-active {
  color: var(--color-accent);
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 10px 0 24px;
  border: 1px solid rgba(140, 255, 26, 0.48);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 24, 16, 0.72), rgba(2, 8, 5, 0.58));
  box-shadow:
    0 0 0 1px rgba(140, 255, 26, 0.06),
    0 14px 38px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  color: var(--color-text);
  text-decoration: none;
  transition:
    transform 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    background 250ms var(--ease-out);
}

.header-cta__text {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #a6ff3f 0%, #7cff00 55%, #55c900 100%);
  color: #061006;
  box-shadow:
    0 0 18px rgba(140, 255, 26, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    filter 250ms var(--ease-out);
}

.header-cta__svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.header-cta:hover {
  border-color: rgba(140, 255, 26, 0.82);
  box-shadow:
    0 0 0 1px rgba(140, 255, 26, 0.16),
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(140, 255, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.header-cta:focus-visible {
  border-color: rgba(140, 255, 26, 0.82);
  outline: 2px solid rgba(140, 255, 26, 0.75);
  outline-offset: 4px;
}

.header-cta:hover .header-cta__icon,
.header-cta:focus-visible .header-cta__icon {
  box-shadow:
    0 0 24px rgba(140, 255, 26, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: brightness(1.08);
  transform: translateX(2px) rotate(6deg);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

@keyframes logoXEnergy {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  45% {
    opacity: 1;
    transform: scale(1.02);
  }

  55% {
    opacity: 1;
    transform: scale(1.08) rotateY(18deg);
  }

  65% {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-logo__x {
    animation: none;
  }
}
