:root {
  --bg: #000;
  --bg-2: #05080d;
  --panel: rgba(10, 18, 30, .55);
  --line: rgba(140, 190, 255, .14);
  --line-2: rgba(140, 190, 255, .32);
  --text: #e8eef6;
  --muted: #8794a6;
  --dim: #56616f;
  --glow: #bfe2ff;
  --blue: #4da3ff;
  --blue-deep: #1b5fd1;
  --red: #d0283a;
  --max: 1180px;
  --en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --shadow-glow: 0 0 8px rgba(120, 190, 255, .55), 0 0 28px rgba(60, 140, 255, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--jp); font-weight: 300; line-height: 2; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* faint film grain + vignette */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; position: relative; }
.en { font-family: var(--en); }
.glow { color: var(--glow); text-shadow: var(--shadow-glow); }

/* ---------- intro (opening logo) ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; transition: opacity 1s ease, visibility 1s; }
.intro video { width: min(960px, 100%); }
.intro.done { opacity: 0; visibility: hidden; }
.intro .skip { position: absolute; right: 24px; bottom: 24px; font: 400 11px var(--en); letter-spacing: .4em; color: var(--muted); background: none; border: 0; cursor: pointer; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 4vw, 48px);
  transition: background .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(10px); border-color: var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; font-family: var(--en); }
.brand b { font-weight: 600; font-size: 20px; letter-spacing: .08em; color: var(--blue); text-shadow: 0 0 14px rgba(77, 163, 255, .6); }
.brand span { font-weight: 300; font-size: 15px; letter-spacing: .28em; }
.nav { display: flex; gap: clamp(16px, 3vw, 40px); align-items: center; }
.nav a { font: 400 11px var(--en); letter-spacing: .32em; text-decoration: none; color: var(--muted); position: relative; padding: 4px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--glow); box-shadow: var(--shadow-glow); transition: right .35s; }
.nav a:hover, .nav a.active { color: var(--glow); }
.nav a:hover::after { right: 0; }

/* ---------- common UI ---------- */
section { position: relative; padding: clamp(96px, 13vw, 168px) 0; }
.sec-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.idx { font: 300 12px var(--en); letter-spacing: .4em; color: var(--blue); }
.sec-title { font: 200 clamp(36px, 6vw, 72px)/1.05 var(--en); letter-spacing: .12em; margin: 8px 0 0; color: var(--glow); text-shadow: var(--shadow-glow); }
.sec-sub { font-size: 13px; letter-spacing: .3em; color: var(--muted); margin: 10px 0 0; }
.sec-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); margin-bottom: 14px; }
.kicker { font: 300 11px var(--en); letter-spacing: .45em; color: var(--muted); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--blue); box-shadow: var(--shadow-glow); }
.lead { font-size: clamp(22px, 3.2vw, 36px); font-weight: 300; line-height: 1.7; letter-spacing: .1em; margin: 0 0 32px; color: var(--glow); text-shadow: 0 0 18px rgba(100, 170, 255, .35); }
.body-text p { color: #c2cbd6; margin: 0 0 1.2em; }
.side-label { position: absolute; right: clamp(16px, 4vw, 48px); bottom: 48px; font: 300 10px/2.2 var(--en); letter-spacing: .4em; color: var(--dim); text-align: left; border-left: 1px solid var(--line-2); padding-left: 14px; }

/* frame corners (near-future UI) */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--glow); opacity: .7; pointer-events: none; z-index: 2; }
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* circle-arrow button */
.cta { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font: 400 11px var(--en); letter-spacing: .38em; color: var(--text); padding: 0; background: none; border: 0; cursor: pointer; }
.cta .ring { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .3s, box-shadow .3s, transform .3s; }
.cta .ring svg { width: 16px; height: 16px; stroke: var(--glow); fill: none; stroke-width: 1.2; }
.cta:hover .ring { border-color: var(--glow); box-shadow: var(--shadow-glow); transform: translateX(4px); }
.cta .line { width: 56px; height: 1px; background: var(--line-2); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { isolation: isolate; min-height: 100svh; display: grid; place-items: center start; text-align: left; position: relative; overflow: hidden; padding: 120px 16px 96px; }
.hero .inner { position: relative; margin-left: clamp(0px, 7vw, 140px); width: min(560px, 100%); }
.hero .inner .cta { margin-left: 0; }
/* faint key character behind the logo */
.hero-char { position:absolute; z-index:-2; right:0; top:0; bottom:0; width:68%;
  background:url("/assets/img/reverse/shion_hero.webp") 30% 22% / cover no-repeat; opacity:.6;
  filter:saturate(.95) contrast(1.08);
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 30%); -webkit-mask-composite: source-in;
  mask-image:linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to top, transparent 0, #000 30%); mask-composite: intersect;
  animation: charIn 2.4s ease-out both .4s; }
