/* Play the supplied dog-head poses; restore the untouched logo at rest. */
.ridgeback-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #1b1e1c;
  pointer-events: none;
  overflow: hidden;
}
.ridgeback-intro-logo {
  position: relative;
  width: min(86vw, 76vh, 620px);
  width: min(86vw, 76svh, 620px);
  aspect-ratio: 1;
  pointer-events: none;
}
.ridgeback-intro-logo > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
.ridgeback-intro-logo > .ridgeback-head-original {
  clip-path: inset(0 0 32% 0);
}
.ridgeback-intro-wordmark {
  clip-path: inset(68% 0 20% 0);
}
.ridgeback-intro-logo > .ridgeback-intro-subline {
  clip-path: inset(80% 0 0 0);
}
.ridgeback-head-stage {
  position: absolute;
  left: -26px;
  top: -7px;
  width: 96px;
  height: 96px;
  display: block;
  pointer-events: none;
}
.portal-header .ridgeback-head-stage {
  left: -22px;
  top: -6px;
  width: 80px;
  height: 80px;
}
.ridgeback-intro-logo .ridgeback-head-stage {
  inset: 0;
  width: 100%;
  height: 100%;
}
.ridgeback-head-stage > .ridgeback-bark-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
[data-logo-animating] {
  overflow: visible !important;
}
[data-logo-animating] > .ridgeback-head-original {
  opacity: 0;
}
@media (max-width: 600px) {
  .site-header .ridgeback-head-stage {
    left: -21px;
    top: -5px;
    width: 76px;
    height: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ridgeback-intro {
    display: none !important;
  }
  .ridgeback-head-stage {
    display: none !important;
  }
  [data-logo-animating] > .ridgeback-head-original {
    opacity: 1;
  }
}
@media print {
  .ridgeback-intro {
    display: none !important;
  }
  .ridgeback-head-stage {
    display: none !important;
  }
  [data-logo-animating] > .ridgeback-head-original {
    opacity: 1;
  }
}
