/* A quiet, labelled secondary destination beside the existing client entry. */
.header-links {
  position: absolute;
  top: clamp(22px, 2.6vw, 38px);
  right: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 28px;
  pointer-events: auto;
}

.header-links .header-login {
  position: static;
}

.header-robotics {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.header-robotics__arrow {
  font-size: 0.9em;
}

.header-robotics:hover > span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Keep the corporate wordmark recognisable when the two destinations need room. */
@media (min-width: 561px) and (max-width: 1040px) {
  .page-home .site-brand__descriptor { display: none; }
  .page-home .site-brand__wordmark { width: 190px; }
}

@media (max-width: 700px) {
  .header-links { gap: 20px; }
  .header-robotics { font-size: 0.75rem; }
  .header-links .header-login { padding-inline: 12px; font-size: 0.62rem; }
}

@media (max-width: 560px) {
  .header-links { top: 16px; gap: 16px; }
  .header-robotics { min-height: 44px; font-size: 0.75rem; gap: 6px; }
  .header-links .header-login { min-height: 44px; padding-inline: 10px; font-size: 0.58rem; }
}
