.main-header { z-index: 99999; }
      @media (min-width: 1199px) {
        .mobile-only-header { display: none !important; }
        .desktop-only-header { display: block !important; }
      }
      @media (max-width: 1198px) {
        .desktop-only-header { display: none !important; }
        .mobile-only-header { display: block !important; }
      }

      /* === Gov page: Logo override (desktop & mobile, regular & sticky on scroll) === */
      .desktop-only-header .sparx_logo svg,
      .mobile-only-header .sparx_logo svg {
        display: none !important;
      }
      .desktop-only-header .sparx_logo,
      .mobile-only-header .sparx_logo,
      #header.main-header.sticky .sparx_logo,
      .main-header.sticky .sparx_logo,
      .main-header.is-scrolled .sparx_logo {
        width: 138px !important;
        height: 38px !important;
        max-width: none !important;
        min-width: 138px !important;
        display: inline-flex !important;
        align-items: center !important;
        overflow: visible !important;
      }
      .desktop-only-header .sparx_logo::after,
      .mobile-only-header .sparx_logo::after,
      #header.main-header.sticky .sparx_logo::after,
      .main-header.sticky .sparx_logo::after,
      .main-header.is-scrolled .sparx_logo::after {
        content: '';
        display: inline-block !important;
        width: 138px !important;
        height: 38px !important;
        background-image: url('/gov/assets/logo-sparxit.svg') !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: left center !important;
      }

      /* === Gov page: Nav main_link font-size 18px === */
      .desktop-only-header .new-pill-nav .main_menu li a.main_link {
        font-size: 18px !important;
      }

      /* === Gov page: Mobile Header (Fixed & Solid #0F172A Dark Navy) === */
      @media (max-width: 1198px) {
        .mobile-only-header .main-header {
          position: fixed !important;
          top: 0 !important;
          left: 0 !important;
          width: 100% !important;
          background: #0F172A !important;
          padding: 14px 0 !important;
          z-index: 99999 !important;
          box-shadow: 0 2px 15px rgba(0, 0, 0, 0.35) !important;
          transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease !important;
        }
        .mobile-only-header .main-header.is-scrolled,
        .mobile-only-header .main-header.sticky {
          background: #0F172A !important;
          padding: 10px 0 !important;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
        }
        .mobile-only-header .sparx_logo {
          width: 138px !important;
          height: 38px !important;
          min-width: 138px !important;
          max-width: none !important;
          display: inline-flex !important;
          align-items: center !important;
        }
        .mobile-only-header .navbar-toggler {
          cursor: pointer !important;
          z-index: 100000 !important;
        }
        .mobile-only-header .navbar-toggler span {
          background-color: #ffffff !important;
        }
        .mobile-only-header .main-navigation {
          position: fixed !important;
          top: 66px !important;
          left: 0 !important;
          width: 100% !important;
          height: calc(100vh - 66px) !important;
          background-color: #ffffff !important;
          overflow-y: auto !important;
          -webkit-overflow-scrolling: touch !important;
          z-index: 99998 !important;
        }
        .mobile-only-header .main-navigation.effect {
          display: block !important;
          opacity: 1 !important;
          visibility: visible !important;
        }
      }

      /* Button Hover Animations & Effects */
      .btn {
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        position: relative !important;
        overflow: hidden !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        text-decoration: none !important;
      }
      .btn-light {
        background: #ffffff !important;
        color: #e3001d !important;
        border: 2px solid transparent !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
      }
      .btn-light:hover {
        background: #0f172a !important;
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25) !important;
      }
      .btn-light:hover img {
        filter: brightness(0) invert(1) !important;
        transform: translateX(4px) !important;
      }
      .btn-light img {
        transition: transform 0.3s ease, filter 0.3s ease !important;
      }

      .btn-red {
        background: #e3001d !important;
        color: #ffffff !important;
        border: 2px solid transparent !important;
        box-shadow: 0 4px 15px rgba(227, 0, 29, 0.25) !important;
      }
      .btn-red img {
        transition: transform 0.3s ease !important;
      }
      .btn-red:hover {
        background: #0f172a !important;
        color: #ffffff !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3) !important;
      }
      .btn-red:hover img {
        transform: translateX(4px) !important;
      }

      /* Press release cards hover */
      .press-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
      }
      .press-card:hover {
        transform: translateY(-4px) !important;
      }
      .press-card h3 a {
        transition: color 0.2s ease !important;
      }
      .press-card h3 a:hover {
        color: #e3001d !important;
      }

      /* Footer Social Icons Layout & Hover */
      .footer-social-icons {
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
      }
  
  
   

      /* CTA Band Background Video replacing red-wave.png */
      .cta-band {
        position: relative !important;
        overflow: hidden !important;
        background: #0f172a !important; /* fallback base */
      }
      .cta-band-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
        opacity: 0.85 !important;
        pointer-events: none !important;
      }
      .cta-band .wrap {
        position: relative !important;
        z-index: 1 !important;
      }

      /* Impact section video styling */
      video.impact-photo {
        width: 100% !important;
        height: 549px !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 2px !important;
      }
      @media (max-width: 1100px) {
        video.impact-photo {
          height: auto !important;
          aspect-ratio: 16 / 9 !important;
        }
      }

      /* Hero Section Top Padding to clear fixed header (matching hire/service pages) */
      .hero {
        padding-top: 104px !important;
      }
      .hero-grid {
        padding-top: 50px !important;
      }
      @media (min-width: 768px) {
        .hero {
          padding-top: 120px !important;
        }
      }
      @media (max-width: 767px) {
        .hero {
          padding-top: 80px !important;
        }
      }

      /* Eyebrow badge matching Figma spec (width: 235px, height: 26px) */
    
   

      /* Remove white/grey overlay, border, background tint from .project-card.has-still */
      .project-card,
      .project-card.has-still,
      .project-card.has-still.photo-right {
        background-image: var(--slide-image) !important;
        background-position: center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
      }
      .project-bg::after {
        display: none !important;
        background: none !important;
      }
      .project-viewport {
        background: transparent !important;
      }
      .project-track {
        background: transparent !important;
      }

      /* Logos section full width (100% width) */
      .logos {
        width: 100% !important;
        background: #ffffff !important;
      }
      .logos .wrap,
      .logos-inner {
        width: 100% !important;
        max-width: 1320px !important;
        margin-inline: auto !important;
        padding-inline: 20px !important;
        box-sizing: border-box !important;
      }
      .logos-inner img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
      }

      /* Set all sections and containers to 1480px max-width with 20px padding left & right */
      :root {
        --pad: 20px !important;
      }

      
      .container,
      .main-header .container,
      .site-footer .wrap,
      .site-footer .container
      {
        width: 100% !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
      }

      /* Empanelments section perfect centering */
      .empanelments {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
      }
      .empanelments .empanel-scroll {
        width: 100% !important;
        max-width: 1480px !important;
        margin-inline: auto !important;
        padding-inline: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box !important;
      }
      @media (min-width: 1101px) {
        .empanel-layout {
          width: min(1062px, 100%) !important;
        margin-inline: auto !important;
        justify-content: center !important;
        display: grid !important;
        grid-template-columns: minmax(260px, 406px) minmax(0, 631px) !important;
        gap: 38px !important;
        align-items: start !important;
        }
      }
      @media (max-width: 1100px) {
        .empanel-layout {
          width: 100% !important;
          display: grid !important;
          grid-template-columns: 1fr !important;
          position: relative !important;
          top: auto !important;
          gap: 20px !important;
        }
      }

      /* Empanelment card styling & buttery smooth logo/content transition */
      .empanel {
        transition: background-color 340ms cubic-bezier(0.25, 1, 0.5, 1),
                    border-color 340ms cubic-bezier(0.25, 1, 0.5, 1),
                    box-shadow 340ms cubic-bezier(0.25, 1, 0.5, 1) !important;
      }
      .empanel.is-open {
        background: var(--red) !important;
        border-color: var(--red) !important;
      }
      .empanel button {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        width: 100% !important;
        padding: 24px !important;
        border: 0 !important;
        background: transparent !important;
        color: inherit !important;
        text-align: left !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        transition: padding 340ms cubic-bezier(0.25, 1, 0.5, 1) !important;
      }
      .empanel.is-open button {
        padding: 24px 24px 16px 24px !important;
      }
      .empanel button span {
        font-size: 24px !important;
        font-weight: 600 !important;
        letter-spacing: -0.72px !important;
        line-height: 27px !important;
        color: var(--ink) !important;
        flex: 1 1 auto !important;
        transition: color 300ms ease !important;
      }
      .empanel.is-open button span {
        color: #ffffff !important;
      }

      /* Logo smooth animation: eliminates abrupt display:none/block jumping */
      .empanel button img {
        display: block !important;
        width: 98px !important;
        height: 80px !important;
        max-width: 0 !important;
        opacity: 0 !important;
        margin-right: 0 !important;
        transform: scale(0.85);
        transform-origin: left center;
        overflow: hidden !important;
        visibility: hidden;
        object-fit: contain !important;
        background: #ffffff !important;
        border-radius: 4px !important;
        flex: 0 0 auto !important;
        pointer-events: none;
        transition: max-width 360ms cubic-bezier(0.25, 1, 0.5, 1),
                    opacity 280ms cubic-bezier(0.25, 1, 0.5, 1),
                    transform 360ms cubic-bezier(0.25, 1, 0.5, 1),
                    margin-right 360ms cubic-bezier(0.25, 1, 0.5, 1),
                    visibility 360ms !important;
      }
      .empanel.is-open button img {
        max-width: 98px !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        margin-right: 16px !important;
        visibility: visible !important;
      }

      .empanel-panel {
        padding: 0 24px 24px 138px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transition: color 300ms ease !important;
      }
      .empanel.is-open .empanel-panel {
        color: #ffffff !important;
      }
      .empanel-panel p {
        margin: 0 !important;
        padding: 0 !important;
        color: inherit !important;
      }
      @media (max-width: 900px) {
        .empanel-panel {
          padding: 0 24px 24px 24px !important;
        }
      }

      /* FAQ Item heading hover & active/open color */
      .faq-item h3 {
        color: inherit !important;
        transition: color 0.25s ease !important;
      }
      .faq-item button {
        color: #0F172A !important;
        cursor: pointer !important;
        transition: padding-block 360ms ease, color 0.25s ease !important;
      }
      .faq-item button span {
        color: inherit !important;
        transition: color 0.25s ease !important;
      }
      .faq-item button:hover,
      .faq-item button:hover span,
      .faq-item:hover h3,
      .faq-item.is-open h3,
      .faq-item.is-open button,
      .faq-item.is-open button span {
        color: #E3001D !important;
      }

      /* Red Footer specific adjustments to stay inside container */
      .site-footer {
        width: 100%;
        background: #e3001d;
        color: #fff;
        padding-top: 70px;
        box-sizing: border-box;
      }
      .site-footer a {
        color: #fff;
        text-decoration: none;
      }
      .site-footer a:hover {
        color: rgba(255, 255, 255, 0.85);
      }
      .site-footer .footer-ribbon {
        width: 100%;
        display: block;
        height: 80px;
        object-fit: cover;
        pointer-events: none;
      }

      /* Location Rotator Widget (adapted for Red Footer) */
      .footer-location-wrapper {
        position: relative;
        display: inline-block;
      }
      .footer-location-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        border: none;
        border-radius: 999px;
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        color: #e3001d;
        background-color: #ffffff;
        transition: all 0.3s ease;
        text-decoration: none;
        cursor: pointer;
        outline: none;
      }
      .footer-location-btn:hover,
      .footer-location-wrapper:hover .footer-location-btn {
        background-color: #0f172a;
        color: #ffffff;
      }
      .footer-location-btn svg {
        flex-shrink: 0;
      }
      .location-text-rotator {
        display: inline-block;
        position: relative;
        height: 20px;
        line-height: 20px;
        overflow: hidden;
        vertical-align: middle;
        min-width: 110px;
        text-align: left;
      }
      .location-item {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        white-space: nowrap;
        opacity: 0;
        transform: translateY(100%);
        transition: opacity 0.4s ease, transform 0.4s ease;
      }
      .location-item.active {
        position: relative;
        opacity: 1;
        transform: translateY(0);
      }
      .location-item.exit {
        opacity: 0;
        transform: translateY(-100%);
        position: absolute;
      }

      /* Location Tooltip (exact index.php style with red background & animated dots tray) */
      .location-tooltip {
        position: absolute;
        bottom: calc(100% + 14px);
        left: 0;
        width: 320px;
        background: #E3001D !important;
        color: #ffffff !important;
        border-radius: 1px !important;
        padding: 24px !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 1050;
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
      }
      @media (min-width: 1024px) {
        .footer-location-wrapper:hover .location-tooltip {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
          pointer-events: auto;
        }
      }
      .footer-location-wrapper.active-mobile .location-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }
      .location-tooltip::before {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
      }
      .location-tooltip::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 28px;
        width: 12px;
        height: 12px;
        background: #E3001D !important;
        transform: rotate(45deg);
        border-radius: 1px;
      }
      .tooltip-close-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        background: transparent;
        border: none;
        font-size: 26px;
        line-height: 1;
        color: #ffffff;
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10;
        opacity: 0.7;
        transition: opacity 0.2s ease;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
      }
      .tooltip-close-btn:hover,
      .tooltip-close-btn:active {
        opacity: 1;
      }
      @media (max-width: 1023px) {
        .tooltip-close-btn {
          display: flex;
        }
        .footer-location-wrapper {
          position: relative;
          display: inline-block;
          margin: 0 auto;
        }
        .location-tooltip {
          bottom: calc(100% + 14px);
          left: 50%;
          transform: translateX(-50%) translateY(10px);
          width: calc(100vw - 32px);
          max-width: 320px;
          padding: 20px 16px;
        }
        .footer-location-wrapper.active-mobile .location-tooltip {
          transform: translateX(-50%) translateY(0);
        }
        .location-tooltip::after {
          left: 50%;
          transform: translateX(-50%) rotate(45deg);
        }
      }
      .tooltip-address-item {
        display: none;
      }
      .tooltip-address-item.active {
        display: block !important;
        animation: locFadeIn 0.35s ease !important;
      }
      @keyframes locFadeIn {
        from {
          opacity: 0;
          transform: translateY(4px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .loc-name {
        font-size: 20px !important;
        font-weight: 600 !important;
        line-height: 23px !important;
        color: #ffffff !important;
        margin-bottom: 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
      }
      .loc-full {
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 19px !important;
        color: #ffffff !important;
        opacity: 0.95 !important;
        margin-bottom: 16px !important;
      }
      .loc-phone {
        font-size: 16px !important;
        line-height: 19px !important;
        color: #ffffff !important;
      }
      .loc-phone strong {
        font-weight: 600 !important;
        color: #ffffff !important;
      }
      .loc-phone a {
        color: #ffffff !important;
        text-decoration: underline !important;
        font-weight: 600 !important;
        transition: opacity 0.2s ease !important;
      }
      .loc-phone a:hover {
        text-decoration: none !important;
      }

      /* Dots Tray / Slider like index.php */
      .tooltip-dots {
        display: flex !important;
        gap: 20px !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 12px 16px !important;
        background-color: #ffffff !important;
        width: 162px !important;
        margin: 32px auto 0 !important;
        border-radius: 999px !important;
        border-top: none !important;
        box-sizing: border-box !important;
      }
      .tooltip-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 999px !important;
        background: rgba(15, 23, 42, 0.2) !important;
        cursor: pointer !important;
        position: relative !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        transform: none !important;
        transition: width 0.3s ease, background-color 0.3s ease !important;
      }
      .tooltip-dot.active {
        width: 48px !important;
        background: rgba(15, 23, 42, 0.15) !important;
        transform: none !important;
      }
      .tooltip-dot.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background-color: #64748b !important;
        border-radius: inherit;
        animation: tooltip-dot-progress 4s linear forwards !important;
      }
      @keyframes tooltip-dot-progress {
        0% {
          width: 0%;
        }
        100% {
          width: 100%;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .tooltip-dot.active::before {
          animation: none !important;
          width: 100% !important;
        }
      }

      /* CRITICAL: Never set overflow or overflow-x on html, body, #wrapper, or .gov-page-wrapper!
         Overflow breaks CSS position: sticky and prevents scroll-driven JS calculations. */
      html, body {
        overflow: visible !important;
        overflow-x: clip !important;
      }
      #wrapper, .gov-page-wrapper {
        overflow: visible !important;
      }

      /* Adjust sticky offset for Gov page sections to account for site header height (Desktop only) */
      @media (min-width: 1101px) {
        .empanel-layout,
        .challenge-visual {
          top: 100px !important;
        }
      }

  
      .project-panel .tag-label {
        color: #e3001d !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 1.12px !important;
        text-transform: uppercase !important;
        margin-bottom: 16px !important;
      }
      .project-panel .tag {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        border: none !important;
        border-radius: 1px !important;
        font-family: var(--font) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 17px !important;
        letter-spacing: -0.42px !important;
        color: #ffffff !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
      }
      /* Red active button in Platforms Delivered */
      .project-panel .tag.is-active {
        background-color: #e3001d !important;
      }
      /* Slate grey inactive buttons in Platforms Delivered */
      .project-panel .tag.is-inactive,
      .project-panel div:first-child .tag:not(.is-active) {
        background-color: #8b909a !important;
      }
      .project-panel .tag.is-inactive:hover {
        background-color: #727782 !important;
      }
      /* All red tags in WE ALSO BUILT */
      .project-panel .tag-list-red .tag,
      .project-panel .tag.tag-red,
      .project-panel div:last-child .tag {
        background-color: #e3001d !important;
        cursor: default !important;
      }

      /* Feature-pin alignment (Desktop: Left text frame and Right image both start at top: 100px) */
      @media (min-width: 1101px) {
        .feature-pin-scroll {
          display: grid !important;
          align-items: start !important;
        }
        .feature-pin-col {
          position: relative !important;
          align-self: start !important;
          height: auto !important;
        }
        .feature-pin-frame {
          position: sticky !important;
          top: 100px !important;
          margin-top: 0 !important;
        }
        .feature-pin .feature-visual,
        .feature-pin .pin-stage {
          position: sticky !important;
          top: 100px !important;
          margin-top: 0 !important;
          align-self: start !important;
        }
        #ai .feature-visual {
          border-radius: 4px !important;
        }
        #security .pin-stage {
          aspect-ratio: 16 / 9 !important;
          border-radius: 4px !important;
          overflow: hidden !important;
        }
        .feature-pin .pin-stage .feature-visual {
          position: absolute !important;
          top: 0 !important;
          left: 0 !important;
          width: 100% !important;
          height: 100% !important;
          object-fit: cover !important;
        }
      }

      /* Mobile & Tablet layout fixes (<= 1100px): Clean column stacking, centered images, proper spacing */
      @media (max-width: 1100px) {
        .feature-pin-scroll {
          display: flex !important;
          flex-direction: column !important;
          grid-template-columns: 1fr !important;
          gap: 36px !important;
        }
        .feature-pin-col {
          min-height: 0 !important;
          height: auto !important;
          width: 100% !important;
        }
        .feature-pin-scroll > .feature-pin-col:last-child {
          display: flex !important;
          justify-content: center !important;
          align-items: center !important;
          width: 100% !important;
          margin-inline: auto !important;
          text-align: center !important;
        }
        .feature-pin-frame {
          position: relative !important;
          top: auto !important;
          height: auto !important;
        }
        #ai .feature-visual,
        #compliance .feature-visual {
          display: block !important;
          margin-inline: auto !important;
          width: 100% !important;
          max-width: min(553px, 100%) !important;
          height: auto !important;
          aspect-ratio: 1 / 1 !important;
          object-fit: cover !important;
          border-radius: 4px !important;
        }
        #security .pin-stage {
          display: block !important;
          margin-inline: auto !important;
          width: 100% !important;
          max-width: min(553px, 100%) !important;
          aspect-ratio: 16 / 9 !important;
          height: auto !important;
          position: relative !important;
          border-radius: 4px !important;
          overflow: hidden !important;
        }
        #security .pin-stage .feature-visual {
          position: absolute !important;
          inset: 0 !important;
          width: 100% !important;
          height: 100% !important;
          max-width: none !important;
          object-fit: cover !important;
          margin: 0 !important;
        }
        #security .pin-logos {
          position: absolute !important;
          inset: 0 !important;
          display: grid !important;
          place-items: center !important;
          pointer-events: none !important;
        }
      }

      /* Mobile specific responsiveness & spacing enhancements */
      @media (max-width: 768px) {
        .hero h1 {
          font-size: 36px !important;
          line-height: 42px !important;
          letter-spacing: -0.8px !important;
        }
        .hero-grid {
          padding-top: 24px !important;
          padding-bottom: 40px !important;
          gap: 24px !important;
        }
        .project-card {
          padding: 16px !important;
          min-height: 480px !important;
        }
        .project-panel {
          padding: 20px 16px !important;
          width: 100% !important;
        }
        .project-panel h3 {
          font-size: 20px !important;
          line-height: 25px !important;
        }
        .project-panel .tag {
          padding: 8px 12px !important;
          font-size: 13px !important;
        }
        .footer-brand {
          align-items: flex-start !important;
          margin-top: 24px !important;
        }
        .footer-social-icons {
          margin-top: 16px !important;
        }
      }

      @media (max-width: 480px) {
        .btn {
          width: 100% !important;
          justify-content: center !important;
          box-sizing: border-box !important;
        }
        .footer-meta nav {
          display: flex !important;
          flex-wrap: wrap !important;
          gap: 12px 18px !important;
        }
      }

