.works-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-family: 'Atkinson Hyperlegible Mono', sans-serif;
}

.works-main * {
  font-family: 'Atkinson Hyperlegible Mono', sans-serif;
}

.works-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-label {
  margin: 0;
  margin-bottom: 4px;
  align-self: stretch;
  width: 100%;
  padding: 14px 18px;
  font-family: 'Atkinson Hyperlegible Mono', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  font-weight: 700;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.featured-project,
.playground-project,
.more-project {
  display: block;
  color: var(--dark);
}

.featured-project .grid-card,
.playground-project .grid-card,
.more-project .grid-card {
  width: 100%;
  height: 100%;
  align-items: flex-start;
  text-align: left;
  transition: transform 180ms ease, background-color 180ms ease;
}

.featured-project .grid-card {
  padding: 12px;
}

.featured-project .grid-card-image,
.playground-project .grid-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
}

.project-meta {
  display: block;
  margin: 0 4px 5px;
  font-size: 0.78rem;
  text-transform: lowercase;
  opacity: 0.72;
}

.grid-card-title {
  margin: 0 4px 4px;
  max-width: none;
  text-align: left;
  line-height: 1.35;
}

.featured-project:hover .grid-card,
.playground-project:hover .grid-card,
.more-project:hover .grid-card {
  transform: translateY(-3px);
  color: var(--dark);
  background: rgba(255, 255, 255, 0.24);
}

.playground-section {
  position: static;
}

.playground-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.more-project .grid-card {
  padding: 10px;
}

.more-project .grid-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 8px;
}

.more-project .grid-card-title {
  font-size: 0.9rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
}

.practice-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 18px;
}

.practice-copy {
  padding: 20px 22px;
  align-items: flex-start;
  gap: 14px;
}

.practice-copy p,
.practice-copy li {
  max-width: 58ch;
  line-height: 1.5;
}

.practice-copy ul {
  margin: 0;
  padding-left: 20px;
}

.works-contact {
  align-items: center;
  width: min(760px, 100%);
  margin: 12px auto 0;
  padding: 32px 36px;
  gap: 10px;
  text-align: center;
}

.works-contact:hover {
  backdrop-filter: brightness(.3);
}

.works-contact strong {
  font-size: clamp(1rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
}

.works-contact-prefix {
  white-space: nowrap;
}

.works-contact-action {
  margin-top: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  .works-main {
    width: min(100% - 32px, 1120px);
    padding-top: 16px;
    gap: 48px;
  }

  .featured-grid,
  .playground-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playground-section {
    position: static;
  }

  .practice-image {
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .more-grid {
    grid-template-columns: 1fr;
  }
}