:root {
  --bg: #030811;
  --panel: #07111f;
  --panel2: #091a2e;
  --text: #eef9ff;
  --muted: #9db4c7;
  --cyan: #31d7ff;
  --blue: #1677ff;
  --magenta: #e53cff;
  --green: #6bea66;
  --orange: #ff9c25;
  --red: #ff4b45;
  --line: rgba(49, 215, 255, .26);
  --max: 1500px;
  --header: 78px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  background: var(--bg)
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .016) 3px 4px);
  mix-blend-mode: overlay
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 clamp(20px, 4vw, 68px);
  background: linear-gradient(180deg, rgba(2, 7, 15, .95), rgba(2, 7, 15, .62), transparent);
  backdrop-filter: blur(10px)
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: max-content
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.03em
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: .42em;
  margin-left: 2px;
  margin-top: 2px
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  transform: rotate(45deg)
}

.brand-mark i {
  display: block;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 15px rgba(49, 215, 255, .4)
}

/* PixelPoppers image logo */

.brand-image {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.studio-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.studio-logo-header {
  height: 48px;
  max-width: 280px;
}

.studio-logo-footer {
  height: 58px;
  max-width: 320px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto
}

.main-nav a {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #bfd0df;
  transition: .2s
}

.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 14px var(--cyan)
}

.header-cta,
.nav-toggle {
  border: 1px solid var(--cyan);
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  background: rgba(12, 33, 52, .7);
  box-shadow: inset 0 0 20px rgba(49, 215, 255, .08), 0 0 18px rgba(49, 215, 255, .12)
}

.nav-toggle {
  display: none;
  color: #fff
}

.hero {
  height: min(920px, 100vh);
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: background-image .5s ease, filter .4s;
  will-change: transform
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(90deg, rgba(2, 7, 15, .96) 0%, rgba(2, 7, 15, .75) 28%, rgba(2, 7, 15, .14) 58%, rgba(2, 7, 15, .38) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 26%, rgba(2, 7, 15, .2) 100%)
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(49, 215, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(49, 215, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, black, transparent 68%)
}

.hero-content {
  width: min(760px, 90vw);
  margin-left: max(5vw, calc((100vw - var(--max))/2));
  padding-top: 60px
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
  animation: pulse 1.5s infinite
}

.hero h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(88px, 12.5vw, 196px);
  line-height: .76;
  letter-spacing: -.045em;
  margin: 28px 0 21px;
  text-transform: uppercase;
  font-style: italic;
  color: #eef6ff;
  text-shadow: 0 5px 0 #6887a6, 0 0 28px rgba(71, 198, 255, .25)
}

.hero h1 span {
  color: #dcebfa
}

.kicker {
  margin: 0 0 25px;
  font-size: clamp(14px, 1.5vw, 21px);
  font-weight: 900;
  letter-spacing: .32em
}

.lede {
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.55;
  color: #d6e5ef;
  max-width: 620px;
  text-shadow: 0 2px 14px #000
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  transition: .2s
}

.btn.primary {
  background: linear-gradient(135deg, #8df4ff, var(--cyan));
  color: #00131d;
  box-shadow: 0 0 28px rgba(49, 215, 255, .32)
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(49, 215, 255, .52)
}

.btn.ghost {
  background: rgba(5, 15, 29, .6);
  backdrop-filter: blur(8px)
}

.btn.ghost:hover {
  background: rgba(31, 99, 141, .26)
}

.hero-readout {
  position: absolute;
  right: max(4vw, calc((100vw - var(--max))/2));
  bottom: 72px;
  width: 235px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(6, 22, 39, .83), transparent);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  color: #7ca9bf
}

.hero-readout>* {
  display: block;
  margin: 3px 0
}

.hero-readout strong {
  font-size: 11px;
  color: var(--cyan)
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: .24em;
  color: #7895a8
}

.scroll-cue span {
  display: block;
  text-align: center;
  font-size: 20px;
  animation: bob 1.4s infinite
}

.section {
  position: relative;
  padding: 110px clamp(20px, 4vw, 68px);
  max-width: 1700px;
  margin: auto
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  margin: 12px 0 13px;
  letter-spacing: -.04em;
  text-transform: uppercase
}

.section-heading>p:last-child {
  color: var(--muted);
  font-size: 17px
}

.world {
  padding-top: 100px
}

.district-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px
}

.district-stage {
  height: min(72vh, 760px);
  min-height: 560px;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #06101b
}

.district-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s, transform .6s
}

.district-stage:hover img {
  transform: scale(1.02)
}

.district-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 7, 15, .9), rgba(2, 7, 15, .14) 60%, rgba(2, 7, 15, .18)), linear-gradient(0deg, rgba(2, 7, 15, .9), transparent 48%)
}

.district-copy {
  position: absolute;
  left: clamp(25px, 5vw, 74px);
  bottom: clamp(28px, 7vw, 74px);
  max-width: 570px
}

