:root {
  --ink: #111b38;
  --ink-2: #1b294f;
  --cream: #fff8e9;
  --paper: #fffdf8;
  --orange: #ff6235;
  --orange-dark: #e44825;
  --purple: #7c3ff2;
  --purple-light: #a878ff;
  --yellow: #ffd334;
  --mint: #55d79c;
  --sky: #85dcff;
  --pink: #f65076;
  --line: #d9d4c9;
  --muted: #646b7d;
  --shadow: 8px 8px 0 var(--ink);
  --page-pad: clamp(20px, 5.5vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--yellow);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 94px;
  padding: 0 var(--page-pad);
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand-logo {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: #050505;
  box-shadow: 5px 5px 0 var(--orange);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.46;
}

.brand-type {
  display: grid;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0.02em;
}

.brand-type b:last-child {
  margin-top: 6px;
  color: var(--orange);
}

.site-nav {
  display: flex;
  justify-self: center;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.site-nav a {
  position: relative;
  padding: 10px 2px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 4px;
  background: var(--orange);
  transition: right 180ms ease, left 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
  left: 0;
}

.header-cta {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  color: white;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.header-cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.menu-button {
  display: none;
}

.dark-header {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: var(--ink);
  color: white;
}

.dark-header .brand-logo {
  border-color: white;
  box-shadow: 5px 5px 0 var(--orange);
}

.dark-header .site-nav a::after {
  background: var(--yellow);
}

.dark-header .header-cta {
  border-color: white;
  box-shadow: 4px 4px 0 white;
  color: var(--ink);
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--purple);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: currentColor;
  box-shadow: 12px 0 0 transparent;
  clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%);
}

.eyebrow.light {
  color: var(--yellow);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
  grid-template-rows: 1fr auto;
  gap: 34px clamp(40px, 6vw, 100px);
  min-height: calc(100svh - 94px);
  padding: clamp(64px, 8vh, 105px) var(--page-pad) 34px;
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 27, 56, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 27, 56, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
}

.hero-copy {
  align-self: center;
}

.hero-copy h1,
.page-hero h1,
.contact-intro h1 {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(3.3rem, 6.2vw, 7.4rem);
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

.hero-copy h1 em,
.page-hero h1 em,
.contact-intro h1 em {
  color: var(--orange);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--yellow);
}

.hero-intro {
  max-width: 630px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 23px;
  border: 2px solid var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button-primary {
  background: var(--purple);
  box-shadow: 5px 5px 0 var(--ink);
  color: white;
}

.button-primary:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(4px, 4px);
}

.button-quiet {
  border-color: transparent;
  background: transparent;
}

.button-quiet:hover {
  color: var(--purple);
}

.button-light {
  border-color: white;
  background: white;
  box-shadow: 5px 5px 0 var(--orange);
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  align-self: center;
  border: 3px solid var(--ink);
  background: var(--sky);
  box-shadow: 12px 12px 0 var(--ink);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 14px;
  border: 2px dashed rgba(17, 27, 56, 0.22);
  pointer-events: none;
}

.art-label {
  position: absolute;
  z-index: 8;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.art-label-top {
  top: 24px;
  left: 24px;
}

.art-label-bottom {
  right: 24px;
  bottom: 24px;
  background: var(--yellow);
}

.pixel-world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate(var(--parallax-x, 0), var(--parallax-y, 0));
  transition: transform 180ms ease-out;
}

.pixel-world::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  background:
    linear-gradient(135deg, transparent 25%, rgba(255, 255, 255, 0.35) 25% 50%, transparent 50%) 0 0 / 28px 28px,
    #bcefff;
  clip-path: polygon(0 70%, 9% 52%, 19% 60%, 31% 34%, 42% 52%, 55% 18%, 69% 43%, 82% 20%, 100% 49%, 100% 100%, 0 100%);
}

.world-sun {
  position: absolute;
  top: 62px;
  right: 68px;
  width: 88px;
  height: 88px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    0 0 0 12px rgba(255, 211, 52, 0.35),
    14px 10px 0 rgba(17, 27, 56, 0.08);
  animation: sun-pulse 3.8s steps(2, end) infinite;
}

@keyframes sun-pulse {
  50% {
    box-shadow:
      0 0 0 20px rgba(255, 211, 52, 0.18),
      14px 10px 0 rgba(17, 27, 56, 0.08);
  }
}

