:root {
  --ink: #0f0b13;
  --ink-2: #19121f;
  --bruise: #2b1d36;
  --bone: #ebe4d6;
  --ash: #9a92a3;
  --tongue: #c2273f;
  --tongue-dim: #8f1d30;
  --line: #2f2438;
  --max: 68rem;
  --read: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bone); text-decoration-color: var(--tongue); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: #fff; text-decoration-color: var(--bone); }
:focus-visible { outline: 3px solid var(--tongue); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", "Arial Black", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.mark { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.01em; }
.mark span { color: var(--tongue); }
.site-head nav { display: flex; gap: 1.25rem; font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 0.95rem; }
.site-head nav a { text-decoration: none; color: var(--ash); }
.site-head nav a:hover, .site-head nav a[aria-current="page"] { color: var(--bone); }

/* Hero: the logo is the one loud thing on the page */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.hero .logo { display: block; width: 100%; height: auto; max-width: 36rem; mix-blend-mode: lighten; }
.hero .lede { max-width: 26rem; margin: 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.12; letter-spacing: -0.015em; }
.hero .sub { color: var(--ash); margin: 1rem 0 0; font-size: 1rem; }

/* Sections */
section { padding: 3rem 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }

/* Game feature */
.game {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  background: var(--ink-2); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 46rem) { .game { grid-template-columns: 14rem 1fr; align-items: center; } }
.game .tile {
  aspect-ratio: 1; background: linear-gradient(160deg, #1a0f2e 0%, #0b0716 60%, #2a0b3a 100%);
  border: 1px solid var(--bruise); display: grid; place-items: center; position: relative; overflow: hidden;
}
.game .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game .tile .ph { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.4rem; text-align: center; color: #ff4fd8; line-height: 1.05; padding: 1rem; }
.game h3 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.game p { margin: 0 0 1rem; max-width: var(--read); color: var(--bone); }
.game .meta { color: var(--ash); font-size: 0.9rem; margin-bottom: 1.25rem; }

.btn {
  display: inline-block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1rem;
  background: var(--tongue); color: #fff; padding: 0.8rem 1.4rem; text-decoration: none; border: 2px solid var(--tongue);
}
.btn:hover { background: var(--tongue-dim); border-color: var(--tongue-dim); color: #fff; }

.more { margin-top: 1.5rem; color: var(--ash); max-width: var(--read); }

/* About / contact */
.two { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .two { grid-template-columns: 1fr 1fr; } }
.two p { margin: 0 0 1rem; max-width: var(--read); }
dl { margin: 0; }
dt { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; color: var(--ash); font-size: 0.9rem; margin-top: 1rem; }
dd { margin: 0.15rem 0 0; }

/* Policy / reading pages */
.doc { padding: 3rem 0 4rem; }
.doc h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 0.75rem; }
.doc .stamp { color: var(--ash); margin: 0 0 2.5rem; }
.doc h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.doc p, .doc ul { max-width: var(--read); margin: 0 0 1rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.5rem; }
.doc .callout { border-left: 4px solid var(--tongue); background: var(--ink-2); padding: 1rem 1.25rem; max-width: var(--read); margin: 0 0 1.5rem; }
.doc .callout p { margin: 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--ash); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
.site-foot a { color: var(--ash); }
.site-foot a:hover { color: var(--bone); }


/* Small-screen fixes */
.mark { white-space: nowrap; }
@media (max-width: 45.99rem) {
  .game .tile { max-width: 10rem; }
  .site-head nav { gap: 0.9rem; font-size: 0.9rem; }
}
@media (max-width: 45.99rem) {
  .mark { font-size: 0.92rem; }
  .site-head nav { gap: 0.7rem; font-size: 0.82rem; }
  .site-head .wrap { gap: 0.5rem; }
}

/* Header banner mark */
.mark { display: block; line-height: 0; }
.mark img { display: block; height: 2rem; width: auto; mix-blend-mode: lighten; }
@media (max-width: 45.99rem) { .mark img { height: 1.6rem; } }
