:root {
  
  --pbcm-green: #b3c938;
  --pbcm-yellow: #fcb900;
  --pbcm-gray: #999999;
  --pbcm-coral: #ffa07a;
  --pbcm-dark-green: #006400;
  --pbcm-dark-blue: #002d66;
  --pbcm-blue: #2ea3f2;
  --pbcm-black: #000000;

  
  --night: #07131f;
  --night-soft: #001f46;
  --night-panel: #0d2c4e;
  --night-panel-hover: #123b63;
  --night-panel-selected: #164a72;
  --night-border: rgb(179 201 56 / 27%);

  --surface: #fbfbf7;
  --surface-soft: #f2f4e9;
  --surface-border: #d9dec5;
  --surface-green: #f3f7dc;

  --text-on-dark: #ffffff;
  --text-muted-dark: #c7d4df;
  --light-blue: #8fd8ff;

  --white: #ffffff;
  --page: #07131f;
  --panel-muted: #f2f4e9;
  --border: #cbd3bd;
  --border-light: #e5e8dd;

  --text: #263238;
  --text-muted: #5c686f;

  --navy: #002d66;
  --navy-dark: #001d43;
  --blue: #087bbd;

  
  --university: #2ea3f2;
  --hospital: #e66f5d;
  --city: #6f8f00;
  --government: #6f63a8;
  --other: #d28a00;

  

  --font-primary: "Open Sans", Arial, Helvetica, sans-serif;
  --font-display: "Noto Serif", Georgia, serif;

  --header-height: 76px;
  --sidebar-width: 330px;
  --drawer-width: 410px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.45;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--text-on-dark);
  background: var(--navy-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: relative;
  z-index: 1000;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
  background: var(--night-soft);
  border-bottom: 1px solid var(--night-border);
}

.brand {
  min-width: 0;
}

.brand-organization {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted-dark);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-title {
  display: block;
  overflow: hidden;
  color: var(--text-on-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-theme {
  min-width: 0;
  padding-left: 26px;
  border-left: 1px solid var(--night-border);
}

.header-theme-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--light-blue);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-theme-title {
  display: block;
  overflow: hidden;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-count {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--text-muted-dark);
  font-size: 10.5px;
  white-space: nowrap;
}

.header-count strong {
  color: var(--text-on-dark);
  font-size: 15px;
}

/* Main layout */

.directory-app {
  height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  transition: grid-template-columns 180ms ease;
}

.directory-app.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

/* Directory */

.results-panel {
  position: relative;
  z-index: 650;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  color: var(--text);
  background: var(--surface);
  border-right: 1px solid var(--surface-border);
}

.directory-app.sidebar-collapsed .results-panel {
  visibility: hidden;
  border-right: 0;
}

.sidebar-header {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}

.sidebar-header h1 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.result-count {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 10.5px;
}

.icon-button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--surface-soft);
  border-color: #9ca7ae;
}

.icon-button svg,
.sidebar-open svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.sidebar-controls {
  padding: 8px 9px 7px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 15px;
  height: 15px;
  fill: var(--text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 36px;
  padding: 7px 9px 7px 31px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #9ba6ae;
  border-radius: 0;
  outline: none;
}

.search-field input::placeholder {
  color: #74818b;
}

.search-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(31 73 122 / 14%);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.filter-chip {
  min-height: 27px;
  padding: 3px 7px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 0;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 600;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  background: var(--surface-soft);
  border-color: #9ca7ae;
}

.filter-chip.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.sidebar-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 10px;
}

.link-button {
  padding: 0;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 600;
}

.link-button:hover,
.link-button:focus-visible {
  text-decoration: underline;
}

.institution-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  scrollbar-width: thin;
  scrollbar-color: #a9b2b8 var(--surface);
}

.institution-card {
  width: 100%;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 7px;
  padding: 8px 9px;
  color: var(--text);
  background: var(--surface);
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--surface-border);
  cursor: pointer;
}

.institution-card:hover {
  background: #e9eeef;
}

.institution-card:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.institution-card.is-selected {
  background: #e4edf2;
  box-shadow: inset 4px 0 var(--blue);
}

