/* Interactify — dark / purple neon / retro-display.
   Ported from the .dc.html design; visual language unchanged. */

:root {
  --bg: #060509;
  --ink: #ece9f5;
  --muted: #a8a0bb;
  --dim: #9d95b2;              /* AA on --bg, and comfortably readable at label sizes */
  --faint: #6f6787;            /* decorative + placeholders only, never body copy */
  --accent: #a06bff;
  --accent-soft: #b78bff;
  --accent-bright: #c98bff;
  /* The one second colour: acid lime, kept for what is live or reached
     (level progress, P2, scores). Rare on purpose. */
  --lime: #c6ff4a;
  --rule: rgba(236, 233, 245, .08);
  --pad: clamp(24px, 5vw, 56px);
  --label-col: 200px;
  --gap: clamp(32px, 4vw, 56px);
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --display: 'Anybody', system-ui, sans-serif;
  --mono: 'Departure Mono', ui-monospace, monospace;
  /* Anybody's width axis carries the voice: titles are set wide like a game
     title card, items medium, long lines at their natural width. */
  --wide: 120%;
  --mid: 108%;
  --retro: 'Handjet', 'Press Start 2P', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  background-image:
    radial-gradient(60% 40% at 78% 8%, rgba(160, 107, 255, .09), transparent 70%),
    radial-gradient(50% 34% at 12% 34%, rgba(160, 107, 255, .06), transparent 72%),
    radial-gradient(55% 30% at 88% 62%, rgba(201, 139, 255, .05), transparent 72%),
    radial-gradient(70% 34% at 30% 92%, rgba(160, 107, 255, .07), transparent 74%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 12% 18%, rgba(160, 107, 255, .075), transparent 70%),
    radial-gradient(40% 30% at 88% 44%, rgba(201, 139, 255, .055), transparent 72%),
    radial-gradient(52% 38% at 34% 82%, rgba(120, 80, 220, .06), transparent 74%),
    radial-gradient(60% 40% at 70% 100%, rgba(160, 107, 255, .05), transparent 76%);
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-soft); }
::selection { background: var(--accent); color: var(--bg); }
::placeholder { color: var(--faint); }

.dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(160, 107, 255, .9);
  animation: pulse 3s ease-in-out infinite;
}

/* ------------------------------------------------------ 1. CRT intro -- */

.crt {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(120% 90% at 50% 40%, #0d0a14, #040308 70%);
  will-change: opacity, transform;
}

.crt__bezel {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 44px;
  padding: clamp(14px, 2.2vw, 34px);
  background: linear-gradient(165deg, #1b1724, #0b0910 60%, #141020);
  box-shadow:
    inset 0 1px 0 rgba(236, 233, 245, .09),
    inset 0 -2px 14px rgba(0, 0, 0, .9),
    0 50px 120px rgba(160, 107, 255, .14);
}

.crt__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(110% 130% at 50% 45%, #130f20, #050409 72%);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .95), inset 0 0 22px rgba(160, 107, 255, .12);
  animation:
    powerOn 2.1s cubic-bezier(.2, .8, .2, 1) 1 both,
    crtflick 7s steps(1, end) 2.4s infinite;
}

.crt__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 6vw 4vw;
}

.crt__wordmark {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2px, .5vw, 10px);
  font-family: var(--retro);
  font-weight: 700;
  font-size: clamp(52px, 11.5vw, 190px);
  font-variation-settings: 'ELGR' 1, 'ELSH' 2;
  line-height: .9;
  color: #1a1626;
  animation: surge .9s ease-in-out 3.4s 1, idleflick 9s steps(1, end) 4.4s infinite;
}

.crt__wordmark span {
  animation: ignite .9s ease-out calc(1.2s + var(--i) * .11s) 1 forwards;
}

/* The proposition is the h1 and sits on screen at zero scroll, so it is sized
   to actually be read rather than treated as a caption. */
.crt__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(11px, 1.35vw, 17px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #b3a8d4;
  text-align: center;
  /* Wide letter-spacing eats horizontal room, so the measure is generous and
     the wrap is balanced — at 22ch this broke into four ragged lines. */
  max-width: 46ch;
  text-wrap: balance;
}

/* Format readout — a system-status line, not a nav. States the range at zero
   scroll so the VR case in the next section does not define the offer. */
.crt__formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin: clamp(14px, 2vw, 24px) 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: clamp(10px, 1.02vw, 13px);
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.crt__formats span { padding: 0 clamp(7px, .9vw, 13px); position: relative; }
.crt__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(4px, 1vw, 12px) 0 0;
}
.crt__formats span + span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: rgba(160, 107, 255, .55);
}

.crt__scanlines,
.crt__aperture,
.crt__scanbar,
.crt__vignette { position: absolute; pointer-events: none; }

.crt__scanlines {
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .42) 0 1.5px, rgba(0, 0, 0, 0) 1.5px 4px);
}
.crt__aperture {
  inset: 0;
  background: repeating-linear-gradient(to right, rgba(160, 107, 255, .05) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
}
.crt__scanbar {
  left: 0; right: 0; top: 0; height: 22%;
  background: linear-gradient(to bottom, rgba(201, 139, 255, 0), rgba(201, 139, 255, .06) 60%, rgba(201, 139, 255, 0));
  animation: scanbar 7s linear infinite;
}
.crt__vignette {
  inset: 0;
  background: radial-gradient(105% 105% at 50% 50%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .82) 100%);
}

/* Desktop-only pointer glow; hidden on touch and for reduced motion. */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 620px; height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .28s ease;
  will-change: transform, opacity;
  background: radial-gradient(circle,
    rgba(160, 107, 255, .20) 0%,
    rgba(160, 107, 255, .09) 26%,
    rgba(160, 107, 255, .03) 48%,
    rgba(160, 107, 255, 0) 72%);
}

/* --------------------------------------------------- 2. 3D reveal ----- */

/* Track length sets the scrub ratio: height - 100vh is how far you scroll to
   drive the whole tour: a little under half a viewport per case, plus the
   opening and closing wide shots. Kept as short as the captions allow, because
   the work section comes straight after it. */
