/* Redlab — contact page: page-specific parts. The brief and the form live in brief.css. */

main > .brief { padding-block: clamp(24px, 4vh, 48px) var(--section); }


/* ==========================================================================
   4. Other ways to reach us: a grid of labelled lines.
   ========================================================================== */
.reach .section-sub { max-width: 26em; }

/* The map: land as a field of quiet dots; a client city lights its own dot red and breathes. */
.map-wrap { margin: 0 0 clamp(40px, 5vw, 72px); }
.map { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.map-land { fill: none; stroke: #d9d3cc; stroke-width: 3.6; stroke-linecap: round; }
.map-city circle { fill: var(--red); }
.map-city text { font-size: 13px; font-weight: 500; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.map-pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }
.map-city:hover text, .map-city:focus-visible text { fill: var(--red); }
.reach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--hair); }
.reach-grid li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 8px 12px; padding-block: 24px 28px; border-bottom: 1px solid var(--hair); }
.reach-label { grid-column: 1 / -1; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reach-value { justify-self: start; font-size: var(--t-lead); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; text-decoration: none; transition: color .2s var(--ease); }
.reach-value:hover, .reach-links a:hover { color: var(--red); }
.reach-out::after { content: ' ↗'; color: var(--muted); }
.reach-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--t-lead); font-weight: 500; }
.reach-links a { text-decoration: none; transition: color .2s var(--ease); }
.reach-copy { align-self: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--white); font-size: var(--t-small); font-weight: 500; cursor: pointer; opacity: 0; transition: opacity .2s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.reach-grid li:hover .reach-copy, .reach-copy:focus-visible, .reach-copy.is-done { opacity: 1; }
.reach-copy:hover, .reach-copy.is-done { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (hover: none) { .reach-copy { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .map-pulse { animation: map-pulse 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * 240ms); }
}
@keyframes map-pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* Tablet */
@media (max-width: 1080px) {
  .reach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
  .map-city text { display: none; }
  .map { width: calc(100% + var(--gutter) * 2 - 8px); max-width: none; margin-inline: calc(-1 * var(--gutter) + 4px); }
  .map-land { stroke-width: 4.4; }
  .map-city circle { r: 7; }
  .reach-grid { grid-template-columns: 1fr; }
}
