/*
 * footer.css — Site footer
 * Source: Build 1 spec — bestyearyet.com Homepage Build Queue
 *
 * Layout:
 *   Desktop: 3-column grid (brand | links | contact)
 *   Mobile:  single column, stacked
 *
 * Depends on: styles/tokens.css (custom properties)
 */


/* ================================================================
 * FOOTER WRAPPER
 * ================================================================ */

.footer {
  background: var(--color-off-white);
  padding: 64px 0 0;
}


/* ================================================================
 * 3-COLUMN GRID
 * ================================================================ */

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}


/* ================================================================
 * LEFT COLUMN — Brand / Logo
 * ================================================================ */

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  max-width: 220px;
}


/* ================================================================
 * CENTER COLUMN — Navigation links
 * ================================================================ */

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-text-primary);
}


/* ================================================================
 * RIGHT COLUMN — Contact
 * ================================================================ */

.footer-contact-label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-mid-gray);
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-contact-email {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-email:hover {
  color: var(--color-text-primary);
}


/* ================================================================
 * BOTTOM BAR — Legal / copyright
 * ================================================================ */

.footer-bottom {
  border-top: 1px solid rgba(72, 72, 73, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-text-primary);
}

.footer-legal-sep {
  font-size: 11px;
  color: var(--color-mid-gray);
  user-select: none;
}

/* Founding Sponsors — intentionally low-prominence per spec */
.footer-founding-sponsors {
  opacity: 0.55;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer-founding-sponsors:hover {
  opacity: 1;
  color: var(--color-text-primary);
}


/* ================================================================
 * MOBILE BREAKPOINT (max-width: 768px)
 * ================================================================ */

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
  }
}
