:root {
  --ink: #111214;
  --ink-soft: #1a1c1f;
  --paper: #ede7d7;
  --paper-deep: #d8cfba;
  --bone: #f7f2e7;
  --orange: #ef5b27;
  --orange-dark: #b93c14;
  --acid: #d7ff43;
  --blue: #6c86ff;
  --line: rgba(255,255,255,.12);
  --muted: #a7a8ab;
  --mono: "DM Mono", monospace;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: #f5f5f3;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 32px 32px;
  font-family: var(--sans);
  overflow-x: hidden;
}

body.palette-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .05;
  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='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.shell {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  background: rgba(17,18,20,.86);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}

.wordmark-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50% 45% 52% 48%;
  font: 700 19px/1 var(--mono);
  transform: rotate(-7deg);
  box-shadow: 4px 4px 0 var(--orange);
}

.wordmark > span:last-child {
  display: grid;
  line-height: 1;
}

.wordmark strong {
  font: 700 15px/1 var(--mono);
  letter-spacing: .12em;
}

.wordmark small {
  margin-top: 7px;
  color: var(--muted);
  font: 400 10px/1 var(--mono);
  letter-spacing: .04em;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.topnav a {
  padding: 10px 12px;
  color: #c6c7c8;
  border-radius: 999px;
  font: 500 12px/1 var(--mono);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}

.topnav a:hover {
  color: white;
  background: rgba(255,255,255,.07);
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.key-button,
.menu-button {
  border: 0;
  color: #d1d2d3;
  background: transparent;
  cursor: pointer;
}

.key-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 11px/1 var(--mono);
}

.key-button kbd {
  padding: 6px 7px;
  color: #a7a8aa;
  border: 1px solid rgba(255,255,255,.15);
  border-bottom-color: rgba(255,255,255,.28);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  font: inherit;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #e9e9e7;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  font: 500 11px/1 var(--mono);
  text-decoration: none;
}

.status-pill i,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(215,255,67,.1);
}

.menu-button {
  display: none;
  font: 500 12px/1 var(--mono);
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 172px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.hero-shadow {
  position: absolute;
  top: 98px;
  left: -5vw;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  font: 700 clamp(170px, 28vw, 450px)/.8 var(--sans);
  letter-spacing: -.09em;
  pointer-events: none;
  user-select: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-intro h2,
.github-side h2,
.about-title h2,
.commission-copy h2 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -.055em;
}

.hero-copy h1 {
  max-width: 940px;
  font-size: clamp(58px, 7.3vw, 126px);
  line-height: .89;
}

.hero-lede {
  max-width: 780px;
  margin: 36px 0 0;
  color: #b9babc;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 500 12px/1 var(--mono);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-solid {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--orange);
}

.button-solid:hover {
  box-shadow: 8px 8px 0 var(--orange);
}

.button-plain {
  color: #eeeeec;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
}

.button-dark {
  color: white;
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 44px;
}

.hero-footnote span {
  padding: 8px 11px;
  color: #a9abad;
  border: 1px dashed rgba(255,255,255,.16);
  font: 400 11px/1 var(--mono);
}

.scratchpad {
  position: relative;
  color: #181817;
  background: var(--paper);
  padding: 42px 34px 30px;
  transform: rotate(2.1deg);
  box-shadow: 16px 22px 0 rgba(0,0,0,.26);
}

.scratchpad::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background:
    linear-gradient(transparent 31px, rgba(27,28,26,.12) 32px),
    linear-gradient(90deg, transparent 31px, rgba(27,28,26,.06) 32px);
  background-size: 32px 32px;
}

.tape {
  position: absolute;
  z-index: 2;
  width: 88px;
  height: 25px;
  background: rgba(232,224,196,.67);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.tape-one {
  top: -11px;
  left: 17%;
  transform: rotate(-5deg);
}

.tape-two {
  top: -8px;
  right: 12%;
  transform: rotate(8deg);
}

.scratch-head,
.scratch-bottom,
.scratchpad ul {
  position: relative;
  z-index: 1;
}

.scratch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid #1a1a18;
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
}

.scratch-head b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--paper);
  background: var(--orange);
  border-radius: 50%;
}