.district-copy>span,
.district-copy small {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--cyan);
  letter-spacing: .18em;
  font-size: 10px
}

.district-copy h3 {
  font-size: clamp(56px, 7vw, 110px);
  line-height: .8;
  margin: 14px 0 20px;
  text-transform: uppercase;
  font-style: italic
}

.district-copy strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .25em;
  margin-bottom: 18px
}

.district-copy p {
  color: #d2e2ea;
  line-height: 1.7;
  max-width: 560px
}

.district-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.district-tab {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  border: 1px solid var(--line);
  background: #07121f;
  color: #fff;
  text-align: left;
  padding: 20px;
  cursor: pointer;
  transition: .22s
}

.district-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--thumb) center/cover;
  opacity: .18;
  filter: saturate(.9);
  transition: .22s
}

.district-tab>* {
  position: relative
}

.district-tab:hover,
.district-tab[aria-selected="true"] {
  border-color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 22%, transparent)
}

.district-tab[aria-selected="true"]::before {
  opacity: .34
}

.district-tab small {
  font: 700 9px ui-monospace, monospace;
  letter-spacing: .16em;
  color: #7999ac
}

.district-tab strong {
  display: block;
  font-size: 25px;
  text-transform: uppercase;
  margin-top: 24px
}

.district-tab span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-top: 4px
}

.characters {
  max-width: 1700px
}

.character-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 690px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #07121f, #040a12)
}

.character-list {
  padding: 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px
}

.character-button {
  padding: 19px 18px;
  border: 1px solid rgba(83, 176, 219, .18);
  background: #07111c;
  color: #bdd1df;
  text-align: left;
  cursor: pointer;
  transition: .2s
}

.character-button strong {
  display: block;
  color: #fff;
  font-size: 18px
}

.character-button small {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.character-button:hover,
.character-button.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, #07111c);
  box-shadow: inset 3px 0 0 var(--accent)
}

.character-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .65fr);
  min-width: 0
}

.character-image-wrap {
  min-height: 620px;
  overflow: hidden;
  position: relative
}

.character-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 54%, #06101b 100%), linear-gradient(0deg, #06101b 0%, transparent 28%)
}

.character-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.character-info {
  align-self: center;
  padding: 50px 44px 50px 20px
}

.character-info>span {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800
}

.character-info h3 {
  font-size: clamp(50px, 4vw, 72px);
  margin: 12px 0 20px;
  line-height: .9
}

.character-info p {
  color: #bdd0dc;
  line-height: 1.75
}

.character-info blockquote {
  margin: 35px 0 0;
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
  font-style: italic;
  color: #fff;
  font-size: 18px
}

.story {
  overflow: hidden;
  max-width: none;
  background: #02060c
}

.story>.section-heading,
.story>.timeline {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto
}

.story-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 12, .97), rgba(2, 6, 12, .7)), url('../images/promo-worlds.png') center/cover fixed;
  opacity: .38
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px
}

.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 2%;
  right: 2%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--red))
}

.timeline-card {
  position: relative;
  padding: 75px 23px 28px;
  border: 1px solid rgba(49, 215, 255, .14);
  background: rgba(5, 14, 25, .78);
  backdrop-filter: blur(8px);
  min-height: 290px
}

.timeline-card .dot {
  position: absolute;
  top: 25px;
  left: 22px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  background: #03101b;
  transform: rotate(45deg);
  box-shadow: 0 0 20px var(--cyan)
}

.timeline-card small {
  color: var(--cyan);
  font-family: ui-monospace, monospace
}

.timeline-card h3 {
  text-transform: uppercase;
  font-size: 21px;
  margin: 13px 0
}

.timeline-card p {
  color: #a9becb;
  line-height: 1.7;
  font-size: 14px
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 12px
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #06101c;
  padding: 0
}

.gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 3
}

.gallery-item:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2
}

.gallery-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 3
}

.gallery-item:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2
}

.gallery-item:nth-child(5) {
  grid-column: span 3;
  grid-row: span 2
}

.gallery-item:nth-child(6) {
  grid-column: span 4;
  grid-row: span 2
}

.gallery-item:nth-child(7) {
  grid-column: span 8;
  grid-row: span 2
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s, filter .3s
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.1)
}

.gallery-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 35px 18px 15px;
  background: linear-gradient(transparent, rgba(2, 7, 15, .94));
  text-align: left
}

.gallery-label small {
  color: var(--cyan);
  letter-spacing: .2em
}

.gallery-label strong {
  display: block;
  margin-top: 5px;
  font-size: 17px
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.news-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: linear-gradient(135deg, rgba(7, 20, 34, .95), rgba(5, 10, 18, .95));
  min-height: 230px
}

.news-meta {
  display: flex;
  justify-content: space-between;
  color: #6fbcd7;
  font: 700 9px ui-monospace, monospace;
  letter-spacing: .12em
}

