/* Site footer.
   Trionn-style: tagline + giant "Ready to build something bold?" heading,
   START A PROJECT cta, small enquiry/social meta row, particle-ocean mesh
   glowing across the empty bottom area. */

#tw-footer {
  position: relative;
  width: 100%;
  /* static emerald energy field (bright along the bottom, fades to black up top
     under the heading) + a scrim so the type stays legible over the glow */
  background-color: #050505;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.74) 0%, rgba(5, 5, 5, 0.12) 44%, rgba(5, 5, 5, 0.34) 100%),
    url("../img/footer-energy.webp");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center top, center bottom;
  background-size: cover, 100% 100%, cover;
  color: #f2f2f2;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: Figtree, "Figtree Fallback", system-ui, sans-serif;
}
:where(#tw-footer *) { box-sizing: border-box; margin: 0; padding: 0; }


.ft-in { position: relative; z-index: 2; padding: 9vh 6vw 5vh; }

/* head: tagline + giant heading left, cta right */
.ft-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5vw;
  align-items: center;
}
.ft-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Figtree, "Figtree Fallback", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d9d9d9;
  margin-bottom: 3.4vh;
}
.ft-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35E07F;
  box-shadow: 0 0 12px rgba(53, 224, 127, 0.9);
  animation: ftPulse 2.2s ease-in-out infinite;
}
@keyframes ftPulse { 50% { opacity: 0.35; } }

.ft-title {
  font-size: clamp(48px, 6.6vw, 118px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.ft-start {
  font-family: Figtree, "Figtree Fallback", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f2f2f2;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  padding-bottom: 8px;
}
.ft-start::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #35E07F;
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.ft-start:hover::after { transform: scaleX(0.35); }
.ft-start-arr {
  color: #35E07F;
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.ft-start:hover .ft-start-arr { transform: translateX(6px); }

/* meta row: copyright / enquiry / socials / back to top */
.ft-meta {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 6vw;
  align-items: start;
  margin-top: 7vh;
}
.ft-copy, .ft-totop {
  font-family: Figtree, "Figtree Fallback", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ft-copy { color: #9a9a9a; align-self: end; }

.ft-label {
  display: block;
  font-family: Figtree, "Figtree Fallback", system-ui, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #35E07F;
  margin-bottom: 1.8vh;
}
.ft-mail {
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 500;
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.ft-mail i { font-style: normal; color: #6b6b6b; margin-right: 4px; }
.ft-mail:hover { color: #35E07F; }

.ft-soc a {
  display: block;
  width: fit-content;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease;
}
.ft-soc a:hover { color: #35E07F; }

.ft-totop {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #f2f2f2;
  letter-spacing: 0.12em;
  align-self: end;
  transition: color 0.3s ease;
}
.ft-totop:hover { color: #35E07F; }
.ft-totop .ft-up { color: #35E07F; }

@media (max-width: 900px) {
  .ft-in { padding: 9vh 7vw 5vh; }
  .ft-head { grid-template-columns: 1fr; gap: 4vh; }
  .ft-meta { grid-template-columns: 1fr; gap: 4vh; margin-top: 8vh; }
  .ft-copy, .ft-totop { align-self: start; }
}