.eai-main .page {
  /* original page CSS stays; chrome sits outside */
}

/* CTA bands: same line-waves video as government-digital-transformation.php */
.page .narrative-band,
.page .mid-cta,
.page .final-cta {
  overflow: hidden;
  background: #0f172a;
}

.page .narrative-band .narrative-card {
  position: relative;
  z-index: 1;
}

.page .narrative-band .cta-band-video,
.page .mid-cta .cta-band-video,
.page .final-cta .cta-band-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.page .mid-cta .cta-banner,
.page .final-cta .cta-banner {
  position: relative;
  z-index: 1;
}

.page .button-pill img.icon-inline,
.page .button-light img.icon-inline,
.page .button-dark img.icon-inline,
.page .button-light-wide img.icon-inline,
.page .button-dark-wide img.icon-inline {
  flex: 0 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.page .button-pill:hover img.icon-inline,
.page .button-light:hover img.icon-inline,
.page .button-dark:hover img.icon-inline,
.page .button-light-wide:hover img.icon-inline,
.page .button-dark-wide:hover img.icon-inline {
  transform: translateX(4px);
}

.page .final-cta__talk {
  display: block;
  text-align: right;
}

.page .final-cta__talk a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  line-height: 24px;
}

.page .final-cta__talk-lead {
  font-weight: 700;
}

