/* ============ CONTACT / FOOTER — dark Resend-style closing ============ */

#contact {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(45% 35% at 72% 12%, rgba(15, 181, 166, .10), transparent 60%),
    #050505;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #ebeced;
  padding-top: clamp(34.56px, 2.45vw, 50.4px);
  padding-bottom: clamp(20.16px, 1.58vw, 28.8px);
}

#contact .contact-eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(13px, 0.61vw, 13px);
  color: #a0a0a0;
}

#contact .contact-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21.6px, 2.16vw, 38.88px);
  line-height: 1.2;
  margin-top: clamp(10.08px, 0.86vw, 15.84px);
  background: linear-gradient(to bottom right, #fff 30%, #ffffff80);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ---- rule + real Get in Touch button (glass, Resend-style) ---- */
#contact .contact-rule-wrap {
  position: relative;
  margin-top: clamp(31.68px, 3.24vw, 61.92px);
}

#contact .contact-rule {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

#contact .contact-btn {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -19.44px;
  display: inline-flex;
  align-items: center;
  gap: 7.2px;
  padding: 10.8px 21.6px;
  border-radius: 11.52px;
  border: 2px solid rgba(255, 255, 255, .06);
  background: linear-gradient(104deg, rgba(253, 253, 253, .05) 5%, rgba(240, 240, 228, .12) 100%);
  backdrop-filter: blur(22px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(13px, 0.72vw, 13px);
  color: #fff;
  box-shadow: 0 0 4px #ffffff0f, 0 1px 14px #ffffff1f, 0 3px 32px #ffffff2e;
  transition: background .25s ease-in-out, color .25s ease-in-out; /* transform is driven by the magnetic JS */
  z-index: 2;
  will-change: transform;
}

#contact .contact-btn:hover {
  background: rgba(255, 255, 255, .92);
  color: #000;
}

#contact .contact-btn-spark { font-size: 1.1em; }

/* ---- email / phone / socials columns ---- */
#contact .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(23.04px, 2.16vw, 41.04px);
  margin-top: clamp(31.68px, 3.24vw, 61.92px);
}

#contact .contact-col {
  display: flex;
  flex-direction: column;
  gap: 4.32px;
  min-width: clamp(144px, 12.96vw, 237.6px);
}

#contact .contact-socials {
  display: flex;
  gap: 12.96px;
}

#contact .contact-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7a7a7a;
}

#contact .contact-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(13px, 0.72vw, 13px);
  color: #ebeced;
  transition: color .25s ease;
}

#contact .contact-value:hover {
  color: var(--accent-bright, #2dd4c4);
  text-decoration: none;
}

/* ---- Resend-signature outline mega-text ---- */
#contact .contact-mega {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46.08px, 7.92vw, 129.6px);
  line-height: 1.05;
  text-align: center;
  margin-top: clamp(34.56px, 3.6vw, 69.12px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .45);
  text-shadow: -1px -1px 0 rgba(255, 255, 255, .12), 2px 2px 14px rgba(0, 0, 0, .65);
  user-select: none;
}

/* ---- copyright ---- */
#contact .contact-copyright {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #666666;
  text-align: center;
  margin-top: clamp(20.16px, 1.73vw, 31.68px);
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  #contact .contact-btn {
    position: static;
    margin: 20.16px 0 0;
    display: inline-flex;
  }
  #contact .contact-details {
    flex-direction: column;
    gap: 17.28px;
  }
  #contact .contact-col { min-width: 0; }
  #contact .contact-mega { font-size: clamp(31.68px, 9.36vw, 64.8px); }
}
