:root {
  --bg: #f7f6f3;
  --bg-elevated: #ffffff;
  --border: rgba(20, 20, 25, 0.09);
  --border-strong: rgba(20, 20, 25, 0.18);
  --text: #16171b;
  --text-muted: #4c4d57;
  --text-dim: #6f717c;
  --accent: #5b3df0;
  --accent-2: #0b7d6e;
  --accent-soft: rgba(91, 61, 240, 0.1);
  --gradient: linear-gradient(120deg, #5b3df0 0%, #0b7d6e 100%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 100%;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Ambient mesh background */

.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.mesh__blob--a {
  top: -10%;
  left: 5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(91, 61, 240, 0.35), transparent 70%);
}

.mesh__blob--b {
  top: 10%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(11, 125, 110, 0.28), transparent 70%);
}

.mesh__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(20, 20, 25, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 40%, transparent 90%);
}

/* Nav */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient);
  z-index: 30;
  transition: width 0.1s linear;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.25rem var(--gutter) 0;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__links a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.nav__links a.is-active:not(.nav__cta) {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__cta {
  background: var(--text);
  color: var(--bg) !important;
}

.nav__cta:hover {
  background: var(--text) !important;
  opacity: 0.85;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Hero */

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero__side {
  display: grid;
  gap: 1.5rem;
}

.hero__main {
  text-align: left;
}

.hero__avatar {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--border), 0 12px 30px -12px rgba(91, 61, 240, 0.35);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 0.65rem;
}

.hero__role {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 1rem;
  min-height: 1.5em;
}

.hero__role #roleType {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: -0.15em;
  margin-left: 2px;
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero identity card */

.idcard {
  background: #14151a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(20, 20, 25, 0.35);
}

.idcard__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: #1c1e26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.idcard__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.idcard__path {
  margin-left: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.idcard__body {
  padding: 1.25rem 1.35rem 1.4rem;
  color: #d7d8e0;
}

.idcard__cmd {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.idcard__cmd + .idcard__facts,
.idcard__cmd + .idcard__stats {
  margin-top: 0.6rem;
}

.idcard__prompt {
  color: #82e0aa;
  margin-right: 0.5ch;
}

.idcard__caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 0.4ch;
  background: #82e0aa;
  vertical-align: -0.15em;
  animation: caret-blink 1s step-end infinite;
}

.idcard__facts {
  margin: 0 0 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.idcard__facts > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.86rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.idcard__facts > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.idcard__facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7bd6f0;
}

.idcard__facts dd {
  margin: 0;
  color: #e7e8ee;
  line-height: 1.45;
}

.idcard__stats {
  list-style: none;
  margin: 0.7rem 0 1.1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 0.4rem;
}

.idcard__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.idcard__stats strong {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(120deg, #8f79ff 0%, #4fd1c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.idcard__stats span {
  font-size: 0.68rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.45);
}

.hero__lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn--solid {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(91, 61, 240, 0.5);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(91, 61, 240, 0.6);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn--ghost:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn--ghost-dark {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}


/* Sections */

.section {
  position: relative;
  z-index: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  border-top: 1px solid var(--border);
  background: transparent;
  pointer-events: none;
}

.section--alt::before {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.kicker--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.section__head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section__intro {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section__subhead {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

/* Feature cards (About) */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(91, 61, 240, 0.12), transparent 70%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

.spotlight > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -24px rgba(20, 20, 25, 0.2);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

/* Capability icon animations */

.icon-kg__link {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.icon-kg__node {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}

.feature-card.is-visible .icon-kg__link {
  animation: draw-path 0.7s ease 0.15s forwards;
}

.feature-card.is-visible .icon-kg__node--1 {
  animation: pop-node 0.35s ease 0.55s forwards;
}

.feature-card.is-visible .icon-kg__node--2 {
  animation: pop-node 0.35s ease 0.7s forwards;
}

.feature-card.is-visible .icon-kg__node--3 {
  animation: pop-node 0.35s ease 0.85s forwards;
}

.icon-gov__shield,
.icon-gov__check {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.feature-card.is-visible .icon-gov__shield {
  animation: draw-path 0.8s ease 0.15s forwards;
}

.feature-card.is-visible .icon-gov__check {
  animation: draw-path 0.4s ease 0.75s forwards;
}

.icon-arch__gear {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.2s ease;
}

.feature-card:hover .icon-arch__gear {
  transform: rotate(90deg);
}

.icon-bars__bar {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.feature-card.is-visible .icon-bars__bar--1 {
  animation: draw-path 0.4s ease 0.2s forwards;
}

.feature-card.is-visible .icon-bars__bar--2 {
  animation: draw-path 0.4s ease 0.35s forwards;
}

.feature-card.is-visible .icon-bars__bar--3 {
  animation: draw-path 0.4s ease 0.5s forwards;
}

@keyframes draw-path {
  to { stroke-dashoffset: 0; }
}

@keyframes pop-node {
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-kg__link,
  .icon-gov__shield,
  .icon-gov__check,
  .icon-bars__bar {
    stroke-dashoffset: 0;
    animation: none;
  }
  .icon-kg__node {
    opacity: 1;
    transform: scale(1);
    animation: none;
  }
  .icon-arch__gear {
    transition: none;
  }
}

.feature-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-2);
  background: rgba(11, 125, 110, 0.1);
  border-radius: var(--radius);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tech-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0;
}

.tech-tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.15rem 0.5rem;
}

/* Projects */

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.project {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.project:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -26px rgba(20, 20, 25, 0.2);
}

.project__header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.project__header .feature-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.project__intro {
  flex: 1;
  min-width: 0;
}

.project__intro h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.project__summary {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.5rem;
  color: var(--text-dim);
  transition: transform 0.3s ease;
}

.project[data-open="true"] .project__chevron {
  transform: rotate(180deg);
}

.project__expand {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows 0.35s ease;
}

.project[data-open="true"] .project__expand {
  grid-template-rows: 1fr;
}

.project__expand > .project__details {
  min-height: 0;
  overflow: hidden;
}

.project__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding: 0 clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--border);
  margin-top: -1px;
  padding-top: 1.25rem;
}

.project__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.project__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.project__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.project__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.project__note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Timeline (Experience/Education) */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.timeline--compact {
  grid-template-columns: repeat(3, 1fr);
}

.timeline--compact .timeline__card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.timeline--compact .timeline__logo {
  flex-shrink: 0;
  height: 46px;
  margin-bottom: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.timeline--compact .timeline__org {
  margin-bottom: 0;
}

.timeline__meta {
  min-width: 0;
}

.edu--gatech { --school: #003057; --school-glow: rgba(0, 48, 87, 0.28); }
.edu--gmu { --school: #006633; --school-glow: rgba(0, 102, 51, 0.28); }
.edu--jmu { --school: #450084; --school-glow: rgba(69, 0, 132, 0.3); }

.timeline__item.edu {
  position: relative;
  border-left: 3px solid var(--school);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.edu .timeline__date,
.edu .timeline__org {
  color: var(--school);
}

/* Accent bar wipes down on reveal */
.timeline__item.edu::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--school);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s ease 0.15s;
}

.timeline__item.edu.is-visible::after {
  transform: scaleY(1);
}

/* Card entrance */
.timeline--compact .edu.stagger-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline--compact .edu.stagger-item.is-visible {
  opacity: 1;
  transform: none;
}

.timeline--compact .edu.stagger-item .timeline__date {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.45s ease 0.12s, transform 0.45s ease 0.12s;
}

.timeline--compact .edu.stagger-item .timeline__logo {
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.4s ease 0.22s,
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.22s;
}

.timeline--compact .edu.stagger-item.is-visible .timeline__date,
.timeline--compact .edu.stagger-item.is-visible .timeline__logo {
  opacity: 1;
  transform: none;
}

/* snappier transition once settled, so hover feels responsive */
.timeline--compact .edu.stagger-item.is-visible .timeline__logo {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.3s ease;
}

/* School-name underline grows in */
.edu .timeline__org {
  display: inline-block;
  background-image: linear-gradient(var(--school), var(--school));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 0.35s ease;
}

@media (hover: hover) {
  .timeline__item.edu:hover {
    transform: translateY(-5px);
    border-color: var(--school);
    box-shadow: 0 24px 44px -24px var(--school-glow);
  }

  .timeline__item.edu:hover .timeline__logo {
    transform: scale(1.09) rotate(-3deg);
  }

  .timeline__item.edu:hover .timeline__org {
    background-size: 100% 2px;
  }
}

@media (hover: none) {
  .timeline__item.edu:active {
    transform: scale(0.98);
    border-color: var(--school);
  }
}

.timeline__item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline__item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -26px rgba(20, 20, 25, 0.2);
}

.timeline__date {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.timeline:not(.timeline--compact) .timeline__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline:not(.timeline--compact) .timeline__card > .timeline__logo {
  flex: 0 0 auto;
  width: auto;
  height: 46px;
  max-width: none;
  margin-bottom: 0;
}

.timeline:not(.timeline--compact) .timeline__meta {
  min-width: 0;
  flex: 1;
}

/* Merged experience + education axis timeline (Gantt style) */

.gantt__hint {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.gantt {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.gantt__inner {
  min-width: 920px;
  position: relative;
}

.gantt__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.gantt__row--edu {
  min-height: 132px;
  align-items: end;
}

.gantt__row--exp {
  min-height: 220px;
  align-items: start;
}

/* year axis */
.gantt__axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  height: 30px;
}

.gantt__axis::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--border-strong) 0%, var(--accent) 94%);
}

.gantt__axis::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 10px solid var(--accent);
}

.gantt__year {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-dim);
  white-space: nowrap;
  transform: translateX(-50%);
}

.gantt__year::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 1px;
  height: 6px;
  background: var(--border-strong);
  transform: translateX(-50%);
}

.gantt__year:last-child {
  grid-column: 12 / 13;
  grid-row: 1;
  justify-self: end;
  transform: none;
}

.gantt__year:last-child::before {
  left: auto;
  right: 0;
}

/* entries (bars, pins, labels) */
.gantt__entry {
  position: relative;
  z-index: 1;
}

.gantt__entry:hover,
.gantt__entry:focus-within {
  z-index: 6;
}

.gantt__bar {
  display: block;
  height: 24px;
  border-radius: 3px;
  background: var(--c, var(--accent));
}

.gantt__row--edu .gantt__bar {
  margin-bottom: 8px;
}

.gantt__row--exp .gantt__bar {
  margin-top: 8px;
}

.gantt__entry--lane2 .gantt__bar {
  margin-top: 44px;
}

.gantt__dot {
  display: block;
  width: 13px;
  height: 13px;
  margin-left: -6px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 3px solid var(--c);
}

.gantt__label {
  position: absolute;
  left: 0;
  width: max-content;
  max-width: 224px;
  padding: 0.45rem 0.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--c);
  border-radius: 2px;
  box-shadow: 0 8px 22px -14px rgba(20, 20, 25, 0.4);
  font-size: 0.75rem;
  line-height: 1.3;
}

