.office-atlas {
    background: #f7f8fa;
    color: #142448;
    padding: clamp(64px, 7vw, 96px) 24px;
}
.office-atlas * { box-sizing: border-box; }
.office-atlas__inner { width: min(100%, 1160px); margin: 0 auto; }
.office-atlas__heading { margin-bottom: 26px; }
.office-atlas__heading h2 { margin: 0; font-size: clamp(31px, 4vw, 47px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; scroll-margin-top: 100px; }
.office-atlas__heading p { max-width: 660px; margin: 14px 0 0; color: #59687a; font-size: 16px; line-height: 1.6; }
.office-atlas__stage {
    position: relative;
    height: auto;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #dce2e9;
    border-radius: 18px;
    background: #eef2f6;
    isolation: isolate;
}
.office-atlas__stage::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #dbe3eb45, transparent 38%);
    content: '';
    pointer-events: none;
}
.office-atlas__map {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 600 / 980;
    margin: 0 auto;
}
.office-atlas__map > img { display: block; width: 100%; height: 100%; object-fit: fill; }
.office-atlas__map > .office-atlas__map-horizontal { display: none; }
.office-atlas__city-nav { display: none; }
.office-atlas__pin {
    position: absolute;
    z-index: 4;
    top: var(--pin-y);
    left: var(--pin-x);
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #13264d;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.office-atlas__pin::before {
    position: absolute;
    inset: 1px;
    border: 1px solid #d5a23b;
    border-radius: 50%;
    content: '';
    transition: transform .2s ease, border-color .2s ease;
}
.office-atlas__pin:hover::before,
.office-atlas__pin:focus-visible::before,
.office-atlas__pin.is-active::before,
.office-atlas__pin.is-group-active::before { transform: scale(1.13); }
.office-atlas__pin-dot { width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: #e7a313; box-shadow: 0 0 0 2px #d49a27; }
.office-atlas__pin-marker { position: absolute; z-index: 2; top: 50%; left: 50%; display: none; width: 31px; height: 41px; overflow: visible; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 4px #14244838); pointer-events: none; }
.office-atlas__pin-marker path { fill: #e7a313; stroke: #fff; stroke-width: 2.2; }
.office-atlas__pin-marker circle { fill: #142448; stroke: #fff; stroke-width: 1.5; }
.office-atlas__pin.is-active .office-atlas__pin-marker,
.office-atlas__pin.is-group-active .office-atlas__pin-marker { display: block; }
.office-atlas__pin.is-active:not(.office-atlas__pin--shared) .office-atlas__pin-dot,
.office-atlas__pin.is-group-active .office-atlas__pin-dot,
.office-atlas__pin.is-active:not(.office-atlas__pin--shared)::before,
.office-atlas__pin.is-group-active::before { opacity: 0; }
.office-atlas__pin--shared .office-atlas__pin-marker { display: none !important; }
.office-atlas__pin--shared::before,
.office-atlas__pin--shared .office-atlas__pin-dot { opacity: 0; }
.office-atlas__pin-label {
    position: absolute;
    top: 50%;
    z-index: 4;
    min-width: 110px;
    padding: 7px 0;
    color: #142448;
    font-size: clamp(11px, 1.3vw, 14px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .055em;
    text-shadow: 0 1px 0 #fff;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .2s ease;
}
.office-atlas__pin--right .office-atlas__pin-label { left: calc(100% + 14px); transform: translateY(-50%); text-align: left; }
.office-atlas__pin--left .office-atlas__pin-label { right: calc(100% + 14px); transform: translateY(-50%); text-align: right; }
.office-atlas__pin-label::before { position: absolute; top: 50%; width: 12px; height: 1px; background: #bf8a23; content: ''; }
.office-atlas__pin-label-group { display: none; }
.office-atlas__pin--right .office-atlas__pin-label::before { right: calc(100% + 4px); }
.office-atlas__pin--left .office-atlas__pin-label::before { left: calc(100% + 4px); }
.office-atlas__pin:hover .office-atlas__pin-label,
.office-atlas__pin:focus-visible .office-atlas__pin-label,
.office-atlas__pin.is-active .office-atlas__pin-label { color: #9b6400; }
.office-atlas__pin:focus-visible { outline: 2px solid #a76a00; outline-offset: 3px; }
.office-atlas__directory {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.office-atlas__entry {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #dce3eb;
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease;
}
.office-atlas__entry.is-active { border-left-color: #dba11f; background: #fffcf5; }
.office-atlas__entry h3 { margin: 0 0 6px; color: #142448; font-size: 17px; font-weight: 700; line-height: 1.2; }
.office-atlas__entry a { display: flex; align-items: flex-start; gap: 7px; width: fit-content; max-width: 100%; color: #263a51; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.office-atlas__entry a svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; color: #a76a00; }
.office-atlas__entry a span { min-width: 0; overflow-wrap: anywhere; }
.office-atlas__entry a:hover { color: #9b6400; text-decoration: underline; }
.office-atlas__entry a:focus-visible { outline: 2px solid #a76a00; outline-offset: 3px; }
.office-atlas__entry-email { margin-top: 3px; color: #657388 !important; font-size: 12px !important; font-weight: 500 !important; }
.office-atlas__entry address { margin-top: 8px; color: #657388; font-size: 12px; font-style: normal; line-height: 1.4; }
@media (min-width: 951px) {
    .office-atlas__stage { padding: 16px 24px 22px; }
    .office-atlas__map { width: 100%; height: 232px; aspect-ratio: auto; margin: 0; }
    .office-atlas__map > .office-atlas__map-vertical { display: none; }
    .office-atlas__map > .office-atlas__map-horizontal { display: block; }
    .office-atlas__pin { top: var(--pin-hy); left: var(--pin-hx); }
    .office-atlas__pin-label { display: block; top: -21px; left: 50% !important; right: auto !important; min-width: 0; width: max-content; padding: 3px 5px; transform: translateX(-50%) !important; background: #eef2f6e8; color: #142448; font-size: 10px; letter-spacing: .02em; text-align: center !important; text-shadow: none; }
    .office-atlas__pin-label::before { display: none; }
    .office-atlas__pin.is-active .office-atlas__pin-label { top: -52px; }
    .office-atlas__pin[data-office-index="1"] .office-atlas__pin-label { top: 30px; }
    .office-atlas__pin--group-primary .office-atlas__pin-label,
    .office-atlas__pin--shared .office-atlas__pin-label { display: none; }
    .office-atlas__pin-label-group { position: absolute; top: 30px; left: 50%; display: block; width: max-content; padding: 3px 5px; transform: translateX(-50%); background: #eef2f6e8; color: #142448; font-size: 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
    .office-atlas__pin:hover .office-atlas__pin-label-group,
    .office-atlas__pin.is-active .office-atlas__pin-label-group,
    .office-atlas__pin.is-group-active .office-atlas__pin-label-group { color: #9b6400; }
}
@media (max-width: 600px) {
    .office-atlas { padding: 58px 18px; }
    .office-atlas__heading { margin-bottom: 20px; }
    .office-atlas__stage { padding: 14px; border-radius: 18px; }
    .office-atlas__pin-label { min-width: 0; padding: 4px 0; font-size: 10px; letter-spacing: .025em; }
    .office-atlas__pin--right .office-atlas__pin-label { left: calc(100% + 7px); }
    .office-atlas__pin--left .office-atlas__pin-label { right: calc(100% + 7px); }
    .office-atlas__pin-label::before { width: 6px; }
    .office-atlas__directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
    .office-atlas__entry { padding: 10px; }
    .office-atlas__entry h3 { font-size: 15px; }
    .office-atlas__entry a { gap: 5px; font-size: 12px; }
    .office-atlas__entry a svg { flex-basis: 13px; width: 13px; height: 13px; margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
    .office-atlas__pin::before, .office-atlas__pin-label, .office-atlas__entry { transition: none; }
}
