/* Personalization within the reference portfolio layout. */
.theme-portrait {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.theme-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 350ms ease;
}
.theme-portrait .portrait-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}
[data-theme="dark"] .theme-portrait .portrait-dark { opacity: 1; }
[data-theme="dark"] .theme-portrait .portrait-light { opacity: 0; }
.tl-logo .theme-portrait img { object-position: 50% 22%; }
@media (prefers-reduced-motion: reduce) {
  .theme-portrait img { transition: none; }
}
.aa-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}
 .aa-project-links a {
  color: inherit;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
}
.case-shots .cs-shot:only-child {
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 58px;
  height: 42px;
}
.case:hover .cs-shot:only-child {
  transform: translate(-50%, -50%) rotate(-10deg) scale(1.08);
}
.folio-footer-inner {
  width: min(100% - 2rem, 760px);
}
.cs-figure-screen img {
  object-fit: contain;
}
@media (max-width: 600px) {
  .ff-links {
    gap: 8px 4px;
  }
  .ff-link {
    padding-inline: 7px;
  }
}

.aa-project-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.aa-project-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
