/* Shared tokens → base → components → page layouts → responsive/print.
   Edit the component rule instead of appending page-specific visual overrides. */
:root {
  --control-radius: 5px;
  --caption-size: .875rem;
  --reading-measure: 60ch;
  --heading-1: clamp(2.25rem,4.2vw,3.25rem);
  --heading-2: clamp(1.75rem,2.6vw,2.25rem);
  --heading-3: clamp(1.2rem,1.8vw,1.4rem);
  --blue: #046b9f;
  --sky: #2b9bcf;
  --ink: #2f2e2e;
  --muted: #605e5e;
  --line: #dce7ed;
  --pale: #f2f7fa;
  --font-display: 'Jost',Helvetica,sans-serif;
  --font-text: 'Helvetica Neue',Helvetica,Arial,sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.025em;
}

figcaption {font-size:var(--caption-size);  line-height: 1.6; }
h1 { font-size: var(--heading-1); }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
h4 { font-size: 1.125rem; }
h5,h6 { font-size: 1rem; }

main p,main li,main dd,main figcaption { max-inline-size: var(--reading-measure); }

p {
  margin: 0 0 1.15em;
}

button,a {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,video:focus-visible,summary:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

::selection {
  background: #bae9ff;
  color: #103f54;
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 15px;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 12px;
}

.skip-link:focus {
  top: 15px;
}

/* Buttons: primary, secondary/selectable, and quiet utility. Artwork hotspots are separate. */
.button {
  --button-bg: var(--blue);
  --button-ink: #fff;
  --button-edge: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 22px;
  border: 2px solid var(--button-edge);
  border-radius: var(--control-radius);
  background: var(--button-bg);
  color: var(--button-ink);
  font: 600 18px/1.3 var(--font-display);
  text-decoration: none;
  text-align: center;
  transition: background-color .15s, border-color .15s;
}
.button:hover { --button-bg: #075980; --button-edge: #075980; }
.button.secondary {
  --button-bg: #f0f0ee;
  --button-ink: var(--ink);
  --button-edge: transparent;
}
.button.secondary:hover { --button-bg: #e3e3df; --button-edge: transparent; }
.button[aria-pressed=true],.button.secondary[aria-pressed=true] {
  --button-bg: var(--blue);
  --button-ink: #fff;
  --button-edge: var(--blue);
}
.button:disabled { cursor: wait; opacity: .55; }
.button.quiet { --button-bg: transparent; --button-ink: var(--blue); --button-edge: transparent; }
.button.quiet:hover { --button-bg: var(--pale); }
.button.compact { font-size: 13px; padding: 8px 12px; }
.resume-tabs .button { justify-content: flex-start; text-align: left; width: 100%; }
.project-choices .button { width: 100%; font-size: 14px; padding: 8px 10px; }
.screen-step { flex-shrink: 0; width: 44px; padding: 0; }
.work-toggle.button { position: static; margin-right: -22px; transform: none; padding: 0; min-width: 22px; width: 22px; height: 44px; font-size: 18px; }
.work-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

html:not(.nav-ready) .work-nav:is(:hover,:focus-within) .work-menu { display: grid; }
html.nav-ready .work-nav[data-open=true] .work-menu { display: grid; }

.site-header {
  width: min(1180px,calc(100% - 64px));
  min-height: 96px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
  border: 0;
  background: white;
  position: relative;
  z-index: 5;
}

.wordmark {
  display: block;
  width: 315px;
  max-width: 40%;
  flex-shrink: 0;
}

.wordmark img {
  width: 100%;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font: 500 16px/1.4 var(--font-display);
}

.site-header nav a {
  padding: 9px 0;
}

.site-header nav a:hover,.site-header nav a[aria-current] {
  color: var(--blue);
}

.site-header nav a[aria-current] {
  box-shadow: 0 2px var(--blue);
}

main {
  display: block;
  min-height: 55vh;
}

.home-hero,.featured,.page-intro,.project-grid,.case-meta,.case-body,.next-project,.content-grid,.body-copy,.resume-layout,.lab-story,.contact-block {
  width: min(1180px,calc(100% - 64px));
  margin-inline: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: .85fr 1.2fr;
  align-items: center;
  gap: 48px;
  padding: 35px 0 55px;
}

.hero-copy {
  position: relative;
  padding-top: 12px;
}

.section-label {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 600;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(42px,4.2vw,63px);
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 0 0 22px;
  color: #103f54;
}

.hero-copy>p:not(.section-label) {
  max-width: 370px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.project-explorer {
  min-width: 0;
  position: relative;
  text-align: center;
}

.device-stage {
  height: 290px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.device-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  cursor: grab;
}

.device-stage canvas:active {
  cursor: grabbing;
}

.device-stage canvas[hidden] {
  display: none;
}

.device-poster {
  position: absolute;
  inset: 9% 15%;
  width: 70%;
  height: 82%;
  object-fit: contain;
  object-position: top;
  background: #fff;
  box-shadow: 0 4px 18px #103f541b;
  z-index: -1;
}

.device-stage[data-ready=true] .device-poster {
  opacity: 0;
}

.device-stage[data-flat=true] .device-poster {
  opacity: 1;
  z-index: 1;
  inset: 5% 12%;
  width: 76%;
  height: 90%;
  object-fit: contain;
  transform: none;
  border: 1px solid #d8e4ea;
  box-shadow: none;
}

.device-caption {
  display: block;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 15px;
  margin: 6px 0 15px;
}

.device-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
}

.device-caption span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}

.view-button {
  font-size: 11px;
  color: var(--muted);
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 10px;
  margin-bottom: 11px;
}

.project-choices {
  display: grid;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  grid-template-columns: repeat(2,minmax(0,1fr));
  max-width: 450px;
  margin: auto;
}

.arcade-entry { width: 160px; margin-top: 22px; margin-left: 26px; }
.arcade-entry .arcade-discovery { margin-top: 0; }
.arcade-motion { display: block; margin-top: 14px; padding: 8px 0; min-height: 44px; border: 0; background: transparent; color: var(--muted); font: 600 15px/1.4 var(--font-display); text-decoration: underline; text-underline-offset: 3px; }

.arcade-discovery {
  position: relative;
  display: block;
  width: 88px;
  height: 116px;
  margin-top: 22px;
  margin-left: 5px;
  isolation: isolate;
}

.arcade-cabinet {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 5px #103f5418);
  animation: arcadeFloat 4s ease-in-out infinite;
}

.arcade-cards {
  position: absolute;
  inset: 20px 5px;
  z-index: -1;
}

.arcade-cards img {
  position: absolute;
  width: 58px;
  opacity: 0;
  transition: transform .25s,opacity .25s;
}

.arcade-discovery:hover .arcade-cards img,.arcade-discovery:focus-visible .arcade-cards img {
  opacity: 1;
}

.arcade-discovery:hover .arcade-cards img:first-child,.arcade-discovery:focus-visible .arcade-cards img:first-child {
  transform: translate(-31px,-5px) rotate(-20deg);
}

.arcade-discovery:hover .arcade-cards img:last-child,.arcade-discovery:focus-visible .arcade-cards img:last-child {
  transform: translate(50px,4px) rotate(22deg);
}

.featured {
  padding: 15px 0 70px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 28px;
  gap: 25px;
}

.section-heading h2 {

  margin: 0;
}

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

.featured .project-grid {
  width: 100%;
}

.work-card {
  min-width: 0;
}

.work-media {
  display: block;
  position: relative;
  aspect-ratio: 1.6;
  background: #f2f2f2;
  margin-bottom: 21px;
  overflow: hidden;
}

.film-preview { position: relative; width: 100%; height: 100%; }
.film-preview video { width: 100%; height: 100%; object-fit: contain; }
.film-toggle { position: absolute; right: 10px; bottom: 10px; min-width: 60px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--control-radius); background: #fffffff0; color: var(--ink); font: 600 13px/1.3 var(--font-display); }
.film-toggle:hover { background: #fff; }

.work-media>video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f2f2f2;
}

.work-media>noscript {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: white;
}

.website-cover {
  display: block;
  height: 100%;
}

.website-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work-card h3 {

  margin: 0 0 12px;
}

.work-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.work-card .section-label {
  font-size: 9px;
  line-height: 1.5;
  color: var(--blue);
  margin-bottom: 10px;
}

.work-card .text-link {
  font-size: 12px;
}

.work-index {
  padding-bottom: 80px;
}

.page-intro {
  padding: 48px 0 40px;
  max-width: 1180px;
}

.page-intro h1 {

  margin: 15px 0 20px;
  color: #103f54;
}

.page-intro>p:not(.section-label) {
  max-width:var(--reading-measure);
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.page-intro .text-link {
  display: inline-block;
  margin-bottom: 22px;
}

.lab-cover img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  background: #e9f3f8;
}

.site-footer {
  width: min(1180px,calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 35px;
  border-top: 1px solid #dce7ed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: #fff;
  font: 13px/1.6 var(--font-text);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  color: #103f54;
  font-weight: 500;
}

.site-footer span,.site-footer small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
}

.site-footer nav a:hover {
  color: var(--blue);
}

.site-footer button {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
}

.case-intro {
  padding-bottom: 30px;
}

.case-hero {
  width: min(1180px,calc(100% - 64px));
  margin: 0 auto 35px;
  background: #f2f2f2;
}

.project-film {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #f2f2f2;
}

.website-artifact {
  max-width: 860px;
  padding: 25px;
  background: #f2f7fa;
  max-height: 680px;
  overflow: auto;
}

.website-artifact img {
  width: 100%;
  height: auto;
  max-width: 912px;
  margin: auto;
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding: 0 0 40px;
  margin-block: 0;
}

.case-meta dt {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 8px;
}

.case-meta dd {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.case-body {
  display: grid;
  grid-template-columns: 220px minmax(0,760px);
  gap: 65px;
  align-items: start;
  padding: 25px 0 60px;
}

.case-toc {
  position: sticky;
  top: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.case-toc a:hover {
  color: var(--blue);
}

.case-section {
  margin-bottom: 50px;
  scroll-margin-top: 30px;
}

.case-section h2,.takeaways h2 {

  margin: 0 0 20px;
  color: #103f54;
}

.case-section p,.takeaways li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.case-section figure {
  margin: 25px 0;
}

.case-section .image-button {
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}

.case-section .image-button img {
  margin: auto;
}

.case-section figcaption {font-size:var(--caption-size);

  color: var(--muted);
  padding-top: 12px;
  line-height: 1.6;
}

.takeaways {
  padding: 25px 28px;
  background: #f2f7fa;
}

.takeaways ul {
  margin: 0;
  padding-left: 20px;
}

.takeaways li {
  font-size: 14px;
  margin-bottom: 8px;
}

.next-project {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 65px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 5px 0 70px;
}

.content-grid h2,.body-copy h2,.lab-story h2 {

  color: #103f54;
  margin: 0 0 18px;
}

.content-grid p,.body-copy p {
  font-size: 16px;
  color: var(--muted);
}

.content-grid .brand-portrait {
  width: 160px;
  height: 175px;
  object-fit: contain;
  margin: 20px 0 30px;
}

.content-grid>div>img[src$="ddd-logo.svg"] {
  width: 150px;
  max-height: 190px;
  object-fit: contain;
  margin: 15px 0 30px;
}

.body-copy {
  max-width: 800px;
  padding-bottom: 50px;
}

.education {
  margin: 30px 0;
}

.education article {
  margin-bottom: 25px;
}

.education h3 {

  margin-bottom: 5px;
}

.education p {
  font-size: 14px;
}

.tools-list {
  display: flex;
  gap: 14px 23px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.tools-list li {
  font-size: 14px;
  color: #43565f;
  display: flex;
  align-items: start;
  gap: 7px;
  width: 100%;
  line-height: 1.8;
}

.tools-list svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

.tools-list .tool-icon {
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  min-width: 21px;
}

.resume-layout {
  display: grid;
  grid-template-columns: 220px minmax(0,790px);
  gap: 70px;
  padding: 0 0 70px;
  align-items: start;
}

.resume-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: static;
}

.resume-section-title { display: flex; align-items: center; gap: 12px; }
.resume-section-title svg { width: 27px; height: 27px; flex-shrink: 0; color: var(--blue); }

.resume-panel {
  padding: 0 0 20px;
}

.resume-panel[hidden] {
  display: none;
}

.resume-panel h2 {

  margin: 0 0 25px;
  color: #103f54;
}

.resume-panel h3 {

  margin: 0 0 7px;
}

.resume-panel article {
  margin-bottom: 30px;
}

.resume-panel p,.resume-panel li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.resume-panel ul {
  padding-left: 20px;
}

.contact-block {
  padding: 0 0 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  color: var(--blue);
  font-size: 14px;
}

.contact-block a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.resume-tabs .button {
  margin-top: 15px;
}

.lab-story {
  padding-bottom: 65px;
  max-width: 1000px;
}

.lab-story section {
  margin-bottom: 45px;
}

.lab-story .artifact {
  background: #f2f7fa;
  padding: 28px;
  margin: 20px 0;
}

.lab-story .artifact img {
  max-height: 440px;
  width: 100%;
  object-fit: contain;
}

.lab-story .artifact figcaption {font-size:var(--caption-size);

  color: var(--muted);
  margin-top: 15px;
}

.lab-story p {
  color: var(--muted);
  line-height: 1.8;
}

.lab-story .button {
  margin-top: 10px;
}

.media-dialog {
  border: 0;
  padding: 0;
  width: min(1100px,94vw);
  max-height: 94vh;
  background: #fff;
  color: var(--ink);
}

.media-dialog::backdrop {
  background: #103f54b3;
}

.media-dialog>header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.media-dialog button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  color: var(--blue);
}

.media-dialog img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.media-dialog p {
  padding: 15px 20px;
  font-size: 12px;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: normal;
}

.game-page .site-header {
  max-width: 1180px;
  padding: 20px 0;
  border: 0;
}

.game-page .site-footer {
  max-width: 1180px;
  padding: 28px 0 35px;
}

.game-page main {
  width: min(1050px,calc(100% - 40px));
  margin: auto;
}

.game-page .wordmark img {
  filter: none;
}

.game-page .site-header .wordmark {
  font-size: 0;
}

html[data-motion=reduce] *,html[data-motion=reduce] *:before {
  animation: none!important;
  transition: none!important;
  scroll-behavior: auto!important;
}

.content-grid>.body-copy,.resume-layout>.body-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-identity img {
  width: 150px;
  height: 170px;
  object-fit: contain;
  margin: 5px auto;
}

.resume-layout aside>.contact-block {
  display: block;
  width: 100%;
  padding-top: 30px;
  overflow-wrap: anywhere;
}

.resume-layout aside>.contact-block h2 {


  margin: 0 0 12px;
}

.resume-layout aside>.contact-block p {
  margin-bottom: 8px;
  font-size: 12px;
}

.contact-block h2 {


  margin: 0;
}

body.game-page {
  max-width: none;
  padding: 0;
  margin: 0;
}

.game-page .machine-console .readouts strong {
  font-family: var(--font-text);
}

.content-grid.education {
  margin-inline: auto;
}

.cabinet-note {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 45px;
}

.cabinet-note summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
}

.cabinet-note p {
  margin-top: 18px;
  max-width:var(--reading-measure);
}

.game-page .draw:before,.game-page .help:before {
  content: '';
  position: absolute;
  inset: -9px;
}

.work-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: 3px;
}

.work-toggle {
  width: 27px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 18px;
  display: grid;
  place-items: center;
}

.work-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 4px 24px;
  background: #f8fbfd;
  padding: 16px max(32px,calc((100% - 1180px)/2));
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  z-index: 20;
  text-align: left;
}

