/* Small responses to a visitor's touch, without moving the page around. */
.starting-link:focus-visible { outline-offset: -3px; background: #e9edf9; }
.project-card:focus-within { border-color: var(--blue); }
.project-open:focus-visible { outline-offset: 5px; color: var(--blue); }
.project-open:focus-visible span { background: var(--lime); }
.album-print:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
.album-tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.round-control:focus-visible { background: var(--blue); color: white; }
.album-section .round-control:focus-visible { background: var(--lime); color: var(--ink); outline-color: var(--lime); }
.filters button:focus-visible:not([aria-pressed="true"]),
.album-filters button:focus-visible:not([aria-pressed="true"]) { background: #e5eaf8; color: var(--blue); }
.work-view-switch button:focus-visible { outline-offset: -2px; }
.text-link:focus-visible, .story-link:focus-visible, .album-original:focus-visible,
.game-tools button:focus-visible, .text-button:focus-visible { text-decoration-thickness: 2px; }
.site-header nav a:focus-visible:not(.nav-contact) { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.button:active, .language-toggle:active, .suggested-questions button:active { filter: brightness(.94); }
.starting-link:active { background: #e1e7f6; }
.project-open:active span { background: var(--lime); }
.album-print:active .album-print-number { background: white; }
.wordmark-symbol, .starting-arrow { display: inline-block; }

@media (hover: hover) {
  .project-open:hover { color: var(--blue); }
  .project-card:hover .project-open span { border-color: var(--blue); }
  .album-print:hover .album-print-number { background: white; }
  .text-link:hover, .story-link:hover, .album-original:hover,
  .game-tools button:hover, .text-button:hover { text-decoration-thickness: 2px; }
  .suggested-questions button:hover { border-color: var(--blue); color: var(--blue); }
  .work-view-switch button:hover:not([aria-pressed="true"]) { background: #f2f4fb; color: var(--blue); }
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-enabled:not(.motion-paused) .wordmark-symbol {
    transition: transform .32s cubic-bezier(.2,.8,.3,1.2);
    transform-origin: center;
  }
  html.motion-enabled:not(.motion-paused) .starting-arrow,
  html.motion-enabled:not(.motion-paused) .project-open span {
    transition: transform .24s cubic-bezier(.2,.8,.3,1.2), background .18s, border-color .18s;
  }
  html.motion-enabled:not(.motion-paused) .starting-link,
  html.motion-enabled:not(.motion-paused) .suggested-questions button,
  html.motion-enabled:not(.motion-paused) .work-view-switch button {
    transition: background .16s, border-color .16s, color .16s;
  }
  html.motion-enabled:not(.motion-paused) .button,
  html.motion-enabled:not(.motion-paused) .language-toggle {
    transition: translate .16s, box-shadow .16s, background .16s, color .16s;
  }
  html.motion-enabled:not(.motion-paused) .hero-actions .button:active {
    translate: 2px 2px;
    box-shadow: 2px 2px 0 #ccd4f6;
  }
  html.motion-enabled:not(.motion-paused) .button:active:not(.hero-actions .button),
  html.motion-enabled:not(.motion-paused) .language-toggle:active { translate: 0 2px; }
  html.motion-enabled:not(.motion-paused) .starting-link:focus-visible .starting-arrow { transform: translate(3px,-3px); }
  html.motion-enabled:not(.motion-paused) .project-open:focus-visible span { transform: rotate(90deg); }
  html.motion-enabled:not(.motion-paused) .wordmark:focus-visible .wordmark-symbol { transform: rotate(-12deg); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html.motion-enabled:not(.motion-paused) .wordmark:hover .wordmark-symbol { transform: rotate(-12deg); }
  html.motion-enabled:not(.motion-paused) .starting-link:hover .starting-arrow { transform: translate(3px,-3px); }
  html.motion-enabled:not(.motion-paused) .project-card:hover .project-open span { transform: rotate(90deg); }
}
