/* Brain Games website
   Tokens → base → layout → header/footer → components → sections → pages → motion → responsive */

/* ---------- tokens ---------- */
:root {
  --navy: #0c1a50;
  --navy-band: #142b78;
  --navy-deep: #0b0f2e;
  --navy-line: rgba(255, 255, 255, .12);
  --ink: #161c46;
  --text: #575d7e;
  --muted: #8b90a9;
  --line: #e9ebf3;
  --tint: #f3f4fa;
  --white: #fff;
  --yellow: #ffd12c;
  --yellow-ink: #f0b400;      /* yellow text on white */
  --yellow-soft: #ffe48a;     /* outline buttons */
  --pink: #f0407e;
  --blue: #2d6bf0;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1110px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-card: 0 1px 2px rgba(22, 28, 70, .04), 0 12px 40px rgba(22, 28, 70, .06);
  --shadow-pop: 0 18px 40px rgba(22, 28, 70, .16);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
h1, h2, h3, .lede, .statement__text { text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(44px, 4.6vw, 66px); }
.section--tint { background: var(--tint); }
.muted { color: var(--text); }
.small { font-size: 13px; }
.center { text-align: center; }
.hl { color: var(--yellow-ink); }
.plain { color: inherit; transition: color .2s; }
.plain:hover { color: var(--yellow-ink); }

.h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.75rem); }
.h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: var(--yellow-ink);
}
.eyebrow--dash::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--spaced { letter-spacing: .32em; }
.meta { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 22px 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn__arrow { width: 16px; height: 16px; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); color: var(--ink); }
.btn--primary { background: var(--yellow); box-shadow: 0 8px 20px rgba(255, 209, 44, .35); }
.btn--primary .btn__arrow { color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 209, 44, .45); }
.btn--outline { border-color: var(--yellow-soft); background: var(--white); }
.btn--outline:hover { background: var(--yellow); border-color: var(--yellow); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn--ghost .btn__arrow { color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover .btn__arrow { color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 28px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:not(:has(.btn__arrow)) { padding-inline: 28px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; font-style: italic; color: var(--yellow-ink);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
a.link-arrow:hover svg, a:hover .link-arrow svg { transform: translate(2px, -2px); }
.link-arrow--light { color: var(--yellow); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(22, 28, 70, .05); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header__divider { width: 1px; height: 30px; background: var(--line); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -.05em; }
.brand-word i { font-style: normal; color: var(--pink); }
.brand--light, .brand--light .brand-word { color: var(--white); }
.brand--light .brand-mark { color: var(--yellow); }

.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a {
  position: relative; display: block; padding-block: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.main-nav ul a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--yellow);
}
.main-nav__extra { display: none; }

.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lang-switch span[aria-current] { color: var(--ink); }
.lang-switch a { color: var(--muted); transition: color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch__sep { color: var(--line); font-weight: 400; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tint); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .62); font-size: 13px; }
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px;
  padding-block: 84px 72px;
}
.site-footer__brand .brand-word { font-size: 26px; }
.site-footer__brand .brand-mark { width: 34px; height: 34px; }
.site-footer address { margin-top: 28px; line-height: 1.8; }
.site-footer__links { display: grid; gap: 14px; align-content: start; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .85); transition: color .2s; }
.site-footer__links a:hover { color: var(--yellow); }
.site-footer__links svg { width: 12px; height: 12px; opacity: .6; }
.site-footer__social { display: grid; justify-items: end; align-content: start; gap: 22px; }
.lang-switch--boxed {
  padding: 9px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid var(--navy-line);
}
.lang-switch--boxed span[aria-current] { color: var(--white); }
.lang-switch--boxed a { color: rgba(255, 255, 255, .55); }
.lang-switch--boxed a:hover { color: var(--white); }
.lang-switch--boxed .lang-switch__sep { color: rgba(255, 255, 255, .25); }
.site-footer__follow { margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.social { display: flex; gap: 18px; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; color: rgba(255, 255, 255, .85); transition: color .2s, transform .2s; }
.social a:hover { color: var(--yellow); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  padding-block: 28px 36px; border-top: 1px solid var(--navy-line); font-size: 12px; color: rgba(255, 255, 255, .45);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__bottom a { color: rgba(255, 255, 255, .6); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); transition: color .2s; }
.site-footer__bottom a:hover { color: var(--yellow); }

/* ---------- decorative shapes ---------- */
.deco { position: absolute; pointer-events: none; z-index: 2; }
.deco--ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 12px solid var(--pink);
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, .12), 0 8px 18px rgba(240, 64, 126, .25);
  animation: bob 6s ease-in-out infinite;
}
.deco--ball {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff3b0 0 12%, var(--yellow) 42%, #e8a800 100%);
  box-shadow: 0 10px 18px rgba(232, 168, 0, .28);
  animation: bob 7s ease-in-out infinite reverse;
}
.deco--dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffc0d6 0 12%, var(--pink) 50%, #c81d5c 100%);
  animation: bob 5s ease-in-out infinite;
}
.deco--sparkle { width: 32px; height: 32px; color: var(--yellow); filter: drop-shadow(0 4px 8px rgba(232, 168, 0, .35)); animation: twinkle 4s ease-in-out infinite; }
.deco--sparkle svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }

