/* Contact page */
body.contact .contact-content {
  max-width: 760px;
  margin: 40px auto 56px;
  padding: 0 28px;
}

body.contact .contact-card {
  border: 1px solid var(--outline);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  padding: 24px;
}

body.contact .contact-copy {
  margin: 0 0 14px;
  color: #d6d6d6;
  font-size: 16px;
  line-height: 1.6;
}

body.contact .contact-signal {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.contact .contact-list {
  display: grid;
  gap: 16px;
}

body.contact .contact-item {
  display: grid;
  gap: 8px;
}

body.contact .contact-method {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  background: #0b0b0b;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}

body.contact .contact-method::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(252, 255, 0, .14), transparent 28%),
    linear-gradient(90deg, rgba(252, 255, 0, .1), rgba(255, 164, 28, .06) 42%, transparent 78%);
  transition: opacity 150ms ease;
}

body.contact .contact-method:hover {
  border-color: rgba(255, 207, 64, .48);
  background: #10110b;
  box-shadow: 0 0 18px rgba(252, 255, 0, .06), inset 3px 0 0 rgba(252, 255, 0, .42);
}

body.contact .contact-method:hover::before {
  opacity: 1;
}

body.contact .contact-method:hover .contact-label {
  color: #f5f5c8;
}

body.contact .contact-method:hover .contact-value {
  color: #fffde8;
}

body.contact .contact-method:active {
  transform: translateY(1px);
}

body.contact .contact-label {
  position: relative;
  color: #e2e2d6;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

body.contact .contact-value {
  position: relative;
  color: #fbfbf6;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

body.contact .copy-email {
  justify-self: end;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5f94d6;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

body.contact .copy-email:hover,
body.contact .copy-email.copied {
  color: #8fbaf0;
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) and (max-width: 980px) {
  body.contact .contact-content {
    margin: 30px auto 46px;
    padding-left: 18px;
    padding-right: 18px;
  }

  body.contact .contact-card {
    padding: 18px;
  }

  body.contact .contact-method {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 13px 14px;
  }

  body.contact .contact-value {
    text-align: left;
  }

  body.contact .copy-email {
    justify-self: start;
  }

}
