/* A light signal follows the waveform already drawn in the official emblem. */
.site-header .wordmark { position: relative; }
.site-header .az-logo-signal {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: var(--az-logo-size, 70px);
  height: var(--az-logo-size, 70px);
  transform: translateY(-50%);
  pointer-events: none;
  overflow: visible;
}
.az-logo-signal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.az-logo-signal .az-logo-flow {
  fill: none;
  stroke: #f3c48a;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 8 78;
  opacity: .8;
  filter: drop-shadow(0 0 2px #ffdba5);
  animation: az-logo-flow 4.6s linear infinite;
}
.az-logo-signal .az-logo-echo {
  fill: none;
  stroke: #d67355;
  stroke-width: .7;
  stroke-dasharray: 4 82;
  opacity: .45;
  animation: az-logo-flow 6.2s linear infinite reverse;
}
.az-logo-signal .az-logo-ring {
  fill: none;
  stroke: #edaf7b;
  stroke-width: .7;
  opacity: 0;
  transform-origin: center;
  animation: az-logo-ring 5.4s ease-out infinite;
}
.az-logo-signal .az-logo-ring:last-child { animation-delay: 2.7s; }
.site-header.az-logo-sounding .az-logo-flow { animation-duration: 1.15s; stroke-width: 1.8; opacity: 1; }
.site-header.az-logo-sounding .az-logo-ring { animation-duration: 1.45s; opacity: .75; }
.site-header .az-logo-sound {
  position: absolute;
  z-index: 5;
  width: 32px;
  height: 32px;
  padding: 5px;
  display: grid;
  place-items: center;
  color: #ffe1b4;
  border: 1px solid rgba(246,194,135,.8);
  border-radius: 50%;
  background: rgba(8,48,53,.94);
  box-shadow: 0 2px 10px rgba(0,0,0,.35), inset 0 0 8px rgba(225,125,87,.18);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header .az-logo-sound svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.site-header .az-logo-sound:hover,
.site-header .az-logo-sound:focus-visible {
  transform: scale(1.1);
  color: #fff5e4;
  background: #a74d35;
  box-shadow: 0 0 13px rgba(233,134,90,.65);
}
.site-header .az-logo-sound:focus-visible { outline: 2px solid #fff1d3; outline-offset: 3px; }
.site-header.az-logo-sounding .az-logo-sound { background: #a74d35; box-shadow: 0 0 14px rgba(233,134,90,.6); }
@keyframes az-logo-flow { to { stroke-dashoffset: -86; } }
@keyframes az-logo-ring { 0% { opacity: 0; transform: scale(.77); } 12% { opacity: .6; } 75%,100% { opacity: 0; transform: scale(1.24); } }
@media (prefers-reduced-motion: reduce) {
  .az-logo-signal *, .site-header .az-logo-sound { animation: none !important; transition: none !important; }
  .az-logo-signal .az-logo-ring { opacity: 0 !important; }
}
html.motion-off .az-logo-signal *,
html.az-head-save-data .az-logo-signal *,
html.az-head-hidden .az-logo-signal * { animation: none !important; }
html.motion-off .az-logo-signal .az-logo-ring,
html.az-head-save-data .az-logo-signal .az-logo-ring,
html.az-head-hidden .az-logo-signal .az-logo-ring { opacity: 0 !important; }