/* ---------- game icons ---------- */
.game-icon {
  width: 72px; height: 72px; border-radius: 22%;
  object-fit: cover; background: var(--tint);
  box-shadow: 0 1px 2px rgba(22, 28, 70, .08), 0 8px 18px rgba(22, 28, 70, .12);
}
.game-icon--xs { width: 32px; height: 32px; box-shadow: 0 2px 6px rgba(22, 28, 70, .12); }
.game-icon--sm { width: 46px; height: 46px; }
.game-icon--md { width: 96px; height: 96px; }
.game-icon--lg { width: 112px; height: 112px; }
.game-icon--xl { width: clamp(150px, 15vw, 196px); height: clamp(150px, 15vw, 196px); }
.game-icon--hero { width: clamp(180px, 22vw, 260px); height: clamp(180px, 22vw, 260px); border-radius: 24%; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 12px; font-weight: 500; color: var(--text); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--yellow-soft); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip--static { height: 26px; padding: 0 12px; font-size: 11px; font-weight: 600; cursor: default; background: var(--tint); border-color: transparent; }

/* ---------- icon lists ---------- */
.icon-list { display: grid; gap: 14px; margin: 26px 0 28px; }
.icon-list li { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text); }
.icon-list svg { width: 18px; height: 18px; color: #b5b9cc; flex-shrink: 0; }
.check-list { display: grid; gap: 12px; margin-top: 20px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list svg {
  flex-shrink: 0; width: 22px; height: 22px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: #fff4c7; color: #b98500; stroke-width: 2.6;
}

/* ---------- hero (home) ---------- */
.hero { background: var(--navy); color: rgba(255, 255, 255, .82); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: end; gap: 32px;
  min-height: min(640px, calc(100svh - var(--header-h)));
}
.hero__copy { align-self: stretch; display: flex; flex-direction: column; padding-block: 48px 44px; }
.hero .eyebrow { color: var(--yellow); margin-top: auto; margin-bottom: 28px; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 1.2rem + 4vw, 4rem);
  font-weight: 700; letter-spacing: -.055em; line-height: 1.02;
}
.hero__lead { max-width: 470px; margin-top: 30px; font-size: 15px; line-height: 1.85; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 40px;
  font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
  align-self: flex-start; transition: color .2s;
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue__ring { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.scroll-cue__ring svg { width: 14px; height: 14px; animation: nudge 2.4s ease-in-out infinite; }
.hero__art { align-self: end; margin-right: calc(var(--gutter) * -0.5); }
.hero__art .illo { width: 100%; max-width: 720px; margin-left: auto; transform-origin: bottom center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; position: relative; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 40px; min-height: 480px; padding-block: 56px; }
.page-hero .eyebrow { color: var(--yellow); margin-bottom: 22px; }
.page-hero__title { color: var(--white); font-size: clamp(2.2rem, 1.2rem + 3vw, 3.5rem); letter-spacing: -.05em; line-height: 1.06; }
.page-hero__lead { max-width: 520px; margin-top: 22px; font-size: 15px; line-height: 1.85; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.page-hero__art { position: relative; }
.page-hero__art .illo { width: 100%; max-width: 560px; margin-inline: auto; animation: float 8s ease-in-out infinite; }
.page-hero--compact .page-hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 64px 72px; }
.page-hero--compact .page-hero__lead { max-width: 640px; }
.page-hero--article .page-hero__inner { min-height: 420px; }
.page-hero__card .tablet-art, .page-hero__card .article-art { max-width: 460px; margin-inline: auto; }
.hero-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-meta svg { width: 16px; height: 16px; color: var(--yellow); }

.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '/'; color: rgba(255, 255, 255, .25); }
.crumbs a { color: rgba(255, 255, 255, .7); transition: color .2s; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }

/* game page hero */
.icon-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.icon-stage::before {
  content: ''; position: absolute; width: min(380px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 68%);
  filter: blur(10px); opacity: .7;
}
.icon-stage .game-icon { position: relative; transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px;
  border-radius: 14px; background: var(--ink); color: var(--white); line-height: 1.1;
  font-size: 15px; font-weight: 700; letter-spacing: -.02em;
  transition: transform .2s var(--ease), background-color .2s;
}
.store-btn small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn:hover { transform: translateY(-2px); background: #232a63; }
.store-buttons--light .store-btn { background: var(--white); color: var(--ink); }
.store-buttons--light .store-btn:hover { background: #fff8db; }

/* ---------- welcome statement ---------- */
.welcome { padding-block: clamp(72px, 9vw, 110px) clamp(32px, 4vw, 48px); }
.lede {
  max-width: 900px;
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.2rem);
  font-weight: 600; letter-spacing: -.045em; line-height: 1.38; color: var(--ink);
}

/* ---------- split (image + copy) ---------- */
.split__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(40px, 7vw, 110px); }
.split--reverse .split__media { order: 2; }
.split__copy { max-width: 520px; }
.split__copy .h2 { margin-bottom: 18px; }
.split__copy > .muted { font-size: 13.5px; line-height: 1.85; }
.split__media .illo { width: 100%; max-width: 470px; margin-inline: auto; }

.series-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 34px; }
.series-row a { display: grid; justify-items: center; gap: 6px; width: 56px; text-align: center; transition: transform .25s var(--ease); }
.series-row a:hover { transform: translateY(-3px); }
.series-row a > span:last-child { font-size: 9px; line-height: 1.2; color: var(--muted); }

/* two tilted icons (home highlights) */
.duo-art { position: relative; aspect-ratio: 1.18; max-width: 520px; margin-inline: auto; }
.duo-art__blob {
  position: absolute; left: 22%; top: 32%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #eef0f8, #f6f7fb 70%);
}
.duo-art__card { position: absolute; display: block; transition: transform .4s var(--ease); }
.duo-art__card .game-icon { box-shadow: 0 24px 50px rgba(22, 28, 70, .18); border-radius: 18%; }
.duo-art__card--a { left: 4%; top: 6%; transform: rotate(-8deg); }
.duo-art__card--b { right: 4%; top: 34%; transform: rotate(10deg); }
.duo-art__card--a:hover { transform: rotate(-4deg) translateY(-6px); }
.duo-art__card--b:hover { transform: rotate(6deg) translateY(-6px); }
.duo-art__caption {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: center;
  font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #b5b9cc;
}

/* ---------- navy band ---------- */
.band { position: relative; background: var(--navy-band); color: var(--white); overflow: hidden; }
.band__inner { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: clamp(280px, 30vw, 380px); }
.band__art {
  position: absolute; inset: 0 auto 0 var(--gutter); width: min(640px, 62%);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.band__art .illo { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.band__title {
  position: relative; text-align: right; color: var(--white);
  font-size: clamp(2rem, 1.2rem + 2.2vw, 2.7rem); letter-spacing: -.05em; line-height: 1.12;
}
.band--compact .band__inner { min-height: 300px; }
.band__copy { position: relative; display: grid; justify-items: end; gap: 26px; }

/* ---------- featured games card ---------- */
.featured { background: var(--tint); padding-block: clamp(56px, 7vw, 100px); }
.featured__card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 60px) clamp(32px, 4vw, 52px); }
.featured__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 26px; }
.featured__head .muted { margin-top: 10px; font-size: 12.5px; }
.featured__aside { display: flex; align-items: center; gap: 26px; }
.featured__stack { position: relative; display: flex; }
.featured__stack .game-icon { width: 60px; height: 60px; border-radius: 16px; }
.featured__stack .game-icon:first-child { transform: rotate(-10deg); }
.featured__stack .game-icon:nth-child(2) { margin-left: -14px; margin-top: 16px; transform: rotate(8deg); }
.featured__stack .deco--ball { width: 18px; height: 18px; }
.featured .chips { margin-bottom: 34px; }

