/* ReSeorch.AI site, 2026-12-04 design pass on the 12-03 retro look. Built by weplaygame-site/build_site.py, which fills
   the font, image and cloud-edge placeholders. Rules kept on purpose (site-rework tools/antislop_check.py): five colour values,
   four type sizes (17, 22, 33 and the display size up to 88), weights 400 and 700, no shadows, borders only on form
   fields, outlines only on :focus. Tints come from opacity, pixel frames from layered backgrounds, motion from
   transform and opacity only. */
@font-face { font-family: "Galmuri11"; src: url("/assets/site/fonts/galmuri11-400.woff2?v=0c7c3cdfe5") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Galmuri11"; src: url("/assets/site/fonts/galmuri11-700.woff2?v=f08310d0db") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Plex KR"; src: url("/assets/site/fonts/plexkr-400.woff2?v=6eb2b44937") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex KR"; src: url("/assets/site/fonts/plexkr-700.woff2?v=0b21221d8b") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #15121c;
  --night: #0f2a2e;
  --paper: #f3fbf8;
  --mint: #bdf2e8;
  --amber: #ffd23f;
  --pixel: "Galmuri11", "Plex KR", system-ui, sans-serif;
  --body: "Plex KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --bd: var(--paper);
  --line: var(--ink);
  --fill: var(--mint);
  --shade: var(--ink);
  --s: 0px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.75 var(--body); word-break: keep-all; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bar :focus-visible, .screen :focus-visible, .slot :focus-visible { outline: 3px solid var(--amber); }
p, li, dd { overflow-wrap: anywhere; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: var(--ink); padding: 8px 12px; font-family: var(--pixel); }
.skip:focus { top: 12px; }
section[id], .anchor { scroll-margin-top: 64px; }
.anchor { scroll-margin-top: 88px; }
@media (max-width: 760px) { section[id], .anchor { scroll-margin-top: 100px; } }
.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

/* ---------- pixel frame: a 4px line with stepped corners and a hard offset block, all background layers ---------- */
.btn, .dialog, .slot, .doc-meta, .tv-pic, .bubble > span, .form-privacy {
  background:
    linear-gradient(var(--bd), var(--bd)) 0 0 / 4px 4px no-repeat,
    linear-gradient(var(--bd), var(--bd)) calc(100% - var(--s)) 0 / 4px 4px no-repeat,
    linear-gradient(var(--bd), var(--bd)) 0 calc(100% - var(--s)) / 4px 4px no-repeat,
    linear-gradient(var(--shade), var(--shade)) calc(100% - var(--s)) calc(100% - var(--s)) / 4px 4px no-repeat,
    linear-gradient(var(--line), var(--line)) 4px 4px / 4px 4px no-repeat,
    linear-gradient(var(--line), var(--line)) calc(100% - var(--s) - 4px) 4px / 4px 4px no-repeat,
    linear-gradient(var(--line), var(--line)) 4px calc(100% - var(--s) - 4px) / 4px 4px no-repeat,
    linear-gradient(var(--line), var(--line)) calc(100% - var(--s) - 4px) calc(100% - var(--s) - 4px) / 4px 4px no-repeat,
    linear-gradient(var(--fill), var(--fill)) 4px 4px / calc(100% - var(--s) - 8px) calc(100% - var(--s) - 8px) no-repeat,
    linear-gradient(var(--line), var(--line)) 0 0 / calc(100% - var(--s)) calc(100% - var(--s)) no-repeat,
    linear-gradient(var(--shade), var(--shade)) 100% 100% / calc(100% - var(--s)) calc(100% - var(--s)) no-repeat;
}

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--paper); }
.bar-in { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font: 700 22px/1 var(--pixel); white-space: nowrap; -webkit-font-smoothing: none; }
.brand:hover { color: var(--mint); }
.brand img { width: 36px; height: 36px; image-rendering: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 10px 10px; color: var(--paper); text-decoration: none; font: 400 17px/1 var(--pixel); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--mint); }
@media (max-width: 760px) {
  .bar-in { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { width: calc(100% + 40px); margin: 6px -20px 0; padding: 0 14px 8px; }
}

/* ---------- night screen (hero) ---------- */
.screen { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--paper);
  --bd: var(--night); --line: var(--mint); --fill: var(--ink); --shade: var(--ink); }
.screen::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .28;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 4px); }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .7;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, var(--ink)); }
.hero { padding: 28px 0 92px; }
.hero-in { position: relative; z-index: 2; display: grid; gap: 36px; align-items: center; }
.hero-text { min-width: 0; }
.hero-badge { animation: rise .4s steps(4, end) 1.25s both; }

