:root {
  --rp-bg: #f2f2f2;
  --rp-ink: #2d2d2f;
  --rp-muted: #5f626a;
  --rp-light: #e5e5e5;
  --rp-red: #c6002b;
  --rp-green: #0d6f3b;
  --rp-container: var(--hero-container-max);
}

body {
  background: var(--rp-bg);
}

.rp-page {
  color: var(--rp-ink);
}

.rp-container {
  width: min(100% - (var(--container-padding) * 2), var(--rp-container));
  margin: 0 auto;
}

.rp-hero {
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(1.8rem, 3vw, 2.8rem);
}

.rp-hero__title {
  max-width: 1320px;
  margin: 0;
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rp-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(20rem, 1.02fr);
  gap: clamp(2rem, 4vw, 4.25rem);
  align-items: center;
  padding: clamp(2rem, 3.8vw, 3.4rem) 0;
}

.rp-section__copy {
  position: relative;
  z-index: 1;
  min-height: 14rem;
  padding-top: clamp(2.1rem, 3vw, 3rem);
}

.rp-section__number {
  position: absolute;
  top: 0;
  left: -0.2rem;
  z-index: -1;
  color: var(--rp-light);
  font-size: clamp(5rem, 8vw, 8.2rem);
  font-weight: 900;
  line-height: .78;
}

.rp-section__title {
  max-width: 46rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.15vw, 2.15rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rp-section__text {
  max-width: 46rem;
  margin: 0 0 1rem;
  color: var(--rp-muted);
  font-size: 1rem;
  line-height: 1.48;
}

.rp-link,
.rp-project-link {
  display: inline-flex;
  align-items: center;
}

.rp-link {
  gap: .55rem;
  margin-top: .6rem;
  color: var(--rp-ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.rp-link::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  background: var(--rp-red);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2Zm6.9 9h-3.1a15.5 15.5 0 0 0-1.1-5A8.05 8.05 0 0 1 18.9 11ZM12 4.1c.7 1 1.5 3.1 1.8 6.9h-3.6c.3-3.8 1.1-5.9 1.8-6.9ZM4.1 13h3.1c.2 2 .6 3.7 1.1 5A8.05 8.05 0 0 1 4.1 13Zm3.1-2H4.1A8.05 8.05 0 0 1 8.3 6c-.5 1.3-.9 3-1.1 5ZM12 19.9c-.7-1-1.5-3.1-1.8-6.9h3.6c-.3 3.8-1.1 5.9-1.8 6.9Zm2.7-1.9c.5-1.3.9-3 1.1-5h3.1a8.05 8.05 0 0 1-4.2 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rp-project-link {
  margin-top: .5rem;
  color: var(--rp-muted);
  font-size: .9rem;
  text-decoration: none;
}

.rp-project-link:hover,
.rp-link:hover {
  color: var(--rp-red);
}

.rp-media {
  margin: 0;
}

.rp-media img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rp-media--logo {
  display: grid;
  justify-items: center;
}

.rp-logo-card {
  width: min(15.3rem, 61vw);
}

.rp-logo-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rp-brand-visual {
  display: grid;
  grid-template-columns: minmax(8rem, .8fr) minmax(14rem, 1.35fr);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: center;
}

.rp-brand-visual__logo,
.rp-brand-visual__product {
  min-width: 0;
}

.rp-brand-visual__logo {
  display: grid;
  place-items: center;
  min-height: 13rem;
  padding-right: clamp(1.2rem, 2vw, 2rem);
  border-right: 1px solid #d5d5d5;
}

.rp-brand-visual__logo img {
  max-width: 100%;
  max-height: 10rem;
  object-fit: contain;
}

.rp-brand-visual__product img {
  width: 100%;
  max-height: 18rem;
  object-fit: contain;
}

.rp-brand-visual--shefu .rp-brand-visual__logo img {
  object-position: 50% 28%;
}

.rp-brand-visual--shefu .rp-brand-visual__product img {
  object-position: 50% 80%;
}

.rp-labels {
  padding-top: clamp(2rem, 3.8vw, 3.4rem);
  padding-bottom: clamp(3.2rem, 5vw, 5.2rem);
}

.rp-labels__head {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.1rem, 3vw, 3rem);
}

.rp-labels__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(2rem, 3vw, 3rem);
}

.rp-label-card {
  margin: 0;
}

.rp-label-card img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, .08);
}

.rp-label-card figcaption {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: var(--rp-muted);
  font-size: 1rem;
  line-height: 1.48;
}

@media (max-width: 62rem) {
  .rp-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rp-section__copy {
    min-height: 0;
  }

  .rp-brand-visual {
    grid-template-columns: 1fr;
  }

  .rp-brand-visual__logo {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 1.25rem;
    border-right: 0;
    border-bottom: 1px solid #d5d5d5;
  }
}

@media (max-width: 48rem) {
  .rp-labels__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .rp-hero {
    padding-top: 3rem;
  }

  .rp-section {
    padding: 1.75rem 0;
  }

  .rp-section__title {
    font-size: 1.45rem;
  }

  .rp-section__text,
  .rp-label-card figcaption {
    font-size: .96rem;
  }
}

.rp-brand-visual--smacheli .rp-brand-visual__logo img {
  max-height: 9.5rem;
}

.rp-brand-visual--smacheli .rp-brand-visual__product img {
  max-height: 18rem;
}
.rp-labels__grid--six {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.rp-label-group {
  margin: 0;
}

.rp-label-group__images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.2rem);
  align-items: end;
}

.rp-label-group__images img {
  display: block;
  width: 100%;
  max-width: 254px;
  height: auto;
  box-shadow: none;
}

.rp-label-group figcaption {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: var(--rp-muted);
  font-size: 1rem;
  line-height: 1.48;
}

@media (max-width: 72rem) {
  .rp-labels__grid--six {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 40rem) {
  .rp-label-group__images {
    gap: .7rem;
  }

  .rp-label-group figcaption {
    font-size: .94rem;
  }
}