/* /contact — ways to get in touch, the address with a map, the company details.
   The shared template supplies the variables (--panel, --border, --accent, --muted); only the
   things belonging to this page alone are here. */

.lead { color:var(--muted); max-width:62ch; }

/* The three ways to get in touch. Cards, not a list: each is a press target across its whole
   rectangle, rather than a thin line of text that has to be hit. */
.ways { display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
        margin:22px 0 8px; }
.way { display:flex; align-items:flex-start; gap:13px; padding:15px 17px; text-decoration:none;
       background:var(--panel); border:1px solid var(--border); border-radius:12px;
       color:var(--text); }
.way:hover { border-color:var(--accent); }
.way-ico { flex:none; width:34px; height:34px; border-radius:9px; display:grid;
           place-content:center; background:rgba(63,185,80,.12); color:var(--accent);
           font-size:17px; }
.way-b { display:flex; flex-direction:column; gap:3px; min-width:0; }
.way-t { font-weight:600; }
.way-d { color:var(--muted); font-size:13.5px; line-height:1.5; }

.addr { font-size:17px; line-height:1.6; }

/* The map's box holds its place from the start — both with the prompt and with the map
   inside it. Otherwise pressing rocks the page under the finger that has just pressed. */
/* A phone is narrower than the map. Without this the box runs 130px past the right edge and
   the whole page scrolls sideways — measured at 390px, scrollWidth 520. */
.mapwrap { max-width:100%; box-sizing:border-box; position:relative; border:1px solid var(--border); border-radius:12px;
           overflow:hidden; background:var(--panel); aspect-ratio:16/9; min-height:280px; }
.mapask { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center;
          justify-content:center; gap:6px; text-align:center; padding:22px; }
/* `display:flex` in the rule above beats the browser's default for [hidden], which is why
   the prompt stayed on top of the map once it had loaded — the map was visible, but underneath it. */
.mapask[hidden] { display:none; }
.mapask p { margin:0; }
.mapnote { color:var(--muted); font-size:13px; max-width:46ch; line-height:1.55; }
.mapask .btn { margin:8px 0 2px; }
#map { width:100%; height:100%; border:0; display:block; }
#map[hidden] { display:none; }
.mapcredit { color:var(--muted); font-size:12.5px; margin-top:8px; }

/* The company and bank details: two columns, label and value. The key is on its own line so
   the value can be selected and copied without the label coming with it. */
table.firm { border-collapse:collapse; margin:14px 0 6px; }
table.firm th { text-align:left; font-weight:400; color:var(--muted); vertical-align:top;
                padding:6px 22px 6px 0; white-space:nowrap; }
table.firm td { padding:6px 0; vertical-align:top; }
table.firm .iban { font-family:ui-monospace,'DejaVu Sans Mono',monospace; font-weight:600;
                   letter-spacing:.03em; }
@media (max-width:560px) {
  table.firm, table.firm tbody, table.firm tr, table.firm th, table.firm td { display:block; }
  table.firm th { padding:10px 0 0; white-space:normal; font-size:13px; }
  table.firm td { padding:0 0 4px; }
}

.mapwrap iframe, .mapwrap img { max-width:100%; }