/* the pixel title: letters step in, then the offset copy lands under them */
.title { position: relative; isolation: isolate; margin: 0; color: var(--paper); font: 700 88px/1.18 var(--pixel); font-size: clamp(44px, 4.6vw, 88px); -webkit-font-smoothing: none; }
.title::before { content: attr(data-t); position: absolute; left: 0; top: 0; z-index: -1; width: 100%; white-space: pre-line; color: var(--mint); opacity: .42;
  transform: translate(.0909em, .0909em); animation: land .01s steps(1, end) .95s both; }
.title .alt { color: var(--mint); }
.title .l { display: inline-block; white-space: pre; animation: pop .01s steps(1, end) both; }
.title .l:nth-child(1) { animation-delay: .15s; }
.title .l:nth-child(2) { animation-delay: .21s; }
.title .l:nth-child(3) { animation-delay: .27s; }
.title .l:nth-child(4) { animation-delay: .33s; }
.title .l:nth-child(5) { animation-delay: .39s; }
.title .l:nth-child(6) { animation-delay: .45s; }
.title .l:nth-child(7) { animation-delay: .51s; }
.title .l:nth-child(8) { animation-delay: .57s; }
.title .l:nth-child(9) { animation-delay: .63s; }
.title .l:nth-child(10) { animation-delay: .69s; }
.title .l:nth-child(11) { animation-delay: .75s; }
.title .l:nth-child(n+12) { animation-delay: .81s; }
.title .alt .l { animation-delay: .6s; }
.title .alt .l:nth-child(2) { animation-delay: .68s; }
.title .alt .l:nth-child(3) { animation-delay: .76s; }

