:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #111416;
  --text: #f2f1ec;
  --muted: #b4b8b2;
  --line: #303433;
  --lime: #c5ff6b;
  --sans: 'Manrope', Inter, system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.page-shell, .section-shell { width: calc(100% - 40px); margin-inline: auto; }
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.07em; }
.mark { color: var(--lime); font: 15px var(--mono); }
.wordmark-dot { color: var(--lime); }
.site-header nav { display: none; gap: 32px; color: var(--muted); font-size: 15px; }
.site-header nav a:hover, .header-contact:hover, .text-link:hover, .github-profile:hover, .site-footer a:hover { color: var(--lime); }
.header-contact { font-size: 14px; font-weight: 600; }
.hero {
  padding-top: 52px;
  padding-bottom: 65px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.eyebrow { margin: 0 0 18px; color: var(--lime); font: 500 14px/1.4 var(--mono); letter-spacing: .04em; }
.eyebrow span { color: var(--muted); padding-inline: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 12vw, 5.4rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.085em;
}
h1 em, h2 em { color: var(--lime); font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; }
.hero-intro { max-width: 600px; margin-bottom: 26px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #10130d; }
.button-primary:hover { background: #d7ff9b; }
.text-link, .github-profile { color: var(--text); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: #666e61; text-underline-offset: 5px; }
.hero-art {
  min-height: 280px;
  display: grid;
  position: relative;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #343a34;
  background: radial-gradient(ellipse at 50% 48%, #20271d 0%, #111416 49%, #0b0d0e 78%);
}
.hero-art::before, .hero-art::after { content: ''; position: absolute; z-index: -1; border: 1px solid #474d42; border-radius: 50%; }
.hero-art::before { width: min(78vw, 340px); aspect-ratio: 1; }
.hero-art::after { width: min(60vw, 255px); aspect-ratio: 1; border-color: #343a34; }
.art-ring { position: absolute; z-index: -1; background: var(--lime); opacity: .8; }
.art-ring-one { width: 7px; height: 7px; border-radius: 50%; top: 18%; left: 25%; box-shadow: 0 0 18px #c5ff6b; }
.art-ring-two { width: 5px; height: 5px; border-radius: 50%; bottom: 22%; right: 24%; }
.hero-lambda { color: var(--lime); font: 400 clamp(10rem, 38vw, 17rem)/.8 var(--serif); transform: translateY(-8px); text-shadow: 0 0 60px #c5ff6b20; }
.hero-monogram { position: absolute; top: 18px; left: 20px; font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.art-caption { position: absolute; right: 20px; bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: right; }
.hero-stats { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.hero-stats > div { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.hero-stats strong { min-width: 62px; color: var(--lime); font: 500 31px/1 var(--mono); }
.hero-stats strong span { color: var(--text); }
.hero-stats > div > span { color: var(--muted); font-size: 15px; }
.section-shell { padding-block: 67px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 32px; }
.section-heading h2, .github-heading h2, .contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 9vw, 4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.075em;
}
.intro-copy { display: grid; gap: 18px; }
.intro-copy p { max-width: 520px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.experience-heading { max-width: 680px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 1fr; gap: 9px; padding: 22px 0 25px; border-bottom: 1px solid var(--line); }
.timeline-date { margin-bottom: 0; color: var(--lime); font-size: 14px; font-weight: 600; }
.timeline-item h3 { margin: 0 0 3px; font-size: 21px; line-height: 1.4; font-weight: 650; letter-spacing: -.035em; }
.company { margin: 0 0 12px; color: var(--text); font-size: 15px; font-weight: 600; }
.company span { color: var(--muted); font-weight: 400; }
.timeline-desc { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.github-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 30px; }
.repo-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.repo-state { grid-column: 1 / -1; margin: 0; padding: 22px 0; color: var(--muted); font-size: 16px; }
.repo-state a { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.repo-card {
  min-height: 185px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #343a36;
  background: var(--surface);
  transition: border-color .2s, background .2s;
}
.repo-card:hover { border-color: var(--lime); background: #151918; }
.repo-name { margin-bottom: 10px; overflow-wrap: anywhere; color: var(--text); font-size: 20px; line-height: 1.35; font-weight: 700; }
.repo-description { margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.repo-footer { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: auto; color: #d0d4cc; }
.repo-language, .repo-stat { font-size: 14px; }
.repo-language { display: inline-flex; align-items: center; gap: 7px; }
.language-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.github-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.toolkit-list { border-top: 1px solid var(--line); }
.toolkit-list > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.toolkit-list h3 { margin: 0; color: var(--lime); font-size: 17px; }
.toolkit-list p { max-width: 650px; margin: 0; color: var(--muted); font-size: 16px; }
.background-list { border-top: 1px solid var(--line); }
.background-list p { display: grid; grid-template-columns: 1fr; gap: 3px; margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.background-list strong { color: var(--lime); font-size: 14px; font-weight: 600; }
.background-list span { color: var(--muted); font-size: 15px; }
.contact-section { padding-block: 55px; }
.contact-card { padding: 28px 22px; border: 1px solid #343a36; background: radial-gradient(ellipse at 85% 5%, #20291b 0%, var(--surface) 48%); }
.contact-card h2 { margin-bottom: 20px; }
.availability { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.site-footer { min-height: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer > span, .site-footer > a:last-child { font-size: 14px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
  .page-shell, .section-shell { width: min(100% - 64px, 920px); }
  .site-header nav { display: flex; }
  .hero { padding-top: 70px; padding-bottom: 82px; }
  h1 { font-size: clamp(4.4rem, 10vw, 6.5rem); }
  .hero-art { min-height: 370px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 14px 18px 0; border-bottom: 0; }
  .hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
  .hero-stats strong { font-size: 35px; }
  .hero-stats > div > span { font-size: 14px; }
  .intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 45px; }
  .section-heading { margin-bottom: 0; }
  .intro-copy { gap: 16px; }
  .intro-copy p { font-size: 16px; }
  .timeline-item { grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; }
  .timeline-date { padding-top: 4px; }
  .github-heading { flex-direction: row; align-items: end; justify-content: space-between; gap: 24px; }
  .repo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .repo-card { padding: 22px; }
  .toolkit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .toolkit-list > div { grid-template-columns: 100px 1fr; gap: 20px; }
  .background { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .background-list p { grid-template-columns: 115px 1fr; gap: 15px; }
  .contact-card { padding: 42px; }
}

@media (min-width: 960px) {
  .page-shell, .section-shell { width: min(1120px, calc(100% - 80px)); }
  .hero { min-height: 660px; grid-template-columns: 1.1fr .9fr; align-items: center; column-gap: 50px; padding-top: 78px; padding-bottom: 52px; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-art { grid-column: 2; grid-row: 1; min-height: 420px; }
  .hero-stats { grid-column: 1 / -1; }
  .hero-stats > div { flex-direction: row; align-items: center; gap: 16px; padding-block: 20px; }
  .hero-stats strong { min-width: 66px; font-size: 35px; }
  .section-shell { padding-block: 90px; }
  .intro { grid-template-columns: 1fr 1fr; gap: 90px; }
  .intro-copy p { font-size: 17px; }
  .section-heading h2, .github-heading h2, .contact-card h2 { font-size: 58px; }
  .experience-heading { margin-bottom: 45px; }
  .timeline-item { grid-template-columns: 185px 1fr; gap: 32px; }
  .timeline-item h3 { font-size: 22px; }
  .timeline-desc { font-size: 16px; }
  .repo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repo-card { min-height: 210px; }
  .toolkit, .background { grid-template-columns: .9fr 1.1fr; gap: 90px; }
  .contact-card { padding: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