.page .final-cta__talk-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page .final-cta__talk-line .icon-inline {
  transition: transform 0.3s ease;
}

.page .final-cta__talk a:hover .icon-inline {
  transform: translateX(4px);
}

/* Product card hover overlay */
.page .product-card {
  isolation: isolate;
  cursor: pointer;
}

.page .section-lead a,
.page .body-copy a,
.page .step-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page .section-lead a:hover,
.page .body-copy a:hover,
.page .step-text a:hover {
  color: #e3001d;
}

.page .product-card__title a {
  color: inherit;
  text-decoration: none;
}

.page .product-card__title a:hover {
  color: #e3001d;
}

.page a.product-tag {
  color: inherit;
  text-decoration: none;
}

.page a.product-tag:hover {
  border-color: #e3001d;
}

.page a.product-tag:hover .product-tag__label {
  color: #e3001d;
}

.page .product-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3001d;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page .product-card__hover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-family: "DM Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page .product-card__hover-btn .icon-inline {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.page .product-card:hover .product-card__hover,
.page .product-card:focus-within .product-card__hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page .product-card:hover .product-card__hover-btn,
.page .product-card:focus-within .product-card__hover-btn {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.page .product-card__hover-btn:hover .icon-inline {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .page .product-card__hover,
  .page .product-card__hover-btn {
    transition: none;
  }
}

/* Engage: sticky scrollytelling only on the 1440 canvas, not tablet/responsive */
@media (min-width: 1440px) {
  .page {
    overflow: clip;
    min-height: 12330px;
  }

  .page .engage {
    height: 2800px;
    overflow: visible;
  }

  .page .engage__visual,
  .page .engage__content {
    position: sticky;
    top: 88px;
    align-self: flex-start;
  }

  .page .readiness {
    top: 8728px;
  }

  .page .governance {
    top: 9407px;
  }

  .page .compliance {
    top: 10152px;
  }

  .page .faq {
    top: 10754px;
  }

  .page .final-cta {
    top: 11944px;
  }
}

@media (max-width: 1439px) {
  .page .engage {
    height: auto;
    overflow: visible;
  }

  .page .engage__visual,
  .page .engage__content {
    position: relative;
    top: auto;
    align-self: flex-start;
  }

  .page .engage__content {
    gap: 32px;
  }

  .page .engage__step,
  .page .engage__step.is-active {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .page .readiness .button-light-wide {
    max-width: 100%;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .page .readiness .action-label {
    white-space: normal;
  }

  .page .readiness .block-title {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

}

@media (max-width: 767px) {
  .page .faq,
  .page .faq__layout,
  .page .faq .readiness__intro,
  .page .faq .intro-block,
  .page .faq-item,
  .page .faq__question,
  .page .faq__answer,
  .page .faq__answer-inner,
  .page .faq__answer-text {
    width: 100%;
    max-width: 100%;
  }

  .page .faq__title {
    max-width: none;
    width: 100%;
    white-space: normal;
  }

  .page .faq__lead {
    width: 100%;
    max-width: 100%;
  }

  .page .faq__question-text {
    white-space: normal;
    flex: 1;
    min-width: 0;
  }

  .page .engage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    height: auto;
    padding: 56px 20px 40px;
    box-sizing: border-box;
    scroll-margin-top: 80px;
  }

  .page .engage__visual {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 340px;
    min-height: 0;
    border-radius: 8px;
  }

  .page .engage__content {
    width: 100%;
    max-width: 100%;
    gap: 24px;
    height: auto;
  }

  .page .engage .stack {
    gap: 24px;
    width: 100%;
  }

  .page .engage .column-stack {
    gap: 20px;
    width: 100%;
  }

  .page .engage__intro,
  .page .engage .block-title {
    width: 100%;
    max-width: 100%;
  }

  .page .engage__step {
    opacity: 1;
  }

  .page .engage__step.is-active {
    opacity: 1;
  }

  .page .engage__step-title {
    white-space: normal;
    width: 100%;
    max-width: 100%;
    font-size: 22px;
    line-height: 28px;
  }

  .page .engage .step-text {
    width: 100%;
    max-width: 100%;
  }

  .page .engage .step-text a {
    word-break: break-word;
  }
}

.page .engage__visual {
  overflow: hidden;
  background-image: none;
  z-index: 2;
}

.page .engage__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  backface-visibility: hidden;
}

.page .engage__visual-img.is-active {
  opacity: 1;
}

.page .engage__step {
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.page .engage__step.is-active {
  opacity: 1;
}

@media (min-width: 1440px) {
  .page .engage__step {
    opacity: 0.2;
  }

  .page .engage__step.is-active {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page .engage__visual-img,
  .page .engage__step {
    transition: none;
  }
}

.page a.ai-inlink {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #e3001d;
  text-underline-offset: 3px;
}

.page a.ai-inlink:hover {
  color: #e3001d;
}

.page .process__steps {
  align-items: stretch;
}

.page .process-step,
.page .process-step-follow {
  height: auto;
  min-height: 290px;
  align-items: stretch;
}

.page .process-step > .stack,
.page .process-step-follow > .stack {
  flex: 1 1 auto;
  height: 100%;
  min-height: 100%;
  gap: 24px;
}

.page .process-step__chips {
  margin-top: auto;
}

.page .process__rail {
  overflow: visible;
}

.page .process-step__title a,
.page .engage__step-title a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.page .final-cta__talk a {
  color: inherit;
  text-decoration: none;
}

.page .process-step__title a:hover,
.page .engage__step-title a:hover,
.page .final-cta__talk a:hover {
  color: #e3001d;
}

.page .hero {
  background: #e3001d !important;
  background-image: none !important;
}

.page .hero-dashboard-frame {
  display: contents;
}

.page .button-light {
  border-color: #ffffff;
  color: #e3001d;
}

.page .hero-line-net {
  position: absolute;
  top: 0;
  left: 0;
  width: 517px;
  height: 423px;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.page .hero-line-net path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-line-draw 3.4s ease-in-out infinite;
}

.page .hero-line-net path:nth-child(2) { animation-delay: 0.18s; }
.page .hero-line-net path:nth-child(3) { animation-delay: 0.36s; }
.page .hero-line-net path:nth-child(4) { animation-delay: 0.54s; }
.page .hero-line-net path:nth-child(5) { animation-delay: 0.72s; }
.page .hero-line-net path:nth-child(6) { animation-delay: 0.9s; }
.page .hero-line-net path:nth-child(7) { animation-delay: 1.08s; }
.page .hero-line-net path:nth-child(8) { animation-delay: 1.26s; }
.page .hero-line-net path:nth-child(9) { animation-delay: 1.44s; }

@keyframes hero-line-draw {
  0% { stroke-dashoffset: 1; opacity: 0.25; }
  18% { opacity: 1; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  68% { stroke-dashoffset: 0; opacity: 0.9; }
  100% { stroke-dashoffset: -1; opacity: 0.2; }
}

.page .hero-dashboard__dot,
.page .hero-dashboard__dot-2,
.page .hero-dashboard__dot-3,
.page .hero-dashboard__dot-4,
.page .hero-dashboard__dot-5,
.page .hero-dashboard__dot-6 {
  z-index: 4;
  animation: hero-dot-pulse 1.8s ease-in-out infinite;
}

.page .hero-dashboard__dot-2 { animation-delay: 0.2s; }
.page .hero-dashboard__dot-3 { animation-delay: 0.4s; }
.page .hero-dashboard__dot-4 { animation-delay: 0.6s; }
.page .hero-dashboard__dot-5 { animation-delay: 0.8s; }
.page .hero-dashboard__dot-6 { animation-delay: 1s; }

@keyframes hero-dot-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.page .hero-metric,
.page .hero-metric-resolution,
.page .hero-metric-escalated,
.page .hero-metric-escalated-alt {
  z-index: 5;
  animation: hero-card-in 0.7s ease both;
}

.page .hero-metric-resolution { animation-delay: 0.25s; }
.page .hero-metric-escalated,
.page .hero-metric-escalated-alt { animation-delay: 0.45s; }

@keyframes hero-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page .hero-activity__query,
.page .hero-activity__status,
.page .hero-activity__status-alert {
  min-height: 21px;
}

.page .hero-activity__query.is-typing::after,
.page .hero-activity__status.is-typing::after,
.page .hero-activity__status-alert.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 13px;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -1px;
  animation: hero-caret 0.7s steps(1) infinite;
}

@keyframes hero-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page .hero-line-net path,
  .page .hero-dashboard__dot,
  .page .hero-dashboard__dot-2,
  .page .hero-dashboard__dot-3,
  .page .hero-dashboard__dot-4,
  .page .hero-dashboard__dot-5,
  .page .hero-dashboard__dot-6,
  .page .hero-metric,
  .page .hero-metric-resolution,
  .page .hero-metric-escalated,
  .page .hero-metric-escalated-alt,
  .page .hero-activity__query.is-typing::after,
  .page .hero-activity__status.is-typing::after,
  .page .hero-activity__status-alert.is-typing::after {
    animation: none;
  }
}

/* Hero: keep Figma desktop, reflow tablet/mobile */
@media (min-width: 768px) {
  .page .hero {
    padding-top: 72px !important;
  }
}

@media (max-width: 767px) {
  .page .hero {
    height: auto !important;
    min-height: 0;
    padding: 96px 24px 56px !important;
    align-items: stretch;
    overflow: hidden;
  }

  .page .hero__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 32px;
    width: 100%;
  }

  .page .hero__copy,
  .page .hero__intro,
  .page .hero__summary,
  .page .hero__summary-inner,
  .page .hero__summary-text,
  .page .hero__title {
    width: 100%;
    max-width: 100%;
  }

  .page .hero__copy {
    gap: 24px;
  }

  .page .hero__title {
    font-size: clamp(36px, 6.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .page .eyebrow {
    max-width: 100%;
  }

  .page .eyebrow__text {
    white-space: normal;
    letter-spacing: 1.6px;
    font-size: 12px;
    line-height: 16px;
  }

  .page .inline-cluster {
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }

  .page .button-light,
  .page .button-dark {
    max-width: 100%;
  }

  .page .button-light__label,
  .page .button-dark__label {
    white-space: normal;
  }

  .page .hero__visual {
    width: 100%;
    margin: 0;
    align-items: stretch;
    overflow: hidden;
  }

  .page .hero-dashboard-frame {
    display: block;
    width: 100%;
    max-width: 517px;
    overflow: hidden;
    aspect-ratio: 517 / 423;
    container-type: inline-size;
  }

  .page .hero-dashboard {
    width: 517px;
    height: 423px;
    max-width: none;
    transform-origin: top left;
    transform: scale(calc(100cqw / 517px));
  }

  .page .hero-line-net {
    width: 517px;
    height: 423px;
  }

  .page .hero-activity {
    width: 100%;
    max-width: 433px;
    box-sizing: border-box;
  }

  .page .hero-activity__row,
  .page .cluster-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 8px;
  }

  .page .hero-activity__query,
  .page .hero-activity__status,
  .page .hero-activity__status-alert {
    white-space: normal;
    max-width: 100%;
  }

  .page .hero-dashboard__foreground {
    display: none;
  }
}

@media (max-width: 767px) {
  .page .hero {
    padding: 88px 20px 48px !important;
  }

  .page .hero__title {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.1;
  }

  .page .hero__summary-text {
    font-size: 15px;
    line-height: 22px;
  }


  .page .hero-activity {
    padding: 14px;
    gap: 10px;
  }

  .page .hero-activity__query,
  .page .hero-activity__status,
  .page .hero-activity__status-alert {
    font-size: 13px;
    line-height: 19px;
  }
}

@media (max-width: 480px) {
  .page .hero {
    padding: 80px 16px 40px !important;
  }

  .page .inline-cluster {
    flex-direction: column;
    align-items: stretch;
  }

  .page .button-light,
  .page .button-dark {
    justify-content: center;
    width: 100%;
  }

}

@media (max-width: 767px) {
  .page .process__rail {
    width: 100%;
    height: 24px;
    max-width: none;
  }

  .page .process-step,
  .page .process-step-follow {
    min-height: 0;
    height: auto;
  }

  .page .process-chip__label {
    white-space: normal;
  }

  .page .final-cta__secondary,
  .page .final-cta__talk,
  .page .final-cta__talk a {
    align-items: flex-start;
    text-align: left;
  }

  .page .readiness {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    height: auto;
    padding: 48px 24px;
  }

  .page .readiness__copy {
    width: 100%;
    max-width: 100%;
    gap: 24px;
  }

  .page .readiness .stack,
  .page .readiness .text-group,
  .page .readiness .heading-group,
  .page .readiness .block-title,
  .page .readiness__intro,
  .page .readiness .proof-intro__text {
    width: 100%;
    max-width: 100%;
  }

  .page .readiness .block-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
  }

  .page .readiness .button-light-wide {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
  }

  .page .readiness .action-label {
    white-space: normal;
    text-align: center;
    margin-top: 0;
  }

  .page .readiness-score {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: transparent;
  }

  .page .readiness-score__img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
  }

  .page .narrative-card {
    padding: 32px 20px;
  }

  .page .case-pager {
    height: 32px;
    width: fit-content;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
}

.page .readiness-score {
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: transparent;
}

.page .readiness-score__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page .case-card__link {
  gap: 4px;
}

.page .case-card__link-arrow {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.page .case-card__link:hover .case-card__link-arrow {
  transform: translateX(4px);
}

.page .case-pager {
  width: auto;
  height: 48px;
  justify-content: center;
  gap: 32px;
  padding: 0 16px;
}

.page .case-pager__dots {
  gap: 24px;
}

.page .case-pager__dot {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.page .case-pager__dot.is-active {
  width: 56px;
  background: rgba(15, 23, 42, 0.22);
}

.page .case-pager__dot.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #0f172a;
  border-radius: inherit;
  animation: case-pager-progress 4s linear forwards;
}

@keyframes case-pager-progress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .page .case-pager__dot.is-active::before {
    animation: none;
    width: 100%;
  }
}