.scratchpad ul {
  list-style: none;
  margin: 24px 0 34px;
  padding: 0;
}

.scratchpad li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17,18,20,.17);
  font-size: 16px;
  line-height: 1.35;
}

.scratchpad li > span {
  color: var(--orange-dark);
  font: 500 11px/1.45 var(--mono);
}

.scratchpad code {
  font: 500 13px/1 var(--mono);
}

.scratch-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.scratch-bottom span {
  color: #55554f;
  font: 500 10px/1 var(--mono);
  text-transform: uppercase;
}

.scratch-bottom strong {
  max-width: 190px;
  color: var(--orange-dark);
  font-size: 20px;
  line-height: 1;
  text-align: right;
  transform: rotate(-2deg);
}

.workbench {
  padding: 110px 0 90px;
  scroll-margin-top: 72px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr .58fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2,
.github-side h2,
.about-title h2,
.commission-copy h2 {
  font-size: clamp(42px, 5.2vw, 84px);
  line-height: .96;
}

.section-intro > p:last-child,
.github-side > p,
.commission-copy > p {
  margin: 0;
  color: #aaabad;
  font-size: 17px;
  line-height: 1.6;
}

.bench-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 18px;
}

.map-wrap {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.13);
  background: #15171a;
  box-shadow: 12px 12px 0 rgba(0,0,0,.2);
}

.map-toolbar,
.map-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #1b1d20;
  font: 400 11px/1 var(--mono);
}

.map-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d2d4;
}

.map-tools {
  display: flex;
  gap: 5px;
}

.map-tools button {
  min-width: 32px;
  height: 29px;
  color: #d7d8da;
  border: 1px solid rgba(255,255,255,.12);
  background: #111214;
  font: 500 11px/1 var(--mono);
  cursor: pointer;
}

.map-tools button:hover {
  color: var(--ink);
  background: var(--acid);
}

.map-viewport {
  position: relative;
  height: 670px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(239,91,39,.1), transparent 28%),
    linear-gradient(rgba(255,255,255,.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.042) 1px, transparent 1px),
    #121417;
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.map-viewport.dragging {
  cursor: grabbing;
}

.map-canvas {
  position: absolute;
  width: 1300px;
  height: 920px;
  transform-origin: 0 0;
  will-change: transform;
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-lines line {
  stroke: rgba(255,255,255,.16);
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
}

.map-lines line.hot {
  stroke: rgba(239,91,39,.55);
  stroke-dasharray: none;
}

.map-origin {
  position: absolute;
  left: 568px;
  top: 385px;
  width: 164px;
  height: 110px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(215,255,67,.58);
  background: rgba(215,255,67,.08);
  box-shadow: inset 0 0 0 6px rgba(215,255,67,.03), 0 0 60px rgba(215,255,67,.08);
}

.map-origin span {
  color: var(--acid);
  font: 500 24px/1 var(--mono);
  letter-spacing: .14em;
}

.map-origin small {
  margin-top: 10px;
  color: #8c8f93;
  font: 400 9px/1 var(--mono);
}

.project-node {
  position: absolute;
  width: 178px;
  padding: 14px 14px 13px;
  color: #eee;
  border: 1px solid rgba(255,255,255,.18);
  background: #1b1e22;
  box-shadow: 7px 7px 0 rgba(0,0,0,.25);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.project-node:hover,
.project-node.active {
  z-index: 4;
  border-color: var(--acid);
  background: #22262b;
  transform: translate(-4px, -4px);
}

.project-node strong,
.project-node small,
.project-node b {
  display: block;
}

.project-node b {
  margin-bottom: 17px;
  color: var(--orange);
  font: 500 9px/1 var(--mono);
  text-transform: uppercase;
}

.project-node strong {
  font-size: 17px;
  line-height: 1.05;
}

.project-node small {
  margin-top: 7px;
  color: #8f9296;
  font: 400 10px/1.3 var(--mono);
}

.project-node::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.map-hint {
  min-height: 38px;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 0;
  color: #707378;
}

.map-hint span + span::before {
  content: "/";
  margin-right: 12px;
  color: #3f4246;
}

.project-file {
  position: relative;
  min-height: 756px;
  padding: 56px 34px 32px;
  color: #181817;
  background: var(--paper);
  box-shadow: 12px 12px 0 rgba(0,0,0,.24);
  overflow: hidden;
}

.project-file::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 30px, rgba(17,18,20,.12) 31px);
}

