:root {
  --color-bg: #050712;
  --color-surface: rgba(7, 11, 28, 0.78);
  --color-surface-strong: rgba(16, 23, 60, 0.92);
  --color-text: #f9fafc;
  --color-muted: rgba(199, 210, 254, 0.78);
  --color-accent: #7c6cff;
  --color-highlight: #1dd3b0;
  --color-warm: #ff8a4c;
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1080px;
  --shadow-card: 0 28px 60px rgba(3, 6, 18, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: radial-gradient(circle at 12% 18%, rgba(124, 108, 255, 0.24), transparent 55%),
    radial-gradient(circle at 82% 26%, rgba(29, 211, 176, 0.25), transparent 50%),
    linear-gradient(170deg, #03040d 0%, #050712 45%, #0a0d1d 100%);
  overflow: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32vw;
  max-width: 480px;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.38), transparent 65%);
  filter: blur(70px);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

body::after {
  background: radial-gradient(circle, rgba(29, 211, 176, 0.38), transparent 70%);
  top: 12%;
  right: -8%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

.site-header {
  display: none;
}

@media (max-width: 600px) {
 .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  z-index: 20;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(4, 7, 22, 0.95), rgba(4, 7, 22, 0.8));
  border-bottom: 1px solid rgba(124, 108, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
}



.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-muted);
}

.brand__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-highlight), rgba(29, 211, 176, 0.15));
  box-shadow: 0 0 16px rgba(29, 211, 176, 0.8);
}

.brand__name {
  color: var(--color-text);
}

.brand__role {
  color: var(--color-muted);
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 108, 255, 0.28);
  background: rgba(7, 11, 28, 0.85);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(124, 108, 255, 0.08);
  color: rgba(199, 210, 254, 0.82);
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link[aria-current="true"] {
  background: linear-gradient(120deg, rgba(124, 108, 255, 0.35), rgba(124, 108, 255, 0.18));
  color: var(--color-text);
  border-color: rgba(124, 108, 255, 0.45);
  transform: translateY(-1px);
}

.slider {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 6rem clamp(1.5rem, 6vw, 4rem) 3.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.slide__content {
  width: min(100%, var(--max-width));
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-content: center;
}

.slide--hero .slide__content {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.identity {
  display: grid;
  gap: 1.1rem;
}

.identity__eyebrow {
  margin: 0;
  color: var(--color-highlight);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.identity__headline {
  margin: 0;
  font-size: clamp(3rem, 5vw + 1.2rem, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.identity__location {
  margin: 0;
  color: var(--color-muted);
}

.identity__summary {
  margin: 0;
  color: rgba(248, 250, 255, 0.88);
  font-size: 1.1rem;
  max-width: 520px;
}

.identity__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.contact-link {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 108, 255, 0.25);
  background: rgba(7, 11, 28, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-link:hover,
.contact-link:focus {
  transform: translateY(-2px);
  border-color: rgba(124, 108, 255, 0.55);
  box-shadow: 0 14px 30px rgba(124, 108, 255, 0.28);
}

.hero__badge {
  justify-self: end;
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(124, 108, 255, 0.25), rgba(7, 11, 28, 0.9));
  border: 1px solid rgba(124, 108, 255, 0.3);
  box-shadow: var(--shadow-card);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.section__header {
  display: grid;
  gap: 0.8rem;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3.2rem);
  letter-spacing: -0.015em;
}

.section__blurb {
  margin: 0;
  color: var(--color-muted);
  max-width: 580px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.experience-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.experience-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(16, 23, 60, 0.9), rgba(7, 11, 28, 0.88));
  border: 1px solid rgba(124, 108, 255, 0.25);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.9rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover,
.experience-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(124, 108, 255, 0.5);
  box-shadow: 0 40px 80px rgba(5, 10, 28, 0.55);
}

.experience-card__period {
  margin: 0;
  color: var(--color-warm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.experience-card__role {
  margin: 0;
  font-size: 1.25rem;
}

.experience-card__summary {
  margin: 0;
  color: rgba(244, 247, 255, 0.9);
}

.experience-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(244, 247, 255, 0.9);
  display: grid;
  gap: 0.45rem;
}

.skill-matrix,
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.skill-column,
.education-card {
  background: linear-gradient(150deg, rgba(14, 18, 42, 0.92), rgba(8, 12, 28, 0.82));
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(124, 108, 255, 0.25);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.75rem;
}

.skill-column h3,
.education-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.skill-column p,
.education-card p {
  margin: 0;
  color: rgba(230, 233, 255, 0.9);
}

.education-card__year {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.slide--cta {
  background: radial-gradient(circle at 18% 18%, rgba(124, 108, 255, 0.18), transparent 60%),
    radial-gradient(circle at 80% 22%, rgba(29, 211, 176, 0.2), transparent 55%);
}

.cta {
  position: relative;
  padding: 3rem clamp(1.8rem, 5vw, 3.5rem);
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(124, 108, 255, 0.35), rgba(7, 11, 28, 0.92));
  border: 1px solid rgba(124, 108, 255, 0.4);
  box-shadow: 0 40px 90px rgba(4, 8, 24, 0.6);
  text-align: center;
  display: grid;
  gap: 1.8rem;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 15% 10% -25% 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw + 1.3rem, 3.2rem);
  letter-spacing: -0.01em;
}

.cta p {
  margin: 0;
  color: rgba(240, 244, 255, 0.92);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #7c6cff, #a18bff);
  color: #040712;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(124, 108, 255, 0.45);
}

.button--ghost {
  background: transparent;
  border-color: rgba(124, 108, 255, 0.45);
  color: var(--color-text);
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(124, 108, 255, 0.18);
}

.cta__footer {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(208, 215, 255, 0.7);
}

.slider__controls {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 30;
}

.slider__control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(124, 108, 255, 0.35);
  background: rgba(7, 11, 28, 0.85);
  color: var(--color-text);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.slider__control:hover,
.slider__control:focus {
  transform: translateY(-2px);
  border-color: rgba(124, 108, 255, 0.6);
  box-shadow: 0 18px 30px rgba(5, 10, 28, 0.45);
}

.slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(124, 108, 255, 0.35);
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.slider__dot[aria-current="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .slide {
    padding: 6rem 1.5rem 3rem;
  }

  .slide--hero .slide__content {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero__badge {
    justify-self: start;
  }
}

@media (max-width: 880px) {
  .brand__role {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: clamp(1rem, 4vw, 2.5rem);
    margin-left: 0;
  }

  .nav-list {
    flex-direction: column;
    background: rgba(7, 11, 28, 0.95);
    border: 1px solid rgba(124, 108, 255, 0.32);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(3, 6, 18, 0.45);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .identity__headline {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .identity__summary {
    font-size: 1rem;
  }

  .slider__controls {
    bottom: 1.5rem;
  }
}

@media (max-width: 540px) {
  .brand__name {
    display: none;
  }

  .slide {
    padding: 5.5rem 1.25rem 2.75rem;
  }

  .hero__badge {
    width: 100%;
    text-align: center;
  }

  .experience-card,
  .skill-column,
  .education-card {
    padding: 1.4rem;
  }

  .cta {
    padding: 2.5rem 1.5rem;
  }

  .slider__controls {
    gap: 1rem;
  }

  .slider__control {
    width: 44px;
    height: 44px;
  }

  .slider__dots {
    gap: 0.5rem;
  }

  .slider__dot {
    width: 10px;
    height: 10px;
  }
}
