:root {
  --studio-bg: #09090b;
  --studio-bg-2: #101012;
  --studio-surface: #161618;
  --studio-text: #f3efe6;
  --studio-muted: #9a958c;
  --studio-faint: #6e6a63;
  --studio-line: rgba(243, 239, 230, 0.1);
  --studio-line-strong: rgba(243, 239, 230, 0.2);
  --studio-accent: #d7c4a3;
  --studio-overlay: rgba(9, 9, 11, 0.62);
  --game-accent: var(--studio-accent);
  --nav-h: 4.5rem;
  --pad: clamp(1.1rem, 3.8vw, 3.25rem);
  --max: 64rem;
  --max-wide: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --radius: 2px;
  --btn-h: 2.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--studio-bg);
  color-scheme: dark;
  overflow-x: clip;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--studio-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--studio-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--studio-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--studio-text);
  color: var(--studio-bg);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav.is-scrolled {
  background: rgba(9, 9, 11, 0.88);
  border-bottom-color: var(--studio-line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.brand-mark {
  height: 3.65rem;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.12;
  text-transform: uppercase;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.75rem);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  position: relative;
  z-index: 41;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.lang-switch button {
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--studio-muted);
  background: transparent;
  border: 0;
  padding: 0.2rem 0.15rem;
  min-height: 44px;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.lang-switch button:hover,
.lang-switch button.is-active {
  color: var(--studio-text);
}

.lang-switch span {
  color: var(--studio-faint);
  font-size: 0.62rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.5vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--studio-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--studio-accent);
  border-bottom-color: var(--studio-accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--studio-text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--studio-text);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #050506;
}

.hero-media img,
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

.hero-video {
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.35) 0%, rgba(9, 9, 11, 0.2) 40%, rgba(9, 9, 11, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(9, 9, 11, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) var(--pad) 4.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--studio-accent);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
}

.hero-logo {
  width: clamp(11.5rem, 24vw, 17.5rem);
  height: auto;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--studio-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-h);
  padding: 0 0.95rem;
  border: 1px solid var(--studio-line-strong);
  background: transparent;
  color: var(--studio-text);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.link-cta:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.link-cta svg {
  width: 13px;
  height: 13px;
}

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 1.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--studio-muted);
}

.scroll-hint i {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--studio-accent), transparent);
  animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Sections */

.section {
  position: relative;
  padding: clamp(3rem, 6.5vw, 5.25rem) var(--pad);
}

.section-inner {
  width: min(100%, var(--max-wide));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem);
  max-width: 36rem;
}

.section-index {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--studio-faint);
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0;
  color: var(--studio-muted);
  max-width: 36rem;
}

/* Games */

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.game-card {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #101012;
  border: 1px solid var(--studio-line);
  isolation: isolate;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.game-card:hover {
  border-color: var(--studio-accent);
  transform: translateY(-2px);
}

.game-card.is-placeholder {
  border-style: dashed;
}

.game-card-media {
  position: relative;
  z-index: 0;
  aspect-ratio: 1024 / 586;
  overflow: hidden;
  background: #050506;
  flex: 0 0 auto;
}

.game-card-media.is-mystery img {
  filter: blur(22px) saturate(1.15);
  transform: scale(1.22);
  transform-origin: center;
}

.game-card-mystery-mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--studio-text);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.game-card.is-featured .game-card-media img {
  object-fit: contain;
}

.game-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.12);
}

.game-card.is-placeholder .game-card-media::after {
  background: rgba(9, 9, 11, 0.28);
}

.game-card.is-featured .game-card-media::after {
  display: none;
}

.game-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.15rem 1.2rem;
  gap: 0.55rem;
}

.game-card-logo {
  width: min(68%, 14rem);
  height: auto;
  margin: 0 0 0.45rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.game-card-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent, var(--studio-accent));
  background: rgba(243, 239, 230, 0.06);
  border: 1px solid rgba(243, 239, 230, 0.14);
  white-space: nowrap;
}

.game-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  min-height: 1.38rem;
  letter-spacing: -0.02em;
}

.game-card p {
  margin: 0;
  flex: 1 1 auto;
  color: var(--studio-text);
  max-width: none;
  font-size: 0.92rem;
  line-height: 1.5;
}

.game-card .link-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Featured */

.featured {
  padding-left: 0;
  padding-right: 0;
}

