/* DM ORIGINALS: the contact line between chapter 1 and the intro, and the way on.
   A compact band: a small title, then the number, the address and the profile on one line
   (two on a phone, where one would not fit at a readable size), then the button. */

.contact {
  position: relative;
  z-index: var(--z-content);
  padding-block: clamp(20px, 3.5svh, 40px) clamp(36px, 6svh, 64px);
}
.contact__wrap {
  display: grid;
  justify-items: center;
  gap: var(--s-4);
  text-align: center;
}
.contact__title { font-size: var(--step-display-s); }

.contact__line {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
}
.contact__item { display: flex; align-items: center; }
/* a hairline between items that share a line */
.contact__item + .contact__item::before {
  content: "";
  width: 1px;
  height: 18px;
  margin-inline: clamp(10px, 2vw, 22px);
  background: var(--line-strong);
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--paper);
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: color var(--t-micro) var(--ease-out), transform 160ms var(--ease-out);
}
.contact__link:active { transform: scale(0.97); }
.contact__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(242, 238, 230, 0.07);
  color: var(--ink-2);
  transition: background-color var(--t-micro) var(--ease-out), color var(--t-micro) var(--ease-out);
}
.contact__icon svg { width: 16px; height: 16px; }
.contact__value {
  font-weight: 500;
  font-size: clamp(0.9rem, 0.82rem + 0.35vw, 1.05rem);
  white-space: nowrap;
}
/* the bulb reaches a link only when a hand or focus does */
.contact__link:hover,
.contact__link:focus-visible { color: var(--tungsten); }
.contact__link:hover .contact__icon,
.contact__link:focus-visible .contact__icon { background: rgba(255, 201, 120, 0.12); color: var(--tungsten); }

/* phones: the number and the address share the first line, the profile takes the second */
@media (max-width: 719px) {
  .contact__item:last-child { flex-basis: 100%; justify-content: center; }
  .contact__item:last-child::before { display: none; }
}

.contact__next { margin-top: var(--s-2); white-space: normal; text-align: center; }
/* a play mark grows a touch on hover; it does not slide (it points the same way in both directions) */
@media (hover: hover) and (pointer: fine) {
  .contact__next:hover .btn__icon { transform: scale(1.08); }
}
