/* AZO V5.64 — shared interaction polish, preserving all original brand artwork and structure. */
:root{
 --azo-m-ease:cubic-bezier(.22,1,.36,1);
 --azo-m-reveal:780ms;
 --azo-m-hover:260ms;
 --azo-m-stagger:72ms;
 --azo-m-rise:18px;
 --azo-m-tap:0.98;
}
/* Keep the existing floating glass appearance, make changes continuous instead of abrupt. */
html body #siteHeader .nav-pill{
  transition:transform 420ms var(--azo-m-ease),box-shadow 420ms var(--azo-m-ease),background-color 420ms var(--azo-m-ease),border-color 420ms var(--azo-m-ease)!important;
  will-change:auto;
}
html body #siteHeader.azo-nav-scrolled .nav-pill{
  transform:translate3d(0,-3px,0);
  box-shadow:0 12px 38px rgba(221,124,44,.15),inset 0 1px rgba(255,255,255,.24);
}
/* Scroll progress is a separate non-interactive hairline, not another header row. */
html body #siteHeader .nav-pill::after{
 content:"";position:absolute;inset:auto 12px 1px 12px;height:2px;border-radius:999px;
 background:linear-gradient(90deg,#DD7C2C,#F89F29);
 transform:scaleX(var(--azo-progress,0));transform-origin:right center;
 opacity:.68;pointer-events:none;z-index:5;
 box-shadow:0 0 9px rgba(248,159,41,.24);
}
html[dir="ltr"] body #siteHeader .nav-pill::after{transform-origin:left center}
/* Distinct touch feedback without relying on hover for phone users. */
html body :is(a,button,[role="button"]){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
html body :is(.hero-cta,.nav-contact,.azo-work-more-link,.azo-work-browse-link,.azo-service-cta-v515,.azo-partners-cta,.azo-footer-cta,button):active{
 transform:scale(var(--azo-m-tap));transition-duration:130ms!important;
}
@media (hover:hover) and (pointer:fine){
 html body :is(.azo-case-card,.azo-service-card,.azo-feedback-card,.azo-work-card,.azo-logo-card,.service-card,.production-tile){
  transition:transform 520ms var(--azo-m-ease),box-shadow 480ms ease,border-color 360ms ease!important;
 }
 html body :is(.azo-case-card,.azo-service-card,.azo-work-card,.service-card,.production-tile):hover{
  transform:translate3d(0,-4px,0);
 }
 html body .nav-links a{transition:color 220ms ease,opacity 220ms ease!important}
}
/* Existing mobile menu, now an intentional tactile glass sheet. */
@media(max-width:760px){
 html body #siteHeader .nav-pill{transition:transform 350ms var(--azo-m-ease),box-shadow 350ms ease!important}
 html body #mobileDrawer.mobile-drawer{
   backdrop-filter:blur(22px) saturate(145%);
   -webkit-backdrop-filter:blur(22px) saturate(145%);
   box-shadow:0 22px 52px rgba(221,124,44,.19),inset 0 1px rgba(255,255,255,.25);
 }
 html body #mobileDrawer.mobile-drawer a{
   min-height:46px;transition:background-color 200ms ease,transform 200ms var(--azo-m-ease),opacity 200ms ease;
 }
 html body #mobileDrawer.mobile-drawer a:active{transform:scale(.985);background-color:rgba(248,159,41,.16)}
 html body :is(.hero-actions,.azo-work-more){row-gap:12px}
 /* Prevent cropped content edges during horizontal swipe areas. */
 html body :is(.azo-case-grid,.azo-logo-gallery){overscroll-behavior-x:contain}
}
/* One reveal treatment; no continuous blur, no text-character splitting. */
@media(prefers-reduced-motion:no-preference){
 html.js body .azo-v564-reveal{
   opacity:0;transform:translate3d(0,var(--azo-m-rise),0);
   transition:opacity var(--azo-m-reveal) ease,transform var(--azo-m-reveal) var(--azo-m-ease)!important;
   transition-delay:var(--azo-reveal-delay,0ms)!important;
 }
 html.js body .azo-v564-reveal.azo-v564-visible{opacity:1;transform:translate3d(0,0,0)}
 html.js body .azo-v564-reveal.azo-v564-visible:is(a,button){transition-delay:0ms!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 html body .azo-v564-reveal{opacity:1!important;transform:none!important;transition:none!important}
 html body #siteHeader .nav-pill::after{transition:none!important}
 html body #siteHeader .nav-pill{transform:none!important}
}
/* V5.62 removed the intro. The old mobile header recovery animation must not hide navigation. */
@media(max-width:760px){
 html body #siteHeader,
 html body #siteHeader:not(.ready){
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  animation:none!important;
  transform:none!important;
 }
}
