@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f0e8dc;
  --ink: #1a2438;
  --quiet-ink: #50545b;
  --rule: #c8bfb1;
  --gold: #eac180;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --page-gutter: clamp(1rem, 4vw, 4rem);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.05;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.5rem;
  left: var(--page-gutter);
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.page-width {
  width: min(81rem, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.pixel-art {
  display: block;
  image-rendering: pixelated;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  padding-block: clamp(1rem, 2.7vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: 800 clamp(1rem, 2vw, 1.38rem) / 0.9 var(--display);
  letter-spacing: -0.015em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: clamp(2.75rem, 5vw, 3.75rem);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
}

.site-nav a {
  display: grid;
  min-height: 2.75rem;
  place-items: center;
  font-size: 0.9375rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 0.28em;
}

.site-nav a:hover {
  text-decoration: underline;
}

.feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--paper);
}

.feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 0.75rem) calc(100% - 1.5rem), calc(100% - 0.75rem) calc(100% - 0.75rem), calc(100% - 1.5rem) calc(100% - 0.75rem), calc(100% - 1.5rem) 100%, 0 100%);
  content: "";
}

.genre {
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.feature h1 {
  margin: 0.18em 0 0.23em;
  font-size: clamp(4.15rem, 8.4vw, 8.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.88;
}

.premise {
  max-width: 25ch;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.42;
}

.feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 1.5rem;
}

.feature-link {
  display: inline-grid;
  min-height: 2.85rem;
  place-items: center;
  padding-inline: 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 750;
  text-decoration: none;
}

.feature-link:hover {
  background: var(--gold);
}

.feature-link:focus-visible {
  outline-color: var(--gold);
}

.release-status {
  color: #d9cdbc;
  font-size: 0.9375rem;
}

.feature-art {
  padding: clamp(0.65rem, 1.8vw, 1.35rem);
  border: 1px solid #536072;
  background: #202c42;
}

.art-border {
  position: relative;
  display: grid;
  min-height: clamp(13rem, 25vw, 23rem);
  place-items: center;
  padding: clamp(0.6rem, 2vw, 1.5rem);
  background-image:
    linear-gradient(#e9dfcf0b 1px, transparent 1px),
    linear-gradient(90deg, #e9dfcf0b 1px, transparent 1px);
  background-position: center;
  background-size: 1.25rem 1.25rem;
}

.art-border::before, .art-border::after {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border: solid #eac1808c;
  content: "";
}

.art-border::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.art-border::after {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}

.art-border img {
  width: min(100%, 32.5rem);
  height: auto;
}

.gameplay {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.gameplay h2, .studio h2 {
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.022em;
}

.gameplay-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 1.2rem 0 0;
  border-block: 1px solid var(--rule);
  list-style: "";
}

.gameplay-list li {
  padding: 1.2rem clamp(0.75rem, 2.4vw, 2rem) 1.4rem;
}

.gameplay-list li:first-child {
  padding-inline-start: 0;
}

.gameplay-list li + li {
  border-inline-start: 1px solid var(--rule);
}

.gameplay-list img {
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.65rem;
  background: var(--ink);
}

.gameplay-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.gameplay-list p, .studio p {
  max-width: 37ch;
  color: var(--quiet-ink);
}

.studio {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.studio h2 {
  font-size: 1.45rem;
}

.studio p {
  max-width: 49ch;
}

@media (max-width: 45rem) {
  .feature {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: clamp(1.25rem, 5.3vw, 2.25rem);
  }

  .feature h1 {
    font-size: clamp(3.6rem, 11vw, 6rem);
  }

  .art-border {
    min-height: 0;
  }

  .art-border img {
    width: min(100%, 22.75rem);
  }

  .gameplay-list {
    grid-template-columns: 1fr;
  }

  .gameplay-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    padding: 1rem 0;
  }

  .gameplay-list li + li {
    border-inline-start: 0;
    border-block-start: 1px solid var(--rule);
  }

  .gameplay-list img {
    grid-row: span 2;
    margin: 0;
  }

  .gameplay-list p {
    grid-column: 2;
  }
}
