/* ════════════════════════════════════════════════
   STATIC COPY for the legal pages (privacy, terms), 2026-10-19.
   Source of truth: about-app/src/styles/site-footer.css; keep both in step.
   Site footer (every page), 2026-10-05.
   The previous site's footer: brand, Pages, Services,
   Contact, the Fourth R note (portfolio only) and the
   glowing bottom strip. SiteDock's AXIOM-STEM wordmark
   follows it.
   ════════════════════════════════════════════════ */

.site-footer {
  --sf-gold: #d8f744;
  --sf-blue: #4a7fa8;
  --sf-white: #e8e4d9;
  --sf-text2: #8899aa;
  --sf-muted: #5a7a96;
  position: relative;
  z-index: 3;
  padding: 60px clamp(20px, 4vw, 56px) 36px;
  border-top: 1px solid rgba(216, 247, 68, 0.35);
  box-shadow: 0 -1px 24px rgba(216, 247, 68, 0.18);
  background: #070a0f;
  color: var(--sf-white);
  font-family: var(--ax-text, 'Inter', system-ui, sans-serif);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 52px;
}

.site-footer__logo {
  display: inline-flex;
}
.site-footer__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
}
.site-footer__brand p {
  max-width: 300px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--sf-muted);
  text-align: justify;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer__col h2 {
  margin: 0 0 18px;
  font-family: var(--ax-display, var(--ax-text, sans-serif));
  font-size: 20px;
  font-weight: 600;
  color: var(--sf-white);
}
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 14px;
  color: var(--sf-text2);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__col a:hover,
.site-footer__col a[aria-current='page'] {
  color: var(--sf-white);
}
.site-footer__contact a {
  white-space: nowrap;
}
.site-footer__contact svg {
  flex: none;
  color: var(--sf-blue);
}

.site-footer__note {
  margin: 0 0 24px;
  padding: 22px 26px;
  border-radius: 10px;
  border: 1px solid rgba(74, 127, 168, 0.18);
  background: rgba(74, 127, 168, 0.08);
  color: #a9d9ff;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}
.site-footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--sf-gold);
  text-shadow: 0 0 10px rgba(216, 247, 68, 0.6), 0 0 24px rgba(216, 247, 68, 0.3);
}
.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}
.site-footer__legal svg {
  flex: none;
  filter: drop-shadow(0 0 6px rgba(216, 247, 68, 0.6));
}
.site-footer__sep {
  opacity: 0.9;
}
.site-footer__tagline {
  font-family: var(--ax-mono, monospace);
  font-size: 11px;
  white-space: nowrap;
  color: var(--sf-gold);
  text-shadow: 0 0 10px rgba(216, 247, 68, 0.8), 0 0 24px rgba(216, 247, 68, 0.4);
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Hover motion (2026-10-19): the footer was static under the pointer.
   Links slide a few pixels and draw a glowing gold underline, contact icons
   light up gold, the logo glows. transform/background only, so nothing
   around them moves. Mouse/trackpad only; keyboard focus gets the same look. */
.site-footer__col a,
.site-footer__legal a {
  background: linear-gradient(var(--sf-gold), var(--sf-gold)) left bottom / 0 1px no-repeat;
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.25s ease;
}
.site-footer__contact svg {
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}
.site-footer__logo img {
  transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-footer__col a:focus-visible {
  color: var(--sf-white);
  transform: translateX(6px);
  background-size: 100% 1px;
  text-shadow: 0 0 12px rgba(216, 247, 68, 0.35);
}
.site-footer__legal a:focus-visible {
  background-size: 100% 1px;
}
.site-footer__contact a:focus-visible svg {
  color: var(--sf-gold);
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 0 6px rgba(216, 247, 68, 0.7));
}
@media (hover: hover) {
  .site-footer__col a:hover {
    color: var(--sf-white);
    transform: translateX(6px);
    background-size: 100% 1px;
    text-shadow: 0 0 12px rgba(216, 247, 68, 0.35);
  }
  .site-footer__legal a:hover {
    background-size: 100% 1px;
  }
  .site-footer__contact a:hover svg {
    color: var(--sf-gold);
    transform: scale(1.18) rotate(-8deg);
    filter: drop-shadow(0 0 6px rgba(216, 247, 68, 0.7));
  }
  .site-footer__logo:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 14px rgba(216, 247, 68, 0.45));
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__col a,
  .site-footer__legal a,
  .site-footer__contact svg,
  .site-footer__logo img {
    transition: color 0.2s ease;
  }
  .site-footer__col a:hover,
  .site-footer__col a:focus-visible {
    transform: none;
  }
}

/* legal pages only: the Privacy / Terms row the React pages get from the dock */
.site-footer__legalnav {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  font: 11px/1.5 var(--ax-mono, monospace);
}
.site-footer__legalnav a {
  color: var(--sf-text2);
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-footer__legalnav a:hover,
.site-footer__legalnav a[aria-current='page'] {
  color: var(--sf-gold);
}
/* the legal pages set body line-height 1.75 for reading; the footer keeps the
   main pages' spacing */
.site-footer {
  line-height: normal;
}
