/* PACE public site styles (SITE-001, SITE-002).
   Dark theme, system font stack, no external resources.
   The body background is the complete static presentation without
   JavaScript (SITE-007 fallback). */

:root {
  color-scheme: dark;
  --bg: #000;
  --text: #d4d4d4;
  --text-dim: #9a9a9a;
  --accent: #e6e6e6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  /* Static fallback (SITE-001, SITE-007): the complete presentation
     without JavaScript and under reduced motion. */
  background: #000 url("assets/pace_matrix_binary_clean.png") center / contain no-repeat;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Animation layer: behind all content, never interactive (SITE-007). */
#matrix-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Contact footer: bottom overlay, in front of the animation (SITE-001). */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer a {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  color: var(--text-dim);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.55);
  transition: color 150ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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