/* CRE8NOW Games overview */
@font-face {
  font-family: "Avegra";
  src: url("Avegra.ttf") format("truetype");
  font-display: swap;
}

:root {
  --lime: #d3ff0c;
  --pink: #ff268b;
  --ink: #0a0a0a;
  --ink-2: #131313;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f4f4f0;
  --muted: rgba(244, 244, 240, 0.62);
  --display: "Avegra", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: max(16px, 8vw);           /* side padding for every section */
  --radius: clamp(14px, 1.8vw, 30px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 99px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- reveal: blur to sharp ---------- */
.rv { opacity: 0; transform: translateY(40px); filter: blur(12px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.hero .rv:nth-child(1) { transition-delay: 0.15s; }
.hero .rv:nth-child(2) { transition-delay: 0.3s; }
.hero .rv:nth-child(3) { transition-delay: 0.55s; }
.hero__platforms.rv { transition-delay: 0.8s; }

/* ---------- type helpers ---------- */
.h2 { margin: 18px 0 0; font: 400 clamp(38px, 5.2vw, 100px)/0.92 var(--display); text-transform: uppercase; letter-spacing: -0.005em; }
.dim { color: rgba(244, 244, 240, 0.32); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 600 12px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.kicker--dark { color: rgba(0, 0, 0, 0.66); }
.kicker--dark .dot { background: var(--ink); box-shadow: none; }
.live, .soon { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.live { background: var(--lime); box-shadow: 0 0 0 0 rgba(211, 255, 12, 0.7); animation: ping 2s infinite; }
.soon { background: transparent; border: 1.5px solid var(--pink); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(211, 255, 12, 0.7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(211, 255, 12, 0); } }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px;
  font: 600 15px/1 var(--body); white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease);
}
.pill svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: scale(0.97); }
.pill--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.pill--lg { height: 62px; padding: 0 32px; font-size: 16px; }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--lime:hover { box-shadow: 0 14px 44px -10px rgba(211, 255, 12, 0.6); }
.pill--ghost { border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.pill--accent { background: var(--accent); color: var(--ink); }
.pill--accent:hover { box-shadow: 0 14px 44px -12px var(--accent); }
.pill--dark { background: var(--ink); color: var(--lime); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 36px;
  padding: max(20px, env(safe-area-inset-top)) var(--pad) 20px;
  border-bottom: 1px solid transparent; transition: background-color 0.4s, padding 0.4s var(--ease), border-color 0.4s;
}
.top.scrolled { padding-block: 12px; background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.top__brand, .foot__brand { display: inline-block; padding: 8px 0; margin: -8px 0; }
.top__brand img { height: clamp(26px, 2.4vw, 38px); width: auto; }
.top__nav { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.top__nav a { position: relative; white-space: nowrap; padding: 8px 0; margin: -8px 0; transition: color 0.25s; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.top__nav a:hover { color: var(--text); }
.top__nav a:hover::after { transform: scaleX(1); }

/* ---------- sound toggle ---------- */
.snd { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); font: 600 12px/1 var(--body); letter-spacing: 0.08em; color: var(--muted); transition: color 0.3s, border-color 0.3s, background-color 0.3s; }
.top__nav + .snd { margin-left: 4px; }
.snd:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.snd__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd__bars i { width: 3px; height: 4px; border-radius: 1px; background: currentColor; transition: height 0.3s; }
.snd.on { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 45%, transparent); }
.snd.on .snd__bars i { animation: eq 1s ease-in-out infinite; }
.snd.on .snd__bars i:nth-child(2) { animation-delay: -0.3s; }
.snd.on .snd__bars i:nth-child(3) { animation-delay: -0.6s; }
.snd.on .snd__bars i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) 0; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.75) 55%, var(--ink) 100%); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0.2) 52%, rgba(10, 10, 10, 0.97) 100%),
    radial-gradient(90% 70% at 0% 100%, rgba(10, 10, 10, 0.8), transparent 70%);
}
.grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } }
.hero__title { margin: 22px 0 34px; font: 400 clamp(52px, 8.4vw, 168px)/0.86 var(--display); text-transform: uppercase; letter-spacing: -0.01em; }
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--lime); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero__lead { max-width: 560px; margin: 0; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.5; color: rgba(244, 244, 240, 0.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__platforms { display: grid; grid-template-columns: 1fr 1fr auto; margin-top: clamp(40px, 7vh, 80px); border-top: 1px solid var(--line); }
.plat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: end; padding: 26px 0 32px; transition: opacity 0.3s; }
.plat + .plat { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.plat__label { grid-column: 1 / -1; font: 600 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plat b { font: 400 clamp(40px, 3.8vw, 70px)/0.85 var(--display); }
.plat__sub { font-size: 14px; color: var(--muted); padding-bottom: 6px; }
a.plat:hover b { color: var(--lime); }
.plat--scroll { display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- index list ---------- */
.index { position: relative; padding: clamp(100px, 16vh, 200px) var(--pad) clamp(80px, 12vh, 160px); }
.index__head { margin-bottom: clamp(40px, 6vw, 90px); }
.index__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.index__list a {
  display: grid; grid-template-columns: 4em minmax(0, 1.1fr) minmax(0, 1fr) 9.5em; align-items: center; gap: 20px;
  padding: clamp(18px, 2vw, 30px) 0; border-top: 1px solid var(--line); position: relative;
  transition: color 0.4s, padding 0.5s var(--ease);
}
.index__list a::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--accent); opacity: 0; transform: scaleY(0.6); transition: opacity 0.4s, transform 0.5s var(--ease); z-index: -1; }
.index__list .n { font: 500 13px/1 var(--mono); color: var(--muted); }
.index__list .t { font: 400 clamp(28px, 3.6vw, 68px)/0.95 var(--display); text-transform: uppercase; transition: transform 0.6s var(--ease); }
.index__list .g { font-size: clamp(14px, 1vw, 16px); line-height: 1.5; color: var(--muted); max-width: 440px; transition: color 0.4s; }
.index__list .p { justify-self: end; font: 600 11px/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 12px; border-radius: 99px; border: 1px solid var(--line); }
.index__list .is-ios .p { border-color: var(--pink); color: var(--pink); }
@media (hover: hover) {
  .index__list a:hover { color: var(--ink); }
  .index__list a:hover::before { opacity: 1; transform: none; }
  .index__list a:hover .t { transform: translateX(1.2vw); -webkit-text-stroke-color: var(--ink); }
  .index__list a:hover .n, .index__list a:hover .g { color: rgba(0, 0, 0, 0.7); }
  .index__list a:hover .p { border-color: rgba(0, 0, 0, 0.4); color: var(--ink); }
}
.index__preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: clamp(240px, 22vw, 420px); aspect-ratio: 16 / 10;
  border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity 0.35s, transform 0.5s var(--ease); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.index__preview img { width: 100%; height: 100%; object-fit: cover; }
.index__preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }

/* ---------- chapter headers ---------- */
.chapter { padding: clamp(60px, 10vh, 120px) var(--pad) clamp(40px, 6vh, 80px); }
.chapter__inner { display: grid; grid-template-columns: 1fr minmax(260px, 420px); align-items: end; gap: 16px 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.chapter__tag { grid-column: 1 / -1; font: 600 12px/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--lime); }
.chapter__tag--soon { color: var(--pink); }
.chapter__title { margin: 0; font: 400 clamp(60px, 10.5vw, 210px)/0.82 var(--display); text-transform: uppercase; letter-spacing: -0.015em; white-space: nowrap; }
.chapter__text { margin: 0 0 1.2vw; font-size: clamp(16px, 1.2vw, 19px); color: var(--muted); }

/* ---------- game sections (identical for all games) ---------- */
.game { position: relative; padding: clamp(70px, 12vh, 150px) var(--pad) 0; isolation: isolate; }
.game::before {
  content: ""; position: absolute; inset: 0 0 -20vh; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 32%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 70%);
}
.game__bar { display: flex; align-items: baseline; gap: 12px 28px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.game__num { font: 400 clamp(34px, 3vw, 56px)/0.8 var(--display); color: var(--accent); }
.game__num small { font-size: 0.42em; color: var(--muted); margin-left: 4px; }
.game__genre { font: 600 13px/1.3 var(--body); letter-spacing: 0.22em; text-transform: uppercase; }
.game__tag { margin-left: auto; padding: 8px 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent); font: 600 11px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }

