/* ===========================================================================
   V8 — footer.

   Light, to stay with the hero. The weight comes from one oversized wordmark
   cropped by the bottom edge rather than from a dark slab, so the page can end
   on something with presence without turning into a second design.
   ======================================================================== */

/* Dark, continuing straight out of the contact band above it — the page ends
   on one unbroken dark block rather than flipping back to white for the footer. */
.v8f {
  --paper: #0b0b0b;
  --ink: #fff;
  --mute: rgba(255, 255, 255, .55);
  --hair: rgba(255, 255, 255, .12);
  --live: var(--green, #10d07f);

  position: relative;
  overflow: hidden;
  font-family: Poppins, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.v8f-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 40px 0;
}

/* --- Brand + columns -----------------------------------------------------*/
.v8f-top {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.6fr;
  gap: 64px;
  padding-bottom: 56px;
}

/* Masked, like the nav mark, so the black artwork can be filled without
   re-cutting the SVG. */
.v8f-logo {
  display: block;
  height: 30px;
  width: calc(30px * 306 / 49);
  -webkit-mask: url("../img/683d6d3bc64f7141dc6f697d_LogoDreamfx-1b95a6.svg") no-repeat center / contain;
  mask: url("../img/683d6d3bc64f7141dc6f697d_LogoDreamfx-1b95a6.svg") no-repeat center / contain;
  /* plain white here — the gradient is the nav's signature, the footer mark
     just needs to read cleanly on black */
  background: #fff;
}

/* What the name is made of — asked for over a pronunciation guide. */
.v8f-name {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: -.01em;
}

.v8f-name span { color: #fff; }

/* The punchline. Kept lighter than the name so it reads as an aside. */
.v8f-eq {
  font-style: normal;
  color: var(--blue-primary, #0f9ded);
  white-space: nowrap;
}

.v8f-tagline {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--mute);
}

.v8f-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.v8f-col { display: flex; flex-direction: column; align-items: flex-start; }

.v8f-col-title {
  margin: 0 0 16px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--mute);
}

.v8f-col a {
  padding: 5px 0;
  font-size: .9375rem;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.v8f-col a:hover { color: #fff; transform: translateX(2px); }

/* --- Closing prompt ------------------------------------------------------*/
.v8f-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.v8f-cta p {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}

.v8f-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0b;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform .22s ease, opacity .22s ease;
}

.v8f-cta-btn:hover { transform: translateY(-1px); opacity: .9; }

/* --- Base line -----------------------------------------------------------*/
.v8f-base {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px 0 40px;
}

.v8f-legal { margin: 0; font-size: .8125rem; color: var(--mute); }

.v8f-links { display: flex; gap: 20px; margin-left: auto; }

.v8f-links a {
  font-size: .8125rem;
  color: var(--mute);
  text-decoration: none;
  transition: color .2s ease;
}

.v8f-links a:hover { color: #fff; }

.v8f-year {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: .75rem;
  font-weight: 500;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* V7's own footer would otherwise stack under this one. */
body:has(.v8f) .footer { display: none !important; }

/* --- Responsive ----------------------------------------------------------*/
@media (max-width: 991px) {
  .v8f-wrap { padding: 56px 24px 0; }
  .v8f-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }

  /* 15px type with 5px padding is a 31px target and the legal line was 21px.
     A mouse hits those; a thumb wants about 44, and the footer is the one
     place on a phone where the links sit closest together. */
  .v8f-col a { padding: 11px 0; }
  .v8f-links a { display: inline-block; padding: 11px 0; }
}

@media (max-width: 640px) {
  .v8f-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .v8f-cta { padding: 24px 0; }
  .v8f-links { margin-left: 0; }
  .v8f-base { gap: 14px; }
}
