/* BlackFrost torn-poster footer. Markup + behaviour come from src/footer (React), rendered
   into every page by scripts/build-footer.mjs. These rules only fit it into the Webflow pages. */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,400;1,500&display=swap');

.bf-footer {
  --bf-footer-h: max(100svh, 820px);
  position: relative;
  z-index: 15;
  width: 100%;
  pointer-events: auto;
  background: #3b82f6;
}
@media (max-width: 991px) {
  .bf-footer { --bf-footer-h: max(100svh, 860px); }
}
@media (max-width: 620px) {
  .bf-footer { --bf-footer-h: 960px; }
}

/* centre mark: "The game studio of etapx / From the creators of Whistlr" */
.bf-footer__icon {
  display: block;
  width: max(46px, 6.4cqmin);
  height: auto;
  max-width: none;
  border-radius: 24%;
  box-shadow: 0 6px 18px rgba(8, 22, 60, 0.28);
}
.bf-fc {
  display: grid;
  justify-items: center;
  gap: max(6px, 0.9cqmin);
  color: inherit;
  text-decoration: none;
}
.bf-fc__kicker {
  font-family: Karla, sans-serif;
  font-size: max(11px, 1.5cqmin);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}
.bf-fc__mark {
  display: block;
  font-size: max(44px, 7.4cqmin);
  line-height: 0.95;
  color: #fff;
  user-select: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bf-fc:hover .bf-fc__mark { transform: translateY(-3px) rotate(-2deg); }
.bf-fc__line {
  display: inline-block;
  margin-top: max(2px, 0.3cqmin);
  padding: 0.3em 0.9em 0.36em;
  font-family: 'Londrina Solid', Impact, sans-serif;
  font-size: max(16px, 2.3cqmin);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0d1b3d;
  background: #ffe14d;
  border-radius: 0.35em;
  box-shadow: 0 0.18em 0 #0d1b3d;
  transform: rotate(-2deg);
}

/* Webflow gives every <a> its own size; the footer's links follow their container instead */
.bf-footer .tpf-col li,
.bf-footer .tpf-col li a,
.bf-footer .tpf-legal a,
.bf-footer .tpf-handle {
  font-size: inherit;
  line-height: 1.25;
}
/* display face at its black weight, with Londrina's own spacing */
.bf-footer .tpf-word { font-weight: 900; letter-spacing: -0.01em; }
.bf-footer .tpf-big { font-weight: 900; letter-spacing: 0; }
.bf-footer .tpf-col { font-size: max(14px, 2.05cqmin); }
.bf-footer .tpf-col h3 { font-size: 1.3em; opacity: 0.9; }
/* keep the bottom line clear of the fixed corner nav (PARTNERS / CONTACT) */
.bf-footer .tpf-foot { bottom: 90px; padding: 0 20%; }

/* no icon above the centrepiece, no name row above the mark */
.bf-footer .tpf-logo,
.bf-footer .tpf-brand-top { display: none; }

/* the header's hooded mascot, cast in black chrome: the silhouette is filled with a dark
   metal gradient (masked by the PNG), and the inverted art is screened on top so the
   face and eyes read as polished highlights */
.bf-footer .tpf-word { padding: 0; overflow: visible; }
.bf-footer .tpf-word span::after { display: none; }
.bf-chrome {
  position: relative;
  display: block;
  width: min(17cqh, 30cqw);
  aspect-ratio: 1131 / 1089;
  margin: 0 auto;
  isolation: isolate;
  filter: drop-shadow(0 14px 18px rgba(13, 27, 61, 0.28)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.bf-footer .tpf-word:hover .bf-chrome { transform: translateY(-4px) rotate(-2deg) scale(1.03); }
.bf-chrome__metal {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 40%, transparent 48%, transparent 62%, rgba(255, 255, 255, 0.18) 68%, transparent 74%),
    linear-gradient(180deg, #7a828f 0%, #2a2e36 20%, #0b0c10 38%, #b9c0cb 47%, #f4f6f9 50%, #30353e 54%, #0b0c10 70%, #2b3039 86%, #5d6470 100%);
  -webkit-mask: url(/brand/bf-mascot.png) center / contain no-repeat;
  mask: url(/brand/bf-mascot.png) center / contain no-repeat;
}
.bf-chrome__face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter: invert(1) grayscale(1) contrast(1.4) brightness(0.92);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* the flank lines are slogans here, so let them read as such */
.bf-footer .tpf-flank { font-size: max(15px, 2.2cqmin); letter-spacing: 0.06em; }

/* columns hold more links than the stock design; keep them all on phones */
@container (max-width: 620px) {
  .bf-footer .tpf-col li:nth-child(n + 3) { display: list-item; }
  .bf-footer .tpf-col { top: 33%; }
  .bf-footer .tpf-logo { display: none; }
  .bf-footer .tpf-foot { bottom: 92px; }
  .bf-footer .tpf-center { top: 14%; max-width: 90%; }
  .bf-footer .tpf-legal { max-width: 62%; }
  .bf-chrome { width: 46cqw; }
}
