/* ============================================================
   Picnic — Site Footer
   Single source of truth for the global footer (Footer Component
   handoff). Scoped to `footer.site-footer` so it overrides any
   legacy inline / chrome.css footer rules by specificity.
   ============================================================ */

footer.site-footer {
  --ft-pink:   var(--pink-1, #F8506F);
  --ft-aqua:   var(--aqua-m, #9EFFF9);
  --ft-ink:    var(--ink, #303030);
  --ft-max:    var(--max, 1320px);
  --ft-gutter: var(--gutter, 80px);
  --ft-sans:   var(--font-sans, 'Neue Haas Unica','Inter','Helvetica Neue',system-ui,sans-serif);

  background: var(--ft-pink);
  color: #fff;
  padding: 36px 0 18px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.18);
}
/* Reset any page-specific decorative footer pseudo-elements. */
footer.site-footer::before,
footer.site-footer::after { content: none !important; display: none !important; }

/* ---- Column grid: brand + PIQ Platform (wide) + 3 link cols ---- */
footer.site-footer .fcols {
  max-width: var(--ft-max);
  margin: 0 auto;
  padding: 24px var(--ft-gutter) 0;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr 1fr;
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
}

footer.site-footer .fcols h5 {
  font-family: var(--ft-sans);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}

footer.site-footer .fcols a {
  display: block;
  font-family: var(--ft-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 3px 0;
  transition: color .15s;
}
footer.site-footer .fcols a:hover { color: var(--ft-aqua); }

/* ---- Brand cell: logo + blurb + award logos ---- */
footer.site-footer .brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
footer.site-footer .brand .logo img { height: 36px; }

footer.site-footer .brand .blurb {
  font-family: var(--ft-sans);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  max-width: 32ch;
  margin: 4px 0 0;
}

footer.site-footer .brand .awards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 22px;
}
footer.site-footer .brand .awards a { display: inline-flex; flex: 0 0 auto; }
footer.site-footer .brand .awards a:hover { opacity: .65; }
/* keep the badges at their true aspect — never let flex/max-width squish them */
footer.site-footer .brand .awards img { width: auto; max-width: none; flex: 0 0 auto; opacity: .92; }
footer.site-footer .brand .awards img[alt^="FT"]        { height: 56px; }
footer.site-footer .brand .awards img[alt^="Startups 100"] { height: 28px; }

/* ---- Bottom bar ---- */
footer.site-footer .fbot {
  max-width: var(--ft-max);
  margin: 32px auto 0;
  padding: 16px var(--ft-gutter) 0;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  position: relative;
  flex-wrap: wrap;
}

footer.site-footer .social { display: flex; gap: 8px; }
footer.site-footer .social a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s, color .15s;
}
footer.site-footer .social a:hover { background: var(--ft-aqua); color: var(--ft-ink); }
footer.site-footer .social a svg { width: 15px; height: 15px; }

/* ---- PIQ Platform column: single-column link list ---- */
footer.site-footer .fcols .fcol-wide {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2px;
  align-content: start;
}
footer.site-footer .fcols .fcol-wide h5 { grid-column: 1 / -1; white-space: nowrap; text-align: left; }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  footer.site-footer .fcols { grid-template-columns: 1fr 1fr; }
  footer.site-footer .fcols .fcol-wide { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  footer.site-footer .fcols { grid-template-columns: 1fr; }
}
