@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/assets/fonts/plex.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f5f3eb;
  --white: #fffef9;
  --ink: #25291f;
  --muted: #64685b;
  --line: #d2d2c5;
  --blue: #4055d8;
  --blue-dark: #2e40b1;
  --mint: #dce5d7;
  --yellow: #f4d77f;
  --mono: Plex, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(22px, 4.6vw, 88px);
  --max: 1440px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(38px, 4.7vw, 72px);
}
h3 {
  font-size: clamp(27px, 3.2vw, 45px);
}
p + p {
  margin-top: 1em;
}
button svg,
a svg {
  flex-shrink: 0;
}
.wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}
.mono,
.eyebrow,
.meta {
  font: 12px/1.7 var(--mono);
  letter-spacing: 0.04em;
}
.eyebrow {
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 20px;
  top: 10px;
  transform: translateY(-180%);
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 243, 235, 0.96);
  backdrop-filter: blur(12px);
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  height: 34px;
  width: 39px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
}
.nav-links > a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 10px 0;
}
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}
.resume-link {
  border: 1px solid var(--ink);
  padding: 10px 17px !important;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}
.resume-link:hover {
  background: var(--ink);
  color: var(--paper);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  font: 12px var(--mono);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 22px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  min-height: 50px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--ink);
  background: var(--white);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translate(3px, -3px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #647d41;
  margin-right: 8px;
}
.hero {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#aaa99c50 0.8px, transparent 0.8px);
  background-size: 24px 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.3fr;
  align-items: center;
  min-height: 650px;
  padding-block: 46px 24px;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 28px;
}
.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tiny-cross {
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(82px, 9.9vw, 156px);
  line-height: 0.91;
  letter-spacing: -0.075em;
  margin: 25px 0;
}
.hero h1 > span {
  display: block;
}
.hero h1 .name-end {
  color: var(--blue);
  display: inline;
}
.hero-description {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  max-width: 345px;
  letter-spacing: -0.025em;
}
.hero-actions {
  margin-top: 26px;
}
.profile-links {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}
.profile-links a {
  font: 12px var(--mono);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.profile-links a:hover {
  border-color: currentColor;
}
.hero-education {
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
  max-width: 340px;
}
.desk {
  position: relative;
  margin-left: -20px;
  margin-right: -46px;
}
.desk svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.desk-object {
  cursor: grab;
  transform-box: fill-box;
  transform-origin: center;
  transition: filter 0.2s;
  touch-action: pan-y;
}
.desk-object:hover,
.desk-object:focus-visible {
  filter: drop-shadow(0 -4px 0 #4055d825);
}
.desk-object:focus-visible {
  outline: none;
}
.desk-object:focus-visible .object-outline {
  stroke: var(--blue);
  stroke-width: 4;
}
.desk-object.dragging {
  cursor: grabbing;
}
.scene-tools {
  position: absolute;
  right: 48px;
  bottom: 6px;
  display: flex;
  gap: 18px;
}
.plain-button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 5px 0;
  font: 11px var(--mono);
}
.plain-button:hover {
  color: var(--blue);
}
.scene-tools .plain-button[aria-pressed="true"] {
  color: var(--blue);
  font-weight: 700;
}
.desk-caption {
  position: absolute;
  left: 12%;
  bottom: 2px;
  font: 10px var(--mono);
  color: var(--muted);
}
.hero-bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hero-bottom p {
  font: 11px var(--mono);
  color: var(--muted);
}
.hero-bottom > a {
  font: 11px var(--mono);
  text-decoration: none;
}
.hero-bottom .available {
  color: var(--ink);
}
.section {
  padding-block: 100px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 46px;
}
.section-head h2 {
  margin-top: 16px;
}
.section-head > p {
  max-width: 290px;
  font-size: 14px;
  color: var(--muted);
}
.project-row {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  margin-top: 30px;
  padding-bottom: 65px;
}
.project-row + .project-row {
  padding-top: 65px;
  border-top: 1px solid var(--line);
  padding-bottom: 0;
}
.project-row.reverse {
  grid-template-columns: 1fr 1.22fr;
}
.project-row.reverse .project-visual {
  order: 2;
}
.project-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.3;
  background: var(--mint);
  padding: 38px;
  overflow: hidden;
}
.project-visual::after {
  content: "01 / A CLEARER WAY FORWARD";
  position: absolute;
  left: 20px;
  bottom: 15px;
  font: 9px var(--mono);
  letter-spacing: 0.06em;
  color: #55614c;
}
.project-visual.blue {
  background: #e0e4f6;
  padding: 35px;
}
.project-visual.blue::after {
  content: "02 / LESS FRICTION. MORE FLOW.";
  color: #4a5385;
}
.browser-frame {
  width: 100%;
  border: 1px solid #a6b29d;
  background: white;
  box-shadow: 0 18px 35px #29351b14;
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}
.project-visual:hover .browser-frame {
  transform: rotate(0) translateY(-4px);
}
.browser-top {
  height: 26px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-inline: 9px;
  font: 8px var(--mono);
  background: #f4f4ed;
  color: #636859;
}
.browser-top i {
  width: 4px;
  height: 4px;
  background: #a4a79a;
  border-radius: 50%;
}
.browser-top span {
  margin: auto;
}
.project-number {
  font: 11px var(--mono);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 28px;
}
.project-info h3 {
  font-size: clamp(38px, 4.2vw, 64px);
  margin-bottom: 15px;
}
.project-info > .project-subtitle {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  max-width: 360px;
  margin-bottom: 16px;
}
.project-info > p {
  font-size: 14px;
  color: var(--muted);
  max-width: 410px;
}
.project-tech {
  font: 10px var(--mono);
  margin-block: 24px 26px;
  line-height: 2;
  color: var(--muted);
}
.cross-preview {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.cross-laptop {
  width: 72%;
  padding: 8px;
  background: var(--ink);
  border-radius: 8px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 20px #262a501a;
}
.cross-screen {
  background: var(--white);
  padding: 20px 17px 30px;
  min-height: 190px;
  border-radius: 3px;
}
.cross-screen .mini-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.cross-screen small {
  font: 8px var(--mono);
  color: #60605a;
}
.cross-screen p {
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.5;
  padding: 12px;
  background: #eeeef6;
  overflow-wrap: anywhere;
}
.cross-screen .fake-input {
  min-height: 90px;
}
.cross-phone {
  position: absolute;
  right: 0;
  bottom: 12%;
  background: var(--ink);
  padding: 6px;
  width: 29%;
  border-radius: 15px;
  transform: rotate(7deg);
  box-shadow: 0 8px 10px #2223;
}
.cross-phone .cross-screen {
  min-height: 180px;
  padding: 20px 10px 12px;
  border-radius: 10px;
}
.cross-phone .cross-screen p {
  font-size: 10px;
  padding: 8px;
}
.cross-phone .mini-brand {
  font-size: 12px;
}
.cross-arrow {
  position: absolute;
  top: 7%;
  right: 4%;
  color: var(--blue);
  font-size: 50px;
  transform: rotate(12deg);
  line-height: 1;
}
.experience {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.experience .eyebrow {
  color: #b9c5ff;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
}
.experience-intro h2 {
  margin-top: 18px;
  max-width: 490px;
}
.experience-intro > p {
  font-size: 15px;
  color: #bbbeaf;
  max-width: 350px;
  margin-top: 25px;
}
.experience-intro > .text-link {
  margin-top: 32px;
}
.experience-list {
  border-top: 1px solid #ffffff30;
}
.experience-list details {
  border-bottom: 1px solid #ffffff30;
}
.experience-list summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 16px;
}
.experience-list summary::-webkit-details-marker {
  display: none;
}
.experience-list summary .date {
  font: 10px var(--mono);
  color: #b9beaa;
  grid-column: 1/-1;
}
.experience-list summary h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
}
.experience-list summary .role {
  font-size: 12px;
  color: #c3c6b8;
  grid-column: 1;
}
.experience-list summary .exp-toggle {
  font: 24px var(--mono);
  grid-column: 2;
  grid-row: 2/4;
}
.experience-list details[open] .exp-toggle {
  transform: rotate(45deg);
}
.experience-body {
  padding-bottom: 25px;
  color: #c3c6b8;
  font-size: 13px;
}
.experience-body ul {
  padding-left: 18px;
  margin-block: 0;
  display: grid;
  gap: 9px;
}
.lab {
  margin-top: 70px;
  border: 1px solid #ffffff30;
  padding: 30px 36px;
  background: #ffffff04;
}
.lab-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.lab h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.lab .mono {
  color: #bbbeaf;
  font-size: 10px;
}
.lab-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 34px 0;
}
.system-node {
  flex: 1;
  max-width: 245px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid #7b836e;
  position: relative;
}
.system-node svg {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  stroke: #dce5d7;
}
.system-node strong {
  display: block;
  font-size: 13px;
}
.system-node .node-state {
  font: 10px var(--mono);
  display: block;
  margin-top: 5px;
  color: #b2c69d;
}
.system-wire {
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: #9dad7b;
  position: relative;
}
.system-wire::after {
  content: "→";
  position: absolute;
  right: 0;
  top: -12px;
  color: #b2c69d;
}
.lab[data-step="fault"] .wire-fault,
.lab[data-step="inspected"] .wire-fault {
  background: #edb76f;
}
.lab[data-step="fault"] .wire-fault::after,
.lab[data-step="inspected"] .wire-fault::after {
  content: "×";
  color: #edb76f;
}
.lab[data-step="fault"] .system-node:last-child,
.lab[data-step="inspected"] .system-node:last-child {
  border-color: #edb76f;
}
.lab[data-step="fault"] .system-node:last-child .node-state,
.lab[data-step="inspected"] .system-node:last-child .node-state {
  color: #edb76f;
}
.lab-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #ffffff24;
  padding-top: 22px;
}
.lab-message {
  font: 11px/1.8 var(--mono);
  max-width: 640px;
  color: #d4d9c9;
}
.lab-action {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 12px 16px;
  flex-shrink: 0;
  min-height: 44px;
}
.lab-action:hover {
  background: var(--yellow);
}
.lab-disclaimer {
  font: 10px/1.7 var(--mono);
  color: #a8ae9a;
  margin-top: 18px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: clamp(45px, 9vw, 150px);
  align-items: start;
}
.portrait {
  position: relative;
  max-width: 400px;
  margin: 12px 0 0;
  transform: rotate(-3deg);
}
.portrait img {
  aspect-ratio: 4/4.65;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.78);
  border: 10px solid var(--white);
  box-shadow: 0 8px 25px #25291f12;
}
.portrait figcaption {
  font: 11px var(--mono);
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.portrait::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 28px;
  left: calc(50% - 55px);
  top: -12px;
  background: #ded9baa8;
  transform: rotate(4deg);
  z-index: 2;
}
.about-copy h2 {
  margin-top: 15px;
  margin-bottom: 25px;
}
.about-copy > .intro {
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: -0.035em;
}
.about-copy > p:not(.intro) {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.education {
  margin-top: 30px;
  border-block: 1px solid var(--line);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.education strong {
  font-size: 14px;
  display: block;
}
.education span {
  font: 10px/1.8 var(--mono);
  color: var(--muted);
}
.skills {
  margin-top: 32px;
}
.skills h3 {
  font: 11px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.skill-row {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.skill-row strong {
  font-weight: 600;
}
.skill-row p {
  color: var(--muted);
}
.playground {
  padding-block: 0 90px;
}
.playground-inner {
  border-block: 1px solid var(--line);
  padding-block: 35px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
  align-items: center;
}
.playground h3 {
  margin: 12px 0;
  font-size: 32px;
}
.playground p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
}
.patchboard {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  min-height: 130px;
}
.patch-key {
  width: 105px;
  height: 95px;
  border: 1px solid #aaa99b;
  border-radius: 10px;
  background: #e6e6db;
  box-shadow:
    0 6px 0 #b7b9a9,
    0 7px 0 1px #858b78;
  transform: rotate(var(--rotate, 0deg));
  transition:
    transform 0.12s,
    box-shadow 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}
.patch-key:hover {
  background: #e0e4f6;
}
.patch-key:active,
.patch-key[aria-pressed="true"] {
  transform: translateY(5px) rotate(var(--rotate, 0deg));
  box-shadow:
    0 1px 0 #b7b9a9,
    0 2px 0 1px #858b78;
}
.patch-key svg {
  width: 25px;
  height: 25px;
  stroke: var(--ink);
}
.patch-key span {
  font: 10px var(--mono);
}
.patch-output {
  position: absolute;
  right: 0;
  bottom: -13px;
  font: 10px var(--mono);
  color: var(--muted);
  text-align: right;
}
.contact {
  background: var(--blue);
  color: var(--paper);
  padding-block: 78px 38px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact h2 {
  font-size: clamp(55px, 7.2vw, 108px);
  max-width: 850px;
  margin-top: 20px;
}
.contact-arrow {
  font-size: 100px;
  line-height: 1;
  align-self: center;
  transition: transform 0.4s var(--ease);
}
.contact-top:hover .contact-arrow {
  transform: translate(8px, -8px);
}
.contact-email {
  font-size: clamp(18px, 2.1vw, 29px);
  text-decoration: none;
  display: inline-block;
  margin-top: 24px;
  border-bottom: 1px solid #ffffff65;
  padding-bottom: 8px;
  overflow-wrap: anywhere;
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  padding-top: 58px;
}
.contact-bottom p {
  font: 11px/1.8 var(--mono);
  color: #dbe0ff;
}
.contact-links {
  display: flex;
  gap: 26px;
}
.contact-links a {
  font: 12px var(--mono);
  padding-bottom: 4px;
}
.site-footer {
  background: var(--blue);
  color: #dbe0ff;
  padding-block: 22px;
  border-top: 1px solid #ffffff30;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font: 10px var(--mono);
}
.footer-inner a {
  text-decoration: none;
}
.footer-mark {
  font-weight: 700;
  color: var(--paper);
  font-size: 13px;
  font-family: Manrope, Arial, sans-serif;
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(20px);
}
.reveal {
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.hero-copy {
  animation: arrive 0.9s var(--ease) both;
}
.desk {
  animation: arrive 1.1s 0.12s var(--ease) both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.desk-dialog {
  background: var(--paper);
  color: var(--ink);
  padding: 38px;
  width: min(480px, calc(100% - 40px));
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 #25291f35;
}
.desk-dialog::backdrop {
  background: #25291f65;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  font: 23px var(--mono);
  width: 36px;
  height: 36px;
}
.desk-dialog h2 {
  font-size: 40px;
  margin: 16px 0;
}
.desk-dialog p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.desk-dialog .button {
  margin-top: 25px;
}
.desk-dialog .eyebrow {
  padding-right: 30px;
}
.page-hero {
  padding-block: 65px 55px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font: 11px var(--mono);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--muted);
}
.page-hero h1 {
  font-size: clamp(65px, 9.4vw, 140px);
  margin-block: 35px 20px;
  line-height: 0.95;
  max-width: 1100px;
}
.page-hero .page-lede {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5;
  max-width: 750px;
  letter-spacing: -0.03em;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
}
.project-facts dt {
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 8px;
}
.project-facts dd {
  margin: 0;
  font-size: 12px;
}
.case-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
}
.case-index {
  position: sticky;
  top: 115px;
  align-self: start;
  display: grid;
  gap: 16px;
  font: 11px var(--mono);
}
.case-index a {
  text-decoration: none;
  display: block;
}
.case-index a:hover {
  color: var(--blue);
}
.case-body {
  min-width: 0;
}
.case-body section {
  padding-bottom: 65px;
  scroll-margin-top: 120px;
}
.case-body h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  margin-bottom: 24px;
}
.case-body h3 {
  font-size: 21px;
  margin: 28px 0 12px;
  letter-spacing: -0.035em;
}
.case-body p,
.case-body li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.case-body ul {
  padding-left: 20px;
}
.case-body li + li {
  margin-top: 10px;
}
.case-body .image-caption {
  font: 10px/1.7 var(--mono);
  margin-top: 14px;
}
.case-image {
  background: var(--mint);
  padding: 30px;
  margin-bottom: 40px;
}
.case-image img {
  border: 1px solid #aab9a2;
}
.architecture {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.architecture > div {
  border: 1px solid var(--line);
  padding: 18px 22px;
  flex: 1;
  min-width: 100px;
}
.architecture strong {
  display: block;
  font-size: 13px;
}
.architecture small {
  font: 9px/1.8 var(--mono);
  color: var(--muted);
}
.architecture > span {
  font: 18px var(--mono);
  color: var(--blue);
}
.decision-list {
  counter-reset: decisions;
}
.decision {
  padding-block: 23px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
}
.decision::before {
  counter-increment: decisions;
  content: "0" counter(decisions);
  font: 11px var(--mono);
  color: var(--blue);
  padding-top: 4px;
}
.decision h3 {
  margin: 0 0 9px;
  font-size: 20px;
}
.decision p {
  font-size: 14px;
}
.case-next {
  border-top: 1px solid var(--line);
  padding-block: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.case-next h2 {
  font-size: 38px;
  margin-top: 12px;
}
.demo {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  position: relative;
}
.demo-label {
  font: 10px var(--mono);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.demo h3 {
  margin: 0;
  font-size: 22px;
}
.demo .demo-description {
  font: 11px/1.8 var(--mono);
  margin-top: 8px;
  color: var(--muted);
}
.fast-summary {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-block: 25px 18px;
}
.fast-count {
  font-size: 62px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.fast-count small {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.demo progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border: 0;
  background: #e3e6db;
  display: block;
  margin-block: 16px 20px;
}
.demo progress::-webkit-progress-bar {
  background: #e3e6db;
}
.demo progress::-webkit-progress-value {
  background: var(--blue);
  transition: width 0.35s;
}
.demo progress::-moz-progress-bar {
  background: var(--blue);
}
.demo-obligations {
  display: grid;
  gap: 0;
  margin-bottom: 20px;
}
.demo-obligations > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font: 11px var(--mono);
}
.demo-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.demo-message {
  font: 11px/1.8 var(--mono);
  color: var(--muted);
  margin-top: 18px;
  min-height: 40px;
}
.cross-devices {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 25px;
  align-items: stretch;
  margin-top: 24px;
}
.demo-device {
  border: 1px solid var(--line);
  padding: 18px;
  min-width: 0;
}
.demo-device.phone {
  border: 5px solid var(--ink);
  border-radius: 17px;
}
.device-label {
  font: 10px var(--mono);
  display: block;
  margin-bottom: 15px;
}
.demo label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
.demo textarea {
  display: block;
  resize: vertical;
  width: 100%;
  height: 110px;
  min-height: 80px;
  background: #f2f2ed;
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 14px;
}
.synced-text {
  padding: 12px;
  background: #f2f2ed;
  min-height: 110px;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.room-code {
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  margin-top: 12px;
  color: var(--muted);
}
.demo small {
  font: 10px var(--mono);
}
.case-body .availability-note {
  font: 10px/1.7 var(--mono);
  margin-top: 16px;
  max-width: 660px;
}
.index-intro {
  max-width: 650px;
}
.error-page {
  min-height: 65vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 25px;
  padding: 60px 20px;
}
.error-page h1 {
  font-size: clamp(70px, 15vw, 160px);
}
.error-page p {
  max-width: 480px;
}
@media (min-width: 1800px) {
  .hero-grid {
    min-height: 760px;
  }
  .desk {
    margin-left: -45px;
    margin-right: -70px;
  }
  .hero h1 {
    font-size: 170px;
  }
}
@media (max-width: 1180px) {
  .nav {
    gap: 22px;
  }
  .nav-links {
    gap: 20px;
  }
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 620px;
  }
  .desk {
    margin-right: -25px;
    margin-left: -40px;
  }
  .hero h1 {
    font-size: clamp(90px, 10.5vw, 132px);
  }
  .hero-description {
    max-width: 310px;
  }
  .experience-grid {
    gap: 50px;
  }
  .case-layout {
    grid-template-columns: 180px 1fr;
    gap: 35px;
  }
  .scene-tools {
    right: 30px;
    bottom: -20px;
  }
  .desk-caption {
    left: 6%;
    bottom: -20px;
  }
  .project-visual {
    padding: 25px;
  }
  .cross-screen {
    padding: 15px 12px 20px;
    min-height: 165px;
  }
  .cross-phone .cross-screen {
    min-height: 145px;
  }
  .about-grid {
    gap: 65px;
  }
  .cross-phone {
    bottom: 8%;
  }
}
@media (max-width: 900px) {
  .nav {
    height: 75px;
  }
  .brand > span {
    display: none;
  }
  .nav-links {
    gap: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
    min-height: 570px;
    padding-top: 35px;
  }
  .hero h1 {
    font-size: clamp(78px, 10.5vw, 105px);
  }
  .hero-description {
    font-size: 16px;
    max-width: 270px;
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
  }
  .hero-education {
    font-size: 9px;
  }
  .desk {
    margin-left: -40px;
    margin-right: -40px;
  }
  .scene-tools {
    right: 35px;
  }
  .desk-caption {
    display: none;
  }
  .section {
    padding-block: 75px;
  }
  .project-row,
  .project-row.reverse {
    gap: 30px;
  }
  .project-info h3 {
    font-size: 40px;
  }
  .project-info > .project-subtitle {
    font-size: 17px;
  }
  .project-info > p {
    font-size: 13px;
  }
  .project-tech {
    font-size: 9px;
  }
  .project-visual,
  .project-visual.blue {
    padding: 22px;
    aspect-ratio: 1/1.1;
  }
  .cross-preview {
    transform: scale(1.04);
  }
  .cross-laptop {
    width: 90%;
    margin-right: 15px;
  }
  .cross-phone {
    width: 36%;
    right: -10px;
    bottom: 12%;
  }
  .cross-screen {
    min-height: 170px;
  }
  .cross-screen p {
    font-size: 11px;
  }
  .cross-phone .cross-screen p {
    font-size: 9px;
  }
  .cross-arrow {
    top: 5%;
  }
  .experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .experience-list summary h3 {
    font-size: 24px;
  }
  .about-grid {
    grid-template-columns: 0.8fr 1fr;
    gap: 45px;
  }
  .about-copy > .intro {
    font-size: 17px;
  }
  .education {
    flex-direction: column;
    gap: 10px;
  }
  .skill-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .playground-inner {
    gap: 20px;
  }
  .patch-key {
    width: 85px;
    height: 80px;
  }
  .case-layout {
    grid-template-columns: 1fr;
  }
  .case-index {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .case-index .eyebrow {
    width: 100%;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 90px;
  }
  .nav {
    height: 70px;
    gap: 20px;
  }
  .brand > span {
    display: block;
    font-size: 13px;
  }
  .brand-mark {
    width: 32px;
    height: 30px;
  }
  .menu-toggle {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
  }
  .menu-toggle::after {
    content: "+";
    font-size: 23px;
  }
  .menu-toggle[aria-expanded="true"]::after {
    content: "−";
  }
  .nav > .resume-link {
    font-size: 10px;
    padding: 8px 11px !important;
    gap: 10px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px var(--gutter) 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    box-shadow: 0 12px 15px #25291f10;
  }
  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
  }
  .nav-links > a {
    font-size: 15px;
    padding-block: 10px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 30px 35px;
    gap: 0;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy > .eyebrow {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(56px, 10.2vw, 72px);
    margin: 18px 0 17px;
    letter-spacing: -0.065em;
    line-height: 1;
  }
  .hero h1 > span {
    display: inline;
  }
  .hero-description {
    font-size: 16px;
    max-width: 340px;
    line-height: 1.6;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .button {
    font-size: 12px;
    min-height: 46px;
    padding: 12px 18px;
    gap: 23px;
  }
  .hero-actions .button {
    padding-block: 12px;
  }
  .profile-links {
    position: absolute;
    right: 0;
    bottom: 4px;
    gap: 14px;
  }
  .profile-links a {
    font-size: 10px;
  }
  .hero-education {
    font-size: 9px;
    margin-top: 18px;
    max-width: none;
  }
  .desk {
    margin: 4px -12px 10px;
    height: auto;
    position: relative;
  }
  .desk svg {
    width: min(100%, 550px);
    margin-inline: auto;
  }
  .scene-tools {
    right: 12px;
    bottom: -14px;
  }
  .hero-bottom {
    padding-block: 16px;
  }
  .hero-bottom p {
    font-size: 9px;
  }
  .hero-bottom > p:nth-child(2) {
    display: none;
  }
  .hero-bottom > a {
    font-size: 10px;
    white-space: nowrap;
  }
  .section {
    padding-block: 60px;
  }
  .section-head {
    margin-bottom: 30px;
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-head h2 {
    margin-top: 12px;
  }
  .section-head > p {
    font-size: 13px;
    max-width: 340px;
  }
  .project-row,
  .project-row.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 40px;
    margin-top: 0;
  }
  .project-row + .project-row {
    padding-top: 40px;
  }
  .project-row.reverse .project-visual {
    order: 0;
  }
  .project-visual,
  .project-visual.blue {
    aspect-ratio: 1.24;
    padding: 32px;
  }
  .project-number {
    margin-bottom: 20px;
    font-size: 10px;
  }
  .project-info h3 {
    font-size: 43px;
  }
  .project-info > .project-subtitle {
    font-size: 19px;
  }
  .project-info > p {
    font-size: 14px;
  }
  .project-tech {
    margin-block: 18px 20px;
    font-size: 10px;
  }
  .cross-laptop {
    width: 76%;
    margin-right: 20px;
  }
  .cross-phone {
    width: 30%;
    right: 0;
    bottom: 10%;
  }
  .cross-screen {
    min-height: 180px;
    padding: 18px 14px;
  }
  .cross-screen p {
    font-size: 13px;
  }
  .cross-phone .cross-screen {
    min-height: 170px;
  }
  .cross-phone .cross-screen p {
    font-size: 10px;
  }
  .cross-arrow {
    top: 2%;
    right: 4%;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .experience-intro h2 {
    max-width: 500px;
  }
  .experience-intro > p {
    max-width: 420px;
    font-size: 14px;
  }
  .experience-intro > .text-link {
    margin-top: 22px;
  }
  .experience-list summary {
    padding-block: 22px;
  }
  .experience-list summary h3 {
    font-size: 27px;
  }
  .lab {
    margin-top: 40px;
    padding: 22px 18px;
  }
  .lab-heading {
    flex-direction: column;
    gap: 12px;
  }
  .lab h3 {
    font-size: 23px;
  }
  .lab-diagram {
    margin-block: 27px;
    gap: 0;
  }
  .system-node {
    padding: 13px 6px;
    min-width: 0;
  }
  .system-node strong {
    font-size: 10px;
  }
  .system-node .node-state {
    font-size: 8px;
  }
  .system-node svg {
    width: 29px;
    height: 29px;
    margin-bottom: 10px;
  }
  .system-wire {
    max-width: 30px;
    min-width: 17px;
  }
  .lab-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding-top: 18px;
  }
  .lab-message {
    font-size: 10px;
    min-height: 50px;
  }
  .lab-action {
    text-align: center;
  }
  .lab-disclaimer {
    font-size: 9px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .portrait {
    width: 70%;
    max-width: 310px;
    margin: 12px auto 0;
  }
  .portrait figcaption {
    font-size: 10px;
  }
  .about-copy h2 {
    max-width: 450px;
  }
  .about-copy > .intro {
    font-size: 19px;
  }
  .education {
    flex-direction: row;
  }
  .education span {
    font-size: 9px;
  }
  .skill-row {
    grid-template-columns: 100px 1fr;
    gap: 15px;
  }
  .playground {
    padding-bottom: 60px;
  }
  .playground-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px 45px;
  }
  .patchboard {
    justify-content: center;
    min-height: 120px;
    gap: 18px;
  }
  .patch-key {
    width: 90px;
    height: 80px;
  }
  .patch-output {
    left: 0;
    right: 0;
    text-align: center;
    bottom: -15px;
  }
  .contact {
    padding-block: 55px 30px;
  }
  .contact h2 {
    font-size: clamp(45px, 9.5vw, 65px);
    margin-top: 15px;
  }
  .contact-top {
    gap: 15px;
  }
  .contact-arrow {
    font-size: 55px;
  }
  .contact-email {
    font-size: 17px;
    margin-top: 22px;
  }
  .contact-bottom {
    padding-top: 40px;
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
  .contact-links {
    gap: 23px;
  }
  .contact-links a {
    font-size: 11px;
  }
  .footer-inner {
    font-size: 9px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer-inner > span:nth-child(2) {
    display: none;
  }
  .page-hero {
    padding-block: 36px 35px;
  }
  .page-hero h1 {
    font-size: clamp(52px, 12vw, 80px);
    margin-top: 28px;
  }
  .page-hero .page-lede {
    font-size: 19px;
  }
  .project-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    gap: 20px;
  }
  .project-facts dd {
    font-size: 11px;
  }
  .case-layout {
    gap: 35px;
  }
  .case-body section {
    padding-bottom: 45px;
  }
  .case-body p,
  .case-body li {
    font-size: 14px;
  }
  .case-image {
    padding: 16px;
    margin-bottom: 30px;
  }
  .architecture {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .architecture > div {
    min-width: 0;
    padding: 12px 9px;
  }
  .architecture strong {
    font-size: 10px;
  }
  .architecture small {
    font-size: 8px;
  }
  .architecture > span {
    font-size: 14px;
  }
  .demo {
    padding: 20px 17px;
  }
  .demo-label {
    font-size: 9px;
  }
  .cross-devices {
    gap: 13px;
  }
  .demo-device {
    padding: 13px 10px;
  }
  .cross-devices .phone {
    border-width: 3px;
  }
  .demo textarea,
  .synced-text {
    font-size: 12px;
  }
  .room-code {
    font-size: 8px;
  }
  .demo-actions {
    gap: 17px;
  }
  .demo-message {
    font-size: 10px;
  }
  .case-next h2 {
    font-size: 30px;
  }
  .case-next {
    padding-block: 30px;
  }
  .case-next .button {
    gap: 12px;
  }
  .desk-dialog {
    padding: 30px;
  }
  .desk-dialog h2 {
    font-size: 35px;
  }
}
@media (max-width: 380px) {
  :root {
    --gutter: 20px;
  }
  .brand > span {
    display: none;
  }
  .hero h1 {
    font-size: clamp(48px, 12vw, 55px);
  }
  .profile-links {
    position: static;
    margin-top: 12px;
    gap: 22px;
  }
  .hero-education {
    margin-top: 12px;
  }
  .hero-grid {
    padding-top: 25px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-bottom p {
    max-width: 185px;
  }
  .project-visual,
  .project-visual.blue {
    padding: 24px;
  }
  .cross-screen {
    min-height: 150px;
    padding: 12px 9px;
  }
  .cross-screen p {
    font-size: 10px;
  }
  .cross-phone .cross-screen {
    min-height: 140px;
    padding: 12px 8px;
  }
  .cross-phone .cross-screen p {
    font-size: 8px;
  }
  .cross-arrow {
    top: 0;
  }
  .skill-row {
    grid-template-columns: 85px 1fr;
    font-size: 11px;
  }
  .contact-top .contact-arrow {
    display: none;
  }
  .cross-devices {
    grid-template-columns: 1fr;
  }
  .demo-device.phone {
    border-radius: 10px;
  }
  .education {
    flex-direction: column;
  }
  .patch-key {
    width: 80px;
    height: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .reveal:not(.in-view) {
    opacity: 1;
    transform: none;
  }
  .desk-object {
    cursor: pointer;
  }
  .project-visual:hover .browser-frame {
    transform: rotate(-2deg);
  }
  .desk {
    transform: none !important;
  }
}
.hero-grid {
  min-height: calc(100svh - 148px);
  padding-block: 35px 20px;
}
.hero-copy {
  padding-bottom: 0;
}
.hero h1 {
  font-size: clamp(82px, 9.1vw, 144px);
  margin-block: 20px;
}
.hero-actions {
  margin-top: 22px;
}
.profile-links {
  margin-top: 18px;
}
.hero-education {
  margin-top: 20px;
}
.desk svg {
  max-height: min(630px, calc(100svh - 200px));
}
.requires-js {
  display: none;
}
.js .requires-js {
  display: inline-flex;
}
.js .lab.requires-js {
  display: block;
}
.js .playground.requires-js {
  display: block;
}
.project-index-link {
  margin-top: 40px;
  text-align: right;
}
.patchboard {
  padding-top: 65px;
}
.patch-circuit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  fill: var(--paper);
  stroke: #8d987c;
  stroke-width: 1.6;
}
.patch-circuit path {
  fill: none;
}
.patch-circuit .circuit-alternate,
.patch-circuit .route-node {
  display: none;
}
.patchboard[data-route="alternate"] .circuit-direct {
  display: none;
}
.patchboard[data-route="alternate"] .circuit-alternate,
.patchboard[data-route="alternate"] .route-node {
  display: block;
}
.patchboard.pulsing .patch-circuit path {
  stroke: var(--blue);
  stroke-width: 3;
  stroke-dasharray: 20 12;
  animation: signal-flow 1.2s linear 1;
}
.patchboard.pulsing .patch-circuit circle:last-of-type {
  fill: var(--blue);
  stroke: var(--blue);
}
@keyframes signal-flow {
  from {
    stroke-dashoffset: 128;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.js .menu-toggle {
  display: none;
}
@media (max-width: 1180px) and (min-width: 701px) {
  .hero-grid {
    min-height: 570px;
  }
  .hero h1 {
    font-size: clamp(78px, 10.1vw, 125px);
  }
}
@media (max-width: 700px) {
  .hero-grid {
    min-height: 0;
    padding-block: 28px 30px;
  }
  .hero h1 {
    font-size: clamp(42px, 12.3vw, 72px);
    margin-block: 18px 16px;
  }
  .desk svg {
    max-height: none;
  }
  .profile-links {
    position: static;
    gap: 20px;
    margin-top: 13px;
  }
  .hero-education {
    margin-top: 12px;
  }
  .js .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .js .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 20px var(--gutter) 25px;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    box-shadow: 0 12px 15px #25291f10;
  }
  .js .nav-links.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  html:not(.js) .nav {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding-block: 15px;
  }
  html:not(.js) .nav-links {
    order: 3;
    width: 100%;
    gap: 15px;
  }
  html:not(.js) .nav-links a {
    font-size: 12px;
  }
  .patchboard {
    padding-top: 65px;
  }
}
@media print {
  .site-header,
  .desk,
  .playground,
  .lab,
  .contact-arrow,
  .case-index,
  .demo-actions,
  .skip {
    display: none !important;
  }
  .section {
    padding-block: 25px;
  }
  body,
  .experience,
  .contact,
  .site-footer {
    background: white;
    color: black;
  }
  .experience-grid,
  .about-grid,
  .case-layout {
    display: block;
  }
  .experience-list details {
    display: block;
  }
  .experience-body {
    color: black;
  }
  .experience-list summary .date,
  .experience-list summary .role {
    color: #555;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  a {
    color: black;
  }
  .hero-grid {
    display: block;
    min-height: 0;
  }
  .hero h1 {
    font-size: 80px;
  }
  .project-row {
    break-inside: avoid;
  }
  .contact {
    padding: 30px 0;
  }
}
/* Final interaction and responsive refinements from browser QA. */
.menu-toggle::after {
  content: none;
}
.menu-symbol {
  font: 23px var(--mono);
}
@media (max-width: 900px) {
  .hero-bottom > p:nth-child(2) {
    display: none;
  }
  .hero-bottom .available {
    white-space: nowrap;
  }
}
@media (min-width: 1181px) {
  .hero-grid {
    min-height: clamp(580px, calc(100svh - 148px), 790px);
  }
}

.system-wire.wire-orders::after {
  content: "↔";
}
.patchboard {
  padding-bottom: 28px;
  justify-content: center;
}
.patch-output {
  bottom: -8px;
  left: 0;
  right: 0;
  text-align: center;
}
@media (max-width: 700px) {
  .patch-output {
    bottom: -12px;
  }
}

@media (max-width: 700px) {
  .hero h1 > span + span {
    margin-left: 0.13em;
  }
  .hero-bottom {
    align-items: flex-start;
    gap: 12px;
  }
  .hero-bottom .available {
    white-space: normal;
    min-width: 0;
  }
  .hero-bottom > a {
    flex-shrink: 0;
  }
}
.project-visual {
  text-decoration: none;
}
