/* --- PROJECT PAGE STYLES --- */
.project-page-container {
  background-color: #000;
  color: #fff;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  clip-path: none !important;
}

.project-hero {
  padding: 8rem 2rem 2rem 2rem;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.project-title {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.05rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

.project-row {
  width: 100%;
  padding: 0 1rem;
  display: flex;
  gap: 2rem;
  /* Re-increased gap */
  justify-content: center;
  /* Center the cards */
}

.card-container {
  position: relative;
  flex: 1;
  max-width: 500px;
  max-height: 55vh;
  /* Make cards smaller and not too full */
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background-color: transparent;
  cursor: pointer;
}

.card-container .svg-stroke {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.card-container .svg-stroke svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-container .card-img {
  width: 100%;
  height: 100%;
}

.card-container .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #fff;
  /* White text for dark theme */
  pointer-events: none;
}

.card-title h3 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -0.025rem;
  text-transform: uppercase;
}

.card-title .word {
  will-change: transform;
}

@media (max-width: 1000px) {
  .project-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .card-container {
    width: 85%;
    max-width: 350px;
  }
}
@font-face {
  font-family: "Betterlett";
  src: url("../betterlett/Betterlett.ttf") format("truetype");
}

.project-title .accent {
    color: #FFD700;
    font-family: "Betterlett", sans-serif;
    text-transform: none;
    font-weight: normal;
    font-size: clamp(4rem, 8vw, 10rem);
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: -0.2em -0.5em;
    line-height: normal;
    letter-spacing: 0.1em;
}

@media (min-width: 1001px) {
  body {
    overflow: hidden;
  }
  .project-page-container {
    height: 100svh;
    overflow: hidden;
  }
}