.gantt__label--r {
  left: auto;
  right: 0;
  border-left: 0;
  border-right: 3px solid var(--c);
  text-align: right;
}

.gantt__row--edu .gantt__label {
  bottom: calc(32px + var(--lift, 16px));
}

.gantt__row--exp .gantt__label {
  top: calc(32px + var(--lift, 16px));
}

.gantt__entry--lane2 .gantt__label {
  top: calc(68px + var(--lift, 16px));
}

/* leader stem */
.gantt__label::after {
  content: "";
  position: absolute;
  left: 15px;
  width: 2px;
  background: var(--c);
}

.gantt__label--r::after {
  left: auto;
  right: 15px;
}

.gantt__row--edu .gantt__label::after {
  top: 100%;
  height: calc(var(--lift, 16px) + 22px);
}

.gantt__row--exp .gantt__label::after {
  bottom: 100%;
  height: calc(var(--lift, 16px) + 22px);
}

.gantt__entry--lane2 .gantt__label::after {
  height: calc(var(--lift, 16px) + 58px);
}

.gantt__name {
  display: block;
  font-weight: 700;
  color: var(--c);
}

.gantt__name img {
  height: 13px;
  width: auto;
  vertical-align: -2px;
  margin-right: 3px;
}

.gantt__role {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
}

