/* Preserve the prototype's layout spacing under the private preview CSP. */
[data-spacing="mt20"] { margin-top: 20px; }
[data-spacing="mt24"] { margin-top: 24px; }
[data-spacing="mt28"] { margin-top: 28px; }
[data-spacing="practice"] { margin: 26px 0 38px; }

.skip-link { position: fixed; z-index: 110; inset: 10px auto auto 10px; padding: 10px 15px;
  color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.empty-state:not([hidden]) { display: block; }
.gallery-item { margin: 0; }
.gallery-item img { height: auto; aspect-ratio: 16 / 9; }
.gallery-item figcaption { padding: 9px 12px 12px; font-size: .82rem; }
.filter-bar { top: 84px; }
.reveal { opacity: 1; transform: none; transition: none; }
.project-card:hover .project-image img { transform: none; }
.expertise-row:hover { padding-left: 0; }
.button { cursor: pointer; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-image img { transition: transform .34s var(--ease); }
  .project-card:is(:hover, :focus-visible) .project-image img { transform: scale(1.015); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter-gently .48s var(--ease) both; }
  .has-motion .reveal { opacity: .82; transform: translateY(6px); transition: opacity .42s var(--ease), transform .42s var(--ease); }
  .has-motion .reveal.is-visible { opacity: 1; transform: none; }
  @keyframes enter-gently {
    from { opacity: .78; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 1050px) {
  .mobile-nav { overflow-y: auto; transition-duration: .28s; }
}
@media (max-width: 720px) {
  .filter-bar { top: 72px; }
}
