.shared-signature-footer {
  width: 100%;
  position: relative;
  isolation: isolate;
  background: #000;
  padding: clamp(20px, 3.5vh, 36px) var(--pad, clamp(20px, 4vw, 64px)) calc(clamp(22px, 4vh, 40px) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(244,244,241,0.1);
}

.cf-footer {
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(var(--u, 8px) * 3);
}

.foot-mark {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.foot-mark img {
  width: clamp(64px, 6vw, 96px);
  height: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.92;
  transition: opacity 200ms ease;
}

.foot-mark:hover img {
  opacity: 1;
}

.foot-signature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--u, 8px) * 1.5);
  text-align: right;
}

.foot-mail {
  font-family: var(--sans, "Archivo", sans-serif);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink, #f4f4f1);
  padding-bottom: calc(var(--u, 8px) * 0.3);
  border-bottom: 1px solid rgba(244,244,241,0.5);
  transition: opacity 200ms ease;
}

.foot-mail:hover {
  opacity: 0.78;
}

.foot-row {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u, 8px) * 2);
}

.foot-socials {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u, 8px) * 1);
}

.foot-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(244,244,241,0.22);
  color: var(--ink, #f4f4f1);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.foot-icon:hover {
  color: #000;
  background: var(--ink, #f4f4f1);
  border-color: var(--ink, #f4f4f1);
}

.foot-meta {
  font-family: var(--mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--quiet, rgba(244,244,241,0.42));
}

@media (max-width: 620px) {
  .shared-signature-footer {
    padding-top: 30px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }

  .cf-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: calc(var(--u, 8px) * 2.5);
  }

  .foot-signature {
    align-items: center;
    text-align: center;
  }

  .foot-row {
    justify-content: center;
  }
}

/* ── Global Scroll Animations ── */
[data-fade-up] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-fade-up].is-visible {
  opacity: 1;
  transform: none;
}

/* Add slight delays based on data attributes if needed */
[data-fade-delay="1"] { transition-delay: 100ms; }
[data-fade-delay="2"] { transition-delay: 200ms; }
[data-fade-delay="3"] { transition-delay: 300ms; }