@media (min-width: 900px) {
  .hero { display: flex; align-items: center; min-height: min(880px, calc(100vh - 152px)); padding: 56px 0 116px; }
  .hero > .wrap { width: 100%; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .hero-home .hero-in, .hero-page .hero-in { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { display: flex; align-items: center; min-height: calc(100vh - 56px); padding: 14px 0 54px; }
  .hero > .wrap { width: 100%; }
  .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
  .hero-home .hero-in, .hero-page .hero-in { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
}

/* stars */
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.spark { position: absolute; width: 9px; height: 9px; background: var(--mint); animation: twinkle 2.4s steps(2) infinite;
  clip-path: polygon(33.4% 0, 66.6% 0, 66.6% 33.4%, 100% 33.4%, 100% 66.6%, 66.6% 66.6%, 66.6% 100%, 33.4% 100%, 33.4% 66.6%, 0 66.6%, 0 33.4%, 33.4% 33.4%); }
.spark:nth-child(1) { left: 6%; top: 14%; animation-delay: -.3s; }
.spark:nth-child(2) { left: 18%; top: 72%; animation-delay: -1.1s; }
.spark:nth-child(3) { left: 31%; top: 9%; animation-delay: -.7s; }
.spark:nth-child(4) { left: 44%; top: 84%; animation-delay: -1.9s; }
.spark:nth-child(5) { left: 57%; top: 12%; animation-delay: -.2s; }
.spark:nth-child(6) { left: 66%; top: 88%; animation-delay: -1.4s; }
.spark:nth-child(7) { left: 78%; top: 8%; animation-delay: -2.1s; }
.spark:nth-child(8) { left: 95%; top: 38%; animation-delay: -.9s; }
.spark:nth-child(9) { left: 88%; top: 86%; animation-delay: -1.6s; }
.spark:nth-child(10) { left: 3%; top: 48%; animation-delay: -2.3s; }
.spark:nth-child(11) { left: 38%; top: 46%; width: 6px; height: 6px; animation-delay: -.5s; }
.spark:nth-child(12) { left: 24%; top: 91%; width: 6px; height: 6px; animation-delay: -1.3s; }

/* the badge is a button: talk to it */
.mascot { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; animation: bob 1.6s steps(2) infinite; }
.mascot img { display: block; width: 100%; }
.mascot.hop { animation: hop .45s steps(4); }
.bubble { position: absolute; z-index: 6; left: 50%; top: -4px; transform: translate(-50%, -100%); width: max-content; max-width: min(88vw, 300px); margin: 0; color: var(--ink); text-align: center; font: 400 17px/1.5 var(--pixel); }
.bubble > span { display: block; padding: 12px 16px; --bd: var(--night); --line: var(--ink); --fill: var(--paper); }
.bubble svg { display: block; width: 20px; height: 12px; margin: -4px auto 0; }
.bubble[hidden] { display: none; }

/* the first screen's monitor with the badge as the corner cam: on the home it plays the studio's own games,
   on We Play Game it is still empty and waits for round one */
.stage-set { position: relative; width: 100%; max-width: 860px; margin: 0 auto; padding: 0 0 26px; }
.tv { position: relative; animation: pop .01s steps(1, end) .8s both; }
.tv-pic { display: block; padding: 8px 20px 20px 8px; --s: 12px; --line: var(--mint); --fill: var(--ink); --shade: var(--ink); }
.tv-glass { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.tv-glass::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: .2;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 4px); }
.ch { position: absolute; inset: 0; opacity: 0; }
.ch img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.ch.is-on { opacity: 1; animation: ch-in .42s steps(1, end) both; }
.ch.is-on img { animation: drift 12s linear both; }
.ch.is-off { animation: ch-out .2s steps(1, end) both; }
.ch.first.is-on, .ch.first.is-on img { animation-delay: .95s; }
.tv-line { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--paper); opacity: 0; }
.tv-noise { position: absolute; z-index: 2; inset: -30%; opacity: 0; image-rendering: pixelated; background: url("/assets/site/img/crt-noise.png?v=542f5a8293") 0 0 / 256px 256px; }
.tv.flip .tv-line { animation: line .5s steps(1, end); }
.tv.flip .tv-noise { animation: snow .5s steps(1, end); }
.tv-knobs { position: absolute; right: 12px; bottom: -34px; display: flex; }
.knob { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.knob::before { content: ""; position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; background: var(--mint); opacity: .35; }
.knob:hover::before { opacity: .7; }
.knob.is-on::before { background: var(--amber); opacity: 1; }
.tv-glass .tv-noise.idle { opacity: .2; animation: static .72s steps(1, end) infinite; }
.tv-glass .hud { position: absolute; z-index: 3; left: 18px; top: 12px; margin: 0; }
.stage-set .hero-badge { position: absolute; z-index: 5; left: -8px; bottom: -34px; width: min(34%, 150px); margin: 0; }
@media (min-width: 900px) {
  .stage-set { margin: 0 0 0 auto; padding-bottom: 64px; }
  .stage-set .hero-badge { left: -120px; bottom: -8px; width: min(40%, 300px); }
  .hero-wpg .stage-set { max-width: 760px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .stage-set { max-width: 380px; margin: 0 0 0 auto; padding-bottom: 20px; }
  .tv-pic { padding: 8px 16px 16px 8px; --s: 8px; }
  .stage-set .hero-badge { left: -52px; bottom: -6px; width: 124px; }
  .hero-wpg .stage-set { max-width: 290px; }
  .tv-knobs { bottom: -30px; }
}

/* 게임: both monitors on at once, the second one set into the first; the menu's cursor lifts the one it names */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-bottom: 20px; }
.duo .tv-a { grid-column: 1 / span 9; grid-row: 1; }
.duo .tv-b { grid-column: 6 / span 7; grid-row: 2; z-index: 1; margin-top: -24%; animation-delay: 1.05s; }
.duo .tv-b .tv-pic { --line: var(--amber); }
.duo .tv-b .ch.first.is-on, .duo .tv-b .ch.first.is-on img { animation-delay: 1.2s; }
.duo .tv-pic { transition: transform .12s steps(2, end); }
.duo .tv.is-up { z-index: 2; }
.duo .tv.is-up .tv-pic, .duo .tv-pic:hover { transform: translate(-6px, -6px); }
.stage-set.duo .hero-badge { left: 3%; bottom: -14px; width: min(27%, 150px); }
@media (min-width: 900px) { .stage-set.duo .hero-badge { left: 5%; bottom: -10px; width: min(30%, 230px); } }
@media (max-height: 520px) and (orientation: landscape) { .stage-set.duo { padding-bottom: 4px; } .stage-set.duo .hero-badge { left: 2%; bottom: -8px; width: 92px; } }

/* 소프트웨어와 연구, 회사와 문의: the monitor shows names the page itself carries, set in the pixel face */
.card { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 8px; padding: 0 5% 0 15%; color: var(--paper);
  font: 700 33px/1.3 var(--pixel); -webkit-font-smoothing: none; }
.card > span { position: relative; padding-left: 34px; }
.card > span::before { content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; background: var(--amber); }
.card.big { gap: 0; font-size: clamp(44px, 4.6vw, 88px); line-height: 1.18; }
.card.big > span, .card.ident > span { padding-left: 0; }
.card.big > span::before, .card.ident > span::before { display: none; }
.card.big > span + span { color: var(--mint); }
.ch.over { z-index: 3; }
.card.ident { justify-items: center; gap: 18px; padding: 0 5%; font-size: clamp(44px, 4.6vw, 88px); line-height: 1.18; }
.card.ident img, .ch.is-on .card.ident img { width: 20%; height: auto; animation: none; object-fit: contain; }
/* on these monitors the badge keeps to the corner, clear of the names */
@media (min-width: 900px) { .hero-page .stage-set:not(.duo) .hero-badge { left: -110px; bottom: 10px; width: 200px; } }
@media (max-height: 520px) and (orientation: landscape) {
  .hero-page .stage-set:not(.duo) .hero-badge { left: -44px; bottom: -14px; width: 96px; }
  .card { gap: 2px; padding: 0 3% 0 17%; font-size: 22px; }
  .card.ident { padding: 0 3%; }
  .card > span { padding-left: 24px; }
  .card.big, .card.ident { font-size: 33px; }
  .card.ident { gap: 8px; }
}

/* RPG dialog box */
.dialog { position: relative; max-width: 34em; margin: 30px 0 0; padding: 22px 34px 34px 24px; --s: 10px; cursor: default; font: 400 17px/1.85 var(--pixel); -webkit-font-smoothing: none;
  animation: pop .01s steps(1, end) .9s both; }
.dialog p { position: relative; margin: 0; }
.dialog .ghost { visibility: hidden; }
.dialog .typed { position: absolute; left: 0; top: 0; width: 100%; }
.dialog .who { position: absolute; left: 16px; top: -16px; padding: 2px 10px; background: var(--mint); color: var(--ink); font: 700 17px/1.5 var(--pixel); }
.caret { position: absolute; right: 26px; bottom: 16px; color: var(--amber); animation: blink 1s steps(1) infinite; }
.dialog.typing .caret { visibility: hidden; }

/* status lamp */
.hud { display: inline-flex; align-items: center; gap: 12px; color: var(--mint); font: 400 22px/1.4 var(--pixel); }
.hud b { color: var(--paper); }
.led { flex: none; width: 12px; height: 12px; background: var(--amber); animation: blink 1.2s steps(1) infinite; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; animation: pop .01s steps(1, end) 1.2s both; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 26px 18px 20px; --s: 6px; --line: var(--ink); --fill: var(--mint); --shade: var(--ink);
  color: var(--ink); text-decoration: none; border: 0; cursor: pointer; font: 700 22px/1 var(--pixel); -webkit-font-smoothing: none; }
.btn:hover { --fill: var(--paper); }
.btn:active { transform: translate(3px, 3px); }
.screen .btn { --shade: var(--ink); --fill: var(--mint); }
.screen .btn:hover { --fill: var(--amber); }
.btn.start .tri { animation: blink 1s steps(1) infinite; }
.textlink { color: var(--mint); font: 400 17px/1.4 var(--pixel); }
.textlink:hover { color: var(--paper); }

/* game menu (first screen of the company pages) */
.menu { display: grid; gap: 2px; width: fit-content; min-width: min(100%, 13em); margin: 22px 0 0; }
.menu a { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.4em 1fr; align-items: baseline; padding: 9px 22px 9px 8px; color: var(--paper); text-decoration: none;
  font: 700 22px/1.3 var(--pixel); -webkit-font-smoothing: none;
  animation: pop .01s steps(1, end) both; }
.menu a:nth-child(1) { animation-delay: .9s; }
.menu a:nth-child(2) { animation-delay: .97s; }
.menu a:nth-child(3) { animation-delay: 1.04s; }
.menu a:nth-child(4) { animation-delay: 1.11s; }
.menu a:nth-child(n+5) { animation-delay: 1.18s; }
.menu a::before { content: "▶"; color: var(--amber); font-weight: 400; visibility: hidden; }
.menu a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mint); opacity: 0; }
.menu a.is-on::after, .menu a:hover::after, .menu a:focus-visible::after { opacity: .13; }
.menu a.is-on::before, .menu a:hover::before, .menu a:focus-visible::before { visibility: visible; animation: blink 1s steps(1) infinite; }
@media (min-width: 1500px) and (min-height: 860px) {
  .menu { margin-top: 34px; }
  .menu a { padding: 11px 28px 11px 10px; font-size: 33px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .menu { margin-top: 8px; }
  .menu a { padding: 4px 18px 4px 6px; }
}

/* phone held sideways: the We Play Game first screen keeps its title, the dialog and the start button in view */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-wpg { padding: 8px 0 46px; }
  .hero-wpg .hero-in { grid-template-columns: minmax(0, 1.7fr) minmax(0, .9fr); gap: 32px; }
  .hero-wpg .title, .hero-soft .title { font-size: 33px; }
  .hero-wpg .title br, .hero-soft .title br { display: none; }
  .hero-wpg .title .alt::before, .hero-soft .title .alt::before { content: " "; white-space: pre; }
  .hero-wpg .title::before, .hero-soft .title::before { white-space: normal; }
  .dialog { margin-top: 16px; padding: 18px 26px 22px 18px; line-height: 1.6; }
  .hero-cta { margin-top: 8px; }
}

