/* Shared button feedback. Independent scale preserves carousel positioning transforms. */
:is(#pedante-fr,body) :is(button:not(.work-thumbnail):not([data-work]),a.cta,.model-selector a){transition:scale .18s ease,background-color .18s ease}
@media(hover:hover) and (pointer:fine){
:is(#pedante-fr,body) :is(button:not(.work-thumbnail):not([data-work]),a.cta,.model-selector a):not(:disabled):hover{scale:1.035;background-color:#ededed}
:is(#pedante-fr,body) :is(a.cta,button.cta,.model-selector a[aria-current]):not(:disabled):hover{background-color:#303030;color:#fff}
}
/* Retain the back-to-top control's existing half-second fades. */
html body .back-to-top{transition:opacity .5s ease,visibility 0s linear .5s,scale .18s ease,background-color .18s ease}
html body .back-to-top.is-visible{transition:opacity .5s ease,visibility 0s,scale .18s ease,background-color .18s ease}
@media(prefers-reduced-motion:reduce){
:is(#pedante-fr,body) :is(button:not(.work-thumbnail):not([data-work]),a.cta,.model-selector a){transition:none;scale:1!important}
html body .back-to-top,html body .back-to-top.is-visible{transition:none}
}

/* Shared text selection colour across all pages. */
::selection{background:#EBBF03;color:#fff;fill:#fff;text-shadow:none}

/* SVG glyphs use fill rather than ordinary text colour. */
svg text,svg tspan{fill:currentColor}
svg text::selection,svg tspan::selection{background:#EBBF03;color:#fff;fill:#fff;-webkit-text-fill-color:#fff}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer .socials a svg {
    transition: transform 180ms ease;
  }

  .footer .socials a:hover svg {
    transform: scale(1.1);
  }
}
