@import url("https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600&display=swap");

:root {
  --ink: #11110f;
  --muted: #8d8d89;
  --line: #e8e8e4;
  --panel: #f7f7f5;
  --fresh: #0b9f85;
  --sidebar: 206px;
  font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.material-symbols-rounded { font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20; }
.primary-nav a:is(.is-active, :focus-visible) > .material-symbols-rounded,
.sidebar-footer > a:is(.is-active, :focus-visible) > .material-symbols-rounded,
.view-switcher button:is(.is-active, :focus-visible) > .material-symbols-rounded,
.mobile-nav a:is(.is-active, :focus-visible) > .material-symbols-rounded,
.topbar-notification:is(.is-active, :focus-visible) > .material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  padding: 32px 18px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
  transform: translateX(0);
  transition: transform 560ms cubic-bezier(.22,1,.36,1), box-shadow 420ms ease;
}

.sidebar-toggle {
  position: fixed;
  top: 20px;
  left: 166px;
  z-index: 24;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #666661;
  cursor: pointer;
  transition: left 560ms cubic-bezier(.22,1,.36,1), background-color 180ms ease, color 180ms ease;
}

.sidebar-toggle span { font-size: 20px; font-variation-settings: "FILL" 0, "wght" 350, "GRAD" 0, "opsz" 20; }
.sidebar-toggle:hover { background: rgba(0,0,0,.055); color: var(--ink); }
.sidebar-toggle:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

body.sidebar-collapsed .sidebar {
  transform: translateX(calc(-100% - 1px));
  box-shadow: none;
  pointer-events: none;
}

body.sidebar-collapsed .sidebar-toggle { left: 14px; }
body.sidebar-collapsed .explore-main { margin-left: 0; }