.type-icon,
.card-icon,
.legend-type-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--type-color, var(--navy));
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow:
    0 1px 4px rgb(0 0 0 / 24%),
    0 0 0 1px rgb(23 43 58 / 22%);
  transition:
    transform 100ms ease,
    box-shadow 100ms ease;
}

.card-icon {
  width: 27px;
  height: 27px;
}

.card-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.legend-type-icon svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

.card-content {
  min-width: 0;
}

.card-heading {
  display: block;
}

.card-heading strong {
  display: block;
  color: var(--navy-dark);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.28;
}

.card-heading > span {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 10.5px;
}

.empty-state {
  padding: 24px 14px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state strong {
  color: var(--navy-dark);
}

.empty-state p {
  margin: 3px 0 0;
  font-size: 11px;
}

/* Map */

.map-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--night);
}

.map-frame {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--night);
}

#map {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.leaflet-container {
  background: var(--night);
  font-family: var(--font-primary);
}

.leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%) !important;
  border-radius: 2px !important;
  box-shadow: 0 4px 14px rgb(0 0 0 / 32%) !important;
}

.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  color: #e9eef2 !important;
  background: rgb(23 39 56 / 92%) !important;
  border-bottom-color: rgb(255 255 255 / 10%) !important;
  font-family: Arial, sans-serif;
  line-height: 34px !important;
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:focus {
  color: #ffffff !important;
  background: #29445b !important;
}

.leaflet-control-zoom a.leaflet-disabled {
  color: #73828e !important;
  background: #132231 !important;
}

.leaflet-control-attribution {
  color: #cbd3da !important;
  background: rgb(10 22 34 / 82%) !important;
  font-size: 8.5px;
}

.leaflet-control-attribution a {
  color: #e2edf3 !important;
}

.institution-tooltip {
  min-width: 170px;
  padding: 9px 11px;
  color: #f4f7f9;
  background: rgb(12 27 41 / 96%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 2px;
  box-shadow: 0 5px 16px rgb(0 0 0 / 42%);
}

.leaflet-tooltip-top.institution-tooltip::before {
  border-top-color: rgb(12 27 41 / 96%) !important;
}

.leaflet-tooltip-bottom.institution-tooltip::before {
  border-bottom-color: rgb(12 27 41 / 96%) !important;
}

.leaflet-tooltip-left.institution-tooltip::before {
  border-left-color: rgb(12 27 41 / 96%) !important;
}

.leaflet-tooltip-right.institution-tooltip::before {
  border-right-color: rgb(12 27 41 / 96%) !important;
}

.institution-tooltip strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.institution-tooltip span {
  display: block;
  color: #c6d0d8;
  font-size: 9.5px;
  line-height: 1.35;
}

.map-legend {
  position: absolute;
  z-index: 500;
  left: 16px;
  right: auto;
  bottom: 16px;
  width: 150px;
  padding: 10px 9px;
  color: #edf2f5;
  background: rgba(43, 46, 49, 0.9);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 2px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 32%);
  backdrop-filter: blur(5px);
}

.legend-heading {
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-section + .legend-section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 13%);
}

.legend-section > strong {
  display: block;
  margin-bottom: 5px;
  color: #cbd5dc;
  font-size: 8.5px;
  font-weight: 600;
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.legend-grid span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #edf2f5;
  font-size: 8.5px;
  line-height: 1.25;
}

.legend-type-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sidebar-open {
  position: absolute;
  z-index: 550;
  top: 18px;
  left: 18px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  color: var(--text-on-dark);
  background: rgb(23 39 56 / 94%);
  border: 1px solid rgb(255 255 255 / 14%);
  cursor: pointer;
  box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
}

.sidebar-open:hover,
.sidebar-open:focus-visible {
  background: #29445b;
}

/* Markers */

.institution-marker-wrapper {
  overflow: visible;
  background: transparent;
  border: 0;
}