/* walking pixel critter at the bottom of the screen (drawn in the page, two leg frames) */
.critter { position: absolute; z-index: 1; left: 0; bottom: 52px; width: 36px; height: 20px; animation: walk 26s linear infinite; }
.critter svg { display: block; width: 36px; height: 20px; }
.critter .fb, .drop .fb { opacity: 0; animation: legs-b .5s steps(1) infinite; }
.critter .fa, .drop .fa { animation: legs-a .5s steps(1) infinite; }
@media (min-width: 900px) { .critter { bottom: 68px; } }
/* phone held sideways: the critter walks on the cloud tops, in a lane of its own under everything a visitor reads
   or presses (local/site-fable1/lane.py measures the gap) */
@media (max-height: 520px) and (orientation: landscape) {
  .critter { bottom: 42px; }
  .hero, .hero-wpg { padding-bottom: 70px; }
  .hero-home .title, .hero-page .title { line-height: 1.05; }
  .menu { margin-top: 6px; }
  .stage-set { max-width: 330px; }
  .hero-wpg .hero-in { grid-template-columns: minmax(0, 1.9fr) minmax(0, .9fr); gap: 28px; }
  .hero-cta { flex-wrap: nowrap; gap: 12px; }
  .hero-cta .textlink { white-space: nowrap; }
  .hero-wpg .stage-set .hero-badge { left: -22px; }
}