.gantt__when {
  display: block;
  color: var(--text-dim);
  font-size: 0.68rem;
  margin-top: 2px;
}

.gantt__label .timeline__expand {
  margin-top: 0;
}

.gantt__entry:hover .gantt__label,
.gantt__entry:focus-within .gantt__label {
  max-width: 320px;
  max-height: 280px;
  overflow-y: auto;
}

.gantt__entry:hover .gantt__label .timeline__expand,
.gantt__entry:focus-within .gantt__label .timeline__expand {
  grid-template-rows: 1fr;
}

.gantt__entry:hover .gantt__label .timeline__expand > .timeline__bullets,
.gantt__entry:focus-within .gantt__label .timeline__expand > .timeline__bullets {
  padding-top: 0.5rem;
}

.gantt__label .timeline__bullets {
  max-width: none;
  gap: 0.4rem;
}

.gantt__label .timeline__bullets li {
  font-size: 0.72rem;
  padding-left: 0.9rem;
}

.gantt__label--r .timeline__bullets li {
  padding-left: 0;
  padding-right: 0.9rem;
}

.gantt__label--r .timeline__bullets li::before {
  left: auto;
  right: 0;
}

.timeline__card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.timeline__org {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.timeline__logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
  margin-bottom: 0.85rem;
}