.news-card h3 {
  font-size: 25px;
  margin: 32px 0 12px
}

.news-card p {
  color: #9fb6c5;
  line-height: 1.7;
  font-size: 14px
}

.wishlist {
  max-width: none;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden
}

.wishlist-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #02070e, transparent 35%, rgba(1, 5, 12, .25)), linear-gradient(90deg, rgba(1, 6, 13, .78), rgba(1, 6, 13, .32), rgba(1, 6, 13, .78)), url('../images/promo-city.png') center 36%/cover
}

.wishlist-content {
  position: relative;
  max-width: 800px
}

.wishlist h2 {
  font-size: clamp(60px, 10vw, 130px);
  margin: 12px 0 15px;
  line-height: .86;
  text-transform: uppercase;
  font-style: italic
}

.wishlist-content>p:not(.eyebrow) {
  color: #d2e3ed;
  font-size: 18px
}

.wishlist-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.footer {
  max-width: 1600px;
  margin: auto;
  min-height: 170px;
  padding: 45px clamp(20px, 4vw, 68px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 35px
}

.footer p {
  margin-left: auto;
  color: #8ca4b4
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #b5c9d6
}

dialog {
  border: 1px solid var(--line);
  padding: 0;
  background: #030813;
  color: #fff;
  max-width: min(94vw, 1400px);
  box-shadow: 0 30px 90px #000
}

dialog::backdrop {
  background: rgba(0, 3, 8, .88);
  backdrop-filter: blur(8px)
}

dialog img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain
}

dialog>div {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px
}

dialog span {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .18em
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  right: 13px;
  top: 13px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(2, 8, 15, .8);
  color: #fff;
  font-size: 26px;
  cursor: pointer
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@keyframes pulse {
  50% {
    opacity: .35;
    transform: scale(.72)
  }
}

@keyframes bob {
  50% {
    transform: translateY(5px)
  }
}

@media(max-width:1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #07111d;
    border: 1px solid var(--line);
    padding: 20px
  }

  .main-nav.open {
    display: flex
  }

  .nav-toggle {
    display: block;
    margin-left: auto
  }

  .header-cta {
    display: none
  }

  .district-layout {
    grid-template-columns: 1fr
  }

  .district-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
  }

  .district-tab {
    min-height: 105px
  }

  .character-shell {
    grid-template-columns: 1fr
  }

  .character-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr)
  }

  .character-button {
    padding: 14px
  }

  .character-focus {
    grid-template-columns: 1fr
  }

  .character-image-wrap {
    height: 55vh;
    min-height: 450px
  }

  .character-image-wrap::after {
    background: linear-gradient(0deg, #06101b 0, transparent 45%)
  }

  .character-info {
    padding: 35px
  }

  .timeline {
    grid-template-columns: 1fr 1fr
  }

  .timeline::before {
    display: none
  }

  .timeline-card {
    padding-top: 55px
  }

  .timeline-card .dot {
    top: 20px
  }

  .news-grid {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    grid-auto-rows: 120px
  }
}

@media(max-width:720px) {
  :root {
    --header: 64px
  }

  .site-header {
    padding: 0 16px
  }
  
.studio-logo-header {
  height: 38px;
  max-width: 200px;
}

.studio-logo-footer {
  height: 48px;
  max-width: 240px;
}

  .brand strong {
    font-size: 16px
  }

  .hero {
    min-height: 710px;
    height: 100svh
  }

  .hero-content {
    margin: 0;
    padding: 40px 20px 0;
    width: 100%
  }

  .hero h1 {
    font-size: clamp(69px, 22vw, 120px)
  }

  .hero-vignette {
    background: linear-gradient(90deg, rgba(2, 7, 15, .94), rgba(2, 7, 15, .37)), linear-gradient(0deg, var(--bg), transparent 44%)
  }

  .hero-bg {
    background-position: 62% center
  }

  .hero-readout {
    display: none
  }

  .section {
    padding: 80px 18px
  }

  .section-heading h2 {
    font-size: 42px
  }

  .district-stage {
    min-height: 610px;
    height: 75vh
  }

  .district-copy {
    left: 22px;
    right: 22px;
    bottom: 28px
  }

  .district-copy h3 {
    font-size: 54px
  }

  .district-tabs {
    grid-template-columns: 1fr 1fr
  }

  .district-tab strong {
    font-size: 19px
  }

  .character-list {
    grid-template-columns: 1fr 1fr
  }

  .character-button small {
    font-size: 9px
  }

  .character-image-wrap {
    min-height: 380px
  }

  .character-info {
    padding: 28px 22px 34px
  }

  .timeline {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    flex: 0 0 86vw;
    height: 55vh;
    min-height: 420px;
    display: block
  }

  .footer {
    flex-direction: column;
    align-items: flex-start
  }

  .footer p {
    margin-left: 0
  }

  .wishlist {
    min-height: 660px
  }

  .wishlist h2 {
    font-size: 68px
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}