/* The client entrance shares the site's paper, ink and square geometry. */
.top nav { margin-left: auto; align-items: center; }
.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font: 700 11px/1 var(--body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.portal-link:hover,
.portal-link[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.portal-link:hover { background: var(--ox); border-color: var(--ox); }
@media (max-width: 900px) {
  .top { flex-wrap: wrap; gap: 10px 20px; }
  .top nav { order: 3; width: 100%; margin-left: 0; }
  .portal-link { margin-left: auto; }
}
@media (max-width: 420px) {
  .top { gap: 8px 12px; padding-block: 16px; }
  .portal-link { gap: 12px; padding-inline: 12px; font-size: 10px; }
}
@media (max-width: 360px) {
  .top .mark span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-link { transition: none; }
}