/* stepped cloud edge between the screen and the paper */
.clouds { position: absolute; z-index: 4; left: 0; right: 0; bottom: -1px; height: 44px; background: var(--paper); clip-path: polygon(0 100%, 0.00% 4px, 3.50% 4px, 3.50% 28px, 11.50% 28px, 11.50% 4px, 16.00% 4px, 16.00% 4px, 22.00% 4px, 22.00% 4px, 24.50% 4px, 24.50% 12px, 27.00% 12px, 27.00% 4px, 31.50% 4px, 31.50% 28px, 35.00% 28px, 35.00% 4px, 41.00% 4px, 41.00% 12px, 49.00% 12px, 49.00% 28px, 55.00% 28px, 55.00% 28px, 58.50% 28px, 58.50% 12px, 66.50% 12px, 66.50% 36px, 69.00% 36px, 69.00% 4px, 72.50% 4px, 72.50% 20px, 75.00% 20px, 75.00% 20px, 77.50% 20px, 77.50% 4px, 83.50% 4px, 83.50% 12px, 89.50% 12px, 89.50% 4px, 95.50% 4px, 95.50% 28px, 100.00% 28px, 100% 100%); }

/* falling critters (cheat code) */
.rain { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.rain .drop { position: absolute; top: -40px; width: 36px; height: 20px; animation: fall 2.6s linear forwards; }
.rain .drop svg { display: block; width: 36px; height: 20px; }
.rain .drop.alt { opacity: .55; }

/* ---------- paper sections ---------- */
.sec { padding: 64px 0; }
.sec + .sec { padding-top: 16px; }
@media (min-width: 900px) { .sec { padding: 112px 0; } .sec + .sec { padding-top: 24px; } }
.sec-h { margin: 0 0 22px; font: 700 33px/1.3 var(--pixel); -webkit-font-smoothing: none; }
.sec-h::before, .doc h2::before { content: ""; display: inline-block; width: 16px; height: 16px; margin: 0 14px 0 0; vertical-align: 2px;
  background: linear-gradient(var(--amber), var(--amber)) 0 0 / 12px 12px no-repeat, linear-gradient(var(--ink), var(--ink)) 4px 4px / 12px 12px no-repeat; }
.sec-lead { max-width: 38em; margin: 0 0 36px; }
.sec-lead p { margin: 0; }
.sub-h { margin: 40px 0 10px; font: 700 22px/1.35 var(--pixel); -webkit-font-smoothing: none; }
.cols { display: grid; gap: 36px; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; } }
.note { opacity: .72; }
.flag { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--ink); color: var(--amber); font: 400 17px/1.5 var(--pixel); vertical-align: 3px; }