.file-tab {
  position: absolute;
  top: 0;
  right: 28px;
  padding: 13px 16px 11px;
  color: var(--paper);
  background: var(--orange);
  font: 500 10px/1 var(--mono);
}

.file-punches {
  position: absolute;
  top: 24px;
  left: 17px;
  display: grid;
  gap: 24px;
}

.file-punches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdb5a4;
  box-shadow: inset 1px 1px 2px rgba(0,0,0,.28);
}

.file-label,
.project-file h3,
.file-copy,
.file-meta,
.file-tags,
.file-links,
.file-stamp {
  position: relative;
  z-index: 1;
}

.file-label {
  margin: 0 0 11px;
  color: var(--orange-dark);
  font: 500 10px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-file h3 {
  margin: 0;
  max-width: 290px;
  font-size: 52px;
  line-height: .92;
  letter-spacing: -.06em;
}

.file-copy {
  margin: 28px 0 30px;
  font-size: 17px;
  line-height: 1.52;
}

.file-meta {
  margin: 0;
  border-top: 2px solid #1b1b19;
}

.file-meta div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17,18,20,.22);
}

.file-meta dt {
  color: #6c6b65;
  font: 500 9px/1.45 var(--mono);
  text-transform: uppercase;
}

.file-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.file-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
}

.file-tags span {
  padding: 7px 8px;
  border: 1px solid rgba(17,18,20,.25);
  font: 500 9px/1 var(--mono);
}

.file-links {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.text-button {
  padding: 0;
  color: #44443f;
  border: 0;
  background: transparent;
  font: 500 10px/1 var(--mono);
  cursor: pointer;
}

.file-stamp {
  position: absolute;
  right: -34px;
  bottom: 110px;
  padding: 8px 38px;
  color: rgba(185,60,20,.7);
  border: 3px solid rgba(185,60,20,.52);
  font: 500 15px/1 var(--mono);
  transform: rotate(-13deg);
}

.drawer {
  margin-top: 72px;
  color: #151618;
  background: var(--bone);
  box-shadow: 13px 13px 0 rgba(0,0,0,.22);
}

.drawer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  border-bottom: 2px solid var(--ink);
}

.drawer-top .eyebrow {
  margin-bottom: 8px;
}

.drawer-top h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.04em;
}

.drawer-top h3 + p {
  margin: 10px 0 0;
  max-width: 440px;
  color: #54565a;
  font-size: 14px;
}

.drawer-controls {
  display: flex;
  gap: 8px;
}

.search-field {
  display: flex;
  align-items: center;
  min-width: 260px;
  border: 1px solid rgba(17,18,20,.28);
  background: transparent;
}

.search-field span {
  padding: 0 10px;
  color: #6c6d69;
  font: 500 9px/1 var(--mono);
  text-transform: uppercase;
}

.search-field input,
.drawer-controls select {
  height: 42px;
  color: #171817;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 11px/1 var(--mono);
}

.search-field input {
  width: 100%;
  padding: 0 10px 0 0;
}

.drawer-controls select {
  padding: 0 36px 0 12px;
  border: 1px solid rgba(17,18,20,.28);
}

.drawer-labels,
.drawer-row {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr .65fr 80px;
  align-items: center;
}

.drawer-labels {
  min-height: 34px;
  padding: 0 30px;
  color: #777770;
  border-bottom: 1px solid rgba(17,18,20,.2);
  font: 500 9px/1 var(--mono);
  text-transform: uppercase;
}

.drawer-row {
  width: 100%;
  min-height: 66px;
  padding: 0 30px;
  color: #171817;
  border: 0;
  border-bottom: 1px solid rgba(17,18,20,.15);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, padding .15s ease;
}

.drawer-row:hover {
  padding-left: 38px;
  background: rgba(239,91,39,.09);
}

.drawer-row strong {
  font-size: 15px;
}

.drawer-row span {
  color: #565752;
  font-size: 13px;
}

