:root {
  --bg: #0b0d12;
  --surface: #11141b;
  --surface2: #171b24;
  --text: #f4f3ef;
  --muted: #9a9da7;
  --line: #282c35;
  --accent: #d8ff57;
  --accent2: #75a7ff;
  --red: #ff6b5f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 75% 15%, rgba(117, 167, 255, .08), transparent 27%), radial-gradient(circle at 10% 55%, rgba(216, 255, 87, .045), transparent 24%);
  pointer-events: none
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 18, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  font: 700 25px "Space Grotesk";
  letter-spacing: -1px
}

.brand span {
  color: var(--accent)
}

.nav-links {
  display: flex;
  gap: 30px;
  color: #b7bac3;
  font-size: 14px
}

.nav-links a:hover,
.socials a:hover,
.contact-links a:hover {
  color: var(--accent)
}

.nav-cta {
  font-size: 13px;
  border: 1px solid #3a3e48;
  padding: 9px 15px;
  border-radius: 999px
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 24px
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
  padding-top: 55px;
  padding-bottom: 70px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #30343e;
  border-radius: 999px;
  padding: 7px 12px;
  color: #b8bbc4;
  font-size: 12px;
  margin-bottom: 26px
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(216, 255, 87, .08)
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -2px;
  line-height: 1.03
}

h1 {
  font-size: clamp(58px, 7.4vw, 98px);
  max-width: 850px
}

h1 span,
h2 em {
  color: var(--accent);
  font-style: normal
}

.hero-text {
  max-width: 650px;
  color: #a8abb4;
  font-size: 17px;
  margin-top: 28px
}

.hero-text strong {
  color: #fff
}

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

.btn {
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: .25s
}

.btn.primary {
  background: var(--accent);
  color: #0b0d12
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(216, 255, 87, .15)
}

.btn.ghost {
  border: 1px solid #343944
}

.btn.ghost:hover {
  border-color: #6a6e79
}

.socials {
  display: flex;
  gap: 24px;
  margin-top: 26px;
  color: #777b86;
  font-size: 13px
}

.hero-visual {
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117, 167, 255, .22), rgba(117, 167, 255, .02) 60%, transparent 70%);
  filter: blur(3px)
}

.data-card {
  position: relative;
  width: 360px;
  padding: 24px;
  background: rgba(21, 24, 32, .9);
  border: 1px solid #323641;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform: rotate(-4deg);
  z-index: 2
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #6f7480;
  letter-spacing: 1.5px
}

.card-top span:last-child {
  color: var(--accent)
}

.mini-title {
  font-size: 13px;
  color: #8f939d;
  margin-top: 34px
}

.metric-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px
}

.metric-row strong {
  font: 600 38px "Space Grotesk"
}

.metric-row span {
  font-size: 11px;
  color: #6d727e
}

.bars {
  height: 145px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
  padding: 0 6px;
  border-bottom: 1px solid #2c3039
}

.bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(216, 255, 87, .15));
  min-height: 20px
}

.months {
  display: flex;
  justify-content: space-between;
  color: #555b66;
  font-size: 9px;
  margin-top: 7px
}

.floating-tag {
  position: absolute;
  z-index: 3;
  background: #151820;
  border: 1px solid #343944;
  border-radius: 8px;
  padding: 9px 12px;
  font: 600 10px "Space Grotesk";
  box-shadow: 0 10px 35px #0006
}

.tag-sql {
  top: 55px;
  left: 18px;
  transform: rotate(-8deg)
}

.tag-bi {
  right: 4px;
  top: 130px;
  transform: rotate(7deg)
}

.tag-python {
  bottom: 65px;
  left: 28px;
  transform: rotate(5deg)
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scroll 28s linear infinite;
  padding: 15px 0;
  color: #737782;
  font: 600 12px "Space Grotesk";
  letter-spacing: 2px
}

.ticker b {
  color: var(--accent);
  font-size: 10px
}

@keyframes scroll {
  to {
    transform: translateX(-50%)
  }
}

.section {
  padding: 125px 0
}

.section-label {
  font: 600 11px "Space Grotesk";
  letter-spacing: 2px;
  color: #626772;
  margin-bottom: 45px
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px
}

.section h2 {
  font-size: clamp(40px, 5vw, 68px)
}

.about-copy {
  max-width: 560px
}

.about-copy p {
  color: #9b9fa9;
  font-size: 16px;
  margin-bottom: 20px
}

.stats {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 26px
}

.stats strong {
  display: block;
  font: 600 36px "Space Grotesk";
  color: #fff
}

.stats span {
  display: block;
  color: #666b75;
  font-size: 11px;
  margin-top: 3px
}

.section-dark {
  background: #101319;
  border-top: 1px solid #1d2028;
  border-bottom: 1px solid #1d2028
}

.experience {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 70px
}

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #626771;
  font: 600 10px "Space Grotesk";
  letter-spacing: 1.4px
}

.exp-body {
  max-width: 790px
}

.exp-body h2 {
  font-size: 48px
}

.exp-body h3 {
  font-size: 17px;
  color: var(--accent);
  letter-spacing: -.5px;
  margin: 9px 0 25px
}

.exp-body>p {
  color: #999da7;
  max-width: 680px
}

.exp-body ul {
  list-style: none;
  margin-top: 24px
}

.exp-body li {
  position: relative;
  padding-left: 18px;
  color: #898d97;
  font-size: 14px;
  margin: 10px 0
}

