    body {
      background-color: #0f0f1a;
      color: #ffffff;
      font-family: 'Roboto', sans-serif;
    }
    a {
      color: #6d9eff;
    }
    .navbar {
      background-color: #12122b;
    }
    .section {
      /* Reduce section vertical padding for closer spacing */
      padding-block: clamp(2.25rem, 6vw, 3.5rem);
      padding-inline: 15px;
    }
    .btn-resume {
      background-color: #6d9eff;
      border: none;
      color: white;
    }
    .card {
      background-color: #1b1b33;
      border: none;
    }
    .card h3,
    .card h5,
    .card p,
    .card a,
    .card li,
    .card span {
      color: #ffffff;
    }
    .text-muted {
      color: #ffffff !important;
    }
    .viz-preview {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 5px;
      margin-bottom: 10px;
    }
    .headshot {
      width: 150px;
      height: 150px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid #6d9eff;
      margin-bottom: 20px;
    }
    .about-gradient {
      position: relative;
      /* Tighten hero padding while keeping responsive breathing room */
      padding-block: clamp(3.75rem, 10vw, 5.5rem);
      padding-inline: 15px;
      text-align: center;
      background: linear-gradient(135deg, #1e1b3a, #181b48, #12122b);
      background-size: 600% 600%;
      animation: gradientShift 15s ease infinite;
      overflow: hidden;
    }
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    #network-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
    }
    .about-gradient .container {
      position: relative;
      z-index: 1;
    }
    footer {
      background-color: #12122b;
      padding: 20px;
      text-align: center;
    }
#skills {
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  /* Trim skill section padding to tighten vertical rhythm */
  padding-block: clamp(2.75rem, 7vw, 3.75rem);
  padding-inline: 30px;
  /* Ease vertical gap between hero and following section */
  margin-block: 0;
  margin-inline: 20px;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(17, 17, 34, 0.8));
}

#skills h2 {
  letter-spacing: 2px;
  text-transform: uppercase;
}

.skills-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 0;
}

.skills-grid::-webkit-scrollbar {
  height: 6px;
}

.skills-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 130px;
  padding: 0 1rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-6px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

#skills img.skill-icon {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills img.skill-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(109, 158, 255, 0.8);
}

.skill-label {
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #1b1b33;
  color: #6d9eff;
}
.btn-resume:hover {
  box-shadow: 0 0 10px rgba(109, 158, 255, 0.7);
  transform: scale(1.02);
}
.tagline {
      color: #ffffff;
      font-size: 1.3rem;
    }

.hero-meta {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.hero-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.hero-meta a:hover {
  color: #6d9eff;
  border-bottom-color: #6d9eff;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-links .btn-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
}

.contact-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(109, 158, 255, 0.8);
  background: rgba(109, 158, 255, 0.25);
}

.explore-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.explore-label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.explore-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.explore-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(109, 158, 255, 0.55);
  border-color: rgba(109, 158, 255, 0.65);
  background: rgba(109, 158, 255, 0.18);
}

.explore-button__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.explore-button__detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  word-break: break-word;
}

.portfolio-hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(109, 158, 255, 0.25), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(140, 82, 255, 0.25), transparent 55%),
              linear-gradient(135deg, rgba(18, 18, 43, 0.95), rgba(11, 11, 26, 0.95));
  overflow: hidden;
}

.portfolio-kicker {
  display: inline-block;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.technical-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.filter-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-width: 200px;
}

.filter-select {
  background: rgba(21, 21, 42, 0.95);
  border: 1px solid rgba(109, 158, 255, 0.5);
  color: #ffffff;
  border-radius: 999px;
  padding-left: 1.25rem;
  padding-right: 2.75rem;
  background-image: none;
}

.filter-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(109, 158, 255, 0.25);
  border-color: rgba(109, 158, 255, 0.8);
  color: #ffffff;
}

.max-w-720 {
  max-width: 720px;
}

.section-glass {
  background: linear-gradient(180deg, rgba(18, 18, 43, 0.92), rgba(11, 11, 26, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(109, 158, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  border: 1px solid rgba(109, 158, 255, 0.3);
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2.75rem 2rem 2rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(27, 27, 51, 0.96), rgba(19, 19, 38, 0.96));
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(109, 158, 255, 0.8);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.55);
  background: linear-gradient(160deg, rgba(33, 33, 68, 0.98), rgba(20, 20, 42, 0.98));
}

.doc-card__tags {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.doc-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(109, 158, 255, 0.2);
  border: 1px solid rgba(109, 158, 255, 0.6);
  color: #f1f4ff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 12px rgba(109, 158, 255, 0.25);
}

.doc-card__icon {
  font-size: 2.25rem;
  line-height: 1;
}

.doc-card__category {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.doc-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.doc-card__summary {
  color: rgba(224, 224, 255, 0.85);
  font-size: 0.95rem;
}

.doc-card__meta {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: rgba(192, 201, 255, 0.85);
  font-size: 0.9rem;
}

.doc-card__meta li::marker {
  color: rgba(109, 158, 255, 0.8);
}

.doc-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.doc-card__btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doc-card__btn:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 158, 255, 0.8);
  box-shadow: 0 0 20px rgba(109, 158, 255, 0.45);
}

