:root {
  --bg: #070910;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(10, 14, 23, 0.8);
  --text-primary: #f4f6fb;
  --text-secondary: rgba(244, 246, 251, 0.72);
  --accent: #6c8bff;
  --accent-soft: rgba(108, 139, 255, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top left, rgba(108, 139, 255, 0.35), transparent 45%),
    radial-gradient(circle at bottom right, rgba(57, 217, 216, 0.18), transparent 40%), var(--bg);
  min-height: 100%;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: #90a9ff;
}

.page {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 32px clamp(20px, 6vw, 48px) 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  margin-bottom: 48px;
  background: rgba(9, 14, 28, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.topbar__logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.topbar__nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.topbar__nav a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.topbar__nav a:hover,
.topbar__nav a:focus {
  color: var(--text-primary);
}

.topbar__cta {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}

.topbar__cta:hover,
.topbar__cta:focus {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(108, 139, 255, 0.28), rgba(32, 46, 95, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  margin-bottom: 64px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.1;
}

.hero__summary {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button--primary {
  background: var(--accent);
  color: #0b1023;
  box-shadow: 0 12px 30px rgba(108, 139, 255, 0.35);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(108, 139, 255, 0.45);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-primary);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.1);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.hero__stats div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.hero__stats dt {
  font-size: 28px;
  font-weight: 700;
}

.hero__stats dd {
  margin: 8px 0 0;
  color: var(--text-secondary);
  line-height: 1.4;
  font-size: 14px;
}

.hero__card {
  align-self: stretch;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  gap: 24px;
  box-shadow: var(--shadow);
}

.hero__card header {
  display: flex;
  gap: 18px;
  align-items: center;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: var(--accent-soft);
}

.hero__card-name {
  font-size: 20px;
  font-weight: 600;
}

.hero__card-status {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero__card dl {
  display: grid;
  gap: 16px;
}

.hero__card dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__card dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text-primary);
}

section {
  margin-bottom: 80px;
}

section h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}

section p {
  color: var(--text-secondary);
}

.impact__grid,
.projects__grid,
.writing__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.impact__grid article,
.projects__grid article,
.writing__grid article {
  background: rgba(10, 12, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
}

.impact__grid p,
.projects__grid p,
.writing__grid p {
  line-height: 1.6;
}

.impact__link,
.projects__link,
.writing__link {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

.section-heading {
  max-width: 580px;
  margin-bottom: 32px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(108, 139, 255, 0.16);
  border: 1px solid rgba(108, 139, 255, 0.4);
  margin-bottom: 18px;
}

.projects__grid ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.projects__grid li {
  margin-bottom: 8px;
}

.timeline ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 28px;
}

.timeline__year {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.timeline__content {
  margin-top: 10px;
  background: rgba(10, 12, 23, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}

.cta {
  display: grid;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(108, 139, 255, 0.2), rgba(57, 217, 216, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.18);
  align-items: center;
}

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

.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: 40px;
}

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

  .topbar__nav {
    flex-wrap: wrap;
  }

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

  .hero__card {
    order: -1;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 24px 18px 64px;
  }

  .hero {
    padding: 32px;
  }

  .impact__grid,
  .projects__grid,
  .writing__grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
