/* About page only. Motion never changes layout or PDF dialog behavior. */
@media (prefers-reduced-motion: no-preference) {
  .about-motion-ready .about-reveal {
    opacity: 0;
    transform: translate3d(0, 23px, 0);
    transition: opacity 650ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--about-delay, 0ms);
    will-change: opacity, transform;
  }
  .about-motion-ready .about-reveal.about-in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
  .about-layout .about-photo img { transition: transform 650ms ease; }
  .about-layout .about-photo:hover img { transform: scale(1.035); }
  .about-proficiencies .about-rating > span.is-filled,
  .about-software-panel .about-rating > span.is-filled {
    transition: box-shadow 250ms ease, transform 250ms ease;
  }
  .about-proficiencies .about-language-row:hover .about-rating > span.is-filled,
  .about-software-panel .about-software-row:hover .about-rating > span.is-filled {
    transform: scale(1.13);
    box-shadow: 0 0 10px rgba(67,139,243,.4);
  }
  .about-software-panel, .about-resume-card, .education-grid > .info-panel {
    transition: border-color 280ms ease, box-shadow 280ms ease;
  }
  .about-software-panel:hover, .about-resume-card:hover, .education-grid > .info-panel:hover {
    border-color: #4776b4;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Progressive reveal for all About page elements. */
@media (prefers-reduced-motion: no-preference) {
  .about-enter-ready {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 650ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--about-enter-delay, 0ms);
  }
  .about-enter-ready.about-enter-visible {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-enter-ready { opacity: 1 !important; transform: none !important; transition: none !important; }
}
