body.stay-ugly-page {
  color: #e7dfd1;
  background: #161310;
  font-family: "Courier New", Courier, monospace;
  overflow-x: hidden;
}

.stay-ugly-project {
  display: block;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  background: #161310;
}

.stay-ugly-hero {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 100svh;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 4rem 1.25rem 5.5rem;
  color: #f4eee4;
  text-align: center;
  background:
    linear-gradient(rgba(9, 8, 7, 0.76), rgba(9, 8, 7, 0.9)),
    url("assets/stay-ugly-subway-heretic.png") center / cover;
}

.stay-ugly-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(rgba(255, 255, 255, 0.025) 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 4px;
  opacity: 0.28;
}

.grailed-logo,
.stay-ugly-hero h1,
.stay-ugly-copy {
  position: relative;
  z-index: 1;
}

.grailed-logo {
  margin: 0 0 1.1rem;
  color: #f4eee4;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 0.95;
}

.stay-ugly-hero h1 {
  margin: 0 0 2rem;
  color: #f4eee4;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1.65rem, 3.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.stay-ugly-copy {
  display: grid;
  gap: 1rem;
  max-width: 55rem;
  margin: 0;
  color: rgba(244, 238, 228, 0.82);
  font-size: 0.96rem;
  line-height: 1.6;
}

.stay-ugly-copy p,
.stay-ugly-manifesto p,
.stay-ugly-section-copy p {
  margin: 0;
}

.stay-ugly-section {
  position: relative;
  padding: 4.5rem 3vw 4.75rem;
  background: #161310;
}

.stay-ugly-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  border-top: 1px solid rgba(231, 223, 209, 0.24);
  content: "";
  transform: translateX(-50%);
}

.stay-ugly-manifesto::before,
.stay-ugly-film-section::before {
  display: none;
}

.stay-ugly-manifesto {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  padding-top: 8.5rem;
  padding-bottom: 1.35rem;
  color: rgba(244, 238, 228, 0.86);
  font-size: clamp(0.86rem, 1.35vw, 1.1rem);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

.stay-ugly-film-section {
  display: grid;
  place-items: center;
  padding-top: 1.6rem;
}

.stay-ugly-film {
  display: block;
  width: min(92%, 50rem);
  aspect-ratio: 16 / 9;
  background: #050505;
  object-fit: cover;
}

.stay-ugly-section-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
  margin: 0 auto 3.2rem;
  color: rgba(244, 238, 228, 0.78);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.stay-ugly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 78rem;
  margin: 0 auto;
}

.stay-ugly-grid img {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  object-fit: cover;
}

.stay-ugly-grid img:nth-child(5) {
  grid-column: 1 / -1;
  width: min(100%, 52rem);
  margin: 0 auto;
}

.stay-ugly-page .project-footer {
  background: #211d18;
  border-top-color: rgba(231, 223, 209, 0.22);
  color: #f4eee4;
}

.stay-ugly-page .project-footer p,
.stay-ugly-page .project-footer a {
  color: #f4eee4;
}

@media (max-width: 760px) {
  .stay-ugly-hero {
    padding: 4rem 1rem 5rem;
  }

  .grailed-logo {
    font-size: clamp(1.8rem, 11vw, 3.5rem);
    letter-spacing: 0.12em;
  }

  .stay-ugly-copy,
  .stay-ugly-section-copy {
    font-size: 0.84rem;
  }

  .stay-ugly-section {
    padding: 3.35rem 1rem 3.75rem;
  }

  .stay-ugly-manifesto {
    padding-top: 6rem;
    padding-bottom: 1.1rem;
  }

  .stay-ugly-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }

  .stay-ugly-grid img:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }
}
