/* ============================================
   WICFLOW — Footer
   ============================================ */

.footer {
  background-color: var(--bg-black);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ---- Upper: 3-column grid ---- */

.footer__upper {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ---- Left column ---- */

.footer__col--brand {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(240, 240, 242, 0.5);
  margin-top: 0.5rem;
  max-width: none;
}

/* ---- Center column: Nav ---- */

.footer__col--nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(240, 240, 242, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
  width: fit-content;
}

.footer__nav-link:hover {
  color: var(--text-light);
}

/* ---- Right column: Email ---- */

.footer__col--contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__email {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(240, 240, 242, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__email:hover {
  color: var(--text-light);
}

/* ---- Bottom bar ---- */

.footer__bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 3.5rem;
  padding-top: 2rem;
}

.footer__meta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(240, 240, 242, 0.3);
}

.footer__privacy {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(240, 240, 242, 0.3);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__privacy:hover {
  color: var(--text-light);
}

/* ---- Mobile ---- */

@media (max-width: 768px) {
  .footer__upper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer__col--contact {
    align-items: center;
  }

  .footer__col--nav {
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* iter10 — footer authority block */
.footer__authority {
  max-width: 980px;
  margin: 32px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer__updated {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__refs {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 760px;
  margin: 0 auto;
}

.footer__refs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.footer__refs a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Footer enhancements (added 2026-05-10)
   ============================================ */

.footer__pitch {
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(247, 247, 245, 0.7);
  margin: 16px 0 24px;
  max-width: 32ch;
}

.footer__heading {
  font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247, 247, 245, 0.5);
  margin: 0 0 18px;
}

.footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 247, 245, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer__socials a:hover {
  color: #f7f7f5;
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

.footer__col--contact .footer__email,
.footer__col--contact .footer__nav-link {
  display: block;
  margin-bottom: 12px;
}