/* Home Atelier visiting area: map card + suburb/postcode checker (assets/visit-map.js) */
.va { padding: 0 0 clamp(48px, 6vw, 90px); }
.va-head { display: grid; gap: 12px; margin-bottom: clamp(20px, 2.6vw, 34px); }
.va-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.va-card { margin: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 40px 90px -60px rgba(11, 20, 48, .35); overflow: hidden; }

/* the map: height reserved before the library loads, so nothing shifts */
.va-map { position: relative; height: clamp(360px, 46vw, 540px); background: var(--pearl); outline: none; z-index: 0; font-family: var(--font-body); }
.va-map:focus-visible { box-shadow: inset 0 0 0 2px var(--jewel); }
.va-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-size: 14.5px;
  background: radial-gradient(60% 55% at 48% 50%, var(--jewel-soft) 0%, transparent 70%), var(--pearl); }
.va-map.ready .va-ph { display: none; }
.va-hint { position: absolute; left: 50%; top: 50%; z-index: 1000; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity .3s;
  padding: 10px 16px; border-radius: 999px; background: rgba(6, 12, 38, .78); color: #fff; font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; }
.va-hint.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .va-hint { transition: none; } }

.va-map .leaflet-container, .va-map.leaflet-container { font-family: var(--font-body); background: var(--pearl); }
.va-map .leaflet-tile-pane { filter: grayscale(1) contrast(.72) brightness(1.16); }
.va-map .leaflet-control-zoom { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(11, 20, 48, .4); }
.va-map .leaflet-control-zoom a { width: 34px; height: 34px; line-height: 32px; color: var(--ink); border-bottom-color: var(--line); font-weight: 300; }
.va-map .leaflet-control-zoom a:hover { background: var(--pearl); color: var(--jewel); }
.va-map .leaflet-control-zoom a:focus-visible { outline: 2px solid var(--jewel); outline-offset: -2px; }
.va-map .leaflet-control-attribution { font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, .82); border-top-left-radius: 8px; padding: 1px 8px; }
.va-map .leaflet-control-attribution a { color: var(--ink-2); }
.va-tip { background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 16px -10px rgba(11, 20, 48, .45);
  color: var(--ink); font-family: var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; padding: 3px 10px; }
.va-tip::before { display: none; }
.va-tip.main { color: var(--jewel); border-color: var(--gold-bright); }

.va-alt { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding: 18px clamp(18px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.va-alt p { margin: 0; color: var(--ink-2); font-size: 15px; font-weight: 300; max-width: 62ch; }
.va-alt a { flex: none; }

/* checker */
.va-check { padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.va-check h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; margin: 0; }
.va-check h3 em { color: var(--jewel); }
.va-check .note { margin: 0; }
.va-check form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-top: 4px; }
.va-out:empty { display: none; }
.va-res { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--pearl); border: 1px solid var(--line); }
.va-res p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.va-res p:last-child { margin: 0; }
.va-res b { color: var(--ink); font-weight: 500; }
.va-dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--muted); }
.va-res.yes { background: var(--jewel-soft); border-color: color-mix(in srgb, var(--jewel) 22%, transparent); }
.va-res.yes .va-dot { background: var(--jewel); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jewel) 18%, transparent); }
.va-res.no .va-dot { background: var(--gold); }

@media (max-width: 980px) { .va-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .va-map { height: min(60vh, 440px); min-height: 300px; }
  .va-check form { grid-template-columns: minmax(0, 1fr); }
  .va-alt { flex-direction: column; }
}

/* phones (mobile polish) */
#vaWhere::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }
@media (max-width: 560px) { .va-map { height: min(60vh, 440px); height: min(60svh, 440px); } }
@media (pointer: coarse) {
  .va-map.leaflet-touch .leaflet-control-zoom { border: 1px solid var(--line); }
  .va-map.leaflet-touch .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 42px; font-size: 24px; }
  .va-alt .txt-btn { align-self: flex-start; }
}

/* short screens: a phone on its side still sees the page around the map */
@media (max-height: 500px) { .va-map { height: 280px; min-height: 0; } }
