/* hardcoalgames.com (site-rework tools/hardcoal_site.py). Dark, legible: text #ecebe7 on #1c2121 = 13.7:1, muted 8.6:1, ember 7.3:1. */
:root { --bg: #1c2121; --raised: #232828; --line: #353b3b; --text: #ecebe7; --muted: #b9bdbd; --ember: #e8a86a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.75 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--text); }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; padding: 8px 12px; background: var(--text); color: var(--bg); z-index: 9; }
.top { position: sticky; top: 0; z-index: 5; background: rgb(28 33 33 / 0.94); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.top-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.top-nav a:hover { color: var(--text); background: var(--raised); }
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.hero .lockup { display: block; width: min(640px, 100%); margin: 0 0 20px -18px; }
.lead { max-width: 32em; color: var(--text); font-size: 1.2rem; }
h2 { margin-bottom: 28px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.games { padding: 72px 0 24px; }
.game { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.game-shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-body { padding: 32px; }
.game-body p + p { margin-top: 12px; }
.game-body p { color: var(--text); }
.tag { display: inline-block; margin-bottom: 18px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.85rem; font-weight: 700; }
.tag-concept { color: var(--ember); border-color: #5a4636; }
.game-logo { display: block; width: min(300px, 100%); margin-bottom: 18px; }
.game-concept { grid-template-columns: 1fr; }
.concept-title { margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: 0.01em; }
.note { color: var(--muted) !important; font-size: 0.95rem; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px !important; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 800; text-decoration: none; }
.button:hover { background: #ffffff; }
.text-link { color: var(--text); font-weight: 700; text-underline-offset: 3px; }
.studio { padding: 48px 0 80px; }
.studio p { max-width: 40em; }
.studio p + p { margin-top: 14px; }
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot p + p { margin-top: 6px; }
.foot a { color: var(--muted); }
@media (max-width: 860px) {
  .game { grid-template-columns: 1fr; }
  .game-shot { max-height: 260px; }
  .hero { padding: 40px 0 36px; }
  .games { padding-top: 48px; }
  .top-nav a { padding: 6px 8px; }
}
