/* ── Contact / closing CTA ────────────────────────────────────────── */
/* Reads as one block: eyebrow → heading → action → reassurance →
   socials. Tighter padding than the other sections, because the added
   supporting copy now carries the weight the whitespace used to. */

#contact {
  padding: 92px 8vw 76px;
  background: var(--grey-1);
  text-align: center;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 18px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.02;
}

/* ── Email: the page's primary action ─────────────────────────────── */

.contact-email {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  position: relative;
  margin-top: 32px;
  padding-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.4vw, 34px);
  color: var(--white);
  letter-spacing: 0.03em;
  /* Legible at rest — grey-2 on a grey-1 ground is invisible, and this is
     the page's primary action. The white rule wipes over it on hover. */
  border-bottom: 2px solid var(--grey-3);
  transition: transform var(--dur-press) var(--ease-out);
}

/* Same gesture as the nav underline, scaled up — grows from the left. */
.contact-email::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.contact-email-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62em;
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-email:hover::after {
    transform: scaleX(1);
  }
  .contact-email:hover .contact-email-arrow {
    transform: translateX(5px);
  }
}

.contact-email:active {
  transform: scale(0.985);
  transition-duration: 100ms;
}

.contact-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-3);
  margin-top: 22px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.social-link {
  color: var(--white);
  opacity: 0.75;
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    opacity: 1;
  }
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .contact-email::after {
    transition: none;
  }
  .contact-email-arrow,
  .contact-email:hover .contact-email-arrow {
    transform: none;
    transition: none;
  }
  .contact-email:active {
    transform: scale(0.995);
  }
}

@media (max-width: 768px) {
  #contact {
    padding: 72px 8vw 64px;
  }
}
