:root {
  --primary: #2563ff;
  --primary-dark: #0f1c3f;
  --accent: #10c6b0;
  --accent-soft: #d6f8ff;
  --text: #0a0f24;
  --muted: #5c6686;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #eef4ff;
  --card-border: rgba(13, 35, 88, 0.12);
  --shadow: 0 16px 36px rgba(12, 22, 56, 0.12);
  --shadow-strong: 0 24px 64px rgba(12, 22, 56, 0.18);
  --radius: 18px;
  --line: rgba(12, 25, 60, 0.1);
  --glow: 0 10px 34px rgba(37, 99, 255, 0.28), 0 0 0 1px rgba(37, 99, 255, 0.2);
  --panel: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(233, 242, 255, 0.98));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: radial-gradient(90% 70% at 16% 8%, rgba(37, 99, 255, 0.14), transparent),
    radial-gradient(75% 70% at 85% 6%, rgba(16, 198, 176, 0.12), transparent),
    #f4f7ff;
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 198, 176, 0.06), transparent 30%, rgba(37, 99, 255, 0.1) 60%, transparent 80%),
    radial-gradient(120% 120% at 70% 0%, rgba(12, 22, 56, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(13, 35, 88, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(13, 35, 88, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 26px 68px;
}

h1,
h2,
h3,
h4,
.label {
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  margin: 0;
}

h1 {
  font-size: 32px;
  letter-spacing: -0.4px;
}

h2 {
  font-size: 38px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.24px;
}

h4 {
  font-size: 21px;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.muted.strong {
  font-weight: 700;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 6px 0;
}

.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 244, 255, 0.94));
  border: 1px solid rgba(37, 99, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 16px;
  z-index: 8;
  isolation: isolate;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-text h1 {
  margin: 0 0 4px 0;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b52ff, #12c6b0);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(39, 70, 144, 0.28);
  overflow: hidden;
  border: 2px solid #fff;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
  flex-wrap: wrap;
}

.nav-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.1), rgba(16, 198, 176, 0.08));
  border: 1px solid rgba(37, 99, 255, 0.2);
  box-shadow: 0 10px 28px rgba(12, 22, 56, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.nav-pills a:hover {
  border-color: rgba(16, 198, 176, 0.35);
  box-shadow: 0 12px 32px rgba(12, 22, 56, 0.16);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(232, 242, 255, 0.92));
  border: 1px solid rgba(37, 99, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 6px 0;
}

.role-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(37, 99, 255, 0.16), rgba(16, 198, 176, 0.18));
  color: #0c1533;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 12px 32px rgba(12, 22, 56, 0.14);
  margin: 0 0 10px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(90% 70% at 18% 18%, rgba(37, 99, 255, 0.08), transparent 60%),
    radial-gradient(70% 60% at 90% 0%, rgba(16, 198, 176, 0.08), transparent 55%);
  z-index: 0;
  pointer-events: none;
}

.hero-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-photo {
  padding: 0;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(12, 22, 56, 0.18);
  border: 1px solid rgba(37, 99, 255, 0.18);
  background: linear-gradient(180deg, rgba(37, 99, 255, 0.2), rgba(16, 198, 176, 0.08));
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.hero-photo:hover {
  transform: translateY(-4px);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 10% 0%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(70% 60% at 90% 0%, rgba(16, 198, 176, 0.12), transparent 60%);
  pointer-events: none;
}

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

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 42, 0.25), rgba(12, 19, 42, 0.4));
  pointer-events: none;
}

.location-marker {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.9), rgba(16, 198, 176, 0.9));
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.location-marker .material-symbols-rounded {
  color: #fff;
  font-size: 22px;
}

.marker-label {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.hero h2 {
  margin: 6px 0 12px 0;
  max-width: 720px;
  background: linear-gradient(120deg, #0f1c3f, #2563ff);
  -webkit-background-clip: text;
  color: transparent;
}

.impact {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(130deg, rgba(37, 99, 255, 0.06), rgba(255, 255, 255, 0.96));
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 255, 0.12);
  box-shadow: 0 12px 24px rgba(12, 22, 56, 0.12);
  margin-bottom: 12px;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: #1d2542;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(12, 22, 56, 0.12);
  transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #2563ff, #10c6b0);
  color: white;
  box-shadow: 0 12px 34px rgba(37, 99, 255, 0.24);
  border-color: rgba(37, 99, 255, 0.4);
}

.btn.primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.btn.tonal {
  background: rgba(37, 99, 255, 0.08);
  color: var(--primary-dark);
  border-color: rgba(37, 99, 255, 0.3);
}

.btn.tonal:hover {
  background: rgba(16, 198, 176, 0.14);
  border-color: rgba(16, 198, 176, 0.38);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary-dark);
  border-color: rgba(13, 35, 88, 0.14);
}