.tile-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 30px 20px; }
.tile-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game-tile a { display: grid; gap: 4px; }
.game-tile .game-icon { width: 100%; max-width: 104px; height: auto; aspect-ratio: 1; margin-bottom: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.game-tile a:hover .game-icon { transform: translateY(-4px) rotate(-3deg); box-shadow: var(--shadow-pop); }
.game-tile strong { font-size: 13px; color: var(--ink); letter-spacing: -.02em; }
.game-tile__store { font-size: 10px; font-weight: 600; font-style: italic; color: var(--yellow-ink); }
.game-tile__cat { font-size: 10px; color: var(--muted); line-height: 1.35; }
[data-cat][hidden] { display: none !important; }

/* ---------- quotes ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 38px; }
.section-head--stack { flex-direction: column; align-items: flex-start; }
.section-head--light .h2 { color: var(--white); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.quote { padding: 32px 32px 28px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid #f1f2f7; box-shadow: var(--shadow-card); }
.stars { color: var(--yellow); letter-spacing: 4px; font-size: 15px; }
.quote blockquote { margin: 20px 0 26px; font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by span { display: grid; font-size: 11px; color: var(--muted); line-height: 1.4; }
.quote__by strong { font-size: 12px; font-weight: 600; color: var(--ink); }

/* ---------- tablet art (news) ---------- */
.tablet-art { position: relative; max-width: 470px; margin-inline: auto; padding: 12% 6% 10%; }
.tablet-art__screen {
  display: flex; align-items: center; justify-content: center; gap: 6%;
  aspect-ratio: 1.45; border: 9px solid var(--ink); border-radius: 26px; background: #eef0f8;
  box-shadow: 18px 18px 0 #e3e6f3;
  transform: rotate(-6deg);
}
.tablet-art__screen .game-icon { width: 30%; height: auto; aspect-ratio: 1; border-radius: 20%; }
.tablet-art__plus { font-size: clamp(22px, 3vw, 34px); font-weight: 700; color: var(--pink); }
.tablet-art__tag {
  position: absolute; right: 0; top: 4%;
  padding: 14px 24px; border-radius: 14px; background: var(--yellow); color: var(--ink);
  font-size: clamp(14px, 1.4vw, 17px); font-weight: 800; letter-spacing: -.03em;
  box-shadow: 0 6px 0 #e7b400, 0 14px 30px rgba(232, 168, 0, .3);
  transform: rotate(8deg);
}
.article-art { border-radius: var(--radius); overflow: hidden; background: var(--tint); aspect-ratio: 1.3; display: grid; place-items: center; }
.article-art .illo { width: 82%; }

/* ---------- statement (careers CTA) ---------- */
.statement .statement__text { max-width: 1000px; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.35; color: var(--ink); margin-bottom: 34px; }

/* ---------- contact trio ---------- */
.trio { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 124px); }
.trio__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trio__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--pink); }
.trio__icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
.trio__item h3 { margin: 22px 0 12px; font-size: 1.15rem; }
.trio__item p { min-height: 3.4em; margin-bottom: 26px; font-size: 13px; }
.trio__item .btn { min-height: 40px; padding: 0 16px 0 22px; font-size: 12px; }

