:root {
  --bg: #08060d;
  --bg-soft: #0d0914;
  --panel: rgba(18, 10, 27, .72);
  --ink: #f7f3fb;
  --muted: #a99fb6;
  --pink: #ff42cc;
  --violet: #813dff;
  --blue: #6b8cff;
  --line: rgba(225, 197, 255, .18);
  --max: 1240px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.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; }
::selection { background: rgba(255,66,204,.35); color: white; }

.page-noise { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(134,54,255,.08), transparent 68%); pointer-events: none; z-index: 2; transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s ease; }

.site-header { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 82px; padding: 0 clamp(22px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.site-header.scrolled { background: rgba(8,6,13,.74); border-color: var(--line); backdrop-filter: blur(18px); }
.studio-mark { justify-self: start; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .13em; }
.studio-glyph { width: 34px; height: 34px; border: 1px solid rgba(255,66,204,.58); display: grid; place-items: center; transform: rotate(45deg); color: var(--pink); text-shadow: 0 0 16px var(--pink); }
.studio-glyph::first-letter { transform: rotate(-45deg); }
.studio-mark .studio-glyph { font-family: var(--display); }
.studio-copy { display: flex; flex-direction: column; line-height: 1; font-size: .96rem; font-weight: 700; }
.studio-copy small { font-size: .68rem; color: var(--muted); letter-spacing: .26em; margin-top: 5px; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; }
.main-nav a { position: relative; color: #d9d1e2; transition: color .25s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--pink); box-shadow: 0 0 10px var(--pink); transition: right .25s; }
.main-nav a:hover { color: white; }
.main-nav a:hover::after { right: 0; }
.language-toggle { justify-self: end; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font-size: .68rem; letter-spacing: .12em; color: var(--muted); }
.language-toggle span:first-child { color: white; }
.language-toggle i { width: 22px; height: 1px; background: #645a70; transform: rotate(-55deg); }
.menu-toggle { display: none; background: none; border: 0; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.82fr); align-items: center; gap: clamp(20px,4vw,70px); padding: 120px max(6vw, calc((100vw - var(--max))/2)) 76px; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -4; background: linear-gradient(90deg, rgba(6,4,10,.93) 0%, rgba(7,4,12,.68) 50%, rgba(7,4,12,.34) 100%), url('assets/nebula.webp') center/cover; transform: scale(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 73% 42%, transparent 0 18%, rgba(8,6,13,.08) 36%, rgba(8,6,13,.88) 100%), linear-gradient(to bottom, transparent 55%, var(--bg)); }
.hero-atmosphere { position: absolute; z-index: -1; inset: -20%; background: radial-gradient(ellipse at 74% 38%, rgba(255,30,174,.18) 0 10%, rgba(116,42,255,.10) 22%, transparent 48%); filter: blur(20px); animation: breathe 8s ease-in-out infinite alternate; }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, black 25%, black 80%, transparent); }
.hero-copy { align-self: center; max-width: 690px; position: relative; z-index: 4; }
.eyebrow { margin: 0 0 24px; color: var(--pink); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .28em; }
.eyebrow::before { display: none; }
.hero h1 { margin: 0; width: min(620px, 88vw); }
.hero h1 img { width: 100%; filter: drop-shadow(0 18px 42px rgba(0,0,0,.55)); }
.hero-hook { font-family: var(--display); font-size: clamp(1.45rem, 2.25vw, 2.25rem); line-height: 1.28; max-width: 630px; margin: 26px 0 11px; text-wrap: balance; }
.hero-sub { color: var(--muted); max-width: 560px; line-height: 1.75; margin: 0; font-size: clamp(.92rem, 1.2vw, 1.04rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 0 24px; text-transform: uppercase; font-size: .69rem; font-weight: 800; letter-spacing: .15em; border: 1px solid var(--line); position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(110deg, rgba(255,66,204,.22), rgba(87,39,170,.3)); border-color: rgba(255,83,213,.58); box-shadow: inset 0 0 28px rgba(156,50,255,.12), 0 0 25px rgba(255,45,197,.08); }
.btn-primary::before { content: ""; position: absolute; inset: 0 100% 0 0; background: linear-gradient(100deg, rgba(255,66,204,.42), rgba(119,55,255,.4)); transition: inset .32s ease; }
.btn-primary:hover::before { inset: 0; }
.btn-primary > * { position: relative; }
.platform-note { display: inline-flex; align-items: center; gap: 10px; font-size: .73rem; color: #c2b8cb; letter-spacing: .08em; }
.platform-note i { width: 7px; height: 7px; background: #9f95a9; border-radius: 50%; box-shadow: 0 0 10px rgba(255,255,255,.4); }
.hero-visual { position: relative; justify-self: center; width: min(470px, 38vw); min-width: 330px; aspect-ratio: .78; display: grid; place-items: center; }
.art-frame { position: relative; width: 72%; z-index: 2; filter: drop-shadow(0 28px 50px rgba(0,0,0,.72)); transform: perspective(1100px) rotateY(-5deg) rotateX(1deg); }
.art-frame img { width: 100%; border: 1px solid rgba(255,88,217,.58); clip-path: polygon(7% 0,100% 0,100% 93%,93% 100%,0 100%,0 7%); }
.art-frame::before { content: ""; position: absolute; inset: -9%; border: 1px solid rgba(159,75,255,.11); transform: rotate(3deg); }
.frame-corner { position: absolute; width: 26px; height: 26px; border-color: var(--pink); filter: drop-shadow(0 0 7px var(--pink)); z-index: 3; }
.frame-corner.tl { top: -9px; left: -9px; border-top: 1px solid; border-left: 1px solid; }
.frame-corner.tr { top: -9px; right: -9px; border-top: 1px solid; border-right: 1px solid; }
.frame-corner.bl { bottom: -9px; left: -9px; border-bottom: 1px solid; border-left: 1px solid; }
.frame-corner.br { bottom: -9px; right: -9px; border-bottom: 1px solid; border-right: 1px solid; }
.moon { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 46% 45%, #ff76d9 0 5%, #d922a0 28%, #6f1a93 53%, rgba(80,11,114,.15) 68%, transparent 69%); filter: blur(.2px) drop-shadow(0 0 50px rgba(255,25,190,.35)); opacity: .42; }
.petals { position: absolute; right: 0; bottom: 13%; width: 34%; z-index: 5; filter: drop-shadow(0 0 10px rgba(255,66,204,.55)); animation: drift 5s ease-in-out infinite alternate; }
.hero-caption { position: absolute; left: 1; bottom: 5%; border-left: 1px solid var(--pink); padding-left: 15px; display: flex; flex-direction: column; }
.hero-caption span { font-family: var(--display); font-size: 1.7rem; }
.hero-caption small { font-size: .55rem; letter-spacing: .22em; color: var(--muted); }
.scroll-cue { position: absolute; left: max(6vw, calc((100vw - var(--max))/2)); bottom: 26px; display: flex; align-items: center; gap: 10px; color: #8c8395; font-size: .56rem; letter-spacing: .2em; }
.scroll-cue span { width: 42px; height: 1px; background: linear-gradient(90deg,var(--pink),transparent); }

.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(100px, 12vw, 170px) 24px; }
.section-index { position: absolute; top: clamp(88px,10vw,140px); right: 24px; font-family: var(--display); font-size: clamp(5rem,12vw,10rem); line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); user-select: none; }
.section-heading { max-width: 670px; margin-bottom: 70px; }
.section h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(3rem,6vw,6.7rem); line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.section h2 em { color: var(--pink); font-weight: 400; }
.story-grid { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(330px,.82fr); gap: clamp(50px,8vw,110px); align-items: end; }
.story-copy { max-width: 690px; }
.story-copy p { color: var(--muted); line-height: 1.9; font-size: 1rem; }
.story-copy .lead { color: #ece6f1; font-family: var(--display); font-size: clamp(1.4rem,2.4vw,2rem); line-height: 1.45; }
.fact-row { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-row div { padding: 22px 18px 22px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.fact-row div:last-child { border-right: 0; padding-left: 18px; }
.fact-row div:nth-child(2) { padding-left: 18px; }
.fact-row strong { font-family: var(--display); font-size: 2.2rem; color: white; font-weight: 400; }
.fact-row span { color: #8d8496; text-transform: uppercase; font-size: .57rem; letter-spacing: .12em; line-height: 1.4; }
.signal-card { position: relative; padding: 14px; border: 1px solid rgba(255,66,204,.26); background: rgba(14,7,23,.7); box-shadow: 0 20px 70px rgba(0,0,0,.45), inset 0 0 30px rgba(121,38,255,.04); transform: rotate(1.4deg); }
.signal-card::before { content:""; position:absolute; inset:-8px 8px 8px -8px; border:1px solid rgba(119,63,255,.12); z-index:-1; }
.signal-top { display:flex; justify-content:space-between; padding: 0 4px 10px; font-size:.56rem; letter-spacing:.18em; color:#a99db2; }
.signal-top span:first-child { color:#ff5ad5; }
.signal-screen { position:relative; overflow:hidden; background:#0b0710; aspect-ratio: 16/10; }
.signal-screen img { width:100%; height:100%; object-fit:cover; image-rendering:auto; filter:saturate(.9) contrast(1.06); }
.signal-screen::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(to bottom,rgba(255,255,255,.035) 0 1px,transparent 1px 4px); mix-blend-mode:screen; }
.scan { position:absolute; left:0; right:0; top:-20%; height:18%; background:linear-gradient(to bottom,transparent,rgba(255,255,255,.09),transparent); animation: scan 4.3s linear infinite; }
.signal-time { position:absolute; right:10px; bottom:9px; font: .58rem monospace; letter-spacing:.12em; color:rgba(255,255,255,.72); }
.signal-card > p { margin: 14px 4px 2px; font-size:.66rem; letter-spacing:.16em; color:#c9becf; }

.world-section { padding-top: 80px; }
.world-intro { display:grid; grid-template-columns: 1.1fr .7fr; align-items:end; gap:50px; margin-bottom:70px; }
.world-intro > p { max-width:470px; color:var(--muted); line-height:1.85; margin:0 0 8px; }
.feature-grid { display:grid; grid-template-columns: repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.feature-card { min-height: 400px; padding: 34px 28px 36px; position:relative; border-right:1px solid var(--line); overflow:hidden; }
.feature-card:last-child { border-right:0; }
.feature-card::before { content:""; position:absolute; inset:auto 0 0 0; height:0; background:linear-gradient(to top,rgba(120,34,191,.16),transparent); transition:height .4s ease; }
.feature-card:hover::before { height:72%; }
.feature-number { position:absolute; right:24px; top:20px; color:#625a68; font-family:var(--display); }
.feature-icon { width:92px; height:92px; display:grid; place-items:center; margin:40px 0 54px; border:1px solid rgba(255,66,204,.24); font-family:var(--display); font-size:2.1rem; color:var(--pink); transform:rotate(45deg); box-shadow:inset 0 0 22px rgba(255,66,204,.05); }
.feature-icon > * { transform:rotate(-45deg); }
.feature-icon.seal { border:0; box-shadow:none; }
.feature-icon.seal img { width:120%; max-width:none; }
.feature-icon.feature-gif-icon {
  width: 340px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  padding: 3px;
  overflow: hidden;
  transform: none;
  border: 1px solid rgba(255,66,204,.32);
  background: rgba(8,6,13,.72);
  box-shadow: 0 0 24px rgba(129,61,255,.12), inset 0 0 18px rgba(255,66,204,.05);
}
.feature-icon.feature-gif-icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: none;
}
.feature-card h3 { font-family:var(--display); font-size:1.8rem; font-weight:400; margin:0 0 14px; position:relative; }
.feature-card p { color:var(--muted); line-height:1.75; margin:0; font-size:.93rem; position:relative; }

.interlude { min-height:540px; position:relative; display:grid; place-items:center; overflow:hidden; border-top:1px solid rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.04); }
.interlude-backdrop { position:absolute; inset:-10%; background: linear-gradient(90deg,rgba(8,6,13,.92),rgba(8,6,13,.38),rgba(8,6,13,.87)), url('assets/nebula.webp') center 44%/cover; filter:saturate(.7); }
.interlude-backdrop::after { content:""; position:absolute; inset:0; background:linear-gradient(to bottom,var(--bg),transparent 30%,transparent 70%,var(--bg)); }
.interlude-copy { position:relative; z-index:2; display:grid; grid-template-columns:auto 1fr auto; align-items:start; gap:18px; text-align:center; padding:40px 24px; }
.interlude-copy span { color:var(--pink); font-family:var(--display); font-size:3rem; opacity:.7; }
.interlude-copy p { margin:36px 0 0; font-family:var(--display); font-size:clamp(1.8rem,4vw,4rem); line-height:1.18; text-shadow:0 5px 30px #000; }

.party-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(60px,10vw,140px); align-items:center; }
.party-copy h2 { font-size:clamp(3.4rem,6vw,6.2rem); }
.party-copy > p:not(.eyebrow) { color:var(--muted); line-height:1.85; max-width:540px; }
.party-panel { min-height:520px; position:relative; border:1px solid var(--line); background:linear-gradient(135deg,rgba(23,12,33,.75),rgba(10,7,15,.55)); overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; padding:38px; }
.party-panel::before { content:""; position:absolute; width:460px; height:460px; top:-170px; right:-130px; background:radial-gradient(circle,rgba(255,45,195,.15),rgba(114,46,255,.07) 44%,transparent 65%); }
.party-panel::after { content:""; position:absolute; inset:20px; border:1px solid rgba(255,255,255,.035); pointer-events:none; }
.party-symbol { position:absolute; top:90px; left:50%; transform:translateX(-50%); width:min(360px,70%); image-rendering:auto; filter:drop-shadow(0 0 35px rgba(151,60,255,.38)); }
.names { display:grid; grid-template-columns:repeat(5,1fr); position:relative; z-index:2; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.names button { background:none; border:0; border-right:1px solid var(--line); min-height:66px; padding:0 6px; cursor:pointer; font-size:.58rem; letter-spacing:.11em; color:#827889; transition:.25s; }
.names button:last-child { border-right:0; }
.names button:hover,.names button.active { color:white; background:linear-gradient(to top,rgba(255,66,204,.13),transparent); text-shadow:0 0 12px rgba(255,66,204,.8); }
.party-detail { display:flex; justify-content:space-between; gap:30px; align-items:flex-end; padding-top:28px; position:relative; z-index:2; }
.party-detail small { color:var(--pink); letter-spacing:.18em; }
.party-detail strong { font-family:var(--display); font-size:1.45rem; font-weight:400; text-align:right; max-width:290px; }


/* ============================================================
   MEDIA
   Replace assets/media/screenshot-01.webp through -12.webp.
   YouTube URLs/IDs are configured in SITE_CONFIG in script.js.
   ============================================================ */
.media-section { padding-top:clamp(100px,10vw,145px); }
.media-heading { max-width:760px; margin-bottom:48px; }
.media-heading h2 { margin-bottom:24px; }
.media-heading > p:not(.eyebrow) { margin:0; color:var(--muted); line-height:1.8; max-width:560px; }
.screenshot-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.screenshot-card { position:relative; aspect-ratio:16/9; overflow:hidden; border:1px solid rgba(225,197,255,.16); background:rgba(10,7,15,.72); box-shadow:0 16px 38px rgba(0,0,0,.22); }
.screenshot-card::after { content:""; position:absolute; inset:0; border:1px solid transparent; box-shadow:inset 0 0 0 0 rgba(255,66,204,0); transition:.28s ease; pointer-events:none; }
.screenshot-card img { width:100%; height:100%; object-fit:cover; transition:transform .4s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.screenshot-card:hover img { transform:scale(1.035); filter:saturate(1.08) contrast(1.03); }
.screenshot-card:hover::after { border-color:rgba(255,66,204,.44); box-shadow:inset 0 0 26px rgba(129,61,255,.09), 0 0 24px rgba(255,66,204,.06); }
.video-block { margin-top:76px; }
.video-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:28px; }
.video-heading .eyebrow { margin-bottom:0; }
.video-heading h3 { margin:0; font-family:var(--display); font-size:clamp(2rem,4vw,4.2rem); line-height:1; font-weight:400; letter-spacing:-.035em; }
.video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.video-card { position:relative; aspect-ratio:16/9; overflow:hidden; border:1px solid rgba(225,197,255,.18); background:linear-gradient(135deg,rgba(24,12,35,.86),rgba(7,5,11,.92)); box-shadow:0 22px 55px rgba(0,0,0,.3); }
.youtube-embed { position:absolute; inset:0; width:100%; height:100%; border:0; display:none; }
.video-card.has-video .youtube-embed { display:block; }
.video-card.has-video .video-placeholder { display:none; }
.video-placeholder { position:absolute; inset:0; display:grid; place-content:center; text-align:center; gap:10px; padding:24px; color:#d7cede; background:radial-gradient(circle at 50% 42%,rgba(129,61,255,.13),transparent 38%); }
.video-placeholder::before { content:"▶"; width:58px; height:58px; display:grid; place-items:center; justify-self:center; border:1px solid rgba(255,66,204,.45); color:var(--pink); font-size:1rem; padding-left:3px; box-shadow:0 0 25px rgba(255,66,204,.08), inset 0 0 20px rgba(129,61,255,.06); }
.video-placeholder span { font-size:.7rem; font-weight:800; letter-spacing:.18em; }
.video-placeholder small { color:#857b8d; font-size:.65rem; letter-spacing:.06em; }

.cta-section { position:relative; min-height:650px; display:grid; place-items:center; text-align:center; overflow:hidden; padding:100px 24px; }
.cta-section::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 48%,rgba(121,46,242,.13),transparent 38%); }
.cta-ring { position:absolute; width:min(680px,78vw); opacity:.09; animation: rotate 45s linear infinite; }
.cta-ring img { width:100%; image-rendering:auto; filter:drop-shadow(0 0 30px var(--violet)); }
.cta-copy { position:relative; z-index:2; max-width:820px; }
.cta-copy .eyebrow::before { display:none; }
.cta-copy h2 { font-family:var(--display); font-size:clamp(3.7rem,8vw,8.5rem); line-height:.88; margin:0; font-weight:400; letter-spacing:-.045em; }
.cta-copy > p:not(.eyebrow) { color:var(--muted); margin:28px auto 0; line-height:1.8; max-width:560px; }
.cta-actions { display:flex; gap:34px; justify-content:center; align-items:center; margin-top:36px; flex-wrap:wrap; }
.btn-disabled { cursor:default; color:#aaa0b4; background:rgba(255,255,255,.025); }
.text-link { display:inline-flex; gap:12px; align-items:center; color:#e9e1ed; font-size:.73rem; text-transform:uppercase; letter-spacing:.12em; border-bottom:1px solid #615569; padding:12px 0; }
.text-link:hover { border-color:var(--pink); }

.site-footer { min-height:130px; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; padding:26px clamp(22px,4vw,64px); color:#746b7d; font-size:.64rem; letter-spacing:.08em; }
.footer-brand { display:flex; align-items:center; gap:12px; color:#b8afc0; letter-spacing:.15em; }
.footer-brand b { font-size:.86rem; line-height:1.2; letter-spacing:.12em; }
.footer-brand .studio-glyph { width:28px; height:28px; font-size:.8rem; }
.site-footer p { margin:0; text-align:center; }
.site-footer > a { justify-self:end; text-transform:uppercase; }

.reveal { opacity:0; transform:translateY(26px); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }
@keyframes breathe { to { transform:scale(1.07) translate3d(-1%,2%,0); opacity:.76; } }
@keyframes drift { to { transform:translate(14px,-17px) rotate(4deg); } }
@keyframes scan { to { top:105%; } }
@keyframes rotate { to { transform:rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns:1fr auto auto; height:72px; }
  .studio-copy { display:none; }
  .menu-toggle { display:flex; width:42px; height:42px; padding:11px; flex-direction:column; justify-content:center; gap:7px; cursor:pointer; order:3; }
  .menu-toggle span { display:block; height:1px; background:#eee; width:100%; transition:.3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-4px) rotate(-45deg); }
  .language-toggle { order:2; margin-right:6px; }
  .main-nav { position:absolute; top:72px; left:0; right:0; padding:28px; background:rgba(8,6,13,.97); backdrop-filter:blur(18px); border-bottom:1px solid var(--line); display:flex; flex-direction:column; align-items:flex-start; gap:24px; transform:translateY(-120%); opacity:0; pointer-events:none; transition:.35s; z-index:-1; }
  .main-nav.open { transform:none; opacity:1; pointer-events:auto; }
  .hero { grid-template-columns:1fr; min-height:auto; padding-top:130px; padding-bottom:100px; }
  .hero-copy { text-align:center; margin:0 auto; }
  .hero-copy .eyebrow::before { display:none; }
  .hero h1 { margin:0 auto; }
  .hero-sub,.hero-hook { margin-left:auto; margin-right:auto; }
  .hero-actions { justify-content:center; }
  .hero-visual { width:min(460px,86vw); min-width:0; margin:-20px auto 0; }
  .scroll-cue { display:none; }
  .story-grid,.world-intro,.party-layout { grid-template-columns:1fr; }
  .signal-card { max-width:600px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-card { min-height:auto; border-right:0; border-bottom:1px solid var(--line); padding:28px 26px 36px; }
  .feature-card:last-child { border-bottom:0; }
  .feature-icon { margin:20px 0 35px; }
  .party-panel { min-height:500px; }
  .site-footer { grid-template-columns:1fr; text-align:center; padding:36px 24px; }
  .footer-brand,.site-footer > a { justify-self:center; }
}
@media (max-width: 560px) {
  .screenshot-grid { grid-template-columns:1fr; }
  .language-toggle span:last-child { display:none; }
  .language-toggle i { display:none; }
  .hero { padding-left:18px; padding-right:18px; }
  .hero-hook { font-size:1.45rem; }
  .hero-actions { gap:18px; }
  .btn { width:100%; }
  .section { padding-left:18px; padding-right:18px; }
  .section-index { right:18px; }
  .fact-row { grid-template-columns:1fr; }
  .fact-row div,.fact-row div:nth-child(2),.fact-row div:last-child { padding:16px 0; border-right:0; border-bottom:1px solid var(--line); }
  .fact-row div:last-child { border-bottom:0; }
  .interlude { min-height:420px; }
  .interlude-copy { grid-template-columns:1fr; }
  .interlude-copy span { display:none; }
  .interlude-copy p { margin:0; }
  .party-panel { padding:24px 14px; min-height:450px; }
  .names { grid-template-columns:1fr 1fr; }
  .names button { border-bottom:1px solid var(--line); }
  .names button:last-child { grid-column:1 / -1; }
  .party-detail { flex-direction:column; align-items:flex-start; }
  .party-detail strong { text-align:left; }
  .cta-actions { align-items:stretch; }
}
@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; }
}

/* ============================================================
   CHARACTER SWITCHER + CONTACT FORM
   Easy-edit section: replace the character images in
   assets/characters/ while keeping the same filenames.
   ============================================================ */
.character-art {
  position:absolute;
  inset:22px 22px 160px;
  display:grid;
  place-items:center;
  overflow:hidden;
  z-index:1;
}
.character-art::before {
  content:"";
  position:absolute;
  inset:12% 18%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,66,204,.16),rgba(129,61,255,.08) 45%,transparent 72%);
  filter:blur(18px);
}
.character-art img {
  position:relative;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 0 35px rgba(151,60,255,.35));
  transition:opacity .18s ease, transform .28s ease, filter .28s ease;
}
.character-art img.is-changing {
  opacity:0;
  transform:translateY(8px) scale(.985);
}
.character-name {
  position:absolute;
  right:22px;
  bottom:12px;
  font-family:var(--display);
  font-size:clamp(2.4rem,5vw,5.4rem);
  line-height:.8;
  letter-spacing:-.04em;
  color:rgba(255,255,255,.035);
  -webkit-text-stroke:1px rgba(255,255,255,.08);
  pointer-events:none;
}
.party-panel .party-symbol { display:none; }

.contact-card {
  width:min(920px,100%);
  margin:76px auto 0;
  padding:clamp(28px,5vw,58px);
  text-align:left;
  border:1px solid rgba(225,197,255,.16);
  background:linear-gradient(135deg,rgba(22,12,31,.82),rgba(9,6,14,.72));
  box-shadow:0 30px 90px rgba(0,0,0,.34), inset 0 0 40px rgba(129,61,255,.025);
  backdrop-filter:blur(10px);
  position:relative;
  overflow:hidden;
}
.contact-card::before {
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  right:-170px;
  top:-170px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,66,204,.13),transparent 68%);
  pointer-events:none;
}
.contact-heading { max-width:650px; position:relative; z-index:1; }
.contact-heading .eyebrow { margin-bottom:16px; }
.contact-heading .eyebrow::before { display:none; }
.contact-heading h3 {
  margin:0;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(2.2rem,4.6vw,4.6rem);
  line-height:1;
  letter-spacing:-.035em;
}
.contact-heading > p:not(.eyebrow) {
  margin:18px 0 0;
  color:var(--muted);
  line-height:1.75;
}
.contact-form { margin-top:38px; position:relative; z-index:1; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form > label,
.form-grid label {
  display:flex;
  flex-direction:column;
  gap:9px;
  margin-bottom:18px;
}
.contact-form label > span {
  font-size:.63rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#c7bdce;
}
.contact-form input,
.contact-form textarea {
  width:100%;
  border:1px solid rgba(225,197,255,.16);
  background:rgba(7,5,11,.68);
  color:var(--ink);
  font:inherit;
  font-size:.92rem;
  border-radius:0;
  outline:none;
  padding:15px 16px;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { resize:vertical; min-height:150px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color:#706878; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color:rgba(255,66,204,.62);
  box-shadow:0 0 0 1px rgba(255,66,204,.12), 0 0 24px rgba(129,61,255,.08);
  background:rgba(10,6,15,.86);
}
.form-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:8px;
}
.form-status {
  margin:0;
  color:#8f8598;
  font-size:.76rem;
  line-height:1.55;
  max-width:480px;
}
.form-status.is-error { color:#ff8bdc; }
.form-status.is-success { color:#d5c7ff; }
.contact-form .btn { flex:0 0 auto; cursor:pointer; color:var(--ink); }
.contact-form .btn:disabled { opacity:.55; cursor:wait; }
.form-botcheck { display: none !important; }

.form-honeypot {
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

@media (max-width: 1050px) {
  .screenshot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .video-grid { grid-template-columns:1fr; }
  .video-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .form-grid { grid-template-columns:1fr; gap:0; }
  .form-footer { flex-direction:column; align-items:stretch; }
  .form-footer .btn { width:100%; }
  .character-art { inset:18px 18px 205px; }
}

.studio-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}



.steam-store-link {
  text-decoration: none;
}


@media (max-width: 560px) {
  .screenshot-grid { grid-template-columns:1fr; }
}


/* ============================================================
   JAPANESE TYPOGRAPHY
   The Japanese copy uses slightly smaller display/body sizes so
   line counts stay close to the English layout.
   Activated automatically because script.js sets <html lang="ja">.
   ============================================================ */
html[lang="ja"] {
  --display: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
}


html[lang="ja"] .studio-copy {
  letter-spacing: .06em;
}

html[lang="ja"] .studio-copy small {
  letter-spacing: .08em;
}

html[lang="ja"] .footer-brand b {
  letter-spacing: .06em;
}

html[lang="ja"] .eyebrow {
  font-size: .66rem;
  letter-spacing: .18em;
}

html[lang="ja"] .hero-hook {
  font-size: clamp(1.22rem, 1.85vw, 1.88rem);
  line-height: 1.38;
  letter-spacing: -.015em;
}

html[lang="ja"] .hero-sub {
  font-size: clamp(.94rem, 1.10vw, 1.02rem);
  line-height: 1.72;
}

html[lang="ja"] .section h2 {
  font-size: clamp(2.45rem, 5vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

html[lang="ja"] .story-copy .lead {
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.52;
}

html[lang="ja"] .story-copy p,
html[lang="ja"] .world-intro > p,
html[lang="ja"] .party-copy > p:not(.eyebrow),
html[lang="ja"] .contact-heading > p:not(.eyebrow),
html[lang="ja"] .media-heading > p:not(.eyebrow),
html[lang="ja"] .cta-copy > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.82;
}

html[lang="ja"] .feature-card h3 {
  font-size: 1.52rem;
  line-height: 1.28;
  letter-spacing: -.02em;
}

html[lang="ja"] .feature-card p {
  font-size: .94rem;
  line-height: 1.72;
}

html[lang="ja"] .party-copy h2 {
  font-size: clamp(2.65rem, 4.8vw, 5rem);
}

html[lang="ja"] .party-detail strong {
  font-size: 1.24rem;
  line-height: 1.4;
}

html[lang="ja"] .video-heading h3 {
  font-size: clamp(1.8rem, 3.35vw, 3.55rem);
  line-height: 1.08;
}

html[lang="ja"] .contact-heading h3 {
  font-size: clamp(1.9rem, 3.7vw, 3.8rem);
  line-height: 1.08;
}

html[lang="ja"] .cta-copy h2 {
  font-size: clamp(3.15rem, 6.7vw, 7.15rem);
  line-height: .96;
}

html[lang="ja"] .interlude-copy h1 {
  font-size: clamp(1.65rem, 3.35vw, 3.3rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}


html[lang="ja"] .contact-form input,
html[lang="ja"] .contact-form textarea {
  font-size: .98rem;
}

html[lang="ja"] .form-status {
  font-size: .84rem;
}

html[lang="ja"] .contact-form label > span {
  font-size: .69rem;
}

@media (max-width: 900px) {
  html[lang="ja"] .hero-hook {
    font-size: clamp(1.16rem, 3.4vw, 1.62rem);
  }

  html[lang="ja"] .section h2,
  html[lang="ja"] .party-copy h2 {
    font-size: clamp(2.25rem, 7vw, 4.25rem);
  }
}

@media (max-width: 560px) {
  html[lang="ja"] .hero-hook {
    font-size: 1.16rem;
    line-height: 1.42;
  }

  html[lang="ja"] .section h2,
  html[lang="ja"] .party-copy h2 {
    font-size: clamp(2rem, 9.8vw, 3.1rem);
    line-height: 1.08;
  }

  html[lang="ja"] .feature-card h3 {
    font-size: 1.42rem;
  }
}


/* ============================================================
   ABOUT / STUDIO PAGE — MONOCHROME
   ============================================================ */
.main-nav a.current { color:#fff; }
.main-nav a.current::after { right:0; }

.about-page {
  --pink:#ededed;
  --violet:#bdbdbd;
  --blue:#d6d6d6;
  --ink:#f4f4f4;
  --muted:#a8a8a8;
  --line:rgba(255,255,255,.15);
  background:#080808;
}

.about-page .page-noise { opacity:.055; }
.about-page .cursor-glow {
  background:radial-gradient(circle,rgba(255,255,255,.055),transparent 68%);
}
.about-page .site-header.scrolled {
  background:rgba(7,7,7,.84);
  border-color:rgba(255,255,255,.12);
}
.about-page .main-nav { gap:clamp(15px,2vw,30px); }
.about-page .main-nav a::after {
  background:#e9e9e9;
  box-shadow:0 0 10px rgba(255,255,255,.24);
}
.about-page .studio-logo,
.about-page .footer-logo,
.about-page .about-logo,
.about-page .project-mark img {
  filter:grayscale(1) brightness(1.12) contrast(1.05)
         drop-shadow(0 0 24px rgba(255,255,255,.07));
}

.about-main { overflow:hidden; }

.about-hero {
  position:relative;
  min-height:760px;
  display:grid;
  place-items:center;
  padding:150px 24px 110px;
  isolation:isolate;
  text-align:center;
}
.about-hero-bg {
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    radial-gradient(circle at 50% 35%,rgba(255,255,255,.075),transparent 23%),
    linear-gradient(to bottom,rgba(5,5,5,.5),rgba(8,8,8,.96)),
    url('assets/nebula.webp') center/cover;
  filter:grayscale(1) contrast(1.08) brightness(.7);
  transform:scale(1.04);
}
.about-hero::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(to bottom,transparent 50%,#080808);
}
.about-hero-inner { width:min(940px,100%); margin:0 auto; }
.about-logo {
  width:clamp(155px,18vw,235px);
  margin:0 auto 38px;
}
.about-page .eyebrow { color:#d9d9d9; }
.about-hero h1 {
  margin:0;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(3.25rem,6.4vw,6.7rem);
  line-height:.98;
  letter-spacing:-.05em;
  text-wrap:balance;
}
.about-lead {
  max-width:740px;
  margin:34px auto 0;
  color:#bdbdbd;
  font-size:clamp(1rem,1.45vw,1.16rem);
  line-height:1.9;
}

.about-section {
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
  padding:clamp(100px,11vw,160px) 0;
}
.about-grid {
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:clamp(58px,9vw,135px);
  align-items:start;
}
.about-section h2,
.about-band h2 {
  margin:0;
  font-family:var(--display);
  font-size:clamp(2.75rem,4.9vw,5.25rem);
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.about-copy { padding-top:28px; }
.about-copy p {
  margin:0 0 24px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.95;
}
.about-copy p:first-child {
  color:#e7e7e7;
  font-family:var(--display);
  font-size:clamp(1.22rem,1.9vw,1.68rem);
  line-height:1.6;
}
.about-copy em { color:#ededed; }

.about-heading { max-width:780px; margin-bottom:60px; }
.values-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.value-card {
  min-height:390px;
  padding:36px 30px 40px;
  border-right:1px solid var(--line);
  position:relative;
  overflow:hidden;
}
.value-card:last-child { border-right:0; }
.value-card::before {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:0;
  background:linear-gradient(to top,rgba(255,255,255,.055),transparent);
  transition:height .4s ease;
}
.value-card:hover::before { height:76%; }
.value-number {
  display:block;
  margin-bottom:76px;
  color:#dedede;
  font-family:var(--display);
  font-size:.9rem;
  letter-spacing:.15em;
}
.value-card h3 {
  position:relative;
  margin:0 0 18px;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(1.65rem,2.25vw,2.15rem);
  line-height:1.18;
}
.value-card p {
  position:relative;
  margin:0;
  color:var(--muted);
  line-height:1.82;
  font-size:.94rem;
}

.about-band {
  position:relative;
  min-height:610px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.04);
}
.about-band::before {
  content:"";
  position:absolute;
  inset:-8%;
  background:
    linear-gradient(90deg,rgba(8,8,8,.95),rgba(8,8,8,.46),rgba(8,8,8,.94)),
    url('assets/nebula.webp') center/cover;
  filter:grayscale(1) contrast(1.08) brightness(.65);
}
.about-band::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 48%,rgba(255,255,255,.04),transparent 34%),
    linear-gradient(to bottom,#080808,transparent 28%,transparent 72%,#080808);
}
.about-band-inner {
  position:relative;
  z-index:2;
  width:min(930px,calc(100% - 48px));
  text-align:center;
}
.about-band-inner p:last-child {
  max-width:730px;
  margin:32px auto 0;
  color:#b3b3b3;
  line-height:1.9;
  font-size:1rem;
}

.project-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.75fr);
  align-items:center;
  gap:clamp(50px,8vw,105px);
  padding:clamp(38px,6vw,72px);
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 80% 40%,rgba(255,255,255,.045),transparent 32%),
    linear-gradient(135deg,rgba(24,24,24,.9),rgba(8,8,8,.84));
  box-shadow:0 30px 90px rgba(0,0,0,.38);
  overflow:hidden;
}
.project-card::after {
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,255,255,.04);
  pointer-events:none;
}
.project-copy,.project-mark { position:relative; z-index:1; }
.project-copy h2 { font-size:clamp(2.65rem,4.7vw,4.9rem); }
.project-copy > p:not(.eyebrow) {
  max-width:620px;
  margin:28px 0 34px;
  color:var(--muted);
  line-height:1.9;
}
.project-mark img { width:100%; }

.about-page .btn-primary {
  background:linear-gradient(110deg,rgba(255,255,255,.10),rgba(255,255,255,.045));
  border-color:rgba(255,255,255,.38);
  box-shadow:inset 0 0 28px rgba(255,255,255,.025),0 0 24px rgba(255,255,255,.025);
}
.about-page .btn-primary::before {
  background:linear-gradient(100deg,rgba(255,255,255,.20),rgba(255,255,255,.10));
}
.about-page .site-footer { border-color:rgba(255,255,255,.12); }
.about-page .footer-brand { color:#c8c8c8; }
.about-page ::selection { background:rgba(255,255,255,.22); color:#fff; }

/* Japanese Studio-page titles:
   keep-all makes Japanese phrase chunks indivisible.
   The translations above provide intentional <br> locations. */
html[lang="ja"] .about-page h1,
html[lang="ja"] .about-page h2,
html[lang="ja"] .about-page h3 {
  word-break:keep-all;
  overflow-wrap:normal;
  line-break:strict;
  text-wrap:balance;
}

html[lang="ja"] .about-hero h1 {
  font-size:clamp(2.55rem,5.35vw,5.5rem);
  line-height:1.12;
  letter-spacing:-.035em;
}
html[lang="ja"] .about-section h2,
html[lang="ja"] .about-band h2 {
  font-size:clamp(2.2rem,4.2vw,4.25rem);
  line-height:1.16;
  letter-spacing:-.03em;
}
html[lang="ja"] .project-copy h2 {
  font-size:clamp(2.25rem,4.3vw,4.4rem);
  line-height:1.15;
}
html[lang="ja"] .value-card h3 {
  font-size:1.42rem;
  line-height:1.45;
  letter-spacing:-.01em;
}
html[lang="ja"] .about-lead,
html[lang="ja"] .about-copy p,
html[lang="ja"] .value-card p,
html[lang="ja"] .about-band-inner p:last-child,
html[lang="ja"] .project-copy > p:not(.eyebrow) {
  font-size:1rem;
  line-height:1.9;
  word-break:normal;
  line-break:strict;
}

@media (max-width:1050px) {
  .about-page .main-nav { gap:16px; font-size:.68rem; }
}

@media (max-width:900px) {
  .about-hero { min-height:680px; padding-top:130px; }
  .about-grid,.project-card { grid-template-columns:1fr; }
  .about-copy { padding-top:0; }
  .values-grid { grid-template-columns:1fr; }
  .value-card {
    min-height:0;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .value-card:last-child { border-bottom:0; }
  .value-number { margin-bottom:34px; }
  .project-mark { max-width:520px; margin:0 auto; }

  /* Mobile menu can use ordinary Japanese line breaking. */
  html[lang="ja"] .about-page .main-nav a { word-break:normal; }
}

@media (max-width:560px) {
  .about-section { width:min(100% - 36px,var(--max)); }
  .about-hero h1 { font-size:clamp(2.55rem,12.5vw,3.7rem); }
  .about-section h2,
  .about-band h2,
  .project-copy h2 { font-size:clamp(2rem,9.8vw,3.05rem); }
  .about-band-inner { width:calc(100% - 36px); }
  .project-card { padding:30px 22px; }

  html[lang="ja"] .about-hero h1 {
    font-size:clamp(2rem,9.8vw,3rem);
    line-height:1.18;
  }
  html[lang="ja"] .about-section h2,
  html[lang="ja"] .about-band h2,
  html[lang="ja"] .project-copy h2 {
    font-size:clamp(1.85rem,8.5vw,2.7rem);
    line-height:1.2;
  }
  html[lang="ja"] .value-card h3 {
    font-size:1.3rem;
  }
}


/* English Studio-page display typography:
   keep full words together and reduce orphaned single-word lines. */
html[lang="en"] .about-page h1,
html[lang="en"] .about-page h2,
html[lang="en"] .about-page h3 {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}


/* Studio-page logo sizing: larger hero mark, with header/footer adjustments. */
.about-page .studio-logo {
  width: 72px;
  height: 72px;
}

.about-page .about-logo {
  width: clamp(185px, 23vw, 300px);
  max-width: min(300px, 62vw);
  height: auto;
  margin: 0 auto 34px;
}

.about-page .footer-logo {
  width: 48px;
  height: 48px;
}

@media (max-width: 900px) {
  .about-page .studio-logo {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .about-page .about-logo {
    width: clamp(160px, 45vw, 220px);
    max-width: 62vw;
    margin-bottom: 30px;
  }

  .about-page .footer-logo {
    width: 44px;
    height: 44px;
  }
}
