/* Contact: one clean list of ways to reach me (page mechanics in page.css) */

.ct-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 140px);
  align-items: center;
  max-width: 1600px;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(84px, 12vh, 128px) clamp(20px, 5vw, 96px) 72px;
}

.ct-label {
  margin: 0 0 18px;
  font: 500 12px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.ct-title {
  margin: 0 0 22px;
  font: 400 clamp(52px, 7vw, 124px)/0.92 Anton, var(--font-mono);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ct-lede {
  max-width: 34ch;
  margin: 0;
  font: 400 clamp(17px, 1.5vw, 21px)/1.55 'DM Sans', system-ui, sans-serif;
  color: #3a3a3a;
}

.ct-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.ct-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

/* rows without a Copy button keep the same right edge so every arrow lines up */
.ct-list li:not(:has(.ct-copy))::after {
  content: "";
  flex-shrink: 0;
  width: 70px;
}

.ct-row {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: clamp(18px, 2.6vh, 26px) 4px;
  color: #0a0a0a;
  text-decoration: none;
}

.ct-k {
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.ct-v {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 clamp(21px, 2.3vw, 34px)/1.15 'DM Sans', system-ui, sans-serif;
  letter-spacing: -0.015em;
  transition: transform 0.55s var(--ease);
}

.ct-go {
  font-size: 20px;
  transition: transform 0.55s var(--ease);
}

.ct-row:hover .ct-v,
.ct-row:focus-visible .ct-v {
  transform: translateX(8px);
}

.ct-row:hover .ct-go,
.ct-row:focus-visible .ct-go {
  transform: translate(3px, -3px);
}

.ct-row:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: -2px;
}

.ct-copy {
  flex-shrink: 0;
  min-width: 70px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.2);
  background: #fff;
  color: #0a0a0a;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.ct-copy:hover,
.ct-copy:focus-visible {
  background: #0a0a0a;
  color: #fff;
  box-shadow: none;
}

/* announced to screen readers; the button itself shows "Copied" */
.ct-toast {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 900px) {
  .ct-page {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .ct-row {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
  }
  .ct-k {
    grid-column: 1 / -1;
  }
  .ct-v {
    font-size: 19px;
  }
}
