@font-face {
  font-family: Instrument Serif;
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url("/assets/fonts/instrument-serif-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url("/assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f5f4ee;
  --ink: #292e27;
  --muted: #6a6e62;
  --line: #d8d9ce;
  --accent: #ae4b31;
  --green: #354a38;
  --sage: #e3e7d8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --wrap: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
::selection {
  background: #d3ddbb;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
button {
  border: 0;
  background: transparent;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
svg {
  display: block;
}
em {
  font-weight: 400;
}
.wrap {
  width: calc(100% - 112px);
  max-width: var(--wrap);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -70px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.header-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  margin-left: -60px;
}
.site-header nav a {
  position: relative;
  padding: 12px 0;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
  transition: right 0.2s;
}
.site-header nav a:hover::after,
.site-header nav a.active::after {
  right: 0;
}
.header-contact {
  font-size: 12px;
  display: flex;
  gap: 28px;
  align-items: center;
  border: 1px solid #b5baab;
  border-radius: 3px;
  padding: 10px 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.header-contact:hover {
  background: var(--sage);
  border-color: var(--green);
}
.header-contact span {
  font-size: 19px;
  line-height: 1;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 64px;
  min-height: 662px;
}
h1 {
  font: 400 clamp(80px, 7.75vw, 111px) / 0.93 var(--serif);
  letter-spacing: -2.5px;
  margin-top: 30px;
  margin-bottom: 27px;
}
.title-dot {
  color: var(--accent);
}
.hero-intro {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.1px;
}
.hero-now {
  font-size: 13px;
  margin-top: 22px;
  position: relative;
  padding-left: 16px;
  line-height: 1.85;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #58834f;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #58834f15;
  flex-shrink: 0;
}
.hero-now > .status-dot {
  position: absolute;
  top: 9px;
  left: 0;
}
.hero-now a {
  font-weight: 600;
  border-bottom: 1px solid #a7ae99;
  margin-left: 3px;
}
.hero-now a span {
  margin-left: 3px;
  font-weight: 400;
}
.now-description {
  color: var(--muted);
  font-size: 12px;
}
.text-link {
  font-size: 13px;
  display: inline-flex;
  gap: 19px;
  align-items: center;
  font-weight: 500;
}
.text-link span {
  font-size: 19px;
  line-height: 1;
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.hero-link {
  margin-top: 29px;
}
.hero-interests {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.hero-link:hover span {
  transform: translateY(3px);
}
.hero-workbench {
  position: relative;
  margin-top: 38px;
  min-width: 0;
}
.board-stage {
  position: relative;
  margin-top: 5px;
}
.circuit-board {
  width: 100%;
  height: auto;
  overflow: visible;
}
.circuit-board text {
  font-family: var(--mono);
}
.circuit-board .chip-label {
  font-family: var(--sans);
}
.board-assembly {
  transform-origin: 50% 52%;
  animation: board-float 8s ease-in-out infinite;
}
.circuit-trace {
  opacity: 0.14;
  transition: opacity 0.45s;
}
[data-mode="languages"] .trace-languages,
[data-mode="systems"] .trace-systems,
[data-mode="tools"] .trace-tools {
  opacity: 1;
}
.board-led {
  animation: led-glow 3s infinite;
}
.board-selector {
  display: flex;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  gap: 7px;
  justify-content: space-between;
  margin-top: -3px;
}
.board-selector button {
  font: 11px/1.4 var(--mono);
  padding: 12px 10px;
  border-radius: 2px;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.board-selector button.active {
  background: var(--ink);
  color: var(--paper);
}
.board-selector button:hover:not(.active) {
  color: var(--ink);
  background: #e8e8de;
}
.board-caption {
  font-size: 12px;
  color: var(--muted);
  padding-top: 13px;
  min-height: 32px;
  text-align: center;
}
.section-space {
  padding-top: 91px;
  padding-bottom: 80px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
h2 {
  font: 400 56px/1.03 var(--serif);
  letter-spacing: -0.6px;
}
h2 em {
  color: #707a65;
}
.section-aside {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 250px;
  padding-bottom: 5px;
}
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e7eadd;
  border: 1px solid #cfd5c3;
  border-radius: 4px;
  overflow: hidden;
  scroll-margin-top: 35px;
}
.featured-copy {
  padding: 35px 38px 32px;
  position: relative;
}
.featured-copy h3 {
  font: 400 61px/1.1 var(--serif);
  margin-top: 0;
  letter-spacing: -0.6px;
}
.accent-dot {
  color: var(--accent);
}
.project-subtitle {
  font-size: 17px;
  letter-spacing: -0.2px;
  margin-top: 8px;
}
.project-description {
  font-size: 14px;
  line-height: 1.75;
  max-width: 390px;
  margin-top: 15px;
  color: #59624f;
}
.project-link {
  padding: 10px 0;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.project-link span {
  font: 20px/1 var(--sans);
  transition: transform 0.2s;
}
.project-link:hover span {
  transform: translate(3px, -3px);
}
.featured-copy > .project-link {
  margin-top: 16px;
}
.refactor-illustration {
  background: #dce2ce;
  border-left: 1px solid #cbd2bd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 25px;
  min-width: 0;
}
.diagram-topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  color: #53634a;
}
.diagram-state {
  font: 11px/1.6 var(--mono);
  color: #516245;
  white-space: nowrap;
}
#refactor-graph {
  width: 100%;
  margin: 10px 0;
  flex: 1;
  min-height: 235px;
  overflow: visible;
}
.graph-edge {
  stroke: #849676;
  stroke-width: 1.3;
  fill: none;
}
.graph-node,
.graph-edge {
  transition-property: none;
}
.graph-edge.cross-link {
  stroke: #a5623e;
  stroke-dasharray: 4 4;
}
.graph-node rect {
  fill: #edf0e2;
  stroke: #90a07d;
  stroke-width: 1;
}
.graph-node.primary rect {
  fill: #415638;
  stroke: #415638;
}
.graph-node text {
  font: 11px var(--mono);
  fill: #58684c;
  text-anchor: middle;
  dominant-baseline: central;
}
.graph-node.primary text {
  fill: #edf0e2;
}
.graph-node circle {
  fill: #8b9c7b;
}
.graph-node.primary circle {
  fill: #cfda94;
}
.diagram-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #536249;
  padding-top: 7px;
}
.diagram-footer button {
  touch-action: manipulation;
  padding: 11px 13px;
  white-space: nowrap;
  background: #f1f2e7;
  border: 1px solid #aebc9d;
  border-radius: 3px;
  font: 12px var(--mono);
  color: #405037;
  display: flex;
  gap: 19px;
  align-items: center;
}
.diagram-footer button:hover {
  background: #fffdf3;
}
.diagram-footer button span {
  font-size: 15px;
}
.work-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 39px 0 20px;
}
.filters {
  display: flex;
  gap: 4px;
  font-size: 11px;
}
.filters button {
  padding: 6px 10px;
  color: var(--muted);
  border-radius: 2px;
}
.filters button.active {
  background: #e7e8de;
  color: var(--ink);
}
.filters button span {
  color: #758067;
  font: 9px var(--mono);
  margin-left: 5px;
}
.filters button:hover {
  color: var(--ink);
  background: #e7e8de;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #f8f7f2;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #353e2c08;
}
.project-card[hidden] {
  display: none;
}
.card-art {
  height: 207px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.art-label {
  position: absolute;
  bottom: 14px;
  left: 19px;
  font: 7px var(--mono);
  letter-spacing: 1px;
  color: #53624c;
}
.card-number {
  position: absolute;
  right: 18px;
  top: 14px;
  font: 9px var(--mono);
  color: #526249;
}
.card-body {
  padding: 23px 25px 25px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}
.card-heading h3 {
  font: 400 28px/1.2 var(--serif);
  letter-spacing: -0.2px;
}
.card-category {
  font: 8px/1.4 var(--mono);
  letter-spacing: 0.4px;
  color: var(--muted);
  text-align: right;
}
.card-body > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 365px;
  line-height: 1.8;
  min-height: 43px;
}
.card-body .project-link {
  margin-top: 22px;
  color: #474e3e;
}
.opcode-art {
  background: #e8e9e0;
  background-image:
    linear-gradient(#d5d8c455 1px, transparent 1px),
    linear-gradient(90deg, #d5d8c455 1px, transparent 1px);
  background-size: 24px 24px;
}
.signal-track {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 90px;
  transform: skewY(-8deg);
  margin-top: -4px;
}
.signal-track i {
  display: block;
  width: 17px;
  height: 22px;
  border: 1px solid #6c805e;
  background: #ccd6be;
  box-shadow: 5px 5px 0 #8c9b7f33;
  transition: height 0.4s;
}
.signal-track i:nth-child(3n) {
  height: 60px;
  background: #839773;
}
.signal-track i:nth-child(4n) {
  height: 82px;
  background: #647d52;
}
.signal-track i:nth-child(5n) {
  height: 40px;
  background: #b3c1a2;
}
.project-card:hover .signal-track i:nth-child(4n) {
  height: 67px;
}
.project-card:hover .signal-track i:nth-child(3n) {
  height: 82px;
}
.cheese-art {
  background: #eee7d8;
}
.cheese-art::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px dashed #ccbca2;
  border-radius: 50%;
  top: 29px;
  left: calc(50% - 99px);
}
.key-diagram {
  position: relative;
  transform: rotate(-32deg);
  width: 175px;
  height: 83px;
  margin-top: -18px;
}
.key-circle {
  position: absolute;
  left: 0;
  top: 0;
  border: 11px solid #b78c47;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow:
    inset 1px 1px 0 #a4782d,
    2px 3px 0 #9e763332;
}
.key-shaft {
  position: absolute;
  height: 13px;
  width: 105px;
  background: #b78c47;
  left: 63px;
  top: 30px;
  box-shadow: 1px 3px 0 #9e763332;
}
.key-tooth {
  position: absolute;
  top: 40px;
  width: 13px;
  height: 20px;
  background: #b78c47;
  box-shadow: 1px 3px 0 #9e763332;
}
.tooth-one {
  right: 8px;
}
.tooth-two {
  right: 36px;
}
.key-spark {
  position: absolute;
  right: 18px;
  top: -18px;
  font: 27px var(--serif);
  color: #967442;
}
.handheld-art {
  background: #e6e6df;
}
.mini-handheld {
  width: 106px;
  height: 139px;
  border: 1px solid #777e70;
  border-radius: 9px 9px 20px 9px;
  background: #c8ccbd;
  box-shadow:
    5px 6px 0 #a7ac9b,
    12px 15px 17px #46503516;
  transform: rotate(-12deg);
  padding: 11px;
  position: relative;
  margin-top: -15px;
}
.mini-screen {
  height: 67px;
  background: #acbc8d;
  border: 6px solid #586150;
  border-radius: 3px;
  display: grid;
  place-items: center;
}
.mini-screen > span {
  font: 8px/1.45 var(--mono);
  color: #354a2d;
  letter-spacing: 1px;
}
.pixel-dot {
  color: #455d35;
  padding-left: 3px;
}
.mini-controls {
  display: flex;
  gap: 5px;
  margin-top: 13px;
  margin-left: 2px;
}
.mini-controls i {
  width: 12px;
  height: 12px;
  background: #59644e;
  border-radius: 50%;
  box-shadow: 1px 2px 0 #35432d;
}
.mini-controls i:nth-child(3),
.mini-controls i:nth-child(4) {
  background: #ba7154;
  box-shadow: 1px 2px 0 #995033;
}
.mini-speaker {
  width: 25px;
  height: 12px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #8e9782 3px 4px
  );
  position: absolute;
  right: 15px;
  bottom: 8px;
  transform: skewY(-15deg);
}
.solver-art {
  background: #e1e7e3;
}
.solver-art svg {
  height: 185px;
  width: 90%;
  margin-top: -9px;
  max-width: 360px;
}
.all-code {
  margin-top: 30px;
  font-size: 11px;
}
.notes-section {
  background: #eeefe6;
  border-block: 1px solid var(--line);
  padding-top: 73px;
  padding-bottom: 50px;
}
.notes-section .section-heading {
  margin-bottom: 39px;
}
.note-list {
  border-top: 1px solid #cdd2c2;
}
.note-row {
  display: grid;
  grid-template-columns: 128px 1fr 83px 20px;
  gap: 22px;
  align-items: center;
  padding: 29px 0;
  border-bottom: 1px solid #cdd2c2;
  transition:
    padding 0.2s,
    background 0.2s;
}
.note-row:hover {
  background: #e7eadd;
  padding-left: 10px;
  padding-right: 10px;
}
.note-type {
  font: 8px/1.6 var(--mono);
  letter-spacing: 0.7px;
  color: #53624c;
}
.note-row h3 {
  font: 400 24px/1.3 var(--serif);
  letter-spacing: 0.1px;
}
.note-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.note-date {
  font: 9px var(--mono);
  color: #58674f;
  text-align: right;
}
.note-arrow {
  font-size: 21px;
  align-self: start;
  margin-top: 0;
}
.notes-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 24px;
  align-items: center;
}
.notes-foot .text-link {
  font-size: 10px;
  color: var(--ink);
}
.about-section {
  padding-top: 84px;
  padding-bottom: 92px;
}
.about-section .section-heading {
  margin-bottom: 35px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 120px;
  align-items: start;
}
.about-copy > p {
  font-size: 14px;
  line-height: 1.95;
  margin-top: 18px;
  color: #606657;
}
.about-copy .about-lead {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 0;
  color: var(--ink);
  letter-spacing: -0.3px;
  max-width: 440px;
}
.about-links {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 27px;
}
.about-links .text-link {
  font-size: 11px;
}
.quiet-link {
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #bac0ae;
}
.side-quest {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 16px 22px 18px;
  background: #eeefe6;
}
.side-quest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
#game-music {
  min-height: 44px;
  padding: 8px 0 8px 12px;
  font: 12px/1.5 var(--sans);
  color: #566448;
  text-decoration: underline;
  text-underline-offset: 3px;
  touch-action: manipulation;
}
#game-music:hover {
  color: var(--ink);
}
#game-music:disabled {
  text-decoration: none;
}
.game-console {
  background: #d3d6c7;
  border: 1px solid #a0a893;
  border-radius: 9px 9px 24px 9px;
  box-shadow:
    3px 4px 0 #b5bba6,
    6px 10px 12px #5265410c;
  max-width: 275px;
  margin: 23px auto 20px;
  padding: 13px 17px 18px;
  transform: rotate(-2deg);
}
.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font: 11px var(--mono);
  letter-spacing: 1.5px;
  color: #505c46;
}
.power-led {
  height: 4px;
  width: 4px;
  background: #a34f33;
  border-radius: 50%;
}
.game-screen {
  position: relative;
  background: #b9c991;
  border: 6px solid #58614b;
  border-bottom-width: 16px;
  border-radius: 3px;
  aspect-ratio: 4/3;
  box-sizing: content-box;
  overflow: hidden;
}
#snake-canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  touch-action: none;
}
.game-hud {
  position: absolute;
  top: 5px;
  inset-inline: 7px;
  font: 11px var(--mono);
  letter-spacing: 1px;
  color: #465635;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: #b9c991ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #3f512f;
}
.game-overlay[hidden] {
  display: none;
}
.game-overlay-title {
  font: 16px/1.3 var(--mono);
  letter-spacing: 1px;
  text-align: center;
}
.game-overlay button {
  font: 12px var(--mono);
  background: #425735;
  color: #dbe4c6;
  padding: 12px 14px;
  border-radius: 1px;
}
.game-overlay button:hover {
  background: #263e20;
}
.game-overlay button span {
  margin-left: 8px;
}
.console-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
}
.game-controls {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 3px;
}
.game-controls button {
  font: 18px var(--mono);
  background: #5c684e;
  border-radius: 50%;
  color: #eff1e4;
  width: 44px;
  height: 44px;
  box-shadow: 0 3px 0 #47513c;
  border: 1px solid #536046;
  padding: 0;
  touch-action: manipulation;
}
.game-controls button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #47513c;
}
.game-pause {
  font-size: 18px;
  padding: 10px;
  line-height: 1;
  color: #637055;
  margin-left: auto;
}
.game-pause:disabled {
  opacity: 0.35;
}
.game-instructions {
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: #59654e;
}
.game-instructions span {
  font-size: 11px;
  color: #58674f;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding-top: 62px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 80px;
}
.contact-section h2 {
  font-size: 67px;
  line-height: 1.03;
  position: relative;
  display: inline-block;
}
.contact-section h2 em {
  color: var(--accent);
}
.contact-section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 21px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  padding-top: 42px;
}
.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  font-size: 14px;
  transition: color 0.2s;
}
.contact-links a:hover {
  color: var(--accent);
}
.contact-links a > span:last-child {
  font-size: 20px;
  line-height: 1;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 31px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer p {
  font-size: 11px;
  color: var(--muted);
}
.text-version {
  font-size: 12px;
  color: #566448;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: 12px;
}
.back-top {
  font-size: 11px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.back-top span {
  font-size: 15px;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #b2baa6;
  border-radius: 5px;
  max-width: 620px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 56px);
  padding: 0;
  box-shadow: 0 20px 100px #14200c30;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #212c22a6;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: dialog-in 0.22s ease-out;
}
.dialog-inner {
  padding: 12px 36px 32px;
}
.dialog-top {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;

  color: var(--muted);
}
.dialog-close {
  font: 27px/1 var(--sans);
  width: 44px;
  height: 44px;
  background: #e7e9de;
  border-radius: 50%;
}
.dialog-close:hover {
  background: #d9dfcc;
}
.dialog-category {
  margin-top: 12px;
  color: var(--accent);
  font-size: 12px;
}
.dialog-inner h2 {
  margin-top: 10px;
  font-size: 56px;
}
.dialog-intro {
  font-size: 17px;
  margin-top: 15px;
  color: #58644e;
}
#dialog-body {
  margin-top: 24px;
  color: #5e6655;
  font-size: 14px;
  line-height: 1.85;
}
#dialog-body p + p {
  margin-top: 15px;
}
.dialog-links {
  display: flex;
  flex-direction: column;
  margin-top: 27px;
  gap: 11px;
}
.dialog-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid #c7cfbc;
  border-radius: 3px;
  font-size: 13px;
  background: #e7ecde;
}
.dialog-links a:hover {
  background: #dfe6d3;
}
.dialog-links a span {
  font-size: 19px;
}
body.dialog-open {
  overflow: hidden;
}
@keyframes board-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes led-glow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1450px) {
  .hero {
    gap: 106px;
    padding-top: 82px;
    padding-bottom: 83px;
  }
  .hero-workbench {
    margin-top: 15px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .hero {
    gap: 30px;
    padding-top: 55px;
    min-height: 620px;
  }
  h1 {
    font-size: 95px;
  }
  .about-grid {
    gap: 65px;
  }
  .featured-copy {
    padding: 28px;
  }
  .refactor-illustration {
    padding: 22px 18px;
  }
  .diagram-topline {
    flex-wrap: wrap;
    gap: 5px;
  }
  .diagram-footer > span {
    max-width: 130px;
  }
  .contact-section {
    gap: 50px;
  }
  .contact-section h2 {
    font-size: 61px;
  }
  .note-row {
    grid-template-columns: 105px 1fr 73px 17px;
    gap: 15px;
  }
  .note-row h3 {
    font-size: 22px;
  }
  .side-quest {
    padding-inline: 17px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 84px;
  }
  .site-header nav {
    margin-left: 0;
    gap: 24px;
    font-size: 13px;
  }
  .header-contact {
    font-size: 12px;
    gap: 17px;
    padding: 10px 12px;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    min-height: 570px;
    padding-top: 50px;
    padding-bottom: 40px;
  }
  h1 {
    font-size: 79px;
    letter-spacing: -1.5px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .hero-now {
    font-size: 12px;
  }
  .now-description {
    font-size: 11px;
  }
  .board-selector {
    gap: 2px;
  }
  .board-selector button {
    font-size: 11px;
    padding: 12px 10px;
  }
  .board-caption {
    font-size: 12px;
    min-height: 42px;
  }
  .section-space {
    padding-top: 66px;
    padding-bottom: 60px;
  }
  h2 {
    font-size: 49px;
  }
  .section-aside {
    font-size: 10px;
  }
  .featured-copy {
    padding: 24px;
  }
  .featured-copy h3 {
    font-size: 52px;
  }
  .project-subtitle {
    font-size: 15px;
  }
  .project-description {
    font-size: 14px;
  }
  .refactor-illustration {
    padding: 19px 13px;
  }
  .diagram-state {
    font-size: 11px;
  }
  .diagram-footer {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
  }
  .diagram-footer > span {
    max-width: none;
  }
  .diagram-footer button {
    font-size: 12px;
    padding: 11px 13px;
  }
  #refactor-graph {
    min-height: 190px;
  }
  .card-art {
    height: 185px;
  }
  .card-body {
    padding: 20px;
  }
  .card-heading h3 {
    font-size: 25px;
  }
  .card-category {
    font-size: 7px;
  }
  .card-body > p {
    font-size: 11px;
    min-height: 59px;
  }
  .project-grid {
    gap: 20px;
  }
  .note-row {
    grid-template-columns: 90px 1fr 17px;
    gap: 15px;
  }
  .note-date {
    display: none;
  }
  .note-row h3 {
    font-size: 21px;
  }
  .note-type {
    font-size: 7px;
  }
  .about-grid {
    gap: 35px;
    grid-template-columns: 1.1fr 1fr;
  }
  .about-copy > p {
    font-size: 12px;
  }
  .about-copy .about-lead {
    font-size: 18px;
  }
  .side-quest {
    padding-inline: 12px;
  }
  .game-console {
    padding: 11px 12px 14px;
  }
  .game-controls {
    grid-template-columns: repeat(4, 44px);
    gap: 3px;
  }
  .game-controls button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .console-bottom {
    gap: 6px;
  }
  .game-overlay-title {
    font-size: 13px;
  }
  .contact-section {
    gap: 35px;
    padding-block: 50px;
  }
  .contact-section h2 {
    font-size: 54px;
  }
  .contact-section p {
    font-size: 14px;
  }
  .contact-links a {
    font-size: 14px;
  }
  .desktop-break {
    display: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    padding-block: 12px 4px;
    gap: 4px 16px;
  }
  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 19px;
    font-size: 13px;
  }
  .header-contact {
    gap: 9px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .header-contact span {
    font-size: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 36px;
    gap: 30px;
    min-height: 0;
  }
  h1 {
    font-size: clamp(78px, 18vw, 105px);
    line-height: 0.92;
    margin-top: 29px;
    margin-bottom: 25px;
    letter-spacing: -2px;
  }
  .hero-intro {
    font-size: 16px;
    max-width: 330px;
  }
  .hero-now {
    font-size: 13px;
    margin-top: 21px;
  }
  .now-description {
    font-size: 12px;
  }
  .hero-link {
    margin-top: 23px;
  }
  .hero-workbench {
    margin-top: 4px;
    max-width: 410px;
    width: 100%;
    justify-self: center;
  }
  .circuit-board {
    max-height: 294px;
  }
  .board-selector {
    margin-top: -4px;
    justify-content: space-around;
    padding-top: 13px;
  }
  .board-selector button {
    font-size: 11px;
    padding: 12px 10px;
  }
  .board-caption {
    font-size: 12px;
    padding-top: 11px;
    min-height: 30px;
  }
  .section-space {
    padding-block: 51px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  h2 {
    font-size: 46px;
  }
  .section-aside {
    font-size: 11px;
    margin-top: 19px;
    max-width: 100%;
    line-height: 1.7;
  }
  .section-aside br {
    display: none;
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-copy {
    padding: 25px 25px 29px;
  }
  .featured-copy h3 {
    font-size: 59px;
    margin-top: 0;
  }
  .project-subtitle {
    font-size: 17px;
  }
  .project-description {
    font-size: 14px;
    max-width: 390px;
  }
  .featured-copy > .project-link {
    margin-top: 16px;
  }
  .refactor-illustration {
    border-left: 0;
    border-top: 1px solid #cbd2bd;
    padding: 21px 21px 19px;
  }
  .diagram-state {
    font-size: 11px;
  }
  #refactor-graph {
    min-height: 0;
    height: auto;
    flex: none;
    margin: 13px 0;
  }
  .diagram-footer {
    flex-wrap: nowrap;
    font-size: 12px;
  }
  .diagram-footer button {
    padding: 11px 13px;
  }
  .work-toolbar {
    padding-top: 29px;
    padding-bottom: 17px;
    gap: 5px;
  }
  .filters {
    font-size: 9px;
    gap: 1px;
  }
  .filters button {
    padding: 6px 7px;
  }
  .filters button span {
    font-size: 8px;
    margin-left: 2px;
  }
  .project-grid {
    gap: 19px;
    grid-template-columns: 1fr;
  }
  .card-art {
    height: 193px;
  }
  .card-body {
    padding: 22px;
  }
  .card-heading h3 {
    font-size: 29px;
  }
  .card-category {
    font-size: 8px;
  }
  .card-body > p {
    font-size: 12px;
    min-height: 0;
    max-width: 100%;
  }
  .card-body .project-link {
    margin-top: 20px;
  }
  .all-code {
    margin-top: 25px;
  }
  .notes-section {
    padding-top: 47px;
    padding-bottom: 30px;
  }
  .notes-section .section-heading {
    margin-bottom: 26px;
  }
  .note-row {
    grid-template-columns: 1fr 20px;
    gap: 7px 12px;
    padding: 22px 0;
  }
  .note-type {
    grid-column: 1;
    font-size: 7px;
  }
  .note-row > div {
    grid-column: 1;
  }
  .note-row h3 {
    font-size: 24px;
    max-width: 320px;
  }
  .note-row p {
    font-size: 10px;
    line-height: 1.7;
    max-width: 290px;
  }
  .note-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
  .notes-foot {
    align-items: flex-start;
    gap: 17px;
    font-size: 9px;
  }
  .notes-foot > span {
    max-width: 180px;
  }
  .notes-foot .text-link {
    font-size: 9px;
    gap: 9px;
    white-space: nowrap;
    margin-top: 2px;
  }
  .about-section {
    padding-top: 51px;
    padding-bottom: 49px;
  }
  .about-section .section-heading {
    margin-bottom: 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-copy .about-lead {
    font-size: 21px;
    max-width: 340px;
  }
  .about-copy > p {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 17px;
  }
  .about-links {
    margin-top: 23px;
    gap: 15px 25px;
  }
  .side-quest {
    max-width: 390px;
    width: 100%;
    margin: auto;
    padding: 18px 24px 20px;
  }
  .game-console {
    max-width: 270px;
    margin-top: 24px;
    padding: 13px 17px 18px;
  }
  .game-controls {
    grid-template-columns: repeat(4, 44px);
    gap: 3px;
  }
  .game-controls button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .console-bottom {
    gap: 6px;
  }
  .game-overlay-title {
    font-size: 16px;
  }
  .game-instructions {
    font-size: 12px;
  }
  .game-instructions span {
    font-size: 11px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 38px;
    padding-bottom: 36px;
  }
  .contact-section h2 {
    font-size: 60px;
  }
  .contact-section p {
    font-size: 14px;
    margin-top: 19px;
    max-width: 325px;
  }
  .contact-links {
    padding-top: 7px;
  }
  .contact-links a {
    padding: 16px 0;
    font-size: 14px;
  }
  .site-footer {
    padding-top: 23px;
    padding-bottom: 26px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .site-footer p {
    font-size: 11px;
  }
  .text-version {
    order: 1;
    width: 100%;
    padding-block: 4px;
  }
  .back-top {
    font-size: 11px;
    gap: 7px;
  }
  .back-top span {
    font-size: 13px;
  }
  .dialog-inner {
    padding: 12px 36px 32px;
  }
  .dialog-top {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--paper);
    padding-bottom: 8px;
  }
  .dialog-inner h2 {
    font-size: 49px;
  }
  .dialog-category {
    margin-top: 12px;
  }
  .dialog-intro {
    font-size: 16px;
  }
  #dialog-body {
    font-size: 14px;
    margin-top: 20px;
  }
  .dialog-links a {
    font-size: 13px;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header nav {
    gap: 13px;
  }
  h1 {
    font-size: 79px;
  }
  .board-selector button {
    font-size: 11px;
    padding: 12px 10px;
  }
  .featured-copy {
    padding-inline: 21px;
  }
  .diagram-footer > span {
    max-width: 140px;
  }
  .contact-section h2 {
    font-size: 53px;
  }
  .side-quest {
    padding-inline: 15px;
  }
  .site-footer p {
    max-width: 165px;
  }
  .back-top {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .board-assembly {
    animation: none;
  }
}

/* Strongest work first; personal projects are the final section. */
.solver-feature {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid #bdc7c0;
  border-radius: 4px;
  background: #e5e9e3;
  margin-bottom: 24px;
  overflow: hidden;
  scroll-margin-top: 35px;
}
.solver-copy {
  padding: 38px;
}
.solver-copy h3 {
  font: 400 48px/1.06 var(--serif);
  letter-spacing: -0.5px;
  margin: 0 0 22px;
}
.solver-copy h3 em {
  color: #536c5d;
}
.solver-copy > p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 360px;
  color: #4f5d52;
  margin-top: 12px;
}
.solver-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin-top: 18px;
}
.solver-links .quiet-link {
  font-size: 12px;
  color: #4d6054;
}
.solver-numbers {
  padding: 30px 38px;
  background: #d8e0d8;
  border-left: 1px solid #bdc7c0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.solver-volume {
  font: 400 112px/1 var(--serif);
  letter-spacing: -4px;
  color: #314e3e;
}
.solver-volume span {
  color: var(--accent);
}
.solver-numbers p {
  font-size: 14px;
  color: #4f5d52;
}
.solver-share {
  display: flex;
  align-items: center;
  gap: 17px;
  border-top: 1px solid #b5c2b6;
  padding-top: 20px;
  margin-top: 24px;
}
.solver-share strong {
  font: 400 36px/1 var(--serif);
  color: #314e3e;
  white-space: nowrap;
}
.metric-source {
  font: 9px/1.7 var(--mono);
  color: #4e6053;
  margin-top: 26px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.work-section .project-grid {
  margin-top: 24px;
}
.crowdless-art {
  background: #e7e8dc;
}
.crowd-dots {
  width: 225px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 15px;
}
.crowd-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a5b19b;
}
.crowd-dots i:nth-child(7n) {
  background: #b45f42;
}
.crowd-dots i:nth-child(3n) {
  background: #657b60;
}
.math-art {
  background: #e9e2d6;
}
.math-equation {
  font: italic 100px/1 var(--serif);
  color: #79664a;
}
.math-equation sup {
  font-size: 55px;
  color: #ab573d;
}
.qvote-art {
  background: #dfe5df;
}
.vote-bars {
  display: flex;
  align-items: flex-end;
  height: 90px;
  gap: 17px;
}
.vote-bars i {
  width: 25px;
  background: #9aac9d;
  height: 35px;
  border-radius: 2px 2px 0 0;
}
.vote-bars i:nth-child(2) {
  height: 58px;
}
.vote-bars i:nth-child(3) {
  height: 78px;
  background: #657d6a;
}
.vote-bars i:nth-child(4) {
  height: 90px;
  background: #b2694c;
}
.vote-bars i:nth-child(5) {
  height: 66px;
}
.career-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
}
.career-facts {
  margin: 0;
}
.career-facts > div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.career-facts dt {
  font-size: 14px;
  font-weight: 600;
}
.career-facts dd {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 7px 0 0;
}
.side-projects {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 80px;
  padding-block: 55px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.side-projects h2 {
  font-size: 38px;
}
.side-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  max-width: 420px;
}
.side-list li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 14px 0;
}
.side-list strong {
  font-weight: 500;
  color: var(--ink);
}
.side-list a {
  color: #566448;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-detail {
  display: inline-flex;
  padding: 8px 0;
  color: #566448;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
}
.side-projects .side-quest {
  width: 100%;
  max-width: 325px;
  justify-self: end;
}
.contact-section {
  padding-bottom: 65px;
}
@media (max-width: 1100px) {
  .solver-copy,
  .solver-numbers {
    padding: 28px;
  }
  .solver-copy h3 {
    font-size: 43px;
  }
  .solver-volume {
    font-size: 97px;
  }
  .career-grid,
  .side-projects {
    gap: 42px;
  }
}
@media (max-width: 800px) {
  .solver-copy,
  .solver-numbers {
    padding: 24px;
  }
  .solver-copy h3 {
    font-size: 36px;
  }
  .solver-volume {
    font-size: 88px;
  }
  .solver-share {
    flex-wrap: wrap;
    gap: 8px;
  }
  .career-grid,
  .side-projects {
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .solver-feature,
  .career-grid,
  .side-projects {
    grid-template-columns: 1fr;
  }
  .solver-copy h3 {
    font-size: 42px;
  }
  .solver-numbers {
    border-left: 0;
    border-top: 1px solid #bdc7c0;
    padding: 22px 24px;
  }
  .solver-volume {
    font-size: 84px;
  }
  .solver-share {
    margin-top: 18px;
    padding-top: 16px;
    gap: 16px;
  }
  .solver-share strong {
    font-size: 30px;
  }
  .metric-source {
    margin-top: 18px;
  }
  .side-projects {
    padding-block: 40px;
  }
  .side-projects .side-quest {
    justify-self: center;
  }
  .contact-section {
    padding-bottom: 42px;
  }
}

/* The full timeline repeats featured work in context,
 newest first. */
.work-history {
  margin-top: 65px;
  scroll-margin-top: 95px;
}
.timeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 30px;
}
.timeline-heading h3 {
  font: 400 42px/1.1 var(--serif);
}
.timeline-heading > p {
  font-size: 9px;
  color: var(--muted);
}
.work-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.work-timeline > li {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 36px;
}
.timeline-date {
  padding-top: 29px;
  font: 11px/1.7 var(--mono);
  color: var(--muted);
}
.timeline-location {
  display: block;
  margin-top: 5px;
  font: 12px/1.6 var(--sans);
}
.timeline-copy {
  position: relative;
  padding: 23px 0 27px 32px;
  border-left: 1px solid #cdd1bd;
  border-top: 1px solid var(--line);
}
.timeline-copy::before {
  content: "";
  position: absolute;
  top: 31px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7e8b69;
  box-shadow: 0 0 0 5px var(--paper);
}
.timeline-copy h4 {
  font: 400 29px/1.3 var(--serif);
}
.timeline-role {
  font: 12px/1.6 var(--sans);
  color: var(--muted);
  white-space: nowrap;
}
.timeline-copy > p {
  max-width: 590px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.timeline-copy .project-link {
  margin-top: 4px;
}
.timeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.timeline-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  margin-left: 161px;
  padding: 16px 0 16px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
.timeline-archive > summary::-webkit-details-marker {
  display: none;
}
.archive-title {
  font: 400 26px/1.3 var(--serif);
}
.archive-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #566448;
  font-size: 12px;
}
.archive-action svg {
  flex: none;
}
.timeline-archive > summary:hover .archive-action {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.archive-hide,
.timeline-archive[open] .archive-show,
.timeline-archive[open] .archive-plus {
  display: none;
}
.timeline-archive[open] .archive-hide {
  display: inline;
}
.timeline-archive[open] > summary {
  border-bottom-color: transparent;
}
.university-work-title {
  margin: 24px 0 8px;
  font: 500 14px/1.75 var(--sans);
}
.university-work {
  max-width: 590px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.university-work li + li {
  margin-top: 10px;
}
.university-work strong {
  font-weight: 500;
  color: var(--ink);
}
.university-work a,
.university-project {
  padding: 0;
  font: inherit;
  color: #566448;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .work-history {
    margin-top: 45px;
  }
  .timeline-heading h3 {
    font-size: 36px;
  }
  .work-timeline > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    position: relative;
    padding-left: 22px;
    border-left: 1px solid #cdd1bd;
  }
  .timeline-date {
    padding-top: 23px;
    border-top: 1px solid var(--line);
  }
  .timeline-location {
    display: inline;
    margin-left: 12px;
  }
  .timeline-copy {
    position: static;
    padding: 8px 0 25px;
    border: 0;
  }
  .timeline-copy::before {
    top: 28px;
  }
  .timeline-copy h4 {
    font-size: 27px;
  }
  .timeline-archive > summary {
    margin-left: 0;
    padding-left: 22px;
  }
  .archive-title {
    font-size: 24px;
  }
  .archive-action {
    gap: 8px;
  }
}

