:root {
  --paper: #f3eadb;
  --ink: #1c1712;
  --mute: #6e6256;
  --line: #d7cbb8;
  --mark: #b42318;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: #e7dcc8;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
}

.skip:focus {
  top: 12px;
}

.sheet {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 48px;
  padding: 28px 32px 40px;
  background: var(--paper);
}

.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--mute);
  pointer-events: none;
}

.sheet::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.sheet::after {
  right: 8px;
  bottom: 8px;
  border-top: 0;
  border-left: 0;
}

.mast {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.mark {
  font-family: Unbounded, Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.meta {
  margin: 0;
  grid-column: 1;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--mute);
}

.nav {
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--mark);
}

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.kicker {
  margin: 0 0 16px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

h1 {
  margin: 0;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(3rem, 10vw, 7.2rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 38rem;
  margin: 24px 0 0;
  font-size: 1.12rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.stats li {
  padding-top: 16px;
  font-size: 14px;
  color: var(--mute);
}

.stats strong {
  display: block;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.now,
.making,
.works,
.path,
.stack,
.contact {
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 20px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.now h2 {
  grid-column: 1 / -1;
}

.now-card {
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
}

.now-card--plain {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.now-card--wide {
  grid-column: 1 / -1;
}

.making {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.making h2 {
  grid-column: 1 / -1;
}

.repos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.repos a {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.repos a:hover,
.repos a:focus-visible {
  border-color: var(--mark);
  color: var(--mark);
}

.now-label {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.now-card h3 {
  margin: 10px 0 12px;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.now-card p {
  margin: 0;
}

.now-links {
  margin-top: 18px !important;
}

.now-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.now-card:not(.now-card--plain) a {
  color: var(--paper);
}

.now-links a:hover,
.now-links a:focus-visible {
  color: var(--mark);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.item {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 12px 24px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.item:hover .name,
.item:focus-visible .name {
  color: var(--mark);
}

.when {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--mute);
}

.name {
  margin: 0;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.note {
  margin: 6px 0 0;
  color: var(--mute);
  font-size: 1rem;
}

.go {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.years {
  margin: 0;
  padding: 0;
  list-style: none;
}

.years li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 12px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.years time {
  font-family: Unbounded, Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.job {
  margin: 0 0 4px;
  font-weight: 500;
}

.years p {
  margin: 0;
  color: var(--mute);
}

.job + p {
  margin-top: 4px;
}

.stack-line {
  margin: 0 0 8px;
  font-family: Unbounded, Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.contact p {
  margin: 0 0 16px;
  max-width: 36rem;
}

.links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: inline-block;
  padding: 6px 0;
  font-family: Unbounded, Georgia, serif;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.links a:hover,
.links a:focus-visible {
  color: var(--mark);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--mute);
}

.foot p {
  margin: 0;
}

@media (max-width: 800px) {
  .sheet {
    width: calc(100% - 16px);
    margin: 8px auto 24px;
    padding: 20px 16px 28px;
  }

  .mast,
  .now,
  .making,
  .item,
  .years li {
    grid-template-columns: 1fr;
  }

  .nav {
    grid-row: auto;
    justify-content: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .go {
    display: none;
  }
}
