.portfolio-cta__illustration {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-inline: 0.08em;
  vertical-align: -0.3em;
}

.portfolio-cta__illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-profile-footer] {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(34rem, 76vh, 55rem);
  min-height: clamp(34rem, 76svh, 55rem);
  row-gap: clamp(4rem, 12svh, 9rem);
  isolation: isolate;
  overflow: hidden;
  color: #e9e4da;
  background: #0f0f0e;
}

[data-profile-footer]::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--footer-grain, none);
  opacity: 0.04;
  pointer-events: none;
  content: "";
}

/* Benjamin Creative's footer uses a -170px to 0px in-view translation.
   The natural-height stage clips it beneath the preceding section. */
[data-footer-reveal-stage] {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background-color: #0f0f0e;
}

@media (prefers-reduced-motion: no-preference) {
  [data-footer-parallax-active] > [data-footer-reveal] {
    transform: translate3d(0, var(--footer-reveal-y, 0px), 0);
  }
}

.portfolio-footer__content {
  padding-top: clamp(1.75rem, 3.5vw, 3.5rem);
  color: #bdb9b0;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1vw, 1rem);
  line-height: 1.75;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.portfolio-footer__label {
  color: #969289;
}

.portfolio-footer__content a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.28em;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.portfolio-footer__content a:hover,
.portfolio-footer__content a:focus-visible {
  color: #e9e4da;
  text-decoration-color: currentColor;
}

.portfolio-footer__content a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.portfolio-footer__contact {
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.portfolio-footer__profile-video {
  display: block;
  width: clamp(5.5rem, 8vw, 9rem);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
}

.portfolio-footer__rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 0.875rem;
  border-top: 1px solid #e9e4da26;
}

.portfolio-footer__rule > p {
  color: #969289;
  white-space: nowrap;
}

.portfolio-footer__wordmark {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 800;
}

.portfolio-footer__talk-link {
  position: relative;
  display: block;
  height: 21vw;
}

.portfolio-footer__talk-text {
  position: absolute;
  inset: auto 0 -0.24em;
  overflow: hidden;
  font-size: 22.5vw;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.portfolio-footer__talk-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.portfolio-footer__halftone {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

[data-halftone-ready] .portfolio-footer__talk-text {
  color: transparent;
}

@media (max-width: 46rem) {
  [data-profile-footer] {
    min-height: 0;
    row-gap: clamp(3rem, 15vw, 6rem);
  }

  .portfolio-footer__rule {
    gap: 0.5rem;
    letter-spacing: normal;
  }
}

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

@media (forced-colors: active) {
  [data-halftone-ready] .portfolio-footer__talk-text {
    color: LinkText;
  }

  .portfolio-footer__halftone {
    display: none;
  }
}
