.profile-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-width: 44px;
  min-height: 44px;
  border-radius: 5px;
  transition: background-color .2s, color .2s;
}

.profile-links a:is(:hover,:focus-visible) {
  background: color-mix(in srgb,currentColor 11%,transparent);
  text-decoration: none;
}

.profile-links img,
.case-links .button img {
  display: block;
  flex: none;
  object-fit: contain;
}

.profile-links img { width: 20px; height: 20px; }
.case-links .button img { width: 17px; height: 17px; }

.profile-links-labelled { justify-content: flex-start; gap: 12px; margin-top: 1rem; }
.profile-links-labelled a { padding: 0 .65em; font-size: 14px; }

.efindeck-case .efin-hero-mark {
  position: absolute;
  top: 40%;
  left: 5%;
  width: 38%;
  height: auto;
  opacity: .3;
  transform: rotate(-13deg) translate(var(--pan-x, 0),var(--pan-y, 0));
}

.efindeck-case .efin-hero-slide {
  inset: 14% 8% auto auto;
  width: 68%;
  background: none;
  box-shadow: 0 15px 32px #15253624;
  border: 0;
}

.efindeck-case .case-links .button { display: inline-flex; align-items: center; gap: 8px; }
.efindeck-case .experience-heading { display: block; margin-bottom: 16px; }
.demo-guide { margin-bottom: 14px; scroll-margin-top: 85px; }
.demo-steps {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.demo-steps button,
.demo-fill {
  min-height: 44px;
  padding: 0 .9em;
  color: var(--accent);
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.demo-steps button[aria-pressed="true"] {
  font-weight: 700;
  box-shadow: inset 0 -2px var(--accent);
}

.demo-steps button:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--accent) 8%,transparent); }
.demo-instructions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
}

.demo-instructions p, .demo-guide-status { margin: 0; font-size: 14px; line-height: 1.55; }
.demo-guide-status { color: var(--accent); }
.demo-guide-status:empty { display: none; }

.demo-fill {
  flex: none;
  border-radius: 5px;
  background: var(--accent);
  color: var(--paper);
}

.demo-fill:disabled { opacity: .5; cursor: default; }
.efindeck-case .demo-feedback { justify-content: flex-end; }

@media (max-width:740px) {
  .editorial .header-inner {
    grid-template-columns: minmax(0,1fr) auto auto;
    gap: 5px;
  }

  .editorial .header-inner .signature { font-size: clamp(14px,4.8vw,17px); gap: 5px; }
  .editorial .header-inner nav { gap: 10px; white-space: nowrap; }
  .topbar nav { gap: 12px; }
  .topbar .profile-links { grid-column: 3; }
  .topbar .profile-links a { display: inline-flex; }
  .demo-steps button { padding-inline: 10px; }
}

@media (prefers-reduced-motion:reduce) {
  .profile-links a { transition: none; }
}

