@font-face {
  font-family: Bungee;
  src: url("/assets/Bungee-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/Poppins-Regular-CTKNfV9P.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/assets/Poppins-Bold-qTAUjFF7.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #121520;
  --panel: #1d2433;
  --white: #fff8eb;
  --muted: #bec7d6;
  --line: #414a60;
  --yellow: #ffe24b;
  --mint: #64f4c5;
  --coral: #ff779e;
  --accent: var(--yellow);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font:
    16px/1.75 Poppins,
    Arial,
    sans-serif;
  overflow-wrap: break-word;
}
body.theme-circuit {
  --accent: var(--mint);
}
body.theme-munchminer {
  --accent: var(--yellow);
}
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Bungee, Impact, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(44px, 6vw, 84px);
}
h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 24px;
}
h3 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
p {
  color: var(--muted);
  margin-bottom: 20px;
}
em {
  font-style: normal;
  color: var(--accent);
}
::selection {
  background: var(--mint);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.eyebrow {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: -120px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #121520f5;
  border-bottom: 1px solid #414a6077;
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1400px, calc(100% - 64px));
  min-height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand-sub {
  display: block;
  margin-top: 9px;
  line-height: 1.4;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 700;
}
#site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-height: 48px;
}
#site-nav a:hover,
#site-nav a[aria-current] {
  color: var(--mint);
}
#site-nav .nav-contact {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 22px;
}
.menu-toggle {
  display: none;
  background: var(--yellow);
  color: var(--ink);
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 #05070b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button span {
  font-size: 24px;
  line-height: 1;
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #05070b;
}
.button-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
  box-shadow: none;
}
.button-secondary:hover {
  background: #ffffff0a;
  border-color: var(--white);
  box-shadow: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.studio-hero {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 36px;
  align-items: center;
  padding-block: 66px 100px;
  position: relative;
}
.studio-hero-copy {
  position: relative;
  z-index: 2;
}
.studio-hero h1 {
  font-size: clamp(52px, 6.65vw, 96px);
  margin-bottom: 30px;
  line-height: 1.02;
}
.studio-hero h1 em {
  color: var(--mint);
}
.word-outline {
  color: transparent;
  -webkit-text-stroke: 1.7px var(--white);
}
.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: #e1e5ee;
}
.signal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 9px;
  box-shadow: 0 0 0 5px #ff779e22;
}
.hero-art {
  position: relative;
  min-width: 0;
  height: 650px;
  isolation: isolate;
}
.game-poster {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0e2737;
}
.game-poster > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-poster .game-title-art {
  position: absolute;
  bottom: 11%;
  left: 7%;
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px #000a);
}
.circuit-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #07152233, transparent);
}
.hero-world {
  position: absolute;
  display: block;
  width: 90%;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 12px 12px 0 #03050b;
}
.hero-world-mine {
  top: 65px;
  right: 15px;
  transform: rotate(-7deg);
  background: var(--yellow);
  color: var(--ink);
  z-index: 2;
}
.hero-world-circuit {
  bottom: 25px;
  left: 0;
  transform: rotate(6deg);
  background: var(--mint);
  color: var(--ink);
  z-index: 3;
}
.hero-world-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
}
.hero-world-label strong {
  font-size: 20px;
  line-height: 1.3;
}
.hero-world-label > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.hero-sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 5px;
  right: 0;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  border: 3px solid var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  transform: rotate(15deg);
  z-index: 5;
}
.orbit {
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #64f4c544;
  border-radius: 50%;
  top: 80px;
  left: 30px;
  z-index: -1;
}
.orbit-two {
  width: 590px;
  height: 590px;
  top: 15px;
  left: -20px;
  border-color: #ff779e33;
}
.spark {
  position: absolute;
  font-family: Arial, sans-serif;
  font-size: 110px;
  color: var(--yellow);
  line-height: 1;
}
.spark-one {
  bottom: 140px;
  right: -16px;
  z-index: 5;
  font-size: 90px;
}
.spark-two {
  top: 0;
  left: 30px;
  color: var(--mint);
  font-size: 70px;
}
.studio-ribbon {
  overflow: hidden;
  padding-block: 18px;
  background: var(--mint);
  color: var(--ink);
  border-block: 3px solid #05070b;
}
.studio-ribbon > div {
  font-family: Bungee, Impact, sans-serif;
  white-space: nowrap;
  font-size: 24px;
  line-height: 1.5;
  word-spacing: 12px;
  width: max-content;
  transform: translateX(-30px);
}
.studio-ribbon span {
  margin-inline: 25px;
  color: #135747;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 44px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  font-size: 15px;
  margin-bottom: 4px;
}
.punctuation {
  color: var(--coral);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.showcase-card {
  --card-accent: var(--yellow);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #1b2130;
  min-width: 0;
}
.showcase-circuit-stance {
  --card-accent: var(--mint);
}
.showcase-art {
  display: block;
  position: relative;
  border-bottom: 4px solid var(--card-accent);
  overflow: hidden;
}
.showcase-art .game-poster {
  transition: filter 0.2s;
}
.showcase-art:hover .game-poster {
  filter: brightness(1.08);
}
.card-index {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--card-accent);
  color: var(--ink);
  font-family: Bungee, Impact, sans-serif;
  font-size: 18px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
}
.showcase-copy {
  padding: 32px;
}
.showcase-copy .eyebrow {
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--card-accent);
  font-size: 11px;
}
.showcase-copy h3 {
  font-family: Bungee, Impact, sans-serif;
  font-size: clamp(27px, 2.5vw, 36px);
  font-weight: 400;
  margin-bottom: 22px;
}
.showcase-copy h3 a {
  text-decoration: none;
}
.showcase-copy h3 span {
  color: var(--card-accent);
}
.showcase-copy > p:not(.eyebrow) {
  font-size: 15px;
}
.showcase-copy .button {
  --accent: var(--card-accent);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--card-accent, var(--accent));
  color: var(--ink);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.game-highlights {
  padding: 0;
  list-style: none;
  margin: 25px 0 0;
}
.game-highlights li {
  position: relative;
  padding: 12px 0 12px 23px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.game-highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--card-accent);
}
.studio-story {
  background: #443291;
  border-block: 1px solid #695aa3;
}
.studio-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 85px;
  padding-block: 85px;
  align-items: center;
}
.studio-story .eyebrow {
  color: var(--mint);
}
.studio-story h2 {
  font-size: clamp(35px, 4vw, 56px);
}
.studio-story em {
  color: var(--yellow);
}
.studio-story p {
  color: #ebe6fc;
}
.large-copy {
  font-size: 23px;
  line-height: 1.55;
  color: var(--white);
}
.site-footer {
  background: #0b0f18;
  border-top: 4px solid var(--coral);
}
.footer-top {
  padding-block: 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
.site-footer h2 {
  font-size: clamp(36px, 4.2vw, 60px);
}
.site-footer em {
  color: var(--coral);
}
.site-footer .eyebrow {
  color: var(--mint);
}
.email {
  font-size: clamp(15px, 1.8vw, 23px);
  text-decoration: none;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 8px;
  display: inline-block;
}
.footer-right {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 35px;
  align-items: center;
}
.footer-mascot {
  width: 210px;
  transform: rotate(-8deg);
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  text-decoration: none;
  color: #dce2ee;
}
.footer-links a:hover {
  color: var(--mint);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 24px;
  font-size: 11px;
  color: var(--muted);
}
.game-hero {
  background: radial-gradient(ellipse at 85% 40%, #5e32aa45, transparent 65%);
  padding-block: 30px 80px;
  overflow: hidden;
}
.theme-munchminer .game-hero {
  background: radial-gradient(ellipse at 80% 40%, #b96a293b, transparent 65%);
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 30px;
}
.game-intro {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.game-intro h1 {
  font-size: clamp(42px, 4.6vw, 66px);
  margin-bottom: 26px;
}
.game-hero-copy .eyebrow {
  margin-block: 24px 16px;
  font-size: 11px;
}
.game-headline {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.game-description {
  font-size: 15px;
  max-width: 540px;
}
.game-cover {
  min-width: 0;
  padding-right: 12px;
}
.game-cover .game-poster {
  border: 3px solid #d2dbef;
  border-radius: 22px;
  box-shadow: 12px 12px 0 var(--accent);
}
.caption {
  font-size: 12px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  list-style: none;
  margin: 22px 0 0;
}
.tags li {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  color: #dce2ed;
}
.game-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.game-navigation .eyebrow {
  flex-shrink: 0;
  margin: 0;
  font-size: 11px;
}
.game-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.game-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 9px;
  background: #252c3d;
  color: #edf0f6;
  text-decoration: none;
  font-size: 12px;
}
.game-navigation a:hover {
  background: var(--accent);
  color: var(--ink);
}
.loop-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.loop-track:has(li:last-child:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.loop-track li {
  position: relative;
  border-top: 3px solid var(--accent);
  padding-top: 22px;
  min-width: 0;
}
.loop-number {
  font-family: Bungee, Impact, sans-serif;
  font-size: 36px;
  color: var(--accent);
}
.loop-track h3 {
  font-size: 21px;
  margin-block: 18px 14px;
}
.loop-track p {
  font-size: 14px;
  margin-bottom: 0;
}
.game-chapter {
  padding-block: 90px;
  border-top: 1px solid #414a6055;
  background: #171c29;
}
.game-chapter.chapter-reverse {
  background: #121520;
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 70px;
  align-items: start;
}
.chapter-visual {
  position: sticky;
  top: 140px;
  margin-top: 20px;
  min-width: 0;
}
.chapter-visual > img {
  width: 100%;
  border: 2px solid #8993a5;
  border-radius: 20px;
  box-shadow: 10px 10px 0 #373048;
}
.theme-munchminer .chapter-visual > img {
  box-shadow: 10px 10px 0 #6c4820;
}
.chapter-badge {
  position: absolute;
  top: -22px;
  left: -15px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  font:
    24px/1 Bungee,
    Impact,
    sans-serif;
  transform: rotate(-8deg);
}
.chapter-reverse .chapter-visual {
  order: 2;
}
.chapter-copy {
  min-width: 0;
}
.chapter-copy h2 {
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.16;
}
.chapter-copy > p:not(.eyebrow) {
  font-size: 15px;
}
.system-list {
  margin-top: 25px;
}
.system-row {
  border-top: 1px solid var(--line);
  padding-bottom: 12px;
}
.system-row:last-child {
  border-bottom: 1px solid var(--line);
}
.system-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 15px 5px;
  min-height: 54px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.system-row summary::-webkit-details-marker {
  display: none;
}
.system-row p {
  font-size: 14px;
  margin: 14px 0 8px;
}
.plus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  background: #2b3347;
  color: var(--accent);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  transition: transform 0.2s;
}
.system-row[open] .plus-icon {
  transform: rotate(45deg);
}
.system-note {
  margin-top: 23px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}
.system-note summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.system-note p {
  font-size: 13px;
  margin: 12px 0 0;
}
.recipe-examples {
  margin-top: 28px;
}
.recipe-examples h3 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.recipe-examples ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.recipe-examples li {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #6d613d;
  padding: 14px 12px;
  border-radius: 10px;
  background: #ffe24b08;
  font-size: 12px;
  line-height: 1.5;
}
.recipe-examples li > span {
  font-size: 11px;
  color: var(--muted);
}
.recipe-examples > p {
  font-size: 12px;
  margin-bottom: 0;
}
.marksa-story {
  background: var(--yellow);
  color: var(--ink);
}
.marksa-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 75px;
  align-items: center;
  padding-block: 72px;
}
.marksa-story .eyebrow {
  color: #693623;
}
.marksa-story em {
  color: #8c341e;
}
.marksa-story p {
  color: #3f3118;
}
.marksa-story .large-copy {
  font-weight: 700;
  font-size: 25px;
  color: #151821;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 30px;
}
.screenshot-card {
  margin: 0;
  min-width: 0;
}
.gallery-link {
  display: block;
  position: relative;
  border: 2px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #181c28;
}
.gallery-link img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  transition: filter 0.2s;
}
.gallery-link:hover img {
  filter: brightness(1.1);
}
.gallery-zoom {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 12px;
  font-size: 24px;
  border: 2px solid var(--ink);
}
.screenshot-card figcaption {
  display: flex;
  gap: 19px;
  padding: 23px 3px 0;
}
.shot-index {
  font:
    22px/1.3 Bungee,
    Impact,
    sans-serif;
  color: var(--accent);
}
.screenshot-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.screenshot-card p {
  font-size: 13px;
  margin-bottom: 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
  padding-bottom: 18px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  min-height: 56px;
  padding-top: 19px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.faq p {
  font-size: 14px;
  margin: 16px 0 0;
}
.reviewed {
  font-size: 12px;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 85px;
}
.about-hero h1 {
  font-size: clamp(42px, 5vw, 70px);
}
.about-hero > div > p:not(.eyebrow) {
  max-width: 680px;
}
.about-emblem {
  position: relative;
  background: var(--coral);
  border: 4px solid #05080f;
  border-radius: 50%;
  box-shadow: 12px 12px 0 var(--mint);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 440px;
  margin: 20px;
}
.about-emblem img {
  width: 85%;
  transform: rotate(-8deg);
}
.about-emblem .spark {
  right: -15px;
  top: -35px;
  transform: rotate(10deg);
  font-size: 100px;
}
.emblem-note {
  position: absolute;
  bottom: 28px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(6deg);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 50px;
}
.values-grid article {
  border-top: 2px solid #8a7ab8;
  padding-top: 22px;
}
.values-grid article > span {
  font-size: 45px;
  color: var(--yellow);
  line-height: 1;
}
.values-grid h3 {
  margin-block: 24px 15px;
  font-size: 24px;
}
.values-grid p {
  font-size: 15px;
}
.not-found {
  position: relative;
  min-height: 70vh;
}
.not-found h1 {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}
.portal-shape {
  position: absolute;
  right: 20px;
  bottom: 50px;
  font-size: 180px;
  color: var(--coral);
  opacity: 0.3;
  line-height: 1;
}
.image-dialog {
  width: min(1200px, 94vw);
  max-height: 94vh;
  padding: 20px;
  background: #101520;
  color: var(--white);
  border: 2px solid var(--mint);
  border-radius: 20px;
  box-shadow: 0 25px 90px #000a;
}
.image-dialog::backdrop {
  background: #070912e8;
}
.image-dialog form {
  text-align: right;
  margin-bottom: 16px;
}
.image-dialog button {
  font-size: 13px;
  min-height: 44px;
  padding: 9px 15px;
  background: #252d40;
  color: var(--white);
  border: 1px solid #626e8a;
  border-radius: 10px;
}
.image-dialog > img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.dialog-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}
.dialog-controls p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: center;
  line-height: 1.6;
}
.dialog-open {
  overflow: hidden;
}
@media (min-width: 1600px) {
  .studio-hero {
    padding-block: 90px 110px;
  }
  .hero-art {
    height: 720px;
  }
  .hero-world-mine {
    top: 80px;
  }
  .hero-world-circuit {
    bottom: 30px;
  }
}
@media (max-width: 1200px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .studio-hero h1 {
    font-size: 72px;
  }
  .hero-art {
    height: 580px;
  }
  .hero-world-label {
    padding: 15px;
  }
  .hero-world-label strong {
    font-size: 18px;
  }
  .hero-world-label > span {
    font-size: 9px;
  }
  .hero-sticker {
    width: 120px;
    height: 120px;
    font-size: 13px;
  }
  .orbit {
    width: 380px;
    height: 380px;
  }
  .orbit-two {
    width: 470px;
    height: 470px;
  }
  .game-intro {
    gap: 36px;
    grid-template-columns: 1fr 1fr;
  }
  .game-intro h1 {
    font-size: 47px;
  }
  .chapter-grid {
    gap: 45px;
  }
  .chapter-copy h2 {
    font-size: 32px;
  }
  .loop-track {
    gap: 22px;
  }
  .footer-right {
    gap: 24px;
  }
  .showcase-copy {
    padding: 28px;
  }
}
@media (max-width: 1000px) {
  .studio-hero h1 {
    font-size: 62px;
  }
  .hero-art {
    height: 550px;
  }
  .hero-world-label > span {
    display: none;
  }
  .studio-story-grid {
    gap: 45px;
  }
  .game-intro h1 {
    font-size: 42px;
  }
  .game-headline {
    font-size: 22px;
  }
  .loop-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .loop-track:has(li:last-child:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-right {
    grid-template-columns: 1fr;
  }
  .footer-mascot {
    width: 160px;
  }
  .recipe-examples ul {
    grid-template-columns: 1fr;
  }
  .recipe-examples li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-size: 13px;
  }
  .recipe-examples li > span {
    font-size: 12px;
    flex-shrink: 0;
  }
  .game-navigation {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 100px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 65px;
  }
  .header-inner {
    width: calc(100% - 40px);
    min-height: 84px;
    flex-wrap: wrap;
    padding-block: 13px;
    gap: 12px;
  }
  .brand {
    font-size: 17px;
    gap: 10px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand-sub {
    font-size: 7px;
    margin-top: 7px;
  }
  .js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .js #site-nav {
    display: none;
  }
  .js #site-nav.is-open {
    display: flex;
  }
  #site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-block: 8px;
    font-size: 14px;
  }
  #site-nav a {
    min-height: 44px;
  }
  #site-nav .nav-contact {
    align-self: flex-start;
  }
  .studio-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 45px 75px;
  }
  .studio-hero h1 {
    font-size: clamp(54px, 10vw, 78px);
    line-height: 1.04;
  }

  .hero-description {
    font-size: 16px;
  }
  .studio-hero-copy .eyebrow {
    font-size: 10px;
  }
  .hero-art {
    height: 580px;
    width: min(590px, 100%);
    margin: auto;
  }
  .hero-world-mine {
    top: 50px;
    right: 3%;
    width: 90%;
  }
  .hero-world-circuit {
    left: 4%;
    bottom: 25px;
    width: 90%;
  }
  .hero-world-label strong {
    font-size: 19px;
  }
  .hero-world-label > span {
    display: inline;
    font-size: 9px;
  }
  .hero-sticker {
    right: 0;
    top: 0;
  }
  .orbit {
    left: 10%;
    top: 60px;
    width: 75%;
    height: auto;
    aspect-ratio: 1;
  }
  .orbit-two {
    width: 95%;
    left: 0;
    top: 10px;
  }
  .spark-one {
    right: 0;
    bottom: 145px;
    font-size: 75px;
  }
  .spark-two {
    left: 15px;
    top: 0;
    font-size: 60px;
  }
  .studio-ribbon > div {
    font-size: 18px;
  }
  .studio-ribbon {
    padding-block: 14px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 24px;
    font-size: 14px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .showcase-copy {
    padding: 27px;
  }
  .showcase-copy h3 {
    font-size: 31px;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .showcase-copy .eyebrow {
    font-size: 10px;
  }
  .showcase-copy .actions {
    gap: 12px;
  }
  .game-highlights li {
    font-size: 12px;
  }
  .studio-story-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 65px;
  }
  .studio-story-grid h2 {
    margin-bottom: 10px;
  }
  .large-copy {
    font-size: 21px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 60px;
  }
  .footer-right {
    grid-template-columns: 0.8fr 1fr;
    gap: 35px;
  }
  .footer-mascot {
    width: 160px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 11px;
  }
  .site-footer h2 {
    font-size: 40px;
  }
  .game-hero {
    padding-block: 20px 55px;
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .game-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .game-intro h1 {
    font-size: clamp(36px, 7.8vw, 58px);
  }
  .game-headline {
    font-size: 24px;
  }
  .game-description {
    font-size: 14px;
  }
  .game-cover {
    padding-right: 10px;
  }
  .game-cover .game-poster {
    box-shadow: 10px 10px 0 var(--accent);
    border-radius: 18px;
  }
  .caption {
    font-size: 11px;
  }
  .tags {
    gap: 7px;
  }
  .tags li {
    font-size: 10px;
  }
  .game-navigation {
    display: block;
    padding-block: 23px;
  }
  .game-navigation .eyebrow {
    display: block;
    margin-bottom: 13px;
  }
  .game-navigation ul {
    gap: 7px;
  }
  .game-navigation a {
    font-size: 11px;
    padding-inline: 12px;
  }
  .loop-track,
  .loop-track:has(li:last-child:nth-child(3)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }
  .loop-track h3 {
    font-size: 19px;
  }
  .loop-track p {
    font-size: 13px;
  }
  .loop-number {
    font-size: 30px;
  }
  .game-chapter {
    padding-block: 62px;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .chapter-visual {
    position: relative;
    top: auto;
    margin: 15px 10px 0 0;
  }
  .chapter-reverse .chapter-visual {
    order: 0;
  }
  .chapter-badge {
    left: -8px;
    width: 55px;
    height: 55px;
    font-size: 21px;
  }
  .chapter-copy h2 {
    font-size: 32px;
  }
  .chapter-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .system-row summary {
    font-size: 15px;
  }
  .system-row p {
    font-size: 14px;
  }
  .recipe-examples ul {
    grid-template-columns: 1fr;
  }
  .recipe-examples li {
    font-size: 13px;
  }
  .recipe-examples li > span {
    font-size: 12px;
  }
  .marksa-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 60px;
  }
  .marksa-grid h2 {
    margin-bottom: 15px;
  }
  .marksa-story .large-copy {
    font-size: 23px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .screenshot-card h3 {
    font-size: 20px;
  }
  .screenshot-card figcaption {
    gap: 16px;
  }
  .screenshot-card p {
    font-size: 13px;
  }
  .gallery-link {
    border-radius: 17px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq summary {
    font-size: 15px;
  }
  .faq p {
    font-size: 14px;
  }
  .about-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 55px;
  }
  .about-hero h1 {
    font-size: clamp(39px, 8vw, 60px);
  }
  .about-emblem {
    width: min(350px, calc(100% - 25px));
    margin: 15px auto 10px;
  }
  .about-emblem .spark {
    font-size: 80px;
    right: -10px;
    top: -25px;
  }
  .emblem-note {
    font-size: 11px;
    bottom: 20px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 38px;
  }
  .values-grid h3 {
    font-size: 23px;
    margin-top: 15px;
  }
  .not-found {
    min-height: 65vh;
  }
  .not-found h1 {
    font-size: clamp(38px, 8vw, 60px);
  }
  .portal-shape {
    font-size: 110px;
    right: 0;
    bottom: 15px;
  }
  .image-dialog {
    padding: 13px;
    border-radius: 16px;
  }
  .image-dialog > img {
    max-height: 45vh;
  }
  .dialog-controls {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 15px;
  }
  .dialog-controls p {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: 11px;
  }
  .dialog-controls button {
    font-size: 12px;
    padding: 8px 9px;
  }
}
@media (max-width: 480px) {
  .hero-art {
    height: 425px;
  }
  .hero-world-mine {
    top: 55px;
    right: 4%;
    width: 88%;
  }
  .hero-world-circuit {
    left: 4%;
    bottom: 20px;
    width: 90%;
  }
  .hero-world-label {
    padding: 13px;
  }
  .hero-world-label strong {
    font-size: 17px;
  }
  .hero-world-label > span {
    display: none;
  }
  .hero-sticker {
    width: 100px;
    height: 100px;
    font-size: 11px;
    top: 8px;
  }
  .spark-one {
    bottom: 115px;
    font-size: 60px;
  }
  .spark-two {
    font-size: 52px;
    left: 5px;
  }
  .studio-hero h1 {
    font-size: 55px;
  }
  .studio-hero {
    gap: 30px;
  }
  .button {
    font-size: 12px;
    padding: 13px 18px;
    gap: 14px;
    min-height: 50px;
  }
  .actions {
    gap: 12px;
  }
  .footer-right {
    gap: 22px;
  }
  .footer-mascot {
    width: 130px;
  }
  .showcase-copy h3 {
    font-size: 29px;
  }
  .game-intro h1 {
    font-size: 38px;
  }
  .chapter-copy h2 {
    font-size: 29px;
  }
  .recipe-examples li {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .loop-track,
  .loop-track:has(li:last-child:nth-child(3)) {
    grid-template-columns: 1fr;
  }
  .loop-track li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px 16px;
    padding-top: 20px;
  }
  .loop-number {
    grid-row: 1/3;
  }
  .loop-track h3 {
    margin: 0;
  }
  .loop-track p {
    grid-column: 2;
    margin: 0;
  }
  .loop-track {
    gap: 24px;
  }
}
@media (max-width: 380px) {
  .wrap,
  .header-inner {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand-sub {
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .menu-toggle {
    font-size: 12px;
    padding: 8px 12px;
  }
  .studio-hero h1 {
    font-size: 47px;
  }
  .studio-hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .hero-art {
    height: 380px;
  }
  .hero-world-label strong {
    font-size: 15px;
  }
  .hero-sticker {
    width: 90px;
    height: 90px;
    font-size: 10px;
  }
  .showcase-copy {
    padding: 23px;
  }
  .showcase-copy h3 {
    font-size: 25px;
  }
  .showcase-copy .button {
    font-size: 11px;
    padding-inline: 14px;
  }
  .game-intro h1 {
    font-size: 32px;
  }
  .game-headline {
    font-size: 22px;
  }
  .chapter-copy h2 {
    font-size: 26px;
  }
  .footer-right {
    grid-template-columns: 1fr;
  }
  .footer-mascot {
    width: 150px;
  }
  .site-footer h2 {
    font-size: 34px;
  }
  .about-hero h1 {
    font-size: 35px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-world,
  .hero-sticker,
  .footer-mascot,
  .about-emblem img,
  .emblem-note,
  .chapter-badge {
    transform: none;
  }
  .studio-ribbon > div {
    transform: none;
  }
}
