/* ============================================================
   Component: contact (BEM)
   The "Skriva ella ring" card on /samband/ — each way of reaching
   us gets its own tile, side by side on desktop, stacked on phones.
   ============================================================ */

.contact__methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin: 0;
  margin-top: var(--space-lg);
  padding: 0;
  list-style: none;
}

/* One tile per contact method. The whole tile is the link target, so
   it stays an easy tap on a phone. */
.contact__method {
  display: block;
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background var(--transition);
}

.contact__method:hover,
.contact__method:focus-visible {
  border-color: var(--brand-teal);
  background: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact__label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact__value {
  display: block;
  font-size: var(--text-xl);
  color: var(--brand-teal-deep);
  overflow-wrap: anywhere;
}

/* --- Org details ("Felagsskapurin") ---
   Same label-over-value pairing as the tiles above, deliberately without their
   border and hover: none of these are links, so they must not look tappable. */
.contact__org {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg) var(--space-2xl);
  margin: var(--space-lg) 0 0;
}

.contact__org-value {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--brand-teal-deep);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* The English identity sentence, ruled off from the details above. Small and
   muted — present and readable, but never competing with the Faroese copy. */
.contact__identity {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 60ch;
}

@media (max-width: 720px) {
  .contact__methods { grid-template-columns: 1fr; gap: var(--space-md); }
  .contact__org { grid-template-columns: 1fr; gap: var(--space-md); }
}