.btn.ghost:hover {
  border-color: rgba(37, 99, 255, 0.35);
  box-shadow: 0 10px 28px rgba(12, 22, 56, 0.14);
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(234, 243, 255, 0.92));
  border: 1px solid rgba(37, 99, 255, 0.16);
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(12, 22, 56, 0.1);
}

.pin-chip {
  position: relative;
  padding-left: 34px;
}

.pin-chip .material-symbols-rounded {
  position: absolute;
  left: 10px;
  color: var(--primary-dark);
}

.pin-pulse {
  position: absolute;
  left: 13px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.2;
  animation: pinPulse 3s infinite;
}

@keyframes pinPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.25;
  }

  50% {
    opacity: 0.15;
  }

  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.chip.highlight {
  background: linear-gradient(135deg, rgba(16, 198, 176, 0.18), rgba(37, 99, 255, 0.12));
  color: var(--primary-dark);
  border-color: rgba(16, 198, 176, 0.35);
}

.chip.ghost {
  background: rgba(12, 19, 42, 0.05);
}

.card {
  background: var(--panel);
  border: 1px solid rgba(37, 99, 255, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(16, 198, 176, 0.08), transparent 60%);
  pointer-events: none;
}

.card.plain {
  box-shadow: none;
}

.flat-card {
  box-shadow: none;
  border: 1px solid var(--line);
}

.list-card .compact-list li {
  padding: 10px 0;
}

.card h4 {
  margin: 6px 0 10px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.12), rgba(16, 198, 176, 0.12));
  border: 1px solid rgba(37, 99, 255, 0.2);
  color: var(--primary-dark);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.stat {
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.1), rgba(16, 198, 176, 0.12));
  border: 1px solid rgba(37, 99, 255, 0.18);
  box-shadow: 0 10px 24px rgba(12, 22, 56, 0.1);
}

.stat-value {
  font-size: 19px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0 12px 0;
}

.mini-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.08), rgba(16, 198, 176, 0.12));
  border: 1px dashed rgba(37, 99, 255, 0.25);
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.material-symbols-rounded {
  color: var(--primary-dark);
  font-size: 22px;
}

.section {
  margin-top: 40px;
}

.section-header {
  margin-bottom: 12px;
}

.section-shell {
  background: var(--panel);
  border: 1px solid rgba(37, 99, 255, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.stack {
  display: grid;
  gap: 12px;
}

.pill-list,
.bullet-list,
.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pill-list li {
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.08), rgba(16, 198, 176, 0.1));
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 255, 0.18);
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(12, 22, 56, 0.08);
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.5;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(16, 198, 176, 0.16);
}

.compact-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.compact-list li:last-child {
  border-bottom: none;
}

.timeline {
  display: grid;
  gap: 14px;
  position: relative;
  padding-left: 14px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(37, 99, 255, 0.18);
}

.timeline .card {
  overflow: visible;
}

.timeline .card::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(37, 99, 255, 0.18);
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.publications .card {
  min-height: 180px;
}

.title-link {
  text-decoration: none;
  color: inherit;
}

.title-link h4 {
  margin-bottom: 6px;
}

.title-link:hover h4 {
  color: var(--accent);
}

.strong {
  font-weight: 700;
}

details.card {
  cursor: pointer;
}

details.card summary {
  font-weight: 700;
  color: var(--primary-dark);
}

details.card summary::-webkit-details-marker {
  display: none;
}

details.card summary::after {
  content: 'expand_more';
  font-family: 'Material Symbols Rounded';
  margin-left: 8px;
  vertical-align: middle;
  color: var(--muted);
}

details[open].card summary::after {
  content: 'expand_less';
}

.experience-card {
  padding-bottom: 12px;
}

.experience-card summary {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 400;
  color: inherit;
  position: relative;
}

.experience-card summary::after {
  position: absolute;
  right: 0;
  top: 18px;
  margin-left: 0;
}

.experience-card .card-head {
  padding-right: 28px;
}

.experience-body {
  margin-top: 10px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

.experience-card summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 6px;
  border-radius: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}

.cta {
  margin-top: 52px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}

.cta-meta {
  display: grid;
  gap: 12px;
}

.section-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.12), rgba(16, 198, 176, 0.12));
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 255, 0.18);
}

.section-header h3::before {
  content: '';
  width: 8px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.section-header h3::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background: rgba(16, 198, 176, 0.16);
}

.cta-card {
  border: 1px solid rgba(37, 99, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 255, 0.9));
  box-shadow: var(--shadow-strong);
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.mini-item span.material-symbols-rounded {
  background: rgba(37, 99, 255, 0.12);
  border-radius: 10px;
  padding: 6px;
}

.footer {
  margin-top: 40px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

a {
  color: var(--primary-dark);
}

::selection {
  background: rgba(16, 198, 176, 0.22);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.2s ease-out;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .cta-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-pills {
    gap: 8px;
  }

  .nav-pills a {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .card-head {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
