body {
  background: #f4f7fb;
  color: #111827;
  font-family: "Lato", "Inter", "Segoe UI", sans-serif;
  overflow-x: hidden;
  scroll-padding-top: 120px;
}

.navbar.fixed-top.bg-dark {
  background: #111827 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.18);
  min-height: 64px;
  padding: 0.65rem 1rem;
}

.navbar-dark .navbar-brand {
  color: #f9fafb;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 1.25rem;
}

.navbar .nav-item {
  margin-right: 0.35rem;
}

.navbar .nav-link {
  padding: 0.2rem;
}

.navbar .navbar-collapse {
  gap: 0.75rem;
}

.navbar .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #d1d5db;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.navbar .btn-secondary:hover,
.navbar .btn-secondary:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: none;
}

.navbar .nav-item.active .btn-secondary {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.5);
  color: #ffffff;
}

.sidenav {
  background: #1f2937;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 10px 0 24px rgba(17, 24, 39, 0.18);
  height: 100%;
  left: 0;
  overflow-x: hidden;
  padding: 18px 4px 24px;
  position: fixed;
  top: 64px;
  transition: width 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
  width: 18px;
  z-index: 1030;
}

.sidenav:hover,
.sidenav:focus-within {
  box-shadow: 16px 0 36px rgba(17, 24, 39, 0.26);
  padding-left: 10px;
  padding-right: 10px;
  width: 230px;
}

.sidenav a {
  border-radius: 6px;
  color: #cbd5e1;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  max-width: 210px;
  opacity: 0;
  overflow: hidden;
  padding: 10px 12px;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidenav:hover a,
.sidenav:focus-within a {
  opacity: 1;
}

.sidenav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transform: translateX(2px);
}

.main {
  box-sizing: border-box;
  font-size: 1rem;
  margin-left: 0;
  overflow-x: hidden;
  padding: 0 10px 40px;
  transition: margin-left 180ms ease, width 180ms ease;
  width: 100%;
}

body .jumbotron {
  background:
    radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(135deg, #172033 0%, #263244 52%, #344154 100%);
  color: #f9fafb;
  margin-bottom: 0;
  padding: 4.75rem 1rem 4rem;
}

body .jumbotron .container {
  max-width: 980px;
}

body .jumbotron .display-4 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1rem;
}

body .jumbotron .lead {
  color: #dbeafe;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 820px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 12px;}
  .sidenav a {font-size: 0.9rem;}
}

@media screen and (max-width: 991px) {
  .navbar.fixed-top.bg-dark {
    min-height: 56px;
    padding: 0.45rem 0.85rem;
  }

  .navbar .navbar-collapse {
    padding-top: 0.65rem;
  }

  .navbar .nav-item {
    margin-right: 0;
    padding-left: 0 !important;
    width: 100%;
  }

  .navbar .nav-link {
    padding: 0.25rem 0;
  }

  .navbar .btn-secondary {
    padding: 0.7rem 0.85rem;
    text-align: left;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .sidenav {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
    display: flex !important;
    gap: 8px;
    height: auto;
    left: auto;
    margin-top: 56px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px;
    position: relative;
    scrollbar-width: none;
    top: auto;
    white-space: nowrap;
    width: 100%;
    z-index: 1;
  }

  .sidenav::-webkit-scrollbar {
    display: none;
  }

  .sidenav:hover,
  .sidenav:focus-within {
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
    padding: 8px 10px;
    width: 100%;
  }

  .sidenav a {
    background: rgba(255, 255, 255, 0.06);
    flex: 0 0 auto;
    font-size: 0.82rem;
    margin-bottom: 0;
    max-width: none;
    opacity: 1;
    padding: 8px 10px;
  }

  .main {
    margin-left: 0;
    padding: 0 0 32px;
    width: 100%;
  }

  body .jumbotron {
    padding: 3.2rem 1rem 2.35rem;
  }

  body .jumbotron .container {
    margin-top: 0 !important;
  }

  body .jumbotron .display-4 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.08;
  }

  body .jumbotron .lead {
    font-size: 1rem;
  }

  .analysis-shell,
  .sunburst-shell,
  .landing-shell,
  .map-shell {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    margin: 0 auto 22px;
    max-width: 100%;
    overflow-x: auto;
    padding: 18px 14px;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
  }

  .js-plotly-plot,
  .plot-container,
  .svg-container {
    max-width: 100%;
  }

  .story-stat strong {
    font-size: 1.35rem;
  }
}

.eyebrow {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.team-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 46px 28px 64px;
}

.team-intro {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  margin-bottom: 28px;
}

.team-intro .eyebrow {
  color: #2563eb;
}

.team-intro h2 {
  color: #111827;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

.team-intro p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.team-carousel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.08);
  padding: 36px 72px 56px;
}

.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  min-height: 380px;
}

.team-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 360px;
  padding: 28px;
}

.team-card-header {
  align-items: center;
  display: flex;
  gap: 18px;
}

.team-card h3 {
  color: #111827;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
}

.team-card-header p {
  color: #6b7280;
  font-size: 0.98rem;
  margin: 0;
}

.avatar {
  align-items: center;
  background: linear-gradient(135deg, #172033 0%, #344154 100%);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex: 0 0 68px;
  font-size: 1.15rem;
  font-weight: 800;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.linkedin-card {
  background: #050505;
  border-radius: 7px;
  color: #ffffff;
  flex: 1;
  overflow: hidden;
}

.linkedin-top {
  background: #374151;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 16px;
}

.linkedin-top span {
  background: #ffffff;
  border-radius: 2px;
  color: #374151;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  margin-left: 2px;
  padding: 1px 3px 2px;
}

.linkedin-body {
  padding: 22px 18px 20px;
}

.linkedin-body strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.linkedin-body p {
  color: #f3f4f6;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 58px;
}

.profile-link {
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.42rem 0.9rem;
  text-decoration: none;
}

.profile-link:hover {
  background: #ffffff;
  color: #111827;
  text-decoration: none;
}

.profile-link.disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}

.team-carousel .carousel-control-prev,
.team-carousel .carousel-control-next {
  bottom: auto;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
}

.team-carousel .carousel-control-prev {
  left: 10px;
}

.team-carousel .carousel-control-next {
  right: 10px;
}

.team-carousel .carousel-control-prev-icon,
.team-carousel .carousel-control-next-icon {
  background-color: #111827;
  background-size: 42%;
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

.team-carousel .carousel-indicators {
  bottom: 16px;
  margin-bottom: 0;
}

.team-carousel .carousel-indicators li {
  background-color: #94a3b8;
  border-radius: 999px;
  height: 8px;
  opacity: 1;
  width: 28px;
}

.team-carousel .carousel-indicators .active {
  background-color: #2563eb;
}

@media screen and (max-width: 900px) {
  .team-intro {
    grid-template-columns: 1fr;
  }

  .team-carousel {
    padding-left: 54px;
    padding-right: 54px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .team-section {
    padding: 34px 16px 52px;
  }

  .team-carousel {
    padding: 24px 18px 54px;
  }

  .team-card {
    padding: 22px;
  }

  .team-carousel .carousel-control-prev,
  .team-carousel .carousel-control-next {
    display: none;
  }
}
