:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #20221f;
  --muted: #72736a;
  --yellow: #ffdc3c;
  --line: #dcdcd3;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #2364ca; outline-offset: 6px; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--yellow); }
.page-width { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 126px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 104px; height: auto; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 40px; }
.site-header nav a { font-size: 14px; font-weight: 650; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-count { margin-left: 5px; color: var(--muted); font-size: 10px; vertical-align: super; }
.studio-intro { display: grid; grid-template-columns: 1.45fr .65fr; align-items: end; gap: 70px; padding-top: 70px; padding-bottom: 80px; }
.section-label { margin: 0; font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .1em; }
h1 { margin: 25px 0 0; font-size: clamp(46px, 5.4vw, 76px); font-weight: 800; line-height: 1.26; letter-spacing: -.075em; word-break: keep-all; }
.title-highlight { position: relative; isolation: isolate; display: inline-block; white-space: nowrap; }
.title-highlight::before { content: ""; position: absolute; z-index: -1; height: .19em; left: 1px; right: 0; bottom: .09em; background: var(--yellow); }
.pixel-period { display: inline-block; width: .12em; height: .12em; margin-left: .08em; background: var(--ink); }
.intro-copy { padding-bottom: 6px; }
.intro-copy > p { margin: 0 0 31px; font-size: 18px; line-height: 1.85; letter-spacing: -.025em; word-break: keep-all; }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 25px; width: fit-content; padding: 0 0 9px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 650; }
.text-link span { font-size: 17px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; padding: 21px 0; border-top: 1px solid var(--line); }
.section-index { margin-left: 5px; color: var(--muted); font-weight: 450; }
.work-status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; }
.work-status > span { width: 7px; height: 7px; background: #67843e; }
.game-stage { position: relative; height: clamp(480px, 48vw, 650px); overflow: hidden; background: #7bb2e2; }
.game-art { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.game-logo { position: absolute; top: 38px; left: 44px; width: clamp(160px, 16vw, 220px); height: auto; object-fit: contain; }
.art-view { position: absolute; top: 26px; right: 26px; display: flex; align-items: center; gap: 24px; padding: 12px 15px; border: 0; background: var(--paper); font-size: 11px; font-weight: 650; }
.art-view span { font-size: 18px; }
.art-view:hover { background: var(--yellow); }
.coming-stamp { position: absolute; right: 40px; bottom: 37px; min-width: 174px; padding: 21px 25px; color: var(--ink); background: var(--yellow); transform: rotate(-5deg); font-family: "Arial Black", Arial, sans-serif; font-size: 29px; line-height: 1.02; font-weight: 900; letter-spacing: -.055em; }
.coming-stamp span { position: absolute; right: 18px; bottom: 17px; font-family: Arial, sans-serif; font-size: 30px; font-weight: 400; }
.game-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 27px; padding-bottom: 44px; }
.game-caption h2 { margin: 0; font-size: 26px; font-weight: 750; letter-spacing: -.055em; word-break: keep-all; }
.game-caption p { margin: 0; color: #606159; font-size: 12px; white-space: nowrap; }
.game-caption p span { margin-inline: 7px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 46px; padding-top: 29px; padding-bottom: 35px; border-top: 1px solid var(--line); }
.site-footer p, .site-footer a { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.site-footer a { display: flex; align-items: center; gap: 30px; }
.site-footer a span { font-size: 19px; color: var(--ink); }
dialog { width: min(680px, calc(100% - 32px)); max-height: 90svh; padding: 0; border: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(24, 27, 23, .78); }
.dialog-header { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; background: var(--paper); }
.dialog-header p { margin: 0; font-size: 13px; font-weight: 700; }
.dialog-close { display: flex; gap: 12px; align-items: center; padding: 4px 0; border: 0; background: transparent; font-size: 12px; }
.dialog-close span { font-size: 24px; line-height: 1; }
dialog > img { width: 100%; height: auto; }
@media (min-width: 1800px) {
  .studio-intro { padding-top: 85px; padding-bottom: 94px; }
}
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .studio-intro { grid-template-columns: 1.4fr .7fr; gap: 30px; padding-top: 55px; padding-bottom: 60px; }
  h1 { font-size: clamp(42px, 5.8vw, 58px); }
  .intro-copy > p { font-size: 15px; }
  .game-stage { height: 560px; }
  .game-logo { top: 30px; left: 30px; width: 170px; }
  .coming-stamp { right: 28px; bottom: 30px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 18px; }
  .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 96px; }
  .brand img { width: 82px; height: auto; }
  .site-header nav { gap: 24px; }
  .site-header nav a { font-size: 12px; }
  .nav-count { font-size: 9px; }
  .studio-intro { display: block; padding-top: 42px; padding-bottom: 42px; }
  .section-label { font-size: 10px; }
  h1 { margin-top: 20px; font-size: clamp(34px, 8.8vw, 54px); line-height: 1.3; letter-spacing: -.075em; }
  .intro-copy { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 30px; padding-bottom: 0; }
  .intro-copy > p { margin: 0; font-size: 13px; line-height: 1.9; }
  .text-link { gap: 14px; padding-bottom: 6px; font-size: 10px; line-height: 1.7; }
  .section-heading { padding: 18px 0; }
  .work-status { font-size: 10px; }
  .game-stage { height: 570px; }
  .game-art { object-position: 50% 60%; }
  .game-logo { top: 22px; left: 20px; width: 143px; }
  .art-view { top: auto; bottom: 18px; left: 18px; right: auto; gap: 12px; padding: 8px 11px; font-size: 10px; }
  .art-view span { font-size: 15px; }
  .coming-stamp { right: 17px; bottom: 20px; min-width: 126px; padding: 17px 19px; font-size: 23px; }
  .coming-stamp span { right: 12px; bottom: 12px; font-size: 25px; }
  .game-caption { display: block; padding-top: 21px; padding-bottom: 24px; }
  .game-caption h2 { font-size: 22px; }
  .game-caption p { margin-top: 10px; font-size: 11px; }
  .site-footer { display: block; margin-top: 25px; padding-top: 23px; padding-bottom: 24px; }
  .site-footer a { justify-content: space-between; margin-top: 14px; }
  .dialog-header { padding: 12px 15px; }
  .dialog-header p { font-size: 12px; }
}
@media (max-width: 360px) {
  .site-header nav { gap: 17px; }
  .intro-copy { display: block; }
  .text-link { margin-top: 19px; }
  .game-stage { height: 500px; }
  .game-logo { width: 125px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