/* Current work leads the introduction. */
.hero-now {
  margin-top: 0;
  font-size: 17px;
}
.hero-now .now-description {
  font-size: 15px;
}
.hero-now + .hero-intro {
  margin-top: 21px;
  font-size: 14px;
  color: var(--muted);
}

.career-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 34px 38px;
  margin-top: 24px;
  background: #eee9df;
  border: 1px solid #d5cebd;
  border-radius: 4px;
}
.career-feature h3 {
  font: 400 47px/1.1 var(--serif);
  margin: 0 0 13px;
}
.career-context {
  font-size: 14px;
  color: #685a45;
}
.career-feature-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #5e584e;
}
.career-feature-copy .project-link {
  margin-top: 12px;
}
.ignite-art {
  background: #e5e0d5;
}
.wallet-art {
  width: 130px;
  height: 87px;
  border: 1px solid #8e907c;
  border-radius: 6px;
  padding: 17px;
  background: #d6d8c7;
  transform: rotate(-8deg);
  box-shadow: 5px 6px 0 #c3c5b3;
}
.wallet-art > span {
  font: 13px var(--mono);
  color: #596044;
}
.wallet-art i {
  display: block;
  height: 3px;
  width: 75%;
  margin-top: 8px;
  background: #8f997d;
}
.wallet-art i:last-child {
  width: 45%;
  background: #ac6e50;
}
.experience-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.experience-list > div {
  display: grid;
  grid-template-columns: 185px 1fr 90px;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.experience-list h3 {
  font: 400 24px/1.2 var(--serif);
}
.experience-list p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.experience-list > div > span {
  font: 9px/1.5 var(--mono);
  color: var(--muted);
  text-align: right;
}
.independent-work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 27px;
}
.independent-work p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.independent-work strong {
  font-weight: 500;
  color: var(--ink);
}
.education-copy {
  max-width: 650px;
}
.education-copy .about-lead {
  font-size: 20px;
}
.education-copy > p + p {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 18px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .career-feature {
    padding: 27px;
    gap: 24px;
  }
  .career-feature h3 {
    font-size: 39px;
  }
  .experience-list > div {
    grid-template-columns: 140px 1fr 75px;
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .career-feature,
  .independent-work {
    grid-template-columns: 1fr;
  }
  .career-feature {
    padding: 24px;
  }
  .career-feature h3 {
    font-size: 42px;
  }
  .experience-list > div {
    grid-template-columns: 1fr auto;
    gap: 9px 16px;
  }
  .experience-list p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .independent-work {
    gap: 18px;
  }
  .education-copy .about-lead {
    font-size: 18px;
  }
}

/* Shared interaction sizing and the small amount of new content above. */
.header-contact,
.site-header nav a,
.board-selector button,
.project-link,
.quiet-link,
.hero-link,
.back-top,
.inline-detail,
.diagram-footer button,
.game-pause,
.game-overlay button {
  min-height: 44px;
}
.quiet-link,
.hero-link,
.back-top,
.inline-detail {
  align-items: center;
}
.quiet-link {
  display: inline-flex;
}
.project-link:hover {
  color: #943f29;
}
.project-link[href^="#"]:hover span {
  transform: translateY(-3px);
}
.career-period {
  font: 12px/1.6 var(--mono);
  color: #685a45;
  margin-bottom: 12px;
}
.game-pause {
  min-width: 44px;
  flex-shrink: 0;
}
.side-quest-header {
  font: 13px/1.5 var(--mono);
}
@media (max-width: 600px) {
  h1 {
    margin-top: 0;
  }
  .hero-workbench {
    max-width: 350px;
  }
  .circuit-board {
    max-height: 240px;
  }
  .refactor-illustration {
    padding: 16px 21px;
  }
  #refactor-graph {
    height: 150px;
    margin: 4px 0;
  }
  .dialog-inner {
    padding: 8px 24px 28px;
  }
  .game-console {
    padding-inline: 12px;
  }
  .console-bottom {
    justify-content: space-between;
  }
}
