@font-face { font-family: "Barlow Condensed"; src: url("media/barlow-condensed-800.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("media/dm-sans.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #181818;
  --muted: #55544d;
  --line: #cbc7ba;
  --acid: #e6fa6c;
  --rust: #ae3625;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.2,.66,.2,1);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ol { margin: 0; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #bf4231; outline-offset: 5px; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 5rem), 82rem); margin-inline: auto; }
.skip { position: fixed; z-index: 20; inset: 1rem auto auto 1rem; padding: .75rem; transform: translateY(-180%); background: var(--acid); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bar { border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 4.9rem; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-size: .86rem; font-weight: 700; letter-spacing: .085em; line-height: 1.1; }
.brand small { display: block; margin-top: .25rem; font-size: .82rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--ink); color: var(--acid); font: 800 1.8rem/1 var(--display); }
nav { display: flex; gap: clamp(1rem,3vw,2.3rem); align-items: center; font-weight: 700; font-size: .9rem; }
nav a, .footer a { text-underline-offset: .25em; }
nav a:hover, .footer a:hover { text-decoration: underline; }
h2 { font-family: var(--display); font-weight: 800; }
.showcase { color: #fff; background: #11101b; }
.stage {
  --tone: #241137;
  --accent: #e6fa6c;
  --mx: 0px;
  --my: 0px;
  position: relative; isolation: isolate; overflow: hidden;
  touch-action: pan-y; background: var(--tone);
  transition: background .6s var(--ease);
}
.stage-back { position: absolute; width: 100%; height: 108%; object-fit: cover; object-position: center var(--scene-position,48%); inset: -4% 0; opacity: .59; z-index: -3; filter: saturate(1.42) blur(2px); transform: scale(1.12) translate(calc(var(--mx) * -.42),calc(var(--my) * -.34)); transition: transform 1.1s var(--ease), opacity .4s; }
.stage::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#080714 0%,color-mix(in srgb,var(--tone),#070713 62%) 31%,transparent 83%),linear-gradient(0deg,#11101b,transparent 25%); }
.stage-grain { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg,#0000 0 3px,#17101966 3px 4px); opacity: .24; pointer-events: none; }
.stage-layout { position: relative; min-height: clamp(34rem,69svh,51rem); display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; }
.stage-copy { position: relative; z-index: 3; padding: 3rem 0 4rem; animation: title-arrives .85s .1s var(--ease) both; }
.stage-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; color: #fff; font-weight: 700; font-size: .95rem; }
.badge { display: inline-flex; align-items: center; padding: .32rem .62rem; border-radius: 2rem; background: var(--accent,var(--acid)); color: #222416; text-transform: uppercase; letter-spacing: .055em; font-size: .79rem; font-weight: 700; line-height: 1.1; }
.arcade-badge { background: #efe6fd; color: #4d2866; }
.stage h2 { max-width: 9ch; color: #fff; font-size: clamp(4.9rem,10.6vw,10.4rem); line-height: .76; text-transform: uppercase; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 .45rem 1.75rem #070511a0; }
.stage p { max-width: 24rem; margin-block: 1.4rem 1.5rem; color: #f1eefa; font-size: clamp(1rem,1.6vw,1.18rem); line-height: 1.45; }
.stage-actions { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.play { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.3rem; background: var(--accent,var(--acid)); color: #161715; border: 1px solid transparent; border-radius: .25rem; font-weight: 700; transition: background .22s, transform .22s; }
.play:hover { background: #fff; transform: translateY(-3px); }
.all-link { color: #fff; min-height: 3rem; display: inline-flex; align-items: center; border-bottom: 1px solid #ffffff72; font-weight: 700; }
.all-link:hover { border-bottom-color: #fff; }
.stage-visual { position: absolute; height: 100%; inset: 0 0 0 40%; display: grid; place-items: center; }
.showcase-frames { position: absolute; inset: 3% 0 7% 3%; isolation: isolate; display: grid; place-items: center; transform: translate(var(--mx),var(--my)); transition: transform .8s var(--ease); perspective: 1150px; }
.stage-screen, .rear { position: absolute; overflow: hidden; border-radius: .68rem; }
.stage-screen { display: grid; width: min(58%,29rem); height: 90%; z-index: 2; transform: rotateY(-12deg) rotateZ(4deg); border: 1px solid #fff9; box-shadow: 0 1.7rem 4rem #000b, 0 0 3rem color-mix(in srgb,var(--accent),transparent 76%); background: var(--tone); animation: screen-arrives 1.12s var(--ease) both; }
.stage-cover, .game-preview, .rear img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center var(--screen-position,45%); pointer-events: none; }
.game-preview { opacity: 0; transition: opacity .45s ease; }
.game-preview.is-playing { opacity: 1; }
.scanline { pointer-events: none; position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 2px; box-shadow: 0 0 1.4rem .1rem var(--accent); background: var(--accent); opacity: 0; animation: scan-in 1.1s .22s var(--ease) both; }
.rear { width: 45%; height: 71%; top: 16%; border: 1px solid #eadaff46; box-shadow: 0 1.6rem 3rem #03020b90; animation: rear-arrives 1.1s .07s var(--ease) both; }
.rear img { filter: brightness(.62) saturate(.9); }
.rear-previous { left: 10%; transform: rotateZ(-13deg) scale(.88); }
.rear-next { right: 5%; transform: rotateZ(15deg) scale(.92); }
.video-control { position: absolute; z-index: 5; right: 5%; bottom: 6%; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid #fff8; background: #100b20aa; color: white; border-radius: 50%; cursor: pointer; }
.video-control span { width: .7rem; height: .85rem; border-inline: 2px solid currentColor; }
.video-control[data-paused="true"] span { width: 0; height: 0; border: .43rem solid transparent; border-right: 0; border-left: .65rem solid currentColor; margin-left: .12rem; }
.stage-curtain { position: absolute; z-index: 5; inset: 0; pointer-events: none; background: linear-gradient(110deg,transparent 36%,#c6b1ff22 46%,#d5c3ff3d 50%,transparent 62%); mix-blend-mode: screen; animation: curtain-sweep .95s .16s var(--ease) both; }
.deck { padding-block: .6rem 1.1rem; }
.deck-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .55rem; gap: .65rem; }
.deck-label { display: flex; align-items: baseline; gap: .75rem; font-size: .96rem; font-weight: 700; }
.stage-index { font-variant-numeric: tabular-nums; color: #c2b9cf; font-weight: 500; font-size: .82rem; }
@media (hover: hover) and (pointer: fine) { .stage-visual { cursor: grab; } .stage-visual:active { cursor: grabbing; } }
.deck-controls { display: flex; gap: .35rem; }
.step { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; background: transparent; border: 1px solid #766686; border-radius: .24rem; color: white; cursor: pointer; }
.step:hover { background: #fff; color: #181322; }
.step::before { content: ""; width: .63rem; height: .63rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translate(-13%,13%); }
.step[data-step="-1"]::before { transform: rotate(-135deg) translate(-13%,13%); }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8rem,1fr); gap: .55rem; overflow: auto hidden; scrollbar-width: thin; scrollbar-color: #82708f #211a2a; scroll-snap-type: x proximity; padding: .25rem .2rem .6rem; }
.reel button { position: relative; min-width: 0; min-height: 4.15rem; scroll-snap-align: center; overflow: hidden; isolation: isolate; display: grid; align-items: end; padding: .45rem .55rem; border-radius: .24rem; border: 1px solid #836e995e; color: #fff; background: #281b37; text-align: left; cursor: pointer; transition: border-color .2s, transform .26s var(--ease); }
.reel button img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; inset: 0; z-index: -2; transition: transform .38s var(--ease); }
.reel button::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#0a0814 8%,#110b1b37 96%); }
.reel button span { font-size: .84rem; font-weight: 700; text-shadow: 0 1px .35rem #090411; line-height: 1.15; }
.reel button:hover img { transform: scale(1.1); }
.reel button[aria-pressed="true"] { border-color: var(--acid); box-shadow: inset 0 0 0 1px var(--acid); }
.reel button:focus-visible { outline: 2px solid var(--acid); outline-offset: -3px; }
@keyframes curtain-sweep { from { transform: translateX(-105%); opacity: .35; } 45% { opacity: 1; } to { transform: translateX(102%); opacity: 0; } }
@keyframes title-arrives { from { opacity: 0; transform: translateY(1.6rem); clip-path: inset(0 0 45%); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes screen-arrives { from { opacity: 0; transform: translate(18%,7%) rotateY(-30deg) rotateZ(13deg) scale(.84); } to { opacity: 1; transform: rotateY(-12deg) rotateZ(4deg); } }
@keyframes rear-arrives { from { opacity: 0; scale: .61; } to { opacity: 1; scale: 1; } }
@keyframes scan-in { 0% { top: 0; opacity: 0; } 25% { opacity: .82; } 82% { opacity: .25; } 100% { top: 100%; opacity: 0; } }
.collection { padding-top: clamp(3rem,7vw,6.4rem); scroll-margin-top: 1rem; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.15rem 1.6rem; }
.section-header h2 { font-size: clamp(3.6rem,7.8vw,7rem); text-transform: uppercase; line-height: .83; }
.section-header p { color: var(--muted); font-size: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(1.8rem,4vw,3.2rem) clamp(.85rem,2vw,1.65rem); list-style: none; padding: 0; }
.game { grid-column: span 6; --tile: #241942; --crop: 50% 45%; min-width: 0; }
.game:nth-child(4n + 1) { grid-column: span 7; }
.game:nth-child(4n + 2) { grid-column: span 5; }
.game:nth-child(4n + 3) { grid-column: span 5; }
.game:nth-child(4n + 4) { grid-column: span 7; }
.game[data-game="hush-hatch"] { --tile: #293b27; --crop: 50% 43%; }
.game[data-game="past-me-problem"] { --tile: #52223b; --crop: 50% 39%; }
.game[data-game="elevator13"] { --tile: #392348; --crop: 50% 42%; }
.game[data-game="domino-district"] { --tile: #284573; --crop: 50% 48%; }
.game[data-game="everybody-move"] { --tile: #3279a5; --crop: 50% 48%; }
.game[data-game="me-myself-and-mine"] { --tile: #30154b; --crop: 50% 40%; }
.game[data-game="whats-in-the-box"] { --tile: #2a2446; --crop: 50% 48%; }
.game-card { display: block; border-bottom: 1px solid var(--line); }
.game-art { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.62; background: var(--tile); border-radius: .22rem; }
.game-art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--crop); transition: transform .7s var(--ease); }
.game-card:hover img, .game-card:focus-visible img { transform: scale(1.065); }
.image-note { position: absolute; bottom: .65rem; right: .65rem; background: #151515e8; color: white; padding: .28rem .5rem; border-radius: .13rem; font-size: .76rem; }
.game-info { display: flex; gap: .65rem; align-items: center; justify-content: space-between; padding-block: .85rem 1rem; }
.genre { color: var(--muted); font-weight: 600; font-size: .88rem; }
.game-info h3 { margin-top: .13rem; font: 800 clamp(1.9rem,4vw,3.5rem)/.95 var(--display); text-transform: uppercase; }
.footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-block: 1.25rem 2rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 58rem) {
  .shell { width: calc(100% - 3rem); }
  .stage-layout { min-height: 34rem; }
  .stage h2 { font-size: clamp(4.4rem,10.6vw,7rem); }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .masthead { min-height: 4.2rem; }
  .stage-layout { grid-template-columns: 1fr; padding-block: clamp(14.8rem,60vw,19rem) 0; }
  .stage-visual { height: clamp(15.5rem,61vw,19.6rem); inset: 0 0 auto; }
  .showcase-frames { inset: 3% 0 0; }
  .stage-screen { width: min(61%,16rem); height: 90%; }
  .rear-previous { left: 12%; }
  .rear-next { right: 10%; }
  .stage-copy { padding: .2rem 0 1.45rem; }
  .stage h2 { font-size: clamp(3.9rem,13vw,6rem); text-wrap: initial; max-width: 12ch; }
  .stage-meta { margin-bottom: .66rem; }
  .stage p { margin-block: .82rem .85rem; }
  .stage::before { background: linear-gradient(0deg,#11101b 5%,#140d20e6 40%,#0a061332 90%); }
  .stage-back { object-position: center 32%; }
  .video-control { right: 2%; bottom: 5%; }
  .deck { padding-block: .35rem .8rem; }
  .reel { grid-auto-columns: minmax(7.6rem,1fr); }
  .section-header { flex-direction: column; align-items: start; gap: .6rem; }
  .game:nth-child(n) { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .stage-curtain { display: none; }
  .stage-back, .showcase-frames, .game-card:hover img, .game-card:focus-visible img, .play:hover { transform: none; }
}
