.real-scene{display:block;width:100%;height:100%;position:absolute;inset:0}.webgl-ready #pixel-world,.webgl-ready .desk{display:none}.webgl-ready{perspective:none}.pixel-viewport{pointer-events:auto!important}.pixel-copy{max-width:50%;pointer-events:none}.studio-heading{z-index:5;max-width:260px}.desk-camera.webgl-ready{z-index:1}.studio-frame:after{display:none}.scene-bottom,.scene-skip{z-index:6}.studio-heading{pointer-events:none}.typing-journey{height:980svh}.key{transition:transform .22s cubic-bezier(.2,1.8,.4,1),background .15s}.key.pressed{transition:transform .1s ease-out}.typing-stage:after{background:radial-gradient(ellipse at var(--lx,60%) var(--ly,40%),#fff4 0%,transparent 36%,#0008 100%);opacity:.3}.keyboard{transform:rotateX(26deg)}@media(max-width:760px){.typing-journey{height:920svh}.pixel-copy{max-width:90%;top:6%}.pixel-viewport{top:25%}.studio-heading{max-width:200px;padding:15px}.scene-bottom{bottom:24px}.studio-heading h2{font-size:27px}}@media(prefers-reduced-motion:reduce){.typing-journey{height:100svh}}
.keyboard-camera.webgl-ready{inset:30% 0 0;left:0;top:30%;width:100%;height:70%;margin:0;scale:1!important;perspective:none;mask-image:radial-gradient(ellipse 57% 62% at 50% 52%,#000 35%,transparent 96%)}.keyboard-camera.webgl-ready>.keyboard{visibility:hidden}.typing-stage{background:radial-gradient(ellipse at 55% 65%,#252832,#090b10 75%)}.typed-copy{z-index:6}.studio-sticky{background:#11141b}.pixel-viewport.webgl-ready{overflow:hidden}.webgl-ready>.real-scene{touch-action:pan-y}@media(max-width:760px){.keyboard-camera.webgl-ready{top:40%;height:60%}}

.pixel-sticky, .studio-sticky { min-height: 0; }
.keys-ready .keyboard-camera { cursor: pointer; }
.pixel-viewport.webgl-ready, .pixel-viewport.webgl-ready > .real-scene {
  touch-action: pan-y pinch-zoom;
}
.desk-camera, .desk-camera > .real-scene {
  touch-action: pan-y pinch-zoom;
}
.tilt-controls {
  position: absolute;
  top: 6%;
  right: 5%;
  z-index: 6;
  max-width: 36%;
  text-align: right;
}
.tilt-controls button {
  padding: 7px 10px;
  border: 1px solid #747187;
  border-radius: 999px;
  background: #15171bdf;
  color: #ece9f2;
  font-size: 11px;
}
.tilt-controls [role="status"] {
  display: block;
  margin-top: 5px;
  color: #ddd9d2;
  font-size: 10px;
}
.project-arrow { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .project .project-image img, .project .project-image video, .project .project-arrow {
    transition: transform 380ms cubic-bezier(.2,.7,.2,1);
  }
  .project:focus-visible .project-image img, .project:focus-visible .project-image video {
    transform: scale(1.035);
  }
  .project:focus-visible .project-arrow { transform: translate(2px, -2px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project:hover .project-image img, .project:hover .project-image video {
    transform: scale(1.035);
  }
  .project:hover .project-arrow { transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: reduce) {
  .project:hover .project-image img, .project:hover .project-image video { transform: none; }
}
.scene-dots { gap: 2px; }
.scene-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
}
.scene-dots button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #9096ab;
}
.scene-dots button.active { background: transparent; }
.scene-dots button.active::before {
  background: #9cacf8;
  border-color: #9cacf8;
  box-shadow: 0 0 8px #98abff77;
}
@media (prefers-reduced-motion: no-preference) {
  .pixel-journey { height: 300svh; }
  .studio-scroll { height: 450svh; }
  .typing-journey { height: 330svh; }
}
@media (max-width: 760px) {
  .scene-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }
  .scene-dots {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: center;
  }
  .scene-bottom > span:last-child { max-width: none; }
  .studio-heading { max-width: min(52%, 200px); }
  .keyboard-camera.webgl-ready {
    mask-image: radial-gradient(ellipse 67% 55% at 50% 50%, #000 40%, transparent 100%);
  }
}

.work .projects {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 1240px;
  margin-inline: auto;
}
.work .project {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "image copy";
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
  padding: clamp(28px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
  max-width: none;
  width: 100%;
  cursor: auto;
}
.work .project:nth-child(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy image";
}
.work .project .project-image {
  grid-area: image;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.work .project .project-image img,
.work .project .project-image video {
  position: absolute;
  inset: 0;
  margin: auto;
  object-fit: contain;
}
.work .project.aura .project-image video {
  width: 82%;
  height: 82%;
  max-width: none;
  object-fit: contain;
}
.work .project-caption {
  grid-area: copy;
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: 38ch;
  padding: 0;
  border: 0;
}
.work .project-caption h3 {
  margin: .3em 0 .4em;
  font-size: clamp(28px, 4vw, 54px);
  line-height: .98;
  letter-spacing: -.035em;
}
.work .project-type {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
}
.work .project-description {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.55;
}
.work .project-open {
  padding: 4px 0 7px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
.work .project-open:hover, .work .project-open:focus-visible {
  color: #aeb8ff;
  border-bottom-color: currentColor;
}
@media (max-width: 760px) {
  .work .project, .work .project:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "image" "copy";
    gap: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .typing-journey { height: 185svh; }
}
