/* Preserve the transparent brand artwork instead of filtering an opaque logo into a white block. */
.topbar .logo,
.menu-top,
.footer-main > div:first-child {
  background: transparent;
}

.topbar .logo img,
.menu-top img,
.footer-main img {
  filter: none !important;
  object-fit: contain;
}

.topbar .logo img {
  width: 150px;
  height: 36px;
}

/* Keep the animated hero photo and its zoom entirely inside the gradient frame. */
.home-hero,
.page-hero {
  overflow: clip;
  isolation: isolate;
}

@supports not (overflow: clip) {
  .home-hero,
  .page-hero {
    overflow: hidden;
  }
}

.home-hero-image,
.page-hero::before {
  z-index: 0;
}

.home-hero-overlay,
.page-hero::after {
  z-index: 1;
}

.home-hero-content,
.page-hero-inner,
.scroll-cue {
  z-index: 2;
}

.menu-top img {
  width: 180px;
  height: 42px;
}

.hud-panel:focus-visible,
.service-visual:focus-visible {
  outline: 2px solid #d94259;
  outline-offset: 3px;
}

.capital-benefit:focus-visible {
  outline: 2px solid #d94259;
  outline-offset: 3px;
}

.capital-benefit-image {
  animation: property-image-drift 18s ease-in-out infinite alternate;
}

@keyframes property-image-drift {
  from { background-position: 48% 47%; }
  to { background-position: 52% 53%; }
}

.capital-benefits-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.capital-benefits-cta p {
  margin: 0;
  color: #aaa6a0;
  font: 800 9px/1.5 Arial, sans-serif;
  letter-spacing: .14em;
}

.capital-benefits-cta .pill-cta {
  flex-shrink: 0;
}

.login-link:disabled {
  cursor: not-allowed;
  opacity: .58;
}

@media (max-width: 680px) {
  .topbar .logo img {
    width: 128px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-image,
  .hud-orbit,
  .hud-scan,
  .service-visual > i {
    animation: none !important;
  }

  .capital-benefit-image {
    animation: none !important;
  }

  .hud-panel,
  .service-visual,
  .hud-content,
  .service-visual-copy {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 680px) {
  .capital-benefits-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
