:root {
  --cobalt: #0635a6;
  --cobalt-deep: #042578;
  --cobalt-light: #184bc9;
  --cream: #f3e6d3;
  --cream-soft: #f8efe2;
  --cream-dark: #e5d3b8;
  --ink: #0a1938;
  --ink-muted: #465470;
  --white: #ffffff;
  --border-cobalt: rgba(6, 53, 166, 0.16);
  --shadow-card: 0 24px 60px rgba(6, 53, 166, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.serif-italic {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

/* TOP NAVIGATION */
.site-header {
  background-color: var(--cobalt);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--cream);
  background: var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cream-sm {
  background: var(--cream);
  color: var(--cobalt);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: transform 0.15s, background 0.2s;
}

.btn-cream-sm:hover {
  background: var(--white);
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero-section {
  background-color: var(--cobalt);
  color: var(--white);
  padding-top: 56px;
  position: relative;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title .serif-italic {
  font-size: 1.12em;
  color: var(--cream);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(243, 230, 211, 0.9);
  max-width: 650px;
  margin: 0 auto 30px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.btn-primary-cobalt {
  background: var(--cobalt-deep);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary-cobalt:hover {
  background: #031b59;
  transform: translateY(-1px);
}

.btn-secondary-cream {
  background: var(--white);
  color: var(--cobalt);
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-secondary-cream:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

/* VORTEX CANVAS */
.vortex-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  margin-top: -16px;
  overflow: hidden;
}

#vortexCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.vortex-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(243, 230, 211, 0), var(--cream));
  pointer-events: none;
}

/* TECH STRIP */
.tech-strip-section {
  padding: 18px 0 48px;
  text-align: center;
}

.strip-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.tech-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.tech-item {
  color: var(--cobalt);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  background: var(--cream-soft);
  border: 1px solid var(--border-cobalt);
  padding: 8px 16px;
  border-radius: 999px;
}

/* INTERACTIVE NODE HUB */
.hub-section {
  padding: 28px 0 72px;
}

.hub-layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 490px) 1fr;
  align-items: center;
  gap: 22px;
  position: relative;
}

.node-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

.left-nodes {
  align-items: flex-end;
}

.right-nodes {
  align-items: flex-start;
}

.left-nodes .node-pill:nth-child(1) { transform: translateX(-22px); }
.left-nodes .node-pill:nth-child(2) { transform: translateX(-8px); }
.left-nodes .node-pill:nth-child(3) { transform: translateX(0); }
.left-nodes .node-pill:nth-child(4) { transform: translateX(-8px); }
.left-nodes .node-pill:nth-child(5) { transform: translateX(-22px); }

.right-nodes .node-pill:nth-child(1) { transform: translateX(20px); }
.right-nodes .node-pill:nth-child(2) { transform: translateX(4px); }
.right-nodes .node-pill:nth-child(3) { transform: translateX(4px); }
.right-nodes .node-pill:nth-child(4) { transform: translateX(20px); }

.node-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(6, 53, 166, 0.11);
  color: var(--cobalt);
  border: 1px solid rgba(6, 53, 166, 0.22);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.node-pill:hover {
  background: rgba(6, 53, 166, 0.2);
  border-color: var(--cobalt);
}

.node-pill.active {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
  box-shadow: 0 10px 24px rgba(6, 53, 166, 0.26);
}

.node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

/* CENTER CARD */
.center-card {
  background: var(--cream-soft);
  border: 2px solid var(--cobalt);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 4;
}

.card-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--border-cobalt);
}

.card-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--cobalt);
  background: var(--white);
  flex-shrink: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.card-meta {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.card-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 53, 166, 0.1);
  color: var(--cobalt);
  white-space: nowrap;
}

.card-body {
  background: var(--cobalt);
  color: var(--white);
  padding: 20px;
}

.spec-panel {
  width: 100%;
  border-radius: 12px;
  background: #041d5c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.spec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-dots {
  display: flex;
  gap: 6px;
}

.spec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 230, 211, 0.45);
}

.spec-path {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.85;
}

.spec-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--cream);
}

.spec-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: baseline;
}

.spec-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(243, 230, 211, 0.65);
}

.spec-val {
  color: var(--white);
  line-height: 1.45;
}

.card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-tags span {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.card-footer {
  background: var(--cream-soft);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cobalt);
  color: var(--white);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.card-action-btn:hover {
  background: var(--cobalt-deep);
}

.editorial-divider {
  text-align: center;
  max-width: 680px;
  margin: 72px auto 0;
}

.spark-icon {
  font-size: 22px;
  color: var(--cobalt);
  margin-bottom: 14px;
}

.editorial-heading {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  color: var(--cobalt);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.editorial-heading .serif-italic {
  font-size: 1.1em;
}

.editorial-sub {
  font-size: 15.5px;
  color: var(--ink-muted);
}

/* DEDICATED SECTIONS */
.section-block {
  padding: 68px 0;
  border-top: 1px solid var(--border-cobalt);
}

.section-alt {
  background: rgba(248, 239, 226, 0.65);
}

.section-header-row {
  margin-bottom: 28px;
}

.block-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
}

/* EXPERIENCE & LEADERSHIP */
.experience-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.exp-card {
  background: var(--cream-soft);
  border: 1px solid var(--border-cobalt);
  border-radius: 16px;
  padding: 26px 28px;
}

.exp-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.exp-role {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.exp-org {
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
  margin-top: 2px;
}

.pill-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--cobalt);
  background: rgba(6, 53, 166, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.exp-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.exp-list strong {
  color: var(--ink);
  font-weight: 600;
}

.card-plain-text {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* EDUCATION */
.edu-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.edu-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.edu-detailed-card {
  background: var(--cream-soft);
  border: 1px solid var(--border-cobalt);
  border-radius: 18px;
  padding: 28px 32px;
}

.edu-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.edu-school {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.edu-degree {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cobalt);
  margin-top: 3px;
}

.edu-loc {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.editorial-hr {
  border: none;
  border-top: 1px solid var(--border-cobalt);
  margin: 22px 0;
}

.edu-grid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sub-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cobalt);
  margin-bottom: 10px;
}

.edu-text {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.edu-text strong {
  color: var(--ink);
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-cloud span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--cobalt);
  background: var(--cream);
  border: 1px solid var(--border-cobalt);
  padding: 5px 11px;
  border-radius: 999px;
}

/* CERTIFICATIONS GRID */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cert-card {
  background: var(--cream-soft);
  border: 1px solid var(--border-cobalt);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cert-issuer {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
}

.cert-year {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cobalt);
  background: rgba(6, 53, 166, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.cert-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.cert-id {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--cobalt);
  background: var(--cream);
  border: 1px solid var(--border-cobalt);
  padding: 6px 10px;
  border-radius: 6px;
  word-break: break-all;
}

/* FOOTER */
.site-footer {
  background: var(--cobalt);
  color: var(--white);
  padding: 64px 0 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 15px;
  color: rgba(243, 230, 211, 0.85);
  max-width: 520px;
}

.btn-cream-lg {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  color: var(--cobalt);
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}

.btn-cream-lg:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.copy-tag {
  background: var(--cobalt);
  color: var(--white);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
}

.footer-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 36px 0 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(243, 230, 211, 0.85);
}

.social-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hub-layout {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .node-column {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .left-nodes .node-pill,
  .right-nodes .node-pill {
    transform: none !important;
  }

  .edu-grid-inner,
  .edu-secondary-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .vortex-wrapper {
    height: 260px;
  }

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