@keyframes charIn { from { opacity: 0; transform: translateX(30px); } to { opacity: .6; transform: none; } }
.logo-wrap { position: relative; width: min(460px, 78vw); margin: 0; }
/* ripple centred on the drip point just below the logo */
.hero .ripple {
  position: absolute; left: 50%; top: 116%; z-index: -1; width: max(1300px, 240%); aspect-ratio: 794 / 529;
  translate: -50% -52%; background: url("/assets/img/brand/ripple.jpg") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 45%, transparent 75%); mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 45%, transparent 75%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(.8); } 50% { transform: scale(1.05); filter: brightness(1.1); } }
.hero .logo { position: relative; width: 100%; filter: drop-shadow(0 0 18px rgba(90, 160, 255, .5)); }
.hero h1 { position: relative; font-weight: 300; font-size: clamp(16px, 2.2vw, 24px); letter-spacing: .3em; line-height: 2.1; margin: clamp(110px, 16vh, 170px) 0 40px; color: var(--glow); text-shadow: 0 0 10px #000, 0 0 24px #000, var(--shadow-glow); }
.scroll-hint { position: absolute; left: clamp(16px, 4vw, 48px); bottom: 40px; font: 300 10px var(--en); letter-spacing: .4em; color: var(--muted); writing-mode: vertical-rl; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 64px; margin: 14px auto 0; background: linear-gradient(var(--glow), transparent); animation: drip 2.4s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- philosophy ---------- */
.philosophy { text-align: center; }
.philosophy .body-text p { margin: 0 0 .4em; }
.motto { font: 200 clamp(28px, 5vw, 56px) var(--en); letter-spacing: .4em; margin: 72px 0 0; color: var(--glow); text-shadow: var(--shadow-glow); padding-left: .4em; }

/* ---------- featured ---------- */
.featured { min-height: 92svh; display: flex; align-items: center; overflow: hidden; border-block: 1px solid var(--line); }
.featured .bg { position: absolute; inset: 0; background: center / cover no-repeat; filter: brightness(.5) contrast(1.1); }
.featured .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 8%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .1)), linear-gradient(0deg, #000, transparent 30%), linear-gradient(180deg, #000, transparent 25%); }
.featured .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.game-logo { width: min(460px, 90%); margin: 6px 0 20px -6px; filter: drop-shadow(0 0 18px rgba(120, 180, 255, .35)); }
.game-sub { width: min(420px, 90%); opacity: .9; margin-bottom: 28px; }
.meta-list { display: flex; gap: 0; font: 300 11px var(--en); letter-spacing: .3em; color: var(--muted); margin: 0 0 40px; padding: 0; list-style: none; }
.meta-list li { padding: 0 18px; border-left: 1px solid var(--line-2); }
.meta-list li:first-child { padding-left: 0; border: 0; }
.play-btn { justify-self: end; display: grid; place-items: center; gap: 18px; background: none; border: 0; color: var(--text); cursor: pointer; font: 300 11px var(--en); letter-spacing: .4em; }
.play-btn .disc { width: 112px; height: 112px; border-radius: 50%; border: 1px solid var(--glow); display: grid; place-items: center; box-shadow: var(--shadow-glow), inset 0 0 24px rgba(80, 160, 255, .25); position: relative; transition: transform .4s; }
.play-btn .disc::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--line-2); animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play-btn svg { width: 28px; height: 28px; fill: var(--glow); margin-left: 5px; }
.play-btn:hover .disc { transform: scale(1.06); }

