.lp-back-to-portfolio {
  display: none !important;
}

.leadpage-project-shell {
  position: fixed;
  z-index: 2147482000;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(690px, calc(100vw - 32px));
  min-height: 58px;
  padding: 8px 9px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #f7f7f5;
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  font-family: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(130%);
}

.leadpage-project-shell__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-right: auto;
}

.leadpage-project-shell__brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(1) brightness(3.2) contrast(1.15);
}

.leadpage-project-shell__brand span {
  display: grid;
  gap: 1px;
}

.leadpage-project-shell__brand strong {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.1;
}

.leadpage-project-shell__brand small {
  color: rgba(247, 247, 245, 0.62);
  font-size: 0.66rem;
  line-height: 1.2;
}

.leadpage-project-shell__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f7f7f5;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.leadpage-project-shell__link:hover,
.leadpage-project-shell__link:focus-visible {
  border-color: #e10600;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.leadpage-project-shell__link--primary {
  border-color: transparent;
  color: #fff;
  background: #e10600;
  box-shadow: none;
}

.leadpage-project-shell__link--primary:hover,
.leadpage-project-shell__link--primary:focus-visible {
  border-color: transparent;
  background: #ff1b14;
}

@media (max-width: 640px) {
  .leadpage-project-shell {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    min-height: 54px;
    padding: 6px;
  }

  .leadpage-project-shell__brand {
    display: flex;
    flex: 0 0 24px;
    margin: 0 1px 0 3px;
  }

  .leadpage-project-shell__brand img {
    width: 24px;
    height: 24px;
  }

  .leadpage-project-shell__brand span {
    display: none;
  }

  .leadpage-project-shell__link {
    flex: 1;
    min-width: 0;
    padding: 0 12px;
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leadpage-project-shell__link {
    transition: none;
  }
}
