:root {
  color-scheme: dark;
  --ink: #f3f4ed;
  --muted: #aab8b7;
  --paper: #162128;
  --line: #52636a;
  --green: #d8f36a;
  --orange: #e9774c;
  --lime: #d8f36a;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  max-width: 1600px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 7.2%;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
}

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

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
}

.wordmark span { color: var(--green); }

.header-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0;
}

.header-note span { padding: 0 7px; color: var(--orange); }

.site-header nav { display: flex; gap: 34px; }

.nav-link {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
}

.nav-link.active, .nav-link:hover { color: var(--ink); }

.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 7%;
  min-height: 0;
  padding: 57px 0 75px;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 18px; }

.eyebrow, .section-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 9px; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  margin: 27px 0 21px;
  font-family: var(--sans);
  font-size: clamp(50px, 5.3vw, 80px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: 0;
}

h1 em { color: var(--green); font-style: normal; font-weight: 500; }

.intro {
  max-width: 390px;
  margin: 0 0 31px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--green);
  font-size: 12px;
  font-weight: 600;
}

.text-link span, .topic-list a > span:last-child, .social-links a span { color: var(--orange); }

.outcomes-panel {
  align-self: center;
  padding: 18px 0 18px 28px;
  border-left: 1px solid var(--line);
}

.outcomes-label, .outcomes-note { margin: 0; font-family: var(--mono); font-size: 9px; }
.outcomes-label { color: var(--muted); }
.outcomes-list { margin: 30px 0 22px; padding: 0; list-style: none; }
.outcomes-list li { padding: 17px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 2vw, 24px); font-weight: 500; line-height: 1.3; }
.outcomes-list li:last-child { border-bottom: 1px solid var(--line); }
.outcomes-list li::before { display: inline-block; width: 6px; height: 6px; margin: 0 14px 3px 0; background: var(--orange); content: ""; }
.outcomes-note { color: var(--muted); }

.below-fold {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7%;
  padding: 34px 0 76px;
  border-top: 1px solid var(--line);
}