.drawer-row em {
  color: #777770;
  font: normal 500 9px/1 var(--mono);
  text-transform: uppercase;
}

.drawer-row b {
  justify-self: end;
  color: var(--orange-dark);
  font: 500 14px/1 var(--mono);
}

.drawer-more {
  width: 100%;
  min-height: 54px;
  color: #1a1a18;
  border: 0;
  background: var(--paper-deep);
  font: 500 11px/1 var(--mono);
  cursor: pointer;
}

.drawer-more:hover {
  background: var(--acid);
}

.github-section {
  min-height: 780px;
  padding: 120px 0;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(45px, 8vw, 125px);
  align-items: center;
  scroll-margin-top: 72px;
}

.github-side > p {
  margin: 25px 0 30px;
}

.terminal {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.15);
  background: #0b0d0f;
  box-shadow: 14px 14px 0 rgba(239,91,39,.18);
  transform: rotate(-.7deg);
}

.terminal-bar {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #17191c;
  font: 400 10px/1 var(--mono);
}

.terminal-bar > span {
  display: flex;
  gap: 6px;
}

.terminal-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #484b50;
}

.terminal-bar i:first-child {
  background: var(--orange);
}

.terminal-bar i:nth-child(2) {
  background: #e0bd36;
}

.terminal-bar i:nth-child(3) {
  background: #6b8c68;
}

.terminal-bar b {
  color: #aeb0b3;
  font-weight: 400;
}

.terminal-bar small {
  justify-self: end;
  color: #686b70;
  font: inherit;
}

.terminal-command {
  padding: 20px 22px;
  color: #dadcde;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font: 400 12px/1 var(--mono);
}

.terminal-command span {
  margin-right: 11px;
  color: var(--acid);
}

.repo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: background .15s ease;
}

.repo-row:hover {
  background: rgba(215,255,67,.045);
}

.repo-row strong,
.repo-row span,
.repo-row small {
  display: block;
}

.repo-row strong {
  color: #f0f1f1;
  font: 500 13px/1 var(--mono);
}

.repo-row span {
  margin-top: 7px;
  color: #777b80;
  font-size: 12px;
  line-height: 1.4;
}

.repo-row small {
  align-self: center;
  color: #6f7277;
  font: 400 9px/1 var(--mono);
  white-space: nowrap;
}

.repo-loading {
  padding: 28px 22px;
  color: #777b80;
  font: 400 11px/1 var(--mono);
}

.about-section {
  position: relative;
  padding: 120px 0 150px;
  display: grid;
  grid-template-columns: 1.05fr .9fr .65fr;
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
  scroll-margin-top: 72px;
}

.about-copy {
  padding-top: 34px;
}

.about-copy p {
  margin: 0 0 24px;
  color: #b9babc;
  font-size: 18px;
  line-height: 1.65;
}

.about-receipt {
  position: relative;
  margin-top: 22px;
  padding: 26px 24px 34px;
  color: #1c1d1b;
  background: #e9e2d1;
  box-shadow: 10px 10px 0 rgba(0,0,0,.22);
  transform: rotate(2deg);
}

.about-receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 20px;
  background: linear-gradient(135deg, transparent 10px, #e9e2d1 0) 0 0/20px 20px repeat-x;
}

.receipt-top {
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(17,18,20,.38);
  font: 500 10px/1 var(--mono);
}

.receipt-row,
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(17,18,20,.25);
  font: 400 10px/1.35 var(--mono);
}

.receipt-row b,
.receipt-total b {
  text-align: right;
}

.receipt-total {
  margin-top: 8px;
  color: var(--orange-dark);
  border-bottom: 0;
  font-weight: 500;
}

.commission-section {
  padding: 100px 0;
  color: #171817;
  background: var(--orange);
  scroll-margin-top: 72px;
}

.commission-shell {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: start;
}

.commission-copy .eyebrow {
  color: #5e1d0a;
}

.commission-copy > p {
  margin-top: 26px;
  color: rgba(17,18,20,.74);
}

.example-note {
  margin-top: 35px;
  padding: 22px;
  background: rgba(255,255,255,.2);
  border-left: 5px solid var(--ink);
  transform: rotate(-1deg);
}