.institution-marker {
  position: relative;
  width: 48px;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transform-origin: 50% 84%;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.marker-glow {
  position: absolute;
  z-index: 0;
  top: -5px;
  left: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      color-mix(in srgb, var(--type-color) 46%, white) 0%,
      color-mix(in srgb, var(--type-color) 35%, transparent) 32%,
      transparent 72%
    );
  opacity: 0.44;
  transform: translateX(-50%) scale(0.82);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.marker-face {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 82%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 38% 30%,
      color-mix(in srgb, var(--type-color) 68%, white),
      var(--type-color) 58%,
      color-mix(in srgb, var(--type-color) 76%, black)
    );
  box-shadow:
    0 2px 5px rgb(0 0 0 / 45%),
    0 0 8px color-mix(in srgb, var(--type-color) 52%, transparent);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.marker-face svg {
  width: 19px;
  height: 19px;
  fill: white;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 25%));
}

.marker-base {
  position: absolute;
  z-index: 1;
  top: 34px;
  left: 50%;
  width: 11px;
  height: 10px;
  background: #d9e0e5;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 1px 1px 4px 4px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 38%);
  transform: translateX(-50%);
}

.marker-base::after {
  position: absolute;
  right: 1px;
  bottom: -4px;
  left: 1px;
  height: 3px;
  content: "";
  background: #7f8b95;
  border-radius: 0 0 3px 3px;
}

.institution-marker:hover {
  z-index: 20;
  transform: translateY(-2px) scale(1.06);
}

.institution-marker:hover .marker-glow {
  opacity: 0.72;
  transform: translateX(-50%) scale(1.05);
}

.institution-marker:hover .marker-face {
  border-color: white;
  box-shadow:
    0 3px 8px rgb(0 0 0 / 48%),
    0 0 12px var(--type-color),
    0 0 24px color-mix(in srgb, var(--type-color) 58%, transparent);
}

.institution-marker.is-selected {
  z-index: 30;
  transform: translateY(-3px) scale(1.11);
  animation: marker-rise 240ms ease-out;
}

.institution-marker.is-selected .marker-glow {
  opacity: 1;
  transform: translateX(-50%) scale(1.32);
  animation: selected-light-pulse 2.2s ease-in-out infinite;
}

.institution-marker.is-selected .marker-face {
  border-color: white;
  transform: scale(1.03);
  box-shadow:
    0 4px 10px rgb(0 0 0 / 52%),
    0 0 9px white,
    0 0 18px var(--type-color),
    0 0 34px color-mix(in srgb, var(--type-color) 72%, transparent);
}

.institution-marker.is-selected .marker-face::after {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1.5px solid rgb(255 255 255 / 82%);
  border-radius: 50%;
  box-shadow: 0 0 7px rgb(255 255 255 / 55%);
}

@keyframes marker-rise {
  from {
    transform: translateY(2px) scale(0.94);
  }

  to {
    transform: translateY(-3px) scale(1.11);
  }
}

@keyframes selected-light-pulse {
  0%,
  100% {
    opacity: 0.76;
    transform: translateX(-50%) scale(1.16);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.38);
  }
}

/* Profile drawer */

