:root {
  --ink: #071525;
  --ink-soft: #0d2236;
  --paper: #f4f8f8;
  --paper-blue: #e9f6f7;
  --white: #ffffff;
  --cyan: #55e4dc;
  --cyan-deep: #1ab8b6;
  --coral: #ff665c;
  --sun: #ffd35a;
  --muted: #5e7180;
  --line: rgba(7, 21, 37, 0.14);
  --shadow: 0 34px 90px rgba(7, 21, 37, 0.17);
  --radius: 34px;
  --page: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Noto Sans", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--white);
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand b { color: var(--cyan-deep); }
.brand-mark { width: 36px; height: 36px; fill: var(--ink); }
.brand-mark circle { fill: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--coral);
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }

.hero {
  width: var(--page);
  min-height: 690px;
  margin: 0 auto;
  padding: 78px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(500px, 1.14fr);
  align-items: center;
  gap: 56px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--cyan-deep);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Arial Black", "Avenir Next", sans-serif;
  font-size: clamp(58px, 7.3vw, 112px);
  line-height: .88;
  letter-spacing: -.075em;
}
.hero h1 em {
  display: block;
  color: var(--coral);
  font-style: normal;
  transform: translateX(7%);
}
.hero-intro {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 26px rgba(7,21,37,.18); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(7,21,37,.26); }
.button-quiet { border: 1px solid var(--line); background: rgba(255,255,255,.42); }
.button-quiet:hover { background: var(--white); }

.kinetic-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 46% 46% 31% 50% / 34% 43% 48% 58%;
  background: var(--ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.stage-grid {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: linear-gradient(rgba(85,228,220,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(85,228,220,.12) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(420px) rotateX(62deg) scale(1.7) translateY(18%);
}
.kinetic-stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -90px;
  border-radius: 50%;
  background: var(--coral);
  filter: blur(1px);
  opacity: .2;
}
.kinetic-stage::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -210px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .18;
}
.trajectory { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; }
.trajectory path { stroke-linecap: round; stroke-dasharray: 9 14; stroke-width: 4; }
.trajectory-a path { stroke: var(--sun); }
.trajectory-b path { stroke: var(--cyan); opacity: .58; }
.orbit { position: absolute; border: 2px solid rgba(85,228,220,.26); border-radius: 50%; }
.orbit-one { width: 270px; height: 270px; right: 30px; bottom: 24px; }
.orbit-two { width: 126px; height: 126px; left: 78px; top: 70px; border-color: rgba(255,102,92,.35); }
.stage-hero {
  position: absolute;
  z-index: 2;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.35));
  will-change: transform;
}
.hero-momo { width: 158px; left: 41%; top: 38%; animation: drift 5.4s ease-in-out infinite; }
.hero-bat { width: 122px; right: 8%; top: 15%; animation: drift 6.2s ease-in-out .6s infinite; }
.hero-spark { width: 108px; left: 10%; bottom: 13%; animation: drift 5.8s ease-in-out 1.2s infinite; }
.stage-note {
  position: absolute;
  z-index: 3;
  left: 8%;
  top: 24%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--white);
  transform: rotate(-7deg);
}
.stage-note span { color: var(--sun); font: 800 11px/1 Consolas, monospace; letter-spacing: .18em; }
.stage-note strong { font-size: 32px; letter-spacing: -.06em; }
.stage-badge {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 9%;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7,21,37,.62);
  backdrop-filter: blur(8px);
  font: 800 10px/1 Consolas, monospace;
  letter-spacing: .16em;
}
@keyframes drift { 0%,100% { transform: translate3d(0,0,0) rotate(-2deg); } 50% { transform: translate3d(0,-13px,0) rotate(2deg); } }

.studio-section, .game-section, .contact-section { width: var(--page); margin: 0 auto; }
.studio-section { padding: 118px 0 128px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .55fr 1fr; gap: 42px; align-items: start; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2, .contact-section h2 {
  margin: 0;
  font-family: "Arial Black", "Avenir Next", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.065em;
}
.section-heading > p:last-child { max-width: 640px; margin: 4px 0 0; color: var(--muted); font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 84px; border-top: 1px solid var(--line); }
.principle { padding: 34px 32px 0 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line); }
.principle-symbol { display: block; color: var(--coral); font-size: 30px; font-weight: 900; }
.principle h3 { margin: 34px 0 12px; font-size: 21px; letter-spacing: -.025em; }
.principle p { margin: 0; color: var(--muted); }