.example-note span {
  font: 500 9px/1 var(--mono);
  text-transform: uppercase;
}

.example-note p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.commission-links {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.commission-links a {
  width: max-content;
  color: #331108;
  font: 500 11px/1.4 var(--mono);
}

.brief-form {
  color: #1a1b19;
  background: var(--bone);
  box-shadow: 18px 18px 0 rgba(17,18,20,.35);
}

.form-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #d6d7d7;
  background: var(--ink);
  font: 400 10px/1 var(--mono);
}

.form-head b {
  color: var(--acid);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  padding: 28px;
}

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid label > span {
  color: #4d4d48;
  font: 500 10px/1 var(--mono);
}

.form-grid em {
  color: var(--orange-dark);
  font-style: normal;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: #151614;
  border: 1px solid rgba(17,18,20,.28);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,.34);
  font-size: 14px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 3px 3px 0 rgba(239,91,39,.18);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

.form-grid .short-area {
  min-height: 86px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid small {
  justify-self: end;
  color: #7c7d77;
  font: 400 9px/1 var(--mono);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-bottom {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 28px;
  border-top: 1px solid rgba(17,18,20,.18);
  background: #dfd7c6;
}

.form-bottom p {
  max-width: 500px;
  margin: 0;
  color: #5e5e58;
  font-size: 12px;
  line-height: 1.45;
}

.form-bottom button:disabled {
  opacity: .36;
  cursor: not-allowed;
  transform: none;
}

.footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
}

.footer > div:first-child {
  display: grid;
  gap: 8px;
}

.footer strong {
  color: var(--acid);
  font: 500 24px/1 var(--mono);
  letter-spacing: .14em;
}

.footer span,
.footer small,
.footer a {
  color: #74777b;
  font: 400 10px/1.4 var(--mono);
}

.footer > div:nth-child(2) {
  display: flex;
  gap: 17px;
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: start center;
  padding-top: 14vh;
}

.command-palette[hidden] {
  display: none;
}

.palette-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4,5,6,.75);
  backdrop-filter: blur(8px);
}

.palette-box {
  position: relative;
  width: min(640px, calc(100% - 28px));
  border: 1px solid rgba(255,255,255,.18);
  background: #141619;
  box-shadow: 18px 18px 0 rgba(239,91,39,.26);
}

.palette-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.palette-input > span {
  color: var(--acid);
  font: 500 22px/1 var(--mono);
}

.palette-input input {
  width: 100%;
  color: #f3f3f2;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.palette-input kbd {
  padding: 6px;
  color: #777a7e;
  border: 1px solid rgba(255,255,255,.13);
  font: 400 9px/1 var(--mono);
}

.palette-results {
  max-height: 380px;
  overflow: auto;
  padding: 8px;
}

.palette-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 12px;
  color: #e6e7e7;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.palette-item:hover,
.palette-item.active {
  color: var(--ink);
  background: var(--acid);
}

.palette-item strong,
.palette-item small {
  display: block;
}

.palette-item strong {
  font-size: 13px;
}

.palette-item small {
  margin-top: 4px;
  color: inherit;
  opacity: .58;
  font: 400 9px/1 var(--mono);
}

