:root {
  color-scheme: dark;
  --bg-900: #0a101b;
  --bg-800: #0f1726;
  --bg-700: #131c2b;
  --surface: #161f30;
  --muted: #9fb0cc;
  --text: #e6edf7;
  --accent: #1f4b99;
  --accent-strong: #2d6bd6;
  --border: #243147;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(31, 75, 153, 0.12), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(45, 107, 214, 0.18), transparent 30%),
    var(--bg-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

.section {
  padding: clamp(64px, 8vw, 96px) 20px;
}

.section-content {
  max-width: 1100px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  background: rgba(15, 23, 38, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f5f7ff;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav-link.active {
  color: #f5f7ff;
  background: rgba(31, 75, 153, 0.16);
  border-color: rgba(31, 75, 153, 0.35);
}

.cta-link {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.cta-link:hover {
  border-color: rgba(31, 75, 153, 0.5);
  color: #f5f7ff;
  box-shadow: 0 6px 18px rgba(31, 75, 153, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #d2def4;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle .bar:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding-top: 140px;
}

.eyebrow {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.lede {
  font-size: 1.1rem;
  color: #cdd8ec;
  max-width: 640px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f5f7ff;
  box-shadow: 0 10px 30px rgba(31, 75, 153, 0.35);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(31, 75, 153, 0.45);
}

.button.ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button.ghost:hover {
  border-color: rgba(31, 75, 153, 0.5);
  transform: translateY(-1px);
}

.hero-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.icon-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.icon-link svg {
  width: 18px;
  height: 18px;
  fill: #d2def4;
}

.icon-link:hover {
  border-color: rgba(31, 75, 153, 0.5);
  box-shadow: 0 10px 24px rgba(31, 75, 153, 0.28);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.pfp-wrap {
  position: relative;
  width: clamp(220px, 45vw, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.pfp-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(31, 75, 153, 0.9), rgba(45, 107, 214, 0.4), rgba(31, 75, 153, 0.9));
  filter: blur(28px);
  opacity: 0.55;
}

.pfp {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: #0b1321;
}

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

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

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-card {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(22, 31, 48, 0.75), rgba(15, 23, 38, 0.85));
  box-shadow: var(--shadow);
}

.timeline-card h3 {
  margin-bottom: 6px;
}

.timeline-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #cdd8ec;
}

.card-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 780px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(22, 31, 48, 0.78), rgba(15, 23, 38, 0.88));
  transition: transform 0.18s ease, box-shadow 0.2s ease, border 0.2s ease;
  min-height: 200px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 75, 153, 0.45);
  box-shadow: 0 16px 38px rgba(15, 23, 38, 0.5);
}

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

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 75, 153, 0.16);
  color: #dce7ff;
  border: 1px solid rgba(31, 75, 153, 0.35);
  font-size: 0.85rem;
}

.card-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.card-links a {
  color: var(--accent-strong);
  font-weight: 600;
}

.contact-card {
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 75, 153, 0.16), rgba(15, 23, 38, 0.95));
  display: grid;
  gap: 12px;
  align-items: center;
}

@media (min-width: 780px) {
  .contact-card {
    grid-template-columns: 3fr 2fr;
  }
  .contact-actions {
    justify-content: flex-end;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
}

.contact-meta a {
  color: var(--accent-strong);
  font-weight: 600;
}

.footer {
  padding: 26px 20px 40px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(10, 16, 27, 0.9);
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 620px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .brand {
    order: 1;
    flex: 1 1 auto;
    font-size: 1.05rem;
  }
  .menu-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .cta-link {
    width: 100%;
    text-align: center;
    order: 4;
  }
  .nav {
    order: 3;
    position: absolute;
    inset: calc(100% - 2px) 16px auto 16px;
    background: rgba(15, 23, 38, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    display: grid;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.18s ease, opacity 0.18s ease;
    margin-left: 0;
    justify-content: stretch;
  }
  .site-header.menu-open .nav {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
  }
  .hero {
    padding-top: 100px;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }
  .contact-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