.featured .section-inner {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.featured-stage {
  position: relative;
  width: min(calc(100% - 2 * var(--pad)), var(--max-wide));
  margin: 0 auto;
  min-height: 0;
  aspect-ratio: 920 / 430;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050506;
}

.featured-stage img.featured-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.featured-logo {
  position: absolute;
  left: 8.5%;
  top: 50%;
  z-index: 2;
  height: 78%;
  width: auto;
  max-width: 42%;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.featured-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.08) 0%, rgba(9, 9, 11, 0.12) 48%, rgba(9, 9, 11, 0.62) 100%);
}

.featured-copy {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  padding: 2.25rem var(--pad);
}

.featured-panel {
  max-width: 28rem;
  padding: 1.2rem 1.3rem 1.35rem;
  background: rgba(9, 9, 11, 0.82);
  border: 1px solid var(--studio-line);
  backdrop-filter: blur(12px);
}

.featured-copy h3 {
  margin: 0.25rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.featured-copy p {
  margin: 0 0 1.05rem;
  color: var(--studio-text);
  font-size: 0.92rem;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.byline {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--studio-muted);
}

/* Trailer */

.trailer-block {
  width: min(100%, var(--max-wide));
  margin: 1.75rem auto 0;
  padding: 0 var(--pad);
}

.trailer-btn {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  color: var(--studio-text);
}

.trailer-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.88;
}

.trailer-btn:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.play-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.play-glyph span {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 239, 230, 0.55);
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.35);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.trailer-btn:hover .play-glyph span {
  transform: scale(1.06);
  border-color: var(--studio-text);
}

.play-glyph svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.trailer-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--studio-muted);
}

/* Gallery */

.gallery {
  position: relative;
  width: min(100%, var(--max-wide));
  margin: 1.5rem auto 0;
  padding: 0 calc(var(--pad) + 2.6rem);
}

.gallery-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
  padding: 0.15rem 0 0.35rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-item {
  flex: 0 0 min(42%, 17.5rem);
  min-width: 13.5rem;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--studio-line);
  background: var(--studio-surface);
  scroll-snap-align: start;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--studio-line-strong);
  background: rgba(9, 9, 11, 0.88);
  color: var(--studio-text);
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-nav svg {
  width: 18px;
  height: 18px;
}

.gallery-nav-prev {
  left: var(--pad);
}

.gallery-nav-prev svg {
  transform: rotate(180deg);
}

.gallery-nav-next {
  right: var(--pad);
}

.gallery-nav:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

/* News */

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.news-card {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--studio-line);
  background: var(--studio-bg-2);
  color: inherit;
  min-height: 6.75rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.news-card:hover {
  border-color: var(--studio-accent);
  background: var(--studio-surface);
  transform: translateY(-2px);
}

.news-card-media {
  position: relative;
  min-height: 6.75rem;
  overflow: hidden;
  background: var(--studio-surface);
}

.news-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.7rem 0.85rem 0.75rem;
  align-content: center;
}

.news-kicker,
.news-date {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--game-accent, var(--studio-accent));
}

.news-date {
  color: var(--studio-faint);
}

.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  margin: 0;
  color: var(--studio-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#news-preview {
  min-height: 8rem;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--studio-accent);
}

.news-more svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.news-actions {
  margin-top: 1.15rem;
}

.news-fallback,
.news-empty {
  color: var(--studio-muted);
}

.news-skel {
  min-height: 6.75rem;
  border: 1px solid var(--studio-line);
  background: linear-gradient(90deg, var(--studio-bg-2) 25%, var(--studio-surface) 50%, var(--studio-bg-2) 75%);
  background-size: 200% 100%;
  animation: skel 1.4s linear infinite;
}

@keyframes skel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Studio / Team / Contact */

.studio-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.studio-statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.team-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 0.55rem;
  width: min(100%, 18rem);
}

.team-photo {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.team-initials {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--studio-accent);
}

.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  min-height: 1.3em;
}

.team-card p {
  margin: 0;
  color: var(--studio-muted);
  font-size: 0.9rem;
  min-height: 1.35em;
}

.team-card a:not(.link-cta) {
  font-size: 0.82rem;
  color: var(--studio-muted);
}

.team-card a:not(.link-cta):hover {
  color: var(--studio-accent);
}

.team-apply {
  justify-self: start;
  min-height: 3.1rem;
  padding: 0 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--studio-text);
  border-color: var(--studio-text);
}

.team-apply:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.team-apply svg {
  width: 14px;
  height: 14px;
}

.team-photo-open {
  position: relative;
  background: #2a2a2d;
  color: #8a8680;
}