/* ---------- games page ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.game-card__link {
  display: flex; gap: 20px; height: 100%; padding: 22px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.game-card__link:hover { border-color: transparent; box-shadow: var(--shadow-pop); transform: translateY(-4px); }
.game-card__media .game-icon { width: 92px; height: 92px; transition: transform .3s var(--ease); }
.game-card__link:hover .game-icon { transform: rotate(-5deg); }
.game-card__body { display: grid; align-content: start; gap: 8px; min-width: 0; }
.game-card__body .chip { justify-self: start; }
.game-card__name { font-size: 17px; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.game-card__tag { font-size: 13px; line-height: 1.5; color: var(--text); }
.game-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--yellow-ink); }
.game-card__more svg { width: 14px; height: 14px; }
.series-promo { background: var(--tint); }
.platforms { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 0; }
.platforms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.platform {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px;
  border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s;
}
.platform:hover { border-color: var(--yellow-soft); box-shadow: var(--shadow-card); }
.platform > span:nth-child(2) { display: grid; gap: 2px; }
.platform strong { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.platform__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--ink); flex-shrink: 0; }
.platform__icon svg { width: 24px; height: 24px; }
.platform__arrow { width: 18px; height: 18px; margin-left: auto; color: var(--muted); }

/* series page */
.stats-strip { padding-block: 48px; border-bottom: 1px solid var(--line); }
.stats-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: grid; gap: 6px; }
.stat strong { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
.series-list { display: grid; gap: 14px; }
.series-item {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 22px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: box-shadow .3s, border-color .3s;
}
.series-item:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.series-item__num { font-size: 13px; font-weight: 800; color: #c7cad9; letter-spacing: .06em; }
.series-item .game-icon--lg { width: 84px; height: 84px; }
.series-item h3 { font-size: 1.15rem; margin-bottom: 6px; }

/* game page */
.game-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.game-about__copy .h2 { margin-bottom: 18px; }
.game-about__copy > .muted { font-size: 15px; line-height: 1.85; }
.info-card { padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); border: 1px solid #f1f2f7; }
.info-card .game-icon { margin-bottom: 22px; }
.info-card dl { display: grid; margin: 18px 0 24px; }
.info-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.info-card dd a { color: var(--yellow-ink); }
.info-card .store-btn { flex: 1 1 140px; justify-content: center; }
.info-card--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card .h3 { margin-bottom: 10px; }
.info-card .btn--block { margin-bottom: 12px; }

.how { background: var(--tint); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.step p { color: var(--ink); font-weight: 600; letter-spacing: -.02em; padding-top: 6px; }
.step h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.step .muted { font-weight: 400; font-size: 13px; color: var(--text); padding: 0; }
.step__num { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-weight: 800; }

/* ---------- about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.value-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.value:hover { border-color: transparent; box-shadow: var(--shadow-card); transform: translateY(-3px); }
.value h3 { margin: 18px 0 10px; font-size: 1.1rem; }
.value p { font-size: 13px; }
.band--process { padding-block: clamp(64px, 8vw, 110px); }
.band--process .container { position: relative; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: p; }
.process__step { padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--navy-line); }
.process__num { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--yellow); }
.process__step h3 { margin: 16px 0 10px; color: var(--white); font-size: 1.2rem; }
.process__step p { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ---------- careers ---------- */
.job-list { display: grid; gap: 12px; }
.job__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 28px;
  padding: 22px 26px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white);
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.job__link:hover { border-color: var(--yellow-soft); box-shadow: var(--shadow-card); }
.job__main { display: grid; gap: 4px; }
.job__main strong { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.job__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; }
.job__where { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.job__where svg { width: 15px; height: 15px; }
.job__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--yellow-soft); transition: background-color .25s; }
.job__go svg { width: 16px; height: 16px; }
.job__link:hover .job__go { background: var(--yellow); border-color: var(--yellow); }
.job-list__foot { margin-top: 24px; }
.job-list__foot a { color: var(--yellow-ink); font-weight: 600; }
#positions .chips { margin-bottom: 26px; }
.job-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.job-detail__body { display: grid; gap: 44px; }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card a { display: grid; gap: 22px; height: 100%; padding: 16px 16px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.news-card a:hover { box-shadow: var(--shadow-pop); transform: translateY(-4px); border-color: transparent; }
.news-card__media { display: block; border-radius: 16px; overflow: hidden; background: var(--tint); }
.news-card__media .tablet-art { padding: 10% 8% 8%; }
.news-card__media .tablet-art__tag { font-size: 12px; padding: 8px 14px; right: 4%; }
.news-card__media .deco { transform: scale(.7); }
.news-card__media .article-art { border-radius: 0; }
.news-card__body { display: grid; gap: 8px; padding-inline: 10px; }
.news-card__title { font-size: 19px; color: var(--ink); letter-spacing: -.035em; line-height: 1.25; }
.news-card .link-arrow { margin-top: 6px; }
.press { padding-top: 0; }
.press__card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 40px; border-radius: var(--radius); background: var(--tint); }
.press__card .h3 { margin-bottom: 6px; }

.article-game { display: flex; align-items: center; gap: 24px; margin-top: 56px; padding: 24px 28px; border-radius: var(--radius); background: var(--tint); }
.article-game strong { display: block; font-size: 18px; letter-spacing: -.03em; color: var(--ink); }
.article-game strong a { transition: color .2s; }
.article-game strong a:hover { color: var(--yellow-ink); }
.article-game .store-buttons { margin-top: 14px; }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 720px) auto; justify-content: center; gap: 60px; }
.prose { font-size: 16px; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; font-size: 1.45rem; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.prose blockquote {
  margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--yellow);
  font-size: 1.35rem; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; color: var(--ink);
}
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.share { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.share__btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--yellow-soft); background: var(--white); font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background-color .2s; }
.share__btn:hover { background: var(--yellow); }
.share__btn svg { width: 15px; height: 15px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); max-width: calc(720px + var(--gutter) * 2); }
.post-nav__link { display: inline-flex; align-items: center; gap: 14px; max-width: 48%; color: var(--ink); font-weight: 700; letter-spacing: -.02em; transition: color .2s; }
.post-nav__link:hover { color: var(--yellow-ink); }
.post-nav__link small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-nav__link svg { width: 20px; height: 20px; flex-shrink: 0; }
.post-nav__link--next { text-align: right; margin-left: auto; }

