﻿/* ACEAUM page motion polish */
:root {
  --aceaum-enter-duration: 900ms;
  --aceaum-enter-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  animation: aceaum-page-enter var(--aceaum-enter-duration) var(--aceaum-enter-ease) both;
}

.navbar,
nav.navbar,
#navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero,
.page-hero,
.wwd-hero,
.about-v2-hero,
.solutions-hero,
.solutions-page-hero,
.case-hero,
.case-page-hero,
.insights-hero,
.insights-hero-redesigned,
.contact-hero,
.blog-hero,
.article-hero {
  animation: aceaum-hero-enter 1150ms var(--aceaum-enter-ease) 140ms both;
}

.hero h1,
.hero .hero-tagline,
.hero .hero-subtitle,
.hero .hero-buttons,
.page-hero h1,
.page-hero .page-title,
.page-hero .page-subtitle,
.page-hero .breadcrumb,
.wwd-hero h1,
.about-v2-hero h1,
.solutions-hero h1,
.case-hero h1,
.insights-hero h1,
.insights-hero-redesigned h1,
.contact-hero h1,
.blog-hero h1,
.article-hero h1 {
  animation: aceaum-content-enter 1050ms var(--aceaum-enter-ease) 260ms both;
}

/* Page-specific hero motion for Accelerators and Case Studies */
.solutions-page-hero .solutions-eyebrow,
.solutions-page-hero h1,
.solutions-page-hero p,
.solutions-page-hero .btn,
.solutions-page-hero .solutions-hero-visual,
.case-page-hero .case-eyebrow,
.case-page-hero h1,
.case-page-hero p,
.case-page-hero .case-hero-panel {
  animation: aceaum-content-enter 1050ms var(--aceaum-enter-ease) 260ms both;
}

.solutions-page-hero h1,
.case-page-hero h1 {
  animation-delay: 320ms;
}

.solutions-page-hero p,
.case-page-hero p {
  animation-delay: 400ms;
}

.solutions-page-hero .btn,
.solutions-page-hero .solutions-hero-visual,
.case-page-hero .case-hero-panel {
  animation-delay: 500ms;
}
.aceaum-motion-enabled .aceaum-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 960ms var(--aceaum-enter-ease),
    transform 960ms var(--aceaum-enter-ease),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background-color 320ms ease;
  transition-delay: var(--aceaum-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.aceaum-motion-enabled .aceaum-reveal.aceaum-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes aceaum-page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes aceaum-hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aceaum-content-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* What We Do transparent infographic review */
.wwd-hero-infographic-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.wwd-hero-infographic-wrap::before,
.wwd-hero-infographic-wrap::after {
  content: none !important;
  display: none !important;
}

.wwd-hero-infographic {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
/* Accelerator sticky filter polish */
.accelerator-jumpbar {
  top: var(--aceaum-fixed-header-height, 66px) !important;
  z-index: 99990 !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(17, 24, 39, 0.06) !important;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08) !important;
}

@media (max-width: 980px) {
  .accelerator-jumpbar {
    top: var(--aceaum-fixed-header-height, 62px) !important;
  }
}
/* Mobile header/nav stability fix */
@media (max-width: 1120px) {
  .nav-container {
    position: relative !important;
    height: var(--aceaum-fixed-header-height, 62px) !important;
    min-height: var(--aceaum-fixed-header-height, 62px) !important;
    padding: 0 0.85rem !important;
    overflow: visible !important;
  }

  .nav-logo {
    height: var(--aceaum-fixed-header-height, 62px) !important;
    min-height: 0 !important;
    max-width: calc(100% - 56px) !important;
    overflow: hidden !important;
  }

  .nav-logo a {
    height: 72% !important;
    max-height: 42px !important;
    overflow: hidden !important;
  }

  .nav-logo img,
  .nav-logo a img {
    height: 100% !important;
    max-height: 42px !important;
    max-width: min(56vw, 220px) !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    font-size: 1.7rem !important;
    line-height: 1 !important;
    color: #1f2937 !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }
  .nav-menu {
    display: none !important;
    position: fixed !important;
    top: var(--aceaum-fixed-header-height, 62px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100vh - var(--aceaum-fixed-header-height, 62px)) !important;
    overflow-y: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0.65rem 1rem 1rem !important;
    margin: 0 !important;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.16) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 100001 !important;
  }

  .nav-menu.active,
  .aceaum-menu-open #navMenu {
    display: flex !important;
  }

  .nav-menu li {
    width: 100% !important;
  }

  .nav-menu a,
  .nav-menu a.nav-cta {
    display: block !important;
    width: 100% !important;
    padding: 0.85rem 0.25rem !important;
    color: #1f2937 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
    box-shadow: none !important;
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .aceaum-motion-enabled .aceaum-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}




/* Mobile logo final fit override */
@media (max-width: 1120px) {
  html body #navbar,
  html body .navbar {
    height: 72px !important;
    min-height: 72px !important;
  }

  html body #navbar .nav-container,
  html body .navbar .nav-container {
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 1rem !important;
    align-items: center !important;
  }

  html body #navbar .nav-logo,
  html body .navbar .nav-logo {
    height: 72px !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: calc(100% - 64px) !important;
    flex: 0 1 auto !important;
    overflow: hidden !important;
    align-items: center !important;
  }

  html body #navbar .nav-logo a,
  html body .navbar .nav-logo a {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: min(48vw, 180px) !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  html body #navbar .nav-logo img,
  html body #navbar .nav-logo a img,
  html body .navbar .nav-logo img,
  html body .navbar .nav-logo a img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: min(48vw, 180px) !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
  }

  html body #navbar .mobile-menu-toggle,
  html body .navbar .mobile-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    margin-left: auto !important;
  }

  html body #navbar #navMenu,
  html body .navbar #navMenu {
    top: 72px !important;
    max-height: calc(100vh - 72px) !important;
  }
}

@media (max-width: 420px) {
  html body #navbar .nav-logo a,
  html body .navbar .nav-logo a,
  html body #navbar .nav-logo img,
  html body #navbar .nav-logo a img,
  html body .navbar .nav-logo img,
  html body .navbar .nav-logo a img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 168px !important;
  }
}
