:root {
  color-scheme: dark;
  --ink: #faf0dc;
  --muted: #c5c9bb;
  --bg: #161e1d;
  --line: #3d4a44;
  --gold: #efc995;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
img { display: block; width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: .28rem; }
p { line-height: 1.78; }
.wrap { width: min(88rem, calc(100% - 2 * clamp(1rem, 5vw, 5rem))); margin-inline: auto; }
.site-header, .site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding-block: 1.1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
.wordmark { font-family: Georgia, serif; font-weight: 800; font-size: 1.65rem; letter-spacing: -.05em; }
.wordmark, nav a { text-decoration: none; color: var(--ink); }
nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
nav a { color: var(--muted); padding-block: .4rem; font-size: .94rem; }
nav a:hover, nav [aria-current] { color: var(--gold); }

.hero { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.35fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.4rem); padding-block: clamp(2rem, 7vw, 7rem); }
h1, h2, p, figure { margin: 0; }
h1 { font-size: clamp(2.35rem, 4.1vw, 4.45rem); line-height: 1.2; letter-spacing: -.071em; overflow-wrap: anywhere; }
.hero-copy > p:first-of-type { margin-block: 1.3rem 1.7rem; max-width: 31ch; color: var(--muted); }
.button { display: inline-block; max-width: 100%; overflow-wrap: anywhere; border-radius: 4px; padding: .84rem 1.13rem; background: var(--gold); color: #241d15; font-weight: 800; text-decoration: none; }
.button:hover { background: #ffdfb3; }
.availability { margin-top: .75rem; color: var(--muted); font-size: .93rem; }
.hero-photo { position: relative; overflow: hidden; background: #303c37; border: 1px solid var(--line); border-radius: .45rem; }
.hero-photo img { aspect-ratio: 1.63; object-fit: cover; object-position: 50% 52%; }
.hero-photo figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem .8rem; background: linear-gradient(transparent, #101713e8); font-size: .95rem; }

.game { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3.2vw, 3.1rem); padding-bottom: clamp(3rem, 6vw, 6rem); scroll-margin-top: 1rem; }
.feature { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.feature img { aspect-ratio: 1.78; object-fit: cover; border-radius: .35rem; background: #303c37; }
.feature:first-child img { object-position: center 38%; }
.feature h2 { margin-top: .95rem; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.045em; }
.feature p { margin-top: .45rem; color: var(--muted); max-width: 54ch; }

.document { max-width: 48rem; padding-block: clamp(2rem, 6vw, 5.5rem); }
.document h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.document .intro { margin-top: 1rem; color: var(--muted); }
.document .date { margin-top: .5rem; font-size: .94rem; color: var(--muted); }
.document h2 { margin-top: 2rem; font-size: 1.25rem; letter-spacing: -.035em; }
.document p { margin-top: .6rem; }
.document .contact { margin-top: 1.25rem; }
.translation { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.6rem; }
.translation summary { width: fit-content; cursor: pointer; color: var(--gold); }

@media (max-width: 48rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy > p:first-of-type { max-width: 48ch; }
}

@media (max-width: 35rem) {
  .game { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo img { aspect-ratio: 1.4; }
}