.world-cloud {
  position: absolute;
  z-index: 2;
  width: 116px;
  height: 31px;
  border: 4px solid var(--ink);
  background: white;
  box-shadow: 6px 6px 0 rgba(17, 27, 56, 0.16);
}

.world-cloud::before,
.world-cloud::after {
  content: "";
  position: absolute;
  bottom: -4px;
  border: 4px solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: white;
}

.world-cloud::before {
  left: 14px;
  width: 42px;
  height: 45px;
}

.world-cloud::after {
  right: 13px;
  width: 52px;
  height: 60px;
}

.cloud-a {
  top: 116px;
  left: 36px;
  animation: cloud-float 6s ease-in-out infinite;
}

.cloud-b {
  top: 200px;
  right: 32px;
  scale: 0.65;
  animation: cloud-float 7s ease-in-out -2s infinite reverse;
}

@keyframes cloud-float {
  50% {
    translate: 14px -7px;
  }
}

.world-coin {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: inset -7px -5px 0 #f2a51d, 5px 5px 0 rgba(17, 27, 56, 0.16);
  font-family: "Courier New", monospace;
  font-weight: 900;
  animation: coin-spin 2.8s steps(5, end) infinite;
}

.coin-a {
  top: 180px;
  left: 24%;
}

.coin-b {
  top: 280px;
  right: 11%;
  animation-delay: -1.2s;
}

@keyframes coin-spin {
  50% {
    transform: translateY(-10px) rotateY(180deg);
  }
}

.pixel-spark {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  background: var(--purple);
  box-shadow: 8px 0 0 var(--purple), 0 8px 0 var(--purple), 8px 8px 0 var(--purple);
  animation: spark-blink 1.5s steps(2, end) infinite;
}

.spark-one {
  top: 83px;
  left: 43%;
}

.spark-two {
  top: 240px;
  left: 12%;
  background: var(--orange);
  box-shadow: 8px 0 0 var(--orange), 0 8px 0 var(--orange), 8px 8px 0 var(--orange);
  animation-delay: -0.6s;
}

.spark-three {
  top: 125px;
  right: 28%;
  background: var(--mint);
  box-shadow: 8px 0 0 var(--mint), 0 8px 0 var(--mint), 8px 8px 0 var(--mint);
  animation-delay: -1s;
}

@keyframes spark-blink {
  50% {
    opacity: 0.25;
    scale: 0.7;
  }
}

.pakka-bot {
  position: absolute;
  z-index: 6;
  bottom: 151px;
  left: 50%;
  width: 210px;
  height: 278px;
  translate: -50% 0;
  animation: bot-bob 3s ease-in-out infinite;
}

@keyframes bot-bob {
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.bot-antenna {
  position: absolute;
  top: 0;
  left: 101px;
  width: 8px;
  height: 42px;
  border: 3px solid var(--ink);
  background: var(--orange);
}

.bot-antenna::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -8px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink);
  background: var(--pink);
  rotate: 45deg;
}

.bot-head {
  position: absolute;
  z-index: 3;
  top: 36px;
  left: 25px;
  width: 160px;
  height: 124px;
  border: 6px solid var(--ink);
  border-radius: 42% 42% 36% 36%;
  background: var(--yellow);
  box-shadow: inset -13px -13px 0 #f3a921;
}

.bot-eye {
  position: absolute;
  top: 34px;
  width: 40px;
  height: 45px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: white;
}

.bot-eye::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 10px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
}

.eye-left {
  left: 30px;
}

.eye-right {
  right: 30px;
}

.bot-mouth {
  position: absolute;
  bottom: 18px;
  left: 61px;
  width: 37px;
  height: 16px;
  border: 4px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 50% 50%;
}

.bot-body {
  position: absolute;
  z-index: 2;
  top: 139px;
  left: 47px;
  display: grid;
  place-items: center;
  width: 116px;
  height: 93px;
  border: 6px solid var(--ink);
  border-radius: 18px 18px 30px 30px;
  background: var(--orange);
  box-shadow: inset -11px -10px 0 var(--orange-dark);
}

.bot-body i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 38px;
  border: 4px solid var(--ink);
  background: var(--paper);
  color: var(--purple);
  font-family: "Courier New", monospace;
  font-style: normal;
  font-weight: 900;
}

