
    :root {
        /* Figma tokens */
        --green: #143830; /* Dark Green — selected pill + thumb ring */
        --bright-green: #84bd25; /* Bright Green — detail icons          */
        --black: #020202; /* Grey 1000 — headings / pill labels    */
        --body: #505050; /* Gray 800  — detail body text          */
        --sub: #454545; /* Grey 800  — subtitle                  */
        --grey-100: #f3f3f3; /* Grey 100  — selected label / caret bg */
        --border-pill: #414141; /* pill outline                          */
        --border-panel: #dedede; /* panel + dropdown outline              */

        --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
        --font-sans: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;

        --pill-radius: 400px;
        --thumb-w: 154px; /* map knob width  (keep in sync with JS) */
        --thumb-inset: 0px; /* knob is flush full-height inside the pill */
    }


    /* ---------------- Section shell ---------------- */
    .section.multiple-location-tabs {
        padding: 80px 24px 100px;
    }
    .multiple-location-tabs .container {
        max-width: 1040px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    /* ---------------- Heading block ---------------- */
    .heading {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        width: 100%;
    }
    .heading h2 {
        font-family: var(--font-serif);
        font-style: italic;
        font-weight: 500;
        font-size: 54px;
        line-height: 64px;
        color: var(--black);
        text-transform: capitalize;
    }
    .heading p {
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: var(--sub);
    }

    /* ---------------- Two-column body ---------------- */
    .multiple-location-tabs .columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        width: 100%;
    }

    .left-col {
        width: 100%;
    }

    /* Dropdown trigger — hidden on desktop, shown ≤767px */
    .dropdown-trigger {
        display: none;
        width: 100%;
        align-items: stretch;
        background: #ffffff;
        border: 1px solid var(--border-panel) !important;
        border-radius: 10px;
        overflow: hidden;
        font-family: var(--font-sans);
        cursor: pointer;
        padding: 0;
        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
            background: transparent !important;
    }
    .dropdown-trigger:hover {
        border-color: #c4c4c4;
    }
    .dropdown-trigger .dt-label {
        flex: 1;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 12px 20px;
        font-size: 16px;
        line-height: 24px;
        color: var(--black);
    }
    .dropdown-trigger .dt-caret-cell {
        width: 48px;
        flex-shrink: 0;
        background: var(--grey-100);
        border-left: 1px solid var(--border-panel);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dropdown-trigger .dropdown-caret {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #505050;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .dropdown-trigger[aria-expanded="true"] .dropdown-caret {
        transform: rotate(180deg);
    }

    /* ---------------- LEFT: pill list ---------------- */
    .location-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .location-option {
        position: relative;
        display: block;
        cursor: pointer;
    }
    .location-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .pill {
        position: relative;
        display: block;
        height: 66px;
        border-radius: var(--pill-radius);
        overflow: hidden;
        background: #ffffff;
        border: 1px solid var(--border-pill);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition:
            background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.35s ease;
        will-change: transform;
    }

    /* The map is the moving "knob" — an oval thumbnail that slides L<->R */
    .pill .map-thumb {
        position: absolute;
        top: var(--thumb-inset);
        left: var(--thumb-inset);
        width: var(--thumb-w);
        height: calc(100% - var(--thumb-inset) * 2);
        border-radius: var(--pill-radius);
        border: 1px solid var(--green);
        overflow: hidden;
        background: #e8eaed;
        z-index: 2;
        transform: translateX(0);
        transition: transform 0.55s cubic-bezier(0.65, 0.02, 0.28, 1);
        will-change: transform;
    }
    .pill .map-thumb-frame {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300px;
        height: 260px;
        border: 0;
        /* oversized + nudged up so the OSM attribution bar sits below the
           clipped oval and stays out of view */
        transform: translate(-50%, -60%) scale(1.3);
        transform-origin: center;
        pointer-events: none;
        filter: saturate(1.02);
    }

    /* Two label slots cross-fade so the name appears to swap sides */
    .pill .label {
        position: absolute;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        font-family: var(--font-serif);
        font-weight: 700;
        font-size: 24px;
        line-height: 34px;
        color: var(--black);
        text-transform: capitalize;
        white-space: nowrap;
        transition:
            color 0.4s ease,
            opacity 0.4s ease;
    }
    /* unchecked: label sits to the RIGHT of the knob */
    .pill .label-right {
        left: calc(var(--thumb-w) + 26px);
        right: 24px;
        justify-content: flex-start;
        opacity: 1;
    }
    /* checked: label revealed on the LEFT */
    .pill .label-left {
        left: 28px;
        right: calc(var(--thumb-w) + 20px);
        justify-content: flex-start;
        opacity: 0;
    }

    /* hover (unchecked): subtle lift */
    .location-option:hover input:not(:checked) + .pill {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    }
    .location-option:active .pill {
        transform: scale(0.99);
    }

    /* ---------------- CHECKED state ---------------- */
    .location-option input:checked + .pill {
        background: var(--green);
        border-color: var(--border-pill);
        box-shadow: 0 8px 22px rgba(20, 56, 48, 0.28);
    }
    .location-option input:checked + .pill .map-thumb {
        transform: translateX(var(--slide-x, 290px));
    }
    .location-option input:checked + .pill .label-right {
        opacity: 0;
    }
    .location-option input:checked + .pill .label-left {
        opacity: 1;
        color: var(--grey-100);
    }

    .location-option input:focus-visible + .pill {
        outline: 3px solid var(--bright-green);
        outline-offset: 3px;
    }

    @media (prefers-reduced-motion: reduce) {
        .pill,
        .pill .map-thumb,
        .pill .label {
            transition:
                background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease,
                opacity 0.2s ease;
        }
    }

    /* ---------------- RIGHT: detail panel ---------------- */
    .detail-panel {
        align-self: center;
        width: 100%;
        background: #ffffff;
        border: 2px solid var(--border-panel);
        overflow: hidden;
        box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.05);
        transition: opacity 0.18s ease;
    }
    .detail-panel.swapping {
        opacity: 0;
    }

    .detail-panel .map-large {
        width: 100%;
        height: 326px;
        object-fit: cover;
        display: block;
        background: #e8eaed;
        border: 0;
    }

    .detail-body {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 32px 40px;
    }
    .detail-body h3 {
        font-family: var(--font-serif);
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        color: #000000;
        text-transform: capitalize;
    }

    .detail-rows {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .detail-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    .detail-row .ico {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        stroke: var(--bright-green);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .detail-row .row-text {
        flex: 1;
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: var(--body);
    }
    .detail-row a.email {
        color: var(--body);
        text-decoration: none;
        word-break: break-word;
    }
    .detail-row .phones a {
        display: block;
        color: var(--body);
        text-decoration: underline;
    }

    /* ---------------- Tablet: stack to single column ---------------- */
    @media (max-width: 900px) {
        .multiple-location-tabs .columns {
            grid-template-columns: 1fr;
        }
        .detail-panel {
            align-self: stretch;
        }
    }

    /* ---------------- MOBILE (≤767px): dropdown + panel ---------------- */
    @media (max-width: 767px) {
        .section.multiple-location-tabs {
            padding: 40px 20px;
        }
        .multiple-location-tabs .container {
            gap: 40px;
        }
        .heading h2 {
            font-size: 38px;
            line-height: 46px;
        }

        .left-col {
            position: relative;
            align-self: start;
        }
        .dropdown-trigger {
            display: flex;
        }

        /* the list becomes a dropdown panel anchored under the trigger */
        .location-list {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            z-index: 20;
            gap: 0;
            background: #ffffff;
            border: 1px solid var(--border-panel);
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-6px);
            pointer-events: none;
            transition:
                max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.22s ease,
                transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .location-list.open {
            max-height: 70vh;
            overflow-y: auto;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .location-option {
            width: 100%;
        }

        .pill {
            height: auto;
            min-height: 52px;
            border: none;
            border-bottom: 1px solid #eef0f2;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0;
            transform: translateY(-4px);
            transition: background 0.2s ease;
        }
        .location-list.open .pill {
            animation: rowIn 0.3s ease forwards;
        }
        .location-option:nth-child(1) .pill {
            animation-delay: 0.02s;
        }
        .location-option:nth-child(2) .pill {
            animation-delay: 0.05s;
        }
        .location-option:nth-child(3) .pill {
            animation-delay: 0.08s;
        }
        .location-option:nth-child(4) .pill {
            animation-delay: 0.11s;
        }
        .location-option:nth-child(5) .pill {
            animation-delay: 0.14s;
        }
        .location-option:nth-child(6) .pill {
            animation-delay: 0.17s;
        }
        .location-option:nth-child(7) .pill {
            animation-delay: 0.2s;
        }
        .location-option:nth-child(8) .pill {
            animation-delay: 0.23s;
        }
        @keyframes rowIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .location-option:last-child .pill {
            border-bottom: none;
        }

        /* hide the moving thumbnail + duplicate label on mobile rows */
        .pill .map-thumb {
            display: none;
        }
        .pill .label-left {
            display: none;
        }
        .pill .label-right {
            position: static;
            inset: auto;
            width: 100%;
            height: auto;
            padding: 14px 20px;
            justify-content: flex-start;
            font-family: var(--font-sans);
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            color: var(--black);
            text-transform: none;
            opacity: 1;
        }

        .location-option:active .pill {
            background: #f4f6f5;
            transform: none;
        }
        .location-option input:checked + .pill {
            background: #eef5f1;
            box-shadow: none;
        }
        .location-option input:checked + .pill .label-right {
            color: var(--green);
            font-weight: 600;
            opacity: 1;
        }
        .location-option input:focus-visible + .pill {
            outline: 2px solid var(--bright-green);
            outline-offset: -2px;
        }

        /* mobile detail panel */
        .detail-panel .map-large {
            height: 260px;
        }
        .detail-body {
            gap: 20px;
            padding: 20px 20px 24px;
        }
        .detail-body h3 {
            font-weight: 700;
            font-size: 28px;
            line-height: 36px;
        }
    }

    @media (max-width: 767px) and (prefers-reduced-motion: reduce) {
        .location-list,
        .location-list.open .pill {
            transition: opacity 0.15s ease;
            animation: none;
        }
    }