@font-face {
  font-family: Inter;
  src: url("./assets/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./assets/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("./assets/IBMPlexMono-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --ink: #191b21;
  --paper: #f4f3ef;
  --surface: #fff;
  --muted: #666861;
  --line: #d7d8d0;
  --accent: #315bd6;
  --max: 1360px;
  --mono: "Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.6 Inter,
    system-ui,
    sans-serif;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
::selection {
  background: #d8e2ff;
}
a {
  text-underline-offset: 5px;
}
main {
  overflow: clip;
}
.hero,
.site-header,
.project-index,
.work-preview,
.experience-section,
.expertise-section,
.about-section,
footer {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.monogram {
  display: flex;
  gap: 3px;
  align-items: baseline;
  font-size: 23px;
  letter-spacing: -0.09em;
}
.monogram i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.site-header nav {
  display: flex;
  gap: 34px;
}
.site-header nav a,
.header-github {
  font: 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.site-header nav a {
  color: var(--muted);
}
.site-header nav a:hover,
.header-github:hover {
  color: var(--accent);
}
.header-github span {
  margin-left: 14px;
  font-size: 18px;
}
.eyebrow {
  margin: 0;
  color: var(--accent);
  font: 10px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.profile-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-photo {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 28px;
  padding-block: 90px 84px;
  min-height: 660px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(58px, 6.1vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.075em;
  margin: 24px 0 26px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-intro {
  max-width: 475px;
  font-size: 18px;
  line-height: 1.7;
  color: #575a54;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 13px 20px;
  font: 11px/1.4 var(--mono);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button span {
  font-size: 18px;
  line-height: 1;
}
.button-primary {
  background: var(--ink);
  color: white;
}
.button-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font: 11px/1.5 var(--mono);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-visual {
  position: relative;
  height: 455px;
  isolation: isolate;
}
.visual-grid {
  position: absolute;
  inset: 15px -15px 15px 0;
  background-image:
    linear-gradient(#d4d7cc66 1px, transparent 1px),
    linear-gradient(90deg, #d4d7cc66 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 70%);
  z-index: -1;
}
.hero-desktop {
  position: absolute;
  top: 20px;
  left: 0;
  width: 92%;
  border: 1px solid #333435;
  border-radius: 9px;
  overflow: hidden;
  background: #20201f;
  box-shadow: 0 18px 38px #25272b22;
  transform: rotate(-3deg);
  transition: transform 0.25s;
  text-decoration: none;
}
.hero-desktop:hover {
  transform: rotate(-1deg) translateY(-4px);
}
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  color: #b9b8b4;
  font: 8px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.window-dots {
  color: #767675;
  letter-spacing: 2px;
}
.hero-desktop img {
  width: 100%;
}
.hero-phone {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 25%;
  border: 5px solid #202020;
  border-radius: 22px;
  overflow: hidden;
  transform: rotate(7deg);
  box-shadow: 0 18px 28px #15151533;
  transition: transform 0.25s;
}
.hero-phone:hover {
  transform: rotate(3deg) translateY(-4px);
}
.hero-plugin {
  position: absolute;
  width: 61%;
  bottom: 37px;
  left: 5%;
  border: 1px solid #818477;
  border-radius: 6px;
  overflow: hidden;
  background: #262d26;
  box-shadow: 0 14px 32px #1515152b;
  transform: rotate(2deg);
  text-decoration: none;
  transition: transform 0.25s;
}
.hero-plugin:hover {
  transform: rotate(0) translateY(-4px);
}
.hero-plugin span {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  color: #d9dfd4;
  font: 8px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.visual-note {
  position: absolute;
  bottom: -13px;
  left: 5%;
  font: 9px/1.4 var(--mono);
  color: var(--muted);
}
.project-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.project-index a {
  padding: 22px 25px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background 0.2s;
}
.project-index a:first-child {
  padding-left: 0;
}
.project-index a:last-child {
  border: 0;
}
.project-index a:hover {
  background: #e9ebe3;
}
.project-index span {
  display: block;
  color: var(--muted);
  font: 9px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-index strong {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-top: 8px;
}
.project-index i {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
}
.work-preview {
  padding-top: 90px;
  padding-bottom: 80px;
}
.section-heading {
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  gap: 35px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading .eyebrow {
  align-self: start;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(40px, 4.3vw, 62px);
  letter-spacing: -0.065em;
  line-height: 1.04;
}
.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.4fr);
  border-top: 1px solid var(--ink);
  padding-block: 32px;
  margin-bottom: 48px;
  gap: 44px;
  scroll-margin-top: 28px;
}
.project-card:last-child {
  margin-bottom: 0;
}
.project-copy {
  padding-block: 3px 12px;
  min-width: 0;
}
.project-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font: 9px/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.release-status {
  padding: 4px 7px;
  border: 1px solid var(--line);
  font-size: 8px;
  white-space: nowrap;
}
.project-copy h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(36px, 3.5vw, 50px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 30px 0 19px;
}
.project-symbol {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.project-lede {
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1.22;
  margin: 0 0 18px;
}
.project-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
  margin: 0 0 20px;
}
.project-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
}
.project-features li {
  font-size: 12px;
  color: #55594f;
  padding: 5px 0 5px 17px;
  position: relative;
}
.project-features li:before {
  content: "↗";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
}
.tech-stack span {
  font: 9px/1.4 var(--mono);
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.availability {
  font: 9px/1.6 var(--mono);
  color: var(--muted);
  margin: 16px 0 0;
}
.screenshot-gallery,
.headroom-media,
.drift-media {
  min-width: 0;
  padding: 24px;
  background: #e7e6df;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #ddded5;
  border-radius: 4px;
}
.lattice-gallery {
  background: #e9e7e1;
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #686d60;
  margin-bottom: 24px;
}
.gallery-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #c9c9be;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.gallery-options button {
  font: 10px/1.3 var(--mono);
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #5b5d55;
  padding: 10px 13px;
  border-radius: 3px;
}
.gallery-options button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.gallery-options button:hover:not([aria-pressed="true"]) {
  background: #d8d9cf;
}
.gallery-figure {
  margin: 0;
  min-width: 0;
}
.screenshot-link {
  position: relative;
  display: block;
  text-decoration: none;
  cursor: zoom-in;
  border-radius: 5px;
  overflow: hidden;
}
.gallery-image {
  width: 100%;
  aspect-ratio: 3456/2164;
  object-fit: contain;
  background: #1b1b19;
}
.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  background: #f4f3efeb;
  border: 1px solid #d5d6ca;
  color: var(--ink);
  font: 9px/1.4 var(--mono);
  border-radius: 3px;
}
.screenshot-link:hover .zoom-hint {
  background: white;
}
.gallery-caption {
  min-height: 42px;
  margin-top: 18px;
  color: #64675e;
  font: 10px/1.7 var(--mono);
}
.gallery-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid #d2d1c7;
  margin: 12px 0 0;
  color: #65675e;
  font: 8px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery-footnote span:before {
  content: "+";
  color: var(--accent);
  margin-right: 6px;
}
.headroom-media {
  background: #e5e9de;
  padding-bottom: 20px;
}
.phone-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 20px;
}
.phone-pair a {
  width: 33%;
  max-width: 190px;
  border: 5px solid #222625;
  box-shadow: 0 16px 22px #232c2426;
  border-radius: 23px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s;
}
.phone-pair a:first-child {
  transform: rotate(-5deg);
  margin-bottom: 24px;
}
.phone-pair a:last-child {
  transform: rotate(5deg);
  margin-top: 24px;
}
.phone-pair a:hover {
  transform: rotate(0) translateY(-3px);
}
.phone-pair img {
  width: 100%;
}
.media-caption {
  font: 10px/1.6 var(--mono);
  color: #626958;
  margin: 24px 0 0;
  text-align: center;
}
.audio-gallery {
  background: #e2e7e7;
}
.audio-gallery .screenshot-link {
  display: grid;
  place-items: center;
  min-height: 330px;
  background: #d4dcdb;
}
.audio-gallery .gallery-image {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: contain;
  background: transparent;
  padding: 18px;
}
.drift-media {
  background: #151923;
  color: #e7ecf5;
  border-color: #282e3e;
}
.drift-media .gallery-heading,
.drift-media .media-caption {
  color: #9faac1;
}
.drift-gameplay-grid a {
  display: block;
  cursor: zoom-in;
}
.drift-media img {
  border: 1px solid #2e3547;
  border-radius: 4px;
}
.drift-gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.drift-gameplay-grid figure {
  min-width: 0;
  margin: 0;
}
.drift-gameplay-grid img {
  width: 100%;
  height: auto;
}
.drift-gameplay-grid figcaption {
  display: grid;
  gap: 5px;
  padding-top: 13px;
}
.drift-gameplay-grid figcaption strong {
  font-size: 16px;
  font-weight: 500;
}
.drift-gameplay-grid figcaption span {
  font: 9px/1.6 var(--mono);
  color: #adb8cc;
}
.drift-swipe-hint {
  display: none;
}
.scope-section {
  padding: 80px max(40px, calc((100vw - var(--max)) / 2));
  background: #e9ebe4;
  border-block: 1px solid var(--line);
}
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #b9bfb1;
}
.scope-grid article {
  padding: 22px 24px 0 0;
  border-right: 1px solid #c8cec2;
}
.scope-grid article + article {
  padding-left: 24px;
}
.scope-grid article:last-child {
  border: 0;
}
.scope-grid span {
  color: var(--accent);
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.scope-grid h3 {
  font-size: 23px;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 35px 0 14px;
}
.scope-grid p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.experience-section,
.expertise-section {
  padding-block: 85px;
  border-bottom: 1px solid var(--line);
}
.experience-role {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.role-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  text-transform: uppercase;
  margin: 0;
}
.role-meta span {
  color: var(--accent);
}
.role-heading h3 {
  font-size: 28px;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 20px 0 8px;
}
.role-heading > p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.experience-role ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.experience-role li + li {
  margin-top: 10px;
}
.experience-role strong {
  color: var(--ink);
  font-weight: 600;
}
.education-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.education-row span {
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
  color: var(--accent);
}
.education-row h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
  margin: 9px 0;
}
.education-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.expertise-grid article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.expertise-grid span {
  font: 10px/1.5 var(--mono);
  color: var(--accent);
}
.expertise-grid h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 23px 0 12px;
}
.expertise-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 85px;
}
.about-section h2 {
  font-size: clamp(40px, 4.3vw, 62px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 20px 0 0;
}
.about-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
}
.about-copy .about-emphasis {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 110px;
  border-top: 1px solid var(--line);
}
footer > p {
  color: var(--muted);
  font: 9px/1.5 var(--mono);
  text-transform: uppercase;
}
.image-dialog {
  width: min(1440px, 96vw);
  max-width: none;
  max-height: 94dvh;
  padding: 16px;
  border: 1px solid #575b57;
  border-radius: 8px;
  background: #181b19;
  color: #eee;
  overflow: auto;
}
.image-dialog::backdrop {
  background: #111611d9;
  backdrop-filter: blur(5px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.dialog-toolbar p {
  margin: 0;
  font: 12px/1.5 var(--mono);
}
.dialog-close {
  flex-shrink: 0;
  background: #30382e;
  border: 1px solid #51574d;
  color: #fff;
  padding: 10px 14px;
  font: 12px/1.4 var(--mono);
  min-height: 44px;
}
.dialog-close span {
  padding-left: 14px;
  font-size: 20px;
}
.dialog-image {
  width: 100%;
  max-height: calc(94dvh - 95px);
  object-fit: contain;
}
.image-dialog:focus-visible {
  outline: 3px solid var(--accent);
}
@media (min-width: 1600px) {
  .hero {
    gap: 70px;
  }
  .hero-visual {
    height: 505px;
  }
  .hero-desktop {
    top: 20px;
  }
  .hero-plugin {
    bottom: 35px;
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 20px;
    min-height: 570px;
    padding-block: 65px;
  }
  .hero h1 {
    font-size: clamp(49px, 6.2vw, 68px);
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-visual {
    height: 365px;
  }
  .hero-plugin {
    bottom: 30px;
  }
  .hero-phone {
    bottom: 25px;
  }
  .hero-actions {
    gap: 15px;
  }
  .section-heading {
    grid-template-columns: 140px 1fr 240px;
    gap: 25px;
  }
  .project-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 25px;
  }
  .project-topline {
    display: block;
  }
  .release-status {
    display: inline-block;
    margin-top: 7px;
  }
  .screenshot-gallery,
  .headroom-media,
  .drift-media {
    padding: 18px;
  }
  .gallery-heading {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .gallery-options button {
    padding: 8px;
    font-size: 9px;
  }
  .phone-pair {
    gap: 17px;
    padding: 0;
  }
  .phone-pair a {
    width: 41%;
  }
  .audio-gallery .screenshot-link {
    min-height: 260px;
  }
  .scope-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }
  .scope-grid article:nth-child(2) {
    border: 0;
  }
  .scope-grid article:nth-child(3) {
    padding-left: 0;
  }
  .scope-grid h3 {
    margin-top: 23px;
  }
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .experience-role {
    gap: 35px;
  }
  .project-index strong {
    font-size: 20px;
  }
  .about-section {
    gap: 45px;
  }
}
@media (max-width: 800px) {
  .hero,
  .site-header,
  .project-index,
  .work-preview,
  .experience-section,
  .expertise-section,
  .about-section,
  footer {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 74px;
  }
  .site-header nav {
    gap: 20px;
  }
  .header-github {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 50px 40px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(59px, 10vw, 82px);
  }
  .hero-intro {
    max-width: 520px;
  }
  .hero-visual {
    width: min(100%, 570px);
    height: 440px;
    justify-self: center;
  }
  .hero-desktop {
    width: 87%;
    left: 1%;
  }
  .hero-plugin {
    width: 60%;
    left: 3%;
    bottom: 30px;
  }
  .hero-phone {
    right: 3%;
    bottom: 20px;
    width: 24%;
  }
  .project-index a {
    padding: 16px;
  }
  .project-index strong {
    font-size: 18px;
  }
  .project-index span {
    font-size: 8px;
  }
  .section-heading {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .section-heading .eyebrow {
    grid-column: 1/-1;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .work-preview {
    padding-block: 60px;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 25px;
    margin-bottom: 35px;
  }
  .project-copy h3 {
    font-size: 43px;
    margin-top: 24px;
  }
  .project-topline {
    display: flex;
  }
  .release-status {
    margin-top: 0;
  }
  .project-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .project-copy .project-topline,
  .project-copy h3 {
    grid-column: 1/-1;
  }
  .project-copy .project-lede {
    grid-column: 1;
    grid-row: 3;
    font-size: 28px;
  }
  .project-copy .project-description {
    grid-column: 1;
    grid-row: 4/6;
  }
  .project-copy .project-features {
    grid-column: 2;
    grid-row: 3/5;
  }
  .project-copy .tech-stack {
    grid-column: 2;
  }
  .project-copy .button {
    grid-column: 1;
    justify-self: start;
  }
  .project-copy .availability {
    grid-column: 1/-1;
  }
  .screenshot-gallery,
  .headroom-media,
  .drift-media {
    padding: 24px;
  }
  .gallery-options button {
    font-size: 10px;
    padding: 10px 15px;
  }
  .gallery-heading {
    font-size: 9px;
    flex-wrap: nowrap;
  }
  .gallery-image {
    max-height: none;
  }
  .phone-pair a {
    width: 29%;
    max-width: 175px;
  }
  .phone-pair {
    gap: 35px;
  }
  .audio-gallery .gallery-image {
    padding: 20px;
  }
  .scope-section {
    padding: 60px 20px;
  }
  .experience-section,
  .expertise-section {
    padding-block: 60px;
  }
  .experience-role {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
  }
  .role-meta {
    font-size: 9px;
    gap: 10px;
  }
  .about-section {
    padding-block: 60px;
    gap: 30px;
  }
  .about-section h2 {
    font-size: 42px;
  }
  footer > p {
    display: none;
  }
}
@media (max-width: 520px) {
  html {
    scroll-padding-top: 25px;
  }
  .site-header nav {
    gap: 14px;
  }
  .site-header nav a {
    font-size: 9px;
  }
  .wordmark {
    font-size: 14px;
    gap: 8px;
  }
  .monogram {
    font-size: 21px;
  }
  .hero {
    padding-top: 39px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(47px, 12.2vw, 63px);
    margin: 21px 0;
  }
  .hero-intro {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 9px 20px;
  }
  .button {
    font-size: 10px;
    min-height: 46px;
    padding: 12px 16px;
    gap: 18px;
  }
  .text-link {
    font-size: 10px;
  }
  .hero-visual {
    height: 315px;
  }
  .hero-desktop {
    top: 13px;
    width: 90%;
    left: 1%;
  }
  .hero-plugin {
    width: 61%;
    left: 3%;
    bottom: 28px;
  }
  .hero-phone {
    width: 26%;
    right: 0;
    bottom: 18px;
    border-width: 3px;
    border-radius: 16px;
  }
  .window-bar {
    font-size: 6px;
    padding: 7px 9px;
  }
  .hero-plugin span {
    font-size: 6px;
    padding: 7px 8px;
  }
  .visual-note {
    font-size: 8px;
    bottom: -3px;
  }
  .project-index {
    grid-template-columns: 1fr 1fr;
  }
  .project-index a {
    padding: 16px 13px;
  }
  .project-index a:nth-child(2) {
    border-right: 0;
  }
  .project-index a:nth-child(3),
  .project-index a:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .project-index a:nth-child(3) {
    padding-left: 0;
  }
  .project-index strong {
    font-size: 20px;
  }
  .project-index span {
    font-size: 8px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-heading > p:last-child {
    max-width: 330px;
    font-size: 13px;
  }
  .project-card {
    gap: 23px;
  }
  .project-copy {
    display: block;
  }
  .project-copy h3 {
    font-size: 42px;
    margin: 24px 0 18px;
  }
  .project-copy .project-lede {
    font-size: 28px;
  }
  .project-description {
    font-size: 14px;
  }
  .project-topline {
    font-size: 8px;
  }
  .project-features {
    margin-bottom: 18px;
  }
  .tech-stack {
    margin-bottom: 22px;
  }
  .screenshot-gallery,
  .headroom-media,
  .drift-media {
    padding: 14px;
  }
  .gallery-heading {
    font-size: 8px;
    margin-bottom: 16px;
    gap: 15px;
  }
  .gallery-heading > span:last-child {
    text-align: right;
  }
  .gallery-options {
    gap: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .gallery-options button {
    padding: 8px 7px;
    font-size: 8px;
    min-height: 42px;
  }
  .gallery-caption {
    font-size: 9px;
    min-height: 48px;
    margin-top: 14px;
  }
  .gallery-footnote {
    font-size: 7px;
    gap: 12px;
    padding-top: 15px;
    margin-top: 6px;
  }
  .zoom-hint {
    font-size: 8px;
    padding: 5px 7px;
    bottom: 7px;
    right: 7px;
  }
  .phone-pair {
    gap: 18px;
    padding: 8px 0;
  }
  .phone-pair a {
    width: 40%;
    border-width: 4px;
    border-radius: 17px;
  }
  .media-caption {
    font-size: 9px;
    line-height: 1.7;
  }
  .audio-gallery .screenshot-link {
    min-height: 220px;
  }
  .audio-gallery .gallery-image {
    padding: 5px;
  }
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .scope-grid article,
  .scope-grid article + article {
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid #c8cec2;
  }
  .scope-grid article:nth-child(2) {
    border-bottom: 1px solid #c8cec2;
  }
  .scope-grid article:last-child {
    border: 0;
    padding-bottom: 0;
  }
  .scope-grid h3 {
    margin-top: 17px;
  }
  .experience-role {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 25px;
  }
  .role-meta {
    justify-content: space-between;
    font-size: 9px;
  }
  .role-heading h3 {
    margin-top: 13px;
    font-size: 26px;
  }
  .education-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .expertise-grid {
    gap: 25px 20px;
  }
  .expertise-grid h3 {
    font-size: 20px;
    line-height: 1.2;
  }
  .expertise-grid p {
    font-size: 12px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-section h2 {
    font-size: 44px;
  }
  .about-copy .about-emphasis {
    font-size: 21px;
  }
  footer {
    min-height: 90px;
  }
  .image-dialog {
    padding: 10px;
  }
  .dialog-toolbar p {
    font-size: 9px;
  }
  .dialog-toolbar {
    gap: 10px;
  }
  .dialog-close {
    font-size: 10px;
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Separate, shareable pages for professional work and independent products. */
.page-width {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.site-header nav a[aria-current] {
  color: var(--ink);
}
.site-header nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
}
.home-page .hero h1 {
  font-size: clamp(50px, 5.5vw, 80px);
}
.home-page .hero-intro {
  font-size: 17px;
  max-width: 535px;
}
.home-page .hero-actions {
  gap: 22px;
}
.career-preview {
  display: grid;
  grid-template-columns: 0.78fr 1.5fr;
  gap: 65px;
  padding: 38px 0 48px;
  border-block: 1px solid var(--line);
}
.career-preview h2 {
  font-size: 33px;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin: 18px 0;
}
.career-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 28px;
}
.career-highlights a {
  text-decoration: none;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.career-highlights a:last-child {
  grid-column: 1/-1;
}
.career-highlights a:hover strong {
  color: var(--accent);
}
.career-highlights span {
  display: block;
  font: 9px/1.6 var(--mono);
  color: var(--muted);
}
.career-highlights strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.career-highlights p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 540px;
}
.home-work {
  padding-block: 75px 55px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 32px;
}
.portfolio-tile {
  min-width: 0;
}
.tile-image {
  position: relative;
  display: block;
  aspect-ratio: 1.9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #e7e6df;
}
.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s;
}
.tile-image:hover img {
  transform: scale(1.025);
}
.tile-image > span {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 20px;
  border-radius: 50%;
}
.tile-lattice {
  background: #1b1b19;
}
.tile-headroom {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #e5e9de;
}
.tile-headroom img {
  width: 42%;
  height: auto;
  margin: 20px 0 0;
  object-fit: cover;
  border: 4px solid #222625;
  border-radius: 20px;
  transform: rotate(-5deg);
  box-shadow: 0 10px 24px #20252022;
}
.tile-headroom:hover img {
  transform: rotate(-3deg) translateY(-4px);
}
.tile-lambda-audio {
  background: #d4dcdb;
  padding: 20px;
}
.tile-drift {
  background: #151923;
}
.drift-tile-screens {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3%;
  padding: 16px;
}
.drift-tile-screens img {
  width: auto;
  max-width: 28%;
  height: 100%;
  border: 1px solid #343b4d;
  border-radius: 5px;
}
.tile-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 18px 0 9px;
  color: var(--muted);
  font: 9px/1.6 var(--mono);
}
.portfolio-tile :is(h2, h3) {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 0 0 10px;
}
.portfolio-tile :is(h2, h3) a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.portfolio-tile :is(h2, h3) a span {
  color: var(--accent);
  font-weight: 400;
}
.portfolio-tile :is(h2, h3) a:hover {
  color: var(--accent);
}
.portfolio-tile > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 530px;
  margin: 0;
}
.portfolio-tile .tile-tech {
  font: 10px/1.6 var(--mono);
  margin-top: 13px;
}
.page-intro {
  padding-block: 75px 52px;
}
.page-intro h1 {
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 23px 0;
}
.page-intro h1 em {
  color: var(--accent);
  font-style: normal;
}
.page-intro-copy {
  max-width: 770px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}
.project-catalog {
  padding-bottom: 85px;
}
.experience-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 28px;
}
.print-button {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.experience-page .experience-section {
  padding-top: 0;
}
.experience-page .experience-heading h2 {
  font-size: clamp(34px, 3.8vw, 54px);
}
.experience-page .experience-heading {
  grid-template-columns: 150px minmax(0, 1fr) 270px;
}
.experience-page .experience-role {
  padding-block: 36px;
}
.experience-page .role-heading h3 {
  font-size: 32px;
}
.experience-page .experience-role ul {
  font-size: 14px;
  line-height: 1.8;
}
.experience-page .expertise-section {
  border-bottom: 0;
}
.page-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 42px 65px;
  border-top: 1px solid var(--line);
}
.page-next h2 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 14px 0 0;
}
.next-project {
  text-decoration: none;
  text-align: right;
}
.next-project > span {
  display: block;
  font: 10px/1.5 var(--mono);
  color: var(--muted);
}
.next-project strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  margin-top: 6px;
}
.next-project:hover {
  color: var(--accent);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 32px;
  font: 11px/1.5 var(--mono);
  color: var(--muted);
}
.breadcrumb a {
  text-decoration: none;
  padding: 8px 0;
  color: var(--accent);
}
.breadcrumb [aria-current] {
  color: var(--ink);
}
.project-detail .project-card {
  margin: 0;
  padding-block: 24px 50px;
}
.project-page .project-copy h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(46px, 4.4vw, 64px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  margin: 30px 0 22px;
  grid-column: 1/-1;
}
.project-page .project-copy .project-lede {
  font-size: 30px;
}
.project-page .project-description {
  font-size: 15px;
}
.project-page .project-features li {
  font-size: 13px;
}
.project-depth {
  padding-block: 50px 65px;
  border-top: 1px solid var(--line);
}
.project-depth .section-heading {
  grid-template-columns: 150px 1fr 240px;
  gap: 30px;
}
.project-depth .section-heading h2 {
  font-size: 42px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.detail-grid article {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.detail-grid article > span {
  font: 10px/1.5 var(--mono);
  color: var(--accent);
}
.detail-grid h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin: 25px 0 16px;
}
.detail-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.carplay-preview {
  margin-block: 0 60px;
  padding: 25px;
  background: #e5e9de;
  border: 1px solid var(--line);
}
.carplay-preview a {
  display: block;
  cursor: zoom-in;
}
.carplay-preview img {
  width: 100%;
}
.carplay-preview figcaption {
  font: 11px/1.6 var(--mono);
  color: var(--muted);
  margin-top: 16px;
}
.about-page .about-section {
  padding-top: 75px;
}
.about-page .about-section h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin: 24px 0 0;
}
.about-page .about-copy p {
  font-size: 16px;
}
.about-page .about-copy .about-emphasis {
  font-size: 24px;
}
.about-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-block: 36px 60px;
}
.about-paths > a {
  text-decoration: none;
}
.about-paths > a > span {
  font: 10px/1.5 var(--mono);
  color: var(--accent);
}
.about-paths h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 20px 0 15px;
}
.about-paths h2 span {
  color: var(--accent);
}
.about-paths a:hover h2 {
  color: var(--accent);
}
.about-paths p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 480px;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding-block: 45px 70px;
}
.contact-section h2 {
  font-size: 38px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  margin: 18px 0;
}
.contact-section > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}
.contact-section .button {
  margin-top: 15px;
}
@media (max-width: 1100px) {
  .career-preview {
    gap: 35px;
  }
  .career-preview h2 {
    font-size: 29px;
  }
  .career-highlights {
    gap: 20px;
  }
  .career-highlights strong {
    font-size: 20px;
  }
  .experience-page .experience-heading {
    grid-template-columns: 120px 1fr 230px;
    gap: 25px;
  }
  .experience-page .experience-heading h2 {
    font-size: 38px;
  }
  .project-depth .section-heading {
    grid-template-columns: 120px 1fr 210px;
    gap: 25px;
  }
  .home-page .hero h1 {
    font-size: clamp(44px, 5.5vw, 61px);
  }
}
@media (max-width: 800px) {
  .page-width {
    width: calc(100% - 40px);
  }
  .home-page .hero h1 {
    font-size: clamp(50px, 8vw, 68px);
  }
  .career-preview {
    grid-template-columns: 1fr;
    padding-block: 30px;
    gap: 25px;
  }
  .career-preview-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0 20px;
  }
  .career-preview-intro .eyebrow {
    grid-column: 1/-1;
  }
  .career-preview-intro h2 {
    margin-bottom: 0;
  }
  .career-preview-intro .text-link {
    margin-bottom: 5px;
  }
  .career-highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .career-highlights a:last-child {
    grid-column: auto;
  }
  .career-highlights strong {
    font-size: 19px;
  }
  .career-highlights span {
    font-size: 9px;
  }
  .home-work {
    padding-block: 50px;
  }
  .portfolio-grid {
    gap: 35px 22px;
  }
  .tile-meta {
    font-size: 8px;
  }
  .portfolio-tile :is(h2, h3) {
    font-size: 27px;
  }
  .portfolio-tile > p {
    font-size: 13px;
  }
  .page-intro {
    padding-block: 50px 40px;
  }
  .page-intro h1 {
    font-size: 55px;
  }
  .page-intro-copy {
    font-size: 16px;
  }
  .experience-page .experience-heading {
    grid-template-columns: 1fr 1fr;
  }
  .experience-page .experience-heading .eyebrow {
    grid-column: 1/-1;
  }
  .experience-page .role-heading h3 {
    font-size: 28px;
  }
  .experience-page .experience-role ul {
    font-size: 13px;
  }
  .project-page .project-copy h1 {
    font-size: 52px;
  }
  .project-depth .section-heading {
    grid-template-columns: 1fr 1fr;
  }
  .project-depth .section-heading .eyebrow {
    grid-column: 1/-1;
  }
  .project-depth .section-heading h2 {
    font-size: 37px;
  }
  .detail-grid {
    gap: 25px;
  }
  .detail-grid h3 {
    font-size: 22px;
  }
  .detail-grid p {
    font-size: 13px;
  }
  .about-page .about-section {
    padding-top: 50px;
  }
  .about-page .about-section h1 {
    font-size: 47px;
  }
  .about-page .about-copy p {
    font-size: 14px;
  }
  .about-page .about-copy .about-emphasis {
    font-size: 22px;
  }
  .about-paths {
    gap: 25px;
  }
  .about-paths h2 {
    font-size: 24px;
  }
  .page-next h2 {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    padding-top: 14px;
    gap: 6px;
  }
  .site-header .header-github {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    min-height: 44px;
    font-size: 10px;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 5px;
  }
  .site-header nav a {
    font-size: 11px;
    min-height: 44px;
  }
  .career-preview-intro {
    display: block;
  }
  .career-preview-intro .text-link {
    margin-top: 14px;
  }
  .career-highlights {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .career-highlights a {
    padding-top: 14px;
  }
  .career-highlights strong {
    font-size: 22px;
  }
  .career-highlights span {
    font-size: 10px;
  }
  .career-highlights p {
    font-size: 13px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tile-image {
    aspect-ratio: 1.7;
  }
  .tile-meta {
    font-size: 9px;
  }
  .portfolio-tile :is(h2, h3) {
    font-size: 29px;
  }
  .portfolio-tile > p {
    font-size: 14px;
  }
  .tile-tech {
    font-size: 10px;
  }
  .page-intro h1 {
    font-size: clamp(41px, 10vw, 55px);
  }
  .page-intro-copy {
    font-size: 15px;
  }
  .home-page .hero-intro {
    font-size: 15px;
  }
  .home-page .hero h1 {
    font-size: clamp(42px, 10.8vw, 61px);
  }
  .experience-page .experience-heading {
    grid-template-columns: 1fr;
  }
  .experience-page .experience-heading h2 {
    font-size: 39px;
  }
  .experience-page .experience-role {
    grid-template-columns: 1fr;
    padding-block: 28px;
  }
  .experience-page .experience-role ul {
    font-size: 14px;
  }
  .experience-actions {
    gap: 14px 25px;
  }
  .page-next {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding-block: 30px 45px;
  }
  .next-project {
    text-align: left;
  }
  .project-page .project-copy h1 {
    font-size: 47px;
  }
  .project-page .project-copy .project-lede {
    font-size: 28px;
  }
  .project-page .project-description {
    font-size: 14px;
  }
  .project-depth {
    padding-block: 35px 45px;
  }
  .project-depth .section-heading {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .detail-grid h3 {
    font-size: 25px;
    margin-top: 18px;
  }
  .detail-grid p {
    font-size: 14px;
  }
  .breadcrumb {
    padding-block: 20px;
  }
  .about-paths {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-page .about-section {
    grid-template-columns: 1fr;
  }
  .contact-section h2 {
    font-size: 33px;
  }
  .carplay-preview {
    padding: 14px;
  }
  .project-catalog {
    padding-bottom: 50px;
  }
  footer .wordmark {
    font-size: 12px;
  }
  footer .text-link {
    font-size: 9px;
  }
}
@media print {
  @page {
    margin: 16mm;
  }
  html,
  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }
  .site-header,
  footer,
  .skip-link,
  .experience-actions,
  dialog {
    display: none !important;
  }
  main {
    overflow: visible;
  }
  .experience-page .page-width,
  .experience-page .experience-section,
  .experience-page .expertise-section {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .experience-page .page-intro {
    padding-bottom: 18px;
  }
  .experience-page .page-intro h1 {
    font-size: 30pt;
    margin: 12px 0;
  }
  .experience-page .page-intro h1 em {
    color: #333;
  }
  .experience-page .page-intro-copy {
    font-size: 10pt;
    line-height: 1.5;
    max-width: none;
  }
  .experience-page .section-heading,
  .experience-page .experience-heading {
    display: block;
    margin: 25px 0 16px;
  }
  .experience-page .section-heading h2 {
    font-size: 21pt;
    line-height: 1.1;
    margin: 9px 0;
  }
  .experience-page .section-heading > p:last-child {
    font-size: 10pt;
  }
  .experience-page .experience-role {
    grid-template-columns: 1fr 1.7fr;
    gap: 25px;
    padding: 20px 0;
    break-inside: avoid;
  }
  .experience-page .role-heading h3 {
    font-size: 16pt;
    margin-top: 12px;
  }
  .experience-page .experience-role ul {
    font-size: 10pt;
    line-height: 1.5;
  }
  .experience-page .education-row {
    break-inside: avoid;
    margin-bottom: 30px;
  }
  .experience-page .expertise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .experience-page .expertise-grid article {
    break-inside: avoid;
  }
  .experience-page .expertise-grid h3 {
    font-size: 14pt;
    margin-top: 12px;
  }
  .experience-page .expertise-grid p {
    font-size: 10pt;
    line-height: 1.5;
  }
}

.career-heading {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.career-highlights .career-role {
  margin-bottom: 9px;
  color: var(--ink);
}

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

@media (max-width: 600px) {
  .drift-gameplay-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: #64718d #151923;
    padding-bottom: 12px;
  }
  .drift-gameplay-grid figure {
    scroll-snap-align: start;
  }
  .drift-swipe-hint {
    display: inline;
  }
}