.bot-ear {
  position: absolute;
  z-index: 1;
  top: 72px;
  width: 32px;
  height: 48px;
  border: 5px solid var(--ink);
  background: var(--purple);
}

.bot-ear-left {
  left: 2px;
}

.bot-ear-right {
  right: 2px;
}

.bot-arm {
  position: absolute;
  z-index: 1;
  top: 160px;
  width: 42px;
  height: 74px;
  border: 6px solid var(--ink);
  border-radius: 20px;
  background: var(--yellow);
}

.arm-left {
  left: 15px;
  rotate: 24deg;
}

.arm-right {
  right: 15px;
  rotate: -24deg;
}

.bot-leg {
  position: absolute;
  z-index: 1;
  bottom: 1px;
  width: 48px;
  height: 70px;
  border: 6px solid var(--ink);
  border-radius: 14px 14px 8px 8px;
  background: var(--purple);
}

.leg-left {
  left: 47px;
  rotate: 5deg;
}

.leg-right {
  right: 47px;
  rotate: -5deg;
}

.floating-island {
  position: absolute;
  z-index: 5;
  right: 10%;
  bottom: 52px;
  left: 10%;
  height: 125px;
}

.island-grass {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: 55px;
  border: 6px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.22) 12% 20%, transparent 20% 44%, rgba(255,255,255,.18) 44% 52%, transparent 52%),
    #69d24c;
  box-shadow: inset 0 -16px 0 #38a944;
}

.island-dirt {
  position: absolute;
  z-index: 2;
  top: 49px;
  right: 7%;
  left: 7%;
  height: 74px;
  border: 6px solid var(--ink);
  border-top: 0;
  background:
    linear-gradient(135deg, transparent 0 40%, rgba(255,255,255,.12) 40% 50%, transparent 50%) 0 0 / 32px 32px,
    #804626;
  clip-path: polygon(0 0, 100% 0, 88% 72%, 69% 72%, 62% 100%, 43% 91%, 27% 73%, 12% 70%);
}

.island-block {
  position: absolute;
  z-index: 4;
  bottom: 103px;
  width: 50px;
  height: 50px;
  border: 5px solid var(--ink);
}

.block-one {
  left: 7%;
  background: var(--purple);
}

.block-two {
  right: 5%;
  background: var(--orange);
}

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero-stats article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px 22px;
  border-right: 2px solid var(--ink);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  color: var(--purple);
  font-family: "Courier New", monospace;
  font-size: 1.55rem;
  font-weight: 900;
}

.hero-stats article:nth-child(2) strong {
  color: var(--orange);
}

.hero-stats article:nth-child(3) strong {
  color: var(--pink);
}

.hero-stats article:nth-child(4) strong {
  color: #16865e;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--orange);
  color: white;
}

.ticker-track {
  display: flex;
  gap: 34px;
  align-items: center;
  width: max-content;
  min-height: 58px;
  font-family: "Courier New", monospace;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  animation: ticker 24s linear infinite;
}

