/* Contact band, shared by the landing page and the project pages.
   Always the portfolio blue, also on the DIF page, since it is about William, not the client. */

.contact2 {
  --blue: #4a63e8; --blue-ink: #ffffff;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  background: var(--blue); color: var(--blue-ink); padding-block: clamp(72px, 9vw, 128px);
}
.contact2 .wrap-wide, .contact2 > .wrap { width: 100%; max-width: var(--wide, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.contact2 ::selection { background: var(--blue-ink); color: var(--blue); }
.contact2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact2 h2 { font-family: var(--mono); font-weight: 700; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.25; }
.contact2-lede { margin-top: 16px; font-size: var(--step-0); line-height: 1.5; opacity: 0.88; }
@media (min-width: 1001px) { .contact2-lede { white-space: nowrap; } }
.contact2-me { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.contact2-me img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #efede8; }
.contact2-me b { display: block; font-weight: 500; }
.contact2-me span { display: block; opacity: 0.82; font-size: var(--step--1); line-height: 1.45; }
.contact2-me span strong { font-weight: 600; opacity: 1; }

.channels li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 76px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.channels li:last-child { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(255, 255, 255, 0.28); }
.channels .lbl { opacity: 0.78; font-size: var(--step--1); }
.channels .val { font-family: var(--font); font-size: var(--step-2); font-weight: 500; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.channels .val:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.channels .act {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; width: 132px; min-height: 40px; padding: 0 18px; border-radius: 2px;
  font: inherit; font-family: var(--font); font-size: var(--step--1); font-weight: 500; color: var(--blue); background: var(--blue-ink);
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform 0.2s var(--ease-out), opacity 0.2s;
}
.channels .act:hover { opacity: 0.9; }
.channels .act:active { transform: scale(0.98); }
.channels .act svg { width: 14px; height: 14px; flex: none; }
.contact2 :focus-visible { outline-color: var(--blue-ink); }
.contact2 p, .contact2 li, .contact2 span { font-family: var(--font); }

@media (max-width: 1000px) {
  .contact2-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .channels li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding-block: 14px; }
  .channels .lbl { grid-column: 1 / -1; }
  .channels .val { font-size: var(--step-1); }
}
