/* A restrained entrance, complete within 900ms of opening the homepage. */
@keyframes aa-portrait-enter {
  from { transform: translateX(-16px); }
  to { transform: translateX(0); }
}
@keyframes aa-intro-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
body#home-page .aa-hero-photo { animation: aa-portrait-enter 650ms cubic-bezier(.2,.65,.3,1) both; }
body#home-page .aa-hero-content > * { animation: aa-intro-enter 480ms ease both; }
body#home-page .aa-hero-content .aa-name { animation-delay: 100ms; }
body#home-page .aa-hero-role { animation-delay: 200ms; }
body#home-page .aa-hero-bio { animation-delay: 280ms; }
body#home-page .aa-hero-content .aa-hero-about { animation-delay: 400ms; }

/* Keep dark lettering readable throughout the surface-color transition. */
html body#home-page .aa-hero-about {
  color: #000 !important; background: #fff !important;
  border: 1px solid #000 !important; border-radius: 999px;
  background-clip: padding-box !important;
  transition: background-color 240ms ease, border-color 240ms ease;
}
html body#home-page .aa-hero-about:is(:hover, :focus-visible) {
  color: #000 !important; background-color: #e6e6e6 !important;
}
body#home-page .aa-section-band > p {
  font-size: clamp(16px, 1.5vw, 22px) !important;
  line-height: 1.5; letter-spacing: .12em !important;
  text-wrap: balance;
}
body#home-page .aa-card-reveal {
  opacity: 0; translate: 0 14px;
  transition: opacity 520ms ease, translate 520ms cubic-bezier(.2,.65,.3,1);
  transition-delay: var(--aa-card-delay, 0ms);
}
body#home-page .aa-card-reveal.aa-card-visible { opacity: 1; translate: 0 0; }
/* Keyboard navigation reveals links immediately, including the photo strip. */
body#home-page .aa-card-reveal:focus-within {
  opacity: 1; translate: 0 0; transition-delay: 0ms;
}
@media (prefers-reduced-motion: reduce) {
  body#home-page .aa-hero-photo,
  body#home-page .aa-hero-content > * { animation: none; }
  html body#home-page .aa-hero-about { transition: none; }
  body#home-page .aa-card-reveal { opacity: 1; translate: none; transition: none; }
}
