/* ============================================================
   games.signalandecho.com — layered on top of /assets/styles.css.
   One page: a grid of game cards, then the press kit.
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.games-site .lockup .logo { width: 28px; height: 28px; flex: 0 0 auto; display: block; }
.games-site .lockup .logo[data-wordmark] { width: auto; height: 36px; }
.games-nav { display: flex; gap: 28px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.02em; }
.games-nav a { color: var(--ink-2); }
.games-nav a:hover { color: var(--signal); }
.games-nav .short { display: none; }

/* ---------- Game grid ---------- */
.games {
  padding: 40px 56px 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  border-bottom: 1px solid var(--rule);
}
.game { display: flex; flex-direction: column; min-width: 0; }
.game .art {
  display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--ink); border: 1px solid var(--rule);
}
.game .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.game a.art:hover img { transform: scale(1.02); }
.game .body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }

.game .tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 10px;
  font-family: var(--sans); font-size: 12px; color: var(--ink-3);
}
.status {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 3px 7px; border: 1px solid currentColor; color: var(--ink-3);
}
.status-released, .status-early-access { color: var(--signal); }

.game h2 {
  font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15;
  letter-spacing: -0.01em; margin: 0 0 4px;
}
.game h2 a { color: var(--ink); }
.game h2 a:hover { color: var(--signal); }
.game .genre { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.game .pitch { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 10px; }
.game .credit { font-style: italic; font-size: 14px; color: var(--ink-3); margin: 0 0 10px; }

.game .actions { margin: auto 0 0; padding-top: 8px; display: flex; align-items: center; gap: 18px; }
.button {
  display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; padding: 10px 16px; background: var(--ink); color: var(--paper);
}
.button:hover { background: var(--signal); color: var(--paper); }
.quiet { font-family: var(--sans); font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--rule); }

/* ---------- Press kit ---------- */
.press {
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 56px;
  padding: 48px 56px 64px; align-items: start;
}
.press h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 12px; letter-spacing: -0.01em; }
.press-intro > p { font-size: 15px; color: var(--ink-2); margin: 0 0 20px; }
.press-intro .note { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.kit-download {
  display: inline-flex; align-items: baseline; gap: 16px; margin-bottom: 16px;
  background: var(--ink); color: var(--paper); padding: 14px 20px; font-family: var(--sans);
}
.kit-download:hover { background: var(--signal); color: var(--paper); }
.kit-download .label { font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.kit-download .label::after { content: " ↓"; }
.kit-download .size { font-size: 11px; opacity: 0.75; letter-spacing: 0.08em; }

/* ---------- Footer ---------- */
.games-footer {
  display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding: 24px 56px 32px; border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 12px; color: var(--ink-3);
}
.games-footer a { color: var(--ink-2); }
.games-footer .copy { color: var(--ink-4); }

@media (max-width: 1100px) {
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .press { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .games-site .lockup .wm { font-size: 11px; letter-spacing: 0.16em; }
  .games-nav { gap: 18px; }
  .games-nav .long { display: none; }
  .games-nav .short { display: inline; }
  .games { padding: 24px 20px 40px; grid-template-columns: 1fr; gap: 36px; }
  .game h2 { font-size: 24px; }
  .press { padding: 32px 20px 40px; }
  .kit-download { display: flex; justify-content: space-between; }
  .games-footer { padding: 20px 20px 28px; flex-direction: column; }
}

/* Publisher identity and straightforward introduction. */
.games-site { --signal: #ad421c; --signal-deep: #8d3416; }
.games-site .lockup .logo[data-wordmark] { width: 280px; height: auto; }
.publisher-intro { padding: 40px 56px 0; }
.publisher-intro h1 { font-family: var(--sans); font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; }
.publisher-intro p { margin: 0; color: var(--ink-3); font-size: 17px; }
.games { padding-top: 32px; }
.button, .kit-download { background: var(--signal); color: var(--paper); }
.button:hover, .kit-download:hover { background: var(--signal-deep); }
.games-site a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }
@media (prefers-color-scheme: dark) {
  .games-site { --paper: #16191e; --paper-2: #24282f; --ink: #f5f4ef; --ink-2: #e9e7de; --ink-3: #bcc0c6; --ink-4: #bcc0c6; --rule: #41454c; --signal: #f5a45e; --signal-deep: #f8ba82; }
}
@media (max-width: 760px) {
  .games-site .site-header { flex-wrap: wrap; }
  .games-site .lockup .logo[data-wordmark] { width: 260px; }
  .games-nav { flex-basis: 100%; gap: 24px; }
  .publisher-intro { padding: 28px 20px 0; }
  .publisher-intro p { font-size: 16px; }
  .games { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .game .art img { transition: none; } }

/* Each game gets enough room for its world and a concise introduction. */
.games { display: flex; flex-direction: column; gap: 48px; padding-bottom: 56px; }
.game { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.game .art { border: 0; }
.game .body { padding: 16px 0; }
.game h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 16px; }
.game .pitch { font-size: 18px; line-height: 1.5; max-width: 34ch; }
.game .genre { margin-bottom: 12px; }
.game .actions { margin: 12px 0 0; padding: 0; }
.game:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.game:nth-child(even) .art { grid-column: 2; grid-row: 1; }
.game:nth-child(even) .body { grid-column: 1; grid-row: 1; }
#appalachian-trail .art img { object-position: 68% center; }
.press { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-top: 36px; padding-bottom: 36px; align-items: center; }
.press h2 { font-family: var(--sans); font-weight: 600; font-size: 24px; }
.press-intro > p { max-width: 56ch; margin-bottom: 12px; }
.press .note { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0; }
.press-kit { max-width: 320px; }
.kit-download { margin-bottom: 10px; }
@media (max-width: 900px) {
  .game, .game:nth-child(even) { grid-template-columns: 1fr; gap: 0; }
  .game:nth-child(even) .art, .game:nth-child(even) .body { grid-column: auto; grid-row: auto; }
  .game .body { padding: 20px 0 0; }
  .game .pitch { max-width: 52ch; }
  .press { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .games { gap: 40px; }
  .game .pitch { font-size: 16px; }
  .press-kit { max-width: none; }
}