.work-menu a {
  display: block;
  white-space: normal;
  padding: 10px 12px!important;
  font: 500 16px/1.4 var(--font-display);
  box-shadow: none!important;
}

.work-menu a:hover,.work-menu a:focus-visible {
  background: #f2f7fa;
}

.site-header,.game-page .site-header {
  width: 100%;
  max-width: none;
  padding: 20px max(32px,calc((100% - 1180px)/2));
  border-bottom: 1px solid #d9e6ee;
  background: #f8fbfd;
  min-height: 96px;
}

.work-card>.button {
  font-size: 16px;
  min-height: 44px;
  padding: 9px 16px;
  margin-top: 3px;
}

.section-heading .button {
  min-height: 44px;
  padding: 8px 16px;
}

.device-meta {
  margin-bottom: 16px;
}

.device-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.screen-step svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screen-step span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.device-controls .view-button {
  margin: 0;
  padding: 8px 4px;
  min-height: 39px;
  font-size: 11px;
}

.about-intro {
  max-width: 820px;
  padding-bottom: 25px;
}

.about-photo { width: min(820px,calc(100% - 40px)); margin: 0 auto 38px; }
.about-photo img { width: 100%; max-height: 420px; object-fit: cover; object-position: 50% 32%; border-radius: 5px; }
.about-photo figcaption {font-size:var(--caption-size);  color: var(--muted); margin-top: 9px; }