.ticker-track i {
  color: var(--yellow);
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(86px, 10vw, 150px) var(--page-pad);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 38px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.studio-statement h2,
.cta-banner h2,
.origin-title h2,
.values-section h2,
.manifesto h2,
.faq-section h2 {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(2.7rem, 5.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.arrow-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.79rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.arrow-link:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.featured-section {
  background: var(--paper);
}

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

.project-card {
  border: 3px solid var(--ink);
  background: white;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(5px, 5px);
}

.project-art {
  position: relative;
  height: clamp(260px, 29vw, 390px);
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}

.project-art::after,
.library-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  border-top: 5px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 36%, rgba(255,255,255,.15) 36% 50%, transparent 50%) 0 0 / 24px 24px,
    #5fb54c;
  box-shadow: inset 0 -18px 0 #7b4429;
}

.card-sun .project-art {
  background: #8bddff;
}

.card-violet .project-art {
  background: #9b6bef;
}

.card-mint .project-art {
  background: #83dfb2;
}

.mini-planet {
  position: absolute;
  z-index: 2;
  border: 5px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset -12px -8px 0 rgba(17,27,56,.18);
}

.planet-one {
  top: 36px;
  left: 34px;
  width: 74px;
  height: 74px;
  background: var(--orange);
}

.planet-two {
  top: 74px;
  right: 38px;
  width: 48px;
  height: 48px;
  background: var(--purple);
}

.mini-hero {
  position: absolute;
  z-index: 4;
  top: 42%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 6px solid var(--ink);
  background: var(--yellow);
  box-shadow: 7px 7px 0 rgba(17,27,56,.22);
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 2.8rem;
  font-weight: 900;
  translate: -50% -50%;
  animation: mini-bounce 2.4s steps(4, end) infinite;
}

@keyframes mini-bounce {
  50% {
    translate: -50% calc(-50% - 18px);
    rotate: 8deg;
  }
}

.dungeon-door {
  position: absolute;
  z-index: 2;
  bottom: 20%;
  left: 50%;
  width: 130px;
  height: 180px;
  border: 8px solid var(--ink);
  border-radius: 70px 70px 0 0;
  background: #342351;
  translate: -50% 0;
  box-shadow: inset 0 0 0 14px #5e3c84;
}

.torch {
  position: absolute;
  z-index: 3;
  top: 32%;
  width: 17px;
  height: 54px;
  border: 4px solid var(--ink);
  background: #92531c;
}

.torch::before {
  content: "";
  position: absolute;
  top: -28px;
  left: -9px;
  width: 27px;
  height: 30px;
  border: 4px solid var(--ink);
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 55%, 72% 100%, 20% 100%, 0 48%);
}

.torch-left {
  left: 16%;
}

.torch-right {
  right: 16%;
}

.bloom-pot {
  position: absolute;
  z-index: 3;
  bottom: 20%;
  left: 50%;
  width: 130px;
  height: 92px;
  border: 6px solid var(--ink);
  background: var(--orange);
  translate: -50% 0;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
}

.bloom {
  position: absolute;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 38px 0 -17px var(--ink);
}

.bloom::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--yellow);
}

.flower-one {
  top: 27%;
  left: 27%;
  rotate: -12deg;
}

.flower-two {
  top: 20%;
  left: 48%;
}

.flower-three {
  top: 31%;
  right: 24%;
  rotate: 14deg;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  padding: 24px;
}

.project-meta p,
.guild-card > p {
  margin: 0 0 6px;
  color: var(--purple);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin: 0;
  font-size: 1.3rem;
}

.platform-pill {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 2px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  font-weight: 900;
}

.studio-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 140px);
  padding: clamp(90px, 11vw, 160px) var(--page-pad);
  background:
    radial-gradient(circle at 15% 85%, rgba(124,63,242,.34), transparent 24%),
    var(--ink);
  color: white;
}

.studio-statement {
  align-self: center;
}

.studio-statement h2 {
  margin-bottom: 34px;
}

.studio-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-steps li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.22);
}

.studio-steps li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.studio-steps > li > span {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  font-weight: 900;
}

.studio-steps h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.studio-steps p {
  margin: 0;
  color: #acb5c8;
  line-height: 1.65;
}

.cta-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(88px, 11vw, 150px) var(--page-pad);
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(17,27,56,.07) 49.5% 50.5%, transparent 50.5%),
    var(--yellow);
  background-size: 38px 38px;
  text-align: center;
}

.cta-banner h2 {
  max-width: 1040px;
  margin-bottom: 34px;
}

.cta-pixels i,
.manifesto-pixels i {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--purple);
  animation: spark-blink 2s steps(2,end) infinite;
}

.cta-pixels i:nth-child(1) {
  top: 20%;
  left: 8%;
}

.cta-pixels i:nth-child(2) {
  top: 67%;
  left: 18%;
  background: var(--orange);
  animation-delay: -.6s;
}

.cta-pixels i:nth-child(3) {
  top: 22%;
  right: 15%;
  background: var(--pink);
  animation-delay: -1s;
}

.cta-pixels i:nth-child(4) {
  right: 6%;
  bottom: 17%;
  background: var(--mint);
  animation-delay: -1.4s;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 42px;
  align-items: center;
  padding: 32px var(--page-pad);
  border-top: 2px solid var(--ink);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-brand {
  scale: 0.82;
  transform-origin: left center;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: var(--orange);
}

/* Shared internal-page heroes */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  min-height: 660px;
  padding: clamp(80px, 10vw, 140px) var(--page-pad);
}

