/* ============================================================
   Picnic — Site Footer
   Single source of truth for the global footer.
   Self-contained: every custom property has a hard fallback,
   so this stylesheet renders correctly even on a page that
   doesn't define the Picnic design tokens.

   Markup contract — see Footer Component.html
   ============================================================ */

/* --- Footer-scoped token fallbacks (only used if the host page
       hasn't already defined these :root variables) --- */
footer.site-footer {
  --ft-pink:   var(--pink-1, #F8506F);
  --ft-aqua:   var(--aqua-m, #FFF4B0);
  --ft-ink:    var(--ink, #303030);
  --ft-max:    var(--max, 1320px);
  --ft-gutter: var(--gutter, 80px);
  --ft-sans:   var(--font-sans, 'Neo Forma Sans','Inter','Helvetica Neue',system-ui,sans-serif);

  background: var(--ft-pink) url("assets/gradients/gradient-blanket-hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 36px 0 18px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.18);
}
/* Match the nav: blanket pink gradient + a subtle grain overlay. Kill any
   page-specific ::before decoration, and use ::after for the shared grain. */
.site-footer::before { content: none !important; display: none !important; }
.site-footer::after { content: '' !important; display: block !important; position: absolute; inset: 0; background: url("assets/textures/grain-soft.webp") repeat 0 0 / 220px 220px; mix-blend-mode: overlay; opacity: .12; pointer-events: none; z-index: 0; }
.site-footer > * { position: relative; z-index: 1; }

/* ---- Column grid ---- */
.site-footer .fcols {
  max-width: var(--ft-max);
  margin: 0 auto;
  padding: 24px var(--ft-gutter) 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
}

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

.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;
}
.site-footer .fcols a:hover { color: var(--ft-aqua); }

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

.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;
}

.site-footer .brand .awards {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
}
.site-footer .brand .awards img { width: auto; opacity: .92; }
.site-footer .brand .awards img[alt^="FT"]          { height: 56px; }
.site-footer .brand .awards img[alt="Startups 100"] { height: 28px; }

/* ---- Bottom bar ---- */
.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;
}

.site-footer .social { display: flex; gap: 8px; }
.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;
}
.site-footer .social a:hover { background: var(--ft-aqua); color: var(--ft-ink); }
.site-footer .social a svg { width: 15px; height: 15px; }

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

.site-footer .fcols .fcol-wide{display:grid;grid-template-columns:1fr;row-gap:2px;align-content:start;}
.site-footer .fcols .fcol-wide h2{white-space:nowrap;text-align:left;}
