@font-face {
  font-family: DM;
  src: url(/assets/fonts/dm-sans.woff2);
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Serif;
  src: url(/assets/fonts/instrument-serif.woff2);
  font-display: swap;
}
@font-face {
  font-family: Mono;
  src: url(/assets/fonts/plex-mono.woff2);
  font-display: swap;
}
:root {
  --night: #101c2b;
  --cream: #fff0d8;
  --amber: #edac75;
  --paper: var(--night);
  --ink: var(--cream);
  --accent: var(--amber);
  --rule: color-mix(in srgb, currentColor 27%, transparent);
  --pad: clamp(18px, 4.3vw, 78px);
  font:
    16px/1.52 DM,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button,
select,
textarea,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ec8448;
  outline-offset: 3px;
}
p,
h1,
h2,
h3,
h4,
figure,
ol,
ul {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  background: none;
  border: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.04;
}
h1,
h2 {
  font-family: Serif, Georgia, serif;
  font-weight: 400;
}
em {
  font-weight: 400;
}
p {
  max-width: 65ch;
}
[hidden] {
  display: none !important;
}
.eyebrow,
.tech,
.foot,
.underlink {
  font:
    11px/1.5 Mono,
    monospace;
  letter-spacing: 0.045em;
}
.eyebrow {
  text-transform: uppercase;
}
.underlink {
  text-decoration: underline;
  text-underline-offset: 5px;
  display: inline-block;
  padding: 7px 0;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 20;
  background: var(--cream);
  color: var(--night);
  padding: 10px;
}
.skip:focus {
  top: 7px;
}
.mast,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  color: var(--cream);
  background: #0d1723;
}
.mast {
  min-height: 62px;
  border-bottom: 1px solid #f4cf9a33;
  position: relative;
  z-index: 5;
}
.signature {
  font:
    23px Serif,
    Georgia;
}
.signature i {
  font: 19px Mono;
  color: #e9ad77;
  padding-right: 9px;
}
.signature span {
  color: #d1bfa5;
}
.mast nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 45px);
  font-size: 13px;
}
.mast a:hover,
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.foot {
  min-height: 68px;
  border-top: 1px solid #b398703d;
}
.foot span {
  color: #baa993;
}
.street {
  display: grid;
  grid-template-columns: minmax(228px, 0.72fr) minmax(0, 2fr);
  align-items: center;
  gap: 4vw;
  padding: clamp(27px, 4vw, 72px) var(--pad);
  min-height: calc(100svh - 62px);
  background: radial-gradient(ellipse at 75% 53%, #283e53, transparent 64%);
}
.street-copy h1 {
  font-size: clamp(69px, 7.7vw, 142px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin: 22px 0;
}
.street-copy h1 em,
.profile em {
  color: var(--amber);
}
.street-copy > p:not(.eyebrow) {
  color: #e2d3bf;
  max-width: 31ch;
}
.street-copy .eyebrow {
  font-size: 10px;
  color: #eebf96;
}
.directory {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  max-width: 325px;
}
.directory li {
  border-top: 1px solid var(--rule);
}
.directory a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 7px 2px;
  font-size: 14px;
  transition: color 0.2s;
}
.directory a.lit {
  color: var(--amber);
}
.directory b {
  font-weight: 500;
}
.directory small,
.directory span {
  color: #dca87d;
  font: 10px Mono;
}
.directory span {
  margin-left: auto;
}
.building {
  position: relative;
  perspective: 1200px;
  min-width: 0;
}
.building-art {
  position: relative;
  transform: rotateY(var(--lean, 0deg)) rotateX(var(--tilt, 0deg));
  transition: transform 0.3s ease-out;
  border-radius: 5px;
  box-shadow: 0 28px 66px #040d1d99;
  isolation: isolate;
}
.facade {
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.windows,
.street-life {
  position: absolute;
  inset: 0;
}
.street-life {
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.street-life > * {
  position: absolute;
  pointer-events: none;
}
.moth {
  width: 5px;
  height: 3px;
  border-radius: 70%;
  background: #fff4cf;
  box-shadow: 0 0 5px 2px #ffce72;
  left: 30%;
  top: 43%;
  animation: moth 8s ease-in-out infinite;
}
.passing-light {
  left: -15%;
  bottom: 2%;
  width: 19%;
  height: 3%;
  background: radial-gradient(ellipse, #ffbd70b0, transparent 68%);
  filter: blur(3px);
  animation: headlight 12s linear infinite;
}
.steam {
  left: 46%;
  top: 28%;
  height: 12%;
  width: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #fff2ce64, transparent 65%);
  filter: blur(3px);
  animation: steam 3.8s ease-out infinite;
}
.screen-glow {
  left: 72%;
  top: 60%;
  width: 8%;
  height: 7%;
  background: radial-gradient(#b0f4f244, transparent 73%);
  animation: lume 4s ease-in-out infinite alternate;
}
.window {
  position: absolute;
  width: 22%;
  height: 27%;
  display: flex;
  align-items: flex-end;
  padding: 5px;
  gap: 4px;
  border-radius: 2px;
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.window:nth-child(3n + 1) {
  left: 14.15%;
}
.window:nth-child(3n + 2) {
  left: 39.2%;
}
.window:nth-child(3n) {
  left: 64.2%;
}
.window:nth-child(-n + 3) {
  top: 18.2%;
}
.window:nth-child(n + 4) {
  top: 50.8%;
}
.window span,
.window b {
  font: 10px Mono;
  color: #ffe6b7;
  background: #101b26d9;
  padding: 3px 5px;
}
.window b {
  opacity: 0;
}
.window.lit,
.window:hover,
.window:focus-visible {
  box-shadow:
    inset 0 0 24px #ffd18477,
    0 0 15px #ffc38088;
  background: #ffe6a71c;
}
.window:is(.lit, :hover, :focus-visible) b {
  opacity: 1;
}
.building figcaption {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #d1bfa8;
  font: 10px Mono;
  margin-top: 9px;
}
.building figcaption button {
  font: inherit;
  border-bottom: 1px solid #b5a28b;
  padding: 4px 0;
}
.quiet * {
  animation-play-state: paused !important;
}
.profile,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: clamp(55px, 7vw, 110px) var(--pad);
  background: #162638;
  border-top: 1px solid #786c574e;
}
.profile h2,
.contact h2 {
  font-size: clamp(48px, 6.2vw, 110px);
  letter-spacing: -0.05em;
  margin: 12px 0;
}
.profile p {
  max-width: 52ch;
}
.profile .underlink {
  margin-top: 22px;
}
.experience h3 {
  font: 35px Serif;
  margin-bottom: 20px;
}
.experience article {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
.experience h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.experience p {
  color: #dfcdb4;
}
.contact {
  background: #101d2b;
  align-items: center;
}
.contact .underlink {
  justify-self: start;
}
.legal {
  max-width: 870px;
  margin: auto;
  padding: 40px var(--pad) 70px;
}
.legal h1,
.legal h2 {
  margin: 22px 0 10px;
}
.legal h1 {
  font-size: clamp(36px, 6vw, 75px);
}
.legal p,
.legal li {
  margin: 5px 0 12px;
}
.legal a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.room-wrap {
  width: min(1430px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.room-entry {
  overflow: clip;
}
.solid {
  display: inline-block;
  line-height: 1.25;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
}
.solid:hover {
  filter: brightness(1.12);
}
.feature-tour,
.dev-notes {
  padding-block: clamp(36px, 5vw, 80px);
  border-top: 1px solid var(--rule);
}
.feature-tour header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.feature-tour h2,
.dev-notes h2,
.next-room b {
  font:
    400 clamp(38px, 4.4vw, 79px)/1 Serif,
    Georgia;
  letter-spacing: -0.04em;
}
.tour-switches {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tour-switches button {
  border: 1px solid var(--rule);
  padding: 7px 11px;
  font-size: 13px;
}
.tour-switches button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.tour-switches small {
  font: 10px Mono;
  margin-right: 4px;
}
.chapter-area {
  margin-top: 20px;
}
.chapter-area article {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5vw;
  background: color-mix(in srgb, var(--paper) 94%, var(--ink));
  padding: clamp(16px, 2.5vw, 38px);
}
.chapter-area h3 {
  font-size: clamp(25px, 3vw, 50px);
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.chapter-area article > div {
  max-width: 38ch;
}
.chapter-area a {
  display: grid;
  place-items: center;
}
.chapter-area img {
  max-height: 380px;
  object-fit: contain;
}
.dev-notes {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4vw;
}
.dev-notes h2 {
  margin: 9px 0;
}
.tech {
  margin: 10px 0 16px;
}
.legal-links {
  display: flex;
  gap: 16px;
  text-decoration: underline;
}
.next-room {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px var(--pad);
  background: #132332;
  color: #f8e7d1;
}
.next-room span {
  font: 11px Mono;
}
.next-room b {
  font-size: clamp(24px, 3.5vw, 52px);
}
.next-room i {
  font-size: 24px;
  margin-left: auto;
}
@keyframes moth {
  0%,
  100% {
    transform: translate(0, 0);
  }
  22% {
    transform: translate(17px, -11px);
  }
  40% {
    transform: translate(8px, -22px);
  }
  67% {
    transform: translate(-18px, 4px);
  }
  84% {
    transform: translate(-3px, 8px);
  }
}
@keyframes headlight {
  0%,
  35% {
    transform: translateX(0);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  74% {
    transform: translateX(640%);
    opacity: 0.8;
  }
  75%,
  100% {
    opacity: 0;
  }
}
@keyframes steam {
  0% {
    transform: translate(0, 10px) scale(0.6);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translate(7px, -16px) scale(1.16);
    opacity: 0;
  }
}
@keyframes lume {
  to {
    opacity: 0.22;
  }
}
@keyframes turn-page {
  from {
    opacity: 0.25;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-group(*) {
    animation-duration: 0.54s;
    animation-timing-function: cubic-bezier(0.22, 0.7, 0.27, 1);
  }
  .chapter-area article:not([hidden]) {
    animation: turn-page 0.35s ease-out;
  }
}
@media (max-width: 760px) {
  .mast {
    min-height: 53px;
  }
  .mast nav {
    font-size: 12px;
  }
  .signature {
    font-size: 19px;
  }
  .signature span {
    display: none;
  }
  .street {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
    padding-block: 28px 32px;
  }
  .street-copy {
    display: contents;
  }
  .street-copy .eyebrow {
    grid-row: 1;
  }
  .street-copy h1 {
    grid-row: 2;
    font-size: clamp(60px, 13vw, 85px);
    margin: 0;
  }
  .street-copy h1 br {
    display: none;
  }
  .street-copy > p:not(.eyebrow) {
    grid-row: 3;
    max-width: 42ch;
  }
  .building {
    grid-row: 4;
  }
  .directory {
    grid-row: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    max-width: none;
    margin-top: 4px;
  }
  .window b {
    display: none;
  }
  .directory a {
    font-size: 12px;
    gap: 6px;
  }
  .profile,
  .contact,
  .dev-notes,
  .chapter-area article {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .chapter-area img {
    max-height: 310px;
  }
  .feature-tour header {
    gap: 15px;
  }
  .foot {
    font-size: 10px;
    gap: 10px;
  }
  .foot span {
    display: none;
  }
  .profile,
  .contact {
    padding-block: 40px;
  }
  .next-room {
    gap: 12px;
  }
  .tour-switches {
    gap: 4px;
  }
  .tour-switches button {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.window {
  overflow: hidden;
}
.window > span,
.window > b {
  z-index: 2;
  align-self: end;
}
.window b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window > .cutaway {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.55s ease;
  box-shadow: inset 0 0 12px #392d1e96;
  display: block;
  border-radius: 1px;
  background: linear-gradient(transparent 18%, #2f271c36 52%, #151b22a1);
}
.window:is(.visiting, .lit, :hover, :focus-visible) .cutaway {
  opacity: 1;
}
.cutaway i,
.cutaway img {
  position: absolute;
  display: block;
  font-style: normal;
}
.mini-ram i {
  left: 0;
  bottom: 14%;
  width: 29%;
  aspect-ratio: 72/84;
  background: url(/assets/art/ram-poses.webp) left top/500% 100% no-repeat;
  image-rendering: pixelated;
  animation:
    tiny-run 3.4s linear infinite,
    strides-home 0.54s steps(4) infinite;
}
.mini-ram img {
  width: 15%;
  right: 17%;
  bottom: 27%;
  image-rendering: pixelated;
  animation: prize 3.4s ease infinite;
}
.mini-chef i {
  inset: auto auto 6% 29%;
  height: 72%;
  aspect-ratio: 168/300;
  background: url(enzo-performance.webp) left top/2400% 100% no-repeat;
  animation: chef-home 1.65s steps(23) infinite alternate;
}
.mini-chef img {
  width: 14%;
  left: 40%;
  bottom: 46%;
  animation: tomato-toss 1.7s ease-in-out infinite;
}
.mini-fly i {
  font-size: clamp(12px, 2.4vw, 45px);
  left: 12%;
  top: 20%;
  animation: fly-home 1.7s ease-in-out infinite alternate;
}
.mini-fly::after {
  content: "✴";
  position: absolute;
  left: 61%;
  top: 45%;
  font-size: clamp(11px, 2vw, 32px);
  color: #ffba4d;
  animation: prize 1.7s ease-in-out infinite;
}
.mini-emoji i {
  left: 32%;
  top: 26%;
  font-size: clamp(20px, 3.2vw, 55px);
  animation: emoji-home 2.2s ease-in-out infinite;
}
.mini-emoji i + i {
  animation-delay: -1.1s;
}
.mini-write i {
  width: 43%;
  height: 35%;
  left: 28%;
  bottom: 23%;
  background: repeating-linear-gradient(#f4e0af 0 3px, #baa783 4px 5px);
  transform: rotate(-6deg);
  box-shadow: 2px 3px #39271b88;
}
.mini-write i + i {
  height: auto;
  width: auto;
  left: 33%;
  bottom: 31%;
  background: none;
  box-shadow: none;
  font-size: clamp(13px, 2vw, 38px);
  animation: pen-home 2.5s ease-in-out infinite;
}
.mini-ride i {
  left: 10%;
  top: 33%;
  color: #caffd5;
  width: 65%;
  height: 33%;
  border: 1px solid #93dacc;
  border-radius: 40% 50% 32% 50%;
  transform: rotate(-10deg);
}
.mini-ride i + i {
  border: 0;
  border-radius: 100%;
  width: 6px;
  height: 6px;
  top: 41%;
  left: 25%;
  background: #dcffac;
  box-shadow: 0 0 8px 2px #95ffd5;
  animation: rider-home 3s linear infinite;
}
.window:not(.visiting, .lit, :hover, :focus-visible) .cutaway *,
.window:not(.visiting, .lit, :hover, :focus-visible) .cutaway::after {
  animation-play-state: paused;
}
.building.quiet .cutaway::after {
  animation-play-state: paused;
}
.window.visiting {
  box-shadow: inset 0 0 12px #ffe18166;
}
@keyframes tiny-run {
  0% {
    left: -15%;
    bottom: 14%;
  }
  47% {
    left: 44%;
    bottom: 14%;
  }
  60% {
    left: 55%;
    bottom: 38%;
  }
  77% {
    left: 70%;
    bottom: 14%;
  }
  100% {
    left: 108%;
    bottom: 14%;
  }
}
@keyframes strides-home {
  to {
    background-position: 100% 0;
  }
}
@keyframes prize {
  0%,
  53%,
  100% {
    opacity: 1;
  }
  64%,
  90% {
    opacity: 0;
  }
}
@keyframes chef-home {
  to {
    background-position: 100% 0;
  }
}
@keyframes tomato-toss {
  0%,
  100% {
    transform: translate(0, 0) rotate(-20deg);
  }
  50% {
    transform: translate(70%, -180%) rotate(150deg);
  }
}
@keyframes fly-home {
  0% {
    transform: translate(0, 0);
  }
  40% {
    transform: translate(140%, 65%);
  }
  100% {
    transform: translate(240%, -15%);
  }
}
@keyframes emoji-home {
  0%,
  44% {
    opacity: 1;
    transform: scale(1);
  }
  50%,
  97% {
    opacity: 0;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
  }
}
@keyframes pen-home {
  25% {
    transform: translate(60%, 4%);
  }
  35% {
    transform: translate(5%, 14%);
  }
  70% {
    transform: translate(86%, 29%);
  }
  80% {
    transform: translate(7%, 34%);
  }
}
@keyframes rider-home {
  25% {
    transform: translate(400%, -125%);
  }
  50% {
    transform: translate(850%, 30%);
  }
  75% {
    transform: translate(500%, 250%);
  }
}
.shot-shell {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: auto;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 4px 13px #1815192d;
}
.shot-shell > a {
  display: block;
}
.shot-shell img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 400px;
}
.shot-lens {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--w, 26%);
  height: var(--h, 18%);
  transform: translate(-50%, -50%);
  border: 2px solid #ffe596;
  border-radius: 7px;
  box-shadow:
    0 0 0 1px #533b28c7,
    0 0 0 700px #151d2940;
  pointer-events: none;
  transition:
    left 0.7s cubic-bezier(0.2, 0.75, 0.2, 1),
    top 0.7s cubic-bezier(0.2, 0.75, 0.2, 1),
    width 0.7s,
    height 0.7s;
}
.shot-lens::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  top: -5px;
  left: -5px;
  border: 2px solid #5a4229;
  border-radius: 50%;
  background: #fff0a8;
}
.chapter-area article > div.shot-shell {
  max-width: 100%;
}
.chapter-guide {
  border-top: 1px solid var(--rule);
  margin-top: 20px;
  padding-top: 12px;
}
.chapter-guide p {
  font-size: 14px;
  min-height: 3em;
  max-width: 38ch;
}
.chapter-guide button {
  display: inline-block;
  font: 11px Mono;
  border-bottom: 1px solid currentColor;
  margin-top: 5px;
  padding: 5px 0;
  color: inherit;
}
.chapter-guide small {
  display: block;
  font: 10px Mono;
  margin-bottom: 5px;
}
.chapter-area article > div:first-child {
  min-width: 0;
}
.shot-shell .shot-lens {
  opacity: 0;
}
.chapter-area article.guiding .shot-lens {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .street-life .passing-light,
  .street-life .moth,
  .street-life .steam {
    display: none;
  }
  .cutaway * {
    animation: none !important;
  }
}
.profile h1 {
  font:
    400 clamp(48px, 6.2vw, 110px)/1.04 Serif,
    Georgia;
  letter-spacing: -0.05em;
  margin: 12px 0;
}
.ambient-toggle {
  font: 10px Mono;
  border-bottom: 1px solid currentColor;
  padding: 3px 0;
  opacity: 0.85;
}
.scenery-paused
  :is(
    .parade,
    .level-prop,
    .ram-person i,
    .chef-person i,
    .ready-art,
    .pickup
  ) {
  animation-play-state: paused;
}
.shot-shell img {
  transition:
    transform 0.72s cubic-bezier(0.22, 0.72, 0.25, 1),
    transform-origin 0.72s ease-in-out;
  transform-origin: var(--x, 50%) var(--y, 50%);
}
.chapter-area .guiding .shot-shell img {
  transform: scale(1.34);
}
.shot-lens {
  width: min(100%, calc(var(--w, 26%) * 1.34));
  height: min(100%, calc(var(--h, 18%) * 1.34));
}
