/* idolmanager.net: one stylesheet, two themes (body.theme-vv dark neon, body.theme-im bright stage). */

@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-latin.woff2?v=2e9420db49") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2?v=20fc9b6fc6") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

.theme-vv {
  color-scheme: dark;
  --bg: #0c0716;
  --bg-2: #130a22;
  --ink: #f7f0ff;
  --ink-soft: #b7a8cf;
  --ink-faint: #7d6f96;
  --line: rgba(214, 190, 255, .14);
  --accent: #ff5d9e;
  --accent-2: #b89cff;
  --accent-3: #7cc8ff;
  --accent-ink: #fff;
  --key-top: #ff7cb4;
  --key-bottom: #ff4791;
  --key-side: #a8205f;
  --key-glow: rgba(255, 77, 148, .45);
  --grad: linear-gradient(92deg, #ff6fa8 0%, #d39bff 50%, #8fd0ff 100%);
  --frame-glow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px -20px rgba(255, 70, 150, .35), 0 0 120px -30px rgba(120, 190, 255, .35);
  --nav-bg: rgba(12, 7, 22, .72);
}

.theme-im {
  color-scheme: light;
  --bg: #f6f3ff;
  --bg-2: #ece6ff;
  --ink: #26204d;
  --ink-soft: #625a8f;
  --ink-faint: #958dbb;
  --line: rgba(60, 40, 140, .12);
  --accent: #ff4f9a;
  --accent-2: #8a5cff;
  --accent-3: #3f7bff;
  --accent-ink: #fff;
  --key-top: #ff73b0;
  --key-bottom: #f2408c;
  --key-side: #b51f63;
  --key-glow: rgba(242, 64, 140, .35);
  --grad: linear-gradient(92deg, #ffab3d 0%, #ff4f9a 35%, #a64dff 68%, #3f7bff 100%);
  --frame-glow: 0 0 0 1px rgba(60, 40, 140, .08), 0 30px 70px -25px rgba(70, 50, 170, .35);
  --nav-bg: rgba(246, 243, 255, .8);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-3);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 800; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Keys (buttons): squared two-tone, glossy, pressable ---------- */

.key {
  --side: 5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.5em .78em;
  border: 0;
  border-radius: var(--radius-sm);
  font: 800 1.08rem/1.1 var(--font-display);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  color: var(--accent-ink);
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom));
  box-shadow: 0 var(--side) 0 var(--key-side), 0 calc(var(--side) + 10px) 28px -6px var(--key-glow);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), filter .2s;
  isolation: isolate;
}
/* gloss band */
.key::before {
  content: "";
  position: absolute;
  inset: 3px 6px auto;
  height: 42%;
  border-radius: 9px 9px 14px 14px / 9px 9px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .06));
  pointer-events: none;
  z-index: -1;
}
.key:hover { transform: translateY(-2px); --side: 7px; filter: saturate(1.08) brightness(1.04); }
.key:active { transform: translateY(4px); --side: 1px; transition-duration: .05s; }
.key .icon { width: 1.3em; height: 1.3em; }

.key--lg { font-size: clamp(1.1rem, 1.6vw, 1.3rem); padding: .9em 1.7em .86em; }
.key--sm { font-size: .95rem; padding: .62em 1.05em .58em; --side: 4px; }
.key--sm:hover { --side: 5px; }