.doc-card__actions .btn-resume {
  flex: 1 1 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.modal-dark {
  background: rgba(15, 15, 26, 0.96);
  border: 1px solid rgba(109, 158, 255, 0.25);
  color: #ffffff;
}

.modal-dark .modal-header,
.modal-dark .modal-footer {
  border-color: rgba(109, 158, 255, 0.2);
}

.modal-dark iframe {
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .technical-header {
    flex-direction: column;
    gap: 1.5rem;
  }
  .filter-controls {
    position: static;
    transform: none;
    width: 100%;
  }
  .filter-select {
    width: 100%;
  }
  .doc-card {
    padding: 2.25rem 1.5rem 1.5rem;
  }
  .doc-card__tags {
    position: static;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
  }
  .doc-card__actions {
    flex-direction: column;
  }
  .doc-card__actions .btn-resume {
    width: 100%;
  }
}

.contact-page {
  background-color: #0f0f1a;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
}

.contact-wrapper {
  max-width: 1000px;
  margin: 120px auto 80px;
  padding: 0 20px 40px;
}

.section-card {
  background: rgba(27, 27, 51, 0.85);
  border: 1px solid rgba(109, 158, 255, 0.25);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.section-card h2 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  color: #9ab7ff;
  margin-bottom: 20px;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
}

.contact-header-top {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.contact-headshot-wrap {
  flex-shrink: 0;
}

.contact-headshot {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid rgba(109, 158, 255, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 15, 26, 0.9);
  border: 1px solid rgba(109, 158, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 4px 8px rgba(109, 158, 255, 0.25));
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 158, 255, 0.6);
  box-shadow: 0 10px 25px rgba(109, 158, 255, 0.25);
}

.contact-title {
  font-size: 1.1rem;
  color: #e0e0ff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.info-item {
  background: rgba(15, 15, 26, 0.9);
  border: 1px solid rgba(109, 158, 255, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(224, 224, 255, 0.8);
  margin-bottom: 6px;
}

.info-value {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.info-value:hover {
  color: #6d9eff;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(109, 158, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(109, 158, 255, 0.35), rgba(50, 70, 140, 0.5));
  box-shadow: 0 10px 25px rgba(109, 158, 255, 0.25);
}

.download-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(109, 158, 255, 0.35);
}

.resume-entry + .resume-entry {
  margin-top: 28px;
}

.resume-entry-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 576px) {
  .resume-entry-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
}

.resume-entry h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #ffffff;
}

.resume-entry-dates {
  font-size: 0.95rem;
  color: rgba(224, 224, 255, 0.7);
}

.resume-entry-location {
  font-size: 0.95rem;
  color: rgba(224, 224, 255, 0.75);
  margin: 8px 0 12px;
}

.section-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.section-card li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.contact-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 0;
  grid-auto-rows: 1fr;
}

.skill-block {
  background: rgba(15, 15, 26, 0.9);
  border: 1px solid rgba(109, 158, 255, 0.15);
  border-radius: 16px;
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.skill-block h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ab7ff;
  margin-bottom: 10px;
}

.skill-block p {
  margin: 0;
  color: rgba(224, 224, 255, 0.85);
  line-height: 1.6;
}

.contact-project-links {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2.5rem;
  padding: 10px 0 0;
}

.contact-project-links .skill-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

@media (max-width: 575.98px) {
  .contact-project-links .skill-icon {
    width: 56px;
    height: 56px;
  }

  .contact-wrapper {
    margin-top: 96px;
  }

  .section-card {
    padding: 24px;
  }

  .download-links {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-headshot {
    width: 120px;
    height: 120px;
  }

  .contact-social-links {
    width: 100%;
  }
}
/* Tighten vertical rhythm */
section { padding-block: clamp(0.75rem, 1.6vw, 1.25rem); }
.section-title, h2.section-title, h2.section-heading { margin-block-end: .35rem; }

/* Hero less air below */
.section-hero { padding-block-end: clamp(.25rem, 1vw, .75rem); }

/* Skills: minimal padding; tiny title gap */
#skills { margin-block-start: 0; padding-block: clamp(.25rem, 1vw, .5rem); }
#skills .section-title, #skills h2 { margin-block-end: .25rem; }

/* Snapshot: nearly touching Skills */
#snapshot { margin-block-start: 0; padding-block-start: .25rem; }

/* Cards/grids tighter */
.grid, .cards, .card-grid { row-gap: clamp(.5rem, 1.2vw, .9rem); }
.card { padding: clamp(.75rem, 1.4vw, 1.1rem); }

/* Kill spacers under resume button */
#snapshot .spacer, #snapshot .mt-8.h-32, #snapshot .empty, #snapshot .blank {
  display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important;
}

/* Hide duplicate connect row + cards */
#lets-connect, .card--direct-lines, .card--profiles { display: none !important; }

/* Reduce gap between any two consecutive sections */
.section + .section { margin-block-start: clamp(.5rem, 1.2vw, .9rem); }

/* ── Tableau dashboard layout fixes ───────────────────────── */
.container { max-width: 1320px; } /* keep page comfy-wide */

.viz-toggle .btn { padding: 0.25rem .75rem; }

/* Responsive grid */
.viz-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
}

/* 2 cols large tablets */
@media (max-width: 1200px) {
  .viz-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}

/* 1 col on mobile */
@media (max-width: 768px) {
  .viz-grid { grid-template-columns: 1fr; }
}

.viz-card {
  background: #141428;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  padding: 10px;
  overflow: hidden;
}

/* Make embeds BIG by default */
.viz-card iframe,
.viz-card object,
.viz-card .tableauPlaceholder,
.viz-card .tableauViz {
  width: 100% !important;
  height: clamp(480px, 70vh, 900px) !important;
  display: block;
  border: 0;
}

/* Focus mode: one per row, taller height */
.viz-grid.focus-mode {
  grid-template-columns: 1fr;
}

.viz-grid.focus-mode .viz-card iframe,
.viz-grid.focus-mode .viz-card object,
.viz-grid.focus-mode .viz-card .tableauPlaceholder,
.viz-grid.focus-mode .viz-card .tableauViz {
  height: min(85vh, 1000px) !important;
}
