html {
  background: #080f1c;
}

/* Carry the existing TKH name shine into the blue profile palette. */
:is(#vt-card, #ek-card) h1 .word-shine {
  --shine-base: #edf4ff;
  --shine-soft: #a5e4fa;
  --shine-peak: #ffffff;
  color: #edf4ff;
  background-image: linear-gradient(110deg, var(--shine-base) 42%, var(--shine-soft) 47%, var(--shine-peak) 49.5%, var(--shine-peak) 50.5%, var(--shine-soft) 53%, var(--shine-base) 58%);
}

:is(#vt-card, #ek-card) h1 :is(.vt-name-last, .ek-name-last).word-shine {
  --shine-base: #86c5f1;
  --shine-soft: #b4a4f2;
  animation-delay: -0.35s;
}

@media (forced-colors: active) {
  :is(#vt-card, #ek-card) h1 .word-shine {
    background: none;
    -webkit-text-fill-color: CanvasText;
  }
}

@media print {
  :is(#vt-card, #ek-card) h1 .word-shine {
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

/* Keep the recovered design and make its controls comfortable on touch screens. */
#vt-card .vt-motion-toggle,
#ek-card .ek-motion-toggle,
#vt-card .vt-tab,
#ek-card .ek-tab,
#vt-card .vt-header-note,
#ek-card .ek-header-note {
  min-height: 44px;
}

#vt-card .vt-header-note,
#ek-card .ek-header-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:is(#vt-card, #ek-card) .profile-team-link {
  display: none;
}

#vt-card .vt-dialog-close,
#ek-card .ek-dialog-close {
  min-width: 44px;
  min-height: 44px;
}

:root[data-site-motion="paused"] #vt-card *,
:root[data-site-motion="paused"] #vt-card *::before,
:root[data-site-motion="paused"] #vt-card *::after,
:root[data-site-motion="paused"] #ek-card *,
:root[data-site-motion="paused"] #ek-card *::before,
:root[data-site-motion="paused"] #ek-card *::after {
  animation: none !important;
  transition: none !important;
}

@media (max-width: 767px) {
  #vt-card .vt-name-first,
  #ek-card .ek-name-first {
    margin-right: 0.15em;
  }

  #vt-card .vt-header-note,
  #ek-card .ek-header-note {
    display: none;
  }

  #vt-card .vt-profile,
  #ek-card .ek-profile {
    grid-template-areas: "intro" "actions" "portrait" "bio" "details";
  }

  :is(#vt-card, #ek-card) .profile-team-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 4px;
    color: #a5dff5;
    font-size: 14px;
  }

  :is(#vt-card, #ek-card) .profile-team-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  #vt-card .vt-actions,
  #ek-card .ek-actions {
    grid-template-columns: 1.25fr 1fr;
    margin-top: 12px;
  }

  #vt-card .vt-button,
  #ek-card .ek-button {
    gap: 8px;
    font-size: 14px;
  }

  #vt-card .vt-bio,
  #ek-card .ek-bio,
  #vt-card .vt-company-copy,
  #ek-card .ek-company-copy,
  #vt-card .vt-intro-line,
  #ek-card .ek-intro-line,
  #vt-card .vt-contact-value,
  #ek-card .ek-contact-value {
    font-size: 15px;
  }

  #vt-card .vt-tab,
  #ek-card .ek-tab,
  #vt-card .vt-qr-trigger,
  #ek-card .ek-qr-trigger,
  #vt-card .vt-company-copy a,
  #ek-card .ek-company-copy a {
    font-size: 14px;
  }

  #vt-card .vt-role,
  #ek-card .ek-role,
  #vt-card .vt-support-item,
  #ek-card .ek-support-item,
  #vt-card .vt-motion-toggle,
  #ek-card .ek-motion-toggle {
    font-size: 13px;
  }

  #vt-card .vt-support-item strong,
  #ek-card .ek-support-item strong {
    font-size: 14px;
  }

  #vt-card .vt-eyebrow,
  #ek-card .ek-eyebrow,
  #vt-card .vt-portrait figcaption,
  #ek-card .ek-portrait figcaption,
  #vt-card .vt-contact-label,
  #ek-card .ek-contact-label {
    font-size: 11px;
  }

  #vt-card .vt-panel,
  #ek-card .ek-panel {
    min-height: 0;
  }

  :is(#vt-card, #ek-card) .shared-site-footer .footer-directory nav > a,
  :is(#vt-card, #ek-card) .shared-site-footer .footer-contact > p {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  #vt-card .vt-actions,
  #ek-card .ek-actions {
    grid-template-columns: 1fr;
  }
}