.profile-drawer {
  position: absolute;
  z-index: 700;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(var(--drawer-width), 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
  background: var(--surface);
  border-left: 1px solid var(--night-border);
  box-shadow: -8px 0 24px rgb(0 0 0 / 28%);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    transform 180ms ease,
    opacity 150ms ease,
    visibility 180ms;
}

.profile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.drawer-close {
  position: sticky;
  z-index: 10;
  top: 10px;
  float: right;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 10px 10px -44px 0;
  padding: 0;
  color: var(--navy);
  background: rgb(244 243 239 / 94%);
  border: 1px solid var(--surface-border);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.drawer-close:hover,
.drawer-close:focus-visible {
  background: var(--surface-soft);
}

.institution-profile {
  min-height: 100%;
  background: var(--surface);
}

.profile-image {
  position: relative;
  height: 180px;
  margin: 0;
  overflow: hidden;
  background: #dfe4e8;
  border-bottom: 1px solid var(--surface-border);
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-header {
  padding: 17px 20px 15px;
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
}

.profile-header h2 {
  max-width: 310px;
  margin: 0;
  color: var(--navy-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.profile-classification {
  margin: 7px 0 0;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-location {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.profile-initiative {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
}

.profile-headline {
  margin: 0;
  padding: 19px 20px 17px;
  color: var(--navy-dark);
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.profile-stat {
  min-width: 0;
  padding: 15px 16px 14px;
  background: var(--surface-soft);
}

.profile-stat strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.profile-stat span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.profile-body {
  padding: 0 20px 26px;
  background: var(--surface);
}

.profile-introduction,
.profile-content-section {
  padding-top: 17px;
}

.profile-content-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}

.profile-introduction h3,
.profile-content-section h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-introduction p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.58;
}

.profile-highlights {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 11.5px;
  line-height: 1.5;
}

.profile-highlights li {
  margin-bottom: 6px;
  padding-left: 2px;
}

.profile-highlights li::marker {
  color: var(--blue);
}

.profile-highlights li:last-child {
  margin-bottom: 0;
}

.profile-details {
  margin: 0;
  border-top: 1px solid var(--surface-border);
}

.profile-details > div {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-border);
}

.profile-details dt {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
}

.profile-details dd {
  margin: 0;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  text-align: left;
}

.profile-resource-list {
  border-top: 1px solid var(--surface-border);
}

.profile-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  color: var(--blue);
  border-bottom: 1px solid var(--surface-border);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.profile-resource:hover span:first-child,
.profile-resource:focus-visible span:first-child {
  text-decoration: underline;
}

.resource-arrow {
  font-size: 13px;
}

.empty-value {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.mobile-scrim {
  display: none;
}

/* Responsive tablet */

@media (max-width: 800px) {
  :root {
    --sidebar-width: 265px;
    --drawer-width: 330px;
  }

  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 16px;
    padding: 0 16px;
  }

  .header-theme {
    display: none;
  }

  .brand-title {
    font-size: 16px;
  }

  .map-legend {
    left: 12px;
    right: auto;
    bottom: 14px;
    width: 150px;
  }
}

/* Responsive mobile */

@media (max-width: 680px) {
  :root {
    --header-height: 58px;
  }

  body {
    overflow: auto;
  }

  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 0 13px;
  }

  .brand-organization,
  .header-theme,
  .header-count {
    display: none;
  }

  .brand-title {
    font-size: 16px;
  }

  .directory-app,
  .directory-app.sidebar-collapsed {
    min-height: calc(100vh - var(--header-height));
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .map-shell {
    order: 1;
    height: 58vh;
    min-height: 430px;
  }

  .results-panel,
  .directory-app.sidebar-collapsed .results-panel {
    order: 2;
    height: auto;
    overflow: visible;
    visibility: visible;
    border-top: 1px solid var(--surface-border);
    border-right: 0;
  }

  .sidebar-toggle,
  .sidebar-open {
    display: none;
  }

  .institution-list {
    max-height: none;
    overflow: visible;
  }

  .profile-drawer {
    position: fixed;
    z-index: 1300;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 84vh;
    border: 0;
    border-top: 1px solid var(--night-border);
    transform: translateY(100%);
  }

  .profile-drawer.is-open {
    transform: translateY(0);
  }

  .mobile-scrim {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: block;
    background: rgb(10 20 29 / 58%);
  }

  .mobile-scrim[hidden] {
    display: none;
  }

  .map-legend {
    left: 10px;
    right: auto;
    bottom: 12px;
    width: 164px;
    max-height: 210px;
    overflow-y: auto;
  }
}

/* Responsive small mobile */

@media (max-width: 420px) {
  .profile-headline {
    padding: 16px 17px 15px;
    font-size: 16px;
  }

  .profile-stat {
    padding: 13px 12px;
  }

  .profile-stat strong {
    font-size: 17px;
  }

  .profile-stat span {
    font-size: 8px;
  }

  .profile-header,
  .profile-body {
    padding-right: 17px;
    padding-left: 17px;
  }

  .profile-image {
    height: 165px;
  }

  .map-shell {
    height: 56vh;
    min-height: 400px;
  }

  .map-legend {
    width: 154px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:root {
  --pbcm-green: #b3c938;
  --pbcm-yellow: #fcb900;
  --pbcm-gray: #999999;
  --pbcm-coral: #ffa07a;
  --pbcm-dark-green: #006400;
  --pbcm-dark-blue: #002d66;
  --pbcm-blue: #2ea3f2;

  --night: #0b1824;
  --night-soft: #102436;
  --night-panel: #173247;
  --night-panel-hover: #1d3d55;
  --night-panel-selected: #214962;
  --night-border: rgb(255 255 255 / 10%);

  --surface: #f7f6f1;
  --surface-soft: #efeee8;
  --surface-border: #d9d8d0;
  --surface-tint: #f3f5ed;

  --text: #25313a;
  --text-muted: #64717a;
  --navy: #193b59;
  --navy-dark: #002d66;
  --blue: #197cb3;

  --header-height: 76px;
  --sidebar-width: 326px;
  --drawer-width: 408px;
}

body {
  background: var(--night);
  font-family: var(--font-primary);
}

.skip-link {
  color: #fff;
  background: var(--pbcm-dark-blue);
  font-weight: 700;
}

.site-header {
  grid-template-columns: minmax(360px, auto) minmax(260px, 1fr) auto auto;
  gap: 24px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #deddd7;
  box-shadow: 0 3px 16px rgb(14 28 40 / 9%);
}

.brand {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 226px;
  height: 52px;
  display: flex;
  align-items: center;
  flex: 0 0 226px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-project {
  min-width: 0;
  display: block;
  padding-left: 16px;
  border-left: 1px solid #d8d8d2;
}

.brand-project strong,
.brand-project span {
  display: block;
}

.brand-project strong {
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-project span {
  margin-top: 3px;
  color: #6f7b80;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-theme {
  padding-left: 22px;
  border-left: 1px solid #deddd7;
}

.header-theme-kicker {
  color: var(--pbcm-dark-green);
}

.header-theme-title {
  color: #394953;
  font-size: 12px;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.header-nav a {
  padding: 8px 10px;
  color: #394953;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--pbcm-dark-blue);
  background: #f2f4ee;
  outline: none;
}

.header-count {
  min-width: 80px;
  padding: 8px 10px;
  color: #6b767d;
  background: linear-gradient(135deg, #f7f8f3 0%, #eef1e8 100%);
  border: 1px solid #d8ddd0;
  border-radius: 6px;
}

.header-count strong {
  color: var(--pbcm-dark-blue);
  font-size: 17px;
}

.results-panel {
  background: var(--surface);
  border-right: 1px solid var(--surface-border);
  box-shadow: 6px 0 24px rgb(5 20 31 / 14%);
}

.sidebar-header {
  min-height: 68px;
  padding: 12px 13px 11px 17px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f6f1 100%);
  border-bottom: 1px solid var(--surface-border);
}

.sidebar-kicker {
  margin: 0 0 3px;
  color: var(--pbcm-dark-green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sidebar-header h1 {
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

.result-count {
  margin-top: 3px;
  color: #6a757c;
  font-size: 11px;
}

.icon-button {
  color: var(--pbcm-dark-blue);
  background: #fff;
  border-color: #d4d7d0;
  border-radius: 6px;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #f0f2ec;
  border-color: #abb4aa;
}

.sidebar-controls {
  padding: 13px 12px 11px;
  background: linear-gradient(180deg, #f7f6f1 0%, #f1f1eb 100%);
  border-bottom: 1px solid var(--surface-border);
}

.search-field input {
  height: 42px;
  padding-left: 34px;
  background: #fff;
  border: 1px solid #c7cbc4;
  border-radius: 6px;
  font-size: 12px;
}

.search-field input:focus {
  border-color: #6a91ad;
  box-shadow: 0 0 0 3px rgb(46 163 242 / 12%);
}

.filter-row {
  gap: 5px;
  margin-top: 10px;
}

.filter-chip {
  min-height: 30px;
  padding: 4px 9px;
  color: #34454f;
  background: #fff;
  border-color: #d1d3cd;
  border-radius: 999px;
  font-size: 10px;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  color: var(--pbcm-dark-blue);
  background: #f0f3ec;
  border-color: #aeb8ad;
}

.filter-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #002d66 0%, #164f78 100%);
  border-color: #0b406c;
  box-shadow: 0 4px 10px rgb(0 45 102 / 16%);
}

.sidebar-actions {
  margin-top: 10px;
  color: #6a757c;
  font-size: 9.5px;
}

.link-button {
  color: var(--pbcm-dark-blue);
  font-weight: 700;
}

.institution-list {
  background: #faf9f5;
  scrollbar-color: #b5bbb4 #efeee8;
}

.institution-card {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  background: #faf9f5;
  border-bottom-color: #e2e1da;
}

.institution-card:hover {
  background: #f2f3ee;
}

.institution-card:focus-visible {
  outline-color: var(--pbcm-blue);
}

.institution-card.is-selected {
  background: linear-gradient(90deg, #edf2f5 0%, #f7f8f4 100%);
  box-shadow: inset 4px 0 #2f708f;
}

.card-heading strong {
  color: #18344c;
  font-size: 13px;
  font-weight: 700;
}

.card-heading > span,
.stage-badge {
  color: #66727a;
}

.type-icon,
.card-icon,
.legend-type-icon {
  box-shadow:
    0 2px 6px rgb(0 0 0 / 22%),
    0 0 0 1px rgb(255 255 255 / 35%);
}

.map-shell,
.map-frame,
.leaflet-container {
  background: #0b1824;
}

.map-frame::after {
  position: absolute;
  z-index: 390;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgb(46 163 242 / 6%), transparent 25%),
    radial-gradient(circle at 82% 72%, rgb(179 201 56 / 4%), transparent 22%);
  box-shadow:
    inset 0 0 82px rgb(0 0 0 / 22%),
    inset 0 -80px 120px rgb(0 16 33 / 15%);
}

.leaflet-control-zoom {
  border-color: rgb(255 255 255 / 13%) !important;
}

.leaflet-control-zoom a {
  color: #eef4f7 !important;
  background: rgb(18 43 62 / 94%) !important;
}

.leaflet-control-zoom a:hover,
.leaflet-control-zoom a:focus {
  color: #fff !important;
  background: #24516b !important;
}

.institution-tooltip {
  color: #fff;
  background: rgb(11 30 43 / 96%);
  border-color: rgb(255 255 255 / 16%);
  border-radius: 6px;
}

.institution-tooltip strong {
  font-family: var(--font-display);
}

.map-legend {
  width: 205px;
  padding: 12px 13px;
  color: #eef4f7;
  background: linear-gradient(145deg, rgb(17 42 60 / 94%) 0%, rgb(10 29 43 / 94%) 100%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 34%);
}

.legend-heading {
  color: #fff;
  font-size: 9.5px;
}

.legend-section > strong {
  color: #d5e0e6;
  font-size: 9px;
}

.legend-grid span {
  font-size: 9px;
}

.sidebar-open {
  color: #fff;
  background: linear-gradient(135deg, rgb(20 54 75 / 96%) 0%, rgb(10 38 56 / 96%) 100%);
  border-color: rgb(255 255 255 / 14%);
  border-radius: 7px;
  font-weight: 700;
}

.sidebar-open:hover,
.sidebar-open:focus-visible {
  background: #24516b;
}

.marker-glow {
  opacity: .34;
}

.marker-face {
  border-color: rgb(255 255 255 / 85%);
  box-shadow:
    0 3px 7px rgb(0 0 0 / 48%),
    0 0 8px color-mix(in srgb, var(--type-color) 46%, transparent);
}

.institution-marker:hover .marker-glow {
  opacity: .58;
}

.institution-marker.is-selected .marker-glow {
  opacity: .78;
}

.institution-marker.is-selected .marker-face {
  box-shadow:
    0 4px 11px rgb(0 0 0 / 56%),
    0 0 7px rgb(255 255 255 / 72%),
    0 0 16px var(--type-color),
    0 0 30px color-mix(in srgb, var(--type-color) 58%, transparent);
}

.profile-drawer {
  background: #faf9f5;
  border-left: 1px solid #d9d8d0;
  box-shadow: -12px 0 34px rgb(0 0 0 / 30%);
}

.drawer-close {
  color: var(--pbcm-dark-blue);
  background: rgb(255 255 255 / 94%);
  border-color: #d2d5ce;
  border-radius: 6px;
  font-weight: 700;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  color: #fff;
  background: var(--pbcm-dark-blue);
}

.institution-profile,
.profile-header,
.profile-headline,
.profile-body {
  background: #faf9f5;
}

.profile-image {
  height: 205px;
  border-bottom: 1px solid #deddd6;
}

.profile-header {
  padding: 20px 23px 17px;
}

.profile-header h2 {
  max-width: 350px;
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.16;
}

.profile-classification {
  color: #5d6b70;
}

.profile-headline {
  margin: 0 18px;
  padding: 18px 5px 17px;
  color: #17364d;
  font-family: var(--font-display);
  font-size: 19px;
  border-top: 1px solid #deddd6;
  border-bottom: 1px solid #deddd6;
}

.profile-stat-grid {
  gap: 1px;
  background: #d9ddd8;
}

.profile-stat {
  background: linear-gradient(145deg, #f5f6f1 0%, #ecefe7 100%);
}

.profile-stat strong {
  color: var(--pbcm-dark-blue);
}

.profile-body {
  padding-right: 23px;
  padding-left: 23px;
}

.profile-introduction h3,
.profile-content-section h3 {
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
  font-size: 14px;
}

.profile-highlights li::marker {
  color: #6f8c21;
}

.profile-resource {
  color: #176f9d;
}

.profile-resource:hover,
.profile-resource:focus-visible {
  color: var(--pbcm-dark-blue);
}

.empty-state strong {
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(320px, auto) minmax(220px, 1fr) auto;
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 800px) {
  :root {
    --sidebar-width: 290px;
    --drawer-width: 370px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 0 14px;
  }

  .brand-logo-wrap {
    width: 190px;
    flex-basis: 190px;
    height: 45px;
  }

  .brand-project {
    display: none;
  }

  .header-count {
    min-width: 68px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .brand-logo-wrap {
    width: 215px;
    height: 46px;
    flex-basis: 215px;
  }

  .header-count {
    display: none;
  }

  .map-shell {
    min-height: 450px;
  }

  .map-legend {
    width: 184px;
  }

  .profile-drawer {
    border-top: 1px solid #d9d8d0;
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .brand-logo-wrap {
    width: 190px;
    flex-basis: 190px;
  }

  .profile-header h2 {
    font-size: 22px;
  }
}

/* Profile image states */
.profile-image {
  isolation: isolate;
  background:
    linear-gradient(135deg, #e7e8e3 0%, #d9deda 48%, #e9e8e3 100%);
}

.profile-image::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      105deg,
      transparent 28%,
      rgb(255 255 255 / 48%) 45%,
      transparent 62%
    );
  transform: translateX(-100%);
}

.profile-image.is-loading::after {
  opacity: 1;
  animation: profile-image-shimmer 1.15s ease-in-out infinite;
}

.profile-image img {
  position: relative;
  z-index: 1;
  background: #e5e7e3;
  transition: opacity 180ms ease;
}

.profile-image.is-loading img {
  opacity: 0.76;
}

@keyframes profile-image-shimmer {
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-image.is-loading::after {
    animation: none;
  }
}

/* Header */
.site-header {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav .header-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: #ffffff;
  background: var(--pbcm-dark-blue);
  border: 2px solid var(--pbcm-dark-blue);
  border-radius: 5px;
  box-shadow: 0 3px 10px rgb(0 45 102 / 18%);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.header-nav .header-cta:hover,
.header-nav .header-cta:focus-visible {
  color: var(--pbcm-dark-blue);
  background: var(--pbcm-green);
  border-color: #9eb129;
  box-shadow: 0 4px 14px rgb(0 45 102 / 22%);
  outline: 3px solid rgb(46 163 242 / 28%);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.brand-project strong {
  color: var(--pbcm-dark-blue);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-project span {
  color: var(--pbcm-dark-green);
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: none;
}

.header-count {
  min-width: 134px;
  min-height: 40px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--pbcm-dark-blue);
  background: #f5f7ec;
  border: 1px solid #cfd8aa;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.header-count strong {
  color: var(--pbcm-dark-blue);
  font-size: 17px;
  font-weight: 800;
}

.header-count span {
  color: #46545c;
  font-size: 10.5px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-nav {
    display: flex;
  }

  .brand-logo-wrap {
    width: 205px;
    flex-basis: 205px;
  }

  .brand-project span {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-nav .header-cta {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11px;
  }

  .header-count {
    min-width: 70px;
    min-height: 36px;
    padding: 6px 8px;
  }

  .header-count span {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
  }

  .brand-logo-wrap {
    width: 176px;
    height: 42px;
    flex-basis: 176px;
  }

  .header-actions {
    justify-self: end;
  }

  .header-count {
    display: flex;
    min-width: 42px;
    padding-inline: 7px;
  }

  .header-nav .header-cta {
    padding-inline: 9px;
  }
}

@media (max-width: 480px) {
  .brand-logo-wrap {
    width: 150px;
    flex-basis: 150px;
  }

  .header-nav .header-cta {
    font-size: 10px;
  }

  .header-count {
    display: none;
  }
}

/* Legend */
.map-legend {
  left: 18px;
  bottom: 18px;
  width: 164px;
  padding: 10px 9px 9px;
  color: #edf2f5;
  background: linear-gradient(145deg, rgb(16 39 58 / 94%) 0%, rgb(9 28 42 / 94%) 100%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 34%);
  backdrop-filter: blur(6px);
}

.legend-toggle,
.legend-tab {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
}

.legend-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  color: #f3f7fa;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.legend-toggle:hover .legend-heading,
.legend-toggle:focus-visible .legend-heading {
  color: #ffffff;
}

.legend-toggle:focus-visible,
.legend-tab:focus-visible {
  outline: 2px solid rgb(143 216 255 / 72%);
  outline-offset: 2px;
  border-radius: 6px;
}

.legend-heading {
  margin: 0;
  color: #f1f5f8;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  color: #f1f5f8;
  transition: transform 160ms ease;
}

.legend-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}

.legend-content {
  margin-top: 9px;
}

.map-legend.is-collapsed .legend-content {
  display: none;
}

.legend-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.legend-tab {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  color: #d9e4eb;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 6px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.legend-tab:hover {
  background: rgb(255 255 255 / 13%);
}

.legend-tab.is-active,
.legend-tab[aria-selected="true"] {
  color: #0e2940;
  background: #eef4f8;
  border-color: rgb(255 255 255 / 45%);
}

.legend-panel[hidden] {
  display: none !important;
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.legend-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eef4f7;
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
}

.legend-type-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.stage-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  flex: 0 0 10px;
  border: 1px solid rgb(0 26 51 / 42%);
  border-radius: 50%;
  box-shadow: none;
}

@media (max-width: 900px) {
  .map-legend {
    width: 160px;
    padding: 9px 8px 8px;
  }
}

@media (max-width: 680px) {
  .map-legend {
    left: 10px;
    bottom: 12px;
    width: 154px;
  }

  .legend-grid span {
    font-size: 9.5px;
  }
}


/* Header */
.site-header {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0 24px;
}

.brand {
  width: 100%;
  max-width: none;
  gap: 0;
}

.brand-project {
  padding-left: 0;
  border-left: 0;
}

.brand-project strong {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.brand-project span {
  margin-top: 4px;
  font-size: 10.5px;
}

/* Directory */
.sidebar-open {
  position: absolute;
  z-index: 900;
  top: 92px;
  left: 0;
  width: 34px;
  min-width: 34px;
  height: 64px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.sidebar-open span {
  display: none;
}

.sidebar-open svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 680px) {
  .brand-project strong {
    font-size: 23px;
  }

  .brand-project span {
    font-size: 9.5px;
  }

  .sidebar-open {
    display: none;
  }
}

/* Layout */
:root {
  --header-height: 68px;
  --sidebar-width: 312px;
}

.site-header {
  padding: 0 20px;
}

.brand-project strong {
  font-size: 26px;
}

.brand-project span {
  margin-top: 2px;
}

/* Directory */
.sidebar-toggle,
.sidebar-open {
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: none;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible,
.sidebar-open:hover,
.sidebar-open:focus-visible {
  color: var(--navy);
  background: var(--surface-soft);
  border-color: #9ca7ae;
}

.sidebar-open {
  top: 92px;
  left: 0;
  width: 34px;
  min-width: 34px;
  height: 116px;
  min-height: 116px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 0;
  border-left: 0;
  border-radius: 0 7px 7px 0;
}

.sidebar-open span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.sidebar-open svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 1180px) {
  :root {
    --sidebar-width: 280px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 58px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand-project strong {
    font-size: 22px;
  }

  .sidebar-open {
    display: none;
  }
}