.game__stage {
  position: relative; overflow: hidden; aspect-ratio: 2 / 1; border-radius: var(--radius);
  background: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 0 60px 140px -60px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateZ(0);
}
.game__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - var(--p, 0) * 0.14)); will-change: transform; }
.game__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 62%), linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 50%); }
/* every logo sits in the same box, bottom left */
.game__logo {
  position: absolute; left: clamp(20px, 3.4vw, 64px); bottom: clamp(20px, 3.4vw, 64px); margin: 0;
  width: clamp(170px, 24vw, 460px); height: clamp(80px, 11vw, 210px); object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}
.game__logo--type {
  display: flex; align-items: flex-end; width: auto; height: auto;
  font: 400 clamp(40px, 5vw, 96px)/0.84 var(--display); text-transform: uppercase; color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.game__info { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px clamp(32px, 6vw, 120px); padding: clamp(36px, 4.4vw, 72px) 0 clamp(28px, 3vw, 48px); }
.game__lead { margin: 0; font: 500 clamp(22px, 2.1vw, 38px)/1.2 var(--body); letter-spacing: -0.02em; }
.game__text p { margin: 0 0 26px; font-size: clamp(15px, 1.1vw, 17px); color: rgba(244, 244, 240, 0.72); }
.meta { margin: 0 0 30px; border-top: 1px solid var(--line); }
.meta div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; text-align: right; }
.pill--disabled { border: 1px dashed rgba(255, 255, 255, 0.35); color: var(--muted); cursor: default; }
.pill--disabled:hover { transform: none; }
.game__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* screenshots: compact grid, never wider than the content, nothing gets clipped */
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 0.9vw, 14px); }
.shots--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); } /* Hollow Light: ein Shot pro Level */
.shots button {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px;
  background: var(--ink-2); box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.shots img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.9); transition: transform 0.8s var(--ease), filter 0.4s; }
