/* Four scoped refinements; the original homepage stylesheet remains intact. */
html .service-row h3 a > span {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 180ms ease-out;
}
@media (hover: hover) {
  html .service-row h3 a:hover > span { transform: translateX(5px); }
}
html .service-row h3 a:focus-visible > span { transform: translateX(5px); }
html .quote-controls button { width: 48px; height: 48px; min-width: 48px; }
html .quote-controls > div { gap: 12px; }
html .quotes { position: relative; }
html .quotes .is-leaving { position: absolute; inset: 0 0 auto; pointer-events: none; }
html .footer .footer-brand { background: transparent; }
/* Reverse the existing artwork in the browser; preserve its actual geometry. */
html .footer-brand svg { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
@media (max-width: 600px) {
  /* Retain the intended word break instead of joining “OurClients” on phones. */
  html .client-section h2 br { display: revert; }
  html .working-photo img {
    height: clamp(240px, 66vw, 300px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html .service-row h3 a > span { transition: none; transform: none; }
}

:root { --ra-header-sheen:rgba(255,255,255,.66); }
.header .ra-header-symbol { display:block; position:relative; flex-shrink:0; }
.header .ra-header-wordmark { display:block; position:relative; flex-shrink:0; overflow:clip; }
.ra-header-light { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; mix-blend-mode:screen; filter:grayscale(1); opacity:0; pointer-events:none; }
html .ra-header-light.is-playing { opacity:.72; }
.ra-header-sheen { position:absolute; top:0; bottom:0; left:0; width:35%; background:linear-gradient(105deg,transparent,var(--ra-header-sheen),transparent); mix-blend-mode:screen; opacity:0; pointer-events:none; }

@media (prefers-reduced-motion:reduce) {
  .ra-header-light, .ra-header-wordmark .ra-header-sheen { display:none; }
}

.rai-symbol-stage { display:block; position:relative; flex:0 0 90px; width:90px; height:91px; }
.rai-symbol-stage .rai-symbol { width:100%; height:100%; }
.rai-logo-light { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; mix-blend-mode:screen; opacity:0; pointer-events:none; }
html .rai-logo-light.is-playing { opacity:.82; }
#ai-logo { scroll-margin-top:20px; }
@media (max-width:850px) { .rai-symbol-stage { flex-basis:70px; width:70px; height:71px; } }
@media (max-width:600px) { .rai-symbol-stage { flex-basis:73px; width:73px; height:74px; } }
@media (max-width:360px) { .rai-symbol-stage { flex-basis:63px; width:63px; height:64px; } }
@media (prefers-reduced-motion:reduce) { .rai-logo-light { display:none; } }