.page-hero-copy > p:last-child {
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

.games-hero {
  background:
    radial-gradient(circle at 84% 21%, rgba(124,63,242,.32), transparent 25%),
    var(--ink);
  color: white;
}

.games-hero .page-hero-copy > p:last-child {
  color: #b6bfd2;
}

.games-hero h1 em {
  -webkit-text-stroke-color: white;
}

.portal-stack {
  position: relative;
  min-height: 440px;
}

.portal {
  position: absolute;
  display: grid;
  place-items: center;
  width: 230px;
  height: 300px;
  border: 7px solid white;
  border-radius: 115px 115px 0 0;
  box-shadow: 12px 12px 0 rgba(0,0,0,.28);
}

.portal::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 4px dashed rgba(255,255,255,.6);
  border-radius: inherit;
}

.portal span {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  filter: drop-shadow(6px 6px 0 rgba(17,27,56,.25));
}

.portal-one {
  z-index: 3;
  top: 70px;
  left: 34%;
  background: var(--orange);
}

.portal-two {
  z-index: 2;
  top: 10px;
  left: 7%;
  scale: .78;
  background: var(--purple);
  rotate: -8deg;
}

.portal-three {
  z-index: 1;
  top: 100px;
  right: 0;
  scale: .7;
  background: var(--mint);
  rotate: 10deg;
}

.game-library {
  background: var(--cream);
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 46px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}

.filter-bar > p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.development-bar strong {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: clamp(.74rem, 1.4vw, .94rem);
  letter-spacing: .04em;
  text-align: right;
  text-transform: uppercase;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-buttons button {
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: transparent;
  font-family: "Courier New", monospace;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background: var(--ink);
  color: white;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.library-grid > .library-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.library-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 340px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  transition: opacity 200ms ease, transform 200ms ease;
}

.library-card.is-hidden {
  display: none;
}

.library-card:hover {
  transform: translateY(-5px);
}

.library-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-right: 3px solid var(--ink);
}

