/* Everything takes its cue from the logo: its black backdrop, its worn metal. */

@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --backdrop: #080808; /* the logo's own background, so the mark has no visible edge */
  --metal: #b8a693;
  --text: #d8cfc1;
  --muted: #8c8376;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--backdrop);
}

body {
  margin: 0;
  color: var(--text);
  font: 400 1.125rem/1.7 "Noto Serif", Georgia, serif;
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 7vh, 5rem) 1.25rem 3.5rem;
  text-align: center;
}

.logo {
  width: clamp(12rem, 34vw, 19rem);
  height: auto;
  margin-bottom: 0.5rem;
  /* Fades the square's last edge into the page, whatever the screen's black level. */
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent);
  mask-image: radial-gradient(closest-side, #000 82%, transparent);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--metal);
}

.pitch {
  max-width: 28em;
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.55;
}

.status {
  margin: 0 0 2rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 0.7em 1.5em;
  color: var(--metal);
  text-decoration: none;
  border: 1px solid var(--metal);
  border-radius: 2px;
  transition: background-color 0.15s, color 0.15s;
}

.button:hover {
  background: var(--metal);
  color: var(--backdrop);
}

.button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* The game itself, unframed: the one picture on the page. 80rem matches the 1280 px rendition,
   so the browser shows it pixel for pixel instead of shrinking the full capture. */
.shot {
  max-width: 80rem;
  margin: 0 auto 5rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot figcaption {
  padding: 0.75rem 1.25rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.about {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

.about h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--metal);
}

.about p {
  margin: 0 0 1.1em;
}

.signature {
  margin-top: 1.75em;
  color: var(--muted);
}

.footer {
  padding: 0 1.25rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
