/* NXT GEN WEB: three original chevrons move forward through the X.
   Original bitmap pixels are reused. The original image paints during each
   rest period and for reduced motion; both logo links retain their own dimensions. */
.ngc-brand__art {
  position: relative;
  display: block;
  width: 100%;
  isolation: isolate;
  --ngc-logo-cycle: 4.6s;
}
.ngc-brand__art > img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
}
.ngc-brand__motion {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ngc-logo-motion__arrow {
  transform-box: view-box;
  transform-origin: 0 0;
}
@media (prefers-reduced-motion: no-preference) {
  .ngc-brand__original {
    animation: ngc-logo-original-frame var(--ngc-logo-cycle) steps(1, end) infinite;
  }
  .ngc-brand__motion {
    display: block;
    animation: ngc-logo-moving-frame var(--ngc-logo-cycle) steps(1, end) infinite;
  }
  .ngc-logo-motion__arrow {
    animation-duration: var(--ngc-logo-cycle);
    animation-timing-function: cubic-bezier(.22,.61,.36,1);
    animation-iteration-count: infinite;
  }
  .ngc-logo-motion__arrow--1 { animation-name: ngc-logo-chevron-first; }
  .ngc-logo-motion__arrow--2 { animation-name: ngc-logo-chevron-second; }
  .ngc-logo-motion__arrow--3 { animation-name: ngc-logo-chevron-third; }
}
/* All chevrons return before the exact original bitmap takes over. */
@keyframes ngc-logo-original-frame {
  0%, 31% { opacity: 0; }
  32%, 100% { opacity: 1; }
}
@keyframes ngc-logo-moving-frame {
  0%, 31% { opacity: 1; }
  32%, 100% { opacity: 0; }
}
@keyframes ngc-logo-chevron-first {
  0%, 3% { transform: translateX(0); }
  9%, 12% { transform: translateX(6px); }
  22%, 100% { transform: translateX(0); }
}
@keyframes ngc-logo-chevron-second {
  0%, 5% { transform: translateX(0); }
  12%, 15% { transform: translateX(9px); }
  25%, 100% { transform: translateX(0); }
}
@keyframes ngc-logo-chevron-third {
  0%, 7% { transform: translateX(0); }
  15%, 18% { transform: translateX(12px); }
  29%, 100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ngc-brand__original { animation: none; opacity: 1; }
  .ngc-brand__motion { display: none; animation: none; }
}


/* Match the existing footer logo's footprint. */
.ngc-footer .ngc-footer__logo {
  display: block;
  width: 170px;
  max-width: 100%;
  line-height: 0;
}

/* The compact header contains the brand and the menu toggle. */
@media (max-width:1100px) {
 body.ng-chrome .global-header.ngc-header .ngc-header__inner {
   display:flex;
   align-items:center;
   justify-content:space-between;
   gap:12px;
   width:calc(100% - 36px);
   margin-inline:auto;
 }
 body.ng-chrome .global-header.ngc-header .ngc-desktop-nav,
 body.ng-chrome .global-header.ngc-header .ngc-header__inner > .ngc-quote {
   display:none!important;
 }
 body.ng-chrome .global-header.ngc-header .ngc-mobile {
   margin-inline-start:auto;
   min-width:40px;
 }
}
@media (max-width:600px) {
 body.ng-chrome .global-header.ngc-header .ngc-header__inner {
   width:calc(100% - 28px);
 }
}
/* Center the mobile homepage hero as one cohesive column, not offset by
   the decorative kicker rule or legacy hero flex/width settings. */
@media(max-width:800px) {
 body.home .ngh section.ngh-hero.nghd-hero-classic {
   display:flex;
   flex-direction:column;
   align-items:center;
   justify-content:space-between;
   width:100%;
   margin:0;
   padding-left:0;
   padding-right:0;
   box-sizing:border-box;
   overflow-x:clip;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic > .ngh-shell.ngh-hero__content {
   position:relative;
   z-index:2;
   display:flex!important;
   flex:1 1 auto;
   flex-direction:column!important;
   align-items:center!important;
   justify-content:center!important;
   gap:0;
   width:calc(100% - 40px)!important;
   max-width:610px!important;
   min-width:0!important;
   margin:0 auto!important;
   padding:10px 0 28px!important;
   text-align:center!important;
   transform:none!important;
   left:auto!important;
   right:auto!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-kicker {
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   margin:0 auto 18px!important;
   padding:0!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-kicker::before {display:none!important;content:none!important}
 body.home .ngh section.ngh-hero.nghd-hero-classic h1 {
   display:block!important;
   box-sizing:border-box!important;
   width:100%!important;
   max-width:100%!important;
   margin:0 auto!important;
   padding:0!important;
   text-align:center!important;
   text-wrap:balance;
   overflow-wrap:normal;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__lead {
   display:block!important;
   width:100%!important;
   max-width:600px!important;
   margin:22px auto 0!important;
   padding:0!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-actions {
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   width:100%!important;
   max-width:355px!important;
   margin:26px auto 0!important;
   padding:0!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-actions .ngh-btn {
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   width:100%!important;
   max-width:355px!important;
   margin:0 auto!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .nghd-hero-classic__note {
   width:100%!important;
   max-width:600px!important;
   margin:16px auto 0!important;
   padding:0!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__quicklinks {
   display:flex!important;
   flex-flow:column nowrap!important;
   align-items:center!important;
   justify-content:center!important;
   width:100%!important;
   max-width:100%!important;
   margin:20px auto 0!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__quicklinks > a {
   margin-inline:auto!important;
   justify-content:center;
   max-width:100%;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__bottom {
   width:calc(100% - 40px)!important;
   max-width:610px!important;
   margin-inline:auto!important;
   justify-content:center!important;
   text-align:center!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__bottom p {
   width:100%;
   text-align:center!important;
 }
}
@media (max-width:420px) {
 body.home .ngh section.ngh-hero.nghd-hero-classic > .ngh-shell.ngh-hero__content,
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-hero__bottom {
   width:calc(100% - 32px)!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic h1 {
   font-size:clamp(37px,9.6vw,44px)!important;
   line-height:1.08!important;
 }
 body.home .ngh section.ngh-hero.nghd-hero-classic .ngh-kicker {font-size:12px!important;line-height:1.45!important}
}
