:root {
  --ink: #17171A;
  --paper: #FAF9F6;
  --stone: #55555C;
  --body: #4A4A50;
  --accent: #E5532A;
  --focus: #2457D6;
  --sans: 'Bricolage Grotesque', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans', sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a { color: var(--ink); }
a:hover { color: #000; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.page {
  min-height: 100vh;
  padding: 0 clamp(20px, 5vw, 56px);
}
.wrap { max-width: 1200px; margin: 0 auto; }

/* header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }

.nav { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--mono); font-size: 14px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  margin: 0;
  max-width: 560px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--body);
}

/* sections */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1.5px solid var(--ink);
  padding-top: 20px;
}
.section-head h2, .about h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.section-head span { font-family: var(--mono); font-size: 14px; color: var(--stone); }

.games { display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(72px, 10vw, 128px); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* cards */
.card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
}

.card-art {
  height: 210px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); flex-grow: 1; }

.badge {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 999px;
}
.badge-live { background: #CDEFD6; color: #0E4A22; }
.badge-proto { background: #FFE9B0; color: #5E4100; }

.card-soon {
  display: flex;
  flex-direction: column;
  border: 1.5px dashed #8A8A90;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
}
.card-soon .card-art { background: #F0EEE8; border-bottom: 1.5px dashed #8A8A90; }
.card-soon .card-body { flex-grow: 0; }
.card-soon h3, .card-soon p { color: var(--stone); }

/* about */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px 48px;
  border-top: 1.5px solid var(--ink);
  padding: 20px 0 clamp(72px, 10vw, 128px);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 19px;
  line-height: 1.6;
  color: #2E2E33;
  max-width: 640px;
}
.about-text p { margin: 0; }

/* footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1.5px solid var(--ink);
  padding: 28px 0 40px;
}
.hello { display: flex; flex-direction: column; gap: 6px; }
.hello strong { font-size: 20px; font-weight: 800; }
.hello a { font-family: var(--mono); font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.copy { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--stone); }
.copy img { width: 24px; height: 24px; display: block; }
