@font-face {
  font-family: Barlow;
  src: url("/assets/type/display.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/assets/type/body.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/assets/type/mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #111715;
  --orange: #ff7848;
  --paper: #ebece4;
  --mute: #b4bcb3;
  --rule: #38413b;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font:
    1rem/1.55 Space,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #00a7d1;
  outline-offset: 5px;
}
img,
canvas {
  display: block;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.wrap {
  width: min(1440px, 100%);
  margin-inline: auto;
  padding-inline: clamp(22px, 5.4vw, 88px);
}
.mast {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.mast:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: clamp(22px, 5.4vw, 88px);
  right: clamp(22px, 5.4vw, 88px);
  height: 1px;
  background: var(--rule);
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  line-height: 0.93;
  white-space: nowrap;
}
.brand img {
  border-radius: 4px;
}
.brand > span {
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 1.14rem;
}
.brand small {
  display: block;
  margin-top: 4px;
  font:
    400 0.65rem/1 Plex,
    monospace;
  letter-spacing: 0.27em;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 46px);
  font-size: 0.93rem;
}
nav a:not(.nav-contact):hover,
.footer a:hover {
  color: var(--orange);
}
.nav-contact {
  border: 1px solid #5a645d;
  padding: 8px 19px;
  border-radius: 3px;
}
.nav-contact:hover {
  background: #28322c;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 4;
  background: white;
  color: black;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 2%;
  align-items: center;
  padding-block: clamp(42px, 5vw, 82px) clamp(26px, 3.8vw, 58px);
  isolation: isolate;
}
.eyebrow,
.mono,
.hero-foot,
.release,
.project-index,
.crumb,
.gallery figcaption,
.spec dt {
  font:
    400 0.78rem/1.5 Plex,
    monospace;
  letter-spacing: 0.075em;
}
.eyebrow,
.hero-foot,
.release,
.crumb,
.spec dt {
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
}
.signal,
.section-mark {
  width: 23px;
  height: 10px;
  display: inline-block;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 3px,
    var(--orange) 3px 6px
  );
  flex: none;
}
.hero h1,
.missing h1,
.game-title {
  font:
    800 clamp(5.7rem, 8.9vw, 9.1rem)/0.83 Barlow,
    Impact,
    sans-serif;
  letter-spacing: -0.032em;
  padding-block: 23px 21px;
}
.orange {
  color: var(--orange);
}
.lead {
  color: #c5cbc3;
  font-size: clamp(1.02rem, 1.35vw, 1.27rem);
  line-height: 1.53;
  letter-spacing: -0.024em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.97rem;
  min-height: 48px;
  transition:
    background-color 0.16s,
    color 0.16s,
    transform 0.16s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--orange);
  color: #191916;
}
.primary:hover {
  background: #ff956f;
}
.hero .button {
  margin-top: 24px;
}
.instrument-panel {
  width: 100%;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.stage {
  aspect-ratio: 1.37;
  position: relative;
  background: radial-gradient(ellipse at center, #26332b 0, transparent 70%);
  overflow: hidden;
}
.stage > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.poster {
  object-fit: contain;
}
.stage:has(canvas[data-ready]) .poster {
  visibility: hidden;
}
.stage canvas {
  opacity: 0;
}
.stage canvas[data-ready] {
  opacity: 1;
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #afb8ad;
  font-size: 0.72rem;
  padding-top: 10px;
  padding-bottom: 25px;
}
.scale {
  height: 7px;
  flex: 1;
  opacity: 0.65;
  background: repeating-linear-gradient(
    90deg,
    #5e6c60 0 1px,
    transparent 1px 8px
  );
  mask-image: linear-gradient(90deg, black, transparent 80%);
}
.asterisk {
  color: var(--orange);
  margin-left: 8px;
}
.work {
  background: var(--paper);
  color: #17201a;
  padding-block: clamp(48px, 6vw, 100px);
}
.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-line > .mono {
  color: #49564a;
  letter-spacing: 0;
}
.section-mark {
  width: 18px;
}
h2,
.project-copy h3 {
  font:
    800 clamp(3.8rem, 6.4vw, 6.6rem)/0.94 Barlow,
    Impact,
    sans-serif;
  letter-spacing: -0.032em;
}
.work h2 {
  margin: 14px 0 30px;
}
.project-cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  border-radius: 6px;
  color: #f5f6e7;
  background: radial-gradient(
    ellipse at 79% 22%,
    #77885b,
    #435f45 35%,
    #253e33 68%,
    #172b25
  );
  min-height: 400px;
}
.project-cover:before,
.game-intro:before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image: repeating-radial-gradient(
    ellipse at 100% 120%,
    transparent 0 16px,
    #a5c790 16.6px 17px,
    transparent 17.8px 25px
  );
  transform: scale(1.2) rotate(-7deg);
}
.project-copy {
  padding: clamp(28px, 4vw, 60px);
  z-index: 1;
}
.release {
  color: #d7e7cf;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
}
.release > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #beee91;
}
.project-copy h3 {
  font-size: clamp(3.35rem, 5.6vw, 6.15rem);
  margin: 20px 0 16px;
}
.subtitle {
  display: block;
  color: #c4d6a0;
  font-size: 0.63em;
  line-height: 1.05;
}
.project-copy p {
  max-width: 35ch;
  color: #e0e7d8;
}
.light {
  margin-top: 26px;
  background: #edf1dd;
  color: #263828;
}
.light:hover {
  background: white;
}
.screens {
  position: relative;
  align-self: stretch;
  display: block;
  min-height: clamp(420px, 37vw, 550px);
  isolation: isolate;
  perspective: 1100px;
  background: radial-gradient(ellipse at 55% 84%, #11271999, transparent 53%);
}
.screens::before {
  content: "";
  position: absolute;
  inset: 12% 8% 16% 3%;
  border: 1px solid #d9eeb638;
  border-radius: 50%;
  transform: rotate(-24deg);
  box-shadow:
    0 0 0 24px #d6f2b20c,
    0 0 0 25px #d6f2b219,
    0 0 0 54px #d6f2b208;
}
.screen {
  position: absolute;
  padding: clamp(4px, 0.5vw, 8px);
  background: linear-gradient(
    125deg,
    #f6ead2 0%,
    #677067 5%,
    #343b37 28%,
    #202623 64%,
    #a1ab99 94%,
    #282c29 100%
  );
  border: 1px solid #a4ae97;
  box-shadow:
    inset 1px 1px 1px #f9ffdb98,
    inset -2px -2px 2px #171f18,
    8px 18px 28px #0e201b8c,
    24px 35px 60px #09191180;
  transition: transform 0.55s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #101712;
}
.screen.front {
  height: 80%;
  aspect-ratio: 828 / 1800;
  top: 12%;
  left: 6%;
  border-radius: 13% / 6%;
  transform: rotateY(-9deg) rotateZ(-9deg);
}
.screen.front img {
  border-radius: 11% / 5%;
}
.screen.rear {
  height: 86%;
  aspect-ratio: 3 / 4;
  top: 4%;
  right: 6%;
  border-radius: 7% / 5.25%;
  transform: rotateY(-14deg) rotateZ(8deg);
}
.screen.rear img {
  border-radius: 5% / 3.75%;
}
@media (hover: hover) {
  .screens:hover .screen.front {
    transform: translate(-3px, -5px) rotateY(-4deg) rotateZ(-6deg);
  }
  .screens:hover .screen.rear {
    transform: translate(3px, 3px) rotateY(-10deg) rotateZ(10deg);
  }
}
.project-index {
  display: flex;
  justify-content: space-between;
  color: #526052;
  font-size: 0.73rem;
  border-bottom: 1px solid #b8c1b5;
  padding: 13px 0;
}
.story {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 10%;
  padding-block: clamp(70px, 9vw, 145px);
}
.story h2 {
  margin-top: 20px;
}
.story-copy {
  padding-top: 13px;
  color: #bfc7bf;
  max-width: 64ch;
}
.large-copy {
  color: #f0f1e6;
  font-size: clamp(1.35rem, 2.05vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.story-copy > p + p {
  margin-top: 22px;
}
.signature {
  display: block;
  margin-top: 30px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--paper);
}
.story-copy .mono {
  color: var(--mute);
}
.contact {
  background: var(--orange);
  color: #1a211c;
  padding-block: clamp(45px, 6vw, 85px);
}
.contact .section-mark {
  filter: brightness(0.1);
}
.contact h2 {
  margin: 15px 0 18px;
}
.contact h2 span {
  color: #fff3d8;
}
.contact a {
  font-size: clamp(1.1rem, 2.7vw, 2.5rem);
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}
.footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
}
.footer small,
.footer > a:last-child {
  font:
    400 0.78rem/1.5 Plex,
    monospace;
  color: #c0c7bf;
}
.missing {
  padding-block: 14vh;
}
.missing h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  padding-bottom: 35px;
}
.crumb {
  display: inline-block;
  color: #d1dcce;
  margin-bottom: 24px;
  border-bottom: 1px solid #667466;
}
.game-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #20382e;
}
.game-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6%;
  align-items: center;
  padding-block: 42px;
}
.game-layout section {
  padding-block: 14px;
}
.game-title {
  font-size: clamp(5.5rem, 8.5vw, 9rem);
  padding: 10px 0 20px;
}
.game-title span {
  color: #cadaaa;
}
.game-layout .lead {
  max-width: 39ch;
}
.game-layout .button {
  margin-top: 24px;
}
.game-visual {
  max-height: 460px;
  max-width: 100%;
  width: auto;
  margin: auto;
  height: auto;
  aspect-ratio: 828 / 1800;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 36px #10191299;
  transform: rotate(4deg);
}
.spec {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 24px;
}
.spec dt {
  color: #adb8af;
}
.spec dd {
  margin: 2px 0 0;
  font-weight: 600;
}
.gallery {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(45px, 6vw, 80px);
}
.gallery h2 {
  margin: 16px 0 18px;
}
.gallery-intro {
  max-width: 64ch;
}
.frames {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.5vw, 42px);
}
.frames img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.gallery figcaption {
  margin-top: 10px;
  letter-spacing: 0;
}
.case-notes {
  padding-block: clamp(42px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8%;
}
.case-notes h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}
.case-notes p {
  color: #c9d0c7;
}
.case-notes p + p {
  margin-top: 14px;
}
@media (min-width: 1550px) {
  .hero {
    padding-block: 75px;
  }
  .stage {
    max-height: 510px;
  }
}
@media (max-width: 830px) {
  .hero {
    gap: 0;
  }
  .hero h1 {
    font-size: clamp(4.4rem, 10vw, 6.5rem);
  }
  .stage {
    aspect-ratio: 1.15;
  }
  .hero-foot {
    padding-top: 0;
  }
  .project-cover {
    min-height: 330px;
  }
  .screens {
    min-height: 330px;
  }
  .screen.front {
    left: 0;
    height: 73%;
    top: 19%;
  }
  .screen.rear {
    right: 4%;
    height: 73%;
    top: 11%;
  }
  .brand > span {
    font-size: 1rem;
  }
}
@media (max-width: 620px) {
  .mast {
    height: 68px;
  }
  .mast .brand img {
    width: 30px;
    height: 30px;
  }
  .brand {
    gap: 7px;
  }
  .brand > span {
    font-size: 0.86rem;
  }
  .brand small {
    font-size: 0.59rem;
  }
  .mast nav {
    gap: 16px;
    font-size: 0.84rem;
  }
  .nav-contact {
    padding: 6px 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 35px;
    padding-bottom: 19px;
  }
  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 6.55rem);
    padding-block: 18px 16px;
  }
  .hero .button {
    margin-top: 19px;
  }
  .instrument-panel {
    margin-top: 13px;
  }
  .stage {
    aspect-ratio: 1.65;
    max-height: 320px;
  }
  .hero-foot {
    padding-bottom: 18px;
    gap: 12px;
  }
  .hero-foot {
    font-size: 0.69rem;
  }
  .hero-foot > span:last-child {
    white-space: nowrap;
  }
  .section-line .mono {
    display: none;
  }
  .project-cover {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .screens {
    min-height: clamp(300px, 79vw, 440px);
  }
  .project-copy {
    padding: 30px 26px 6px;
  }
  .screen.front {
    left: 12%;
    height: 79%;
    top: 14%;
  }
  .screen.rear {
    right: 10%;
    height: 79%;
    top: 8%;
  }
  .project-index {
    font-size: 0.67rem;
  }
  .story,
  .case-notes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story h2 br {
    display: none;
  }
  .story h2 br:after {
    content: " ";
  }
  .story-copy {
    padding: 0;
  }
  .footer {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer small {
    order: 3;
    width: 100%;
  }
  .game-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .game-visual {
    max-height: 290px;
  }
  .game-title {
    font-size: 4.8rem;
  }
  .spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .frames {
    grid-template-columns: 1fr 1fr;
  }
  .frames figure:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.capture {
  display: block;
  cursor: zoom-in;
}
#viewer {
  width: min(90vw, 740px);
  max-height: 94dvh;
  padding: 16px;
  border: 1px solid #526157;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
}
#viewer::backdrop {
  background: rgb(10 16 13 / 90%);
}
#full-capture {
  margin: auto;
  max-width: 100%;
  height: min(65dvh, 720px);
  object-fit: contain;
}
.viewer-head,
.viewer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
}
#viewer button {
  padding: 6px 12px;
  border: 1px solid #657369;
  border-radius: 3px;
  background: transparent;
}
#viewer button:hover {
  background: #27342c;
}