.palette-item em {
  font: normal 400 9px/1 var(--mono);
  opacity: .6;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  max-width: min(390px, calc(100% - 44px));
  padding: 14px 16px;
  color: #1a1b19;
  background: var(--acid);
  box-shadow: 6px 6px 0 var(--orange);
  font: 500 11px/1.4 var(--mono);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  color: white;
  background: var(--orange-dark);
  box-shadow: 6px 6px 0 #1a1b19;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 15px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.11);
    background: #131518;
  }

  .topnav.open {
    display: flex;
  }

  .menu-button {
    display: inline-block;
  }

  .key-button,
  .status-pill {
    display: none;
  }

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

  .scratchpad {
    width: min(560px, 92%);
    justify-self: end;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-intro > p:last-child {
    max-width: 600px;
  }

  .bench-layout {
    grid-template-columns: 1fr;
  }

  .project-file {
    min-height: 570px;
  }

  .github-section,
  .commission-shell {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr 1fr;
  }

  .about-receipt {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1500px);
  }

  .topbar {
    height: 66px;
    padding: 0 12px;
  }

  .topnav {
    top: 66px;
    flex-wrap: wrap;
  }

  .wordmark small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 126px 0 74px;
  }

  .hero-copy h1 {
    font-size: clamp(47px, 15vw, 75px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-shadow {
    top: 105px;
    font-size: 170px;
  }

  .scratchpad {
    width: 96%;
    padding: 38px 22px 26px;
  }

  .scratchpad li {
    font-size: 14px;
  }

  .scratch-bottom {
    align-items: start;
    flex-direction: column;
  }

  .scratch-bottom strong {
    max-width: none;
    text-align: left;
  }

  .workbench,
  .github-section,
  .about-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-intro h2,
  .github-side h2,
  .about-title h2,
  .commission-copy h2 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .map-viewport {
    height: 560px;
  }

  .map-hint {
    gap: 8px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .project-file {
    min-height: 620px;
    padding-left: 26px;
    padding-right: 26px;
  }

  .project-file h3 {
    font-size: 44px;
  }

  .file-links {
    left: 26px;
    right: 26px;
    align-items: stretch;
    flex-direction: column;
  }

  .text-button {
    text-align: left;
  }

  .drawer-top {
    align-items: stretch;
    flex-direction: column;
  }

  .drawer-controls {
    flex-direction: column;
  }

  .search-field {
    min-width: 0;
  }

  .drawer-labels {
    display: none;
  }

  .drawer-row {
    grid-template-columns: 1fr auto;
    gap: 7px 15px;
    min-height: 82px;
    padding: 14px 22px;
  }

  .drawer-row span {
    grid-column: 1;
  }

  .drawer-row em {
    display: none;
  }

  .drawer-row b {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .github-section {
    min-height: auto;
  }

  .terminal {
    transform: none;
  }

  .terminal-bar {
    grid-template-columns: 1fr auto;
  }

  .terminal-bar b {
    display: none;
  }

  .repo-row {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-receipt {
    grid-column: auto;
    width: 96%;
    justify-self: center;
  }

  .commission-section {
    padding: 78px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 50px 0;
  }

  .footer > div:nth-child(2) {
    flex-wrap: wrap;
  }
}

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

html { overflow-x: hidden; }

.hero-lede-secondary {
  margin-top: 16px;
  max-width: 680px;
  font-size: clamp(16px, 1.35vw, 20px);
}


.project-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .78fr);
  gap: 26px;
  align-items: stretch;
}

.project-index {
  min-width: 0;
  color: #151618;
  background: var(--bone);
  box-shadow: 13px 13px 0 rgba(0,0,0,.22);
}

.index-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 15px 22px;
  border-bottom: 2px solid var(--ink);
}

.index-toolbar > span {
  flex: 0 0 auto;
  color: #5b5d5f;
  font: 500 10px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.project-index .drawer-labels,
.project-index .drawer-row {
  grid-template-columns: 1.1fr 1.25fr .55fr 42px;
}

.project-index .drawer-labels,
.project-index .drawer-row {
  padding-left: 22px;
  padding-right: 22px;
}

.project-index .drawer-row.active {
  color: #111;
  background: var(--acid);
}

.project-index .drawer-row.active span,
.project-index .drawer-row.active em,
.project-index .drawer-row.active b {
  color: #303226;
}

.project-index .drawer-more {
  width: 100%;
}

.project-browser .project-file {
  min-height: 760px;
}

@media (max-width: 980px) {
  .project-browser {
    grid-template-columns: 1fr;
  }

  .project-browser .project-file {
    min-height: 650px;
  }
}

@media (max-width: 700px) {
  .index-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .index-toolbar .drawer-controls {
    width: 100%;
  }

  .index-toolbar .search-field {
    min-width: 0;
    flex: 1;
  }

  .project-index .drawer-labels {
    display: none;
  }

  .project-index .drawer-row {
    grid-template-columns: 1fr 38px;
    gap: 4px 12px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .project-index .drawer-row strong,
  .project-index .drawer-row span {
    grid-column: 1;
  }

  .project-index .drawer-row em {
    display: none;
  }

  .project-index .drawer-row b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