.about-profile,.about-section {
  width: min(820px,calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-profile .about-identity {
  padding: 5px 0 25px;
}

.about-profile .about-identity img {
  width: 105px;
  height: 115px;
  object-fit: contain;
  margin: 0;
}

.about-profile .body-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.about-profile .body-copy p {
  font-size: 16px;
  line-height: 1.8;
}

.about-section {
  display: block;
}

.about-section h2 {

  margin: 0 0 20px;
  color: #103f54;
}

.about-section.education {
  margin-inline: auto;
}

.about-section .body-copy {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.about-section .body-copy article {
  margin: 0;
}

.about-section .tools-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin: 0;
}

.about-section .tools-list li {
  width: auto;
}

.about-section .tools-list strong {
  font-weight: 500;
}

.about-profile .button {
  margin-top: 8px;
}

.about-contact {
  width: min(820px,calc(100% - 64px));
  margin-inline: auto;
}

@keyframes arcadeFloat {50%{transform:translateY(-7px) rotate(2deg)}}

@media(max-width:1000px) {
.home-hero {
  gap: 20px;
  grid-template-columns: .8fr 1.2fr;
}

.hero-copy h1 {
  font-size: 45px;
}

.device-stage {
  height: 300px;
}

.content-grid {
  gap: 40px;
}

.case-body {
  grid-template-columns: 170px minmax(0,1fr);
  gap: 35px;
}

.project-grid {
  gap: 28px 20px;
}

.resume-layout {
  gap: 40px;
}

}

@media(max-width:760px) {
.arcade-entry { position: absolute; right: -4px; bottom: 0; width: 110px; margin: 0; }
.arcade-entry .arcade-discovery { position: static; width: 64px; height: 83px; margin: 0 auto; }
.arcade-entry .arcade-motion { font-size: 13px; width: 110px; min-height: 44px; margin-top: 12px; }

.site-header {
  width: calc(100% - 40px);
  min-height: 125px;
  flex-wrap: wrap;
  gap: 19px;
  padding: 22px 0;
}

.wordmark {
  width: 275px;
  max-width: 88%;
}

.site-header nav {
  width: 100%;
  gap: 26px;
  justify-content: flex-start;
  font-size: 16px;
}

.home-hero,.featured,.page-intro,.project-grid,.case-meta,.case-body,.next-project,.content-grid,.body-copy,.resume-layout,.lab-story,.contact-block {
  width: calc(100% - 40px);
}

.home-hero {
  display: block;
  padding: 25px 0 42px;
}

.hero-copy {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 88px;
}

.hero-copy .section-label {
  font-size: 9px;
}

.hero-copy h1 {
  font-size: 45px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-copy>p:not(.section-label) {
  font-size: 15px;
  max-width: 325px;
}

.hero-copy .button {
  margin-right: 80px;
}

.arcade-discovery {
  width: 64px;
  height: 83px;
  position: absolute;
  right: 9px;
  left: auto;
  bottom: 0;
  margin: 0;
}

.project-explorer {
  margin-top: 20px;
}

.device-stage {
  height: 250px;
}

.device-caption {
  grid-template-columns: 35px 1fr 35px;
  gap: 8px;
}

.device-caption strong {
  font-size: 21px;
}

.device-caption span {
  font-size: 9px;
}

.project-choices {
  gap: 8px;
}

.view-button {
  font-size: 10px;
  margin-bottom: 10px;
}

.featured {
  padding-bottom: 50px;
}

.section-heading .text-link {
  font-size: 12px;
}

.project-grid {
  grid-template-columns: 1fr;
  gap: 35px;
}

.work-card p {
  font-size: 14px;
  max-width: 500px;
}

.work-media {
  aspect-ratio: 1.65;
  margin-bottom: 18px;
}

.work-card .section-label {
  font-size: 9px;
}

.site-footer {
  width: calc(100% - 40px);
  display: block;
  padding: 25px 0;
}

.site-footer nav {
  margin-top: 22px;
  gap: 17px;
  font-size: 11px;
}

.page-intro {
  padding: 30px 0 28px;
}

.page-intro>p:not(.section-label) {
  font-size: 16px;
}

.case-hero {
  width: 100%;
  margin-bottom: 25px;
}

.website-artifact {
  padding: 15px;
  max-height: 500px;
}

.case-meta {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-bottom: 25px;
}

.case-meta>div:last-child {
  grid-column: 1/-1;
}

.case-meta dd {
  font-size: 12px;
}

.case-body {
  display: block;
  padding-top: 10px;
}

.case-toc {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 12px 18px;
  margin-bottom: 32px;
}

.case-section p {
  font-size: 15px;
  line-height: 1.8;
}

.case-section {
  margin-bottom: 35px;
}

.takeaways {
  padding: 23px;
}

.next-project {
  display: block;
  margin-bottom: 45px;
}

.next-project .button {
  display: flex;
  margin-top: 20px;
  font-size: 12px;
}

.content-grid {
  display: block;
  padding-bottom: 45px;
}

.content-grid .brand-portrait,.content-grid>div>img[src$="ddd-logo.svg"] {
  float: right;
  width: 85px;
  height: 100px;
  margin: 0 0 15px 20px;
}

.content-grid p,.body-copy p {
  font-size: 15px;
}

.tools-list {
  gap: 13px 19px;
}

.tools-list li {
  font-size: 13px;
}

.resume-layout {
  display: block;
  padding-bottom: 45px;
}

.resume-tabs {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 7px;
}

.resume-tabs .button {
  margin-top: 0;
}

.contact-block {
  gap: 8px 18px;
  font-size: 12px;
  padding-bottom: 28px;
}

.lab-story .artifact {
  padding: 18px;
}

.lab-story p {
  font-size: 15px;
}

.section-label {
  font-size: 10px;
}

.game-page .site-header {
  margin: auto;
}

.game-page main {
  width: calc(100% - 32px);
}

.about-identity img {
  width: 80px;
  height: 90px;
  margin: 0 0 25px;
}

.content-grid>.body-copy {
  width: 100%;
}

.resume-layout aside>.contact-block {
  padding-top: 0;
  padding-bottom: 25px;
}

.work-menu {
  position: fixed;
  top: var(--header-bottom,140px);
  bottom: 0;
  display: none;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  padding: 24px;
  overflow-y: auto;
  background: #f8fbfd;
}
.work-menu a { font-size: 22px; min-height: 64px; display: flex; align-items: center; }
.site-header .work-toggle { display: none; }
.site-header nav>a,.work-nav>a { min-height: 44px; display: inline-flex; align-items: center; }
html:has(.work-nav[data-open=true]) { overflow: hidden; }

.work-toggle {
  width: 28px;
  height: 34px;
}

.site-header,.game-page .site-header {
  width: 100%;
  padding: 20px;
  min-height: 120px;
}

.device-controls {
  gap: 10px;
}

.section-heading .button {
  padding: 8px 13px;
}

.about-intro,.about-profile,.about-section {
  width: calc(100% - 40px);
}

.about-profile .about-identity img {
  width: 85px;
  height: 93px;
}

.about-profile .body-copy p {
  font-size: 15px;
}

.about-section .body-copy,.about-section .tools-list {
  grid-template-columns: 1fr;
  gap: 20px;
}

.about-profile {
  padding-bottom: 35px;
}

.about-section {
  padding-bottom: 35px;
}

.about-contact {
  width: calc(100% - 40px);
}

}

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

}

@media print {
.site-header,.site-footer,.resume-tabs,.device-stage,.arcade-discovery,.resume-download {
  display: none!important;
}

body {
  font-size: 11pt;
  color: #111;
}

.resume-layout,.page-intro,.contact-block {
  width: 100%;
  padding: 0;
}

.resume-panel[hidden] {
  display: block;
}

.resume-panel {
  break-inside: avoid;
}

.resume-panel article {
  break-inside: avoid;
}

.resume-layout {
  display: block;
}

.resume-panel li,.resume-panel p {
  color: #222;
}

.contact-block {
  margin-bottom: 20px;
}

}

/* Touch discovery: a brief card fan once per cycle, with a long resting interval. */
@keyframes arcadeHintLeft {
  0%, 24%, 39%, 100% { opacity: 0; transform: translate(0,0) rotate(0); }
  28%, 34% { opacity: 1; transform: translate(-20px,-5px) rotate(-20deg); }
}
@keyframes arcadeHintRight {
  0%, 24%, 39%, 100% { opacity: 0; transform: translate(0,0) rotate(0); }
  28%, 34% { opacity: 1; transform: translate(33px,4px) rotate(22deg); }
}
@keyframes arcadeHintCabinet {
  0%, 24%, 39%, 100% { transform: translateY(0) rotate(0); }
  28%, 34% { transform: translateY(-5px) rotate(2deg); }
}
@media (max-width: 760px), (hover: none) {
  .arcade-cabinet { animation: arcadeHintCabinet 16s ease-in-out infinite; }
  .arcade-cards img:first-child { animation: arcadeHintLeft 16s ease-in-out infinite; }
  .arcade-cards img:last-child { animation: arcadeHintRight 16s ease-in-out infinite; }
}

/* Original Lab identity and code gallery, sharing the site button foundation. */
.lab-project-logo { width: min(100%, 440px); height: auto; }
.lab-code-showcase { width: min(1160px,calc(100% - 80px)); margin: 0 auto 70px; }
.lab-code-showcase .page-intro,.lab-code-showcase .lab-story { width: 100%; }
.lab-code-showcase .page-intro { padding-bottom: 24px; }
.lab-code-showcase .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.lab-code-showcase nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.lab-code-showcase nav[hidden],.lab-code-panel[hidden] { display: none; }
.lab-code-showcase pre { max-width: 100%; overflow: auto; padding: 18px; background: #f1f3f5; border: 1px solid #d9dfe5; border-radius: 5px; font: 13px/1.7 ui-monospace,monospace; }
.lab-code-cards,.lab-code-gauges { display: flex; gap: 12px; justify-content: center; align-items: center; }
.lab-code-showcase .lab-code-cards img { width: 30%; min-width: 0; height: auto; }
.lab-code-showcase .lab-code-gauges img { width: auto; min-width: 0; height: 240px; max-width: 28%; object-fit: contain; }
@media(max-width:760px) {
 .lab-code-showcase { width: calc(100% - 40px); }
 .lab-code-showcase .body-copy { width: 100%; }
 .lab-code-showcase .content-grid { grid-template-columns: 1fr; gap: 20px; }
 }

/* Small semantic illustrations accompany headings without replacing their text. */
.section-symbol{display:inline-block;width:26px;height:26px;margin-right:12px;vertical-align:-2px;flex-shrink:0}

/* Project actions repeat only at the opening and closing of a case. */
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.project-actions .button { margin-top: 0; }
