* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Syne", sans-serif;
  background-color: #f5f2ee;
  color: #1a1a1a;
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #d0cbc4;
  border-radius: 2px;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: #1a1a1a;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ddd8d0;
  margin-bottom: 1rem;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.75rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.4;
}

footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  font-size: 0.75rem;
  font-weight: 400;
}

footer a {
  color: #4a4a4a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

footer a:hover {
  border-bottom-color: #4a4a4a;
}