/* ---------- game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--bg-2); display: flex; align-items: flex-end; }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); transition: transform 1s, filter .6s; }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .95), transparent 60%); }
.gcard:hover img { transform: scale(1.05); filter: brightness(.8) saturate(1); }
.gcard:hover { border-color: var(--line-2); box-shadow: 0 0 40px rgba(60, 140, 255, .15); }
.gcard .info { position: relative; z-index: 1; padding: 28px; width: 100%; }
.gcard .no { font: 300 11px var(--en); letter-spacing: .4em; color: var(--blue); }
.gcard h3 { font: 200 30px var(--en); letter-spacing: .16em; margin: 6px 0 4px; color: var(--glow); text-shadow: var(--shadow-glow); }
.gcard p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.gcard .status { display: flex; justify-content: space-between; font: 300 10px var(--en); letter-spacing: .3em; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.gcard .status b { font-weight: 400; color: var(--glow); }
.gcard.concept { border-style: dashed; }
.gcard.concept .info { display: flex; flex-direction: column; justify-content: center; height: 100%; text-align: center; }

/* ---------- approach / vision ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split .visual { display: grid; gap: 18px; }
.split .visual figure { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.split .visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75) saturate(.8); transition: transform 1.2s, filter .6s; }
.split .visual figure:hover img { transform: scale(1.04); filter: brightness(.9) saturate(.9); }
.split .visual figcaption { position: absolute; left: 14px; bottom: 10px; font: 300 10px var(--en); letter-spacing: .4em; color: var(--glow); text-shadow: 0 0 8px #000; }
.split .visual figcaption b { color: var(--blue); font-weight: 400; margin-right: 10px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.pillars div { background: #000; padding: 22px 18px; }
.pillars b { display: block; font: 300 11px var(--en); letter-spacing: .35em; color: var(--blue); margin-bottom: 6px; }
.pillars span { font-size: 13px; color: var(--muted); }
.vision { text-align: center; overflow: hidden; position: relative; padding-bottom: clamp(220px, 26vw, 360px); }
.vision .stars { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 22%, #cfe6ff, transparent), radial-gradient(1px 1px at 28% 68%, #9cc8ff, transparent), radial-gradient(1px 1px at 46% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 40%, #9cc8ff, transparent), radial-gradient(1px 1px at 78% 18%, #cfe6ff, transparent), radial-gradient(1px 1px at 88% 58%, #fff, transparent), radial-gradient(1.5px 1.5px at 6% 52%, #fff, transparent), radial-gradient(1px 1px at 36% 38%, #cfe6ff, transparent), radial-gradient(1.5px 1.5px at 70% 75%, #9cc8ff, transparent), radial-gradient(1px 1px at 94% 30%, #cfe6ff, transparent);
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .2; } }
.vision .planet { position: absolute; left: 50%; bottom: calc(-1 * min(150vw, 2200px) + clamp(150px, 18vw, 260px)); width: min(150vw, 2200px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(40,90,170,.55), rgba(5,15,35,.95) 18%, #000 40%);
  box-shadow: 0 0 0 1px rgba(190,226,255,.55), 0 -10px 40px rgba(110,180,255,.45), 0 -40px 160px rgba(60,130,255,.35), inset 0 18px 60px rgba(120,190,255,.25); }
.vision .planet::before { content: ""; position: absolute; left: 50%; top: -2px; width: 30%; height: 3px; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse, #fff, rgba(190,226,255,.6) 40%, transparent 70%); filter: blur(1px); box-shadow: 0 0 40px 10px rgba(140,200,255,.45); animation: dawn 5s ease-in-out infinite alternate; }
@keyframes dawn { from { width: 22%; opacity: .7; } to { width: 36%; opacity: 1; } }
.vision .wrap { position: relative; }
.vision .sec-title { font-size: clamp(56px, 9vw, 120px) !important; letter-spacing: .2em; }
.vision .body-text { max-width: 640px; margin: 0 auto; }
.vision .quote { font: 200 clamp(14px, 1.6vw, 16px) var(--en); letter-spacing: .5em; color: var(--muted); margin-top: 56px; }

/* ---------- contact / footer ---------- */
.contact { text-align: center; border-top: 1px solid var(--line); }
.mail { display: inline-flex; align-items: center; gap: 16px; font: 200 clamp(20px, 3.4vw, 34px) var(--en); letter-spacing: .12em; text-decoration: none; color: var(--glow); text-shadow: var(--shadow-glow); padding: 18px 32px; border: 1px solid var(--line-2); transition: background .3s, box-shadow .3s; }
.mail:hover { background: rgba(60, 140, 255, .08); box-shadow: 0 0 40px rgba(60, 140, 255, .2); }
.site-footer { border-top: 1px solid var(--line); padding: 40px clamp(16px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer nav a, .site-footer small { font: 300 10px var(--en); letter-spacing: .3em; color: var(--dim); text-decoration: none; }
.site-footer nav a:hover { color: var(--glow); }

/* ---------- modal (trailer) / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .94); display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal video, .modal img { width: min(1200px, 100%); max-height: 88vh; object-fit: contain; }
.modal .close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: var(--glow); font: 200 34px var(--en); cursor: pointer; line-height: 1; }

/* ===== game detail pages ===== */
.g-hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; padding: 0 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.g-hero .bg { position: absolute; inset: 0; background: center / cover no-repeat; filter: brightness(.55) contrast(1.08); }
.g-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 3%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, .55)), linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 60%); }
.g-title { font: 200 clamp(56px, 12vw, 148px)/1 var(--en); letter-spacing: .14em; margin: 0; color: var(--glow); text-shadow: var(--shadow-glow); }
.g-tag { font-size: clamp(16px, 2.2vw, 22px); letter-spacing: .2em; margin: 20px 0 36px; color: #d5e3f2; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.story-grid strong { color: var(--glow); font-weight: 400; text-shadow: var(--shadow-glow); }
.story-grid .accent-red { color: #ff7a88; text-shadow: 0 0 14px rgba(208, 40, 58, .6); }
.trailer-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.trailer-box video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.branch { position: relative; max-width: 1000px; margin: 0 auto; }
.branch .origin { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.branch .origin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 6px rgba(77,163,255,.15), 0 0 24px var(--blue); animation: pulse 2.6s ease-in-out infinite; }
.branch .origin b { font: 300 11px var(--en); letter-spacing: .5em; color: var(--glow); margin-top: 8px; }
.branch .origin small { font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.branch-lines { display: block; width: 66.6%; height: 56px; margin: 14px auto 0; overflow: visible; }
.branch-lines path { fill: none; stroke: rgba(140,190,255,.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.choice { position: relative; padding: 44px 26px 36px; text-align: center; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,40,70,.35), rgba(0,0,0,.6)); transition: border-color .4s, transform .4s, box-shadow .4s; }
.choice::before { content: ""; position: absolute; top: -1px; left: 50%; width: 40%; height: 1px; translate: -50% 0; background: linear-gradient(90deg, transparent, var(--glow), transparent); }
.choice:hover { border-color: rgba(140,190,255,.45); transform: translateY(-4px); box-shadow: 0 10px 40px rgba(40,110,220,.18); }
.choice .emblem { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 1px solid rgba(140,190,255,.35); box-shadow: inset 0 0 20px rgba(77,163,255,.18), 0 0 24px rgba(77,163,255,.12); }
.choice .emblem::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(140,190,255,.25); animation: spin 24s linear infinite; }
.choice .emblem span { font: 200 30px/1 var(--en); color: var(--glow); text-shadow: 0 0 14px var(--blue); }
.choice.c-b { border-color: rgba(140,190,255,.32); background: linear-gradient(180deg, rgba(30,70,130,.4), rgba(0,0,0,.6)); }
.choice.c-c .emblem { border-color: rgba(208,40,58,.45); box-shadow: inset 0 0 20px rgba(208,40,58,.18), 0 0 24px rgba(208,40,58,.12); }
.choice.c-c .emblem span { text-shadow: 0 0 14px var(--red); }
.choice.c-c .en-l { color: #ff6b7a; }
@keyframes spin { to { transform: rotate(360deg); } }
.choice h4 { margin: 10px 0 0; font-size: 22px; font-weight: 300; letter-spacing: .3em; color: var(--glow); }
.choice .en-l { font: 300 10px var(--en); letter-spacing: .5em; color: var(--blue); }
.choice p { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.endings { text-align: center; padding-top: 40px; }
.end-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 36px 0 40px; }
.end { font: 300 10px var(--en); letter-spacing: .35em; color: var(--muted); border: 1px solid var(--line); padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 110px; }
.end b { font: 200 24px/1 var(--en); color: var(--glow); letter-spacing: 0; }
.end.last { border-color: rgba(208,40,58,.5); color: #ff8a96; box-shadow: 0 0 30px rgba(208,40,58,.2); }
.end.last b { color: #fff; text-shadow: 0 0 16px var(--red); }
.end-row .arrow { width: 40px; height: 1px; background: linear-gradient(90deg, var(--line), var(--red)); }
.decide { margin: 44px 0 0; font: 200 clamp(20px,3vw,30px)/1.8 var(--jp); letter-spacing: .2em; color: var(--glow); text-shadow: var(--shadow-glow); }
.decide span { color: #fff; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #000; padding: 32px 28px; }
.feature .no { font: 300 11px var(--en); letter-spacing: .4em; color: var(--blue); }
.feature h4 { margin: 8px 0 8px; font-size: 18px; font-weight: 400; letter-spacing: .08em; color: var(--glow); }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery button { padding: 0; border: 1px solid var(--line); background: none; cursor: zoom-in; aspect-ratio: 16 / 9; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform .6s, filter .6s; }
.gallery button:hover img { transform: scale(1.04); filter: none; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 18px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 30%; color: var(--muted); font: 300 11px var(--en); letter-spacing: .35em; padding-top: 22px; }
.chars { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.party { image-rendering: pixelated; width: 100%; max-width: 360px; margin-inline: auto; }

@media (max-width: 860px) {
  .site-header { height: 60px; }
  .nav { gap: 14px; }
  .nav a { letter-spacing: .14em; font-size: 10px; }
  .nav a.hide-sm { display: none; }
  .featured .wrap, .split, .story-grid, .chars { grid-template-columns: 1fr; }
  .play-btn { justify-self: start; }
  .games-grid { grid-template-columns: 1fr; }
  .gcard { aspect-ratio: 16 / 10; }
  .choices, .features, .pillars { grid-template-columns: 1fr; }
  .branch-lines { display: none; }
  .branch .origin { margin-bottom: 24px; }
  .end-row .arrow { width: 1px; height: 24px; flex-basis: 100%; max-width: 1px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .side-label { display: none; }
  .hero { place-items: center; text-align: center; }
  .hero .inner { margin-left: 0; }
  .logo-wrap { margin: 0 auto; }
  .hero-char { width:100%; background-position:35% 20%; opacity:.45; -webkit-mask-image:linear-gradient(to top, transparent 0, #000 35%); mask-image:linear-gradient(to top, transparent 0, #000 35%); }
  @keyframes charIn { from { opacity: 0; } to { opacity: .45; } }
  .sec-head { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
