.project-page {
  --gold: #ffcd77;
  --teal: #9ce4dc;
  max-width: calc(var(--layout-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-top: clamp(32px, 6vw, 82px);
}

.project-page p { color: #ddd; }
.slurdle h1 { font-size: clamp(3rem, 2rem + 5.5vw, 7rem); }

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
}

.project-intro p { margin-top: .85rem; max-width: 29ch; }

.seer-fall .project-hero p { margin-top: 1rem; max-width: 38ch; }

.seer-fall-logo {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.seer-fall .project-story a {
  color: var(--teal);
  text-underline-offset: .2em;
}

.steam-link {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  min-height: 48px;
  padding: .65em 1em;
  border-radius: 6px;
  background: var(--gold);
  color: #17100b;
  font-weight: 700;
  text-decoration: none;
}

.steam-link:hover { background: #ffe5b7; }

.project-trailer {
  aspect-ratio: 16 / 9;
  background: #10181b;
}

.seer-fall-logo, .project-trailer, .project-card img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--frame);
}

.project-section {
  margin-top: clamp(40px, 6vw, 84px);
  padding-top: clamp(28px, 4vw, 54px);
  border-top: 1px solid #354346;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  column-gap: clamp(22px, 4vw, 58px);
}

.game-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid #354346;
  border-radius: 10px;
  background: #354346;
}

.game-modes > div { padding: clamp(16px, 2vw, 28px); background: #10181b; }
.game-modes dt { color: var(--teal); font: 400 1.35rem var(--heading-font); }
.game-modes dd { margin: .5rem 0 0; color: #ddd; font-size: 1.125rem; line-height: 1.5; }
.game-details { font-size: 1.125rem; }

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 29rem));
  gap: clamp(16px, 3vw, 32px);
  margin-top: 2rem;
}

.project-card {
  display: block;
  overflow: hidden;
  background: #10181b;
  text-decoration: none;
}

.project-card img { aspect-ratio: 460 / 215; object-fit: cover; }
.project-card > div { padding: clamp(16px, 2vw, 28px); }
.project-card h2 { margin-bottom: .3em; }
.project-card .entry-arrow {
  display: inline-grid;
  margin-inline-start: .25em;
  vertical-align: .1em;
}
.project-card:hover h2 { text-decoration: underline; text-underline-offset: .15em; }

@media (max-width: 700px) {
  .project-hero, .project-story { grid-template-columns: minmax(0, 1fr); }
  .project-list { grid-template-columns: minmax(0, 29rem); }
  .game-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 440px) {
  .game-modes { grid-template-columns: minmax(0, 1fr); }
}