/* ---------- forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.form-card { display: grid; gap: 18px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); border: 1px solid #f1f2f7; }
.form-card .h3 { margin-bottom: 4px; }
.form-card .btn { justify-self: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfbfe;
  font-size: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b90a9' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 209, 44, .25); }
.field [aria-invalid='true'] { border-color: var(--pink); }
.form-note a { color: var(--ink); text-decoration: underline; }
.form-error { color: #c81d5c; font-size: 13px; font-weight: 600; }
.form-sent { padding: 14px 18px; border-radius: 12px; background: #fff7d1; color: var(--ink); font-size: 13px; font-weight: 600; }
.contact-aside { display: grid; gap: 30px; padding-top: 10px; }
.contact-line { display: flex; gap: 18px; }
.contact-line h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-line p { font-size: 13.5px; }
.contact-line a { color: var(--ink); font-weight: 600; transition: color .2s; }
.contact-line a:hover { color: var(--yellow-ink); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-layout__head .h2 { margin-bottom: 14px; }
.quick-links { display: grid; gap: 10px; margin-top: 28px; }
.quick-links a { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: color .2s; }
.quick-links a:hover { color: var(--yellow-ink); }
.quick-links svg { width: 18px; height: 18px; color: var(--pink); }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow-card); border-color: transparent; }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px;
  font-weight: 700; color: var(--ink); letter-spacing: -.02em; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); color: var(--ink); }
.faq__item p { padding: 0 24px 22px; font-size: 14px; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: 70px; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.legal__toc ol { display: grid; gap: 10px; margin-bottom: 24px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 10px; font-size: 13px; color: var(--text); transition: color .2s; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: #c7cad9; }
.legal__toc a:hover { color: var(--ink); }
.legal .prose h2:first-child { margin-top: 0; }
.legal__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 80px; }
.legal__more a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .3s; }
.legal__more a:hover { border-color: var(--yellow-soft); box-shadow: var(--shadow-card); }
.legal__more svg { width: 20px; height: 20px; }
.legal__more svg:first-child { color: var(--pink); }
.legal__more svg:last-child { margin-left: auto; width: 16px; color: var(--muted); }

/* ---------- 404 ---------- */
.lost { background: var(--navy); color: rgba(255, 255, 255, .8); }
.lost__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; min-height: calc(100svh - var(--header-h)); padding-block: 64px; }
.lost .eyebrow { color: var(--yellow); }
.lost__art .illo { width: 100%; max-width: 560px; margin-inline: auto; animation: float 8s ease-in-out infinite; }

