/* A quiet utility, separate from the primary contact action. */
.service-back-to-top{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid #d6dce8;border-top:2px solid #42b7cd;border-radius:4px;background:#fff;color:#252b73;box-shadow:0 3px 14px #11163f16;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,background .18s ease,visibility .18s}
.service-back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.service-back-to-top:hover{background:#edf3f8}
.service-back-to-top:focus-visible{outline:2px solid #00889e;outline-offset:4px}
@media(max-width:920px){.service-back-to-top{right:16px;bottom:calc(80px + env(safe-area-inset-bottom,0px));width:44px;height:44px}}


@media(max-width:920px){body:not(:has(.mobile-contact-bar)) .service-back-to-top{bottom:24px}}
@media(prefers-reduced-motion:reduce){.service-back-to-top{transition:none}}

/* The logo and adviser link change widths at 360px. Preserve both tap targets
   where the default side padding leaves too little room for the menu. */
@media (max-width: 324px), (min-width: 360.01px) and (max-width: 367.99px) {
  header.site-header.architecture-header {
    padding-inline: 8px;
    column-gap: 6px;
  }
}
