/* ===== Footer — Figma 3280:22742 (1920×830) ===== */

.site-footer { position: relative; min-height: 830px; overflow: hidden; background: #fff; }

.site-footer__waves { position: absolute; inset: 0; pointer-events: none; }
.wave { position: absolute; left: -18%; width: 136%; } /* path spans -345.6 → 2265.6 of a 1920 frame */
.wave img { display: block; width: 100%; height: 100%; }
.wave--1 { top: 230px; height: 600px; opacity: 0.6;  filter: blur(19.2px); }
.wave--2 { top: 330px; height: 500px; opacity: 0.75; filter: blur(16px); }
.wave--3 { top: 480px; height: 350px;               filter: blur(12.8px); }
@media (prefers-reduced-motion: no-preference) {
  .wave--1 { animation: wave-drift 18s ease-in-out infinite alternate; }
  .wave--2 { animation: wave-drift 14s ease-in-out -4s infinite alternate-reverse; }
  .wave--3 { animation: wave-drift 11s ease-in-out -2s infinite alternate; }
}
/* JS-driven living waves (footer_waves_controller): every layer is anchored to the bottom */
.site-footer__waves.is-live .wave {
  top: auto; bottom: 0;
  animation: none;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.site-footer__waves.is-live svg { display: block; width: 100%; height: 100%; }
@keyframes wave-drift {
  from { transform: translate3d(-4%, 0, 0) scaleY(1); }
  to   { transform: translate3d(4%, 10px, 0) scaleY(1.06); }
}

.site-footer__cta {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
  padding: 112px 20px 0;
  text-align: center;
}
/* Two lines that never break inside: "Be the brand people choose," / "not scroll past".
   On narrow screens the size scales down so the first line still fits the width. */
.site-footer__line { display: block; white-space: nowrap; }
.site-footer__title { max-width: none; font-weight: 400; font-size: min(clamp(40px, 3.646vw, 70px), calc((100vw - 48px) / 12)); line-height: 1.1; letter-spacing: -0.029em; color: #000; }
.site-footer__sub { font-size: 20px; line-height: 1.2; color: rgba(0, 0, 0, 0.6); }

.btn-cta--arrow { width: auto; gap: 8px; font-family: var(--font); font-weight: 500; letter-spacing: -0.025em; }
.btn-cta--arrow svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease-out); }
.btn-cta--arrow:hover svg { transform: translateX(4px); }

.site-footer__bottom {
  position: absolute; left: 50%; bottom: 40px;
  transform: translateX(-50%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 380px; min-width: 0; }
.site-footer__logo { width: 178.667px; height: 32px; }

.site-footer__news-note { margin-top: 10px; font-size: 14px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(0, 0, 0, 0.5); }
.newsletter {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 380px; height: 58px;
  padding: 4px 4px 4px 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: #000; outline: none; }
.newsletter input::placeholder { color: rgba(0, 0, 0, 0.7); }
.newsletter button {
  height: 50px; padding: 0 24px;
  border-radius: 28px;
  background: #fef9ec;
  color: #0b0d0c;
  font-size: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition: color 0.18s;
}
/* Same wipe as the Packages "Book a call" buttons: a dark layer rises from the bottom */
.newsletter button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #17171a;
  transform: translate3d(0, 101%, 0);
  transition: transform 0.18s cubic-bezier(0.4, 0, 1, 1);
}
.newsletter button:hover,
.newsletter button:focus-visible,
.newsletter.is-done button { color: #fff; transition: color 0.3s var(--ease-expo, cubic-bezier(0.16, 1, 0.3, 1)); }
.newsletter button:hover::before,
.newsletter button:focus-visible::before,
.newsletter.is-done button::before {
  transform: translate3d(0, 0, 0);
  transition: transform 0.38s var(--ease-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
.newsletter button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.newsletter.is-invalid { border-color: #f93d0d; }
.newsletter input:disabled { color: rgba(0, 0, 0, 0.5); }
.newsletter button:disabled { cursor: default; }
/* Honeypot for bots (NewsletterSignup): never shown, never autofilled */
.newsletter__trap { display: none !important; }
.newsletter-wrap { width: 100%; max-width: 380px; }
.newsletter__note { margin-top: 10px; padding-left: 24px; font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; color: rgba(0, 0, 0, 0.55); }
.newsletter__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.newsletter__note.is-success { color: #0b0d0c; }
.newsletter__note.is-error { color: #c9300a; }

.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a { display: grid; place-items: center; padding: 8px; opacity: 0.6; transition: opacity 0.2s; }
.site-footer__social a:hover { opacity: 1; }
.site-footer__social svg { width: 20px; height: 20px; color: #000; }
.site-footer__copy { margin-top: 16px; font-size: 14px; line-height: 1.5; letter-spacing: -0.03em; color: rgba(0, 0, 0, 0.6); }

.site-footer__cols { display: flex; gap: 72px; }
.site-footer__cols > div { min-width: 0; }
.site-footer__muted { font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; color: rgba(0, 0, 0, 0.5); }
.site-footer__head { margin-bottom: 24px; font-size: 16px; line-height: 1.5; color: rgba(0, 0, 0, 0.4); }
.site-footer__cols ul { display: flex; flex-direction: column; gap: 4px; }
.site-footer__cols a { font-size: 16px; line-height: 1.5; letter-spacing: -0.02em; color: #000; transition: opacity 0.2s; }
.site-footer__cols a:hover { opacity: 0.6; }

@media (max-width: 1024px) {
  .site-footer { min-height: 0; padding-bottom: 40px; }
  .site-footer__bottom { position: relative; left: auto; bottom: auto; transform: none; margin-top: 200px; flex-direction: column; align-items: flex-start; }
  .site-footer__cols { flex-wrap: wrap; gap: 40px 48px; }
}
