/* Full-width campaign posters with separate compositions for each screen. */
body[data-page=home] .header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 25;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px var(--desktop-header-gutter, 38px);
  background: none;
  border: 0;
  box-shadow: none;
  isolation: isolate;
}

body[data-page=home] .header:before {
  content: '';
  position: absolute;
  inset: -14px 0 -28px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #000e 0%, #000b 46%, transparent);
}

body[data-page=home] .header .nav a {
  color: #e5e5e5;
  text-shadow: 0 2px 9px #000, 0 0 20px #0009;
}

body[data-page=home] .header .nav a.active,
body[data-page=home] .header .nav a:hover {
  color: #fff;
}

.launch-carousel.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #000;
}

:root {
  --cinematic-hero-height: clamp(540px, 49vw, 800px);
  --cinematic-hero-gutter: clamp(30px, 7vw, 104px);
  --cinematic-hero-title-size: clamp(48px, 6.2vw, 94px);
}

.banner-stage {
  --banner-height: var(--cinematic-hero-height);
  border: 0;
  border-radius: 0;
  background: #000;
}

.banner-slide {
  min-height: var(--banner-height);
  background: #000;
  animation: none;
}

.banner-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .banner-picture { animation: poster-arrive .35s ease-out; }
}

@keyframes poster-arrive {
  from { opacity: .75; }
  to { opacity: 1; }
}

.banner-art {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
}

.banner-shade {
  background:
    linear-gradient(0deg, #000 0%, #0005 17%, transparent 41%),
    linear-gradient(90deg, #000d 0%, #0007 32%, transparent 68%);
}

.banner-content {
  min-height: var(--banner-height);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 118px var(--cinematic-hero-gutter) 83px;
  justify-content: center;
  align-items: flex-start;
}

.banner-eyebrow {
  font-size: 10px;
  letter-spacing: .17em;
  margin-bottom: 15px;
  color: #e6e6e6;
}

.banner-content h1 {
  max-width: min(54%, 625px);
  font-size: var(--cinematic-hero-title-size);
  line-height: .99;
  text-wrap: balance;
  text-shadow: 0 2px 28px #0008;
}

.banner-byline {
  margin-top: 12px;
  font-size: 13px;
  color: #ddd;
}

.banner-line {
  max-width: min(48%, 425px);
  margin: 17px 0 24px;
  font-size: 15px;
  color: #e4e4e4;
  text-wrap: balance;
}

.banner-ctas {
  display: flex;
  align-items: center;
  gap: 11px;
}

.banner-ctas .button {
  min-height: 49px;
  padding: 13px 25px;
}

.banner-ctas .banner-save {
  position: static;
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  min-width: 49px;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
}

.banner-save svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.banner-save.saved svg { fill: #fff; }
.banner-save:hover { background: #252525; border-color: #ffffff99; }

.banner-controls {
  position: absolute;
  z-index: 4;
  inset: auto 0 14px;
  min-height: 44px;
  padding: 0 30px;
  justify-content: center;
}

.banner-progress {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 32px;
}

.banner-segment {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}

.banner-progress-track {
  display: block;
  width: 6px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff47;
  transition: background-color .25s ease;
}

.banner-segment:hover .banner-progress-track { background: #ffffff75; }
.banner-segment[aria-pressed=true] .banner-progress-track {
  background: #fff;
}

.banner-segment:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .banner-progress-track { transition: none; }
  .banner-segment[aria-pressed=true] .banner-progress-track { width: 24px; }
}

.banner-actions { position: absolute; right: 38px; bottom: 0; gap: 8px; }
.banner-control { background: #080808; border-color: #ffffff36; }
.numbered-selection { padding-top: 20px; }

@media (max-width: 650px) {
  body[data-page=home] .header { padding: 20px 23px 12px; gap: 10px; }

  .banner-stage { --banner-height: clamp(575px, 87svh, 725px); }

  .banner-picture {
    bottom: auto;
    height: min(100%, 150vw);
    mask-image: linear-gradient(#000 76%, transparent);
  }

  .banner-art { object-position: center top; }

  .banner-shade {
    background: linear-gradient(0deg, #000 0%, #000 13%, #000d 24%, #0005 42%, transparent 65%);
  }

  .banner-content {
    padding: 310px 20px 77px;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }

  .banner-eyebrow { font-size: 9px; margin-bottom: 11px; }
  .banner-content h1 { max-width: 100%; font-size: clamp(36px, 10vw, 56px); }
  .banner-byline { font-size: 12px; margin-top: 10px; }
  .banner-line { max-width: 330px; margin: 12px 0 18px; font-size: 13px; }
  .banner-ctas { gap: 9px; }
  .banner-ctas .button { min-height: 47px; padding: 12px 20px; font-size: 10px; }
  .banner-ctas .banner-save { width: 47px; height: 47px; min-width: 47px; }
  .banner-controls { bottom: 11px; padding: 0 20px; }
  .banner-actions { display: none; }
  .numbered-selection { padding-top: 17px; }
}

/* Frame the cover portrait between its author credit and title treatment. */
.banner-picture--cover {
  inset: 30px 0 auto 40%;
  height: auto;
  max-height: calc(var(--banner-height) - 30px);
  aspect-ratio: 1024 / 880;
  mask-image: linear-gradient(90deg, transparent, #000 28%), linear-gradient(180deg, #000 72%, transparent);
  mask-composite: intersect;
}

.banner-picture--cover .banner-art {
  height: auto;
  transform: translateY(-5.1%);
}

@media (max-width: 650px) {
  .banner-picture--cover {
    inset: 108px 0 auto;
    max-height: none;
    mask-image: linear-gradient(180deg, #000 67%, transparent);
  }

  .banner-prazer-anonimo .banner-shade {
    background: linear-gradient(0deg, #000 22%, #000c 38%, transparent 62%);
  }
}