.library-copy {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.library-copy h2 {
  margin: 18px 0 12px;
  font-family: "Courier New", monospace;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: .96;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.library-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.game-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.game-tags span {
  padding: 6px 8px;
  border: 2px solid var(--ink);
  font-family: "Courier New", monospace;
  font-size: .56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  font-family: "Courier New", monospace;
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
}

.status-dot.live {
  background: var(--mint);
}

.status-dot.progress {
  background: var(--orange);
}

.status-dot.secret {
  background: var(--purple);
}

.scene-star {
  background: var(--sky);
}

.scene-dungeon {
  background: #7651b8;
}

.scene-bloom {
  background: #7edcac;
}

.scene-dash {
  background: var(--orange);
}

.scene-cloud {
  background: #d7f3ff;
}

.scene-signal {
  background: #25365f;
}

.scene-orbit {
  position: absolute;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--purple);
}

.orbit-one {
  top: 34px;
  right: 20px;
  width: 60px;
  height: 60px;
}

.orbit-two {
  top: 110px;
  left: 22px;
  width: 38px;
  height: 38px;
  background: var(--orange);
}

.scene-player {
  position: absolute;
  z-index: 4;
  top: 44%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 5px solid var(--ink);
  background: var(--yellow);
  color: var(--purple);
  font-family: "Courier New", monospace;
  font-size: 2.1rem;
  font-weight: 900;
  translate: -50% -50%;
  animation: mini-bounce 2.5s steps(4,end) infinite;
}

.scene-door {
  position: absolute;
  z-index: 2;
  bottom: 22%;
  left: 50%;
  width: 110px;
  height: 145px;
  border: 7px solid var(--ink);
  border-radius: 60px 60px 0 0;
  background: #2a2040;
  translate: -50% 0;
}

.scene-flame {
  position: absolute;
  z-index: 4;
  top: 90px;
  width: 24px;
  height: 34px;
  border: 4px solid var(--ink);
  background: var(--orange);
  clip-path: polygon(50% 0,100% 57%,73% 100%,19% 100%,0 50%);
  animation: spark-blink 1.2s steps(2,end) infinite;
}

.flame-a {
  left: 18%;
}

.flame-b {
  right: 18%;
  animation-delay: -.6s;
}

.scene-pot {
  position: absolute;
  z-index: 3;
  bottom: 20%;
  left: 50%;
  width: 112px;
  height: 76px;
  border: 5px solid var(--ink);
  background: var(--orange);
  translate: -50% 0;
  clip-path: polygon(0 0,100% 0,84% 100%,16% 100%);
}

.scene-flower {
  position: absolute;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
}

.scene-flower::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.bloom-a {
  top: 26%;
  left: 24%;
}

.bloom-b {
  top: 18%;
  left: 45%;
}

.bloom-c {
  top: 30%;
  right: 20%;
}

.speed-line {
  position: absolute;
  height: 7px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  animation: speed 1.3s linear infinite;
}

.line-a {
  top: 25%;
  left: -20%;
  width: 80px;
}

.line-b {
  top: 45%;
  left: -40%;
  width: 120px;
  animation-delay: -.4s;
}

.line-c {
  top: 62%;
  left: -30%;
  width: 62px;
  animation-delay: -.8s;
}

@keyframes speed {
  to {
    translate: 420px 0;
  }
}

.cloud-house {
  position: absolute;
  z-index: 4;
  bottom: 22%;
  left: 50%;
  width: 110px;
  height: 108px;
  border: 6px solid var(--ink);
  background: var(--purple);
  translate: -50% 0;
}

.cloud-house::before {
  content: "";
  position: absolute;
  top: -56px;
  left: -13px;
  width: 126px;
  height: 78px;
  border: 6px solid var(--ink);
  background: var(--orange);
  clip-path: polygon(50% 0,100% 70%,87% 100%,12% 100%,0 70%);
}

.tiny-cloud {
  position: absolute;
  width: 58px;
  height: 20px;
  border: 4px solid var(--ink);
  background: white;
}

.cloud-mini-a {
  top: 48px;
  left: 20px;
}

.cloud-mini-b {
  top: 100px;
  right: 14px;
}

.signal-tower {
  position: absolute;
  z-index: 5;
  bottom: 19%;
  left: 50%;
  width: 20px;
  height: 150px;
  border: 5px solid var(--ink);
  background: var(--orange);
  translate: -50% 0;
}

.signal-tower::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -15px;
  width: 40px;
  height: 40px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.signal-ring {
  position: absolute;
  top: 42px;
  left: 50%;
  border: 5px solid var(--sky);
  border-radius: 50%;
  translate: -50% 0;
  animation: signal 2s ease-out infinite;
}

.ring-a {
  width: 90px;
  height: 90px;
}

.ring-b {
  width: 150px;
  height: 150px;
  animation-delay: -1s;
}

@keyframes signal {
  from {
    opacity: 1;
    scale: .3;
  }
  to {
    opacity: 0;
    scale: 1.2;
  }
}

.filter-empty {
  padding: 60px;
  border: 2px dashed var(--ink);
  text-align: center;
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.platform-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 55px;
  align-items: center;
  padding: 38px var(--page-pad);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--purple);
  color: white;
}

