/* ==========================================================================
   /contact — page styles (Contact.dc.html)
   Loaded only on this page via $pageCss = 'contact'. Shared components
   (hero, cards, buttons, fields, bubble) come from site.css.
   ========================================================================== */

/* Second hero blob, bottom right */
.contact-blob-2 { right: 120px; bottom: -60px; width: 120px; height: 120px; }

/* ---------- Cards column + form, side by side ---------- */
.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 24px;
    align-items: start;
}

/* Two-up on wide screens, one-up when a card would drop under 200px */
.contact__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(200px, calc(50% - 8px))), 1fr));
    gap: 16px;
}

.contact__value { font-size: 18px; font-weight: 700; text-decoration: underline; }
.contact__value--break { word-break: break-word; }
.contact__text { font-size: 17px; line-height: 1.5; font-weight: 600; }

/* ---------- The yellow form panel ---------- */
.contact__form {
    background: var(--c-yellow);
    border-radius: var(--r-panel);
    padding: clamp(24px, 4vw, 40px);
    display: flex; flex-direction: column; gap: 20px;
}

/* ---------- Map ---------- */
.map {
    position: relative;
    height: clamp(360px, 55vh, 560px);
    border-radius: var(--r-hero);
    overflow: hidden;
    border: 3px solid var(--c-ink);
    box-shadow: var(--sh-ink);
    background: var(--c-teal-tint);
}

.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }

/* Before the map is loaded: a quiet street-plan pattern and a button. */
.map__load {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 24px 24px 140px;
    text-align: center;
    background-color: var(--c-teal-tint);
    background-image:
        linear-gradient(90deg, transparent 0 calc(50% - 7px), var(--c-cream) calc(50% - 7px) calc(50% + 7px), transparent calc(50% + 7px)),
        linear-gradient(0deg, transparent 0 calc(50% - 5px), var(--c-cream) calc(50% - 5px) calc(50% + 5px), transparent calc(50% + 5px)),
        radial-gradient(circle, rgba(59, 23, 88, .14) 1.5px, transparent 2px);
    background-size: 340px 260px, 340px 260px, 22px 22px;
    background-position: -40px 0, 0 -60px, 0 0;
}
.map__load:hover { color: var(--c-ink); }
@media (min-width: 700px) { .map__load { padding-bottom: 24px; } }

.map__pin { display: block; transform: scale(1.5); transform-origin: 50% 100%; margin-bottom: 18px; }

.map__load-btn {
    display: inline-flex; align-items: center;
    background: var(--c-white); color: var(--c-ink-deep);
    border: 3px solid var(--c-ink); box-shadow: var(--sh-ink-sm);
    padding: 13px 24px; border-radius: var(--r-pill);
    font-weight: 700; font-size: 16px; line-height: 1;
    transition: transform .08s, box-shadow .08s;
}
.map__load:hover .map__load-btn { background: var(--c-cream); transform: translateY(4px); box-shadow: 0 2px 0 var(--c-ink); }
.map__load:active .map__load-btn { transform: translateY(6px); box-shadow: 0 0 0 var(--c-ink); }
.map__load-note { font-size: 14px; font-weight: 600; }

.map__card {
    position: absolute; z-index: 1;
    left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
    background: var(--c-white); border: 3px solid var(--c-ink);
    border-radius: 24px 24px 24px 6px; padding: 18px 22px;
    display: flex; flex-direction: column; gap: 6px; max-width: 300px;
}
.map__name { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.map__addr { font-size: 15px; line-height: 1.45; font-weight: 500; }
.map__dir { font-weight: 700; font-size: 15px; text-decoration: underline; }
