

:root {
  --ink: #111411;
  --paper: #f3f1eb;
  --paper-2: #e8e5dc;
  --acid: #c9ff3d;
  --muted: #65685f;
  --line: rgba(17, 20, 17, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 80px);
  background: var(--ink);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.14);
  position: relative;
  z-index: 4;
}
.brand { display: flex; align-items: center; gap: 13px; font-size: 12px; letter-spacing: .15em; font-weight: 800; }
.brand-mark { color: var(--acid); font-family: monospace; font-size: 21px; letter-spacing: -.15em; }
.nav nav { display: flex; gap: 34px; font-size: 13px; color: #c9ccc4; }
.nav nav a:hover { color: var(--acid); }

.hero {
  min-height: 700px;
  background: var(--ink);
  color: white;
  padding: 100px clamp(22px, 7vw, 120px) 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  gap: 8vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  width: 440px; height: 440px;
  position: absolute; right: -190px; bottom: -220px;
  border-radius: 50%; border: 1px solid rgba(201,255,61,.2);
  box-shadow: 0 0 0 75px rgba(201,255,61,.025), 0 0 0 150px rgba(201,255,61,.018);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.5) .55px, transparent .55px);
  background-size: 7px 7px;
}
.hero-copy, .code-card { position: relative; z-index: 2; }
.eyebrow, .kicker { font: 700 12px/1 monospace; letter-spacing: .16em; }
.eyebrow { color: #bec1b9; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--acid); }
.hero h1 {
  font-size: clamp(54px, 7vw, 104px);
  line-height: .94;
  letter-spacing: -.065em;
  margin: 28px 0 32px;
  max-width: 900px;
}
.hero h1 em, footer h2 em { color: var(--acid); font-family: Georgia, serif; font-weight: 400; }
.intro { max-width: 620px; color: #b9bdb4; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 42px; }
.button {
  min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center;
  gap: 20px; font-weight: 800; font-size: 13px; letter-spacing: .03em; border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.button.secondary { color: white; }
.code-card {
  background: #1a1d1a;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 22px 22px 0 rgba(201,255,61,.07);
}
.code-top { height: 48px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 7px; padding: 0 17px; }
.code-top i { width: 8px; height: 8px; border-radius: 50%; background: #52564f; }
.code-top i:first-child { background: var(--acid); }
.code-top span { margin-left: auto; color: #777c73; font: 11px monospace; }
.code-card pre { padding: 30px; margin: 0; color: #d4d8cf; font: 14px/2 monospace; white-space: pre-wrap; }
.code-card b { color: #c59cff; }.code-card q { color: var(--acid); }
.availability { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 22px; font-size: 12px; color: #aeb2aa; display: flex; gap: 9px; align-items: center; }
.availability span { width: 7px; height: 7px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 4px rgba(201,255,61,.1); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stats div { padding: 38px clamp(15px,4vw,62px); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stats div:last-child { border: 0; }
.stats strong { font-size: clamp(28px,3vw,44px); letter-spacing: -.05em; }
.stats span { color: var(--muted); font-size: 12px; margin-top: 6px; }

.section { padding: 110px clamp(22px, 7vw, 120px); }
.section-heading { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 45px; align-items: start; margin-bottom: 72px; }
.kicker { color: #68705f; }
.section h2 { margin: -12px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; }
.section h2 span { color: #777b72; font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.section-heading > p:last-child { color: var(--muted); line-height: 1.7; margin: 0; font-size: 14px; }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill { min-height: 105px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; font-weight: 700; display: flex; flex-direction: column; justify-content: space-between; transition: background .2s; }
.skill:hover { background: var(--acid); }
.skill span { font: 10px monospace; color: #878b82; }

.experience { background: var(--paper-2); }
.section-heading.compact { grid-template-columns: 1fr 3.2fr; }
.timeline { margin-left: 25%; }
.timeline article { display: grid; grid-template-columns: 145px 26px 1fr; position: relative; min-height: 150px; }
.period { font: 12px monospace; color: #686c64; padding-top: 5px; }
.timeline-dot { width: 9px; height: 9px; background: var(--ink); border: 2px solid var(--paper-2); outline: 1px solid var(--ink); border-radius: 50%; position: relative; margin-top: 5px; }
.timeline-dot::after { content: ""; width: 1px; height: calc(100% + 1px); background: var(--line); position: absolute; left: 3px; top: 9px; }
.timeline article:last-child .timeline-dot::after { display: none; }
.job { padding: 0 0 42px 22px; }
.job h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.025em; }
.company { margin: 0; font-weight: 700; font-size: 14px; }
.company span { color: var(--muted); font-weight: 400; }
.detail { max-width: 700px; color: var(--muted); line-height: 1.65; font-size: 14px; margin: 13px 0 0; }

.profile { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.profile h2 { margin-top: 35px; }
.profile-text { margin-top: 34px; color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 600px; }
.languages { margin-top: 55px; border-top: 1px solid var(--line); }
.languages h3, .education > h3 { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; padding: 22px 0; margin: 0; }
.languages p { margin: 0; padding: 13px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 14px; }
.languages p span { color: var(--muted); }
.education { background: var(--ink); color: white; padding: 38px; align-self: start; }
.education > h3 { color: var(--acid); padding-top: 0; }
.education article { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,.13); }
.education article > span { color: #888d84; font: 11px monospace; }
.education h4 { margin: 0 0 7px; font-size: 15px; }
.education p { margin: 0; color: #92978e; font-size: 12px; line-height: 1.5; }

footer { background: var(--ink); color: white; padding: 90px clamp(22px, 7vw, 120px) 32px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
footer h2 { font-size: clamp(46px,7vw,94px); line-height: .98; letter-spacing: -.06em; margin: 25px 0 0; }
footer .button { align-self: end; margin-bottom: 10px; }
.copyright { grid-column: 1/-1; color: #666b63; font-size: 11px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 25px; margin-top: 50px; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .code-card { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; }
  .section-heading { gap: 26px; }
  .skill-grid { grid-template-columns: repeat(2,1fr); }
  .timeline { margin-left: 0; }
  .profile { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { height: 64px; }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero h1 { font-size: 51px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .code-card pre { padding: 23px; font-size: 12px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .skill-grid { grid-template-columns: 1fr; }
  .timeline article { grid-template-columns: 90px 20px 1fr; }
  .job { padding-left: 13px; }
  .job h3 { font-size: 17px; }
  .education { padding: 27px 22px; }
  .education article { grid-template-columns: 82px 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