.wordmark { width: fit-content; font-family:"Space Grotesk",sans-serif; font-size:23px; font-weight:600; letter-spacing:-1.05px; }
.primary-nav { display: grid; gap: 6px; margin-top: 40px; }
.primary-nav a, .sidebar-footer > a:first-child {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  color: #6e6e69; font-size: 14px; font-weight: 520; transition: 180ms ease;
}
.primary-nav a:hover, .sidebar-footer > a:first-child:hover { background: #f0f0ed; color: var(--ink); }
.primary-nav a.is-active, .sidebar-footer > a.is-active { background: #111; color: #fff; }
.primary-nav a:focus-visible, .sidebar-footer > a:first-child:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.primary-nav a span { width: 18px; text-align: center; font-size: 18px; }
.primary-nav a i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #f05a47; }
.sidebar-footer { display: grid; gap: 12px; margin-top: auto; }
.signed-in-user { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 11px; background: #fff; font-size: 13px; }
.signed-in-user img { width: 29px; height: 29px; border-radius: 5px; object-fit: cover; }
.signed-in-user b, .person-card strong b { color: #f2b500; font-size: 15px; font-weight: 400; }

.explore-main { min-height: 100vh; margin-left: var(--sidebar); padding: 0 clamp(24px, 3.4vw, 58px) 80px; transition: margin-left 560ms cubic-bezier(.22,1,.36,1); }
.view-switcher {
  position: sticky;
  top: 14px;
  z-index: 12;
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-inline: auto;
  padding: 3px;
  border: 1px solid rgba(17,17,15,.045);
  border-radius: 999px;
  background: rgba(246,246,243,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.view-switcher button {
  display: inline-flex;
  height: 31px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #858580;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 180ms ease;
}
.view-switcher button span { font-size: 17px; }
.view-switcher button:hover { color: var(--ink); }
.view-switcher button.is-active {
  background: rgba(255,255,255,.98);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 2px 7px rgba(17,17,15,.14), 0 0 0 1px rgba(17,17,15,.045);
}
.view-switcher button:focus-visible { outline: 2px solid rgba(17,17,15,.72); outline-offset: 2px; }

.search-area { padding-top: 32px; }
.search-area h1 { margin: 0 0 14px; font-size: clamp(26px, 2.3vw, 38px); line-height: 1; font-weight: 500; letter-spacing: -1.5px; }
.search-row { display: flex; align-items: center; gap: 12px; }
.smart-search { position: relative; width: min(580px, 62vw); }
.search-box { display: flex; align-items: center; width: 100%; height: 48px; gap: 10px; padding: 0 9px 0 14px; border: 1px solid #d8d8d3; border-radius: 9px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: border-color 160ms ease, box-shadow 160ms ease; }
.search-box:focus-within { border-color: #a9a9a3; box-shadow: 0 0 0 3px rgba(17,17,15,.045), 0 8px 26px rgba(17,17,15,.05); }
.search-icon { color: #999; font-size: 22px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search-box input::placeholder { color: #aaa; }
.search-box kbd { display: none; }
.search-submit { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #111; color: #fff; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.search-submit span { font-size: 18px; }
.search-submit:hover { background: #343431; transform: translateX(1px); }
.search-submit:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.search-suggestions { position: absolute; top: calc(100% + 7px); left: 0; z-index: 120; width: 100%; max-height: min(430px, calc(100vh - 190px)); overflow-y: auto; padding: 6px; border: 1px solid rgba(17,17,15,.1); border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 22px 58px rgba(17,17,15,.14), 0 2px 10px rgba(17,17,15,.06); backdrop-filter: blur(18px); scrollbar-width: thin; }
.search-suggestions[hidden] { display: none; }
.search-suggestion { display: grid; width: 100%; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.search-suggestion:hover,.search-suggestion.is-active { background: #f3f3f0; }
.search-suggestion:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
.search-suggestion-media { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border-radius: 7px; background: #ecece8; }
.search-suggestion-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.search-suggestion[data-kind="company"] .search-suggestion-media { background: #f5f5f2; }
.search-suggestion[data-kind="company"] .search-suggestion-media img { width: 78%; height: 78%; object-fit: contain; }
.search-suggestion-copy { min-width: 0; }
.search-suggestion-title { display: block; overflow: hidden; font-size: 14px; line-height: 1.25; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-meta { display: block; margin-top: 3px; overflow: hidden; color: #8b8b86; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-kind { padding: 5px 7px; border-radius: 999px; background: #f1f1ee; color: #777773; font-size: 10px; line-height: 1; text-transform: capitalize; }
.search-suggestion-empty { padding: 18px 14px; color: #858580; font-size: 13px; text-align: center; }
.search-suggestion-section-title { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 7px; color: #72726d; font-size: 12px; line-height: 1.2; }
.search-suggestion-section-action { color: #a0a09b; font-size: 11px; }
.search-suggestion-chips { display: flex; gap: 7px; padding: 0 8px 10px; overflow-x: auto; scrollbar-width: none; }
.search-suggestion-chips::-webkit-scrollbar { display: none; }
.search-suggestion-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: #f4f4f1; color: #252522; font: inherit; font-size: 12px; cursor: pointer; }
.search-suggestion-chip:hover { background: #ebebe7; }
.search-suggestion-icon { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; font-family:"Material Symbols Rounded"; font-style:normal; font-weight:400; line-height:1; letter-spacing:normal; text-transform:none; white-space:nowrap; word-wrap:normal; direction:ltr; font-feature-settings:"liga"; -webkit-font-feature-settings:"liga"; -webkit-font-smoothing:antialiased; font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 20; }
.search-suggestion-chip .search-suggestion-icon { color: #8b8b86; font-size: 17px; }
.search-suggestion-query { grid-template-columns: 42px minmax(0,1fr); border-bottom: 1px solid #edede9; border-radius: 8px 8px 4px 4px; }
.search-suggestion-query .search-suggestion-media { background: #f4f4f1; color: #222; }
.search-suggestion-query .search-suggestion-media .search-suggestion-icon { font-size: 20px; }
.filter-toggle { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); cursor: pointer; }
.filter-toggle span { font-size: 19px; }
.filter-toggle:hover { background: var(--panel); }

.topic-filters { display: flex; gap: 8px; margin-top: 36px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.topic-filters::-webkit-scrollbar { display: none; }
.topic-filters button { flex: none; padding: 7px 11px; border: 1px solid #dcdcd7; border-radius: 8px; background: #fff; color: #777773; cursor: pointer; }
.topic-filters button:hover, .topic-filters button.is-active { border-color: #111; background: #111; color: #fff; }
.result-note { min-height: 18px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.people-section { margin-top: 44px; content-visibility: auto; contain-intrinsic-size: auto 560px; }
.section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-bottom: 15px; }
.section-heading h2 { margin: 0; font-size: clamp(23px, 2.05vw, 32px); line-height: 1.08; font-weight: 500; letter-spacing: -1.2px; }
.section-heading h2 span { color: #989894; font-weight: 500; }
.section-heading > a { grid-column: 1; width: fit-content; margin-top: 3px; font-size: 14px; font-weight: 500; }
.section-heading > a span { display: inline-block; margin-left: 2px; font-size: 17px; line-height: 1; vertical-align: -3px; }
.section-heading > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fresh-heading h2 { color: var(--fresh); }
.fresh-heading h2 span { color: #989894; }

.people-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.person-card { min-width: 0; opacity: 1; transform: none; transition: opacity 180ms ease; }
.person-card[hidden] { display: none; }
.person-card img { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 5px; background: #eee; object-fit: cover; filter: saturate(.92) contrast(1); transform: scale(1); transform-origin: center; transition: transform 520ms cubic-bezier(.16,1,.3,1), filter 420ms ease; }
.person-card:hover img,
.person-card:focus-visible img { transform: scale(1.012); filter: saturate(.98) contrast(1.01); }
.person-card.is-opening-profile { pointer-events: none; }
.person-card.is-opening-profile strong,
.person-card.is-opening-profile > span { opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 240ms ease; }

.profile-route-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
.profile-route-transition__wash {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.88);
  opacity: 0;
  transition: opacity 340ms cubic-bezier(.16,1,.3,1);
}
.profile-route-transition__wash.is-visible { opacity: 1; }
.profile-route-transition__image {
  position: fixed;
  display: block;
  object-fit: cover;
  transform-origin: top left;
  will-change: transform, filter, border-radius;
}
.profile-route-is-leaving .explore-header,
.profile-route-is-leaving .people-view > :not(.profile-route-transition) {
  opacity: .72;
  transition: opacity 340ms cubic-bezier(.16,1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  .profile-route-transition { display: none !important; }
}
.person-card strong, .person-card > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-card strong { margin-top: 9px; font-size: 15px; font-weight: 500; }
.person-card > span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.people-section.is-empty { display: none; }

.map-view { position: relative; padding-top: 0; }
.map-filter-button {
  position: fixed; top: 22px; right: 28px; z-index: 24;
  display: inline-flex; width:38px; height:38px; align-items:center; justify-content:center; padding:0;
  border: 1px solid rgba(17,17,15,.09); border-radius: 8px; background: rgba(255,255,255,.72);
  box-shadow: 0 4px 16px rgba(17,17,15,.06); color: #4f4f4b; font-size: 13px; font-weight: 400;
  cursor: pointer; backdrop-filter: blur(14px); transition: background 180ms ease,color 180ms ease,box-shadow 180ms ease;
}
.region-results-open .map-filter-button { opacity:0; visibility:hidden; pointer-events:none; }
.map-filter-button:hover { background: rgba(255,255,255,.94); color:#111; box-shadow:0 6px 20px rgba(17,17,15,.09); }
.map-filter-button .material-symbols-rounded { font-size:21px; }
.map-filter-button b { position:absolute; top:-5px; right:-5px; display:grid; min-width:18px; height:18px; padding:0 4px; place-items:center; border-radius:999px; background:#111; color:#fff; font-size:10px; font-weight:500; }
.map-filter-button b[hidden] { display:none; }
.map-filter-dialog { width:min(610px,calc(100vw - 28px)); max-height:calc(100vh - 28px); padding:0; overflow:hidden; border:0; border-radius:12px; background:#fff; box-shadow:0 28px 100px rgba(17,17,15,.22); }
.map-filter-dialog::backdrop { background:rgba(17,17,15,.22); backdrop-filter:blur(7px); }
.map-filter-panel { max-height:calc(100vh - 28px); overflow:auto; border-radius:inherit; }
.map-filter-panel > header { position:sticky; top:0; z-index:2; display:flex; min-height:72px; align-items:center; justify-content:space-between; padding:0 24px; border-bottom:1px solid var(--line); border-radius:12px 12px 0 0; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); }
.map-filter-panel h2 { margin:0; font-size:16px; font-weight:500; letter-spacing:-.2px; }
.map-filter-panel > header button { display:grid; width:38px; height:38px; padding:0; place-items:center; border:0; border-radius:6px; background:transparent; cursor:pointer; }
.map-filter-panel > header button:hover { background:var(--panel); }
.map-filter-panel > header .material-symbols-rounded { font-size:20px; }
.map-filter-section { padding:24px; border-bottom:1px solid var(--line); }
.map-filter-section h3 { margin:0 0 14px; font-size:17px; font-weight:500; }
.map-filter-search { display:flex; height:44px; align-items:center; gap:8px; padding:0 12px; border:1px solid #dcdcd8; border-radius:6px; color:#999; }
.map-filter-search:focus-within { border-color:#aaa; box-shadow:0 0 0 3px rgba(17,17,15,.04); }
.map-filter-search .material-symbols-rounded { font-size:18px; }
.map-filter-search input { width:100%; height:100%; padding:0; border:0; outline:0; background:transparent; }
.map-filter-chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.map-filter-chips button { height:38px; padding:0 11px; border:1px solid #d8d8d4; border-radius:6px; background:#fff; color:#777; font-size:14px; cursor:pointer; }
.map-filter-chips button:hover { border-color:#999; color:#111; }
.map-filter-chips button.is-selected { border-color:#111; background:#111; color:#fff; }
.compact-filter-section { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.compact-filter-section h3 { margin:0; }
.experience-stepper { display:flex; align-items:center; gap:11px; }
.experience-stepper button { display:grid; width:38px; height:38px; padding:0; place-items:center; border:1px solid #dcdcd8; border-radius:6px; background:#f7f7f5; cursor:pointer; }
.experience-stepper button:hover { background:#eee; }
.experience-stepper .material-symbols-rounded { font-size:18px; }
.experience-stepper output { min-width:58px; text-align:center; font-size:15px; }
.work-filter-section { display:grid; gap:13px; min-height:150px; }
.work-filter-section label { display:flex; width:max-content; align-items:center; gap:10px; font-size:15px; cursor:pointer; }
.work-filter-section input { width:20px; height:20px; margin:0; accent-color:#111; }
.map-filter-panel > footer { position:sticky; bottom:0; z-index:2; display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:18px 24px; border-top:1px solid var(--line); border-radius:0 0 12px 12px; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); }
.clear-map-filters,.show-map-results { height:38px; padding:0 14px; border-radius:6px; font-size:14px; line-height:1; font-weight:500; cursor:pointer; }
.clear-map-filters { border:1px solid #d9d9d5; background:#fff; }
.show-map-results { border:1px solid #111; background:#111; color:#fff; }
.people-map {
  width: calc(100% + 2 * clamp(24px, 3.4vw, 58px));
  height: calc(100vh - 76px);
  min-height: 620px;
  margin-left: calc(-1 * clamp(24px, 3.4vw, 58px));
  overflow: hidden;
  background: #e8ebe6;
}
.maplibregl-map { font-family: "Switzer", "Helvetica Neue", Arial, sans-serif; }
.map-profile-marker {
  width: 42px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(23,31,26,.22);
  cursor: pointer;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms ease;
}
.map-profile-marker:hover,
.map-profile-marker:focus-visible { z-index: 2; outline: 0; transform: translateY(-3px) scale(1.045); box-shadow: 0 11px 24px rgba(23,31,26,.27); }
.map-profile-marker.is-hidden { opacity: 0; pointer-events: none; transform: scale(.78); }
.map-profile-marker img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-count-marker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid rgba(17,17,15,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 5px 16px rgba(23,31,26,.15);
  color: #11110f;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.map-count-marker:hover,
.map-count-marker:focus-visible { outline: 0; transform: translateY(-2px); }
.map-count-marker.is-hidden { opacity: 0; pointer-events: none; }
.map-count-marker.is-background { opacity: .62; transform: scale(.92); }
.map-count-marker.is-background:hover,
.map-count-marker.is-background:focus-visible { opacity: 1; transform: translateY(-2px) scale(.96); }
.map-count-marker .material-symbols-rounded { font-size: 15px; }
.map-count-marker strong { font-size: 12px; font-weight: 500; line-height: 1; }
.map-entity-switch {
  position:fixed; left:50%; bottom:24px; z-index:26; display:flex; align-items:center; gap:3px; padding:5px;
  border:1px solid rgba(17,17,15,.08); border-radius:11px; background:rgba(255,255,255,.76);
  box-shadow:0 12px 34px rgba(17,17,15,.12); backdrop-filter:blur(18px); transform:translateX(-50%);
}
.map-entity-switch button { display:inline-flex; height:38px; align-items:center; gap:6px; padding:0 14px; border:0; border-radius:7px; background:transparent; color:#777; font-size:14px; font-weight:500; cursor:pointer; }
.map-entity-switch button:hover { color:#111; }
.map-entity-switch button.is-active { background:#111; color:#fff; box-shadow:0 4px 12px rgba(17,17,15,.16); }
.map-entity-switch .material-symbols-rounded { font-size:18px; }
.map-entity-switch button.is-active .material-symbols-rounded { font-variation-settings:"FILL" 1,"wght" 400,"GRAD" 0,"opsz" 20; }
.map-company-marker { display:grid; width:48px; height:48px; padding:0; place-items:center; overflow:hidden; border:2px solid rgba(255,255,255,.94); border-radius:8px; background:var(--company-bg,#111); color:var(--company-color,#fff); box-shadow:0 8px 20px rgba(23,31,26,.2); cursor:pointer; transition:opacity 180ms ease,transform 220ms cubic-bezier(.22,1,.36,1),box-shadow 220ms ease; }
.map-company-marker span { max-width:90%; overflow:hidden; font-size:17px; line-height:1; font-weight:700; letter-spacing:-1px; text-overflow:clip; white-space:nowrap; }
.map-company-marker img { display:block; width:72%; height:72%; object-fit:contain; }
.map-company-marker:hover,.map-company-marker:focus-visible { z-index:2; outline:0; transform:translateY(-3px) scale(1.05); box-shadow:0 12px 26px rgba(23,31,26,.26); }
.map-company-marker.is-hidden { opacity:0; pointer-events:none; transform:scale(.78); }
.map-company-card-logo { display:grid; width:100%; aspect-ratio:1; place-items:center; overflow:hidden; border-radius:5px; background:var(--company-bg,#111); color:var(--company-color,#fff); font-size:clamp(28px,4vw,64px); line-height:1; font-weight:700; letter-spacing:-2px; }
.map-company-card-logo img,
.map-region-card .map-company-card-logo img { display:block; width:68%; height:68%; aspect-ratio:auto; margin:0; border-radius:0; object-fit:contain; transform:none; }
.map-region-card:hover .map-company-card-logo img { transform:none; }
.map-region-card.is-selected .map-company-card-logo img { box-shadow:none; }
.map-company-card > strong { margin-top:9px; }
body.map-companies-mode .map-filter-button { opacity:0; visibility:hidden; pointer-events:none; }
body.map-companies-mode .map-profile-marker { display:none; }
body:not(.map-companies-mode) .map-company-marker { display:none; }
body.region-results-open .map-entity-switch { opacity:0; visibility:hidden; pointer-events:none; }
.map-region-results {
  position: absolute;
  inset: 0;
  z-index: 16;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(92px, 9vw, 134px) clamp(30px, 4vw, 68px) 168px;
  isolation: isolate;
  background: linear-gradient(to bottom, rgba(255,255,255,.42) 0%, rgba(255,255,255,.62) 42%, rgba(255,255,255,.84) 100%);
  color: #111;
  backdrop-filter: blur(3px) saturate(.88);
  -webkit-backdrop-filter: blur(3px) saturate(.88);
  animation: map-results-in 360ms cubic-bezier(.22,1,.36,1) both;
}
.map-region-results::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.08) 34%, rgba(255,255,255,.26) 100%);
  backdrop-filter: blur(22px) saturate(.66);
  -webkit-backdrop-filter: blur(22px) saturate(.66);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 24%, rgba(0,0,0,.7) 62%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 24%, rgba(0,0,0,.7) 62%, #000 100%);
}
.map-region-results[hidden] { display: none; }
.map-region-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(17,17,15,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.64);
  color: #111;
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.map-region-close span { font-size: 20px; }
.map-region-heading { position: relative; z-index: 1; margin-bottom: clamp(56px, 7vw, 92px); color: #111; text-shadow: 0 1px 14px rgba(255,255,255,.36); }
.map-region-title { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 30px; }
.map-region-heading h2 { margin: 0; font-size: clamp(32px, 3vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -1.8px; }
.map-region-title img { display: block; width: 18px; height: 14px; flex: 0 0 auto; margin-top: -1px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(17,17,15,.08), 0 1px 3px rgba(17,17,15,.12); object-fit: cover; }
.map-region-heading p { margin: 0 0 14px; font-size: clamp(17px, 1.35vw, 22px); font-weight: 400; }
.map-region-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 18px; }
.map-region-card { position: relative; min-width: 0; }
.map-region-card img { display: block; width: 100%; aspect-ratio: 4 / 5; margin-bottom: 10px; border-radius: 5px; object-fit: cover; transition: transform 320ms cubic-bezier(.22,1,.36,1); }
.map-region-card:hover img { transform: scale(1.012); }
.map-region-card strong,
.map-region-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-region-card strong { color: #111; font-size: 14px; font-weight: 500; }
.map-region-card span { margin-top: 2px; color: rgba(17,17,15,.54); font-size: 14px; font-weight: 400; }
.map-region-card.is-selected img { box-shadow: 0 0 0 2px #111; }
.map-region-card .map-company-card-logo { display:grid; margin:0 0 10px; color:var(--company-color,#fff); }
.map-region-card.is-selected .map-company-card-logo { box-shadow:0 0 0 2px #111; }
.map-region-card small { position: absolute; top: 8px; left: 8px; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.88); color: #111; font-size: 10px; font-weight: 500; backdrop-filter: blur(8px); }
.map-region-dock-wrap {
  position: fixed;
  inset: auto 0 0;
  z-index: 19;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 62px 20px 22px;
  pointer-events: none;
}
.map-region-dock-wrap[hidden] { display: none; }
.map-region-dock-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.2) 42%, rgba(255,255,255,.48));
  backdrop-filter: blur(9px) saturate(.9);
  -webkit-backdrop-filter: blur(9px) saturate(.9);
  mask-image: linear-gradient(to bottom, transparent, #000 48%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48%);
}
.map-region-dock-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: min(860px, 92vw);
  height: 126px;
  pointer-events: none;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 14% 76%, rgba(81,190,255,.18) 0%, rgba(81,190,255,.07) 34%, transparent 68%),
    radial-gradient(ellipse at 50% 92%, rgba(132,108,255,.12) 0%, rgba(132,108,255,.045) 36%, transparent 66%),
    radial-gradient(ellipse at 86% 76%, rgba(255,154,104,.17) 0%, rgba(255,154,104,.065) 34%, transparent 68%);
  filter: blur(24px) saturate(1.12);
  opacity: .76;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.72) 40%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.72) 40%, #000 100%);
}
.map-region-dock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 40px);
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(17,17,15,.1);
  border-radius: 999px;
  background: rgba(250,250,248,.88);
  box-shadow: 0 12px 38px rgba(17,17,15,.14), inset 0 1px 0 rgba(255,255,255,.72);
  pointer-events: auto;
  backdrop-filter: blur(24px) saturate(.92);
  -webkit-backdrop-filter: blur(24px) saturate(.92);
}
.map-region-dock-label {
  flex: 0 0 auto;
  padding: 0 15px 0 17px;
  color: rgba(17,17,15,.68);
  font-size: 13px;
  font-weight: 500;
}
.map-region-dock-options {
  display: flex;
  min-width: 0;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.map-region-dock-options::-webkit-scrollbar { display: none; }
.map-region-dock button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17,17,15,.56);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.map-region-dock button:hover { color: #111; }
.map-region-dock button.is-active { background: #111; color: #fff; }
.map-region-dock button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.map-region-more { position: relative; flex: 0 0 auto; }
.map-region-more-toggle { display: inline-flex; align-items: center; gap: 2px; }
.map-region-more-toggle span { font-size: 17px; transition: transform 180ms ease; }
.map-region-more-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.map-region-more-toggle.has-active-filter { background: #ecece8; color: #111; }
.map-region-more-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: grid;
  width: 174px;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(17,17,15,.1);
  border-radius: 14px;
  background: rgba(250,250,248,.94);
  box-shadow: 0 16px 42px rgba(17,17,15,.16), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(.92);
  -webkit-backdrop-filter: blur(20px) saturate(.92);
}
.map-region-more-menu[hidden] { display: none; }
.map-region-more-menu button { width: 100%; justify-content: flex-start; text-align: left; }
.map-region-dock .map-region-world {
  margin-left: 3px;
  padding-inline: 16px;
  background: #2f6fec;
  color: #fff;
  box-shadow: 0 5px 14px rgba(47,111,236,.24);
}
.map-region-dock .map-region-world:hover { background: #245fd4; color: #fff; }
@keyframes map-results-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
body.region-results-open .view-switcher button { color: rgba(17,17,15,.48); }
body.region-results-open .view-switcher button.is-active { color: #111; }
.maplibregl-ctrl-group { overflow: hidden; border: 1px solid rgba(17,17,15,.09); border-radius: 9px; box-shadow: 0 5px 18px rgba(20,25,22,.12); }
.map-load-error { display: grid; width: 100%; height: 100%; margin: 0; place-items: center; color: var(--muted); text-align: center; }
.mobile-header { display: none; }
.mobile-nav { display: none; }

.notification-popover[hidden],
.notification-popover-item[hidden] { display: none; }

.guest-auth-actions {
  display: none;
  align-items: center;
  gap: 7px;
}

.guest-auth-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border: 1px solid #deded9;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.guest-auth-actions .guest-login {
  background: #fff;
  color: #2b2b28;
}

.guest-auth-actions .guest-signup {
  border-color: #111;
  background: #111;
  color: #fff;
}

.guest-auth-actions .guest-login:hover,
.guest-auth-actions .guest-login:focus-visible {
  border-color: #bdbdb7;
  background: #f7f7f4;
}

.guest-auth-actions .guest-signup:hover,
.guest-auth-actions .guest-signup:focus-visible {
  background: #2a2a28;
}

body.is-guest .guest-auth-actions {
  display: inline-flex;
}

body.is-guest .topbar-notification,
body.is-guest .signed-in-user,
body.is-guest .sidebar-footer > a[href="settings.html"] {
  display: none !important;
}

.notification-popover {
  position: fixed;
  top: 66px;
  right: clamp(20px, 2.8vw, 44px);
  z-index: 90;
  width: min(420px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(17,17,15,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(17,17,15,.16), 0 2px 10px rgba(17,17,15,.05);
  backdrop-filter: blur(22px) saturate(1.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  animation: notification-popover-in 180ms cubic-bezier(.22,1,.36,1);
}

@keyframes notification-popover-in {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.notification-popover-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #e8e8e4;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.notification-popover-tabs button {
  position: relative;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #999994;
  font-size: 14px;
  font-weight: 450;
  cursor: pointer;
}

.notification-popover-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

.notification-popover-tabs button:is(:hover, :focus-visible) { color: #111; outline: 0; }
.notification-popover-tabs button.is-active { color: #111; font-weight: 550; }
.notification-popover-tabs button.is-active::after { background: #111; }

.notification-popover-list {
  max-height: min(560px, calc(100vh - 92px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 9px 8px 12px;
  scrollbar-width: thin;
  scrollbar-color: #bbb transparent;
}

.notification-group-label {
  margin: 4px 10px 7px;
  color: #8d8d89;
  font-size: 12px;
}

.notification-popover-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background-color 150ms ease;
}

.notification-popover-item:hover,
.notification-popover-item:focus-visible { outline: 0; background: #f5f5f2; }
.notification-popover-item.is-unread::before { content: ""; position: absolute; left: 2px; width: 5px; height: 5px; border-radius: 50%; background: #ef4e44; }

.notification-popover-avatar,
.notification-popover-preview {
  width: 42px;
  height: 42px;
  object-fit: cover;
}

.notification-popover-avatar { border-radius: 50%; }
.notification-popover-avatar.is-company { display: grid; place-items: center; border-radius: 9px; background: #e91e63; color: #fff; font-size: 14px; font-weight: 650; }
.notification-popover-preview { border-radius: 9px; border: 1px solid rgba(17,17,15,.06); background: #f1f1ee; }
.notification-popover-copy { display: grid; gap: 3px; min-width: 0; color: #555550; font-size: 13px; line-height: 1.28; }
.notification-popover-meta { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.notification-popover-meta strong { overflow: hidden; color: #171715; font-size: 13px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.notification-popover-meta small { flex: 0 0 auto; color: #aaa9a4; font-size: 11px; }
.notification-popover-empty { margin: 44px 0; color: #999994; font-size: 13px; text-align: center; }

@media (max-width: 720px) {
  .notification-popover { top: 12px; right: 12px; left: 12px; width: auto; }
  .notification-popover-list { max-height: calc(100vh - 88px); }
}

/* Reversible top-navigation trial: remove this block and the body class to restore the sidebar. */
@media (min-width: 721px) {
  body.top-navigation {
    --sidebar: 0px;
    padding-top: 76px;
  }

  body.top-navigation .sidebar {
    inset: 0 0 auto;
    width: 100%;
    height: 76px;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0 clamp(20px, 2.8vw, 44px);
    border-right: 0;
    border-bottom: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    pointer-events: auto;
    font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
  }

  body.top-navigation .sidebar .wordmark {
    flex: 0 0 auto;
    margin-right: clamp(22px, 3vw, 44px);
    font-weight: 500;
    letter-spacing: -0.8px;
  }

  body.top-navigation .primary-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
  }

  body.top-navigation .primary-nav a,
  body.top-navigation .sidebar-footer > a:first-child {
    min-height: 36px;
    gap: 3px;
    padding: 8px 10px;
    font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    white-space: nowrap;
  }

  body.top-navigation .primary-nav a span {
    width: auto;
  }

  body.top-navigation .primary-nav a:hover,
  body.top-navigation .primary-nav a:focus-visible,
  body.top-navigation .primary-nav a.is-active {
    outline: 0;
    background: transparent;
    color: #111;
  }

  body.top-navigation .primary-nav a.is-active {
    font-weight: 500;
  }

  body.top-navigation .primary-nav a[href="#messages"] {
    display: none;
  }

  body.top-navigation .sidebar-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 0 auto;
  }

  body.top-navigation .topbar-notification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 7px;
    background: transparent;
    color: #777772;
    line-height: 1;
  }

  body.top-navigation .topbar-notification span {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    transform: none;
  }

  body.top-navigation .topbar-notification:hover,
  body.top-navigation .topbar-notification:focus-visible,
  body.top-navigation .topbar-notification.is-active {
    outline: 0;
    background: transparent;
    color: #111;
  }

  body.top-navigation .topbar-notification i {
    position: absolute;
    display: none;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f05a47;
  }

  body.top-navigation .topbar-notification.has-unread i {
    display: block;
  }

  body.top-navigation .sidebar-footer > a[href="settings.html"] {
    display: none;
  }

  body.top-navigation .signed-in-user {
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 7px;
    background: transparent;
  }

  body.top-navigation .signed-in-user img {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 5px;
  }

  body.top-navigation .signed-in-user span,
  body.top-navigation .signed-in-user b {
    display: none;
  }

  body.top-navigation .sidebar-toggle {
    display: none;
  }

  body.top-navigation .explore-main,
  body.top-navigation.sidebar-collapsed .explore-main {
    margin-left: 0;
    padding-top: 66px;
  }

  body.top-navigation.map-mode { padding-top: 0; overflow: hidden; }

  body.top-navigation.map-mode .search-area { display: none; }

  body.top-navigation.map-mode .map-view {
    width: calc(100% + 2 * clamp(24px, 3.4vw, 58px));
    margin-left: calc(-1 * clamp(24px, 3.4vw, 58px));
  }

  body.top-navigation.map-mode .sidebar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.top-navigation.map-mode .explore-main,
  body.top-navigation.map-mode.sidebar-collapsed .explore-main {
    padding-top: 0;
  }

  body.top-navigation.map-mode .people-map {
    width: 100%;
    height: 100vh;
    min-height: 620px;
    margin-left: 0;
  }

  body.top-navigation.map-mode .maplibregl-canvas {
    filter: saturate(.62) brightness(1.055) contrast(.92);
  }

  body.top-navigation.map-mode .view-switcher { color: #111; }

  body.top-navigation .view-switcher {
    position: fixed;
    top: 19px;
    left: 50%;
    z-index: 24;
    width: max-content;
    height: 38px;
    padding: 3px;
    transform: translateX(-50%);
  }

  body.top-navigation .view-switcher button,
  body.top-navigation .view-switcher button.is-active {
    font-family: "Switzer", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
  }

  body.top-navigation.sidebar-collapsed .sidebar {
    transform: none;
    pointer-events: auto;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  body.top-navigation .sidebar {
    padding-inline: 14px;
  }

  body.top-navigation .sidebar .wordmark {
    margin-right: 16px;
    font-size: 21px;
  }

  body.top-navigation .primary-nav a,
  body.top-navigation .sidebar-footer > a:first-child {
    gap: 3px;
    padding-inline: 7px;
    font-size: 12px;
  }

  body.top-navigation .signed-in-user span {
    display: none;
  }
}

@media (max-width: 1050px) {
  .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .map-region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .map-filter-button { top:14px; right:14px; }
  .map-filter-dialog { width:calc(100vw - 16px); max-height:calc(100svh - 16px); }
  .map-filter-panel { max-height:calc(100svh - 16px); }
  .map-filter-section { padding:20px; }
  .map-filter-panel > header { padding:0 20px; }
  .map-filter-panel > footer { padding:16px 20px; }
  :root { --sidebar: 0px; }
  .sidebar, .sidebar-toggle, .view-switcher { display: none; }
  .explore-main { margin: 0; padding: 0 16px 86px; }
  .mobile-header { position: sticky; top: 0; left: auto; right: auto; z-index: 14; display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
  .profile-shortcut { padding: 8px 10px; border-radius: 9px; background: var(--panel); font-size: 13px; }
  .search-area { padding-top: 24px; }
  .search-row { flex-wrap: wrap; }
  .smart-search { order: 0; width: 100%; }
  .search-box { width: 100%; }
  .filter-toggle { order: 1; padding-left: 0; }
  .topic-filters { margin-top: 22px; }
  .people-section { margin-top: 34px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 24px; }
  .section-heading > a { display: inline-block; margin-top: 8px; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .mobile-nav { position: fixed; inset: auto 12px 12px; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: rgba(250,250,248,.92); box-shadow: 0 12px 30px rgba(0,0,0,.1); backdrop-filter: blur(16px); }
  .mobile-nav a { display: grid; justify-items: center; gap: 2px; padding: 7px 6px; border-radius: 10px; color: var(--muted); text-align: center; font-size: 11px; }
  .mobile-nav a span { font-size: 19px; }
  .mobile-nav a.is-active { background: #111; color: #fff; }
  .people-map { width: calc(100% + 32px); height: calc(100svh - 72px); min-height: 520px; margin-left: -16px; }
  .map-region-results { padding: 82px 16px 154px; }
  .map-region-heading { margin-bottom: 44px; color: #111; text-shadow: 0 1px 12px rgba(255,255,255,.3); }
  .map-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .map-region-close { top: 16px; right: 16px; }
  .map-region-dock-wrap { padding: 54px 10px 12px; }
  .map-region-dock { width: max-content; max-width: calc(100vw - 20px); }
  .map-region-dock-label { padding-inline: 11px 9px; }
  body.region-results-open .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.site-footer {
  width: 100%;
  min-height: 88px;
  padding: 24px clamp(24px, 3.4vw, 58px);
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  gap: 32px;
  color: #777;
  background: #fff;
  font-size: 13px;
}

.site-footer-brand {
  margin-right: auto;
  color: #111;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer nav a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible { color: #111; }
.site-footer p { margin: 0; white-space: nowrap; }
body.map-mode .site-footer { display: none; }

@media (max-width: 640px) {
  .site-footer {
    min-height: 0;
    margin-bottom: 64px;
    padding: 22px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .site-footer-brand { width: 100%; }
  .site-footer nav { gap: 16px; }
  .site-footer p { margin-left: auto; }
}