.expertise-heading { align-self: start; padding-right: 12%; }
.expertise-title { margin: 0; color: var(--green); font-family: var(--mono); font-size: 13px; font-weight: 600; line-height: 1.45; }
.expertise-note { max-width: 190px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.topic-list { border-top: 1px solid var(--line); }

.topic-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 0 12px;
  min-height: 74px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.topic-list a > span:first-child { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.topic-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.topic-copy strong { color: var(--green); font-size: 15px; font-weight: 600; }
.topic-copy > span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.topic-list a:hover .topic-copy strong { color: var(--ink); }
.topic-list a:hover { color: var(--green); }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.social-links { display: flex; flex-wrap: wrap; gap: 10px; }

.social-links a {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  transition: opacity 150ms ease;
}

.social-links a:hover { opacity: .72; }
.social-links a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.social-links img { display: block; width: 20px; height: 20px; filter: brightness(0) invert(1); }
.social-links svg { display: block; width: 20px; height: 20px; fill: #fff; }

.contact-page { max-width: 900px; padding: 57px 0 80px; }
.contact-page h1 { margin-bottom: 20px; }
.contact-intro { max-width: 570px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-form { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: 9px; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label { color: var(--ink); font-size: 12px; font-weight: 600; }
.contact-field input, .contact-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; background: #1d2b31; color: var(--ink); font: 14px var(--sans); }
.contact-field input { min-height: 48px; padding: 0 13px; }
.contact-field textarea { min-height: 190px; padding: 13px; line-height: 1.6; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--muted); opacity: .8; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 23px; }
.contact-submit { display: inline-flex; min-height: 46px; align-items: center; gap: 18px; padding: 0 16px; border: 0; background: var(--green); color: #162128; cursor: pointer; font: 600 12px var(--sans); }
.contact-submit:hover { background: var(--ink); }
.contact-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.not-found-page {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 8%;
  padding: 82px 0 96px;
}

.not-found-copy h1 { margin-top: 24px; }
.not-found-copy > p:not(.eyebrow) { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.not-found-copy .text-link { margin-top: 16px; }

.not-found-status {
  padding: 24px;
  border: 1px solid var(--line);
  background-color: #1d2b31;
  background-image: linear-gradient(rgba(222, 235, 225, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(222, 235, 225, .045) 1px, transparent 1px);
  background-size: 22px 22px;
}

.not-found-status__head, .not-found-status__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font: 9px var(--mono);
}

.not-found-status__head { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.not-found-status__row { display: flex; justify-content: space-between; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; }
.not-found-status__row > span { color: var(--muted); }
.not-found-status__row strong { font-weight: 500; text-align: right; }
.not-found-state { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 23px 0; font-family: var(--mono); font-size: 9px; }
.not-found-state > span { color: var(--muted); }
.not-found-state strong { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
.not-found-state i { width: 7px; height: 7px; background: var(--orange); }
.not-found-status__foot { padding-top: 13px; border-top: 1px solid var(--line); }

.about-page { padding: 57px 0 80px; }
.about-page h1 { margin-top: 24px; font-size: clamp(54px, 6.5vw, 92px); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  margin: 47px 0 36px;
}

.about-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 40px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-jumps a { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.about-jumps a:hover { color: var(--green); }
.about-jumps a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.resume-section { scroll-margin-top: 24px; }

.about-lead {
  max-width: 470px;
  margin: 0;
  color: var(--green);
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.35;
}

.about-detail { max-width: 420px; }

.about-detail p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-detail .text-link { margin-top: 9px; }

.resume-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7%;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.resume-section .section-label {
  padding-top: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}

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

.experience-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.experience-date { grid-row: span 2; margin: 2px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.experience-heading { display: flex; flex-direction: column; gap: 4px; }
.experience-heading strong { font-size: 15px; font-weight: 600; }
.experience-heading span { color: var(--green); font-size: 12px; }
.experience-item > p:last-child { grid-column: 2; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.skill-group { padding: 17px 0; border-bottom: 1px solid var(--line); }
.skill-group h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.skill-group p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.education-detail { display: flex; flex-direction: column; gap: 7px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.education-detail strong { font-size: 15px; font-weight: 600; }
.education-detail span { color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .outcomes-panel { border-top: 1px solid var(--line); border-left: 0; padding: 22px 0 0; }
  .outcomes-list { margin: 20px 0 17px; }
  .resume-section { grid-template-columns: 1fr; gap: 18px; margin-top: 44px; }
  .resume-section .section-label { padding-top: 0; }
  .experience-item { grid-template-columns: 1fr; gap: 8px; }
  .experience-date, .experience-item > p:last-child { grid-column: 1; grid-row: auto; }
  .skills-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding: 0 6%; }
  .site-header { height: 74px; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding: 58px 0 77px; }
  .hero-copy { padding-bottom: 0; }
  h1 { margin-top: 23px; font-size: clamp(48px, 11vw, 70px); }
  .below-fold { grid-template-columns: 1fr; gap: 23px; padding-bottom: 55px; }
  .expertise-heading { padding-right: 0; }
  .expertise-note { max-width: none; }
  .about-page { padding: 58px 0 55px; }
  .contact-page { padding: 58px 0 55px; }
  .not-found-page { grid-template-columns: 1fr; gap: 38px; padding: 58px 0 70px; }
  .not-found-status { padding: 18px; }
  .contact-fields { grid-template-columns: 1fr; gap: 18px; }
  .contact-field--wide { grid-column: auto; }
  .about-page h1 { font-size: clamp(52px, 12vw, 78px); }
  .about-grid { grid-template-columns: 1fr; gap: 25px; margin: 35px 0 28px; }
  .about-lead { font-size: 24px; }
  .site-footer { align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 18px 0; }
  .social-links { gap: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .outcomes-panel, .about-page > * {
    animation: arrive 650ms both;
  }

  .outcomes-panel { animation-delay: 90ms; }

  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}