.game-section { padding: 0 0 124px; }
.game-card {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--ink-soft);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.game-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -58% 38%;
  height: 90%;
  border: 3px solid rgba(85,228,220,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(85,228,220,.04), 0 0 0 120px rgba(85,228,220,.025);
}
.game-copy { position: relative; z-index: 2; padding: 74px 24px 74px 72px; }
.game-logo { display: block; width: min(500px, 100%); margin-bottom: 26px; }
.localized-logo { width: 100%; height: auto; }
.game-lead { max-width: 570px; margin: 0; color: #c6d4dc; font-size: 18px; }
.feature-list { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 23px; font-weight: 700; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }
.availability { margin: 34px 0 0; color: var(--sun); font-size: 13px; font-weight: 800; }
.roster { position: relative; min-height: 620px; align-self: stretch; overflow: hidden; }
.roster-main { position: absolute; z-index: 2; width: 92%; right: -11%; bottom: -13%; filter: drop-shadow(0 28px 38px rgba(0,0,0,.42)); }
.roster-side { position: absolute; z-index: 3; width: 155px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.42)); }
.roster-black { left: 5%; top: 13%; }
.roster-bat { right: 7%; top: 8%; }
.roster-ring { position: absolute; width: 480px; height: 480px; right: -3%; top: 13%; border: 2px dashed rgba(255,211,90,.42); border-radius: 50%; animation: spin 28s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-section {
  padding: 78px 68px;
  display: grid;
  grid-template-columns: 1fr .72fr;
  align-items: end;
  gap: 70px;
  border-radius: var(--radius);
  background: var(--cyan);
}
.contact-section .eyebrow { color: var(--ink); opacity: .66; }
.contact-details p { margin: 0 0 16px; }
.contact-details > a:first-of-type { display: block; width: fit-content; font-size: clamp(20px, 2.2vw, 31px); font-weight: 900; letter-spacing: -.04em; text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.text-link { display: inline-block; margin-top: 30px; font-weight: 900; text-decoration: none; }

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 70px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
  align-items: end;
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { margin-bottom: 12px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--ink); }

.legal-main { width: min(900px, calc(100vw - 48px)); margin: 0 auto; padding: 72px 0 120px; }
.legal-hero { padding: 62px 0; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0; font-family: "Arial Black", sans-serif; font-size: clamp(46px, 7vw, 86px); line-height: .95; letter-spacing: -.065em; }
.legal-hero p { margin: 22px 0 0; color: var(--muted); }
.legal-content { padding-top: 50px; }
.legal-content h2 { margin: 52px 0 14px; font-size: 24px; letter-spacing: -.03em; }
.legal-content h3 { margin: 30px 0 10px; font-size: 18px; }
.legal-content p, .legal-content li { color: #435867; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: #007c7c; font-weight: 700; }
.legal-callout { margin: 36px 0; padding: 26px 28px; border-left: 4px solid var(--coral); background: var(--white); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 38px 0; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.support-card h2 { margin-top: 0; }

.reveal { opacity: 1; transform: none; }
.js .reveal.is-visible { animation: reveal-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.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; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 54px; }
  .hero > * { min-width: 0; }
  .hero-copy { position: relative; z-index: 2; }
  .hero h1 { max-width: 780px; }
  .kinetic-stage { min-height: 590px; }
  .section-heading { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 1fr; }
  .game-copy { padding: 66px 60px 18px; }
  .roster { min-height: 570px; }
  .contact-section { grid-template-columns: 1fr; align-items: start; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  :root { --page: min(1240px, calc(100vw - 28px)); --radius: 24px; }
  .site-header { height: auto; min-height: 82px; align-items: flex-start; padding: 20px 0; }
  .brand { font-size: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .site-nav { justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; }
  .site-nav a[href="#studio"], .site-nav a[href="#games"] { display: none; }
  .hero { min-height: 0; padding: 58px 0 84px; gap: 52px; overflow-x: clip; }
  .hero h1 { font-size: clamp(54px, 17vw, 78px); }
  .hero h1 em { transform: none; }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .kinetic-stage { min-height: 440px; border-radius: 42% 42% 28% 47% / 30% 38% 44% 54%; }
  .hero-momo { width: 126px; left: 37%; }
  .hero-bat { width: 86px; }
  .hero-spark { width: 84px; }
  .studio-section { padding: 82px 0 88px; }
  .section-heading h2, .contact-section h2 { font-size: 44px; }
  .principles { grid-template-columns: 1fr; margin-top: 54px; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle h3 { margin-top: 18px; }
  .game-section { padding-bottom: 76px; }
  .game-copy { padding: 48px 26px 10px; }
  .game-logo { width: 100%; }
  .roster { min-height: 430px; }
  .roster-main { width: 112%; right: -27%; }
  .roster-side { width: 105px; }
  .roster-black { left: 6%; }
  .roster-ring { width: 330px; height: 330px; }
  .contact-section { padding: 46px 26px; gap: 40px; }
  .site-footer { padding-top: 52px; gap: 30px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .legal-main { width: min(100% - 32px, 900px); padding-top: 38px; }
  .legal-hero { padding: 46px 0; }
  .support-grid { grid-template-columns: 1fr; }
}

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