.intro-active {
  overflow: hidden;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 119, 0, 0.18), transparent 34%),
    #0b1830;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.intro-brand {
  display: grid;
  place-items: center;
  gap: 20px;
  transform: translateY(-34px);
  animation: intro-brand-in 0.65s cubic-bezier(.2,.8,.2,1) both;
}

.intro-brand img {
  width: clamp(116px, 18vw, 160px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  outline: 4px solid #fff;
  box-shadow: 0 0 0 9px rgba(255,255,255,.08), 0 18px 54px rgba(255,79,0,.45);
}

.intro-brand strong {
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  font-weight: 800;
  font-style: oblique 8deg;
  letter-spacing: -0.055em;
  line-height: 1;
  text-shadow: 0 3px 20px rgba(0,0,0,.4);
}

.intro-brand strong::after {
  content: "";
  display: block;
  width: 52%;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4f00, #ffb000);
}

.intro-route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15%;
  height: 76px;
  border-bottom: 3px solid rgba(255,255,255,.2);
}

.intro-route::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 22%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffab00);
}

.intro-motor {
  position: absolute;
  left: -100px;
  bottom: 2px;
  display: block;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  filter: drop-shadow(0 9px 8px rgba(0,0,0,.4));
  animation: intro-ride 1.65s .4s cubic-bezier(.42,0,.45,1) both;
}

.intro-speed-lines {
  position: absolute;
  left: -25%;
  bottom: 29px;
  width: 18%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff9c00);
  box-shadow: -24px -17px 0 -1px rgba(255,255,255,.65), -6px 18px 0 -1px rgba(255,176,0,.7);
  animation: intro-lines 1.65s .4s cubic-bezier(.42,0,.45,1) both;
}

@keyframes intro-brand-in {
  from { opacity: 0; transform: translateY(-22px) scale(.86); }
  to { opacity: 1; transform: translateY(-34px) scale(1); }
}

@keyframes intro-ride {
  0% { left: -100px; transform: translateY(0) rotate(2deg) scaleX(-1); }
  45% { transform: translateY(-5px) rotate(-1deg) scaleX(-1); }
  100% { left: calc(100% + 20px); transform: translateY(0) rotate(1deg) scaleX(-1); }
}

@keyframes intro-lines {
  from { left: -25%; opacity: 0; }
  20%, 72% { opacity: 1; }
  to { left: calc(100% + 8%); opacity: 0; }
}

.site-header {
  height: 92px;
}

.mobile-menu {
  top: 92px;
}

.wordmark {
  gap: 14px;
  font-size: 1.55rem;
}

.brand-name {
  display: inline-block;
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  font-style: oblique 8deg;
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.brand-name::after {
  content: "";
  display: block;
  width: 44%;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4f00, #ffb000);
  transform: skewX(-18deg);
}

.footer-logo .brand-name {
  font-size: 1.55rem;
}

.brand-logo-image {
  width: 72px;
  height: 72px;
  flex: none;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  outline: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(255, 79, 0, 0.55);
}

.brand-logo-footer {
  width: 92px;
  height: 92px;
}

@media (max-width: 680px) {
  .intro-route { bottom: 17%; }

  .site-header {
    height: 84px;
  }

  .mobile-menu {
    top: 84px;
  }

  .wordmark {
    gap: 10px;
    font-size: 1.12rem;
  }

  .brand-name {
    font-size: 1.08rem;
    letter-spacing: -0.035em;
  }

  .footer-logo .brand-name {
    font-size: 1.3rem;
  }

  .brand-logo-image {
    width: 64px;
    height: 64px;
    outline-width: 2px;
  }

  .brand-logo-footer {
    width: 82px;
    height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-brand,
  .intro-motor,
  .intro-speed-lines {
    animation-duration: 0.01ms;
    animation-delay: 0s;
  }
}