/* We Play Game on the company home: the call, in the announcement's own lines */
.feature { display: grid; gap: 28px; align-items: center; }
.feature > img { width: 200px; }
@media (min-width: 760px) { .feature { grid-template-columns: minmax(200px, 4fr) minmax(0, 8fr); gap: 56px; } .feature > img { width: min(100%, 360px); justify-self: center; } }
.feature .title-sm { margin: 0; font: 700 33px/1.25 var(--pixel); -webkit-font-smoothing: none; }
.feature p { margin: 16px 0 0; max-width: 34em; }
.feature .row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
.state { display: inline-flex; align-items: center; gap: 10px; font: 400 17px/1.4 var(--pixel); }
.state .led { animation: none; }

/* the announcement's opening lines; they step in one line at a time when they come on screen */
.meme { margin: 0 0 40px; font: 700 88px/1.42 var(--pixel); font-size: clamp(22px, 4.6vw, 88px); -webkit-font-smoothing: none; }
.meme .ln, .meme-sm .ln { display: block; width: fit-content; }
.meme .hl { margin-top: .16em; padding: 0 .2em; margin-left: -.2em; background: var(--amber); }
.meme-sm { margin: 18px 0 0; font: 700 22px/1.6 var(--pixel); -webkit-font-smoothing: none; }
.arm .ln { opacity: 0; }
.arm.in .ln { animation: pop .01s steps(1, end) both; }
.arm.in .ln:nth-child(2) { animation-delay: .45s; }
.arm.in .ln:nth-child(3) { animation-delay: .9s; }
.arm.in .ln:nth-child(4) { animation-delay: 1.5s; }
.prose { max-width: 38em; }
.prose p { margin: 0 0 14px; }

/* stage map */
.stages { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.stages li { position: relative; padding: 0 0 34px 62px; }
.stages li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--amber); font: 700 22px/1 var(--pixel); }
.stages li::after { content: ""; position: absolute; left: 20px; top: 54px; bottom: 10px; width: 4px;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 8px, transparent 8px 16px); }
.stages li:last-child::after { display: none; }
.stages .lbl { display: block; font: 400 17px/1.4 var(--pixel); opacity: .72; }
.stages h3 { margin: 2px 0 6px; font: 700 22px/1.35 var(--pixel); -webkit-font-smoothing: none; }
.stages p { margin: 0; max-width: 34em; }
@media (min-width: 980px) {
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
  .stages li { padding: 64px 0 0; }
  .stages li::after { left: 56px; right: -24px; top: 20px; bottom: auto; width: auto; height: 4px;
    background: repeating-linear-gradient(to right, var(--ink) 0 8px, transparent 8px 16px); }
}

/* Hardcoal Games: drawn pixel mark + lettering (a logo, so it keeps its own colours inside the drawing) */
.hc-lockup { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.hc-mark { flex: none; width: 72px; height: 72px; image-rendering: pixelated; }
.hc-type { flex: none; width: 204px; height: auto; }
@media (min-width: 600px) { .hc-mark { width: 96px; height: 96px; } .hc-type { width: 272px; } }

/* OK / NG lists */
.fit { display: grid; gap: 40px; margin-top: 10px; }
@media (min-width: 820px) { .fit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.fit h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 22px/1.35 var(--pixel); -webkit-font-smoothing: none; }
.fit h3 .tag { padding: 2px 9px; }
.fit .ok .tag { background: var(--mint); }
.fit .free .tag { background: var(--amber); }
.fit .ng .tag { background: var(--ink); color: var(--amber); }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { position: relative; padding: 6px 0 6px 28px; }
.fit li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--ink); }

/* empty save slot (archive) */
.slot { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; max-width: 42em; margin: 10px 0 0; padding: 24px 36px 34px 26px; color: var(--paper);
  --s: 10px; --bd: var(--paper); --line: var(--ink); --fill: var(--night); --shade: var(--mint); }
.slot .no { grid-row: span 2; color: var(--amber); font: 700 33px/1 var(--pixel); }
.slot .empty { font: 700 22px/1.3 var(--pixel); }
.slot .note { margin: 0; opacity: .8; }
.slot .cursor { display: inline-block; width: 12px; height: 4px; margin-left: 6px; background: var(--mint); animation: blink 1s steps(1) infinite; vertical-align: 2px; }

