@charset "UTF-8";

/* A quiet, early route to the contact page, directly after the homepage hero. */
.home-location {
    --location-green: #087744;
    --location-ink: #3c3c3c;
    --location-text: #52645a;
    background: #eef4f1;
    border-bottom: 1px solid #dfe8e2;
}

.home-location .home-location-link {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 160px;
    padding: 24px 0;
    color: var(--location-ink);
    transition: none;
}

.home-location .home-location-link:hover,
.home-location .home-location-link:focus-visible {
    color: var(--location-ink);
    text-decoration: none;
}

.home-location .home-location-link:focus-visible {
    outline: 2px solid var(--location-green);
    outline-offset: 6px;
}

.home-location .home-location-illustration {
    display: block;
    width: 128px;
    height: 100px;
}

.home-location .location-map-paper {
    fill: #f7f8f3;
    stroke: #a6c8b4;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.home-location .location-map-panel { fill: #dceadf; }
.home-location .location-map-road {
    fill: none;
    stroke: #bad1c2;
    stroke-width: 2;
}
.home-location .location-map-route {
    fill: none;
    stroke: #bd850b;
    stroke-width: 3;
    stroke-dasharray: 4 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-location .location-map-start { fill: #bd850b; }
.home-location .location-pin-shadow { fill: #bdd3c5; }
.home-location .location-map-pin { fill: #0eb769; }
.home-location .location-pin-center { fill: #f7f8f3; }

.home-location .home-location-content { min-width: 0; }

.home-location h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 400;
}

.home-location p { margin: 0; }

.home-location .home-location-address {
    color: var(--location-ink);
    font-size: 16px;
    line-height: 25px;
}

.home-location .home-location-address span { padding-inline: 4px; }

.home-location .home-location-note {
    margin-top: 4px;
    color: var(--location-text);
    font-size: 15px;
    line-height: 24px;
}

.home-location .home-location-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--location-green);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.home-location .home-location-action svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease-out;
}

.home-location .home-location-link:hover .home-location-action,
.home-location .home-location-link:focus-visible .home-location-action {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-location .home-location-link:hover .home-location-action svg,
.home-location .home-location-link:focus-visible .home-location-action svg {
    transform: translateX(4px);
}

@media (max-width: 1199px) {
    .home-location .home-location-link {
        grid-template-columns: 104px minmax(0, 1fr) auto;
        gap: 20px;
    }
    .home-location .home-location-illustration { width: 104px; height: 81px; }
}

@media (max-width: 991px) {
    .home-location .home-location-link {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 8px 24px;
    }
    .home-location .home-location-illustration { grid-row: 1 / 3; }
    .home-location .home-location-action { grid-column: 2; }
}

@media (max-width: 767px) {
    .home-location .home-location-link {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 8px 16px;
        min-height: 0;
        padding: 24px 0 20px;
    }
    .home-location .home-location-illustration {
        align-self: start;
        grid-row: 1;
        width: 64px;
        height: 50px;
        margin-top: 2px;
    }
    .home-location h2 { margin-bottom: 8px; font-size: 24px; }
    .home-location .home-location-address { font-size: 15px; line-height: 23px; }
    .home-location .home-location-address span { padding-inline: 1px; }
    .home-location .home-location-note { margin-top: 6px; font-size: 14px; line-height: 22px; }
    .home-location .home-location-action { gap: 8px; font-size: 15px; }
    .home-location .home-location-action svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-location .home-location-action svg { transition: none; }
    .home-location .home-location-link:hover .home-location-action svg,
    .home-location .home-location-link:focus-visible .home-location-action svg { transform: none; }
}