.project-hero img {
  object-position: center 48%;
}

.rv-feature-videos {
  width: 90%;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) 0 clamp(28px, 5vw, 56px);
}

.rv-section-heading {
  margin-bottom: clamp(24px, 4vw, 44px);
}

.rv-section-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.rv-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: center;
}

.rv-feature-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 238, 50, 0.18);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.rv-feature-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.rv-feature-embed--portrait {
  aspect-ratio: 9 / 16;
  justify-self: start;
  width: min(100%, 390px);
}

.rv-feature-embed--landscape {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.rv-video-gallery {
  width: 90%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 10vw, 132px);
}

.rv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
}

.rv-gallery-grid video {
  width: 100%;
  height: clamp(220px, 22vw, 340px);
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 238, 50, 0.18);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

@media (max-width: 960px) {
  .rv-feature-grid {
    grid-template-columns: 1fr;
  }

  .rv-feature-embed--portrait,
  .rv-feature-embed--landscape {
    justify-self: stretch;
    width: 100%;
  }

  .rv-feature-embed--portrait {
    width: min(100%, 430px);
    justify-self: center;
  }

  .rv-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .rv-gallery-grid {
    grid-template-columns: 1fr;
  }

  .rv-gallery-grid video {
    height: clamp(260px, 78vw, 420px);
  }
}
