/* ============================================================
   FIND US — shared by the home page and /visit (loaded deferred).
   Split out of pages/home.css.
============================================================ */

.findus {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--pad-x) 64px;
}
.findus__card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: var(--cream-2);
    border: 1px solid var(--line);
}
.findus__map {
    position: relative;
    min-height: 280px;
    /* Square on phones, so the slot keeps the SVG's size when the Google map
       replaces it. From 640px the grid row sets the height. */
    aspect-ratio: 1;
}
.findus__svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* Road names on the SVG. Sizes are SVG units, which scale with the map, so
   phones get a larger value to stay legible at ~0.55x. */
.findus__labels text {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    fill: rgba(26, 22, 20, 0.62);
    stroke: #F1E8D8;
    stroke-width: 4px;
    stroke-linejoin: round;
    paint-order: stroke;
    text-anchor: middle;
    dominant-baseline: central;
}
/* Click-to-load prompt, bottom-centre so the pin stays visible. */
.findus__consent {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    text-align: center;
    background: oklch(97.5% 0.012 85 / 0.92);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.findus__consent-note {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink);
}
/* ODbL attribution for the OpenStreetMap-derived SVG. Top-left is clear of
   the road labels at every width. */
.findus__credit {
    position: absolute;
    top: 6px;
    left: 6px;
    margin: 0;
    padding: 2px 6px;
    font-size: 10px;
    color: var(--ink);
    background: oklch(97.5% 0.012 85 / 0.8);
    border-radius: 4px;
}
.findus__credit a { color: inherit; }
/* The Google map, once loaded, fills the slot the SVG sized. */
.findus__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.findus__info {
    background: var(--pink);
    color: var(--cream);
    padding: 32px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.findus__info .section__eyebrow { color: oklch(96.9% 0.015 88 / 0.85); }
.findus__info .section__eyebrow::before { background: oklch(96.9% 0.015 88 / 0.85); }
.findus__info .section__title { color: var(--cream); }
.findus__info .section__accent {
    color: var(--cream);
    /* lift the contrast — pure-cream accent reads on pink. No halftone:
       dots on the pink panel get too busy. */
    background: none;
}
.findus__lede { color: oklch(96.9% 0.015 88 / 0.9); }
.findus__addr {
    font-family: var(--font-display);
    font-size: 17px;
    margin: 6px 0 4px;
    line-height: 1.4;
    text-transform: uppercase;
}
.findus__hours {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 0;
    border-top: 1px solid oklch(96.9% 0.015 88 / 0.3);
    border-bottom: 1px solid oklch(96.9% 0.015 88 / 0.3);
    margin: 6px 0 14px;
}
.findus__hours > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 8px;
    font-size: 13px;
    font-family: var(--font-mono);
}
/* Label and time each stay on one line; on a very narrow screen the time
   drops under the label (right-aligned) rather than splitting mid-phrase. */
.findus__hours strong,
.findus__hours span { white-space: nowrap; }
.findus__hours span { margin-left: auto; }
.findus__info .btn--primary {
    background: var(--ink);
    color: var(--cream);
    align-self: flex-start;
}
.findus__info .btn--primary:hover {
    background: var(--cream);
    color: var(--ink);
}
.findus__visit-link {
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    align-self: flex-start;
    padding: 12px 0;
}
.findus__visit-link:hover { color: var(--ink); }

@media (min-width: 640px) {
    .findus__card { grid-template-columns: 1.2fr 1fr; }
    .findus__map { aspect-ratio: auto; }
    .findus__labels text { font-size: 12px; }
}

@media (min-width: 960px) {
    /* findus */
    .findus { padding: 30px var(--pad-x) 100px; }
    .findus__card {
        grid-template-columns: 1.4fr 1fr;
        min-height: 460px;
        border-radius: 24px;
    }
    .findus__info { padding: 48px 40px; }
    .findus__map { min-height: 460px; }
    .findus__addr { font-size: 20px; }
    .findus__hours > div { font-size: 14px; }
}
