.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}
.contact-card {
  background: var(--bone);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: background 0.2s ease;
}
.contact-card:hover { background: var(--bone-2); }
.contact-card:hover .arrow { transform: translateX(6px); color: var(--ember); }
.cc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ember);
  font-weight: 600;
}
.cc-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  margin-top: 4px;
}
.cc-email {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ember);
  margin-top: 6px;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}
.cc-foot {
  position: absolute;
  top: 40px;
  right: 40px;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 18px;
}
.cc-foot .arrow { display: inline-block; transition: transform 0.2s ease, color 0.2s ease; }
.contact-card-security { background: var(--sage-wash); }
.contact-card-security:hover { background: #DCEDE7; }
.contact-card-security .cc-num { color: var(--sage-deep); }
.contact-card-security .cc-email { color: var(--sage-deep); }

.contact-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
/* Promoted from h3 to h2 (they sat directly under the page h1). line-height is
   stated because the base h3 rule set 1.2 and the base h2 rule sets 1.08. */
.detail-col h2,
.detail-col h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
}
.detail-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.detail-col a { color: var(--ember); border-bottom: 1px solid var(--ember-wash); }
.response-list { padding: 0; }
.response-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.response-list li span { color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.response-list li strong { color: var(--ink); font-family: var(--font-mono); font-size: 13px; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-detail { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { padding: 32px; }
  .cc-foot { top: 32px; right: 32px; }
}
