/* Shared motion retains the legacy button geometry on these pages. */
@keyframes experience-shine { 0% { transform: translateX(-110%); opacity: 0; } 12%,80% { opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused):not(.page-inactive) :is(.button-primary,.site-nav .nav-contact):not(:disabled):not([aria-disabled="true"]):is(:hover,:focus-visible)::before { animation-name: experience-shine; animation-timing-function: var(--motion-out); }
}
.faq-list summary > span { transition-timing-function: var(--motion-out); }
body[data-input="keyboard"] .faq-list summary > span { transition: none; }
/* Progressive loading: reserve the real portrait, without hiding page content. */
.media-frame { position: relative; width: 100%; aspect-ratio: 768 / 961; overflow: hidden; background: #101f3d; }
.founder-photo .media-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-frame > [hidden] { display: none !important; }
.media-skeleton { position: absolute; inset: 0; overflow: hidden; background: #172748; pointer-events: none; }
.media-skeleton::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 28%, #96adff1c 48%, transparent 68%); transform: translateX(-100%); animation: media-loading 1.6s linear infinite; }
.media-error { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; padding: 28px; color: #f7f3e8; font-size: 1rem; line-height: 1.65; text-align: center; }
@keyframes media-loading { to { transform: translateX(100%); } }
.motion-paused .media-skeleton::before, .page-inactive .media-skeleton::before,
body[data-input="keyboard"] .media-skeleton::before, .media-still .media-skeleton::before { animation: none; transform: none; }
body[data-input="keyboard"] :is(.button-primary,.site-nav .nav-contact)::before { animation: none !important; opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .media-skeleton::before { animation: none; transform: none; }
}
