/* CV Phase 6 product footer, derived from immutable atlas-interface-kit v0.4.0. */

.cv-footer {
  position: relative;
  z-index: 1;
  max-width: var(--atlas-content, 1100px);
  margin: var(--atlas-space-7, 48px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--atlas-space-4, 16px);
  border-top: 1px solid var(--atlas-border-hi, rgba(255,255,255,.16));
  padding: var(--atlas-space-4, 16px) var(--atlas-space-5, 24px);
  color: var(--atlas-text-faint, #888894);
  background: transparent;
  font: 400 var(--atlas-type-meta, 11px)/1.5 var(--atlas-font-body, "IBM Plex Mono", monospace);
}

.cv-footer .atlas-footer__identity {
  min-width: min(100%, 220px);
  flex: 1 1 260px;
  display: grid;
  gap: 2px;
  color: var(--atlas-text, #e8e8e0);
}

.cv-footer .atlas-footer__identity strong,
.cv-footer .atlas-footer__identity span {
  display: block;
}

.cv-footer .atlas-footer__identity strong {
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cv-footer .atlas-footer__identity span {
  color: var(--atlas-text-faint, #888894);
  line-height: 1.45;
}

.cv-footer .atlas-footer__context,
.cv-footer .atlas-footer__evidence,
.cv-footer .atlas-footer__escape {
  min-width: 0;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 var(--atlas-space-3, 12px);
  white-space: nowrap;
}

.cv-footer .atlas-footer__evidence,
.cv-footer .atlas-footer__escape {
  border-left: 1px solid var(--atlas-border, rgba(255,255,255,.08));
  padding-left: var(--atlas-space-4, 16px);
}

.cv-footer a {
  min-width: var(--atlas-touch-min, 44px);
  min-height: var(--atlas-touch-min, 44px);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline: 0;
  color: var(--atlas-text-dim, #aaa9a0);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: from-font;
  text-underline-offset: .22em;
}

.cv-footer a:hover {
  color: var(--atlas-text, #e8e8e0);
}

.cv-footer a:focus-visible {
  color: var(--atlas-text, #e8e8e0);
  outline: 2px solid var(--atlas-accent, #f5a623);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .cv-footer {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    padding: var(--atlas-space-4, 16px);
    padding-bottom: calc(var(--atlas-space-8, 64px) + env(safe-area-inset-bottom));
  }

  .cv-footer .atlas-footer__identity {
    width: 100%;
    min-width: 0;
    margin-bottom: var(--atlas-space-1, 4px);
  }

  .cv-footer .atlas-footer__context,
  .cv-footer .atlas-footer__evidence,
  .cv-footer .atlas-footer__escape {
    width: 100%;
    flex-wrap: wrap;
    gap: 0 var(--atlas-space-3, 12px);
    border-left: 0;
    padding-left: 0;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-footer *,
  .cv-footer *::before,
  .cv-footer *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
