:root {
  color-scheme: dark;
  color: #f3f4f6;
  background: #050816;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 30%),
    #050816;
}

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

a {
  color: #818cf8;
  text-decoration: none;
}

a:hover {
  color: #60a5fa;
}

button,
input,
textarea,
select {
  font: inherit;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 22, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem 2.5rem;
}

.hero-content {
  display: grid;
  gap: 2.75rem;
  max-width: 1200px;
  width: 100%;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #818cf8;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 1.02;
}

.hero-text {
  color: #cbd5e1;
  margin: 1.25rem 0 0;
  max-width: 42rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: #4338ca;
  color: #fff;
}

.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.18);
}

.hero-photo {
  width: min(380px, 100%);
  margin-inline-start: auto;
}

.hero-photo img {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: rgba(15, 23, 42, 0.96);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-header p {
  margin: 0.75rem 0 0;
  color: #94a3b8;
}

.content-grid,
.skill-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

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

.card,
.contact-card,
.timeline-item {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 24px;
  padding: 1.75rem;
}

.card h3,
.timeline-item h3,
.contact-card h3 {
  margin-top: 0;
}

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

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1.2rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #818cf8;
  border-radius: 50%;
}

.timeline-item .timeline-date {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.timeline-item.placeholder {
  opacity: 0.95;
}

.skill-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.skill-pill {
  background: rgba(79, 70, 229, 0.14);
  color: #e0e7ff;
  border: 1px solid rgba(79, 70, 229, 0.24);
  padding: 0.9rem 1rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.footer strong {
  color: #fff;
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
  }
}
