/* Poster style: homepage, games, a game's page, work for hire, about, 404. */

/* The growing name. Without JavaScript the heading shows as text; with it, the canvas
   draws the same words and the heading stays available to screen readers. */
.grow {
  position: relative;
  padding: 0 clamp(8px, 1vw, 16px);
}

.grow-title {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 13.4vw;
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.grow-cells { display: none; cursor: crosshair; }

.grow.live .grow-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.grow.live .grow-cells { display: block; width: 100%; }

.grow-hint {
  margin: 14px var(--gutter) 0;
  font: 13px/1.4 var(--mono);
  color: var(--label);
}

/* Shared link style for poster pages */
.lead a,
.cols a,
.page-body a {
  text-decoration: underline;
  text-decoration-color: var(--link);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.lead a:hover,
.cols a:hover,
.page-body a:hover { color: var(--label); }

.lead h2,
.cols h2,
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
}

/* Homepage: games lead, the largest block under the name */
.lead {
  margin: clamp(40px, 6vw, 88px) var(--gutter) 0;
  padding-top: 24px;
  border-top: 2px solid var(--text);
}

.lead-text {
  margin: 0 0 24px;
  max-width: 30ch;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.lead-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0;
  font-size: 1.15rem;
}

.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(48px, 6vw, 80px) var(--gutter) 0;
  border-top: 1px solid var(--soft-rule);
}

.cols section { padding: 24px 28px 0 0; }

.cols section + section {
  padding-left: 28px;
  border-left: 1px solid var(--soft-rule);
}

.cols p { margin: 0 0 18px; max-width: 34ch; }

/* Content pages */
.page-head {
  margin: clamp(32px, 6vw, 88px) var(--gutter) 0;
}

.page-head h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.page-body {
  max-width: 36em;
  margin: clamp(32px, 4vw, 56px) var(--gutter) 0;
  font-size: clamp(18px, 0.4vw + 15px, 20px);
  line-height: 1.6;
}

.page-body p { margin: 0 0 1em; }

.page-body h2 {
  margin: 1.8em 0 0.6em;
  font-family: var(--display);
  font-weight: var(--display-weight);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
}

.status { font-weight: 700; }
.status .eyebrow { display: inline; margin-right: 10px; }

.game-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--text);
}

.game-list li { padding: 24px 0; border-bottom: 1px solid var(--soft-rule); }

.game-list h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.game-body { margin-top: clamp(32px, 5vw, 64px); }

.entry-list { margin: 0 0 1em; padding: 0; list-style: none; }
.entry-list li { padding: 8px 0; border-bottom: 1px solid var(--soft-rule); }
.entry-list time { display: inline-block; min-width: 11em; font-size: 0.9em; }

@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr; }
  .cols section,
  .cols section + section {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--soft-rule);
  }
}
