:root {
  --bg: #090d1a;
  --bg-soft: #131a2f;
  --card: rgba(255, 255, 255, 0.06);
  --text: #e7edf7;
  --muted: #a6b2cc;
  --accent: #52d1c8;
  --accent-2: #5c8dff;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top right, #15213d, var(--bg) 40%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.33;
  z-index: -1;
}

.bg-glow--one {
  width: 280px;
  height: 280px;
  background: var(--accent-2);
  top: -80px;
  left: -40px;
  animation: float 8s ease-in-out infinite;
}

.bg-glow--two {
  width: 340px;
  height: 340px;
  background: var(--accent);
  right: -80px;
  bottom: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

.section {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 3.4rem 0;
}

.hero {
  padding-top: 6rem;
  text-align: left;
}

.hero__kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
  line-height: 1.15;
}

.hero__role {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: var(--accent-2);
  margin: 0.8rem 0;
  font-weight: 600;
}

.hero__summary {
  max-width: 760px;
  color: var(--muted);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.2rem;
  color: #ced8f0;
}

.hero__meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.hero__meta a:hover {
  border-color: var(--accent);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  margin-bottom: 1.2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 209, 200, 0.75);
}

.timeline,
.skills-grid,
.highlights {
  display: grid;
  gap: 1rem;
}

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

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

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

h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

p {
  margin-top: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding-bottom: 5rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(20px) translateX(14px);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.3rem 0;
  }

  .hero {
    padding-top: 4rem;
  }
}
