/* Additions made after leaving Webflow. Loaded after the Webflow stylesheet. */

/* ---------- PERSEIDI ---------- */
.written-headline.perseidi {
  background-image: url("../images/PERSEIDI-NIABATANOVA.webp");
  background-position: 0% 50%;
  background-size: contain;
  width: 380px;
  height: 170px;
}
.written-headline.perseidi.landing {
  position: absolute;
  top: -70px;
  left: calc(50% + 40px);   /* anchored to page centre, not the right edge */
  right: auto;
  width: 540px;
  height: 240px;
}
.project-cont.perseidi {
  background-image: url("../images/NIABATANOVA_Perseidi_Hero.webp");
  background-position: 50%;
  justify-content: flex-start;
  align-items: center;
}

.project-cont.perseidi .black-gradient { opacity: .55; }

/* breakdown reel: vertical video between two dimmed stills */
.bts-perseidi {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) 1fr;
  gap: 10px;
  padding: 0 10px;
  margin-bottom: 80px;
}
.bts-perseidi .side {
  opacity: .15;
  mix-blend-mode: luminosity;
  background-size: cover;
  background-position: 50%;
}
.bts-perseidi .side.l { background-image: url("../images/NIABATANOVA_Perseidi_Still24.webp"); }
.bts-perseidi .side.r { background-image: url("../images/NIABATANOVA_Perseidi_Still16.webp"); }
.bts-perseidi video { width: 100%; display: block; border-radius: 5px; }

/* stills shown as cropped strips (top/bottom cut) */
.perseidi-still {
  display: block;
  width: 100%;
  height: 65vh;
  object-fit: cover;
  object-position: 50% 50%;
}
.grain-wrap { position: relative; margin-bottom: 20px; }

/* film grain: one sharp tile drawn at device-pixel size on top of images */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../images/grain.png");
  background-size: 320px 320px;
  mix-blend-mode: overlay;
  opacity: .15;
}
.project-cont.perseidi { position: relative; }
.project-cont.perseidi .grain { opacity: .25; z-index: 1; }
.project-cont.perseidi .htext-cont { position: relative; z-index: 2; }
@media (min-resolution: 1.5dppx) {
  .grain { background-size: 160px 160px; }
}

.featured-project._6 { top: 20px; right: 30%; left: auto; }

@media screen and (max-width: 991px) {
  .written-headline.perseidi.landing { top: -90px; width: 460px; height: 205px; }
}
@media screen and (max-width: 767px) {
  .written-headline.perseidi { background-position: 0% 50%; }
  .written-headline.perseidi.landing { left: auto; right: 10px; width: 320px; height: 145px; top: -60px; }
  .project-cont.perseidi { justify-content: flex-start; align-items: flex-end; }
  .project-cont.perseidi .black-gradient { display: none; }
  .bts-perseidi { grid-template-columns: 1fr; padding: 0 10px; }
  .bts-perseidi .side { display: none; }
  .perseidi-still { height: 42vh; }
  .grain-wrap { margin-bottom: 12px; }
}
@media screen and (max-width: 479px) {
  .written-headline.perseidi { width: 260px; height: 120px; }
  .written-headline.perseidi.landing { width: 260px; height: 118px; top: -40px; }
  .featured-project._6 { top: 20px; right: 3%; }
}

/* ---------- VOICES OF DENIM ---------- */
.written-headline.vod {
  background-image: url("../images/VOD-NIABATANOVA.webp");
  background-position: 100% 50%;
  background-size: contain;
  width: 420px;
  height: 195px;
}
.written-headline.vod.landing {
  position: absolute;
  top: -80px;
  left: calc(50% + 20px);
  right: auto;
  width: 520px;
  height: 240px;
}
.project-cont.vod {
  background-image: url("../images/NIABATANOVA_VOD_Hero.webp");
  background-position: 50%;
  justify-content: flex-end;
  align-items: center;
}
.vod-reel { width: 100%; }
.vod-reel video { width: 100%; display: block; border-radius: 5px; background: #000; }
.vod-label { color: #fff; font-family: Montserrat, sans-serif; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; text-align: center; margin: 0 0 20px; }
.vod-sb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10%; margin-bottom: 80px; }
.vod-sb img { width: 100%; height: auto; display: block; border-radius: 3px; }
.vod-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 10%; margin-bottom: 80px; align-items: start; }
.vod-board { width: 100%; height: auto; display: block; }
.vod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 10px; margin-bottom: 60px; }
.vod-grid img { width: 100%; height: auto; display: block; }
.vod-label { margin-top: 40px; }
.vod-label.small { font-size: 11px; opacity: .7; }
.vod-outro { padding: 0 10%; margin-bottom: 20px; box-sizing: border-box; }
.vod-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 56px; padding: 40px 10% 60px; }
.vod-logo { height: 44px; width: auto; opacity: .85; }
.vod-logo.levis { height: 52px; } .vod-logo.afa { height: 26px; } .vod-logo.specchio { height: 38px; }
.vod-logo.cnmi { height: 64px; } .vod-logo.negrifirman { height: 32px; } .vod-logo.xhgroup { height: 44px; }
.vod-hero-logos { display: flex; justify-content: flex-end; align-items: center; gap: 22px; margin-top: 18px; }
.vod-hero-logos img { width: auto; opacity: .9; }
.vod-hero-logos .levis { height: 34px; } .vod-hero-logos .afa { height: 18px; }
.featured-project._7 { bottom: 40px; top: auto; right: 12%; left: auto; }
@media screen and (max-width: 991px) {
  .written-headline.vod.landing { top: -100px; width: 440px; height: 205px; }
  .vod-sb, .vod-boards, .vod-outro { padding: 0 5%; }
}
@media screen and (max-width: 767px) {
  .written-headline.vod { background-position: 0% 50%; }
  .written-headline.vod.landing { left: auto; right: 10px; width: 300px; height: 140px; top: -60px; }
  .project-cont.vod { justify-content: flex-start; align-items: flex-end; }
  .project-cont.vod .black-gradient { display: none; }
  .vod-hero-logos { justify-content: flex-start; }
  .vod-grid { grid-template-columns: 1fr; gap: 8px; }
  .vod-outro { padding: 0 10px; }
  .vod-logos { gap: 24px 36px; padding: 30px 20px 40px; }
  .vod-logo { transform: scale(.75); }
  .vod-sb { grid-template-columns: 1fr 1fr; gap: 6px; }
  .vod-boards { grid-template-columns: 1fr; }
}
@media screen and (max-width: 479px) {
  .written-headline.vod { width: 280px; height: 130px; }
  .written-headline.vod.landing { width: 250px; height: 115px; top: -40px; }
  .featured-project._7 { right: 5%; bottom: 20px; }
}
