:root {
  --bg: #08111f;
  --panel: rgba(14, 24, 41, 0.78);
  --text: #d6e3ff;
  --muted: #93a8c8;
  --line: rgba(157, 181, 221, 0.25);
  --accent: #42e4c5;
  --accent-2: #ffb86b;
  --danger: #ff6f61;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(66, 228, 197, 0.15), transparent 35%),
    radial-gradient(circle at 84% 20%, rgba(255, 184, 107, 0.2), transparent 33%),
    linear-gradient(165deg, #04080f, #0b172b 52%, #071427);
}

.backdrop {
  position: fixed;
  border-radius: 999px;
  filter: blur(85px);
  pointer-events: none;
  z-index: -1;
}

.backdrop-one {
  width: 260px;
  height: 260px;
  background: rgba(66, 228, 197, 0.3);
  top: 12vh;
  left: -60px;
}

.backdrop-two {
  width: 240px;
  height: 240px;
  background: rgba(255, 184, 107, 0.25);
  right: -70px;
  bottom: 15vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  backdrop-filter: blur(12px);
  background: rgba(3, 8, 16, 0.65);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
}

.main-nav a.is-current,
.main-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

main {
  width: min(1080px, 92%);
  margin: 1.8rem auto 3rem;
  display: grid;
  gap: 1.2rem;
}

.hero,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 2.3rem;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.hero-role {
  margin: 0.9rem 0;
  font-size: 1.15rem;
}

.highlight {
  color: var(--accent);
}

.hero-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.cta-row,
.contact-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.62rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #37d8ba, #28bca2);
  border-color: transparent;
  color: #052720;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.panel {
  padding: 1.5rem;
}

.panel p {
  color: var(--muted);
  line-height: 1.7;
}

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

.metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.01);
  padding: 1rem;
}

.metrics h3 {
  color: var(--accent);
  font-size: 1.4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.filters {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: transparent;
  background: rgba(66, 228, 197, 0.18);
  color: var(--accent);
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-card {
  border-left: 3px solid rgba(66, 228, 197, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1rem 1rem 1.1rem;
  transition: opacity 220ms ease, transform 220ms ease;
}

.timeline-card.is-hidden {
  opacity: 0;
  transform: scale(0.98);
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
}

.timeline-card h3 {
  font-size: 1rem;
}

.org,
.date {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.impact-list {
  margin-top: 0.9rem;
}

.impact-list li::marker {
  color: var(--accent);
}

li {
  margin: 0.4rem 0;
  line-height: 1.5;
}

.chip-grid {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: #c4d6f8;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.88rem;
}

.cert-list,
.education-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.cert-list article,
.education-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.copy-status {
  min-height: 1.1rem;
  margin-top: 0.7rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 0.8rem 0 1.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 68px 1rem auto 1rem;
    background: rgba(7, 14, 26, 0.95);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem;
    display: none;
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

  .hero,
  .panel {
    padding: 1.2rem;
  }
}
