/* Global RsquareGames polish: motion, interaction and readable focus states */
#common-header { position: relative; z-index: 1100; min-height: 78px; }
@media (max-width: 860px) { #common-header { min-height: 70px; } }
.rsq-header { opacity: 1; animation: rsqHeaderSettle .28s ease-out both; }
@keyframes rsqHeaderSettle { from { opacity: .88; } to { opacity: 1; } }

:where(.capability-card,.work-card,.ins-card,.tech-card,.ind-card,
.rsq-svc-card-link,.rsq-about-proof-card,.rsq-detail-visual,
.rsq-contact-form-card) {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease,
              background-color .24s ease;
}
:where(.capability-card,.work-card,.ins-card,.tech-card,.ind-card,
.rsq-svc-card-link,.rsq-about-proof-card):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
:where(a,button,summary,[role="button"]):focus-visible {
  outline: 2px solid #76e4d1;
  outline-offset: 4px;
}
:where(.button,.rsq-nav-cta,.work-store-btn,.card-link,.work-card-link) {
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease,
              background-color .2s ease, border-color .2s ease;
}
:where(.button,.rsq-nav-cta,.work-store-btn):hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
}
.rsq-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .capability-card,.work-card,.ins-card,.tech-card,.ind-card,
  .rsq-svc-card-link,.rsq-about-proof-card {
    animation: rsqSoftRise .55s both;
  }
  @keyframes rsqSoftRise {
    from { opacity: .82; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.partner-wordmark{display:flex;align-items:center;justify-content:center;min-height:64px;
  color:#f5f8fb;font-family:'Space Grotesk',Arial,sans-serif;font-size:25px;
  font-weight:700;letter-spacing:-.06em}