.timeline__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 90ch;
}

.timeline__bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.timeline__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.timeline__card p:not(.timeline__org) {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 75ch;
}

/* Hover-to-reveal experience detail */

.timeline .timeline__item {
  cursor: pointer;
}

.timeline .timeline__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.timeline__expand {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows 0.35s ease;
}

.timeline__expand > .timeline__bullets {
  min-height: 0;
  overflow: hidden;
}

.timeline .timeline__item:hover .timeline__expand,
.timeline .timeline__item:focus-within .timeline__expand,
.timeline .timeline__item.is-expanded .timeline__expand {
  grid-template-rows: 1fr;
}

.timeline .timeline__item:hover .timeline__expand > .timeline__bullets,
.timeline .timeline__item:focus-within .timeline__expand > .timeline__bullets,
.timeline .timeline__item.is-expanded .timeline__expand > .timeline__bullets {
  padding-top: 0.9rem;
}

.timeline__hint {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.timeline__hint svg {
  width: 13px;
  height: 13px;
  transition: transform 0.35s ease;
}

.timeline .timeline__item:hover .timeline__hint svg,
.timeline .timeline__item:focus-within .timeline__hint svg,
.timeline .timeline__item.is-expanded .timeline__hint svg {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .timeline__expand {
    transition: none;
  }
  .project__expand,
  .project__chevron {
    transition: none;
  }
}

/* Skills — single panel, divided columns */

.skills-panel {
  max-width: 1400px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.skills-col:first-child {
  padding-right: clamp(2rem, 5vw, 4rem);
  border-right: 1px solid var(--border);
}

.skills-foot {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.bento__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.skills-col__spaced {
  margin-top: 1.75rem;
}

/* Chips (Core, Interests) */

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.chips li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.chips li:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.chips--muted li {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

/* Inline logo lists (AI Tools, BI & Analytics) */

.logo-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
}

.logo-inline li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.logo-inline li:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.logo-inline__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Row lists (Industries, Certifications) */

.rowlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.rowlist li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.rowlist li:first-child {
  border-top: none;
}

.rowlist__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.rowlist__icon svg {
  width: 16px;
  height: 16px;
}

.rowlist__icon--badge {
  background: rgba(11, 125, 110, 0.1);
  color: var(--accent-2);
}

/* CTA */

.cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem);
}

.cta__card {
  background: var(--text);
  background-image: radial-gradient(circle at 20% 20%, rgba(91, 61, 240, 0.5), transparent 55%), radial-gradient(circle at 80% 80%, rgba(11, 125, 110, 0.45), transparent 55%);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 7vw, 4.5rem);
  text-align: center;
  color: #fff;
}

.cta__card h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin: 1rem 0;
}

.cta__card > p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 42ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Footer */

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.foot a:hover {
  color: var(--text);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger-item {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stagger-item.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stagger-item {
    opacity: 1;
    transition: none;
  }
  .timeline--compact .edu.stagger-item,
  .timeline--compact .edu.stagger-item .timeline__date,
  .timeline--compact .edu.stagger-item .timeline__logo,
  .timeline__item.edu,
  .timeline__item.edu::after,
  .timeline--compact .timeline__logo {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 1300px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .timeline--compact {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 1400px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__main {
    text-align: left;
  }

  .project__details {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .skills-col:first-child {
    padding-right: 0;
    border-right: none;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .timeline,
  .timeline--compact {
    grid-template-columns: 1fr;
  }

  .timeline--compact .edu.stagger-item {
    transform: translateY(18px);
  }
}

@media (max-width: 560px) {
  .timeline__item {
    padding: 1.25rem 1.15rem;
  }

  .timeline--compact .timeline__card {
    gap: 0.85rem;
  }

  .timeline--compact .timeline__logo {
    height: 38px;
  }

  .timeline__card h3 {
    font-size: 1.02rem;
  }

  .timeline__org {
    font-size: 0.85rem;
  }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 5rem;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    display: none;
    box-shadow: 0 20px 40px -20px rgba(20, 20, 25, 0.25);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    text-align: center;
    padding: 0.75rem;
  }

  .burger {
    display: flex;
  }

  .idcard__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .idcard__facts > div {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.6rem;
  }

  .foot {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