.key--ghost {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28), 0 var(--side) 0 rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: none;
}
.key--ghost::before { opacity: .35; }
.theme-im .key--ghost {
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #f1edff);
  box-shadow: inset 0 0 0 1.5px rgba(60, 40, 140, .16), 0 var(--side) 0 #cfc6f2;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
  width: min(1400px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.nav.is-solid {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 1.12rem/1 var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.wordmark svg { width: 18px; height: 18px; color: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.nav.is-solid .wordmark,
.theme-im .wordmark { color: var(--ink); text-shadow: none; }

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: block;
  white-space: nowrap;
  padding: 8px 14px;
  font: 700 .98rem/1 var(--font-display);
  text-decoration: none;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.nav.is-solid .nav__links a,
.theme-im .nav__links a { color: var(--ink-soft); }
.nav.is-solid .nav__links a:hover,
.nav.is-solid .nav__links a[aria-current="page"],
.theme-im .nav__links a:hover,
.theme-im .nav__links a[aria-current="page"] { color: var(--ink); }

.nav__cta {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.nav.is-solid .nav__cta { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 640px) {
  .nav__inner { gap: 10px; height: 58px; }
  .wordmark { display: none; }
  .nav__links { margin: 0 auto 0 -14px; }
  .nav__links a { padding: 8px 12px; font-size: .95rem; }
  .nav__cta { font-size: .85rem; margin-left: auto; }
  .nav__cta-long { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform-origin: 50% 30%;
  animation: hero-in 2.4s var(--ease-out) both;
}
@keyframes hero-in {
  from { transform: scale(1.12); filter: brightness(.4) saturate(.7); }
  to { transform: scale(1.02); filter: none; }
}
/* gentle scroll parallax where scroll-driven animations exist */
@supports (animation-timeline: scroll()) {
  .hero__art {
    animation: hero-drift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-drift { to { transform: translateY(18vh); } }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.theme-vv .hero__shade {
  background:
    linear-gradient(180deg, rgba(12, 7, 22, .55) 0%, rgba(12, 7, 22, 0) 18%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12, 7, 22, .86) 22%, rgba(12, 7, 22, 0) 58%),
    radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(12, 7, 22, .55) 100%);
}
/* faint CRT scanlines: it's a stream, after all */
.theme-vv .hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.theme-im .hero__shade {
  background:
    linear-gradient(180deg, rgba(246, 243, 255, .7) 0%, rgba(246, 243, 255, 0) 14%),
    linear-gradient(0deg, var(--bg) 0%, rgba(246, 243, 255, .9) 20%, rgba(246, 243, 255, 0) 52%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 120px var(--gutter) clamp(48px, 9vh, 96px);
  text-align: center;
}

.hero__logo {
  position: relative;
  width: min(560px, 84vw);
  aspect-ratio: 1480 / 900;
  animation: logo-in 1.4s .25s var(--ease-spring) both;
}
.hero__logo img,
.hero__logo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero__logo video { pointer-events: none; }
.hero__logo .logo-intro.is-leaving { opacity: 0; transition: opacity 1s; }
/* The intro's frame is wider than the logo's (its cables swing out for a second): same centre,
   1948x888 against the logo's 1480x900, so it overflows the box sideways. */
.hero__logo .logo-intro { inset: 0 auto auto -15.81%; width: 131.62%; max-width: none; height: 98.67%; object-fit: fill; }
/* With html.anim the intro is the entrance, so the static logo waits. site.js (.js-owned) brings it
   back as the fallback; if site.js never runs, it reveals itself after 4 s. */
.anim .hero__logo[data-video] { animation: none; }
.anim .hero__logo[data-video] > img { opacity: 0; transition: opacity .5s; animation: logo-safety .5s 4s forwards; }
.anim .hero__logo[data-video].js-owned > img { animation: none; }
.anim .hero__logo[data-video].is-static > img { opacity: 1; }
@keyframes logo-safety { to { opacity: 1; } }
.theme-im .hero__logo {
  width: min(640px, 90vw);
  aspect-ratio: 1260 / 380;
  margin: 0 0 12px;
  filter: drop-shadow(0 6px 24px rgba(255, 255, 255, .9));
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(24px) scale(.92); }
  to { opacity: 1; transform: none; }
}

.hero__tagline {
  margin: 0;
  font: 800 clamp(1.35rem, 2.6vw, 2rem)/1.15 var(--font-display);
  letter-spacing: .005em;
  animation: rise .9s .7s var(--ease-out) both;
}
.theme-vv .hero__tagline { text-shadow: 0 0 24px rgba(255, 93, 158, .55), 0 2px 0 rgba(0, 0, 0, .3); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -6px 0 6px;
  font: 800 .8rem/1.4 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: rise .9s .8s var(--ease-out) both;
}
.hero__meta b { color: var(--accent); font-weight: 900; }
.hero__meta > span { white-space: nowrap; }
.hero__meta > span + span::before { content: "·"; margin: 0 .7em; opacity: .5; }
@media (max-width: 480px) {
  .hero__meta { flex-direction: column; align-items: center; gap: 2px; }
  .hero__meta > span + span::before { content: none; }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 14px;
  animation: rise .9s .9s var(--ease-out) both;
}

.hero__also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  margin-top: 4px;
  font: 800 .78rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  animation: rise .9s 1s var(--ease-out) both;
}
.hero__also a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .2s;
}
.hero__also a:hover { color: var(--accent); }

/* Wide landscape: logo column on the left, character on the right. */
@media (min-aspect-ratio: 3/2) and (min-width: 1000px) {
  .hero { align-items: center; }
  .hero__content {
    align-items: flex-start;
    width: min(54vw, 900px);
    padding: 100px 0 64px max(var(--gutter), (100vw - 1400px) / 2);
    text-align: left;
  }
  .hero__logo { width: min(620px, 33vw); margin: 0 0 4px -1.5%; }
  .theme-im .hero__logo { width: min(680px, 37vw); margin: 0 0 18px -1%; }
  .hero__actions, .hero__also, .hero__meta { justify-content: flex-start; }
  .hero__art img { object-position: 26% 20%; }
  .theme-vv .hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 7, 22, .82) 0%, rgba(12, 7, 22, .5) 30%, rgba(12, 7, 22, 0) 55%),
      linear-gradient(180deg, rgba(12, 7, 22, .5) 0%, rgba(12, 7, 22, 0) 16%),
      linear-gradient(0deg, var(--bg) 0%, rgba(12, 7, 22, 0) 26%);
  }
  .theme-im .hero__shade {
    background:
      linear-gradient(90deg, rgba(246, 243, 255, .9) 0%, rgba(246, 243, 255, .55) 30%, rgba(246, 243, 255, 0) 55%),
      linear-gradient(180deg, rgba(246, 243, 255, .7) 0%, rgba(246, 243, 255, 0) 14%),
      linear-gradient(0deg, var(--bg) 0%, rgba(246, 243, 255, 0) 24%);
  }
}
@media (min-aspect-ratio: 3/2) and (max-aspect-ratio: 17/10) and (min-width: 1000px) {
  .hero__art img { object-position: 31% 20%; }
}

/* Portrait phones: art in the top two thirds, title block below it on solid ground. */
@media (max-aspect-ratio: 4/5) {
  .hero__art { bottom: auto; height: 66%; }
  .hero__art img { object-position: 50% 12%; }
  .theme-vv .hero__shade {
    background:
      linear-gradient(180deg, rgba(12, 7, 22, .55) 0%, rgba(12, 7, 22, 0) 14%),
      linear-gradient(0deg, var(--bg) 0%, var(--bg) 36%, rgba(12, 7, 22, .7) 48%, rgba(12, 7, 22, 0) 64%);
  }
  /* The original's key art is a close-up: show its full height in a squarer, shorter area so she
     isn't cropped to just her eyes, fading into the page instead of under a shade. */
  .theme-im .hero__art {
    height: 50%;
    -webkit-mask-image: linear-gradient(#000 66%, transparent);
    mask-image: linear-gradient(#000 66%, transparent);
  }
  .theme-im .hero__art img { object-position: 50% 0%; }
  .theme-im .hero__shade {
    background: linear-gradient(180deg, rgba(246, 243, 255, .75) 0%, rgba(246, 243, 255, 0) 10%);
  }
  .hero__content { gap: 14px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* floating hearts / notes / sparkles */
.floaters {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.floater {
  position: absolute;
  bottom: -40px;
  width: var(--s);
  height: var(--s);
  color: var(--c);
  opacity: 0;
  filter: drop-shadow(0 0 6px var(--c));
  animation: float var(--d) var(--delay) linear infinite;
}
@keyframes float {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  10% { opacity: var(--o); }
  85% { opacity: var(--o); }
  100% { opacity: 0; transform: translate(var(--dx), -105vh) rotate(var(--r)); }
}
.theme-im .floater {
  bottom: auto;
  top: var(--y);
  filter: drop-shadow(0 0 4px #fff);
  animation: twinkle var(--d) var(--delay) ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0); }
  50% { opacity: var(--o); transform: scale(1) rotate(45deg); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 112px) 0; position: relative; }
.section--tight { padding-top: 0; }

.eyebrow {
  display: block;
  margin: 0 0 14px;
  font: 900 .78rem/1 var(--font-body);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.title {
  margin: 0;
  font: 800 clamp(2rem, 4.6vw, 3.4rem)/1.04 var(--font-display);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Trailer ---------- */

.trailer {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.theme-vv .trailer::before {
  /* neon halo behind the frame */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--grad);
  filter: blur(28px);
  opacity: .45;
  z-index: -1;
}
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--frame-glow);
}
.theme-vv .player { outline: 2px solid rgba(255, 255, 255, .12); outline-offset: -2px; }
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player__facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.player__facade:focus-visible { outline-offset: -6px; }
.player__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .4s;
}
.player__facade:hover img { transform: scale(1.03); filter: brightness(.86); }
.player__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  border-radius: 28%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom));
  box-shadow: 0 6px 0 var(--key-side), 0 18px 40px -6px var(--key-glow), 0 0 0 10px rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.player__btn svg { width: 38%; height: 38%; fill: currentColor; }
.player__facade:hover .player__btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 7px 0 var(--key-side), 0 22px 50px -6px var(--key-glow), 0 0 0 16px rgba(255, 255, 255, .14); }
.player__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 24px 18px;
  font: 800 .8rem/1 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent);
}