/* link rows */
.links { list-style: none; margin: 10px 0 0; padding: 0; max-width: 46em; }
.links li + li { margin-top: 4px; }
.links a { display: grid; grid-template-columns: 30px 1fr; padding: 12px 12px 12px 6px; color: var(--ink); text-decoration: none; }
.links a::before { content: "▶"; grid-row: 1 / span 2; font: 400 17px/1.9 var(--pixel); }
.links a:hover { background: var(--mint); }
.links b { font: 700 22px/1.35 var(--pixel); -webkit-font-smoothing: none; }
.links span { opacity: .72; }

/* games, software and research pages */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: start; } .split.studio { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split.studio .hc-lockup { margin: 0; }
.split.studio .btnrow { margin-top: 28px; }
.split h3 { margin: 0 0 8px; font: 700 22px/1.35 var(--pixel); -webkit-font-smoothing: none; }
.split p { margin: 0 0 12px; max-width: 36em; }
.gp { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.gp img { width: 48px; height: 48px; }
.tools { margin: 10px 0 0; padding-left: 20px; }
.tools li { margin: 4px 0; }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 22px; }

.research { margin-top: 8px; }
.research .studies-h, .research .notes h3 { margin: 40px 0 8px; font: 700 22px/1.35 var(--pixel); }
.research .study { padding: 14px 0 18px; max-width: 46em; }
@media (min-width: 1200px) { .research .studies { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 72px; } .research .studies-h { grid-column: 1 / -1; } }
.research .notes { margin-top: 24px; }
.research .meta { margin: 0; }
.research .meta b { display: block; font: 700 22px/1.35 var(--pixel); }
.research .q { margin: 6px 0 8px; font-weight: 700; }
.research dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 12px; margin: 0; }
.research dt { font-weight: 700; }
.research dd { margin: 0; }
.research .list { list-style: none; margin: 0; padding: 0; max-width: 60em; }
.research .list li { display: grid; gap: 2px 16px; padding: 10px 0; }
@media (min-width: 760px) { .research .list li { grid-template-columns: 11em 1fr 6em; } }
.research .list li b { font-weight: 700; }
.research .list p { margin: 0; }
.research .list time { opacity: .72; }

/* company + contact (markup kept from the approved home) */
.facts { display: grid; grid-template-columns: 5em 1fr; gap: 6px 14px; margin: 0; }
.facts dt { font: 700 17px/1.75 var(--pixel); }
.facts dd { margin: 0; }
.career h3 { margin: 0 0 10px; font: 700 22px/1.35 var(--pixel); }
.career ol { list-style: none; margin: 0; padding: 0; }
.career li { display: grid; gap: 2px 16px; padding: 10px 0; }
@media (min-width: 760px) { .career li { grid-template-columns: 11em 1fr; } }
.career time { font: 400 17px/1.75 var(--pixel); opacity: .72; }
.career p { margin: 0; }
.contact .lead-c { margin: 0 0 8px; font-weight: 700; }
.contact .open { margin-top: 18px; }
.contact-panel { margin-top: 28px; max-width: 40em; }
.contact-form { display: grid; gap: 6px; }
.contact-form label { font-weight: 700; margin-top: 8px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border: 4px solid var(--ink); background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; }
.form-privacy { margin-top: 14px; padding: 18px 20px; --fill: var(--paper); line-height: 1.65; }
.form-privacy ul { margin: 6px 0 0; padding-left: 18px; }
.form-privacy b { display: inline-block; min-width: 7em; margin-right: 8px; }
.form-privacy-title { margin: 0; font-weight: 700; }
.form-privacy-extra { margin: 8px 0 0; }
.form-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 700; }
.form-consent input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--ink); }
.contact-form button[type="submit"] { justify-self: start; margin-top: 16px; }
.form-result { min-height: 1.5em; margin: 6px 0 0; font-weight: 700; }
.fallback { margin: 0 0 12px; }

