:root {
  --bg: #050508;
  --bg-2: #0a0a10;
  --ink: #f4f1ff;
  --muted: #a7a0c0;
  --line: rgba(167, 139, 250, 0.18);
  --purple: #a855f7;
  --violet: #7c3aed;
  --blue: #3b82f6;
  --cyan: #60a5fa;
  --gold: #f5d48a;
  --grad: linear-gradient(120deg, #c084fc 0%, #818cf8 48%, #38bdf8 100%);
  --glass: rgba(12, 10, 22, 0.62);
  --radius: 22px;
  --header: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  background: radial-gradient(1200px 800px at 50% -10%, #1a1033 0%, var(--bg) 58%);
  overflow-x: hidden;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button { cursor: none; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(168, 85, 247, 0.35); color: #fff; }

#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.haze {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(540px 540px at var(--mx, 50%) var(--my, 30%), rgba(124, 58, 237, 0.22), transparent 62%),
    radial-gradient(420px 420px at calc(var(--mx, 50%) + 12%) calc(var(--my, 30%) + 10%), rgba(37, 99, 235, 0.14), transparent 60%);
  mix-blend-mode: screen;
  transition: background 0.08s linear;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width 0.28s var(--ease), height 0.28s var(--ease), margin 0.28s var(--ease), background 0.28s var(--ease), opacity 0.3s;
  opacity: 0;
}
.cursor span {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}
.cursor.on { opacity: 1; }
.cursor.hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(255, 255, 255, 0.08);
}
.cursor.hover span { opacity: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 90;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* Intro curtains */
.intro {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}
.intro.active { pointer-events: auto; }
.curtain {
  position: absolute;
  top: 0;
  width: 52vw;
  height: 100%;
  background-color: #1a0b3a;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(10, 4, 28, 0.55) 0 10px,
      rgba(109, 40, 217, 0.15) 18px,
      rgba(37, 99, 235, 0.22) 28px,
      rgba(10, 4, 28, 0.5) 40px
    ),
    linear-gradient(
      90deg,
      #14082c 0%,
      #3b176b 8%,
      #7c3aed 14%,
      #2e1065 22%,
      #4f46e5 30%,
      #1e3a8a 40%,
      #6d28d9 50%,
      #172554 60%,
      #4338ca 70%,
      #2563eb 80%,
      #2e1065 90%,
      #0f172a 100%
    );
  background-size: 92px 100%, 280px 100%;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
}
.curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 24%, rgba(0, 0, 0, 0.38)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.25));
}
.curtain-left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  transform-origin: left center;
}
.curtain-right {
  right: 0;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: right center;
}
.intro-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.intro-center::before {
  content: "";
  position: absolute;
  width: min(720px, 80vw);
  height: min(520px, 70vh);
  background: radial-gradient(circle, rgba(5, 5, 12, 0.72), transparent 68%);
}
.intro-logo {
  width: min(520px, 72vw);
  filter: drop-shadow(0 20px 60px rgba(124, 58, 237, 0.45));
}
.intro-kicker {
  position: absolute;
  bottom: 11vh;
  margin: 0;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 11px;
  color: #d6d0f0;
}
.intro-skip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.82), rgba(5, 5, 8, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease), background 0.3s;
}
.site-header.hide { transform: translateY(-110%); }
.site-header.solid {
  background: rgba(5, 5, 8, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}
.brand img {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.45));
}
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}
.brand em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
.nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.header-cta { margin-left: 8px; }

.now-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5e6c4;
  border: 1px solid rgba(245, 212, 138, 0.28);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 212, 138, 0.06);
  white-space: nowrap;
}
.now-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5d48a;
  box-shadow: 0 0 0 0 rgba(245, 212, 138, 0.7);
  animation: pulse 2.2s infinite;
}

.cast {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cast-item img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(124, 58, 237, 0.25);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cast-item:hover img {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.4);
}

