#anewHeroPopup {
  width: min(960px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: auto;
  background: #292d27;
  color: #fff;
  box-shadow: 0 24px 90px #0005;
}
#anewHeroPopup::backdrop { background: #171915a6; backdrop-filter: none; }
body:has(#anewHeroPopup[open]) { overflow: hidden; }
/* Present the introduction first; retain every existing consent value and panel state. */
body:has(#anewHeroPopup[open]) #anew-analytics-ui { visibility: hidden; pointer-events: none; }
#anewHeroPopup .hero-popup-image[hidden] { display: none; }
#anewHeroPopup .hero-popup-art.is-image-unavailable { background: linear-gradient(135deg, #303b34, #171e19); }
#anewHeroPopup * { box-sizing: border-box; }
#anewHeroPopup .hero-popup-art { position: relative; isolation: isolate; aspect-ratio: 16 / 10; min-height: 420px; }
#anewHeroPopup .hero-popup-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
#anewHeroPopup .hero-popup-art::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #18211fc2 0%, #18211f69 47%, transparent 80%), linear-gradient(0deg, #121a185c, transparent 65%); pointer-events: none; }
#anewHeroPopup .hero-popup-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 80px; min-height: 44px; padding: 6px 15px;
  border: 1px solid #ffffff80; border-radius: 999px; background: #222823d9;
  font: 500 14px/1.4 var(--font-primary, sans-serif), sans-serif; color: #fff; cursor: pointer;
}
#anewHeroPopup .hero-popup-close span { font-size: 25px; line-height: 1; }
#anewHeroPopup .hero-popup-close:hover { background: #161c18; }
#anewHeroPopup :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#anewHeroPopup .hero-popup-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: inherit; height: 100%; aspect-ratio: inherit; padding: 52px; max-width: 100%; }
#anewHeroPopup .hero-popup-eyebrow { font: 500 12px/1.6 var(--font-primary, sans-serif), sans-serif; font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .22em; color: #e0d1c5; margin: 0 0 18px; }
#anewHeroPopup h2 { font: 600 clamp(36px, 4.3vw, 58px)/1.35 var(--font-primary, sans-serif), sans-serif; letter-spacing: 0; margin: 0 0 18px; color: #fff; }
#anewHeroPopup .hero-popup-description { font: 400 20px/1.65 var(--font-primary, sans-serif), sans-serif; font-size: 20px !important; line-height: 1.65 !important; color: #fff; margin: 0 0 28px; }
#anewHeroPopup .hero-popup-description span { display: block; }
#anewHeroPopup .hero-popup-link { min-width: 210px !important; min-height: 46px !important; }
@media (max-width: 600px) {
  #anewHeroPopup { width: calc(100vw - 28px); max-height: calc(100dvh - 28px); border-radius: 10px; }
  #anewHeroPopup .hero-popup-art { aspect-ratio: 4 / 5; min-height: min(450px, calc(100dvh - 28px)); }
  #anewHeroPopup .hero-popup-image { object-position: 55% 50%; }
  #anewHeroPopup .hero-popup-art::after { background: linear-gradient(0deg, #15201eed, #15201e45 70%, #15201e15); }
  #anewHeroPopup .hero-popup-copy { padding: 74px 24px 30px; }
  #anewHeroPopup .hero-popup-close { top: 12px; right: 12px; min-width: 74px; }
  #anewHeroPopup h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 14px; }
  #anewHeroPopup .hero-popup-eyebrow { font-size: 10px !important; margin-bottom: 14px; letter-spacing: .18em; }
  #anewHeroPopup .hero-popup-description { font-size: 15px !important; line-height: 1.7 !important; margin-bottom: 22px; }
  #anewHeroPopup .hero-popup-link { min-width: 180px !important; font-size: 14px; }
}
@media (max-height: 540px) and (min-width: 601px) {
  #anewHeroPopup { width: min(720px, calc(100vw - 48px)); }
  #anewHeroPopup .hero-popup-art { min-height: 0; aspect-ratio: 16 / 9; }
  #anewHeroPopup .hero-popup-copy { padding: 32px; }
  #anewHeroPopup h2 { font-size: 36px; margin-bottom: 10px; }
  #anewHeroPopup .hero-popup-description { font-size: 16px !important; margin-bottom: 18px; }
}

/* Display the original square artwork without a crop or a text overlay. */
#anewHeroPopup.hero-popup--flow-diptych {
  width: min(1060px, calc(100vw - 96px), calc((100dvh - 96px) * 2));
  overflow: hidden;
  background: #f5f2ee;
  color: #403b35;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-scroll {
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-art {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: 0;
  aspect-ratio: auto;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-art::after { display: none; }
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-image-slot {
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
#anewHeroPopup.hero-popup--flow-diptych :is(.hero-popup-image, .hero-popup-secondary-image) {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 30px;
  font: 400 16px/1.7 var(--font-primary, sans-serif), sans-serif;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #403b35;
  text-align: center;
}
#anewHeroPopup.hero-popup--flow-diptych :is(.hero-popup-image, .hero-popup-secondary-image, .hero-popup-image-fallback)[hidden] { display: none; }
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-copy {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  aspect-ratio: auto;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-close {
  min-width: 74px;
  min-height: 44px;
  padding: 6px 12px;
  gap: 8px;
}
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-close span { font-size: 22px; }
#anewHeroPopup.hero-popup--flow-diptych .hero-popup-close:focus-visible { outline-offset: 2px; }
#anewHeroPopup.hero-popup--flow-diptych :is(.hero-popup-mobile-header, .hero-popup-mobile-nav) { display: none; }
@media (max-width: 600px) {
  #anewHeroPopup.hero-popup--flow-diptych {
    width: min(384px, calc(100vw - 48px), calc(100vh - 204px));
    width: min(384px, calc(100vw - 48px), calc(100dvh - 204px));
    max-height: calc(100dvh - 80px);
    background: #484848;
    color: #fff;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-mobile-header {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 18px;
    color: #dfd3c8;
    font: 500 13px/1.4 var(--font-primary, sans-serif), sans-serif;
    letter-spacing: .1em;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-close { top: 8px; right: 10px; }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-scroll {
    width: 100%;
    aspect-ratio: 1;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-scroll::-webkit-scrollbar { display: none; }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-art { width: 200%; }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-image-slot { scroll-snap-align: start; }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 10px 18px;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-mobile-nav button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dfd3c880;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: 400 28px/1 sans-serif;
    cursor: pointer;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-mobile-nav button[aria-disabled="true"] {
    opacity: .35;
    cursor: default;
  }
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-pagination {
    color: #eee7df;
    font: 500 13px/1.5 var(--font-primary, sans-serif), sans-serif;
    letter-spacing: .08em;
  }
}
@media (prefers-reduced-motion: reduce) {
  #anewHeroPopup.hero-popup--flow-diptych .hero-popup-scroll { scroll-behavior: auto; }
}

/* Finished campaign artwork is displayed once, in full, at its original ratio. */
#anewHeroPopup.hero-popup--image-only {
  width: min(1060px, calc(100vw - 64px), max(240px, calc((100dvh - 144px) * var(--popup-image-ratio, 1))));
  max-height: calc(100dvh - 80px);
  overflow: hidden;
  background: #484848;
  color: #fff;
}
#anewHeroPopup.hero-popup--image-only .hero-popup-single-header {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  color: #dfd3c8;
  font: 500 13px/1.4 var(--font-primary, sans-serif), sans-serif;
  letter-spacing: .18em;
}
#anewHeroPopup.hero-popup--image-only .hero-popup-art { min-height: 0; aspect-ratio: auto; }
#anewHeroPopup.hero-popup--image-only .hero-popup-art::after { display: none; }
#anewHeroPopup.hero-popup--image-only .hero-popup-image-slot { aspect-ratio: var(--popup-image-ratio, 1); max-height: calc(100dvh - 144px); }
#anewHeroPopup.hero-popup--image-only .hero-popup-image {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#anewHeroPopup.hero-popup--image-only .hero-popup-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-align: center;
  font: 400 15px/1.7 var(--font-primary, sans-serif), sans-serif;
  font-size: 15px !important;
}
#anewHeroPopup.hero-popup--image-only :is(.hero-popup-image, .hero-popup-image-fallback)[hidden] { display: none; }
#anewHeroPopup.hero-popup--image-only .hero-popup-close { top: 8px; right: 10px; min-width: 74px; min-height: 44px; padding: 6px 12px; gap: 8px; }
#anewHeroPopup.hero-popup--image-only .hero-popup-close span { font-size: 22px; }
#anewHeroPopup.hero-popup--image-only .hero-popup-copy {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  aspect-ratio: auto;
}
@media (max-width: 600px) {
  #anewHeroPopup.hero-popup--image-only { width: min(384px, calc(100vw - 48px), max(240px, calc((100dvh - 144px) * var(--popup-image-ratio, 1)))); }
}
