/* Shared site footer — contact block + dot grid, used on every page */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0;
  background: #ffffff;
}

.site-footer-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 79.5rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-footer-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: normal;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer-title {
    font-size: 1.5rem;
  }
}

.site-footer-sub {
  margin: 0.75rem 0 0;
  max-width: 32rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

.site-footer-links {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer-links svg {
  width: 1.375rem;
  height: 1.375rem;
  display: block;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.site-footer-bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

.site-footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-bottom a:hover {
  color: var(--foreground);
}

@media (min-width: 640px) {
  .site-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* the Claude mark sits in the credits line at emoji size */
.site-footer-claude {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
}
