/* ===========================================================
   Contact details (contact) — "Rather just reach out by email or socials?"
   Same build as the Services block: light grey, the title on the left
   content edge, small groups in two columns on the right (a grey label,
   then a big email address or quiet links with an arrow). At least 700px
   tall with the content centred (shared.css). contact-info.js fills it
   from Sanity and animates it in.
   =========================================================== */
.eod-cinfo {
  background: var(--eod-bg-secondary);
  color: var(--eod-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7.5em;
  padding-bottom: 7.5em;
}
.eod-cinfo__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3em;
  width: 100%;
  max-width: var(--eod-content-max);
  margin: 0 auto;
}
.eod-cinfo__title {
  flex: 1 1 0;
  max-width: 9.9em; /* 633px at 64 */
  margin: 0;
  font-weight: 400;
  /* Header 1 */
  font-size: var(--eod-fs-h1);
  line-height: var(--eod-lh-h1);
  letter-spacing: var(--eod-ls-h1);
}
.eod-cinfo__grid {
  flex: 1 1 0;
  max-width: 39.5em; /* 633px */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 2.5em;
}
.eod-cinfo__group {
  max-width: 18.75em; /* 300px */
  padding-right: 1.25em;
}
.eod-cinfo__label {
  margin: 0 0 1.25em;
  font-weight: 400;
  /* Paragraph 2, secondary */
  font-size: var(--eod-fs-p2);
  line-height: var(--eod-lh-p2);
  letter-spacing: var(--eod-ls-p2);
  color: var(--eod-text-secondary);
  text-transform: uppercase;
}
.eod-cinfo__items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Mask the words rise out of (see contact-info.js) */
.eod-cinfo__mask {
  display: block;
  overflow: hidden;
  padding: 0 0.12em 0.08em 0;
  margin: 0 -0.12em -0.08em 0;
}
.eod-cinfo__mask > span {
  display: block;
}
.eod-cinfo__title .eod-cinfo__mask {
  display: inline-block;
  vertical-align: top;
}

/* The email address: Paragraph 1 */
.eod-cinfo__big {
  font-size: var(--eod-fs-p1);
  line-height: var(--eod-lh-p1);
  letter-spacing: var(--eod-ls-p1);
  color: var(--eod-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.eod-cinfo__big:hover,
.eod-cinfo__big:focus-visible {
  background-size: 100% 1px;
}
/* Links: Paragraph 2, ink with a grey arrow */
.eod-cinfo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: var(--eod-fs-p2);
  line-height: var(--eod-lh-p2);
  letter-spacing: var(--eod-ls-p2);
  color: var(--eod-ink);
  text-decoration: none;
}
.eod-cinfo__arrow {
  display: inline-block;
  color: var(--eod-text-secondary);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
a.eod-cinfo__link:hover .eod-cinfo__arrow,
a.eod-cinfo__link:focus-visible .eod-cinfo__arrow {
  color: var(--eod-ink);
  transform: translateX(0.3em);
}

@media (max-width: 1023px) {
  .eod-cinfo__row {
    flex-direction: column;
    gap: 2.5em;
  }
  .eod-cinfo__title,
  .eod-cinfo__grid {
    flex: none;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .eod-cinfo {
    padding-top: 5em;
    padding-bottom: 5em;
  }
}
@media (max-width: 479px) {
  .eod-cinfo__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2em;
  }
}
