.nomad-banner {
  --nomad-banner-blue: #9ac4db;
  --nomad-banner-navy: #082f49;
  --nomad-banner-pad: clamp(1.25rem, 4.5vw, 5rem);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(34rem, 72svh, 48rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--nomad-banner-navy);
  font-family: Arial, Helvetica, sans-serif;
}

.nomad-banner,
.nomad-banner * {
  box-sizing: border-box;
}

.nomad-banner img.nomad-banner__image {
  position: absolute;
  z-index: -5;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: grayscale(1) contrast(1.16);
  transform: scale(1.02);
}

.nomad-banner__wash {
  position: absolute;
  z-index: -4;
  inset: 0;
  background: var(--nomad-banner-navy);
  opacity: .53;
  mix-blend-mode: multiply;
}

.nomad-banner__grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: clamp(5.5rem, 11vw, 13rem) clamp(5.5rem, 11vw, 13rem);
}

.nomad-banner__grain {
  position: absolute;
  z-index: -2;
  inset: -50%;
  opacity: .1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: nomad-banner-grain .28s steps(2) infinite;
}

.nomad-banner__content {
  width: min(100%, 100rem);
  margin-inline: auto;
  padding: clamp(5.5rem, 9vh, 8rem) var(--nomad-banner-pad) clamp(8rem, 15vh, 10.5rem);
}

.nomad-banner__content h2 {
  max-width: 11ch;
  margin: 0;
  color: inherit;
  font: 400 clamp(5rem, 13vw, 11rem)/.76 Georgia, "Times New Roman", serif;
  letter-spacing: -.075em;
  text-transform: none;
}

.nomad-banner__content h2 span {
  display: inline-block;
  margin: 0 .03em;
  color: var(--nomad-banner-blue);
  font-family: Arial, Helvetica, sans-serif;
  transform: scaleX(1.45);
  transform-origin: center;
}

.nomad-banner__content p {
  max-width: 35rem;
  margin: clamp(2.2rem, 5vh, 3.5rem) 0 0 49%;
  color: inherit;
  font: italic clamp(1.45rem, 2.6vw, 2.45rem)/1.16 Georgia, "Times New Roman", serif;
}

.nomad-banner__cta {
  position: absolute;
  z-index: 4;
  right: var(--nomad-banner-pad);
  bottom: clamp(1.6rem, 4vh, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .17em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, transform .25s ease;
}

.nomad-banner .nomad-banner__cta:hover,
.nomad-banner .nomad-banner__cta:focus-visible {
  color: #fff;
  transform: translateX(.3rem);
}

.nomad-banner__cta i {
  position: relative;
  width: 4rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.nomad-banner__cta i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.nomad-banner__route {
  position: absolute;
  z-index: -1;
  width: clamp(10rem, 24vw, 24rem);
  border-top: 1px dashed var(--nomad-banner-blue);
  transform-origin: left center;
  opacity: .88;
}

.nomad-banner__route i {
  position: absolute;
  right: -.45rem;
  top: -.45rem;
  width: .8rem;
  aspect-ratio: 1;
  border: 1px solid var(--nomad-banner-blue);
  border-radius: 50%;
  background: var(--nomad-banner-navy);
  box-shadow: 0 0 0 .55rem rgba(154, 196, 219, .18);
}

.nomad-banner__route--one {
  top: 28%;
  right: 6%;
  transform: rotate(-13deg);
}

.nomad-banner__route--two {
  left: 17%;
  bottom: 14%;
  transform: rotate(22deg);
}

@keyframes nomad-banner-grain {
  0% { transform: translate(0); }
  25% { transform: translate(2%, -3%); }
  50% { transform: translate(-3%, 2%); }
  75% { transform: translate(3%, 4%); }
  100% { transform: translate(-2%, -3%); }
}

@media (max-width: 1024px) {
  .nomad-banner {
    min-height: clamp(32rem, 68svh, 42rem);
  }

  .nomad-banner img.nomad-banner__image {
    object-position: center 40%;
  }

  .nomad-banner__content h2 {
    font-size: clamp(4.7rem, 15vw, 8.5rem);
  }

  .nomad-banner__content p {
    max-width: 29rem;
    margin-left: 39%;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
  }

  .nomad-banner__route--one {
    right: -6%;
  }
}

@media (max-width: 767px) {
  .nomad-banner {
    min-height: clamp(32rem, 75svh, 39rem);
    align-items: flex-end;
  }

  .nomad-banner img.nomad-banner__image {
    width: 100% !important;
    height: 100% !important;
    object-position: center 48%;
    transform: scale(1.015);
  }

  .nomad-banner__grid {
    background-size: 5.5rem 5.5rem;
  }

  .nomad-banner__content {
    padding: 5rem var(--nomad-banner-pad) 8.5rem;
  }

  .nomad-banner__content h2 {
    max-width: none;
    font-size: clamp(4.4rem, 24vw, 7.2rem);
    line-height: .8;
  }

  .nomad-banner__content p {
    max-width: 19rem;
    margin: 2.2rem 0 0 13%;
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }

  .nomad-banner__cta {
    right: auto;
    left: var(--nomad-banner-pad);
    bottom: 1.75rem;
  }

  .nomad-banner__route--one {
    top: 22%;
    right: -22%;
  }

  .nomad-banner__route--two {
    left: -14%;
    bottom: 18%;
  }
}

@media (max-width: 479px) {
  .nomad-banner {
    min-height: max(31rem, 72svh);
  }

  .nomad-banner img.nomad-banner__image {
    object-position: 48% 50%;
  }

  .nomad-banner__content {
    padding-top: 4rem;
    padding-bottom: 7.7rem;
  }

  .nomad-banner__content h2 {
    font-size: clamp(4rem, 23vw, 6.1rem);
  }

  .nomad-banner__content p {
    margin-left: 8%;
    font-size: clamp(1.18rem, 5.7vw, 1.48rem);
  }

  .nomad-banner__cta {
    font-size: .7rem;
  }

  .nomad-banner__cta i {
    width: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nomad-banner *,
  .nomad-banner *::before,
  .nomad-banner *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
