/* Site footer — v1 exact-clone of ilcapoproduction.com's footer (red #D60001 field,
   black UPPERCASE text). Static <link> (NOT through Lightning CSS) so the font stacks
   + vw sizes survive verbatim. v1 is a STATIC footer at the page bottom; the original's
   scroll-reveal (fixed/sticky reveal) is a later enhancement. Content is cloned verbatim
   and gets swapped to map. branding later. */

.site-footer {
  position: relative;
  width: 100%;
  background: #0071e3;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 44px);
  overflow: hidden;
}
.site-footer * { box-sizing: border-box; }

/* JS-driven scroll reveal (see SiteFooterReveal.tsx): once the effect adds `.is-ready`,
   the footer is fixed at the bottom and starts hidden (translateY 100%); JS rises it over
   the last F px of scroll while the previous section is held. Failsafe: without `.is-ready`
   the footer is a normal in-flow footer at the page bottom. */
.site-footer-reveal { position: relative; }
.site-footer-reveal__spacer { width: 100%; height: 0; pointer-events: none; }
/* runway: ~100vh of scroll over which the price slides up and the footer reveals.
   Desktop only in practice: SiteFooterReveal skips the reveal (never adds
   `.is-ready`) on mobile, so on phones the footer is a normal in-flow block and
   this spacer stays height:0. */
.site-footer-reveal.is-ready .site-footer-reveal__spacer { height: 100vh; }
/* the footer sits FIXED behind the price (z1 < price z20) and stays hidden until the
   reveal range (JS toggles visibility), so it never peeks during normal scroll */
.site-footer-reveal.is-ready .site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;
  visibility: hidden;
}
/* footer CONTENT wrapper — the reveal fades+scales THIS (not the blue bg panel) */
.site-footer__inner { transform-origin: center center; will-change: transform, opacity; }

/* TOP — two centered blocks: CONTACTS (~1/4) and FOLLOW (~3/4) */
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 0 clamp(24px, 14%, 240px);
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  text-align: center;
}
.site-footer__head {
  margin: 0;
  font-family: "IvarDisplay", "Times New Roman", Georgia, serif;
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.site-footer__val {
  font-family: "Helvetica Neue 55 Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

/* MIDDLE — giant MARCUS wordmark, the SAME SVG as the hero (Wordmark.tsx), sized to the
   hero's final reveal frame: hero container 80vw × end-scale 1.2 = 96vw wide, viewport-centered. */
.site-footer__wordmark {
  display: block;
  width: 96vw;
  height: auto;
  margin: clamp(24px, 3.5vw, 48px) auto clamp(16px, 2vw, 28px);
  color: #fff; /* SVG text is fill: currentColor */
}

/* BOTTOM — copyright (flush left) + CREDITS (flush right) */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 clamp(24px, 3vw, 48px);
  font-family: "Helvetica Neue 55 Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  text-transform: uppercase;
  color: #fff;
}
.site-footer__bottom p,
.site-footer__bottom span { margin: 0; }

@media (max-width: 600px) {
  .site-footer__top { flex-direction: column; align-items: center; gap: 28px; padding: 0; }
  .site-footer__wordmark { width: 100vw; margin: 20px auto 14px; }
  .site-footer__bottom { padding: 0 16px; gap: 12px; flex-wrap: wrap; }
}
