/* Homepage composition: complete Montreal panorama, text left and logo right. */
.hero--wallpaper {
  background: #05090b;
}

.hero--wallpaper .hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--wallpaper .hero__media img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.hero--wallpaper .hero__overlay {
  background: linear-gradient(90deg, rgba(5, 9, 11, .20), transparent 68%);
}

.hero--wallpaper .hero__content {
  width: min(calc(100% - 3rem), 1120px);
  max-width: none;
  padding-block: 4.75rem;
}

.hero--wallpaper h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 6.8vw, 5.25rem);
}

.hero--wallpaper p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.5rem;
}

.hero--wallpaper .btn {
  padding: .95rem 1.25rem;
  font-size: 1.1rem;
}

.hero--wallpaper .eyebrow {
  max-width: 700px;
  line-height: 1.5;
  text-wrap: balance;
}

.hero--wallpaper .hero__facts {
  max-width: 760px;
  font-size: 1.1rem;
}

.hero--wallpaper .hero__facts span {
  align-items: baseline;
}

.hero--wallpaper .hero__facts span::before {
  flex: 0 0 8px;
}

.hero--wallpaper .hero__facts span:nth-child(n + 4) {
  flex-basis: 100%;
}

@media (min-width: 901px) {
  .hero--wallpaper .eyebrow {
    max-width: none;
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(.875rem, 1.55vw, 1rem);
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .hero--wallpaper h1,
  .hero--wallpaper p:not(.eyebrow),
  .hero--wallpaper .hero__facts {
    max-width: 60%;
  }

  .hero--wallpaper h1 {
    font-size: clamp(2.7rem, 5.7vw, 4.5rem);
  }
}

@media (max-width: 1232px) {
  /* Keep the existing photo decoration inside the page width. */
  .photo-frame::after {
    right: 0;
  }
}

@media (max-width: 900px) {
  .hero--wallpaper .hero__media {
    align-items: flex-end;
  }

  .hero--wallpaper .hero__media img {
    height: auto;
  }

  .hero--wallpaper .hero__overlay {
    background: linear-gradient(180deg, rgba(5, 9, 11, .85), rgba(5, 9, 11, .75) 70%, rgba(5, 9, 11, .35));
  }

  .hero--wallpaper .hero__content {
    padding-block: 3.5rem;
  }

  .hero--wallpaper h1 {
    max-width: 700px;
    font-size: clamp(2.7rem, 7.5vw, 4.5rem);
  }

  .hero--wallpaper p:not(.eyebrow) {
    font-size: 1.2rem;
  }
}

@media (max-width: 650px) {
  .hero--wallpaper {
    min-height: 630px;
  }

  .hero--wallpaper h1 {
    font-size: clamp(2.45rem, 12vw, 4.2rem);
  }

  .hero--wallpaper .eyebrow {
    font-size: .94rem;
    text-wrap: wrap;
  }

  .hero--wallpaper p:not(.eyebrow) {
    font-size: 1.12rem;
  }

  .hero--wallpaper .hero__facts {
    font-size: 1rem;
  }
}
