:root {
  --ink: #080a16;
  --ink-2: #0d1022;
  --panel: #12162d;
  --panel-2: #181c38;
  --paper: #edf1ff;
  --muted: #9ea8c5;
  --line: #374061;
  --cyan: #59dff0;
  --violet: #9d7bff;
  --gold: #efc66f;
  --green: #79d7a0;
  --max: 1160px;
  --pixel: "MS Gothic", "Osaka-Mono", "Yu Gothic UI", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--ink);
  background-size: 8px 8px;
  font-family: var(--pixel);
  line-height: 1.75;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 99; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.07) 3px 4px);
  opacity: .55;
}
a { color: inherit; }
img { display: block; max-width: 100%; image-rendering: pixelated; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 200; left: 8px; top: -60px; padding: 8px 14px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 8px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; min-height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(8,10,22,.92); border-bottom: 2px solid var(--line);
}
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; letter-spacing: .08em; }
.wordmark b, .footer-logo span { color: var(--cyan); font-weight: inherit; }
.wordmark-mark { display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink); background: var(--cyan); border: 2px solid var(--paper); box-shadow: 4px 4px 0 #262d50; }
nav { display: flex; gap: 26px; overflow-x: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
nav a:hover, nav a:focus-visible { color: var(--cyan); }

.studio-hero {
  min-height: 100svh; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 122px 0 72px;
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(44px, 7vw, 92px); align-items: center;
}
.studio-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: 8%; top: 17%; border-radius: 50%; background: #202a62; filter: blur(110px); opacity: .34; }
.pixel-stars { position: absolute; inset: 80px 0 0; pointer-events: none; background-image: radial-gradient(#6979b8 1px, transparent 1px); background-size: 73px 61px; opacity: .34; }
.studio-copy, .studio-terminal { position: relative; z-index: 1; }
.kicker { margin: 0 0 15px; color: var(--cyan); font-size: .74rem; font-weight: 900; letter-spacing: .18em; }
.studio-copy h1, .section h2, .game-cta h2 { margin: 0; font-size: clamp(2.4rem, 4.7vw, 4.25rem); line-height: 1.25; letter-spacing: -.045em; }
.studio-copy h1 span { color: var(--gold); }
.studio-copy > p:not(.kicker) { margin: 28px 0 35px; max-width: 510px; color: var(--muted); }
.pixel-button { width: fit-content; display: flex; align-items: stretch; color: var(--paper); background: var(--panel-2); border: 2px solid var(--paper); box-shadow: 6px 6px 0 #30385d; text-decoration: none; font-weight: 900; }
.pixel-button span { padding: 11px 22px; }
.pixel-button i { display: grid; place-items: center; min-width: 46px; color: var(--ink); background: var(--cyan); border-left: 2px solid var(--paper); font-style: normal; }
.pixel-button:hover, .pixel-button:focus-visible { translate: 2px 2px; box-shadow: 4px 4px 0 #30385d; }
.studio-terminal { border: 3px solid #7d89b8; background: #050711; padding: 8px; box-shadow: 12px 12px 0 #161a35; }
.terminal-bar { display: flex; justify-content: space-between; padding: 5px 9px; color: var(--ink); background: #8c99c5; font-size: .67rem; font-weight: 900; }
.studio-terminal img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; filter: contrast(1.08) saturate(.85); }
.studio-terminal > p { margin: 8px 3px 1px; color: #8591b9; font-size: .68rem; letter-spacing: .12em; }
.studio-terminal > p span { color: var(--green); }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 116px 0; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 42px; color: #7f89ab; font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.section-label::after { content: ""; height: 2px; flex: 1; background: var(--line); }
.section-label span { color: var(--cyan); }
.section-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-intro p, .media-heading > p { margin: 0; color: var(--muted); }
.section-intro.compact { margin-bottom: 36px; }

.works-section { padding-top: 78px; }
.work-grid { display: grid; grid-template-columns: 1.55fr .65fr; gap: 26px; }
.work-grid.two-works { grid-template-columns: 1fr 1fr; }
.work-card { min-width: 0; display: flex; flex-direction: column; color: inherit; background: var(--panel); border: 2px solid var(--line); text-decoration: none; box-shadow: 8px 8px 0 #050611; }
.work-card.work-link:hover, .work-card.work-link:focus-visible { border-color: var(--cyan); translate: 0 -4px; }
.work-thumb { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; border-bottom: 2px solid var(--line); }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,20,.64), transparent 52%); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-state { position: absolute; z-index: 1; left: 14px; bottom: 14px; padding: 5px 9px; color: var(--gold); background: #0a0d1e; border: 1px solid var(--gold); font-size: .65rem; letter-spacing: .1em; }
.work-info { padding: 20px 22px 22px; }
.work-info > p { margin: 0 0 6px; color: var(--muted); font-size: .68rem; letter-spacing: .12em; }
.work-info img { width: min(410px, 80%); max-height: 90px; object-fit: contain; object-position: left center; }
.hero-work-card { --hero-accent: #ffc15d; }
.hero-work-card:hover, .hero-work-card:focus-visible { border-color: var(--hero-accent) !important; }
.hero-work-card .work-thumb img { object-position: center 48%; }
.hero-state { color: var(--hero-accent); border-color: var(--hero-accent); }
.hero-work-info { display: flex; min-height: 147px; flex-direction: column; }
.hero-work-info h3 { margin: 4px 0 0; color: #fff1cd; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.04em; }
.hero-work-info .card-link { margin-top: auto; color: var(--hero-accent); }
.card-link, .muted-link { display: block; margin-top: 10px; color: var(--cyan); font-size: .78rem; font-weight: 900; }
.card-link b { float: right; }
.standby-screen { min-height: 230px; flex: 1; display: grid; place-content: center; gap: 10px; text-align: center; color: #4e587a; background: radial-gradient(circle, #202746 0 1px, transparent 2px); background-size: 11px 11px; border-bottom: 2px solid var(--line); }
.standby-screen span { font-size: 4rem; line-height: 1; }
.standby-screen small { letter-spacing: .14em; }
.work-info h3 { margin: 20px 0 54px; font-size: 1.65rem; }
.muted-link { color: #67708f; }

.about-section { border-top: 2px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 130px); }
.about-copy > p { color: var(--muted); }
.about-copy dl { margin: 36px 0 0; border-top: 2px solid var(--line); }
.about-copy dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.about-copy dt { color: var(--cyan); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.about-copy dd { margin: 0; }
.support-panel { display: grid; grid-template-columns: .75fr 1fr; gap: 70px; padding: 42px; background: var(--panel); border: 2px solid var(--line); box-shadow: 8px 8px 0 #050611; }
.support-panel h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.support-panel > div:last-child { color: var(--muted); }
.status-line { color: var(--paper); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.status-line span { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--gold); box-shadow: 0 0 0 2px #5f4c29; }

footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 38px 0 50px; display: grid; grid-template-columns: 1fr auto; gap: 14px; border-top: 2px solid var(--line); color: var(--muted); font-size: .72rem; }
.footer-logo { color: var(--paper); font-weight: 900; letter-spacing: .1em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { text-decoration: none; }
footer > p { grid-column: 1 / -1; margin: 0; }

/* CounterGlyph */
.game-hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; padding: 126px max(20px, calc((100vw - var(--max)) / 2)) 9vh; }
.game-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,17,.98) 0%, rgba(5,7,17,.76) 43%, rgba(5,7,17,.12) 76%), linear-gradient(0deg, var(--ink), transparent 36%); }
.game-hero-grid { position: absolute; z-index: 1; inset: 0; background-image: linear-gradient(rgba(89,223,240,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(89,223,240,.045) 1px, transparent 1px); background-size: 16px 16px; }
.game-hero-copy { position: relative; z-index: 2; width: min(710px, 94vw); }
.game-logo { width: min(640px, 87vw); margin: 0 0 4px; filter: drop-shadow(4px 4px 0 rgba(0,0,0,.7)); }
.game-hero h1 { margin: 0 0 12px; color: var(--gold); font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.2; }
.game-hero-copy > p:not(.kicker) { color: #d2d8ed; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.game-tags span { padding: 5px 9px; color: #dbefff; background: #0c1229; border: 1px solid #536493; font-size: .68rem; }
.down-cue { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--max)) / 2)); bottom: 8vh; width: 42px; height: 42px; display: grid; place-items: center; color: var(--cyan); border: 2px solid var(--cyan); text-decoration: none; animation: bob 1.5s steps(2, end) infinite; }

.media-heading { display: grid; grid-template-columns: 1fr .6fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.op-player { padding: 8px; background: #03040b; border: 3px solid #59658c; box-shadow: 10px 10px 0 #04050e; }
.op-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #03040b; }
.op-frame { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.op-frame.is-active { opacity: 1; visibility: visible; }
.op-frame img { width: 100%; height: 100%; object-fit: cover; animation: drift 4s steps(24, end) both; }
.op-frame:first-child img { object-position: center; }
.op-frame figcaption { position: absolute; left: 3%; bottom: 5%; padding: 7px 11px; color: var(--paper); background: rgba(5,7,17,.82); border-left: 4px solid var(--cyan); font-size: clamp(.66rem, 1.6vw, .9rem); font-weight: 900; letter-spacing: .12em; }
.op-frame figcaption span { color: var(--cyan); margin-right: 10px; }
.op-scan { position: absolute; z-index: 4; left: 0; right: 0; top: -8%; height: 8%; background: rgba(120,224,255,.1); border-bottom: 1px solid rgba(120,224,255,.2); animation: scan 4s linear infinite; }
.op-controls { min-height: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 7px 8px 0; color: #98a5ca; font-size: .68rem; letter-spacing: .1em; }
.op-controls button { color: var(--paper); background: transparent; border: 0; cursor: pointer; font-weight: 900; }
.op-progress { height: 5px; background: #242b49; overflow: hidden; }
.op-progress i { display: block; width: 0; height: 100%; background: var(--cyan); animation: progress 4s linear infinite; }
.op-player.is-paused *, .op-player.is-paused .op-progress i { animation-play-state: paused !important; }

.concept-section { border-top: 2px solid var(--line); }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.concept-copy > p:last-child { color: var(--muted); }
.clash-demo { min-height: 280px; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; background: radial-gradient(circle, rgba(157,123,255,.18), transparent 58%); border: 2px solid var(--line); }
.clash-demo b { width: 90px; height: 90px; display: grid; place-items: center; rotate: 45deg; background: #222753; border: 3px solid var(--paper); box-shadow: 0 0 0 7px #6e5ab7; }
.clash-demo b::first-letter { rotate: -45deg; }
.bolt { position: absolute; top: 50%; width: 42%; height: 6px; color: var(--cyan); background: currentColor; box-shadow: 0 0 14px currentColor; }
.bolt::after { content: ""; position: absolute; top: 50%; width: 24px; height: 24px; translate: 0 -50%; rotate: 45deg; background: currentColor; box-shadow: 0 0 20px currentColor; }
.bolt.left { left: 0; }
.bolt.left::after { right: -4px; }
.bolt.right { right: 0; color: var(--violet); }
.bolt.right::after { left: -4px; }

.gallery-section { padding-top: 74px; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shot { min-width: 0; margin: 0; padding: 0; color: var(--paper); background: var(--panel); border: 2px solid var(--line); text-align: left; cursor: zoom-in; box-shadow: 6px 6px 0 #04050e; }
.shot:hover, .shot:focus-visible { border-color: var(--cyan); }
.shot-wide { grid-column: 1 / -1; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot span { display: block; padding: 10px 12px; }
.shot span b { color: var(--cyan); margin-right: 10px; }
.gallery-dialog { width: min(1080px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 10px; color: var(--paper); background: #050711; border: 3px solid #7d89b8; }
.gallery-dialog::backdrop { background: rgba(2,3,8,.88); }
.gallery-dialog img { width: 100%; }
.gallery-dialog button { position: absolute; right: 16px; top: 16px; z-index: 1; width: 42px; height: 42px; color: var(--paper); background: #0b0e20; border: 2px solid var(--paper); cursor: pointer; font-size: 1.3rem; }

.systems-section { border-top: 2px solid var(--line); }
.system-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--line); }
.system-grid li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 28px; border: solid var(--line); border-width: 0 2px 2px 0; }
.system-grid li:nth-child(2n) { border-right: 0; }
.system-grid li:nth-child(n+3) { border-bottom: 0; }
.system-grid > li > span { color: var(--cyan); font-weight: 900; }
.system-grid h3 { margin: 0 0 7px; }
.system-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.game-cta { padding: 110px max(20px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 50px; align-items: end; background: linear-gradient(90deg, rgba(8,10,22,.92), rgba(8,10,22,.4)), url("assets/arcane-library.png") center / cover; border-block: 3px solid var(--line); }
.game-cta h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.game-cta p:not(.kicker) { color: #ccd3e9; }

/* You are my hero! */
.hero-project-page {
  --hero-orange: #ffb64b;
  --hero-moon: #eaf6ff;
  --hero-ghost: #69e5ba;
  background-color: #06111f;
}
.hero-project-page .wordmark b, .hero-project-page .footer-logo span { color: var(--hero-orange); }
.hero-project-page .wordmark-mark { background: var(--hero-orange); }
.hero-project-page nav a:hover, .hero-project-page nav a:focus-visible { color: var(--hero-orange); }
.hero-project-hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 126px max(20px, calc((100vw - var(--max)) / 2)) 9vh; }
.hero-project-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; image-rendering: auto; }
.hero-project-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,18,.94) 0%, rgba(3,9,18,.62) 37%, rgba(3,9,18,.08) 67%), linear-gradient(0deg, #06111f 0%, transparent 36%); }
.hero-project-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 12px 12px; }
.hero-project-copy { position: relative; z-index: 2; width: min(640px, 90vw); }
.hero-project-copy .kicker { color: var(--hero-ghost); }
.hero-project-copy h1 { margin: 0; font-size: clamp(3.4rem, 8.5vw, 7.8rem); line-height: .82; letter-spacing: -.075em; text-shadow: 5px 5px 0 rgba(2,7,14,.72); }
.hero-project-copy h1 span { color: var(--hero-orange); }
.hero-project-lead { margin: 32px 0 0; color: var(--hero-moon); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 900; line-height: 1.45; letter-spacing: .06em; }
.hero-down-cue { color: var(--hero-orange); border-color: var(--hero-orange); }
.hero-visual-section { padding-bottom: 82px; }
.hero-project-page .section-label span, .hero-project-page .kicker { color: var(--hero-ghost); }
.hero-key-art { margin: 0; padding: 8px; background: #020810; border: 3px solid #4f6680; box-shadow: 10px 10px 0 #020710; }
.hero-key-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: auto; }
.hero-key-art figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 11px 8px 3px; color: #b9c9dc; font-size: .7rem; letter-spacing: .12em; }
.hero-key-art figcaption span { color: var(--hero-orange); font-weight: 900; }
.hero-about-section { border-top: 2px solid var(--line); }
.hero-about-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(50px, 10vw, 130px); }
.hero-project-status > p { margin-top: 0; color: var(--muted); }
.hero-project-status dl { margin: 34px 0 0; border-top: 2px solid var(--line); }
.hero-project-status dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 2px solid var(--line); }
.hero-project-status dt { color: var(--hero-ghost); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.hero-project-status dd { margin: 0; }
.hero-project-cta { min-height: 390px; padding: 100px max(20px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: end; gap: 50px; background: linear-gradient(90deg, rgba(4,12,23,.96), rgba(4,12,23,.42)), url("assets/you-are-my-hero-key-art.png") center 48% / cover; border-block: 3px solid var(--line); }
.hero-project-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); }
.hero-project-page .pixel-button i { background: var(--hero-orange); }

/* Legal */
.legal-page { background-color: var(--ink); }
.legal-wrap { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 140px 0 100px; }
.legal-wrap h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.updated { color: var(--muted); }
.language-switcher { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 42px; }
.language-switcher button {
  min-width: 108px;
  min-height: 42px;
  padding: 9px 16px;
  color: #aeb8d2;
  background: #10152a;
  border: 2px solid var(--line);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.language-switcher button:hover,
.language-switcher button:focus-visible { color: #fff; border-color: var(--cyan); }
.language-switcher button[aria-pressed="true"] { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.policy-language { min-width: 0; }
.policy-language h1,
.policy-language h2,
.policy-language p,
.policy-language li,
.policy-language a { overflow-wrap: anywhere; word-break: normal; }
.policy-language[hidden] { display: none; }
.draft-notice { margin: 38px 0 58px; padding: 16px; color: #ffe5a4; background: #312813; border: 2px solid #866b32; }
.legal-wrap section { padding: 28px 0; border-top: 2px solid var(--line); }
.legal-wrap h2 { margin: 0 0 10px; font-size: 1.3rem; }
.legal-wrap p, .legal-wrap li { color: #bcc5df; }
.legal-wrap a { color: var(--cyan); }
code { color: #d7bdff; }

@keyframes drift { from { scale: 1.02; } to { scale: 1.07; } }
@keyframes scan { from { top: -8%; } to { top: 108%; } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 5px; } }

@media (max-width: 780px) {
  .site-header { min-height: 58px; padding: 8px 14px; }
  .wordmark { font-size: .77rem; }
  .wordmark-mark { width: 28px; height: 28px; }
  nav { gap: 15px; }
  nav a { font-size: .66rem; }
  .studio-hero { grid-template-columns: 1fr; padding-top: 100px; }
  .studio-copy { padding-top: 26px; }
  .studio-terminal { order: -1; }
  .section { padding: 82px 0; }
  .section-label { margin-bottom: 30px; }
  .section-intro, .media-heading, .about-grid, .concept-grid, .support-panel, .hero-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .standby-screen { min-height: 160px; }
  .game-hero { padding-bottom: 11vh; }
  .game-hero::after { background: linear-gradient(90deg, rgba(5,7,17,.92), rgba(5,7,17,.3)), linear-gradient(0deg, var(--ink), transparent 45%); }
  .game-hero-copy { width: 100%; }
  .game-logo { width: 88%; max-width: 88%; }
  .game-hero h1 { font-size: 1.85rem; }
  .down-cue { bottom: 4vh; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; }
  .system-grid { grid-template-columns: 1fr; }
  .system-grid li { border-width: 0 0 2px; }
  .system-grid li:nth-child(2n) { border-right: 0; }
  .system-grid li:nth-child(3) { border-bottom: 2px solid var(--line); }
  .game-cta { display: grid; align-items: start; }
  .hero-project-hero { min-height: 82svh; padding-bottom: 8vh; }
  .hero-project-bg { object-position: 48% center; }
  .hero-project-shade { background: linear-gradient(90deg, rgba(3,9,18,.9), rgba(3,9,18,.22)), linear-gradient(0deg, #06111f 0%, transparent 50%); }
  .hero-project-copy h1 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .hero-key-art figcaption { flex-direction: column; gap: 2px; }
  .hero-project-cta { display: grid; align-items: start; }
  footer { grid-template-columns: 1fr; }
  footer > p { grid-column: auto; }
}

@media (max-width: 520px) {
  .legal-page .site-header { gap: 10px; }
  .legal-page .wordmark > span:last-child { display: none; }
  .legal-page nav { gap: 8px; overflow: visible; }
  .legal-page nav a { font-size: .58rem; letter-spacing: .08em; }
  .legal-wrap { width: min(860px, calc(100% - 32px)); }
  .language-switcher button { flex: 1 1 88px; min-width: 0; padding-inline: 8px; }
  .policy-language h1 { line-height: 1.25; }
  .policy-language h2 { font-size: 1.12rem; line-height: 1.55; }
}

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

/* Simple studio home */
.simple-home {
  min-height: 100svh;
  color: #f4f1e8;
  background: #0b0d12;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.65;
}
.simple-home::before { display: none; }
.simple-header,
.simple-main,
.simple-footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.simple-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #2b303a;
}
.simple-brand { color: #f4f1e8; text-decoration: none; font-size: .95rem; font-weight: 800; letter-spacing: .08em; }
.simple-brand span { color: #74dce8; }
.simple-header nav { gap: 28px; }
.simple-header nav a { color: #a9afbc; font-size: .72rem; letter-spacing: .14em; }
.simple-header nav a:hover,
.simple-header nav a:focus-visible { color: #f4f1e8; }
.simple-intro { padding: clamp(78px, 12vw, 150px) 0 clamp(76px, 11vw, 132px); }
.simple-intro > p { margin: 0 0 18px; color: #74dce8; font-size: .7rem; font-weight: 800; letter-spacing: .17em; }
.simple-intro h1 { max-width: 760px; margin: 0; font-size: clamp(3rem, 8vw, 7.2rem); line-height: 1.03; letter-spacing: -.07em; }
.simple-intro > span { display: block; margin-top: 26px; color: #8e95a3; font-size: .88rem; }
.simple-works { padding: 0 0 clamp(88px, 12vw, 150px); }
.simple-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid #2b303a; }
.simple-heading h2 { margin: 0 0 13px; font-size: 1.35rem; letter-spacing: -.02em; }
.simple-heading p { margin: 0 0 14px; color: #858c9a; font-size: .78rem; }
.simple-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.simple-work-card { overflow: hidden; color: inherit; background: #11151d; border: 1px solid #2b303a; text-decoration: none; transition: border-color .18s ease, translate .18s ease; }
.simple-work-card:hover,
.simple-work-card:focus-visible { translate: 0 -3px; border-color: #747d8d; }
.simple-work-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: auto; }
.simple-work-card:first-child > img { object-position: 57% center; }
.simple-work-card > div { padding: 22px 24px 25px; }
.simple-work-card small { color: #74dce8; font-size: .66rem; font-weight: 800; letter-spacing: .13em; }
.simple-work-card h3 { margin: 8px 0 4px; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.045em; }
.simple-work-card p { margin: 0; color: #a9afbc; font-size: .9rem; }
.simple-work-card span { display: block; margin-top: 20px; color: #f4f1e8; font-size: .78rem; font-weight: 700; }
.simple-contact { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 46px 0; border-block: 1px solid #2b303a; }
.simple-contact h2 { margin: 0 0 7px; font-size: 1.35rem; }
.simple-contact p { margin: 0; color: #8e95a3; font-size: .88rem; }
.simple-contact > a { color: #c6ccd7; font-size: .78rem; white-space: nowrap; }
.simple-footer { display: flex; justify-content: space-between; gap: 20px; padding: 32px 0 48px; color: #686f7c; font-size: .72rem; }
.simple-footer strong { color: #a9afbc; letter-spacing: .05em; }

@media (max-width: 700px) {
  .simple-header,
  .simple-main,
  .simple-footer { width: min(100% - 28px, 1120px); }
  .simple-header { min-height: 68px; }
  .simple-header nav { gap: 16px; }
  .simple-intro { padding-block: 72px 82px; }
  .simple-intro h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .simple-work-grid { grid-template-columns: 1fr; gap: 20px; }
  .simple-work-card > div { padding: 18px 18px 21px; }
  .simple-contact { align-items: start; flex-direction: column; gap: 22px; }
}

/* Minimal CounterGlyph page */
.cg-minimal-page {
  min-height: 100svh;
  color: #f4f1e8;
  background: #0b0d12;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
}
.cg-minimal-page::before { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.cg-minimal-main { padding: clamp(44px, 7vw, 84px) 0 clamp(72px, 10vw, 120px); }
.cg-minimal-title {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 57% center;
  border: 1px solid #2b303a;
  image-rendering: auto;
}
.cg-minimal-main video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(34px, 6vw, 70px);
  background: #05070c;
  border: 1px solid #2b303a;
}
.cg-minimal-page .simple-footer a { color: inherit; text-decoration: none; }
.cg-minimal-page .simple-footer a:hover,
.cg-minimal-page .simple-footer a:focus-visible { color: #f4f1e8; }

@media (max-width: 700px) {
  .cg-minimal-main { padding-top: 28px; }
  .cg-minimal-page .simple-footer { flex-direction: column; }
}