/* ---------- motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: 1.15; rotate: 12deg; } }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.float-slow { animation: float 9s ease-in-out infinite; }
.icon-stage .game-icon { animation-name: float-tilt; }
@keyframes float-tilt { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__social { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
  .site-footer__follow { margin-top: 0; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job__link { grid-template-columns: minmax(0, 1fr) auto; }
  .job__meta { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .job__go { grid-row: 1 / 3; grid-column: 2; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .site-header__divider, .site-header__actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px; background: var(--white);
    box-shadow: 0 24px 40px rgba(22, 28, 70, .12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .main-nav ul a[aria-current='page'] { color: var(--yellow-ink); }
  .main-nav ul a[aria-current='page']::after { display: none; }
  .main-nav__extra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
  .lang-switch { font-size: 14px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero__inner, .page-hero__inner, .lost__inner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .hero__copy { padding-block: 56px 8px; }
  .scroll-cue { display: none; }
  .hero__art { width: 100%; margin: 24px auto 0; max-width: 560px; }
  .page-hero__inner { padding-block: 44px 40px; }
  .page-hero__art { order: 2; margin-top: 32px; max-width: 460px; width: 100%; margin-inline: auto; }
  .page-hero--game .icon-stage { min-height: 280px; }
  .lost__art { width: 100%; margin-top: 24px; }
  .split__inner, .game-about, .job-detail, .contact-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__copy { max-width: none; }
  .split__media .illo { max-width: 380px; }
  .duo-art { max-width: 420px; }
  .band__inner { flex-direction: column; justify-content: flex-end; align-items: stretch; min-height: 0; padding-top: min(52vw, 300px); padding-bottom: 48px; }
  .band__art { inset: 0 0 auto 0; width: 100%; height: min(56vw, 320px); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .band__title { text-align: left; }
  .band__copy { justify-items: start; }
  .featured__head { flex-direction: column; }
  .featured__aside { width: 100%; justify-content: space-between; }
  .quote-grid, .news-grid, .trio__grid, .platforms__grid { grid-template-columns: minmax(0, 1fr); }
  .quote-grid, .news-grid { gap: 18px; }
  .trio__grid { gap: 48px; }
  .trio__item p { min-height: 0; }
  .value-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .series-item { grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; padding: 20px; }
  .series-item__num { display: none; }
  .series-item .btn { grid-column: 1 / -1; justify-self: start; }
  .info-card--sticky, .share, .legal__toc { position: static; }
  .prose-wrap, .legal { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal__more { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; padding-block: 64px 48px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .tile-grid, .tile-grid--four { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .game-tile .game-icon { margin-bottom: 10px; }
  .form-grid, .value-grid, .value-grid--three, .process, .steps--four { grid-template-columns: minmax(0, 1fr); }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .game-card__link { padding: 18px; gap: 16px; }
  .game-card__media .game-icon { width: 76px; height: 76px; }
  .featured__card { border-radius: 18px; }
  .featured__stack { display: none; }
  .tablet-art__tag { padding: 10px 16px; }
  .tablet-art__screen { border-width: 7px; border-radius: 20px; box-shadow: 12px 12px 0 #e3e6f3; }
  .press__card { padding: 28px 24px; }
  .post-nav { flex-direction: column; }
  .post-nav__link { max-width: none; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer__social { grid-auto-flow: row; justify-items: start; }
  .site-footer__bottom { flex-direction: column; }
  .job__link { padding: 18px; gap: 14px 18px; }
  .job__main .muted { display: none; }
  .btn { white-space: normal; text-align: left; }
}
