/* The supplied photograph is the banner's full background. */
.amazon-banner {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1672 / 941;
  margin-top: 64px;
  background: #fbf7f3;
}
.amazon-banner-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: 56px 0 60px 56px;
}
.amazon-banner-logo {
  width: 118px;
  height: auto;
  margin-bottom: 28px;
  filter: url('#logo-paper-alpha');
  transform-origin: left center;
}
.amazon-banner-title {
  color: var(--ink);
  font-size: clamp(36px, 3.55vw, 52px);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.amazon-banner-title > span { display: block; }
.amazon-banner-title > em {
  display: inline-block;
  position: relative;
  color: var(--brand-blue);
  padding-bottom: 15px;
}
.amazon-banner-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 4;
  stroke-linecap: round;
}
.amazon-banner-invitation {
  margin-top: 25px;
  color: #314a91;
  font-size: 20px;
  line-height: 1.5;
}
.amazon-banner-cta {
  margin-top: 23px;
  color: var(--ink);
  background: var(--brand-orange);
}
.amazon-banner-cta:hover {
  background: #e96f00;
  box-shadow: 0 6px 16px -8px rgb(155 79 10 / 40%);
}
.amazon-banner-cta:focus-visible { outline-color: var(--orange-ink); }
.amazon-banner-fallback {
  margin-top: 16px;
  max-width: 30ch;
  color: #314a91;
  font-family: var(--sans);
  font-size: 13px;
}
.amazon-banner-visual {
  position: absolute;
  inset: 0;
  min-width: 0;
  overflow: hidden;
}
.amazon-banner-image {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1200px) {
  .amazon-banner-copy { padding: 44px 0 48px 36px; }
}
@media (max-width: 900px) {
  .amazon-banner { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .amazon-banner-copy { padding: 36px 0 40px 28px; }
  .amazon-banner-logo { width: 100px; margin-bottom: 24px; }
  .amazon-banner-title { font-size: clamp(30px, 4vw, 36px); }
  .amazon-banner-invitation { font-size: 17px; }
}
@media (max-width: 600px) {
  .amazon-banner {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    margin-top: 36px;
    background: #fbf7f3 url('../img/banner-amazon.jpg') left top / auto 100% no-repeat;
  }
  .amazon-banner-copy { padding: 32px 24px 22px; }
  .amazon-banner-logo { width: 98px; margin-bottom: 22px; }
  .amazon-banner-title { font-size: clamp(29px, 7.7vw, 44px); }
  .amazon-banner-invitation { margin-top: 19px; font-size: 18px; }
  .amazon-banner-cta { margin-top: 18px; }
  .amazon-banner-visual { position: relative; inset: auto; aspect-ratio: 1.22; }
  .amazon-banner-image { object-position: right center; }
}
@media (prefers-reduced-motion: reduce) {
  .amazon-banner-cta, .amazon-banner-cta .icon { transition: background-color .15s; }
  .amazon-banner-cta:active, .amazon-banner-cta:hover .icon { transform: none; }
}
html[data-motion='reduced'] .amazon-banner-cta:active,
html[data-motion='reduced'] .amazon-banner-cta:hover .icon { transform: none; }