.capture {
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 30px);
  background: radial-gradient(ellipse at top, #50614e, #1c2a23);
  aspect-ratio: 4/5;
  border-radius: 5px;
}
.frames .capture img {
  width: auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
.notes-title h2 {
  max-width: 8ch;
}
.notes-body .mechanics-lead {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  color: var(--paper);
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.modes {
  margin: 28px 0 36px;
}
.modes > div {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 15px;
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
.modes dt {
  font-weight: 700;
  color: var(--orange);
}
.modes dd {
  margin: 0;
  color: #c9d0c7;
}
.notes-body h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  align-items: center;
}
.game-actions .button {
  margin: 0;
}
.feedback-link {
  text-underline-offset: 0.3em;
  text-decoration: underline;
}
.case-count {
  display: none;
  pointer-events: none;
}
.scene-wipe {
  display: none;
}
#work:focus {
  outline: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .launching .case-count {
    display: grid;
    place-items: center;
    color: #fff4d7;
    font:
      800 clamp(3rem, 7vw, 6.5rem)/1 Barlow,
      sans-serif;
    text-shadow: 0 2px 15px #17281b;
  }
  .case-count span {
    grid-area: 1/1;
    opacity: 0;
    animation: case-tick 0.19s both;
  }
  .case-count span:nth-child(2) {
    animation-delay: 0.19s;
  }
  .case-count span:nth-child(3) {
    animation-delay: 0.38s;
  }
  .launching .stage:not(:has(canvas[data-ready])) .poster {
    animation: poster-dive 0.8s ease-in both;
  }
  .launching .scene-wipe,
  .revealing .scene-wipe {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: #263d32;
  }
  .launching .scene-wipe {
    animation: iris-in 0.23s 0.57s cubic-bezier(0.6, 0, 0.8, 0.4) both;
  }
  .revealing .scene-wipe {
    animation: iris-out 0.38s cubic-bezier(0.2, 0.55, 0.2, 1) both;
  }
  .revealing .project-cover {
    animation: arrive 0.5s ease-out both;
  }
  @keyframes case-tick {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
    16%,
    72% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: scale(1.18);
    }
  }
  @keyframes poster-dive {
    to {
      transform: scale(1.9) translateY(-10%);
    }
  }
  @keyframes iris-in {
    from {
      clip-path: circle(0 at 74% 53%);
    }
    to {
      clip-path: circle(145vmax at 74% 53%);
    }
  }
  @keyframes iris-out {
    from {
      clip-path: inset(0);
    }
    to {
      clip-path: inset(0 0 100%);
    }
  }
  @keyframes arrive {
    from {
      transform: translateY(17px) scale(0.988);
    }
    to {
      transform: none;
    }
  }
}
@media (max-width: 620px) {
  .modes > div {
    grid-template-columns: 4.5rem 1fr;
    gap: 8px;
  }
  .game-visual {
    max-height: 345px;
  }
}
