:root {
  --bg: #05060a;
  --card: #0c0e15;
  --accent: #7cf2d4;
  --accent-2: #7aa2f7;
  --text: #e8ecf5;
  --muted: #9aa5b8;
  --border: #1a1d29;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(124, 242, 212, 0.08), transparent 25%),
              radial-gradient(circle at 90% 10%, rgba(122, 162, 247, 0.09), transparent 22%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: 0.01em;
}

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

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 5vw;
  background: rgba(5, 6, 10, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #05060a;
  letter-spacing: 0.5px;
}

.nav nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

main {
  padding: 40px 5vw 120px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  margin-top: 20px;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0 10px;
}

.hero__text h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.hero__text .lede {
  color: var(--muted);
  font-size: 20px;
  max-width: 740px;
  margin-bottom: 20px;
}

.hero__text .large {
  font-size: 18px;
}

.eyebrow.large {
  font-size: 16px;
}

/* media block removed */

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #05060a;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.secondary {
  background: #11131c;
  border-color: var(--border);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn.ghost:hover,
.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__card {
  background: linear-gradient(145deg, #0d111c, #090b12);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 242, 212, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.hero__card h3 {
  margin: 4px 0;
}

.hero__card p {
  margin: 0;
  color: var(--muted);
}

.hero__card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat__number {
  font-size: 24px;
  font-weight: 800;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
}

.section {
  margin-top: 80px;
}

.section__header {
  margin-bottom: 12px;
}

.section__header h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.body {
  color: var(--muted);
  font-size: 17px;
  max-width: 780px;
}

.pill-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #0f121b;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}

.card {
  background: #0b0e16;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

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

.tag {
  padding: 8px 12px;
  background: rgba(122, 162, 247, 0.12);
  color: var(--accent-2);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
}

.list {
  color: var(--text);
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

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

.skillset span {
  padding: 6px 10px;
  border-radius: 8px;
  background: #0f121b;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.project {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

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

.publication {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.pub-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.btn.spaced {
  margin-top: 10px;
}

.card > a.btn {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.footer {
  padding: 24px 5vw 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #05060a;
}

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

.footer__links a {
  color: var(--muted);
  font-weight: 600;
}

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

.icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

.footer__link-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn .icon {
  margin-right: 8px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__media {
    justify-content: center;
  }

  .project,
  .publication {
    grid-template-columns: 1fr;
  }

  .nav {
    position: sticky;
  }
}

@media (max-width: 640px) {
  .nav nav {
    gap: 12px;
  }

  .card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    width: 100%;
  }

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

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

  .contact-actions {
    width: 100%;
    justify-items: start;
    text-align: left;
  }
}