.exp-body li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555b65
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px
}

.chips span {
  font-size: 10px;
  color: #888d97;
  border: 1px solid #2d323b;
  padding: 5px 8px;
  border-radius: 5px
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 55px
}

.section-head .section-label {
  margin-bottom: 20px
}

.section-head>p {
  max-width: 330px;
  color: #777c86;
  font-size: 13px;
  margin-bottom: 5px
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.project {
  position: relative;
  background: var(--surface);
  border: 1px solid #242832;
  border-radius: 14px;
  padding: 28px;
  min-height: 420px;
  overflow: hidden;
  transition: .3s
}

.project:hover {
  transform: translateY(-5px);
  border-color: #3b414c
}

.project.featured {
  grid-column: span 2;
  min-height: 360px;
  background: linear-gradient(120deg, #17171a, #12151c)
}

.project-num {
  position: absolute;
  right: 22px;
  top: 20px;
  color: #4f545f;
  font: 600 11px "Space Grotesk"
}

.project-icon {
  width: 45px;
  height: 45px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 50px;
  background: #20252d
}

.project-icon.red {
  color: #ff766b
}

.project-icon.blue {
  color: #75a7ff
}

.project-icon.gold {
  color: #e8c96b
}

.project-icon.green {
  color: #9ce17a
}

.project-content {
  max-width: 680px
}

.project-type {
  font: 600 9px "Space Grotesk";
  letter-spacing: 1.6px;
  color: #656a75
}

.project h3 {
  font-size: 32px;
  margin: 9px 0 13px;
  letter-spacing: -1.3px
}

.project p {
  font-size: 13px;
  color: #858a95;
  max-width: 650px
}

.project-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  color: #656b76;
  font-size: 10px
}

.project-result strong {
  font: 600 24px "Space Grotesk";
  color: var(--accent);
  margin-left: 18px
}

.project-result strong:first-child {
  margin-left: 0
}

.project-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
  color: #c4c7cf;
  border-bottom: 1px solid #414650;
  padding-bottom: 3px
}

.project-link:hover {
  color: var(--accent);
  border-color: var(--accent)
}

.skills-section {
  background: #f1f1ed;
  color: #0c0e12
}

.skills-section .section-label {
  color: #7d8086
}

.skills-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px
}

.skills-section h2 {
  color: #101218
}

.skill-groups {
  border-top: 1px solid #cfd0cb
}

.skill-group {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  padding: 23px 0;
  border-bottom: 1px solid #cfd0cb
}

.skill-group span {
  font: 600 10px "Space Grotesk";
  color: #94978f
}

.skill-group h3 {
  font-size: 19px;
  letter-spacing: -.5px
}

.skill-group p {
  grid-column: 2;
  color: #70736f;
  font-size: 13px;
  margin-top: -3px
}

.education {
  padding: 100px 0
}

.edu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line)
}

.edu-row>div {
  padding: 26px 0
}

.edu-row>div+div {
  border-left: 1px solid var(--line);
  padding-left: 45px
}

.edu-row span {
  font: 600 10px "Space Grotesk";
  color: #666b75;
  letter-spacing: 1px
}

.edu-row h3 {
  font-size: 23px;
  margin: 10px 0 4px
}

.edu-row p {
  font-size: 13px;
  color: #777c86
}

.contact-section {
  background: var(--accent);
  color: #0b0d12;
  padding: 120px 0 95px
}

.contact-section .section-label {
  color: #59671e
}

.contact-section h2 {
  font-size: clamp(50px, 7vw, 88px)
}

.contact-section h2 em {
  color: #59671e
}

.contact-section p {
  margin-top: 25px;
  color: #4d571f
}

.email-link {
  display: inline-block;
  font: 600 clamp(18px, 2.3vw, 28px) "Space Grotesk";
  margin-top: 35px;
  border-bottom: 2px solid #0b0d12;
  padding-bottom: 5px
}

.contact-links {
  display: flex;
  gap: 25px;
  margin-top: 45px;
  font-size: 13px;
  font-weight: 600
}

.footer {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555a64;
  font-size: 11px
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal .8s ease forwards
}

.hero-visual {
  animation-delay: .15s
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:800px) {
  .container {
    width: min(var(--max), calc(100% - 32px))
  }

  .nav {
    height: 68px
  }

  .nav-links,
  .nav-cta {
    display: none
  }

  .menu-btn {
    display: block
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0d0f14;
    padding: 20px 16px;
    flex-direction: column;
    gap: 15px;
    border-bottom: 1px solid var(--line)
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 50px
  }

  .hero-visual {
    height: 360px
  }

  .data-card {
    width: min(340px, 90vw)
  }

  .orb {
    width: 280px;
    height: 280px
  }

  .about-grid,
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }

  .experience {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .exp-body h2 {
    font-size: 40px
  }

  .section-head {
    display: block
  }

  .section-head>p {
    margin-top: 22px
  }

  .projects-grid {
    grid-template-columns: 1fr
  }

  .project.featured {
    grid-column: span 1
  }

  .project-result {
    flex-wrap: wrap
  }

  .stats {
    gap: 25px
  }

  .edu-row {
    grid-template-columns: 1fr
  }

  .edu-row>div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0
  }

  .footer {
    height: auto;
    padding: 25px 0;
    gap: 15px;
    flex-direction: column;
    align-items: flex-start
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .ticker-track {
    animation: none
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none
  }
}