:root {
  --paper: #f2f1ec;
  --ink: #171918;
  --muted: #777873;
  --line: #cbc9c0;
  --acid: #c7ed48;
  --white: #fffef9;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.topbar {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
}

.wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;
}

.wordmark span {
  color: var(--muted);
  margin: 0 2px;
}

.topnav {
  display: flex;
  gap: 28px;
  color: #5e605c;
}

.topnav a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.availability {
  color: #5e605c;
  display: flex;
  gap: 8px;
  align-items: center;
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86ae18;
  display: inline-block;
}

.section-grid {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 36px;
}

.hero {
  min-height: 590px;
  padding: 96px 0 85px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.eyebrow,
.section-label,
.project-meta,
.project-number,
.footer,
.console-bar,
.console-body,
.ticker,
.skill-grid span {
  font-family: var(--mono);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 28px;
  color: var(--muted);
}

.eyebrow span,
.section-label span {
  color: var(--ink);
  margin-right: 13px;
}

h1 {
  margin: 0;
  font-size: clamp(76px, 12vw, 166px);
  line-height: .83;
  letter-spacing: -.09em;
  font-weight: 600;
}

h1 em,
.contact h2 em {
  color: #777a72;
  font-style: normal;
}

.intro {
  min-width: 380px;
  max-width: 520px;
  color: #535550;
  font-size: 17px;
  line-height: 1.5;
  margin: 44px 0 31px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  padding: 13px 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark span {
  margin-left: 18px;
  color: var(--acid);
}

.text-link {
  font-family: var(--mono);
  font-size: 11px;
  color: #5b5e58;
}

.text-link span {
  margin-left: 8px;
}

.hero-console {
  background: var(--ink);
  color: var(--paper);
  min-height: 302px;
  width: min(100%, 420px);
  justify-self: end;
  box-shadow: 15px 15px 0 #d9d7ce;
}

.console-bar {
  height: 38px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid #393b37;
  padding: 0 15px;
  color: #8a8e85;
  font-size: 10px;
}

.console-bar span {
  width: 7px;
  height: 7px;
  border: 1px solid #777a72;
  border-radius: 50%;
}

.console-bar b {
  font-weight: 400;
  margin-left: 8px;
}

.console-body {
  padding: 24px;
  font-size: 12px;
  line-height: 1.7;
}

.console-body p {
  margin: 0 0 12px;
}

.prompt {
  color: var(--acid);
  margin-right: 8px;
}

.output {
  padding-left: 18px;
  color: var(--acid);
  margin-bottom: 22px !important;
}

.output small {
  color: #a8aba2;
  font-size: 11px;
}

.output.muted {
  color: #a8aba2;
}

.cursor {
  height: 14px;
  width: 7px;
  display: inline-block;
  background: var(--acid);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 48px;
  font-size: 10px;
  color: #757770;
  letter-spacing: .09em;
  overflow: hidden;
  white-space: nowrap;
}

.ticker span::before {
  content: '×';
  margin-right: 16px;
  color: #a3a49d;
}

.about,
.work,
.stack,
.contact {
  padding: 118px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}

h2 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -.07em;
  margin: 0;
  font-weight: 500;
}

h2 strong {
  font-weight: 500;
  color: #777a72;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  max-width: 690px;
  margin-top: 58px;
}

.about-columns p,
.stack-heading p {
  color: #62645f;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.work-list {
  border-top: 1px solid var(--ink);
}

.project {
  display: grid;
  grid-template-columns: 66px 1fr 130px;
  gap: 22px;
  align-items: start;
  padding: 27px 0 30px;
  border-bottom: 1px solid var(--line);
}

.project:hover {
  background: #eae9e2;
  padding-left: 14px;
  padding-right: 14px;
  margin: 0 -14px;
}

.project-number {
  font-size: 12px;
  color: var(--muted);
  padding-top: 3px;
}

.project h3 {
  font-size: 23px;
  letter-spacing: -.03em;
  font-weight: 500;
  margin: 0 0 10px;
}

.project p {
  max-width: 480px;
  color: #696b65;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.project-meta {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  padding-top: 5px;
}

.project-meta span:last-child,
.project-meta a {
  color: var(--ink);
  font-size: 16px;
}

.project-main b {
  display: inline-block;
  color: #777a72;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 12px;
}

.stack-content {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) 1.25fr;
  gap: 60px;
}

.stack-heading p {
  max-width: 245px;
  margin-top: 28px;
}

.skill-grid {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.skill-grid>div {
  border-right: 1px solid var(--line);
  padding: 17px 18px 0 0;
  min-height: 160px;
}

.skill-grid>div+div {
  padding-left: 18px;
}

.skill-grid>div:last-child {
  border-right: 0;
}

.skill-grid span {
  font-size: 10px;
  color: var(--muted);
}

.skill-grid h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 37px 0 14px;
}

.skill-grid p {
  color: #696b65;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

.contact {
  min-height: 440px;
  border-bottom: 0;
  align-items: end;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact h2 {
  font-size: clamp(50px, 8vw, 100px);
  margin-bottom: 48px;
}

.email-link {
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  padding-bottom: 8px;
}

.email-link span {
  color: #76882f;
  margin-left: 35px;
}

.alternate-email {
  color: #777a72;
  font-family: var(--mono);
  font-size: 11px;
  margin: 12px 0 0;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.contact-actions>a {
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  padding-bottom: 6px;
}

.social-links {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  color: #62645f;
}

.social-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer {
  border-top: 1px solid var(--line);
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer a {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 36px, 560px);
  }

  .topbar {
    min-height: 67px;
  }

  .topnav {
    gap: 11px;
    font-size: 10px;
  }

  .topnav a:nth-child(3) {
    display: none;
  }

  .availability {
    display: none;
  }

  .section-grid {
    display: block;
  }

  .section-label {
    margin-bottom: 42px;
  }

  .hero {
    padding: 76px 0 86px;
  }

  .hero-console {
    margin: 71px 0 0;
    width: 100%;
    box-shadow: 9px 9px 0 #d9d7ce;
  }

  .ticker {
    gap: 22px;
    justify-content: flex-start;
  }

  .ticker span:nth-child(n+4) {
    display: none;
  }

  .about,
  .work,
  .stack,
  .contact {
    padding: 82px 0;
  }

  .about-columns,
  .stack-content {
    display: block;
    margin-top: 40px;
  }

  .about-columns p+p {
    margin-top: 18px;
  }

  .stack-heading p {
    margin: 23px 0 49px;
  }

  .project {
    grid-template-columns: 38px 1fr;
    gap: 8px;
  }

  .project-meta {
    grid-column: 2;
    justify-content: flex-start;
    gap: 22px;
  }

  .project h3 {
    font-size: 20px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid>div,
  .skill-grid>div+div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 17px 0 22px;
  }

  .skill-grid h3 {
    margin: 21px 0 8px;
  }

  .contact {
    min-height: 430px;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .footer {
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
    line-height: 1.7;
  }

  .footer span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}