.team-photo-open svg {
  width: 46%;
  height: auto;
}

.team-photo-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: rgba(9, 9, 11, 0.5);
  font-family: var(--font-display);
  font-size: clamp(7.5rem, 32vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(243, 239, 230, 0.38);
  pointer-events: none;
  user-select: none;
}

.team-empty {
  padding: 2rem 0;
  color: var(--studio-muted);
  max-width: 32rem;
}

.careers-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--studio-line);
  background: var(--studio-bg-2);
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.careers-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.careers-field-wide {
  grid-column: 1 / -1;
}

.careers-field span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--studio-faint);
}

.careers-field input,
.careers-field select,
.careers-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  color: var(--studio-text);
  background: var(--studio-bg);
  border: 1px solid var(--studio-line);
  border-radius: var(--radius);
  outline: none;
}

.careers-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.careers-field input:focus,
.careers-field select:focus,
.careers-field textarea:focus {
  border-color: var(--studio-line-strong);
}

.careers-field input[type="file"] {
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
}

.careers-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.careers-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--studio-muted);
}

.careers-status.is-ok {
  color: var(--studio-accent);
}

.careers-status.is-error {
  color: #d7a3a3;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 6.5rem;
  padding: 1.1rem 1.15rem;
  background: #0c0c0e;
  border: 1px solid var(--studio-line);
  text-decoration: none;
  color: inherit;
}

.partner-card:hover {
  border-color: var(--studio-accent);
}

.partner-card img {
  width: 100%;
  max-height: 3.5rem;
  object-fit: contain;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.contact-list dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--studio-faint);
}

.contact-list dd {
  margin: 0.25rem 0 0;
}

.contact-list a:hover {
  color: var(--studio-accent);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--studio-muted);
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.social-row a:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

/* Footer */

.site-footer {
  padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid var(--studio-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--studio-faint);
}

.site-footer strong {
  color: var(--studio-muted);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Dialogs */

dialog {
  width: min(96vw, 72rem);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--studio-line-strong);
  background: var(--studio-bg);
  color: var(--studio-text);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--studio-line);
}

.dialog-bar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--studio-text);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.icon-btn:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.dialog-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.dialog-frame iframe,
.dialog-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-stage {
  position: relative;
  background: #000;
}

.lightbox-img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 4rem);
  object-fit: contain;
  background: #000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--studio-line-strong);
  background: rgba(9, 9, 11, 0.78);
  color: var(--studio-text);
  transform: translateY(-50%);
  cursor: pointer;
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav-prev {
  left: 0.75rem;
}

.lightbox-nav-prev svg {
  transform: rotate(180deg);
}

.lightbox-nav-next {
  right: 0.75rem;
}

.lightbox-nav:hover {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.archive-body {
  padding: 1rem;
  overflow: auto;
  max-height: calc(92vh - 4rem);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  min-height: var(--btn-h);
  padding: 0 0.9rem;
  border: 1px solid var(--studio-line);
  background: transparent;
  color: var(--studio-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.chip:hover,
.chip.is-active {
  color: var(--studio-bg);
  border-color: var(--studio-accent);
  background: var(--studio-accent);
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (max-width: 980px) {
  .news-layout,
  .studio-grid,
  .contact-grid,
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    display: flex;
  }

  .careers-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card.is-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--pad) 2rem;
    background: rgba(9, 9, 11, 0.97);
    border-top: 1px solid var(--studio-line);
    z-index: 39;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    width: 100%;
    font-size: 0.95rem;
    border-bottom: 0;
  }

  .brand-mark {
    height: 3.2rem;
  }

  .brand-name {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero-content {
    padding-bottom: 5.5rem;
  }

  .scroll-hint {
    left: var(--pad);
    right: auto;
    flex-direction: row;
  }

  .scroll-hint i {
    width: 2.5rem;
    height: 1px;
  }

  .games-grid,
  .news-layout,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 6.25rem 1fr;
    min-height: 5.75rem;
  }

  .news-card-media {
    min-height: 5.75rem;
  }

  .game-card {
    min-height: 0;
  }

  .featured-logo {
    left: 6.5%;
    height: 64%;
    max-width: 48%;
    top: 42%;
  }

  .featured-copy {
    padding: 1.1rem var(--pad) 1.25rem;
  }

  .gallery-item {
    flex-basis: 78%;
    min-width: 12.5rem;
  }

  dialog {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    border: 0;
  }

  .section {
    padding-block: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media video,
  .hero-video {
    display: none;
  }
}
