/* ==========================================================================
   Contact — links column and the Tandm card.
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-statement {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.2;
  margin: 0 0 36px;
}

/* The statement reads as a coloured lead line over a muted follow-up */
.contact-lead {
  color: var(--accent);
  font-size: 1.15em;
}

.contact-statement em {
  font-style: italic;
  color: var(--muted);
  font-size: 0.85em;
}

/* --------------------------------------------------------------------------
   Link list
   -------------------------------------------------------------------------- */

.links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.links li {
  display: grid;
  grid-template-columns: 24px 1fr 16px;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}

/* Brand marks stand in for the old text labels; they pick up the row's colour */
.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.24s ease;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.links li:hover .link-icon {
  color: var(--accent);
}

.links a,
.links button {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  transition: color 0.24s ease;
}

.links button {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.links a:hover,
.links button:hover {
  color: var(--accent);
}

.links .arrow {
  font-family: var(--font-mono);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Tandm card
   -------------------------------------------------------------------------- */

.tandm-card {
  border: 1px solid var(--rule);
  padding: 28px;
  background: var(--nb-bg);
}

.tandm-card .label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tandm-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0 24px;
}

.tandm-card p {
  margin: 0;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 17px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-statement {
    font-size: 20px;
  }

  .links li {
    grid-template-columns: 24px 1fr auto;
    gap: 12px;
    padding: 16px 0;
  }
}