.platform-band > p {
  margin: 0;
  color: var(--yellow);
  font-family: "Courier New", monospace;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.platform-band div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-band span {
  font-family: "Courier New", monospace;
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 900;
  text-align: center;
}

/* About */
.about-hero {
  background:
    linear-gradient(rgba(17,27,56,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,27,56,.035) 1px, transparent 1px),
    var(--cream);
  background-size: 30px 30px;
}

.about-hero h1 {
  font-size: clamp(3rem, 5.8vw, 6.6rem);
}

.studio-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: min(410px, 34vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background:
    repeating-conic-gradient(var(--yellow) 0 8deg, var(--orange) 8deg 16deg);
  box-shadow: 13px 13px 0 var(--ink);
  animation: badge-float 4s ease-in-out infinite;
}

@keyframes badge-float {
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.studio-badge::before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.badge-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52%;
  aspect-ratio: 1;
  border: 5px solid var(--ink);
  background: var(--purple);
  color: white;
  rotate: -4deg;
}

.badge-core b {
  font-family: "Courier New", monospace;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: .8;
}

.badge-core i {
  margin-top: 10px;
  color: var(--yellow);
  font-family: "Courier New", monospace;
  font-size: .65rem;
  font-style: normal;
  font-weight: 900;
}

.ring-text-top {
  position: absolute;
  z-index: 3;
  top: 58px;
  font-family: "Courier New", monospace;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.badge-star {
  position: absolute;
  z-index: 3;
  font-size: 1.8rem;
}

.star-a {
  right: 55px;
  bottom: 86px;
}

.star-b {
  top: 94px;
  left: 55px;
  color: var(--orange);
}

.origin-section {
  background: var(--paper);
}

.origin-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.origin-title h2 {
  font-size: clamp(2.6rem, 4.4vw, 5rem);
}

.origin-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.origin-copy p {
  margin: 0 0 1.4em;
}

.origin-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.origin-numbers article {
  display: grid;
  gap: 9px;
  padding: 27px 22px;
  border-right: 2px solid var(--ink);
}

.origin-numbers article:last-child {
  border-right: 0;
}

.origin-numbers strong {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.origin-numbers span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.values-section {
  padding: clamp(90px, 11vw, 160px) var(--page-pad);
  background: var(--ink);
  color: white;
}

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

.value-card {
  min-height: 330px;
  padding: 30px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.045);
  transition: transform 180ms ease, border-color 180ms ease;
}

.value-card:hover {
  border-color: var(--yellow);
  transform: translateY(-7px);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 80px;
  border: 2px solid white;
  background: var(--purple);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.value-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.value-card p {
  margin: 0;
  color: #b5bfd2;
  line-height: 1.65;
}

.guild-section {
  background: var(--cream);
}

.heading-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.guild-card {
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.guild-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.guild-avatar {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.2;
  margin-bottom: 24px;
  overflow: hidden;
  border: 3px solid var(--ink);
}

.guild-avatar::before,
.guild-avatar::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border: 5px solid var(--ink);
  background: rgba(255,255,255,.25);
  rotate: 45deg;
}

.guild-avatar::before {
  top: -35px;
  left: -20px;
}

.guild-avatar::after {
  right: -30px;
  bottom: -38px;
}

.guild-avatar span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 5px solid var(--ink);
  background: var(--paper);
  font-family: "Courier New", monospace;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 7px 7px 0 rgba(17,27,56,.22);
}

.avatar-design {
  background: var(--orange);
}

.avatar-art {
  background: var(--purple-light);
}

.avatar-code {
  background: var(--mint);
}

.manifesto {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  padding: 100px var(--page-pad);
  overflow: hidden;
  background: var(--orange);
  text-align: center;
}

.manifesto-copy {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.manifesto-copy > p {
  margin: 0 0 28px;
  font-family: "Courier New", monospace;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.manifesto-copy h2 {
  color: white;
  text-shadow: 6px 6px 0 var(--ink);
}

.manifesto-copy > span {
  display: block;
  margin-top: 35px;
  font-size: 1.1rem;
  font-weight: 700;
}

.manifesto-pixels i:nth-child(1) { top: 12%; left: 8%; background: var(--yellow); }
.manifesto-pixels i:nth-child(2) { top: 24%; right: 12%; background: var(--purple); }
.manifesto-pixels i:nth-child(3) { bottom: 18%; left: 17%; background: var(--mint); }
.manifesto-pixels i:nth-child(4) { right: 6%; bottom: 10%; background: white; }
.manifesto-pixels i:nth-child(5) { top: 10%; left: 46%; background: var(--ink); }

/* Contact */
.contact-hero {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(54px, 9vw, 140px);
  min-height: 760px;
  padding: clamp(80px, 9vw, 130px) var(--page-pad);
  background:
    radial-gradient(circle at 12% 88%, rgba(246,80,118,.27), transparent 28%),
    var(--purple);
  color: white;
}

.contact-intro {
  align-self: center;
}

.contact-intro h1 {
  font-size: clamp(3rem, 5.6vw, 6.2rem);
}

.contact-intro h1 em {
  color: var(--yellow);
  -webkit-text-stroke-color: white;
  text-shadow: 4px 4px 0 var(--ink);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 600px;
  margin: 30px 0;
  color: #e8ddff;
  font-size: 1.15rem;
  line-height: 1.7;
}

.contact-direct {
  display: grid;
  gap: 9px;
  margin-top: 50px;
}

.contact-direct span {
  color: #cbb9ef;
  font-family: "Courier New", monospace;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-direct a {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 2px solid white;
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  align-self: center;
  padding: 28px;
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 11px 11px 0 var(--ink);
  color: var(--ink);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: -28px -28px 28px;
  padding: 13px 18px;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  font-family: "Courier New", monospace;
  font-size: .65rem;
  font-weight: 900;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-form label > span {
  font-family: "Courier New", monospace;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: white;
  color: var(--ink);
  transition: box-shadow 150ms ease, background 150ms ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #fffbdf;
  box-shadow: 4px 4px 0 var(--purple);
}

.contact-form label.has-error input,
.contact-form label.has-error select,
.contact-form label.has-error textarea {
  border-color: #c72f4e;
  background: #fff1f3;
}

.field-error {
  display: none;
  color: #b92644;
  font-size: .72rem;
  font-weight: 700;
}

.has-error .field-error {
  display: block;
}

.form-submit {
  width: 100%;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
  text-align: center;
}

.form-success {
  margin-top: 16px;
  padding: 12px;
  border: 2px solid var(--ink);
  background: #daf7e8;
  font-weight: 800;
  text-align: center;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--cream);
}

.detail-card {
  padding: 26px;
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.detail-card > span {
  display: block;
  margin-bottom: 50px;
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-weight: 900;
}

.detail-card p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
}

.detail-card strong {
  font-size: 1.15rem;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  border-top: 3px solid var(--ink);
}

.faq-list details {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-family: "Courier New", monospace;
  font-size: 1.35rem;
  transition: rotate 180ms ease;
}

.faq-list details[open] summary span {
  rotate: 45deg;
}

.faq-list details p {
  max-width: 780px;
  margin: 0;
  padding: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(.2,.75,.25,1), transform 650ms cubic-bezier(.2,.75,.25,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    justify-self: end;
  }

  .home-hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .library-card {
    grid-template-columns: 1fr;
  }

  .library-art {
    min-height: 290px;
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    place-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
    cursor: pointer;
  }

  .dark-header .menu-button {
    border-color: white;
    box-shadow: 3px 3px 0 white;
  }

  .menu-button span {
    display: block;
    width: 23px;
    height: 3px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 80px;
    right: var(--page-pad);
    display: grid;
    gap: 0;
    width: min(280px, calc(100vw - 40px));
    padding: 10px;
    border: 3px solid var(--ink);
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
    color: var(--ink);
    opacity: 0;
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: var(--yellow);
  }

  .home-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 66px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 13vw, 5.4rem);
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-stats {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats article:nth-child(2) {
    border-right: 0;
  }

  .hero-stats article:nth-child(-n+2) {
    border-bottom: 2px solid var(--ink);
  }

  .featured-grid,
  .values-grid,
  .guild-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .project-art {
    height: 390px;
  }

  .studio-strip,
  .page-hero,
  .origin-grid,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .portal-stack {
    min-height: 420px;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .platform-band {
    grid-template-columns: 1fr;
  }

  .studio-badge {
    width: min(390px, 82vw);
  }

  .origin-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .origin-numbers article:nth-child(2) {
    border-right: 0;
  }

  .origin-numbers article:nth-child(-n+2) {
    border-bottom: 2px solid var(--ink);
  }

  .contact-hero {
    padding-top: 80px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-type {
    font-size: 1.04rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .contact-intro h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .hero-copy h1 em,
  .page-hero h1 em,
  .contact-intro h1 em {
    -webkit-text-stroke-width: 1px;
    text-shadow: 3px 3px 0 var(--yellow);
  }

  .hero-visual {
    min-height: 440px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .pakka-bot {
    bottom: 118px;
    scale: .72;
  }

  .floating-island {
    right: 4%;
    bottom: 28px;
    left: 4%;
  }

  .world-coin {
    scale: .75;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .arrow-link,
  .heading-note {
    display: inline-flex;
    margin-top: 24px;
  }

  .project-art {
    height: 330px;
  }

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

  .studio-strip {
    padding-inline: 20px;
  }

  .studio-steps li {
    grid-template-columns: 52px 1fr;
  }

  .portal {
    width: 190px;
    height: 250px;
  }

  .portal-one {
    left: 27%;
  }

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

  .filter-buttons {
    width: 100%;
  }

  .filter-buttons button {
    flex: 1 1 40%;
  }

  .platform-band div {
    grid-template-columns: repeat(2, 1fr);
  }

  .origin-numbers,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .origin-numbers article {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .origin-numbers article:nth-child(2) {
    border-bottom: 2px solid var(--ink);
  }

  .origin-numbers article:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 20px;
  }

  .form-topline {
    margin: -20px -20px 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

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