/* Match the emblem coordinates in the existing 735.212 x 180 lockup. */
.site-header .brand picture, .site-header .brand picture img { display: block; }
/* Hide the original static emblem, leaving the animated frames transparent. */
.site-header .brand picture { clip-path: inset(0 0 0 21.76243%); }
.site-header .brand-motion {
  position: absolute;
  left: 0;
  top: 5.555556%;
  width: 21.76243%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  pointer-events: none;
}
.brand-frame-cyan { stroke: #32afcc; animation: frame-cyan-exchange 8s ease-in-out infinite; }
.brand-frame-orange { animation: frame-orange-exchange 8s ease-in-out infinite; }
@keyframes frame-cyan-exchange {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(18px, 0); }
  50% { transform: translate(18px, 10px); }
  75% { transform: translate(0, 10px); }
}
@keyframes frame-orange-exchange {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-18px, 0); }
  50% { transform: translate(-18px, -10px); }
  75% { transform: translate(0, -10px); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-frame-cyan, .brand-frame-orange { animation: none; }
}

.brand-intro { display: none; }
html[data-brand-intro="active"] .brand-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #f1f2f2;
  pointer-events: none;
  animation: brand-intro-reveal 1.3s linear both;
}
.brand-intro svg { width: 112px; height: 112px; }
.intro-frame-cyan { animation: frame-cyan-exchange 1s ease-in-out both; }
.intro-frame-orange { animation: frame-orange-exchange 1s ease-in-out both; }
@keyframes brand-intro-reveal {
  0%, 75% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-brand-intro="active"] .brand-intro { display: none; animation: none; }
  .intro-frame-cyan, .intro-frame-orange { animation: none; }
}