/* ---------- document pages (rules, terms, archive, policies) ---------- */
.screen.slim { padding: 40px 0 84px; }
.screen.slim .wrap { position: relative; z-index: 2; }
.screen.slim .title { font-size: clamp(33px, 4.6vw, 88px); }
@media (min-width: 900px) { .screen.slim { padding: 72px 0 112px; } }
.crumb { margin: 0 0 14px; font: 400 17px/1.4 var(--pixel); }
.crumb a { color: var(--mint); }
.doc { padding-top: 48px; padding-bottom: 96px; }
.doc > * { max-width: 46rem; }
.doc h2 { margin: 48px 0 12px; font: 700 22px/1.4 var(--pixel); -webkit-font-smoothing: none; }
.doc p, .doc li { line-height: 1.85; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc-meta { margin: 0 0 8px; padding: 20px 22px; line-height: 1.7; }
.doc-meta p { margin: 0; }
.doc article h1 { margin: 40px 0 14px; font: 700 33px/1.4 var(--pixel); -webkit-font-smoothing: none; }
.doc article h2::before { display: none; }
.doc h3 { margin: 26px 0 6px; font-size: 17px; font-weight: 700; }
.doc code { padding: 1px 6px; background: var(--mint); font: inherit; }
.doc .privacy-table { overflow-x: auto; margin: 10px 0; -webkit-overflow-scrolling: touch; }
.doc .privacy-table table { min-width: 34rem; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { font-weight: 700; }
.doc thead th { background: var(--ink); color: var(--paper); }
.doc tbody tr:nth-child(even) { background: var(--mint); }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.foot { position: relative; margin-top: 8px; padding: 80px 0 44px; background: var(--mint); color: var(--ink); }
.foot .clouds-top { position: absolute; left: 0; right: 0; top: -1px; height: 44px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100.00% 20px, 95.50% 20px, 95.50% 36px, 87.50% 36px, 87.50% 28px, 81.50% 28px, 81.50% 20px, 78.00% 20px, 78.00% 4px, 75.50% 4px, 75.50% 28px, 73.00% 28px, 73.00% 12px, 65.00% 12px, 65.00% 4px, 62.50% 4px, 62.50% 4px, 59.00% 4px, 59.00% 36px, 51.00% 36px, 51.00% 36px, 45.00% 36px, 45.00% 4px, 42.50% 4px, 42.50% 28px, 40.00% 28px, 40.00% 12px, 34.00% 12px, 34.00% 36px, 31.50% 36px, 31.50% 28px, 23.50% 28px, 23.50% 36px, 15.50% 36px, 15.50% 20px, 13.00% 20px, 13.00% 4px, 10.50% 4px, 10.50% 36px, 4.50% 36px, 4.50% 28px, 0.00% 28px); }
.foot-in { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.foot-nav a { padding: 10px 10px; color: var(--ink); text-decoration: none; font: 400 17px/1 var(--pixel); }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--mint); background: var(--ink); }
.foot .brand { color: var(--ink); justify-self: start; }
.foot .brand:hover { color: var(--night); }
.brand-socials { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; }
.brand-socials a:hover { background: #fff; }
.foot .info { margin: 0; line-height: 1.7; }

/* ---------- motion: transform and opacity only ---------- */
@keyframes pop { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes land { 0% { opacity: 0; } 100% { opacity: .42; } }
@keyframes rise { 0% { opacity: 0; transform: translateY(36px); } 25% { opacity: 1; transform: translateY(36px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes twinkle { 0% { opacity: .95; } 50% { opacity: .15; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-22px); } 70% { transform: translateY(-8px); } 100% { transform: translateY(0); } }
@keyframes walk { 0% { transform: translateX(-60px); } 100% { transform: translateX(calc(100vw + 60px)); } }
@keyframes legs-a { 50% { opacity: 0; } }
@keyframes legs-b { 50% { opacity: 1; } }
@keyframes fall { 0% { transform: translateY(0); } 100% { transform: translateY(calc(100vh + 80px)); } }
@keyframes ch-in { 0% { opacity: 0; transform: scaleY(.012); } 8% { opacity: 1; transform: scaleY(.012); } 38% { transform: scaleY(.22); } 58% { transform: scaleY(.7); } 76% { transform: scaleY(1.05); } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes ch-out { 0% { opacity: 1; transform: scaleY(1); } 35% { transform: scaleY(.4); } 65% { transform: scaleY(.012); } 100% { opacity: 0; transform: scaleY(.012); } }
@keyframes drift { 0% { transform: scale(1.03); } 100% { transform: scale(1.13) translate(-1.6%, -1%); } }
@keyframes static { 0% { transform: translate(0, 0); } 12% { transform: translate(-7%, 5%); } 25% { transform: translate(4%, -6%); } 37% { transform: translate(-3%, 9%); } 50% { transform: translate(6%, 2%); } 62% { transform: translate(-5%, -8%); } 75% { transform: translate(8%, 7%); } 87% { transform: translate(-9%, -2%); } 100% { transform: translate(0, 0); } }
@keyframes line { 0% { opacity: 0; } 30% { opacity: 1; } 62% { opacity: 0; } 100% { opacity: 0; } }
@keyframes snow { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: .62; transform: translate(-7%, 5%); } 48% { opacity: .5; transform: translate(4%, -6%); } 66% { opacity: .32; transform: translate(-3%, 9%); } 84% { opacity: .16; transform: translate(6%, 2%); } 100% { opacity: 0; transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .critter { display: none; }
}
