/* ─── Footer Parallax Wrapper ─── */

.footer-wrap {
  position: relative;
  overflow: hidden;
}

.footer-wrap__dark {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

/* ════════════════════════════════
   SITE FOOTER
════════════════════════════════ */

.site-footer {
  background: #f2f2f2;
  color: #1f1f1f;
  padding: clamp(40px, 4.6vw, 66px) clamp(20px, 3.7vw, 53px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.5vw, 50px);
  flex: 1;
}

/* ════════════════════════════════
   TOP ROW — 3 columns
════════════════════════════════ */

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 40px);
}

/* Left column */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 115px);
  max-width: clamp(240px, 28.8vw, 414px);
  flex-shrink: 0;
}

.footer__desc {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: #1f1f1f;
  margin: 0;
}

.footer__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.7vw, 10px);
}

.footer__cta-label {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 20px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1f1f1f;
  margin: 0;
}

.footer__email {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.8vw, 40px);
  font-weight: 400;
  color: #1f1f1f;
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 0.25s ease;
  word-break: break-all;
}

.footer__email:hover { opacity: 0.55; }

/* Center — decorative graphic */
.footer__deco {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__deco-img {
  width: clamp(120px, 18.6vw, 268px);
  height: auto;
  display: block;
}

/* Right — nav + socials */
.footer__right {
  display: flex;
  gap: clamp(20px, 2.8vw, 40px);
  align-items: flex-start;
  flex-shrink: 0;
}

/* ════════════════════════════════
   NAV & SOCIALS
════════════════════════════════ */

.footer__nav,
.footer__socials {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.85vw, 26px);
  min-width: clamp(90px, 10.6vw, 153px);
}

.footer__nav-label,
.footer__socials-label {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #545454;
  margin: 0;
}

.footer__nav-links,
.footer__social-links {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.85vw, 26px);
}

.footer__nav-link {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.48vw, 21px);
  font-weight: 400;
  color: #1f1f1f;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.25s ease;
}

.footer__nav-link:hover { opacity: 0.5; }

.footer__social-link {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.74vw, 10px);
  text-decoration: none;
  color: #1f1f1f;
  transition: opacity 0.25s ease;
}

.footer__social-link:hover { opacity: 0.5; }

.footer__social-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer__social-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.48vw, 21px);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ════════════════════════════════
   DIVIDER
════════════════════════════════ */

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(31, 31, 31, 0.15);
  flex-shrink: 0;
}

/* ════════════════════════════════
   BOTTOM ROW
════════════════════════════════ */

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
}

.footer__copy {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 400;
  color: #545454;
  line-height: 1.5;
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 4px;
}

/* CLVN Wordmark */
.footer__wordmark {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}

.footer__wordmark img {
  width: clamp(200px, 67.3vw, 969px);
  height: auto;
  aspect-ratio: 968.667 / 283.33;
  display: block;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 1024px) {
  .footer__top {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer__deco {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .footer__left {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__left {
    max-width: 100%;
  }

  .footer__deco {
    order: unset;
    width: auto;
  }

  .footer__right {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__wordmark img {
    width: 100%;
  }
}