/* ---------- Statement ---------- */

.statement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.statement .title { font-size: clamp(2.1rem, 5vw, 3.9rem); }
.statement .lede { margin: 0; }
@media (max-width: 820px) {
  .statement { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Screenshots ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(36px, 5vw, 64px);
}
.shots--feature > :first-child { grid-column: span 2; grid-row: span 2; }
.shot {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  cursor: zoom-in;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.shots--feature > :first-child { aspect-ratio: auto; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.shot:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent), 0 24px 50px -18px var(--key-glow); }
.shot:hover img { transform: scale(1.045); }
.shot__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  font: 900 .72rem/1.2 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 5, 20, .78), transparent);
  opacity: .92;
}
@media (max-width: 720px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .shots--feature > :first-child { grid-row: auto; aspect-ratio: 16 / 9; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(8, 4, 16, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease both; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; place-items: center; }
.lightbox img {
  max-width: min(100vw - 172px, 1920px);
  max-height: 86vh;
  max-height: 86dvh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: pop .3s var(--ease-out) both;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption {
  margin-top: 14px;
  font: 800 .75rem/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease-spring);
}
.lb-btn:hover { background: var(--accent); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 720px) {
  .lightbox img { max-width: 94vw; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: scale(1.06); }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Call to action band ---------- */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.cta__card {
  width: clamp(200px, 24vw, 300px);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -30px var(--key-glow), 0 0 80px -20px rgba(124, 200, 255, .35);
  transition: transform .6s var(--ease-spring);
}
.cta__card:hover { transform: rotate(-1deg) scale(1.03); }
.cta__card img { width: 100%; height: 100%; object-fit: cover; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 15% 50%, rgba(255, 93, 158, .2), transparent 70%),
    radial-gradient(50% 60% at 85% 40%, rgba(124, 200, 255, .14), transparent 70%);
}
@media (max-width: 720px) {
  .cta__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cta__inner .lede { margin-inline: auto; }
  .cta__actions { justify-content: center; }
  .cta__card { width: min(240px, 60vw); }
}

.socials {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: color .2s, background .2s, transform .25s var(--ease-spring), box-shadow .2s;
}
.socials a:hover { color: #fff; background: var(--accent); box-shadow: none; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Cross-promo to the other game ---------- */

.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 340px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  box-shadow: var(--frame-glow);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.promo:hover { transform: translateY(-4px); }
.promo__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.promo__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 1.2s var(--ease-out);
}
.promo:hover .promo__art img { transform: scale(1.04); }
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.promo--im::before { background: linear-gradient(90deg, rgba(246, 243, 255, .96) 0%, rgba(246, 243, 255, .82) 38%, rgba(246, 243, 255, 0) 70%); }
.promo--vv::before { background: linear-gradient(90deg, rgba(12, 7, 22, .95) 0%, rgba(12, 7, 22, .78) 40%, rgba(12, 7, 22, 0) 72%); }
.promo__body { padding: clamp(28px, 4vw, 56px); }
.promo__logo { width: min(320px, 100%); margin: 10px 0 18px; }
.promo--im .promo__logo { width: min(380px, 100%); }
.promo--im .promo__logo { filter: drop-shadow(0 4px 14px rgba(255, 255, 255, .9)); }
.promo__meta {
  margin: 0 0 22px;
  font: 800 .8rem/1.5 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.promo--im { color: #26204d; }
.promo--im .promo__meta { color: #625a8f; }
.promo--vv { color: #f7f0ff; }
.promo--vv .promo__meta { color: #c7b9de; }
.promo .eyebrow { margin-bottom: 4px; }
.promo--im .eyebrow { color: #f2408c; }
.promo--vv .eyebrow { color: #ff6fa8; }
.promo__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.05rem/1 var(--font-display);
}
.promo__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-spring); }
.promo:hover .promo__go svg { transform: translateX(6px); }
@media (max-width: 720px) {
  .promo { grid-template-columns: 1fr; min-height: 0; }
  /* art in the top of the card, face clear of the text */
  .promo__art { bottom: auto; height: 340px; }
  .promo__art img { object-position: 50% 8%; }
  .promo--im { background: #f6f3ff; }
  .promo--vv { background: #0c0716; }
  .promo--im::before { background: linear-gradient(180deg, rgba(246, 243, 255, 0) 190px, #f6f3ff 340px); }
  .promo--vv::before { background: linear-gradient(180deg, rgba(12, 7, 22, 0) 190px, #0c0716 340px); }
  .promo__body { padding-top: 280px; }
}

/* ---------- Press kit ---------- */

.pk-hub { padding-top: 140px; }
.pk-hub__cards { display: grid; gap: 24px; margin-top: 40px; }

.pk-head {
  position: relative;
  padding: 132px 0 48px;
  overflow: hidden;
  isolation: isolate;
}
.pk-head__art { position: absolute; inset: 0; z-index: -2; }
.pk-head__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pk-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.theme-vv .pk-head::after { background: linear-gradient(90deg, rgba(12, 7, 22, .92) 0%, rgba(12, 7, 22, .6) 45%, rgba(12, 7, 22, .2) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.theme-im .pk-head::after { background: linear-gradient(90deg, rgba(246, 243, 255, .95) 0%, rgba(246, 243, 255, .7) 45%, rgba(246, 243, 255, .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.pk-head__logo { width: min(380px, 72vw); margin: 0 0 18px; }
.theme-im .pk-head__logo { filter: drop-shadow(0 4px 14px rgba(255, 255, 255, .9)); }
.pk-head .title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pk-head .lede { margin-top: 12px; }
.pk-actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 28px; }

.pk-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: 40px 0 clamp(64px, 8vw, 112px);
}
.pk-toc { margin: 0 0 28px; padding: 0; list-style: none; }
.pk-toc a {
  display: block;
  padding: 5px 0;
  font: 700 .95rem/1.3 var(--font-display);
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s, transform .2s var(--ease-out);
}
.pk-toc a:hover { color: var(--accent); transform: translateX(3px); }

.facts { margin: 0; padding: 22px 22px 6px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.theme-vv .facts { background: rgba(255, 255, 255, .03); }
.theme-im .facts { background: #fff; }
.facts dt {
  font: 900 .7rem/1.2 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.facts dd { margin: 4px 0 16px; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.facts a { color: var(--accent); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

.pk-body > section { padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.pk-body > section:last-child { border-bottom: 0; margin-bottom: 0; }
.pk-body h2 { margin: 0 0 16px; font: 800 clamp(1.5rem, 2.6vw, 1.9rem)/1.15 var(--font-display); }
.pk-body p { margin: 0 0 14px; max-width: 46em; color: var(--ink-soft); }
.pk-body p.pk-pitch { font: 800 clamp(1.1rem, 1.8vw, 1.3rem)/1.4 var(--font-display); color: var(--ink); }
.pk-body strong { color: var(--ink); font-weight: 800; }

.pk-list { margin: 0; padding: 0; list-style: none; max-width: 46em; }
.pk-list li { position: relative; padding: 0 0 10px 26px; color: var(--ink-soft); }
.pk-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}

.pk-timeline { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 22px 0 0; max-width: 46em; }
.pk-timeline dt { font: 900 .78rem/1.6 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.pk-timeline dd { margin: 0; color: var(--ink-soft); }

.pk-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pk-video { display: block; text-decoration: none; color: var(--ink); }
.pk-video__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--line);
}
.pk-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .3s; }
.pk-video__thumb svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  padding: 15px 13px 15px 17px;
  border-radius: 14px;
  transform: translate(-50%, -50%);
  fill: #fff;
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom));
  box-shadow: 0 4px 0 var(--key-side);
}
.pk-video:hover img { transform: scale(1.04); filter: brightness(.85); }
.pk-video__title { display: block; margin-top: 10px; font: 700 1rem/1.3 var(--font-display); }
.pk-video__meta { display: block; font-size: .85rem; color: var(--ink-faint); }

.pk-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pk-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.dl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 800 .92rem/1 var(--font-display);
  color: var(--accent);
  text-decoration: none;
}
.dl-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dl-link:hover { text-decoration: underline; }

.pk-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pk-file { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.theme-im .pk-file { background: #fff; }
.pk-file__preview { display: grid; place-items: center; height: 180px; padding: 14px; background: var(--bg-2); }
.pk-file__preview img { max-height: 100%; width: auto; object-fit: contain; border-radius: 6px; }
.pk-file__preview--logo { background: repeating-conic-gradient(rgba(127, 127, 127, .14) 0 25%, transparent 0 50%) 0 0 / 18px 18px, var(--bg-2); }
.pk-file figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; }
.pk-file b { display: block; font: 800 .95rem/1.2 var(--font-display); }
.pk-file small { color: var(--ink-faint); font-size: .8rem; }

.pk-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 24px; margin: 0; }
.pk-team div { margin: 0; }
.pk-team dt { font: 800 1.02rem/1.3 var(--font-display); color: var(--ink); }
.pk-team dd { margin: 2px 0 0; font-size: .9rem; color: var(--ink-soft); }
.pk-team a { color: var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-toc { display: none; }
  .facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); column-gap: 20px; }
  .pk-shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pk-timeline { grid-template-columns: 1fr; gap: 2px; }
  .pk-timeline dd { margin-bottom: 12px; }
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-faint);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer p { margin: 0; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__credits b { color: var(--ink-soft); font-weight: 800; }

/* ---------- Scroll reveal (only when JS is on) ---------- */

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

/* ---------- Reduced motion ---------- */

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