@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #090a0c;
  --surface: #101216;
  --surface-2: #15171c;
  --text: #f4f5f7;
  --muted: #9da3ad;
  --line: #252932;
  --accent: #b9ff66;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(185,255,102,.07), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

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

.nav {
  max-width: var(--max);
  margin: auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font: 700 24px 'Space Grotesk', sans-serif;
  letter-spacing: -1px;
}

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

.nav nav {
  display: flex;
  gap: 26px;
}

.nav nav a {
  color: var(--muted);
  font-size: 13px;
  transition: color .2s ease;
}

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

.hero {
  max-width: var(--max);
  min-height: 82vh;
  margin: auto;
  padding: 100px 28px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.eyebrow {
  color: var(--accent);
  font: 600 11px 'Space Grotesk', sans-serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font: 700 clamp(66px, 11vw, 145px)/.86 'Space Grotesk', sans-serif;
  letter-spacing: -8px;
}

.hero h1 span {
  color: #8d939e;
}

.role {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
  margin-top: 36px;
}

.location {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}

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

.button {
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #59606c;
}

.button.primary {
  background: var(--accent);
  color: #10120c;
  border-color: var(--accent);
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 75px;
}

.social-strip a {
  border: 1px solid var(--line);
  background: rgba(16,18,22,.72);
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  transition: all .2s ease;
}

.social-strip a:hover {
  color: var(--text);
  border-color: #5a606c;
  transform: translateY(-2px);
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 115px 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 55px;
}

.section-label {
  color: var(--muted);
  font: 600 11px 'Space Grotesk', sans-serif;
  letter-spacing: 1.5px;
}

.section-content {
  max-width: 820px;
}

.section h2,
.contact h2 {
  font: 600 clamp(38px, 5vw, 64px)/1.02 'Space Grotesk', sans-serif;
  letter-spacing: -3px;
  margin-bottom: 30px;
}

.section-content > p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 17px;
}

.education-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.tag {
  color: var(--accent);
  font: 600 10px 'Space Grotesk', sans-serif;
  letter-spacing: 1.5px;
}

.education-card h3 {
  font: 600 28px 'Space Grotesk', sans-serif;
  margin: 12px 0 6px;
}

.education-card p {
  color: var(--muted);
}

.education-card .muted {
  font-size: 13px;
  margin-top: 5px;
}

.year {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  min-height: 235px;
  transition: transform .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #444a55;
}

.card > span {
  color: var(--accent);
  font: 600 12px 'Space Grotesk', sans-serif;
}

.card h3 {
  font: 600 27px 'Space Grotesk', sans-serif;
  margin: 48px 0 10px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project {
  padding: 27px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease;
}

.project:hover {
  padding-left: 10px;
}

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

.project small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.5px;
}

.project h3 {
  font: 500 25px 'Space Grotesk', sans-serif;
  margin: 4px 0 5px;
}

.project p {
  color: var(--muted);
  font-size: 14px;
}

.project > span {
  font-size: 22px;
}

.contact {
  max-width: var(--max);
  margin: auto;
  padding: 120px 28px;
  border-top: 1px solid var(--line);
}

.contact-intro {
  color: var(--muted);
  margin-bottom: 34px;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.connect-grid > a,
.connect-item {
  padding: 22px 5px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  transition: padding .2s ease;
}

.connect-grid > a:hover {
  padding-left: 10px;
}

.connect-grid strong {
  font: 600 16px 'Space Grotesk', sans-serif;
}

.connect-grid span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.connect-grid a:hover strong {
  color: var(--accent);
}

.unavailable {
  opacity: .65;
}

footer {
  max-width: var(--max);
  margin: auto;
  padding: 28px 28px 45px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #666c76;
  font-size: 12px;
}

@media (max-width: 760px) {
  .nav {
    padding: 23px 20px;
  }

  .nav nav {
    display: none;
  }

  .hero {
    padding: 70px 20px 55px;
    min-height: 78vh;
  }

  .hero h1 {
    letter-spacing: -5px;
  }

  .social-strip {
    margin-top: 55px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 85px 20px;
  }

  .cards,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .education-card {
    flex-direction: column;
  }

  .year {
    white-space: normal;
  }

  .contact {
    padding: 90px 20px;
  }

  .connect-grid > a,
  .connect-item {
    padding: 20px 0;
  }

  footer {
    padding: 25px 20px 35px;
    flex-direction: column;
    gap: 8px;
  }
}