.now-playing { padding-top: 88px; }
.bill {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bill-card {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: 26px;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  text-align: center;
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.bill-card:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 28px 70px rgba(76, 29, 149, 0.28);
}
.bill-gold {
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(245, 212, 138, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.bill-gold:hover { border-color: rgba(245, 212, 138, 0.45); }
.bill-cyan {
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(34, 211, 238, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.bill-cyan:hover { border-color: rgba(34, 211, 238, 0.45); }
.bill-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #0b0614;
  font-weight: 700;
}
.soon-flag {
  background: transparent;
  color: #f5d48a;
  border: 1px solid rgba(245, 212, 138, 0.35);
}
.bill-logo {
  width: 84px;
  height: 84px;
  margin: 8px auto 16px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.bill-card h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.bill-card p { color: var(--muted); margin: 0 0 16px; min-height: 4.4em; }
.bill-card .platforms { justify-content: center; }
.bill-actions {
  display: grid;
  gap: 8px;
}
.bill-card .btn { width: 100%; }
.inline-site {
  color: #ddd6fe;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
  padding-bottom: 1px;
}
.inline-site:hover { color: #fff; }
.project-kicker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
}
.project-kicker a:hover { color: #fff; }
.project h3 a {
  color: inherit;
  text-decoration: none;
}
.project h3 a:hover { color: #ddd6fe; }
.bill-more {
  text-align: center;
  margin: 28px 0 0;
}
.bill-more a {
  color: #ddd6fe;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
  padding-bottom: 3px;
}
.project-gold {
  border-color: rgba(245, 212, 138, 0.22);
  background:
    radial-gradient(380px 160px at 0% 0%, rgba(245, 212, 138, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), top 0.3s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s, border-color 0.35s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #0b0614;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(124, 58, 237, 0.5); }
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35); }
/* "opening…" state: the button answers before the page does */
.btn-busy { pointer-events: none; opacity: 0.75; }
.btn-busy .btn-label::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid rgba(11, 6, 20, 0.4);
  border-top-color: #0b0614;
  animation: btn-spill 0.7s linear infinite;
  vertical-align: -2px;
}
.btn-busy .btn-label { animation: btn-pulse 1s ease-in-out infinite; }
@keyframes btn-spill { to { transform: rotate(360deg); } }
@keyframes btn-pulse { 50% { opacity: 0.6; } }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(196, 181, 253, 0.5); background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header) + 8px) 24px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(192, 132, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
}

.hero-logo {
  position: relative;
  width: min(400px, 68vw);
  margin: 0 auto 2px;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-logo img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 70px rgba(91, 33, 182, 0.4));
}
.logo-glow {
  position: absolute;
  inset: 18% 12% 22%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.45), rgba(37, 99, 235, 0.12) 55%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  50% { transform: scale(1.12); opacity: 0.8; }
}

.hero-title {
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(32px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 4px 0 14px;
  max-width: 100%;
}
.hero-title .line,
.hero-title .line2 { display: inline; }
.hero-title .grad { display: block; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.scroll-hint {
  display: none;
  position: absolute;
  bottom: 28px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(#a855f7, transparent);
  animation: drop 1.8s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  40% { transform: scaleY(1); transform-origin: top; }
  41% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: #c4b5fd;
}
.ticker-track span { position: relative; }
.ticker-track span::before {
  content: "✦";
  margin-right: 48px;
  color: #60a5fa;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section {
  position: relative;
  z-index: 3;
  padding: 120px 6vw;
}
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head h2,
.contact-copy h2,
.studio .section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 8px 0 0;
}
.section-lede {
  color: var(--muted);
  max-width: 560px;
  margin-top: 16px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.studio-copy p { color: #d4d0e6; font-size: 18px; font-weight: 300; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 0;
}
.stats dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats dd {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: 18px;
}

.terminal {
  background: rgba(10, 10, 18, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.terminal-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f87171;
}
.terminal-bar span:nth-child(2) { background: #fbbf24; }
.terminal-bar span:nth-child(3) { background: #34d399; }
.terminal-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.terminal pre {
  margin: 0;
  padding: 22px 22px 26px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
}
.terminal .cmt { color: #6b6585; }
.terminal .kw { color: #c084fc; }
.terminal .fn { color: #93c5fd; }
.terminal .str { color: #f9a8d4; }
.terminal .num { color: #fde68a; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 2;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  min-height: 230px;
  transform-style: preserve-3d;
  transition: border-color 0.35s, transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--lx, 50%) var(--ly, 0%), rgba(167, 139, 250, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 24px 60px rgba(76, 29, 149, 0.22);
}
.card:hover::before { opacity: 1; }
.card-lg { grid-column: span 4; min-height: 300px; }
.card-wide { grid-column: span 4; }
.card-idx {
  font-family: var(--mono);
  font-size: 12px;
  color: #c4b5fd;
  letter-spacing: 0.14em;
}
.card h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 14px 0 10px;
  letter-spacing: -0.03em;
}
.card p { color: var(--muted); margin: 0; }
.card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}
.card li {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #ddd6fe;
}

/* Process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: none;
}
.steps li {
  padding: 8px 8px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.steps span {
  font-family: var(--mono);
  color: #818cf8;
  font-size: 12px;
}
.steps h3 {
  font-family: var(--display);
  font-size: 24px;
  margin: 10px 0 8px;
}
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

/* Contact */
.contact { padding-bottom: 80px; }
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 48px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
.contact-copy p { color: var(--muted); }
.mail-link {
  display: inline-block;
  margin-top: 18px;
  color: #ddd6fe;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
  padding-bottom: 3px;
}
.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(5, 5, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 14px; color: #c4b5fd; margin: 4px 0 0; }
.form-status.error { color: #fda4af; }
.form-status.ok { color: #86efac; }

.site-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }

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

@media (max-width: 1200px) {
  .now-chip { display: none; }
}

@media (max-width: 980px) {
  .studio-grid,
  .contact-panel,
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card-lg, .card-wide { grid-column: span 1; }
  .nav {
    position: fixed;
    inset: var(--header) 16px auto;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(10, 8, 18, 0.94);
    border: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .header-cta,
  .now-chip { display: none; }
  .menu-toggle { display: block; }
  .bill { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .hero {
    padding: calc(var(--header) + 4px) 16px 56px;
    justify-content: flex-start;
  }
  .hero-logo { width: min(200px, 62vw); }
  .hero-title {
    font-size: 28px !important;
    line-height: 1.12;
    letter-spacing: -0.03em;
    padding: 0 20px;
  }
  .hero-title .line,
  .hero-title .line2,
  .hero-title .grad { display: block; }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 0 16px;
    text-align: center;
    max-width: 100%;
  }
  .lede {
    font-size: 15px;
    padding: 0 6px;
    margin-bottom: 20px;
  }
  .hero-actions {
    flex-direction: column;
    width: min(280px, 100%);
  }
  .cast { gap: 14px; margin-top: 20px; }
  .cast-item img { width: 44px; height: 44px; }
  .bill-card p { min-height: 0; }
  .hero-actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .section { padding: 88px 20px; }
  .cursor { display: none !important; }
  .menu-toggle {
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .site-header { padding: 0 14px; }
}

/* Projects page */
.page-hero {
  position: relative;
  z-index: 3;
  padding: calc(var(--header) + 56px) 6vw 24px;
  max-width: 980px;
}
.page-hero .hero-title {
  font-size: clamp(36px, 5.4vw, 68px);
  text-align: left;
}
.page-hero .lede {
  margin: 18px 0 0;
  text-align: left;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.project {
  grid-column: span 3;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.4s;
  min-height: 100%;
}
.project:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 24px 60px rgba(76, 29, 149, 0.22);
}
.project-lg { grid-column: span 6; }
.project-wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.project-wide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.project-wide-body { padding: 28px 26px 26px; }
.project-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.project-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.project-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.project h3 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0;
}
.project > p,
.project-wide-body > p { color: var(--muted); margin: 0 0 16px; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.platforms li {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #ddd6fe;
}
.get-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.get {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #0b0614;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.get-site {
  background: transparent;
  color: #ddd6fe;
  border: 1px solid var(--line);
}
.get:hover { transform: translateY(-1px); }
.soon {
  margin: 0;
  color: #a7a0c0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .project,
  .project-lg,
  .project-wide { grid-column: span 6; }
  .project-wide { grid-template-columns: 1fr; }
}

.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;
}

/* Games / arcade */
.intermission {
  padding-top: 72px;
}
.intermission .game-grid { margin-top: 18px; }
.intermission-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}
.intermission-band h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}
.intermission-band p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.game-card {
  position: relative;
  padding: 32px 26px 28px;
  border-radius: 26px;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(167, 139, 250, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color 0.35s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.game-card:hover {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 28px 70px rgba(76, 29, 149, 0.28);
}
.game-card-feature { grid-column: span 2; }
.game-card-rehearsal,
.game-card-soon {
  border-style: dashed;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}
.game-card .bill-flag { top: 16px; right: 16px; }
.game-card h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}
.game-card > p { color: var(--muted); margin: 0 0 16px; }
.game-card .btn { width: 100%; }
.game-mark {
  width: 72px;
  height: 72px;
  margin: 8px 0 16px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.game-mark-svg { width: 64px; height: 64px; }
.game-mark-letter,
.game-mark-empty {
  font-family: var(--display);
  font-size: 28px;
  color: #ddd6fe;
}
.game-mark-empty { background: transparent; border: 1px dashed var(--line); color: var(--muted); }

.arcade-hero { padding-bottom: 8px; }
.game-page .page-hero.arcade-hero {
  padding-top: calc(var(--header) + 18px);
  padding-bottom: 0;
}
.game-page .page-hero.arcade-hero .hero-title {
  font-size: clamp(28px, 4.2vw, 52px);
}
.game-page .page-hero.arcade-hero .lede {
  margin-top: 10px;
  max-width: 54ch;
}
.arcade-section { padding-top: 24px; }
.game-page .arcade-section { padding-top: 10px; padding-bottom: 48px; }
.arcade {
  max-width: 980px;
  margin: 0 auto;
}
.arcade-hud {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.arcade-pill,
.arcade-mute,
.arcade-save {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 88px;
  text-align: center;
}
.arcade-pill .label,
.claim-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.arcade-pill strong {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
}
.arcade-mute,
.arcade-save {
  cursor: pointer;
  color: var(--ink);
  min-width: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.arcade-mute:hover,
.arcade-save:hover { border-color: rgba(167, 139, 250, 0.55); }
.arcade-mute.is-muted { color: var(--muted); }
.arcade-stage {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.arcade-board {
  position: relative;
  touch-action: none;
}
.arcade-board canvas#game {
  width: min(480px, 90vw);
  height: auto;
  display: block;
  background: rgba(8, 7, 16, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(76, 29, 149, 0.12);
}
.arcade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(4px);
  border-radius: 18px;
  pointer-events: none;
}
.arcade-overlay.hidden { display: none; }
.arcade-overlay-title {
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 36px);
  margin: 0;
  letter-spacing: -0.03em;
}
.arcade-overlay-sub {
  margin: 0;
  color: var(--muted);
  max-width: 28ch;
}
.arcade-panel {
  width: min(240px, 100%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.arcade-panel h2 {
  font-family: var(--display);
  font-size: 18px;
  margin: 0 0 12px;
}
.arcade-lb {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}
.arcade-lb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.arcade-lb li.top {
  background: rgba(167, 139, 250, 0.16);
  color: #ddd6fe;
}
.arcade-lb li.empty {
  justify-content: center;
  color: var(--muted);
}
.arcade-lb .rank {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  width: 16px;
}
.arcade-lb .name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.arcade-lb .score {
  font-family: var(--mono);
  font-size: 12px;
  color: #c4b5fd;
}
.arcade-claim { border-top: 1px solid var(--line); padding-top: 14px; }
.claim-score {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin: 6px 0 10px;
}
.claim-row { display: flex; gap: 8px; }
.claim-row input {
  flex: 1;
  min-width: 0;
  background: rgba(5, 5, 10, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
}
.claim-row input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.7);
}
.arcade-pad {
  display: none;
  margin: 22px auto 0;
  width: min(220px, 70vw);
  gap: 8px;
  justify-items: center;
}
.arcade-pad button {
  width: 64px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 20px;
}
.arcade-pad-mid { display: flex; gap: 8px; }
.arcade-help {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 22px auto 0;
  max-width: 560px;
}
.arcade-help kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  margin: 0 2px;
}
.game-page .site-header.hide { transform: none; }
.games-more { padding-top: 48px; }

.craft-stage {
  position: relative;
  width: 100%;
  height: min(78svh, 840px);
  min-height: 440px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #6eb5d4;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  touch-action: none;
}
.craft-stage .craft-view {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}
.craft-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(4px);
}
.craft-crosshair {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  z-index: 3;
  pointer-events: none;
}
.craft-crosshair::before,
.craft-crosshair::after {
  content: "";
  position: absolute;
  background: #fff;
  box-shadow: 0 0 2px #000;
}
.craft-crosshair::before { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }
.craft-crosshair::after { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.craft-hotbar {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  gap: 2px;
  background: rgba(5, 5, 10, 0.65);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.craft-hotbar .slot {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
}
.craft-hotbar .slot.sel {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.craft-hotbar .slot canvas {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
}
.craft-water {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(10, 40, 120, 0.35);
}
.craft-hud {
  display: none;
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 1px 1px 0 #000;
}

@media (max-width: 980px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-card-feature { grid-column: span 1; }
  .arcade-pad { display: grid; }
}

@media (pointer: coarse) {
  .arcade-pad { display: grid; }
}

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