.track { position: relative; height: 310vh; }

.track__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.track__canvas { position: absolute; inset: 0; }

/* The copy owns the left half, the model is pushed into the right half by
   vr-case.js's framing offset — they share the viewport without overlapping. */
.hero {
  position: absolute;
  left: var(--pad);
  top: 0; bottom: 0;
  /* Hug the copy instead of reserving a fixed column: the headline is much
     narrower than 900px at large widths, and the empty remainder was pushing
     the 3D model needlessly far right to clear a box with nothing in it. */
  width: fit-content;
  max-width: min(50%, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero__right { margin-top: 30px; pointer-events: auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero__title {
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(28.8px, 3.51vw, 64.8px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0;
  font-stretch: var(--wide);
}
.hero__title em {
  color: var(--accent);
  font-style: normal;
  text-shadow:
    0 0 12px rgba(160, 107, 255, .82),
    0 0 34px rgba(160, 107, 255, .55),
    0 0 82px rgba(160, 107, 255, .26);
}

.hero__body {
  margin: 0;
  max-width: 420px;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(160, 107, 255, .5);
  white-space: nowrap;
}
.link-cta span { color: var(--accent); }

/* Per-case captions share the hero's column; main.js fades one in at a time. */
.stops { list-style: none; margin: 0; padding: 0; }
.stop {
  position: absolute;
  left: var(--pad);
  top: 50%;
  translate: 0 -50%;
  max-width: min(42%, 460px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}
.stop__n {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .09em;
  color: var(--accent);
}
.stop__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(27px, 3.06vw, 54px);
  line-height: .98;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.stop__body {
  margin: 18px 0 0;
  max-width: 400px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.stop .link-cta { margin-top: 24px; }

.cue {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--dim);
  pointer-events: none;
}

/* ------------------------------------------- 3. featured projects ----- */

.work {
  position: relative;
  padding: clamp(64px, 8vw, 86px) var(--pad) clamp(80px, 9vw, 106px);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(52% 38% at 16% 12%, rgba(160, 107, 255, .065), transparent 72%),
    radial-gradient(48% 36% at 86% 58%, rgba(160, 107, 255, .045), transparent 74%),
    var(--bg);
}

.work__inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; }

.work__title {
  margin: 0 0 34px;
  max-width: 520px;
  font-family: var(--display);
  font-weight: 820;
  font-size: clamp(36px, 5.58vw, 68.4px);
  line-height: .86;
  letter-spacing: -.02em;
  text-transform: uppercase;
  font-stretch: 118%;
}

.work__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

/* Placeholder frames until real gameplay capture lands. Each project swaps
   --work-visual and --work-edge from main.js. */
.work__media {
  position: relative;
  height: clamp(300px, 28vw, 430px);
  margin: 0;
  border: 1px solid var(--work-edge, rgba(160, 107, 255, .42));
  border-radius: 22px;
  overflow: hidden;
  background: var(--work-visual, linear-gradient(135deg, #171325, #0a0810));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45), 0 0 34px rgba(160, 107, 255, .12);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.work__media::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .3;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, .1), transparent 32%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .05) 0 1px, transparent 1px 5px);
}
.work__media::after {
  content: '';
  position: absolute;
  left: 6%; right: 6%; bottom: 68px;
  height: 1px;
  background: rgba(236, 233, 245, .35);
  pointer-events: none;
}

.work__screen {
  position: absolute;
  left: 28%; top: 12%;
  width: 42%; height: 47%;
  border-radius: 2px;
  background: rgba(8, 7, 15, .55);
  box-shadow: 0 0 0 1px rgba(236, 233, 245, .07), inset 0 0 45px rgba(160, 107, 255, .2);
}
.work__orb {
  position: absolute;
  left: 39%; top: 49%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 7px solid rgba(214, 196, 255, .82);
  box-shadow: 0 0 30px rgba(160, 107, 255, .8), 0 0 70px rgba(160, 107, 255, .38);
}

/* Sits over photography now, so it carries its own scrim rather than relying
   on the image happening to be dark in the bottom third. */
.work__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
  padding: clamp(46px, 7vw, 78px) clamp(20px, 3vw, 34px) clamp(20px, 2.4vw, 28px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(6, 5, 9, .93) 12%, rgba(6, 5, 9, .72) 48%, transparent);
}
.work__num { color: var(--accent); font-weight: 400; align-self: center; }
.work__client {
  grid-column: 2;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent-soft);
  text-transform: none;
}
.work__name {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-transform: none;
  font-stretch: var(--mid);
}

.work__list { display: flex; flex-direction: column; gap: 20px; user-select: none; }

.work__item {
  position: relative;
  width: 100%;
  padding: 5px 0 5px 40px;
  border: 0;
  background: transparent;
  color: rgba(236, 233, 245, .82);
  text-align: left;
  cursor: pointer;
  /* Blur and scale carry the "inactive" signal; opacity stays high enough
     that the unselected titles still meet contrast as readable text. */
  opacity: .78;
  filter: blur(1.1px);
  transform: scale(.96);
  transition: opacity .28s ease, filter .28s ease, transform .28s ease, color .28s ease;
}
.work__item small {
  position: absolute;
  left: 0; top: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: #c9b0ff;
}
.work__item span {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 680;
  line-height: 1.05;
  text-transform: uppercase;
  font-stretch: var(--mid);
}
.work__item[aria-selected="true"] {
  color: var(--ink);
  opacity: 1;
  filter: none;
  transform: scale(1.04);
}
.work__item[aria-selected="true"] small {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(160, 107, 255, .7);
}
.work__item:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }

/* ------------------------------------------------- 4-8. page bands ---- */

.band {
  position: relative;
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: var(--gap);
  padding: clamp(64px, 8vw, 100px) var(--pad);
  border-top: 1px solid var(--rule);
}
#contact { padding-bottom: clamp(80px, 10vw, 120px); }

.band__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}

.band__body { min-width: 0; }
#who .band__body { max-width: 820px; }

.lede {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: pretty;
  font-stretch: 100%;
}

.prose {
  margin: 32px 0 0;
  max-width: 600px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
}

.services { margin: 0; padding: 0; list-style: none; }

.service {
  display: grid;
  grid-template-columns: 64px 1fr 1.1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: baseline;
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background .3s;
}
.service:hover { background: rgba(160, 107, 255, .05); }

.service__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--accent);
}
.service__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.015em;
  font-stretch: var(--mid);
}
.service__body {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.pull {
  display: flex;
  justify-content: center;
  padding: clamp(80px, 10vw, 130px) var(--pad);
  border-top: 1px solid var(--rule);
}
.pull h2 {
  margin: 0;
  max-width: 900px;
  text-align: center;
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(27.6px, 4.05vw, 51.52px);
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: pretty;
  font-stretch: 112%;
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
}
.logos__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  background: var(--bg);
  background-image: repeating-linear-gradient(135deg, rgba(160, 107, 255, .05) 0 6px, transparent 6px 12px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.quote { margin: 56px 0 0; max-width: 720px; }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  letter-spacing: -.02em;
  text-wrap: pretty;
  font-stretch: 100%;
}
.quote figcaption {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(30.6px, 3.78vw, 46.8px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.contact__prose { margin-top: 26px; max-width: 400px; }
.contact__email {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--accent-soft);
  font-weight: 500;
  font-stretch: 100%;
}

.form { display: flex; flex-direction: column; gap: 26px; }
.form__field {
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(236, 233, 245, .14);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  outline: none;
  transition: border-color .25s;
}
textarea.form__field { resize: vertical; }
.form__field:focus { border-color: var(--accent); }

.form__submit {
  align-self: flex-start;
  margin-top: 10px;
  padding: 0 0 8px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(160, 107, 255, .5);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.form__submit:hover { color: var(--accent-soft); }
.form__submit[disabled] { cursor: default; opacity: .6; }

.form__status {
  margin: 0;
  min-height: 1em;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--pad);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ----------------------------------------------------- responsive ----- */

@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; }
  .service { grid-template-columns: 40px 1fr; row-gap: 12px; }
  .service__body { grid-column: 2; }
  /* portrait lifts the model into the top of the frame, so the copy sits under it */
  .hero {
    /* max-width is reset too: the desktop rule caps the column at 50% to keep
       clear of the model, but in portrait the copy sits below it and needs the
       full width. */
    width: auto;
    max-width: none;
    right: var(--pad);
    top: 60%; bottom: auto;
    justify-content: flex-start;
  }
  .hero__body { max-width: none; }
  .hero__right { margin-top: 18px; }
  .stop { top: 60%; translate: none; right: var(--pad); max-width: none; }
  .stop__n { margin-bottom: 10px; }
  .stop__body { margin-top: 12px; max-width: none; }
  .stop .link-cta { margin-top: 16px; }
  .link-cta { margin-top: 20px; }
  .work__layout { display: block; }
  .work__media { min-height: 290px; border-radius: 16px; }
  .work__list { margin-top: 32px; gap: 14px; }
  .work__item { padding-left: 34px; filter: blur(.8px); }
  .work__item span { font-size: 16px; }
  .work__item[aria-selected="true"] { transform: scale(1); }
  .cursor-glow { display: none; }
}

@media (max-width: 700px) {
  .track { height: 290vh; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos__cell { height: 88px; }
  .crt__bezel { border-radius: 26px; }
  .crt__screen { border-radius: 16px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .quote { margin-top: 40px; }
  /* The caption is a grid with its own scrim now, and the project name is the
     card's headline rather than a footnote — the old 13px flex-row rules were
     shrinking the most important label on the section. */
  .work__caption { column-gap: 12px; font-size: 11px; }
  .work__name { font-size: 19px; line-height: 1.1; overflow-wrap: anywhere; }
  .work__client { font-size: 11px; }
}

@media (max-width: 480px) {
  .hero, .stop { top: 58%; }
  .hero__title { font-size: clamp(28px, 8.2vw, 40px); }
  .crt { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crt__screen,
  .crt__wordmark,
  .crt__wordmark span,
  .crt__scanbar,
  .dot { animation: none !important; }
  .crt__wordmark { color: var(--ink); text-shadow: 0 0 10px rgba(160, 107, 255, .75); }
  .cursor-glow { display: none; }
  .work__item { filter: none; transition: none; }
  /* Drop the scrub runway: vr-case.js holds the settled pose instead, so the
     scene is still seen but no longer moves a full viewport under the scroll. */
  .track { height: 100vh; height: 100svh; }
  .hero { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .cue { display: none; }
  .stops { display: none; }
}

/* --------------------------------------------------------- keyframes -- */

@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: .9; } }

@keyframes ignite {
  0%, 40% { color: #1a1626; text-shadow: none; }
  41% { color: #d9c4ff; text-shadow: 0 0 18px rgba(160, 107, 255, .9); }
  52% { color: #1a1626; text-shadow: none; }
  60% { color: var(--accent-soft); text-shadow: 0 0 12px rgba(160, 107, 255, .7); }
  68% { color: #26203a; text-shadow: none; }
  100% { color: var(--ink); text-shadow: 0 0 10px rgba(160, 107, 255, .75), 0 0 34px rgba(160, 107, 255, .4); }
}

@keyframes surge {
  0%, 100% { filter: none; }
  30% { filter: brightness(2.1) saturate(1.4) drop-shadow(0 0 42px rgba(178, 120, 255, .85)); }
  45% { filter: brightness(.6); }
  62% { filter: brightness(2.4) drop-shadow(0 0 56px rgba(201, 139, 255, .95)); }
  80% { filter: brightness(.9); }
}

@keyframes powerOn {
  0% { transform: scaleY(.004) scaleX(.7); filter: brightness(4); opacity: 0; }
  8% { transform: scaleY(.006) scaleX(1); filter: brightness(5); opacity: 1; }
  16% { transform: scaleY(.05) scaleX(1); filter: brightness(3); }
  30% { transform: scaleY(1) scaleX(1); filter: brightness(1.6); }
  38% { filter: brightness(.75); }
  100% { transform: none; filter: none; opacity: 1; }
}

@keyframes scanbar {
  0% { transform: translateY(-12%); }
  100% { transform: translateY(112%); }
}

@keyframes crtflick {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: .88; }
  98% { opacity: 1; }
  99% { opacity: .93; }
}

@keyframes idleflick {
  0%, 61%, 100% { opacity: 1; filter: none; }
  62% { opacity: .45; filter: brightness(.5); }
  63% { opacity: 1; filter: brightness(1.7); }
  64% { opacity: .6; filter: brightness(.6); }
  65%, 87% { opacity: 1; filter: none; }
  88% { opacity: .7; filter: brightness(.55); }
  89% { opacity: 1; filter: brightness(1.5); }
}


/* =======================================================================
   SITE SHELL — header, nav, footer, shared page furniture.
   Added when the site grew from a single scroll page into work /
   services / agencies / contact pages.
   ===================================================================== */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: #0b0812;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; color: #0b0812; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--rule);
  background: rgba(6, 5, 9, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* The home page opens on the CRT, which must not be interrupted by a bar. */
.nav--float {
  position: fixed;
  left: 0; right: 0;
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav--float.is-stuck {
  background: rgba(6, 5, 9, .82);
  border-bottom-color: var(--rule);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--retro);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__mark {
  width: 9px; height: 19px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(160, 107, 255, .8);
}
.brand:hover { color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
}
.nav__link { color: #c3bcd3; }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(160, 107, 255, .9);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn:hover {
  background: var(--accent);
  color: #0b0812;
  box-shadow: 0 0 28px rgba(160, 107, 255, .45);
  transform: translateY(-1px);
}
.btn--solid { background: var(--accent); color: #0b0812; }
.btn--solid:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #0b0812; }
.btn--ghost { border-color: rgba(236, 233, 245, .26); color: #d6d0e4; }
.btn--ghost:hover { border-color: var(--accent); background: transparent; color: var(--ink); box-shadow: none; }
.btn--lg { padding: 16px 32px; font-size: 14px; }
/* The nav's "Start a project" is the site's primary action; it reads as one. */
.nav__cta { background: var(--accent); color: #0b0812; }
.nav__cta:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: #0b0812; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: background .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px; height: 1.5px;
  background: var(--ink);
  transition: transform .28s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------- page furniture -- */

main { position: relative; z-index: 1; }

.phero {
  position: relative;
  padding: clamp(72px, 12vw, 132px) var(--pad) clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}
.phero__inner { max-width: 1180px; margin: 0 auto; }
.phero__label {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.phero__title {
  margin: 0;
  max-width: 17ch;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(34.2px, 5.4vw, 73.8px);
  line-height: .98;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.phero__title em { color: var(--accent); font-style: normal; }
.phero__lede {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--muted);
}
.phero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.sec { padding: clamp(64px, 8vw, 108px) var(--pad); border-top: 1px solid var(--rule); }
.sec--flush { border-top: 0; }
.sec__inner { max-width: 1180px; margin: 0 auto; }
.sec__label {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec__title {
  margin: 0 0 18px;
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(27px, 3.78vw, 48.6px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.sec__lede {
  margin: 0 0 44px;
  max-width: 64ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------ key art --- */

.art {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(160, 107, 255, .12), transparent 72%),
    linear-gradient(150deg, #16122404, #0a0810);
  border: 1px solid var(--rule);
  /* The activation photography is all portrait (0.56-0.89). A 4:3 frame keeps
     the grid tidy without throwing away most of the shot the way 8:5 did. */
  aspect-ratio: 4 / 3;
}
.art__svg,
.art__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .045) 0 1px, transparent 1px 5px);
}

/* ------------------------------------------------------ project cards --- */

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }

.pcard { position: relative; display: flex; flex-direction: column; }
/* With an odd number of projects the lead card spans the row, image beside
   text, so the grid never ends on a single orphaned card. */
@media (min-width: 861px) {
  .pgrid > .pcard:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr repeat(5, auto) 1fr;
    column-gap: clamp(24px, 3vw, 44px);
  }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .art { grid-column: 1; grid-row: 1 / -1; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > :not(.art) { grid-column: 2; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .pcard__meta { grid-row: 2; margin-top: 0; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .pcard__title { grid-row: 3; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .pcard__client { grid-row: 4; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .pcard__sum { grid-row: 5; }
  .pgrid > .pcard:first-child:nth-last-child(odd) > .tags { grid-row: 6; }
}
.pcard .art { transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.pcard:hover .art,
.pcard:focus-within .art {
  border-color: rgba(160, 107, 255, .42);
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5), 0 0 34px rgba(160, 107, 255, .16);
}
.pcard__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.pcard__meta strong { color: var(--accent); font-weight: 400; }
.pcard__title {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.06;
  letter-spacing: -.015em;
  font-stretch: var(--mid);
}
.pcard__title a::after { content: ''; position: absolute; inset: 0; }
.pcard__client { margin: 8px 0 0; font-size: 14px; color: var(--accent-soft); }
.pcard__sum { margin: 14px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.7; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag {
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dim);
}

/* -------------------------------------------------------- case studies -- */

.case { padding: clamp(56px, 7vw, 96px) var(--pad); border-top: 1px solid var(--rule); }
.case__inner { max-width: 1180px; margin: 0 auto; }
.case__head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,4vw,64px); align-items: center; }
/* Taller frame on the case study, so each photo is seen close to whole once. */
.case__head .art { aspect-ratio: 4 / 5; }
.case__num { margin: 0 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .10em; color: var(--accent); }
.case__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(28.8px, 4.14vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.case__credit { margin: 14px 0 0; font-size: 16px; color: var(--accent-soft); }
.case__sum { margin: 20px 0 0; max-width: 52ch; font-size: clamp(15px,1.3vw,17px); line-height: 1.72; color: var(--muted); }
.case__body { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: clamp(30px,4vw,64px); margin-top: clamp(34px,4vw,56px); }
.case__body p { margin: 0 0 18px; font-size: 16px; line-height: 1.78; color: var(--muted); }
.case__body p:last-child { margin-bottom: 0; }
.case__rolehead {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}
.case__role { margin: 0; padding: 0; list-style: none; }
.case__role li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.case__role li::before {
  content: '';
  position: absolute;
  left: 0; top: 21px;
  width: 11px; height: 1px;
  background: var(--accent);
}
.case__role li:first-child { padding-top: 0; }
.case__role li:first-child::before { top: 8px; }

/* --------------------------------------------------- capability cards --- */

.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 28px); }
.cap {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(160,107,255,.045), rgba(10,8,16,.3));
  transition: border-color .3s ease, transform .3s ease;
}
.cap:hover { border-color: rgba(160,107,255,.34); transform: translateY(-3px); }
.cap__n { font-family: var(--mono); font-size: 12px; letter-spacing: .10em; color: var(--accent); }
.cap__title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-stretch: var(--mid);
}
.cap__lede { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.cap__body { margin: 14px 0 0; font-size: 15px; line-height: 1.72; color: var(--muted); }
.cap__list { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.cap__list li {
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--dim);
}

/* ---------------------------------------------------------- process ----- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.step { padding-top: 22px; border-top: 1px solid var(--rule); }
.step__n { font-family: var(--mono); font-size: 13px; letter-spacing: .10em; color: var(--accent); }
.step__title { margin: 12px 0 0; font-family: var(--display); font-weight: 680; font-size: 19px; letter-spacing: -.015em;
  font-stretch: var(--mid);
}
.step__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ------------------------------------------------------ split / lists --- */

.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
/* The brief form carries two sub-columns of its own, so an even split leaves
   the fields too narrow to read a company name in. Weight it toward the form. */
.split--form { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(160,107,255,.3);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 19px;
  width: 12px; height: 7px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.checks strong { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------- faq ---- */

.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.35;
  color: var(--ink);
  font-stretch: var(--mid);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item summary:hover { color: var(--accent-soft); }
.faq__item p { margin: 0 0 24px; max-width: 74ch; font-size: 15.5px; line-height: 1.75; color: var(--muted); }

/* ----------------------------------------------------------- cta band --- */

.cta {
  padding: clamp(66px, 9vw, 116px) var(--pad);
  border-top: 1px solid var(--rule);
  text-align: center;
  background: radial-gradient(60% 60% at 50% 0%, rgba(160,107,255,.1), transparent 72%), transparent;
}
.cta__inner { max-width: 780px; margin: 0 auto; }
.cta__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(27px, 4.14vw, 52.2px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.cta__title em { color: var(--accent); font-style: normal; }
.cta__body { margin: 22px auto 0; max-width: 54ch; font-size: 17px; line-height: 1.68; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ------------------------------------------------------------- footer --- */

.sitefoot { border-top: 1px solid var(--rule); padding: clamp(48px, 6vw, 72px) var(--pad) 34px; }
.sitefoot__inner { max-width: 1180px; margin: 0 auto; }
.sitefoot__top { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2, minmax(0,1fr)); gap: clamp(28px,4vw,56px); }
.sitefoot__pitch { margin: 18px 0 0; max-width: 40ch; font-size: 15px; line-height: 1.7; color: var(--muted); }
.sitefoot__mail { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 14px; color: var(--accent-soft); border-bottom: 1px solid rgba(160,107,255,.4); padding-bottom: 4px; }
.sitefoot h2 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dim);
}
.sitefoot ul { margin: 0; padding: 0; list-style: none; }
.sitefoot li { margin-bottom: 11px; }
.sitefoot li a { font-size: 15px; color: var(--muted); }
.sitefoot li a:hover { color: var(--ink); }
.sitefoot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--dim);
}

/* -------------------------------------------------------- brief form ---- */

.brief { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.field label .opt { color: var(--dim); text-transform: none; letter-spacing: .04em; }
.field label { color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(12, 10, 20, .55);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.65; }
.field select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.field select option { background: #100d1a; color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160, 107, 255, .16);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #d5568a; }
.field__err { font-size: 12.5px; color: #f0879f; min-height: 0; }

.brief__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.brief__note { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.brief__more { border: 1px solid var(--rule); border-radius: 14px; padding: 0 18px; }
.brief__more[open] { padding-bottom: 20px; }
.brief__more summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  list-style: none;
}
.brief__more summary::-webkit-details-marker { display: none; }
.brief__more summary::before { content: '+'; display: inline-block; width: 1.4em; color: var(--accent); }
.brief__more[open] summary::before { content: '\2212'; }
.brief__more summary .opt { color: var(--dim); text-transform: none; letter-spacing: .04em; }
.brief__more summary:focus-visible { outline-offset: 2px; border-radius: 8px; }
.brief__more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brief__privacy { grid-column: 1 / -1; margin: 0; max-width: 64ch; font-size: 14px; line-height: 1.65; color: var(--muted); }
.brief__status { grid-column: 1 / -1; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--accent-soft); }
.brief__status:empty { display: none; }
.brief__status[data-state="error"] { color: #f0879f; }

/* --------------------------------------------- responsive: new blocks --- */

@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case__body { grid-template-columns: 1fr; }
  .sitefoot__top { grid-template-columns: 1fr 1fr; }
  .sitefoot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__links {
    position: fixed;
    inset: 61px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 26px;
    border-bottom: 1px solid var(--rule);
    background: rgba(6, 5, 9, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .nav.is-open .nav__link { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
  .nav.is-open .nav__link[aria-current="page"]::after { display: none; }
  .nav.is-open .nav__cta { display: inline-flex; align-self: flex-start; margin-top: 20px; }
  .pgrid { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .split,
  .split--form { grid-template-columns: 1fr; }
  .case__head { grid-template-columns: 1fr; }
  .case__head .art { order: -1; }
  .brief { grid-template-columns: 1fr; }
  .brief__more-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .sitefoot__top { grid-template-columns: 1fr; }
  .sitefoot__bar { flex-direction: column; gap: 8px; }
  .phero { padding-top: clamp(88px, 22vw, 120px); }
  .art { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .cap,
  .pcard .art,
  .faq__item summary::after,
  .nav--float { transition: none !important; }
  .pcard:hover .art,
  .cap:hover,
  .btn:hover { transform: none; }
}

/* ------------------------------------------------------------ utility --- */

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* The art slot fills its frame; the caption sits above it. */
.art__slot { position: absolute; inset: 0; display: block; }
.art__slot .art__svg,
.art__slot .art__media { width: 100%; height: 100%; }

/* Home selector reuses the shared .art frame, so drop the old panel paint
   and keep only the sizing and the caption overlay. */
.work__media.art {
  height: clamp(340px, 36vw, 580px);
  aspect-ratio: auto;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(160, 107, 255, .12), transparent 72%),
    linear-gradient(150deg, #161224, #0a0810);
}
.work__media.art::before,
.work__media.art::after { z-index: 2; }
.work__caption { z-index: 3; }

/* ------------------------------------------------------------- focus ---- */

/* One visible, high-contrast focus ring for every keyboard-reachable
   control. Defined explicitly because the UA default is hard to see on a
   near-black background. Mouse users keep a clean surface via :focus-visible. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.nav__link:focus-visible { outline-offset: 6px; }
.faq__item summary:focus-visible { outline-offset: -2px; border-radius: 6px; }
.work__item:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 6px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; border-radius: 10px; }

/* The 3D canvas is a mouse/touch affordance only; it holds no focusable
   content, so it must not become a keyboard trap. */
vr-case canvas { outline: none; }

/* ------------------------------------------------- 3D loading state ----- */

/* The model is the largest asset on the site. Until it arrives the stage would
   otherwise be empty black, which reads as broken rather than as loading. */
.track__loading {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--dim);
  pointer-events: none;
  transition: opacity .5s ease;
}
.track__loading-bar {
  position: relative;
  display: block;
  width: 120px;
  height: 1px;
  overflow: hidden;
  background: rgba(236, 233, 245, .1);
}
.track__loading-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(160, 107, 255, .9);
  animation: loadsweep 1.4s ease-in-out infinite;
}
.track__loading[data-done] { opacity: 0; }

@keyframes loadsweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@media (prefers-reduced-motion: reduce) {
  .track__loading-bar::after { animation: none; width: 100%; opacity: .5; }
  .track__loading { transition: none; }
}

/* -------------------------------------------------- capability rail ----- */

/* Compact range statement. Deliberately not cards — it is a scannable index
   that says "seven formats, not one", directly under the proposition. */
.rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin: clamp(48px, 6vw, 78px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.rail__item { background: var(--bg); }
.rail__item a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(16px, 1.6vw, 22px) clamp(12px, 1.2vw, 18px) clamp(20px, 2vw, 26px);
  transition: background .3s ease;
}
.rail__item a:hover { background: rgba(160, 107, 255, .07); color: var(--ink); }
.rail__n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .09em;
  color: var(--accent);
}
.rail__t {
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
  font-stretch: var(--mid);
}

@media (max-width: 1100px) { .rail { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .rail { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------ scroll reveal --- */

/* The hiding state is applied by JS, never in the markup, so a no-JS or
   failed-observer visitor sees everything at full opacity rather than a blank
   page. Deliberately small: 14px and a fade, not a slide-in showreel. */
[data-rv] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .62s cubic-bezier(.22, .61, .36, 1), transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
[data-rv].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------ delivery list --- */

/* A definition list rather than a third checkmark list — the lower page had
   two identical check patterns in consecutive sections. */
.deliv { margin: 0; padding: 0; }
.deliv__row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 6px clamp(16px, 2vw, 28px);
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.deliv__row:last-child { border-bottom: 1px solid var(--rule); }
.deliv dt {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent-soft);
  line-height: 1.5;
}
.deliv dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 560px) {
  .deliv__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ----------------------------------------------------------- play page -- */

.playhead { padding: clamp(40px, 6vw, 72px) var(--pad) clamp(22px, 3vw, 34px); }
.playhead__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(28.8px, 4.14vw, 55.8px);
  line-height: 1;
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.playhead__title em { color: var(--accent); font-style: normal; }
.playhead__lede {
  margin: 18px 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}
.playstage { padding-top: 0; }

/* The stage. Aspect is a starting point; the game re-fits its camera to
   whatever box it actually gets, so max-height may change the ratio freely. */
.game {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78svh;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: #060509;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 60px rgba(160, 107, 255, .08);
  -webkit-user-select: none;
  user-select: none;
}
.game canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* The flick is the input, so the canvas must not hand vertical drags to
     the page as scrolling. The page scrolls from the margins around it. */
  touch-action: none;
  cursor: grab;
  outline: none;
}
.game canvas:active { cursor: grabbing; }
.game canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-bright); }

.game__hud {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.4vw, 26px);
  pointer-events: none;
}
.game__score { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.game__score span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.game__score strong {
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-stretch: var(--mid);
}
.game__kicks { display: flex; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.game__kicks li {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.5px solid rgba(236, 233, 245, .3);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.game__kicks li[data-state="current"] { border-color: var(--ink); }
.game__kicks li[data-state="goal"] {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(160, 107, 255, .8);
}
.game__kicks li[data-state="miss"] {
  border-color: #ff5a8a;
  background: linear-gradient(45deg, transparent 44%, #ff5a8a 44% 56%, transparent 56%);
}

.game__banner {
  position: absolute;
  left: 0; right: 0; top: 22%;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 850;
  font-size: clamp(36px, 7.2vw, 93.6px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .28s ease, transform .4s cubic-bezier(.2, 1.4, .4, 1);
  font-stretch: 125%;
}
.game__banner.is-show { opacity: 1; transform: none; }
.game__banner[data-tone="goal"] {
  color: var(--ink);
  text-shadow: 0 0 18px rgba(160, 107, 255, .9), 0 0 60px rgba(160, 107, 255, .5);
}
.game__banner[data-tone="miss"] { color: #f2d6e0; text-shadow: 0 0 24px rgba(255, 90, 138, .55); }
.game__banner small {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .08em;
  color: var(--accent-soft);
  text-shadow: none;
}

.game__flash {
  position: absolute;
  left: 50%; bottom: 8%;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 5, 9, .8);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease, transform .25s ease;
}
.game__flash.is-show { opacity: 1; transform: translate(-50%, 0); }

.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 5, 9, .7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.game__overlay[hidden] { display: none; }
.game__card { max-width: 440px; text-align: center; }
.game__kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--accent);
}
.game__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 780;
  font-size: clamp(25.2px, 3.24vw, 37.8px);
  letter-spacing: -.035em;
  font-stretch: var(--wide);
}
.game__how { margin: 18px 0 0; padding: 0; list-style: none; }
.game__how li { padding: 5px 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.game__keys { margin: 16px 0 24px; font-size: 13px; color: var(--dim); }
.game__keys kbd {
  display: inline-block;
  min-width: 22px;
  margin: 0 2px;
  padding: 1px 6px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
}
.game__final {
  margin: 0;
  font-family: var(--display);
  font-weight: 850;
  font-size: clamp(58.88px, 9.2vw, 110.4px);
  line-height: .95;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(160, 107, 255, .55);
  font-stretch: 118%;
}
.game__meta {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.game__verdict { margin: 14px 0 0; font-family: var(--display); font-size: 20px;
  font-weight: 500;
  font-stretch: 100%;
}
.game__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.game__note { margin: 22px auto 0; max-width: 34ch; font-size: 13px; line-height: 1.6; color: var(--dim); }
.game__noscript { position: absolute; inset: auto 0 40%; text-align: center; color: var(--muted); }

@media (max-width: 700px) {
  .game { aspect-ratio: 3 / 4; max-height: 72svh; border-radius: 14px; }
  .game__how li { font-size: 14px; }
  .game__keys { display: none; }        /* no keyboard on a phone */
}

@media (prefers-reduced-motion: reduce) {
  .game__banner, .game__flash, .game__kicks li { transition: none; }
  .game__banner { transform: none; }
}

/* ---------------------------------------------------- playable demo ----- */

.demo__art {
  position: relative;
  display: block;
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.demo__art:hover,
.demo__art:focus-visible {
  border-color: rgba(160, 107, 255, .42);
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5), 0 0 34px rgba(160, 107, 255, .16);
}
.demo__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0812;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .demo__art { transition: none; }
  .demo__art:hover, .demo__art:focus-visible { transform: none; }
}

.playhead__for {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent-soft);
}

/* ------------------------------------------------- type in motion ------ */
/* Anybody's width axis is the house gesture. Titles arrive condensed and
   light, then stretch out to their wide, heavy cut, like a game title card
   slamming in. They play once, on the same reveal that fades them in, and
   never for people who ask for reduced motion. */
@keyframes title-in {
  from { font-stretch: 58%; font-weight: 300; letter-spacing: .01em; }
  to   { font-stretch: var(--wide); font-weight: 780; letter-spacing: -.035em; }
}
.sec__title[data-rv].is-in,
[data-rv].is-in .sec__title,
.cta__inner > .cta__title[data-rv].is-in,
.hero.is-lit .hero__title em,
.stop.is-lit .stop__title {
  animation: title-in .95s cubic-bezier(.2, .9, .25, 1) both;
}

/* The selected project in the home selector behaves like a highlighted
   game-menu item: it stretches wide and heavy; the others sit condensed. */
.work__item span {
  font-stretch: 86%;
  font-weight: 560;
  transition: font-stretch .45s cubic-bezier(.2, .9, .25, 1), font-weight .45s ease, color .3s ease;
}
.work__item:hover span { font-stretch: 100%; }
.work__item[aria-selected="true"] span { font-stretch: 126%; font-weight: 820; }

/* Big titles answer the pointer with a slight squash-and-stretch. Kept to a
   few percent so a line never rewraps under the cursor. */
.sec__title, .cta__title, .phero__title, .case__title {
  transition: font-stretch .5s cubic-bezier(.2, .9, .25, 1);
}
@media (hover: hover) {
  .sec__title:hover, .cta__title:hover, .phero__title:hover, .case__title:hover { font-stretch: 124%; }
}

@media (prefers-reduced-motion: reduce) {
  .sec__title, .cta__title, .phero__title, .case__title, .work__item span { transition: none; }
  .sec__title[data-rv].is-in, [data-rv].is-in .sec__title, .cta__inner > .cta__title[data-rv].is-in,
  .hero.is-lit .hero__title em, .stop.is-lit .stop__title { animation: none; }
}

/* ======================================================== game layer ===== */
/* Section treatments that make the lower page read as a games studio rather
   than a template: capability cartridges, the process level map, the co-op
   partnership board, and arcade-style interface details. */

/* ---- capability cartridges ------------------------------------------------ */
.carts {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}
.cart a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 0;
  border: 1px solid rgba(236, 233, 245, .1);
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(180deg, #211a31, #14101d);
  color: var(--ink);
  transition: transform .35s cubic-bezier(.2, .9, .25, 1), border-color .35s ease, box-shadow .35s ease;
}
.cart__grip {
  height: 12px;
  margin: 0 6px 10px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(236, 233, 245, .15) 0 2px, transparent 2px 6px);
}
.cart__label {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 16px 12px 18px;
  border: 1px solid rgba(160, 107, 255, .26);
  border-radius: 8px;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(160, 107, 255, .34), rgba(160, 107, 255, .05) 62%),
    #110d1b;
}
.cart__icon {
  width: 44px;
  height: 44px;
  fill: var(--accent-bright);
  shape-rendering: crispEdges;
  filter: drop-shadow(0 0 6px rgba(160, 107, 255, .65));
}
.cart__n { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--lime); }
.cart__t {
  font-family: var(--display);
  font-weight: 680;
  font-stretch: 100%;
  font-size: 15px;
  line-height: 1.18;
  letter-spacing: -.01em;
}
.cart__pins {
  height: 12px;
  margin: 10px 8px 0;
  border-radius: 2px 2px 0 0;
  background: repeating-linear-gradient(90deg, rgba(198, 255, 74, .7) 0 4px, transparent 4px 7px);
  opacity: .4;
  transition: opacity .35s ease;
}
.cart a:hover,
.cart a:focus-visible {
  transform: translateY(-8px) rotate(-1.2deg);
  border-color: rgba(160, 107, 255, .55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(160, 107, 255, .2);
}
.cart a:hover .cart__pins,
.cart a:focus-visible .cart__pins { opacity: 1; }
/* the blank cartridge: an empty slot, dashed, with a lime question mark */
.cart--blank a { background: transparent; border-style: dashed; border-color: rgba(198, 255, 74, .35); }
.cart--blank .cart__label { background: rgba(198, 255, 74, .03); border-style: dashed; border-color: rgba(198, 255, 74, .3); }
.cart--blank .cart__icon { fill: var(--lime); filter: drop-shadow(0 0 6px rgba(198, 255, 74, .5)); }
.cart--blank a:hover, .cart--blank a:focus-visible { border-color: var(--lime); box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(198, 255, 74, .18); }

@media (max-width: 1100px) { .carts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* phones: a shelf of cartridges to swipe through */
@media (max-width: 700px) {
  .carts {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: calc(var(--pad) * -1);
    padding: 10px var(--pad) 18px 0;
    scrollbar-width: none;
  }
  .carts::-webkit-scrollbar { display: none; }
  .cart { flex: 0 0 46%; scroll-snap-align: start; }
}

/* ---- process: the level map ----------------------------------------------- */
.lvl { --progress: 0; margin-top: 40px; }
.lvl__bar { position: relative; height: 34px; margin: 0 17px 38px; }
.lvl__bar::before,
.lvl__fill {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
}
.lvl__bar::before {
  right: 0;
  background: repeating-linear-gradient(90deg, rgba(236, 233, 245, .2) 0 6px, transparent 6px 10px);
}
.lvl__fill {
  width: calc(var(--progress) * 100%);
  background: var(--lime);
  box-shadow: 0 0 14px rgba(198, 255, 74, .55);
  transition: width .2s linear;
}
.lvl__node {
  position: absolute;
  top: 50%;
  left: calc(var(--at) * 100%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(236, 233, 245, .28);
  background: #0e0b16;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.lvl__node.is-on {
  border-color: var(--lime);
  background: var(--lime);
  color: #0b0812;
  box-shadow: 0 0 18px rgba(198, 255, 74, .5);
}
.lvl__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.lvl__card {
  padding: 22px 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(12, 10, 19, .8);
  transition: border-color .4s ease;
}
.lvl__card.is-on { border-color: rgba(198, 255, 74, .3); }
.lvl__tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(236, 233, 245, .22);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.lvl__card.is-on .lvl__tag { background: var(--lime); border-color: var(--lime); color: #0b0812; }
.lvl__title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 680;
  font-stretch: var(--mid);
  font-size: 20px;
  letter-spacing: -.015em;
}
.lvl__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.68; color: var(--muted); }
@media (max-width: 900px) { .lvl__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .lvl__cards { grid-template-columns: 1fr; }
  .lvl__node { width: 30px; height: 30px; font-size: 11px; }
  .lvl__bar { margin: 0 15px 30px; }
}

/* ---- partnership: 2-player co-op -------------------------------------------- */
.coop { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: start; }
.coop__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.coop__head::before,
.coop__head::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.coop__side { padding: 20px 20px 22px; border: 1px solid; border-radius: 14px; }
.coop__side--p1 {
  border-color: rgba(160, 107, 255, .45);
  background: linear-gradient(180deg, rgba(160, 107, 255, .14), rgba(160, 107, 255, .03));
  color: var(--accent-bright);
}
.coop__side--p2 {
  border-color: rgba(198, 255, 74, .35);
  background: linear-gradient(180deg, rgba(198, 255, 74, .08), rgba(198, 255, 74, .015));
  color: var(--lime);
}
.coop__tag { margin: 0 0 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.coop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.coop li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.coop li::before {          /* a pixel bullet in the player's colour */
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
}
.coop__side--p1 li::before { background: var(--accent-bright); }
.coop__side--p2 li::before { background: var(--lime); }
.coop strong { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .coop { grid-template-columns: 1fr; } }

/* ---- arcade details ----------------------------------------------------------- */
/* Solid buttons have depth and press down like an arcade button. */
.btn--solid,
.nav__cta { box-shadow: 0 4px 0 #4e2b93; }
.btn--solid:hover,
.nav__cta:hover { box-shadow: 0 4px 0 #4e2b93, 0 0 28px rgba(160, 107, 255, .45); }
.btn:active,
.nav__cta:active { transform: translateY(3px); }
.btn--solid:active,
.nav__cta:active { box-shadow: 0 1px 0 #4e2b93; }

/* Text links fill their underline like a progress bar. */
.link-cta {
  background: linear-gradient(var(--lime), var(--lime)) left bottom / 0% 2px no-repeat;
  transition: background-size .45s cubic-bezier(.2, .9, .25, 1), color .25s ease;
}
.link-cta:hover,
.link-cta:focus-visible { background-size: 100% 2px; }

/* A pixel caret marks where you are in the nav. */
.nav__link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 6px;
  height: 8px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}
.nav__link:hover::before,
.nav__link[aria-current="page"]::before { opacity: 1; transform: translate(0, -50%); }

/* Film grain over the dark fields, so large areas never read as flat fill. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .cart a, .cart__pins, .lvl__fill, .lvl__node, .lvl__card, .lvl__tag, .link-cta, .nav__link::before { transition: none; }
  .cart a:hover, .cart a:focus-visible { transform: none; }
}

/* ------------------------------------------------- generated landing pages -- */
/* The /services/<slug>/ and /work/<id>/ pages made by tools/build_pages.py. */
.crumbs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px var(--pad) 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--lime); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .5; }
.crumbs + .phero { padding-top: clamp(28px, 4vw, 48px); }
.crumbs + .case--page { border-top: 0; padding-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1181px) { .crumbs { padding-left: 0; padding-right: 0; } }

.tags--links .tag { display: inline-block; color: var(--muted); transition: border-color .25s ease, color .25s ease; }
.tags--links .tag:hover,
.tags--links .tag:focus-visible { border-color: var(--lime); color: var(--lime); }

.cap__more { display: inline-block; margin-top: 18px; }

.case__next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}
.case__next .link-cta { font-family: var(--display); font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; text-transform: none; }

/* Contact form honeypot (see worker.js): off-screen, never focusable by people. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
