.project-main h1{
  margin: 0 0 14px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.project-hero{
  padding: 44px 0 24px;
}

.project-hero-image{
  height: min(55vh, 520px);
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  background-repeat: no-repeat;
  background-color: transparent;

  &::after{
    content: "";
    position: absolute;
    width: 72px;
    height: 72px;
    border: 3px solid rgba(0,0,0,0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
  }
}

.project-detail-section{
  padding: 18px 0 90px;
}

.project-layout{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
}

.project-sidebar,
.project-main{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-sidebar{
  padding: 24px;
  position: sticky;
  top: 104px;
}

.small-poster{
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 22px;
  background-repeat: no-repeat;
  background-color: transparent;
}

.meta-block h2{
  margin: 0 0 6px;
  font-size: 2rem;
  line-height: 1;
}

.project-main{
  padding: 34px;
}

.project-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;

  h3{
    margin: 0 0 8px;
  }
}

.video-placeholder{
  margin-top: 34px;
  height: 320px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #dbd8d2, #c4c1bb);
  display: grid;
  place-items: center;
}

.play-icon{
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 34px solid rgba(0,0,0,0.55);
  margin-left: 8px;
}

.project-slideshow{
  margin-top: 34px;
  height: 320px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #dbd8d2, #c4c1bb);
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  overflow: hidden;
}

.slide-frame{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

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

.slide-arrow{
  height: 100%;
  border: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 2.5rem;
  cursor: pointer;
  transition: background 0.2s ease;

  &:hover{
    background: rgba(255,255,255,0.6);
  }
}

.project-note-box{
  padding: 0;
  overflow: hidden;
}

.project-note-inner{
  width: 100%;
  height: 100%;
}

.project-note-inner iframe{
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* project-specific images */

.project-charm .project-hero-image{
  background-image: url("../images/charm/charm-hero.png");
  background-size: contain;
  background-position: center;
}

.project-charm .small-poster{
  background-image: url("../images/charm/charm-jeans.png");
  background-size: 150%;
  background-position: right 50% bottom 30%;
}

.project-bubble .project-hero-image{
  background-image: url("../images/bubble/bubble-hero.png");
  background-size: cover;
  background-position: center;
}

.project-bubble .small-poster{
  background-image: url("../images/bubble/bubble-small.png");
  background-size: cover;
  background-position: center;
}

.project-ascent .project-hero-image{
  background-image: url("../images/ascent/ascent-hero.png");
  background-size: cover;
  background-position: center;
}

.project-ascent .small-poster{
  background-image: url("../images/ascent/ascent-small.png");
  background-size: cover;
  background-position: center;
}

.project-intothetank .project-hero-image{
  background-image: url("../images/intothetank/intothetank-hero.png");
  background-size: cover;
  background-position: center;
}

.project-intothetank .small-poster{
  background-image: url("../images/intothetank/intothetank-small.png");
  background-size: cover;
  background-position: center;
}

.project-nike .project-hero-image{
  background-image: url("../images/nike/nike-hero.png");
  background-size: cover;
  background-position: center;
}

.project-nike .small-poster{
  background-image: url("../images/nike/nike-small.png");
  background-size: cover;
  background-position: center;
}

.project-sabi .project-hero-image{
  background-image: url("../images/sabi/sabi-hero.png");
  background-size: cover;
  background-position: center;
}

.project-sabi .small-poster{
  background-image: url("../images/sabi/sabi-small.png");
  background-size: cover;
  background-position: center;
}

.project-spectacles .project-hero-image{
  background-image: url("../images/spectacles/spectacles-hero.png");
  background-size: cover;
  background-position: center;
}

.project-spectacles .small-poster{
  background-image: url("../images/spectacles/spectacles-small.png");
  background-size: cover;
  background-position: center;
}

.project-therabot .project-hero-image{
  background-image: url("../images/therabot/therabot-hero.png");
  background-size: cover;
  background-position: center;
}

.project-therabot .small-poster{
  background-image: url("../images/therabot/therabot-small.png");
  background-size: cover;
  background-position: center;
}

@media (max-width: 1050px){
  .project-layout{
    grid-template-columns: 1fr;
  }

  .project-sidebar{
    position: static;
  }
}

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

  .project-slideshow{
    height: 260px;
    grid-template-columns: 48px 1fr 48px;
  }


  .slide-arrow{
    font-size: 2rem;
  }
}