.shots button::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.35)); opacity: 1; transition: opacity 0.4s; }
.shots button:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -18px var(--accent); }
.shots button:hover img { transform: scale(1.07); filter: none; }
.shots button:hover::after { opacity: 0; }

/* ---------- iOS chapter ---------- */
.chapter--ios { padding-top: clamp(140px, 22vh, 260px); }

/* ---------- studio ---------- */
.studio { padding: clamp(100px, 16vh, 200px) var(--pad) clamp(80px, 12vh, 140px); }
.studio__inner { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 130px); border-radius: var(--radius); background: var(--lime); color: var(--ink); }
.studio__mark { position: absolute; right: -4%; top: 50%; width: min(46%, 640px); height: auto; transform: translateY(-50%) rotate(-8deg); opacity: 0.1; filter: brightness(0); pointer-events: none; }
.studio h2 { position: relative; margin: 24px 0 clamp(32px, 4vw, 64px); font: 400 clamp(40px, 5.6vw, 112px)/0.9 var(--display); text-transform: uppercase; }
.studio__row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 60px; flex-wrap: wrap; }
.studio__row p { max-width: 640px; margin: 0; font-size: clamp(16px, 1.3vw, 20px); color: rgba(10, 10, 10, 0.8); }

/* ---------- footer ---------- */
.foot { padding: clamp(50px, 7vh, 90px) var(--pad) max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
.foot__brand img { height: clamp(30px, 3vw, 48px); width: auto; }
.foot__cols { display: flex; gap: clamp(32px, 6vw, 110px); flex-wrap: wrap; }
.foot__label { margin: 0 0 16px; font: 600 11px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot__cols a { transition: color 0.25s; }
.foot__cols a:hover { color: var(--lime); }
.soon-tag { margin-left: 6px; padding: 3px 7px; border-radius: 99px; border: 1px solid var(--pink); color: var(--pink); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.foot__copy { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: rgba(244, 244, 240, 0.42); }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 5, 5, 0.95); color: var(--text); }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.35s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { width: min(84vw, 1700px); }
.lightbox__stage img, .lightbox__stage video { width: 100%; max-height: 84dvh; object-fit: contain; border-radius: 16px; animation: zoom 0.5s var(--ease); }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); transition: background-color 0.25s, color 0.25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--lime); color: var(--ink); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: max(20px, env(safe-area-inset-top)); right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; margin: 0; font: 500 13px/1 var(--mono); color: var(--muted); }
.lightbox.single .lightbox__nav, .lightbox.single .lightbox__count { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { opacity: 0; transform: scale(0.96); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .snd { margin-left: auto; }
  .index__list a { grid-template-columns: 2.6em 1fr auto; row-gap: 8px; }
  .index__list .n { grid-row: 1 / 3; align-self: start; padding-top: 0.5em; }
  .index__list .p { grid-row: 1 / 3; }
  .index__list .g { grid-column: 2; grid-row: 2; font-size: 14px; }
  .game__info { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chapter__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top { gap: 14px; }
  .top__nav { display: none; }
  .snd { margin-left: auto; height: 36px; padding: 0 12px; }
  .snd__label { display: none; }
  .top .pill--sm { height: 36px; padding: 0 14px; font-size: 12px; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(54px, 17vw, 120px); }
  .hero__cta { width: 100%; }
  .hero__cta .pill { flex: 1 1 auto; justify-content: center; height: 54px; padding: 0 20px; font-size: 15px; }
  .hero__platforms { grid-template-columns: 1fr 1fr; }
  .index__list a { grid-template-columns: 2em 1fr; }
  .index__list .p { grid-column: 2; grid-row: 3; justify-self: start; padding: 7px 10px; }
  .index__list .n { grid-row: 1 / 4; }
  .plat { grid-template-columns: 1fr; }
  .plat__sub { font-size: 12px; }
  .plat--scroll { display: none; }
  .chapter__title { font-size: 19vw; white-space: normal; }
  .game__bar { flex-wrap: wrap; }
  .game__tag { margin-left: 0; }
  .game__stage { aspect-ratio: 4 / 5; }
  .game__logo { width: 70%; height: 22%; }
  .game__logo--type { font-size: 12vw; }
  .game__text .pill { width: 100%; justify-content: center; }
  .foot__top { flex-direction: column; }
  .lightbox__stage { width: 94vw; }
  .lightbox__nav { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); translate: none; }
  .lightbox__count { bottom: 38px; }
}

/* small phones */
@media (max-width: 760px) {
  .game__text .pill { white-space: normal; height: auto; min-height: 54px; padding: 14px 22px; text-align: center; line-height: 1.25; }
}
@media (max-width: 400px) {
  .top .pill--sm { display: none; }
  .studio h2 { font-size: 10.5vw; }
  .hero__lead { font-size: 16px; }
}
/* low viewports: phones in landscape, iPhone SE: keep the hero buttons on screen */
@media (max-height: 620px) and (orientation: landscape), (max-width: 360px) and (max-height: 640px) {
  .hero { min-height: auto; padding-top: 88px; }
  .hero__title { font-size: clamp(40px, 14vh, 96px); margin: 12px 0 18px; }
  .hero__lead { font-size: 15px; }
  .hero__cta .pill { height: 48px; }
  .hero__platforms { margin-top: 22px; }
  .plat { padding: 14px 0 18px; }
}
@media (max-width: 360px) and (max-height: 640px) {
  .hero__title { font-size: 15vw; }
  .hero__lead { font-size: 14.5px; line-height: 1.45; }
  .hero__row { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .grain, .live, .mouse::after, .snd.on .snd__bars i { animation: none; }
  .game__stage video { transform: none; }
}
