html {
  scrollbar-gutter: stable;
}

.project-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 108px 0 72px;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: 94%;
  max-width: 1260px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
}

.project-profile {
  width: 100%;
  max-width: 560px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  justify-self: center;
  text-align: left;
}

.project-art-link {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.project-art-link:hover,
.project-art-link:focus-visible {
  border-color: rgba(122, 162, 247, 0.55);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.46),
    0 0 24px rgba(122, 162, 247, 0.12);
  transform: translateY(-2px);
}

.project-art-link:focus-visible {
  outline: 2px solid rgba(122, 162, 247, 0.45);
  outline-offset: 3px;
}

.project-art {
  display: block;
  width: 100%;
  height: auto;
}

.project-identity {
  margin-top: 28px;
}

.project-identity h1 {
  color: var(--text);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.project-identity p {
  margin-top: 12px;
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.project-about {
  width: 100%;
  max-width: 540px;
  justify-self: center;
}

.project-about h2 {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-about p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.project-about p + p {
  margin-top: 22px;
}

@media (max-width: 800px) {
  .project-shell {
    padding: 96px 0 56px;
  }

  .project-container {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-profile {
    max-width: 560px;
    justify-self: center;
  }

  .project-about {
    max-width: 620px;
    justify-self: center;
  }
}
