/* Contact page styles (loaded after base.css). */
.contact { padding-top: 56px; padding-bottom: 80px; }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.contact__list { margin: 0; padding: 0; list-style: none; }
.contact__row { position: relative; display: block; padding: 10px 0 10px 24px; font: 300 18px/32px var(--ff-sans); color: var(--c-ink); overflow-wrap: anywhere; }
.contact__row:not(:last-child)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 49px; border-bottom: 1px solid #ddd; }
.contact__icon { position: absolute; left: 0; top: 19px; width: 13px; height: 13px; color: #777; }
.contact__row--address { padding-top: 16px; line-height: 40px; }
.contact__row--address .contact__icon { top: 25px; }
.contact__row address { font-style: normal; }
.contact__row a { display: inline-block; padding: 6px 0; text-decoration: none; }
.contact__row a:hover { text-decoration: underline; }
.contact__figure { margin: 0; }
.contact__map { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; background: #eee; }
/* Message form */
.cform { padding-top: 0; padding-bottom: 80px; }
.cform__grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 768px) {
  .contact__row { font-size: 20px; }
  .contact__map { aspect-ratio: 16 / 9; }
}
@media (min-width: 1025px) {
  .cform { padding-bottom: 120px; }
  /* Mirrored 5/7 and 7/5 splits: the light text column sits opposite the heavy block
     in each row (details | map, then form | social), and both share the same 60px gap. */
  .contact { padding-top: 118px; padding-bottom: 100px; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 60px; align-items: stretch; }
  .contact__figure { display: flex; }
  .contact__map { height: auto; min-height: 340px; aspect-ratio: auto; }
  .cform__grid { grid-template-columns: 7fr 5fr; gap: 60px; }
}

