.site-footer {
  background: var(--color-bg-surface);
  padding: var(--space-3xl) 0 var(--space-xl);
  color: var(--color-text-body);
}

/* Curtain reveal: only on homepage, desktop only */
@media (min-width: 768px) {
  .page-home .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  .page-home .hero {
    position: relative;
    z-index: 2;
  }

  .page-home main {
    position: relative;
    z-index: 2;
    background: var(--color-bg-main);
  }
}

/* ── Centered body ─────────────────────────────────────────────── */

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.footer-brand-name {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.375rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-heading);
  margin: 0 0 var(--space-xl);
  line-height: 1.2;
}

/* ── Contact info block ───────────────────────────────────────── */

.footer-contact-block {
  margin-bottom: var(--space-xl);
}

.footer-contact-block p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin: 0;
}

.footer-contact-block a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-block a:hover {
  color: var(--color-text-heading);
}

/* ── Social icons ─────────────────────────────────────────────── */

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.footer-socials a {
  color: var(--color-text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  opacity: 0.5;
}

/* ── Nav rows ─────────────────────────────────────────────────── */

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--space-2xl);
  row-gap: var(--space-md);
}

.footer-nav a {
  color: var(--color-text-heading);
  font-size: var(--fs-small);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ── Bottom bar ───────────────────────────────────────────────── */

.footer-bottom-bar {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-credit-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition-fast);
}

.footer-credit-link:hover {
  color: var(--color-text-heading);
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 767px) {
  .footer-nav {
    column-gap: var(--space-xl);
    row-gap: var(--space-md);
  }

  .footer-bottom-bar {
    line-height: 2;
  }
}
