:root {
  --bg: #060913;
  --bg-soft: rgba(13, 18, 32, 0.74);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.72);
  --accent: #b08cff;
  --accent-2: #69e7b0;
  --accent-3: #89a7ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 140, 255, 0.26), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(105, 231, 176, 0.14), transparent 20%),
    radial-gradient(circle at 10% 68%, rgba(137, 167, 255, 0.12), transparent 18%),
    linear-gradient(180deg, #050812 0%, #070c18 35%, #04060d 100%);
  min-height: 100vh;
}

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

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

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 340px;
  height: 340px;
  top: 80px;
  right: -90px;
  background: rgba(176, 140, 255, 0.2);
}

.orb-2 {
  width: 250px;
  height: 250px;
  left: -80px;
  top: 55%;
  background: rgba(105, 231, 176, 0.13);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.navbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 20px auto 0;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(9, 13, 23, 0.7);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.logo {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 0.88;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  gap: 34px;
  align-items: center;
  padding-top: 64px;
}

.hero-copy {
  padding: 26px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: rgba(238, 242, 255, 0.6);
}

.hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.subtitle {
  margin: 18px 0 10px;
  max-width: 860px;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
  text-wrap: balance;
}

.location {
  margin: 0;
  color: rgba(238, 242, 255, 0.86);
  font-weight: 600;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-links a,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-links a:hover,
.primary-btn:hover,
.secondary-btn:hover,
.card:hover,
.job-card:hover,
.content-card:hover {
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn {
  background: linear-gradient(135deg, rgba(176, 140, 255, 0.98), rgba(89, 119, 255, 0.98));
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(120, 96, 255, 0.28);
  font-weight: 700;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-card-copy {
  padding: 20px 22px 24px;
}

.hero-card-copy span {
  display: block;
  margin-bottom: 8px;
  color: rgba(238, 242, 255, 0.62);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card-copy p,
.content-card p,
.card p,
.personal-card p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 760px;
}

.content-card,
.card,
.job-card,
.education-card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.content-card {
  padding: 28px;
}

.grid,
.personal-grid,
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.card {
  padding: 24px;
  height: 100%;
}

.card h3,
.job-header h3,
.education-top h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

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

.job-card {
  padding: 26px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.job-header h3 {
  flex: 1 1 0;
}

.job-meta {
  color: rgba(238, 242, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.45;
  padding-top: 3px;
}

.job-points,
.achievement-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.job-points li + li,
.achievement-list li + li {
  margin-top: 10px;
}

.personal-card {
  min-height: 100%;
}

.education-card {
  padding: 24px;
  height: 100%;
}

.education-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.education-top h3 {
  flex: 1 1 0;
}

.education-top span {
  color: rgba(238, 242, 255, 0.66);
  font-size: 0.95rem;
  line-height: 1.45;
  padding-top: 3px;
}

.education-score {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--text);
}

.contact {
  text-align: center;
  padding-bottom: 76px;
}

.contact .section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 18px;
}

.contact .section-heading h2 {
  max-width: 860px;
  text-wrap: balance;
}

.contact .section-kicker {
  margin-left: 0;
}

.contact p {
  max-width: 620px;
  margin: 12px auto 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.contact .primary-btn,
.contact .secondary-btn {
  min-width: 140px;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(238, 242, 255, 0.6);
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .grid,
  .personal-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
  }

  .hero-card {
    max-width: 520px;
    justify-self: start;
  }

  .grid,
  .personal-grid,
  .education-grid {
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .section {
    padding-top: 56px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .content-card,
  .card,
  .job-card,
  .education-card {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-links,
  .hero-actions {
    gap: 8px;
  }

  .hero-links a,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .job-header,
  .education-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-meta,
  .education-top span {
    padding-top: 0;
  }
}
