/* =========================================================
   CONTACT
========================================================= */

.contact-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 50px) 0 60px;
  position: relative;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

@media (max-width: 820px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* left: photo panel */
.contact-photo {
  position: relative;
  background: var(--ink-2);
  min-height: 420px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
  min-height: 420px;
}

.contact-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 13, 16, 0.92),
    rgba(10, 13, 16, 0.1) 55%
  );
}

.contact-photo-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  right: 28px;
}

.contact-photo-caption .name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-photo-caption .role {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--trace);
  margin-top: 6px;
  display: block;
}

/* right: content panel */
.contact-panel {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 640px) {
  .contact-panel {
    padding: 42px 28px;
  }
}

.contact-kicker {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--trace);
  margin-bottom: 16px;
  display: block;
}

.contact-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  max-width: 16ch;
}

.contact-desc {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 52ch;
}

.contact-channels {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.contact-channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  transition: padding-left 0.25s ease;
}

.contact-channel:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.contact-channel:hover {
  padding-left: 8px;
}

.contact-channel-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-channel-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
}

.contact-channel-sub {
  color: var(--text-faint);
  font-size: 0.82rem;
  margin-top: 2px;
}

.contact-channel-arrow {
  color: var(--text-faint);
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-channel:hover .contact-channel-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.contact-panel-cta {
  margin-top: 36px;
}