/* Personal content on the original Off Track layout and motion system. */
.portfolio-off-work .nav-brand {
  width: 11.25rem;
  height: 3.9375rem;
}

.portfolio-off-work .nav-brand svg {
  width: 100%;
  height: 100%;
}

.portfolio-off-work .portfolio-monogram {
  display: block;
  font-family: Brier, serif;
  font-size: 2rem;
  line-height: 1;
}

[data-portfolio-off-work] .off-t-hero-img {
  background-image: url('/assets/gallery/riverside-1122.webp');
}

[data-portfolio-off-work] .portfolio-personal-mark {
  display: block;
  font-family: Brier, serif;
  font-size: 2.75rem;
  line-height: 1;
  white-space: nowrap;
}

[data-portfolio-off-work] .horizontal-rive-placeholder .portfolio-personal-mark {
  font-size: 2rem;
}

[data-portfolio-off-work] .image.is-social-card {
  object-position: center 30%;
}

.portfolio-off-work .portfolio-life-footer {
  color: var(--color--white);
  padding: 7rem 0 2rem;
}

.portfolio-life-footer-top,
.portfolio-life-footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.portfolio-footer-brand {
  display: block;
  width: min(30rem, 50vw);
  background-color: var(--color--white);
  -webkit-mask: url('/assets/branding/mirzoev-shehron-stacked.svg') center / contain no-repeat;
  mask: url('/assets/branding/mirzoev-shehron-stacked.svg') center / contain no-repeat;
}

.portfolio-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
}

.portfolio-life-footer-top p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.portfolio-life-footer-bottom {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f4f4ed40;
  font-size: .875rem;
}

.portfolio-life-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.portfolio-life-footer a:hover {
  color: var(--color--lime);
}

.portfolio-off-work a:focus-visible,
.portfolio-off-work button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

@media (max-width: 991px) {
  .portfolio-off-work .nav-brand {
    width: 9rem;
    height: 3.15rem;
  }

  .portfolio-life-footer-top,
  .portfolio-life-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-footer-brand {
    width: min(24rem, 85vw);
  }
}
