/* ============================================================ contact page */
.site-nav a[aria-current="page"] { color: var(--text); }

.contact-page {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 150px var(--pad) clamp(80px, 10vw, 120px);
}

.contact-intro {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.contact-logo {
  width: clamp(84px, 9vw, 104px);
  height: auto;
  margin-bottom: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(234, 231, 221, .18), 0 24px 60px rgba(0, 0, 0, .55);
}

.contact-intro h1 {
  max-width: none;
  margin-top: 18px;
  font-size: clamp(48px, 7.2vw, 104px);
}

.contact-lede {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300;
}

.contact-grid,
.social-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 210px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg);
  color: var(--text);
  transition: background .3s var(--ease);
}

.contact-card[href]:hover { background: rgba(234, 231, 221, .04); }

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-links a {
  width: max-content;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: -.01em;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.social-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(18px, 2.4vw, 26px);
  background: var(--bg);
  color: var(--text-dim);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.social-card:hover {
  background: rgba(234, 231, 221, .04);
  color: var(--text);
}

.social-icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.social-name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.social-handle {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.social-arrow {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: color .3s var(--ease), transform .35s var(--ease);
}

.social-card:hover .social-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

@media (max-width: 820px) {
  .contact-grid,
  .social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .contact-page { padding-top: 120px; }
  .contact-card { min-height: 0; }
  .contact-intro h1 { font-size: clamp(44px, 12vw, 64px); }
  .social-card { padding: 18px 16px; }
}
